1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[]
= "cmd-usage"
= "0.7.29"
= "2021"
# Two bins (`cmduse` + the `cmdusedev` twin), so `cargo run -p cmd-usage` needs
# an explicit default: CI's `-V` smoke test, and humans typing it.
= "cmduse"
= "Live Command Code (commandcode.ai) usage dashboard: credits, 5-hour and weekly windows, plan limits. Watch mode or one-shot."
= "MIT"
= "https://github.com/JeffreyJYZ/cmdcode-tools"
= ["cli", "dashboard", "usage", "command-code", "tui"]
= ["command-line-utilities"]
= "README.md"
[[]]
= "cmduse"
= "src/main.rs"
# Dev twin: same code, different name, so a local build never shadows the
# installed `cmduse` (and consumers can target it via CMDUSE_BIN).
[[]]
= "cmdusedev"
= "src/bin/cmdusedev.rs"
# OpenCode Go/Zen twin: same CLI shape as cmduse, but its data is local
# (opencode.db) plus the docs catalogue in core/zen.json — OpenCode publishes no
# usage API (the one route, /zen/go/v1/usage, is entitlement-gated).
[[]]
= "ocuse"
= "src/bin/ocuse.rs"
# Dev twin of ocuse: same code, different name, so a local build never shadows
# the installed `ocuse` (consumers can target it via OCUSE_BIN).
[[]]
= "ocusedev"
= "src/bin/ocusedev.rs"
# Volcengine ARK Agent Plan twin: same CLI shape again, but its unit is AFP and
# its authoritative figures are the control plane's own meters (through arkcli).
[[]]
= "arkuse"
= "src/bin/arkuse.rs"
# Dev twin of arkuse: same code, different name, so a local build never shadows
# the installed `arkuse` (consumers can target it via ARKUSE_BIN).
[[]]
= "arkusedev"
= "src/bin/arkusedev.rs"
# cargo binstall: the release workflow publishes cmduse-<version>-<target>.tar.gz
# with the binaries at the archive root. Assets are a public contract shared with
# the Homebrew formula (see .github/workflows/release.yml).
[]
= "{ repo }/releases/download/cmduse-v{ version }/cmduse-{ version }-{ target }.tar.gz"
= "tgz"
= "{ bin }{ binary-ext }"
[]
= { = "../core", = "2" }
= { = "2", = ["json"] }
= { = "1", = ["derive"] }
= "1"
= "0.3"
# ocuse reads opencode's own SQLite store read-only; bundled so the crate needs
# no system libsqlite.
= { = "0.40", = ["bundled"] }
# dsh compresses its session log; the reader decodes it in-process rather than
# shelling out to a `zstd` binary the machine may not have.
= "0.13"
[]
= "3"