Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/plugins/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ Returns a status envelope:

### Behavior

- **Runtime runners**: Executes pinned `ccusage@18.0.8` (Claude) or `@ccusage/codex@18.0.8` (Codex) via fallback chain `bunx -> pnpm dlx -> yarn dlx -> npm exec -> npx`
- **Runtime runners**: Executes pinned `ccusage@18.0.10` (Claude) or `@ccusage/codex@18.0.10` (Codex) via fallback chain `bunx -> pnpm dlx -> yarn dlx -> npm exec -> npx`
- **Provider-aware**: Resolves provider from `opts.provider` or plugin id (`claude`/`codex`)
- **No provider API calls**: Usage is computed from local JSONL session files; the host does not call Claude/Codex (or other provider) APIs, but package runners may contact a package registry to download the `ccusage` CLI if it is not already available locally
- **Graceful degradation**: returns `no_runner` when no runner exists, `runner_failed` when execution fails
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/src/plugin_engine/host_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1166,7 +1166,7 @@ fn ls_parse_listening_ports(output: &str) -> Vec<i32> {
ports.into_iter().collect()
}

const CCUSAGE_VERSION: &str = "18.0.8";
const CCUSAGE_VERSION: &str = "18.0.10";
const CCUSAGE_CLAUDE_PACKAGE_NAME: &str = "ccusage";
const CCUSAGE_CODEX_PACKAGE_NAME: &str = "@ccusage/codex";
const CCUSAGE_TIMEOUT_SECS: u64 = 15;
Expand Down
Loading