← Plugins

Qoder Usage

Cason Mo21installs

Shows Qoder and Qoder CN account credits with per-site refresh, collapsible cards, and usage history charts (hourly/daily/monthly, personal vs org).

$ paseo plugin add casonmo/qoder-usage
Qoder Usage screenshot 1

View Qoder and Qoder CN account credits inside Paseo.

The plugin detects logins under ~/.qoder and ~/.qoder-cn and aggregates every logged-in site on one quota screen: Qoder CN when available, Qoder international when available, and both when both exist. Each site is a separate card with its own refresh button, so refreshing one site does not block the other. The sidebar row shows each site's combined credits (Plan + Add-on + Org resource package, for example CN 0/3000 · Qoder 0/6000). Each card first shows the personal total (account credits + Org resource package), then plan type and expiry; when an account has several credit pools it also lists Plan Credits, Add-on Credits, and the Org resource package separately. Progress bars change color at 80% and 95%, and each card has a quota-exceeded notice and manual refresh. A collapse button in each card header hides the whole site (quota details and chart) down to its name; the collapsed state is saved locally and survives restarts. The interface follows the Paseo app language (English / 简体中文).

Usage history

Every successful quota read appends a sample (timestamp, site, used/total of each credit pool) to a local JSONL file in the plugin data directory. A write failure never affects the quota refresh itself. Below each site card a chart aggregates those samples into consumption: quota used is a cumulative counter, so consumption is the delta between consecutive samples. Personal consumption sums Plan and Add-on deltas; the Org resource package is team-shared and tracked separately, switchable in the chart. A billing-period reset (used decreases) starts the new period from zero. When sampling gaps occur (for example the daemon was offline), the delta lands in the recovery bucket and is flagged as an estimate with a distinct color and legend entry.

The chart offers hourly (24 hours of a chosen day), daily (a chosen month), and monthly (last 12 months) granularity with paging, bar/line toggle, hover or tap tooltips, readable axis ticks and gridlines, and the current billing period's total consumption. An empty window still draws the full coordinate system with an explanatory overlay. History only accumulates from the moment this feature is first run; earlier usage cannot be backfilled, and the chart states this.

How it works

Quota is read through the official Qoder SDKs: @qoder-ai/qoder-agent-sdk with qodercli for the international site, and @qodercn-ai/qodercn-agent-sdk with qoderclicn/qodercn for Qoder CN. The SDK reuses the local CLI login session and asks the Qoder service for the account quota. The plugin itself never reads, stores, or decrypts your credentials. Each read starts a short-lived SDK daemon (no chat session), asks it for the quota, and shuts it down again; every step is bounded by timeouts, and any CLI process that survives the shutdown is terminated, so no background process outlives a read.

Setup

  • qodercli or qodercn must be installed and logged in on this machine; quota is account-level and shows the currently logged-in account.
  • Before the first quota read, the UI prompts you to download the Qoder SDKs (international and China, about 30MB with locked dependencies, from the npm registry). Nothing downloads until you click "Download and install"; without installing, no SDK files are written and no quota request is made. The public version check may still run. A plugin update that moves the locked SDK versions asks for the same step again, because the local runtime is then reinstalled (npm ci): qodercli drops SDK compatibility between releases, so an older runtime stops reading quota.
  • Supports macOS and Linux; requires Paseo 0.13.0-beta.1 or later.

Auto refresh

Choose off / 5 min / 15 min / 30 min / 1 hour / 6 hours / 24 hours. When enabled, the plugin reads the quota once in the background at the chosen interval; with "off" only manual refresh runs. Settings are stored in the local plugin data directory.

Data and permissions

  • Reads: the local qodercli or qodercn login session (through the official SDK) and the quota data returned by the Qoder service.
  • Writes: only the local plugin data directory, to cache the quota, save the auto refresh and site collapse settings, and append usage history samples (history.jsonl).
  • Cleanup: each quota read prunes SDK run logs older than 7 days under ~/.qoder/logs/runs (or ~/.qoder-cn/logs/runs for the CN site, honoring QODER_CONFIG_DIR / QODERCN_CONFIG_DIR), and terminates orphaned qodercli --sdk processes older than 2 hours that were leaked by older plugin versions — matched strictly by working directory inside the plugin's own runtime directory, so unrelated CLI sessions are never touched.
  • Network: the SDK talks to the Qoder service when a quota read runs; without the SDK installed or a read triggered, no quota request is made. There is also an update check (at most once an hour, reading only the public registry record and the pinned package.json from raw.githubusercontent.com and api.github.com, sending no data).
  • No prompts, code, or file contents are sent.

Related plugins

Browse all plugins →

Agent Usage

@casonmo

Token usage statistics for coding agents (Claude Code, Codex, OpenCode, Pi, Antigravity CLI, Codebuddy Code) from local session logs, with SSH collection, API-equivalent cost estimation and custom model pricing, purge-proof archive retention, six analysis pages, custom dashboards, budgets, session details, and a dismissible GitHub issue/PR co-creation entry.

Passed318installs

ByTheWay

@casonmo

ByTheWay (btw) — use /btw to ask beside your main Paseo session, with provider-native model, thinking, mode and feature controls, live tool activity, subagent management and per-model settings memory.

152installs

Obsidian Notes

@casonmo

Read-only Obsidian vault browser in Paseo: cross-vault fuzzy and tag search, file tree, outgoing links with history, outline and in-note find, external-change notice, embedded screenshots

39installs

AutoWonder Workbench

@casonmo

Manage AutoWonder workitems, digital workers, SDLC flows, repositories, skills, scheduled tasks, executors, memories, notifications, risk signals, and execution monitoring from Paseo, with direct workitem links into AutoWonder.

38installs

Multica

@casonmo

Native Multica admin console in Paseo: issues, kanban, projects, team, chat, automation, inbox, execution logs and workspace settings, with create-with-agent prompts and attachments, for the official cloud and self-hosted servers, plus a dismissible GitHub issue/PR co-creation banner.

Passed34installs

TAPD Workbench

@casonmo

View and work on TAPD stories, tasks, and bugs in Paseo: filter views, agent dispatch, comment and status write-back.

Passed26installs