返回 CodeWhale
stable-branches.json
根目录 / crates / tui / src / commands / fixtures / diagnostics / stable-branches.json
1 {
2 "/balance": {
3 "message": null,
4 "action": {
5 "type": "FetchBalance"
6 },
7 "is_error": false
8 },
9 "/tokens": {
10 "message": "Token Usage:\n ─────────────────────────────\n Active context: ~48 / 1000000 (0.0%)\n Last API input: not reported (turn telemetry; may count repeated prefix across tool rounds)\n Last API output: not reported\n Cache hit/miss: not reported (telemetry/cost only)\n Cumulative tokens: 0 (session usage telemetry)\n Priced amount: unknown\n API messages: 0\n Chat messages: 0\n Model: deepseek-v4-pro\nCache-write (cache-creation) tokens this session: not reported. Billed above the input rate where the provider publishes a write premium; see /cache for the per-turn breakdown.\n\nThis is an estimate, not a bill: it is computed locally from provider-reported token usage and published rates, and can differ from your invoice.\nCovered: 0 of 0 money-metered turn(s) priced.",
11 "action": null,
12 "is_error": false
13 },
14 "/cost": {
15 "message": "Session Cost:\n ─────────────────────────────\n Estimated total: unknown\n\n No turn has an authoritative price in the selected currency.\n\nThis is an estimate, not a bill: it is computed locally from provider-reported token usage and published rates, and can differ from your invoice.\nCovered: 0 of 0 money-metered turn(s) priced.",
16 "action": null,
17 "is_error": false
18 },
19 "/cache": {
20 "message": "Cache history: no turns recorded yet.\n\nSupported providers report `prompt_cache_hit_tokens` / `prompt_cache_miss_tokens` on API turns. Run a turn and try /cache again.",
21 "action": null,
22 "is_error": false
23 },
24 "/cache 0": {
25 "message": "Cache history: no turns recorded yet.\n\nSupported providers report `prompt_cache_hit_tokens` / `prompt_cache_miss_tokens` on API turns. Run a turn and try /cache again.",
26 "action": null,
27 "is_error": false
28 },
29 "/cache stats": {
30 "message": "Cache Stats\n\n── Prefix Stability\n Stability: unknown (no checks recorded yet)\n Run a turn first to collect prefix stability data.\n\n── Prefix Fingerprint\n Pinned hash: unavailable\n Run a turn first, or use /cache inspect.\n\n── Cache Hit Rate\n No turn telemetry recorded yet.\n",
31 "action": null,
32 "is_error": false
33 },
34 "/cache zones": {
35 "message": "Cache Zones (#2264 three-zone contract)\n\n── PinnedPrefix (system + tools, frozen baseline)\n Status: unavailable (not yet frozen)\n Run a turn first to freeze the baseline.\n\n── AppendLog (conversation history, append-only)\n Status: wired — backs the engine session history\n Messages: 0\n History msgs: 0\n\n── TurnScratch (per-turn ephemeral data)\n Status: not wired — type scaffolding, unused by requests\n\n── Contract Status\n PinnedPrefix: not frozen\n AppendLog: wired (session history)\n TurnScratch: not wired\n",
36 "action": null,
37 "is_error": false
38 },
39 "/cache inspect --verbose --json": {
40 "message": "cache inspect: --json and --verbose cannot be combined",
41 "action": null,
42 "is_error": false
43 },
44 "/cache warmup": {
45 "message": null,
46 "action": {
47 "type": "CacheWarmup"
48 },
49 "is_error": false
50 },
51 "/cache nonsense": {
52 "message": "Error: Unknown /cache argument `nonsense`. Usage: /cache [count|inspect [--verbose|--json]|stats|zones|warmup]",
53 "action": null,
54 "is_error": true
55 },
56 "/preview-request": {
57 "message": null,
58 "action": {
59 "type": "PreviewOutboundRequest",
60 "json": false,
61 "base_prompt_only": false,
62 "hypothetical_prompt": null
63 },
64 "is_error": false
65 },
66 "/dryrun json": {
67 "message": null,
68 "action": {
69 "type": "PreviewOutboundRequest",
70 "json": true,
71 "base_prompt_only": false,
72 "hypothetical_prompt": null
73 },
74 "is_error": false
75 },
76 "/preview_request --base-prompt": {
77 "message": null,
78 "action": {
79 "type": "PreviewOutboundRequest",
80 "json": false,
81 "base_prompt_only": true,
82 "hypothetical_prompt": null
83 },
84 "is_error": false
85 },
86 "/preview-request --json --prompt keep trailing ": {
87 "message": null,
88 "action": {
89 "type": "PreviewOutboundRequest",
90 "json": true,
91 "base_prompt_only": false,
92 "hypothetical_prompt": " keep trailing "
93 },
94 "is_error": false
95 },
96 "/preview-request --base-prompt --json": {
97 "message": "`base-prompt` cannot be combined with JSON. Usage: /preview-request [json] [--prompt <text>] | base-prompt (flags first; --prompt takes the rest)",
98 "action": null,
99 "is_error": false
100 },
101 "/preview-request --prompt": {
102 "message": "`--prompt` needs text after it. Usage: /preview-request [json] [--prompt <text>] | base-prompt (flags first; --prompt takes the rest)",
103 "action": null,
104 "is_error": false
105 },
106 "/tools": {
107 "message": "Tool request snapshot unavailable — no model request has been captured for the latest turn.",
108 "action": null,
109 "is_error": false
110 },
111 "/tool-studio invalid": {
112 "message": "Tool request snapshot unavailable — no model request has been captured for the latest turn.",
113 "action": null,
114 "is_error": false
115 },
116 "/system": {
117 "message": "System Prompt (ACT mode):\n─────────────────────────────\n(no system prompt)",
118 "action": null,
119 "is_error": false
120 },
121 "/xitong": {
122 "message": "System Prompt (ACT mode):\n─────────────────────────────\n(no system prompt)",
123 "action": null,
124 "is_error": false
125 },
126 "/context": {
127 "message": null,
128 "action": {
129 "type": "OpenContextInspector"
130 },
131 "is_error": false
132 },
133 "/ctx nonsense": {
134 "message": "Error: Unknown /context subcommand: nonsense. Use report, json, prompt-json, or summary.",
135 "action": null,
136 "is_error": true
137 },
138 "/system:text": {
139 "message": "System Prompt (ACT mode):\n─────────────────────────────\nExample policy",
140 "action": null,
141 "is_error": false
142 },
143 "/system:utf8_boundary": {
144 "message": "System Prompt (ACT mode):\n─────────────────────────────\naaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...\n\n(truncated, 504 chars total)",
145 "action": null,
146 "is_error": false
147 },
148 "balance_unsupported": {
149 "message": "Balance check is not supported for OpenAI Codex (ChatGPT) yet. Check the provider dashboard for account balance details.",
150 "action": null,
151 "is_error": false
152 },
153 "tokens_reported_telemetry": {
154 "message": "Token Usage:\n ─────────────────────────────\n Active context: ~48 / 1000000 (0.0%)\n Last API input: 100 (turn telemetry; may count repeated prefix across tool rounds)\n Last API output: 25\n Cache hit/miss: 70 hit / 30 miss (telemetry/cost only)\n Cumulative tokens: 1234 (session usage telemetry)\n Priced amount: unknown\n API messages: 0\n Chat messages: 0\n Model: deepseek-v4-pro\nCache-write (cache-creation) tokens this session: 250. Billed above the input rate where the provider publishes a write premium; see /cache for the per-turn breakdown.\n\nThis is an estimate, not a bill: it is computed locally from provider-reported token usage and published rates, and can differ from your invoice.\nCovered: 0 of 0 money-metered turn(s) priced.",
155 "action": null,
156 "is_error": false
157 },
158 "cost_priced_zero": {
159 "message": "Session Cost:\n ─────────────────────────────\n Estimated total: $0.0000\n\n Based on audited provider-reported usage and published rates.\n\nBreakdown (components sum to the total above):\n Parent turns: $0.0000\n\nThis is an estimate, not a bill: it is computed locally from provider-reported token usage and published rates, and can differ from your invoice.\nCovered: 1 of 1 money-metered turn(s) priced.",
160 "action": null,
161 "is_error": false
162 },
163 "cost_legacy_unknown": {
164 "message": "Session Cost:\n ─────────────────────────────\n Estimated total: unknown\n\n No turn has an authoritative price in the selected currency.\n\nThis is an estimate, not a bill: it is computed locally from provider-reported token usage and published rates, and can differ from your invoice.\nCoverage: unknown. This session was saved before per-turn pricing coverage was recorded, so how much of the total above is accounted for cannot be established.",
165 "action": null,
166 "is_error": false
167 },
168 "system_blocks": {
169 "message": "System Prompt (ACT mode):\n─────────────────────────────\nFirst block\n\n---\n\nSecond block",
170 "action": null,
171 "is_error": false
172 }
173 }
174
174 lines JSON