@vtxmacro/cli 2026.10.36 → 2026.10.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -74,9 +74,9 @@ Both paths use a separate least-privilege `insights:inference` OAuth grant.
74
74
  VTX never receives an agent vendor password, OAuth token, or subscription
75
75
  credential.
76
76
 
77
- - **Background services:** OpenAI Codex, GitHub Copilot, DeepSeek Harness, Grok Build, Pi. These integrations can keep serving VTX after the setup chat ends. Keep the host computer on and its service running.
77
+ - **Background services:** OpenAI Codex, Claude Code, GitHub Copilot, DeepSeek Harness, Grok Build, Pi. These integrations can keep serving VTX after the setup chat ends. Keep the host computer on and its service running.
78
78
  - **Automatic foreground bridge:** Exo. The bridge serves VTX automatically while its process stays open.
79
- - **Foreground agent integrations:** Amp, Auggie, Claude Code, Cursor, Gemini CLI, Google Antigravity, Hermes Agent, JetBrains Junie, Kiro CLI, OpenClaw, OpenCode, Qwen Code, Warp Oz. Keep the harness session and its VTX foreground host loop open. Available modes depend on the connected model’s advertised capabilities.
79
+ - **Foreground agent integrations:** Amp, Auggie, Cursor, Gemini CLI, Google Antigravity, Hermes Agent, JetBrains Junie, Kiro CLI, OpenClaw, OpenCode, Qwen Code, Warp Oz. Keep the harness session and its VTX foreground host loop open. Available modes depend on the connected model’s advertised capabilities.
80
80
 
81
81
  These groups describe how an integration runs, not a test grade. Limitations are
82
82
  listed in the [Insights harness guide](https://vtxmacro.com/insights#subscription-inference).
@@ -102,9 +102,22 @@ Provider mode has no tools; Main Agent mode exposes only assignment-scoped VTX t
102
102
  Structured decisions, model identity, and usage are validated. Interrupted requests
103
103
  with an uncertain outcome are fenced; same-attempt recovery is not supported.
104
104
 
105
+ Claude Code is a durable adapter over your own installed Claude Code CLI and a
106
+ Claude subscription. Install Claude Code first (on Windows, its native installer),
107
+ then run `vtx inference-host login --instance claude-1` and
108
+ `vtx inference-host claude-login --instance claude-1`. Claude Code opens its own
109
+ sign-in page; approve it with the subscription account. If no page opens, open the
110
+ printed link and paste the code Claude shows into the same terminal. The login is a
111
+ separate one kept only for that host, and VTX never reads it. Then run
112
+ `vtx inference-host service install --adapter claude-code --instance claude-1`.
113
+ Runs count toward the subscription's usage limits; the host refuses an API-key or
114
+ token login. Provider mode has no tools; Main Agent mode exposes only
115
+ assignment-scoped VTX tools. When a usage limit is reached, new work moves to the
116
+ next fallback host until it resets.
117
+
105
118
  An explicitly capable model from a background service listed above can also
106
119
  control Main in **Agent** mode using the same VTX OAuth grant and its own local
107
- adapter-specific vendor credential: ChatGPT, Copilot, or Grok login, or a DeepSeek
120
+ adapter-specific vendor credential: ChatGPT, Copilot, Grok, or Claude login, or a DeepSeek
108
121
  or Pi provider API key. VTX assigns the running bot and supplies canonical Agent instructions. The
109
122
  assigned runtime keeps a durable thread, requests assignment-scoped data as
110
123
  needed, and chooses whether to submit a structured decision. The model chooses
@@ -391,7 +404,7 @@ self-modification, installed tools, or ambient conversation context. Interrupted
391
404
  work with an unknown outcome is fenced rather than repeated. After stopping and
392
405
  resolving pending work, remove the vendor key with `exo-logout --instance exo-1`.
393
406
 
394
- Amp, Auggie, Claude Code, Cursor, Gemini CLI, Google Antigravity, Hermes Agent, JetBrains Junie, Kiro CLI, OpenClaw, OpenCode, Qwen Code, Warp Oz use the explicit foreground agent path.
407
+ Amp, Auggie, Cursor, Gemini CLI, Google Antigravity, Hermes Agent, JetBrains Junie, Kiro CLI, OpenClaw, OpenCode, Qwen Code, Warp Oz use the explicit foreground agent path.
395
408
  Their setup and specific limitations are listed in the public Insights matrix.
396
409
  A successful foreground test does not establish background-service support.
397
410
 
@@ -1119,13 +1119,21 @@ var runtime_policy_generated_default = {
1119
1119
  grok_mcp_request_max_bytes: 3e5,
1120
1120
  grok_cwd_marker_max_bytes: 32768,
1121
1121
  grok_session_summary_max_bytes: 1048576,
1122
+ claude_code_preflight_timeout_ms: 3e4,
1123
+ claude_code_login_timeout_ms: 9e5,
1124
+ claude_code_command_timeout_ms: 3e4,
1125
+ claude_code_auth_output_max_bytes: 65536,
1126
+ claude_code_stream_line_max_bytes: 2e6,
1127
+ claude_code_close_kill_delay_ms: 1500,
1128
+ claude_code_mcp_request_max_bytes: 3e5,
1122
1129
  provider_error_body_timeout_ms: 1e3,
1123
1130
  provider_error_body_max_bytes: 16384,
1124
1131
  pi_receipt_event_max_chars: 2e6
1125
1132
  },
1126
1133
  quota_membership_cooldown_seconds: 300,
1127
1134
  transient_membership_cooldown_seconds: 30,
1128
- runtime_poll_interval_milliseconds: 250
1135
+ runtime_poll_interval_milliseconds: 250,
1136
+ client_result_wait_milliseconds: 2e4
1129
1137
  },
1130
1138
  desktop: {
1131
1139
  runtime_watchdog: {
@@ -1170,8 +1178,14 @@ var runtime_policy_generated_default = {
1170
1178
  client_public_read_budget: {
1171
1179
  max_weight: 1200,
1172
1180
  window_seconds: 60,
1173
- ui_max_weight_percent: 75,
1174
- background_max_weight_percent: 50,
1181
+ reserve_margin_weight: 40,
1182
+ demand_bucket_seconds: 60,
1183
+ demand_horizon_seconds: 3600,
1184
+ capacity_cut_percent: 70,
1185
+ capacity_min_weight: 240,
1186
+ capacity_recovery_weight_per_minute: 120,
1187
+ background_floor_weight: 120,
1188
+ background_admission_wait_seconds: 90,
1175
1189
  cooldown_seconds: 60,
1176
1190
  metadata_ttl_seconds: 300,
1177
1191
  user_fees_ttl_seconds: 300,
@@ -1206,6 +1220,7 @@ var runtime_policy_generated_default = {
1206
1220
  userFees: 20,
1207
1221
  metaAndAssetCtxs: 20,
1208
1222
  meta: 20,
1223
+ frontendOpenOrders: 20,
1209
1224
  perpDexs: 20,
1210
1225
  spotMeta: 20,
1211
1226
  approvedAgents: 20,
package/bin/vtx-mcp.js CHANGED
@@ -15,6 +15,12 @@ var __export = (target, all) => {
15
15
  __defProp(target, name, { get: all[name], enumerable: true });
16
16
  };
17
17
 
18
+ // <define:__VTX_CLAUDE_CODE_POLICY__>
19
+ var init_define_VTX_CLAUDE_CODE_POLICY = __esm({
20
+ "<define:__VTX_CLAUDE_CODE_POLICY__>"() {
21
+ }
22
+ });
23
+
18
24
  // <define:__VTX_EXO_POLICY__>
19
25
  var init_define_VTX_EXO_POLICY = __esm({
20
26
  "<define:__VTX_EXO_POLICY__>"() {
@@ -37,7 +43,7 @@ var init_define_VTX_PI_MODEL_POLICY = __esm({
37
43
  var agent_cli_release_default;
38
44
  var init_agent_cli_release = __esm({
39
45
  "agent-cli-release.json"() {
40
- agent_cli_release_default = { package_name: "@vtxmacro/cli", package_version: "2026.10.36", codex_package_name: "@openai/codex", codex_version: "0.155.0", copilot_sdk_package_name: "@github/copilot-sdk", copilot_sdk_version: "1.0.0-beta.8", copilot_cli_package_name: "@github/copilot", copilot_cli_version: "1.0.80", deepseek_harness_version: "0.1.1-rc.2", deepseek_harness_packages: ["@deepseek-ai/dsh-agent", "@deepseek-ai/dsh-agent-instructions", "@deepseek-ai/dsh-agent-loop", "@deepseek-ai/dsh-agent-spine-demo", "@deepseek-ai/dsh-anonymous-user-id", "@deepseek-ai/dsh-atomic-write", "@deepseek-ai/dsh-attachment", "@deepseek-ai/dsh-brand", "@deepseek-ai/dsh-code-runtime", "@deepseek-ai/dsh-credentials", "@deepseek-ai/dsh-fs", "@deepseek-ai/dsh-goal", "@deepseek-ai/dsh-goal-round-driver", "@deepseek-ai/dsh-home-paths", "@deepseek-ai/dsh-invariants", "@deepseek-ai/dsh-jobs", "@deepseek-ai/dsh-jobs-local", "@deepseek-ai/dsh-launch-environment", "@deepseek-ai/dsh-llm", "@deepseek-ai/dsh-llm-deepseek", "@deepseek-ai/dsh-llm-retry", "@deepseek-ai/dsh-output-retention", "@deepseek-ai/dsh-sandbox", "@deepseek-ai/dsh-sandbox-policy", "@deepseek-ai/dsh-scope", "@deepseek-ai/dsh-session", "@deepseek-ai/dsh-session-checkpoint-policy", "@deepseek-ai/dsh-session-persistence", "@deepseek-ai/dsh-session-persistence-jsonl", "@deepseek-ai/dsh-session-projection", "@deepseek-ai/dsh-session-title", "@deepseek-ai/dsh-settings", "@deepseek-ai/dsh-shell", "@deepseek-ai/dsh-shell-env", "@deepseek-ai/dsh-skill", "@deepseek-ai/dsh-skill-filesystem", "@deepseek-ai/dsh-subprocess", "@deepseek-ai/dsh-system-prompt", "@deepseek-ai/dsh-timeout", "@deepseek-ai/dsh-tool-bash", "@deepseek-ai/dsh-tool-goal", "@deepseek-ai/dsh-tool-jobs", "@deepseek-ai/dsh-tool-skill", "@deepseek-ai/dsh-tools", "@deepseek-ai/dsh-typert-protocol", "@deepseek-ai/dsh-user-approval"], deepseek_cordis_package_name: "@deepseek-ai/cordis", deepseek_cordis_version: "4.0.1", deepseek_support_packages: { "@deepseek-ai/cordis-plugin-timer": "1.1.3" }, platforms: { "linux-x64": { package_name: "@openai/codex-linux-x64", target: "x86_64-unknown-linux-musl", binary_name: "codex", sha256: "660e159a49e823ac8e5986cb238f73158ce4b957d40d9292f8de90862644b501" }, "win32-x64": { package_name: "@openai/codex-win32-x64", target: "x86_64-pc-windows-msvc", binary_name: "codex.exe", sha256: "e4c11374bd9de8ad5c3b7617fd4654bb7839901edb0863f9930666863c7a021b" } }, pi_coding_agent_package_name: "@earendil-works/pi-coding-agent", pi_ai_package_name: "@earendil-works/pi-ai", pi_version: "0.85.1", pi_support_packages: ["@earendil-works/pi-agent-core", "@earendil-works/pi-telemetry", "@earendil-works/pi-tui", "@earendil-works/chord"], grok_version: "1.0.30", grok_platforms: { "linux-x64": { package_name: "@xai-official/grok-linux-x64", binary_name: "grok", sha256: "504dd6546ab991b75d36698242875ce461489cd1f8cd84285873cb55bd5c7d54" }, "win32-x64": { package_name: "@xai-official/grok-win32-x64", binary_name: "grok.exe", sha256: "48736d1a4342a801ea26d0ecde4c516b653f791399065adaa55973f83abd8867" } } };
46
+ agent_cli_release_default = { package_name: "@vtxmacro/cli", package_version: "2026.10.38", codex_package_name: "@openai/codex", codex_version: "0.155.0", copilot_sdk_package_name: "@github/copilot-sdk", copilot_sdk_version: "1.0.0-beta.8", copilot_cli_package_name: "@github/copilot", copilot_cli_version: "1.0.80", deepseek_harness_version: "0.1.1-rc.2", deepseek_harness_packages: ["@deepseek-ai/dsh-agent", "@deepseek-ai/dsh-agent-instructions", "@deepseek-ai/dsh-agent-loop", "@deepseek-ai/dsh-agent-spine-demo", "@deepseek-ai/dsh-anonymous-user-id", "@deepseek-ai/dsh-atomic-write", "@deepseek-ai/dsh-attachment", "@deepseek-ai/dsh-brand", "@deepseek-ai/dsh-code-runtime", "@deepseek-ai/dsh-credentials", "@deepseek-ai/dsh-fs", "@deepseek-ai/dsh-goal", "@deepseek-ai/dsh-goal-round-driver", "@deepseek-ai/dsh-home-paths", "@deepseek-ai/dsh-invariants", "@deepseek-ai/dsh-jobs", "@deepseek-ai/dsh-jobs-local", "@deepseek-ai/dsh-launch-environment", "@deepseek-ai/dsh-llm", "@deepseek-ai/dsh-llm-deepseek", "@deepseek-ai/dsh-llm-retry", "@deepseek-ai/dsh-output-retention", "@deepseek-ai/dsh-sandbox", "@deepseek-ai/dsh-sandbox-policy", "@deepseek-ai/dsh-scope", "@deepseek-ai/dsh-session", "@deepseek-ai/dsh-session-checkpoint-policy", "@deepseek-ai/dsh-session-persistence", "@deepseek-ai/dsh-session-persistence-jsonl", "@deepseek-ai/dsh-session-projection", "@deepseek-ai/dsh-session-title", "@deepseek-ai/dsh-settings", "@deepseek-ai/dsh-shell", "@deepseek-ai/dsh-shell-env", "@deepseek-ai/dsh-skill", "@deepseek-ai/dsh-skill-filesystem", "@deepseek-ai/dsh-subprocess", "@deepseek-ai/dsh-system-prompt", "@deepseek-ai/dsh-timeout", "@deepseek-ai/dsh-tool-bash", "@deepseek-ai/dsh-tool-goal", "@deepseek-ai/dsh-tool-jobs", "@deepseek-ai/dsh-tool-skill", "@deepseek-ai/dsh-tools", "@deepseek-ai/dsh-typert-protocol", "@deepseek-ai/dsh-user-approval"], deepseek_cordis_package_name: "@deepseek-ai/cordis", deepseek_cordis_version: "4.0.1", deepseek_support_packages: { "@deepseek-ai/cordis-plugin-timer": "1.1.3" }, platforms: { "linux-x64": { package_name: "@openai/codex-linux-x64", target: "x86_64-unknown-linux-musl", binary_name: "codex", sha256: "660e159a49e823ac8e5986cb238f73158ce4b957d40d9292f8de90862644b501" }, "win32-x64": { package_name: "@openai/codex-win32-x64", target: "x86_64-pc-windows-msvc", binary_name: "codex.exe", sha256: "e4c11374bd9de8ad5c3b7617fd4654bb7839901edb0863f9930666863c7a021b" } }, pi_coding_agent_package_name: "@earendil-works/pi-coding-agent", pi_ai_package_name: "@earendil-works/pi-ai", pi_version: "0.85.1", pi_support_packages: ["@earendil-works/pi-agent-core", "@earendil-works/pi-telemetry", "@earendil-works/pi-tui", "@earendil-works/chord"], grok_version: "1.0.30", grok_platforms: { "linux-x64": { package_name: "@xai-official/grok-linux-x64", binary_name: "grok", sha256: "504dd6546ab991b75d36698242875ce461489cd1f8cd84285873cb55bd5c7d54" }, "win32-x64": { package_name: "@xai-official/grok-win32-x64", binary_name: "grok.exe", sha256: "48736d1a4342a801ea26d0ecde4c516b653f791399065adaa55973f83abd8867" } } };
41
47
  }
42
48
  });
43
49
 
@@ -46,6 +52,7 @@ var MS_PER_SECOND, SECONDS_PER_MINUTE, MINUTES_PER_HOUR, HOURS_PER_DAY, DAYS_PER
46
52
  var init_constants = __esm({
47
53
  "lib/constants.ts"() {
48
54
  "use strict";
55
+ init_define_VTX_CLAUDE_CODE_POLICY();
49
56
  init_define_VTX_EXO_POLICY();
50
57
  init_define_VTX_GROK_POLICY();
51
58
  init_define_VTX_PI_MODEL_POLICY();
@@ -188,6 +195,7 @@ async function readStoredAgentAuth(path) {
188
195
  var init_config = __esm({
189
196
  "lib/agent-core/config.ts"() {
190
197
  "use strict";
198
+ init_define_VTX_CLAUDE_CODE_POLICY();
191
199
  init_define_VTX_EXO_POLICY();
192
200
  init_define_VTX_GROK_POLICY();
193
201
  init_define_VTX_PI_MODEL_POLICY();
@@ -200,6 +208,7 @@ var AgentClientError;
200
208
  var init_types = __esm({
201
209
  "lib/agent-core/types.ts"() {
202
210
  "use strict";
211
+ init_define_VTX_CLAUDE_CODE_POLICY();
203
212
  init_define_VTX_EXO_POLICY();
204
213
  init_define_VTX_GROK_POLICY();
205
214
  init_define_VTX_PI_MODEL_POLICY();
@@ -272,6 +281,7 @@ var SECRET_RESPONSE_FIELDS, VtxAgentClient;
272
281
  var init_client = __esm({
273
282
  "lib/agent-core/client.ts"() {
274
283
  "use strict";
284
+ init_define_VTX_CLAUDE_CODE_POLICY();
275
285
  init_define_VTX_EXO_POLICY();
276
286
  init_define_VTX_GROK_POLICY();
277
287
  init_define_VTX_PI_MODEL_POLICY();
@@ -577,6 +587,7 @@ var configuredCaseSensitiveSymbols, canonicalBaseSymbol, normalizeHyperliquidMar
577
587
  var init_hyperliquid_market_symbol = __esm({
578
588
  "lib/runtime/hyperliquid-market-symbol.ts"() {
579
589
  "use strict";
590
+ init_define_VTX_CLAUDE_CODE_POLICY();
580
591
  init_define_VTX_EXO_POLICY();
581
592
  init_define_VTX_GROK_POLICY();
582
593
  init_define_VTX_PI_MODEL_POLICY();
@@ -842,6 +853,7 @@ var VTX_MCP_TOOLS, WRITABLE_SECRET_FIELDS;
842
853
  var init_server = __esm({
843
854
  "lib/agent-mcp/server.ts"() {
844
855
  "use strict";
856
+ init_define_VTX_CLAUDE_CODE_POLICY();
845
857
  init_define_VTX_EXO_POLICY();
846
858
  init_define_VTX_GROK_POLICY();
847
859
  init_define_VTX_PI_MODEL_POLICY();
@@ -1283,6 +1295,7 @@ var MCP_PROTOCOL_VERSION;
1283
1295
  var init_stdio = __esm({
1284
1296
  "lib/agent-mcp/stdio.ts"() {
1285
1297
  "use strict";
1298
+ init_define_VTX_CLAUDE_CODE_POLICY();
1286
1299
  init_define_VTX_EXO_POLICY();
1287
1300
  init_define_VTX_GROK_POLICY();
1288
1301
  init_define_VTX_PI_MODEL_POLICY();
@@ -1294,11 +1307,13 @@ var init_stdio = __esm({
1294
1307
  });
1295
1308
 
1296
1309
  // bin/vtx-mcp.ts
1310
+ init_define_VTX_CLAUDE_CODE_POLICY();
1297
1311
  init_define_VTX_EXO_POLICY();
1298
1312
  init_define_VTX_GROK_POLICY();
1299
1313
  init_define_VTX_PI_MODEL_POLICY();
1300
1314
 
1301
1315
  // lib/cli-release/updater.ts
1316
+ init_define_VTX_CLAUDE_CODE_POLICY();
1302
1317
  init_define_VTX_EXO_POLICY();
1303
1318
  init_define_VTX_GROK_POLICY();
1304
1319
  init_define_VTX_PI_MODEL_POLICY();
@@ -2356,13 +2371,21 @@ var runtime_policy_generated_default = {
2356
2371
  grok_mcp_request_max_bytes: 3e5,
2357
2372
  grok_cwd_marker_max_bytes: 32768,
2358
2373
  grok_session_summary_max_bytes: 1048576,
2374
+ claude_code_preflight_timeout_ms: 3e4,
2375
+ claude_code_login_timeout_ms: 9e5,
2376
+ claude_code_command_timeout_ms: 3e4,
2377
+ claude_code_auth_output_max_bytes: 65536,
2378
+ claude_code_stream_line_max_bytes: 2e6,
2379
+ claude_code_close_kill_delay_ms: 1500,
2380
+ claude_code_mcp_request_max_bytes: 3e5,
2359
2381
  provider_error_body_timeout_ms: 1e3,
2360
2382
  provider_error_body_max_bytes: 16384,
2361
2383
  pi_receipt_event_max_chars: 2e6
2362
2384
  },
2363
2385
  quota_membership_cooldown_seconds: 300,
2364
2386
  transient_membership_cooldown_seconds: 30,
2365
- runtime_poll_interval_milliseconds: 250
2387
+ runtime_poll_interval_milliseconds: 250,
2388
+ client_result_wait_milliseconds: 2e4
2366
2389
  },
2367
2390
  desktop: {
2368
2391
  runtime_watchdog: {
@@ -2407,8 +2430,14 @@ var runtime_policy_generated_default = {
2407
2430
  client_public_read_budget: {
2408
2431
  max_weight: 1200,
2409
2432
  window_seconds: 60,
2410
- ui_max_weight_percent: 75,
2411
- background_max_weight_percent: 50,
2433
+ reserve_margin_weight: 40,
2434
+ demand_bucket_seconds: 60,
2435
+ demand_horizon_seconds: 3600,
2436
+ capacity_cut_percent: 70,
2437
+ capacity_min_weight: 240,
2438
+ capacity_recovery_weight_per_minute: 120,
2439
+ background_floor_weight: 120,
2440
+ background_admission_wait_seconds: 90,
2412
2441
  cooldown_seconds: 60,
2413
2442
  metadata_ttl_seconds: 300,
2414
2443
  user_fees_ttl_seconds: 300,
@@ -2443,6 +2472,7 @@ var runtime_policy_generated_default = {
2443
2472
  userFees: 20,
2444
2473
  metaAndAssetCtxs: 20,
2445
2474
  meta: 20,
2475
+ frontendOpenOrders: 20,
2446
2476
  perpDexs: 20,
2447
2477
  spotMeta: 20,
2448
2478
  approvedAgents: 20,
@@ -2664,6 +2694,7 @@ init_constants();
2664
2694
  init_config();
2665
2695
 
2666
2696
  // lib/agent-core/stop-signals.ts
2697
+ init_define_VTX_CLAUDE_CODE_POLICY();
2667
2698
  init_define_VTX_EXO_POLICY();
2668
2699
  init_define_VTX_GROK_POLICY();
2669
2700
  init_define_VTX_PI_MODEL_POLICY();
@@ -2676,6 +2707,7 @@ var ignoreClosedTerminalWrites = () => {
2676
2707
  var dropWriteError = () => void 0;
2677
2708
 
2678
2709
  // lib/inference-host/config.ts
2710
+ init_define_VTX_CLAUDE_CODE_POLICY();
2679
2711
  init_define_VTX_EXO_POLICY();
2680
2712
  init_define_VTX_GROK_POLICY();
2681
2713
  init_define_VTX_PI_MODEL_POLICY();
@@ -2687,51 +2719,61 @@ import { homedir as homedir2 } from "node:os";
2687
2719
  import { basename, dirname as dirname2, isAbsolute, join as join2, relative, resolve, win32 as windowsPath } from "node:path";
2688
2720
 
2689
2721
  // node_modules/smol-toml/dist/index.js
2722
+ init_define_VTX_CLAUDE_CODE_POLICY();
2690
2723
  init_define_VTX_EXO_POLICY();
2691
2724
  init_define_VTX_GROK_POLICY();
2692
2725
  init_define_VTX_PI_MODEL_POLICY();
2693
2726
 
2694
2727
  // node_modules/smol-toml/dist/parse.js
2728
+ init_define_VTX_CLAUDE_CODE_POLICY();
2695
2729
  init_define_VTX_EXO_POLICY();
2696
2730
  init_define_VTX_GROK_POLICY();
2697
2731
  init_define_VTX_PI_MODEL_POLICY();
2698
2732
 
2699
2733
  // node_modules/smol-toml/dist/struct.js
2734
+ init_define_VTX_CLAUDE_CODE_POLICY();
2700
2735
  init_define_VTX_EXO_POLICY();
2701
2736
  init_define_VTX_GROK_POLICY();
2702
2737
  init_define_VTX_PI_MODEL_POLICY();
2703
2738
 
2704
2739
  // node_modules/smol-toml/dist/primitive.js
2740
+ init_define_VTX_CLAUDE_CODE_POLICY();
2705
2741
  init_define_VTX_EXO_POLICY();
2706
2742
  init_define_VTX_GROK_POLICY();
2707
2743
  init_define_VTX_PI_MODEL_POLICY();
2708
2744
 
2709
2745
  // node_modules/smol-toml/dist/date.js
2746
+ init_define_VTX_CLAUDE_CODE_POLICY();
2710
2747
  init_define_VTX_EXO_POLICY();
2711
2748
  init_define_VTX_GROK_POLICY();
2712
2749
  init_define_VTX_PI_MODEL_POLICY();
2713
2750
 
2714
2751
  // node_modules/smol-toml/dist/error.js
2752
+ init_define_VTX_CLAUDE_CODE_POLICY();
2715
2753
  init_define_VTX_EXO_POLICY();
2716
2754
  init_define_VTX_GROK_POLICY();
2717
2755
  init_define_VTX_PI_MODEL_POLICY();
2718
2756
 
2719
2757
  // node_modules/smol-toml/dist/util.js
2758
+ init_define_VTX_CLAUDE_CODE_POLICY();
2720
2759
  init_define_VTX_EXO_POLICY();
2721
2760
  init_define_VTX_GROK_POLICY();
2722
2761
  init_define_VTX_PI_MODEL_POLICY();
2723
2762
 
2724
2763
  // node_modules/smol-toml/dist/extract.js
2764
+ init_define_VTX_CLAUDE_CODE_POLICY();
2725
2765
  init_define_VTX_EXO_POLICY();
2726
2766
  init_define_VTX_GROK_POLICY();
2727
2767
  init_define_VTX_PI_MODEL_POLICY();
2728
2768
 
2729
2769
  // node_modules/smol-toml/dist/stringify.js
2770
+ init_define_VTX_CLAUDE_CODE_POLICY();
2730
2771
  init_define_VTX_EXO_POLICY();
2731
2772
  init_define_VTX_GROK_POLICY();
2732
2773
  init_define_VTX_PI_MODEL_POLICY();
2733
2774
 
2734
2775
  // lib/inference-host/mcp-transport-config.ts
2776
+ init_define_VTX_CLAUDE_CODE_POLICY();
2735
2777
  init_define_VTX_EXO_POLICY();
2736
2778
  init_define_VTX_GROK_POLICY();
2737
2779
  init_define_VTX_PI_MODEL_POLICY();
@@ -3776,6 +3818,7 @@ async function acquireInferenceHostProcessLock(path, dependencies = {}) {
3776
3818
  }
3777
3819
 
3778
3820
  // lib/inference-host/routing.ts
3821
+ init_define_VTX_CLAUDE_CODE_POLICY();
3779
3822
  init_define_VTX_EXO_POLICY();
3780
3823
  init_define_VTX_GROK_POLICY();
3781
3824
  init_define_VTX_PI_MODEL_POLICY();
@@ -3807,11 +3850,13 @@ var isInferenceHostCliInvocation = (argv) => {
3807
3850
  };
3808
3851
 
3809
3852
  // lib/runtime/runtime-redaction.ts
3853
+ init_define_VTX_CLAUDE_CODE_POLICY();
3810
3854
  init_define_VTX_EXO_POLICY();
3811
3855
  init_define_VTX_GROK_POLICY();
3812
3856
  init_define_VTX_PI_MODEL_POLICY();
3813
3857
 
3814
3858
  // lib/runtime/abort.ts
3859
+ init_define_VTX_CLAUDE_CODE_POLICY();
3815
3860
  init_define_VTX_EXO_POLICY();
3816
3861
  init_define_VTX_GROK_POLICY();
3817
3862
  init_define_VTX_PI_MODEL_POLICY();
@@ -14,7 +14,7 @@ import { dirname as dirname4, relative as relative4, resolve as resolve4 } from
14
14
  import { fileURLToPath } from "node:url";
15
15
 
16
16
  // agent-cli-release.json
17
- var agent_cli_release_default = { package_name: "@vtxmacro/cli", package_version: "2026.10.36", codex_package_name: "@openai/codex", codex_version: "0.155.0", copilot_sdk_package_name: "@github/copilot-sdk", copilot_sdk_version: "1.0.0-beta.8", copilot_cli_package_name: "@github/copilot", copilot_cli_version: "1.0.80", deepseek_harness_version: "0.1.1-rc.2", deepseek_harness_packages: ["@deepseek-ai/dsh-agent", "@deepseek-ai/dsh-agent-instructions", "@deepseek-ai/dsh-agent-loop", "@deepseek-ai/dsh-agent-spine-demo", "@deepseek-ai/dsh-anonymous-user-id", "@deepseek-ai/dsh-atomic-write", "@deepseek-ai/dsh-attachment", "@deepseek-ai/dsh-brand", "@deepseek-ai/dsh-code-runtime", "@deepseek-ai/dsh-credentials", "@deepseek-ai/dsh-fs", "@deepseek-ai/dsh-goal", "@deepseek-ai/dsh-goal-round-driver", "@deepseek-ai/dsh-home-paths", "@deepseek-ai/dsh-invariants", "@deepseek-ai/dsh-jobs", "@deepseek-ai/dsh-jobs-local", "@deepseek-ai/dsh-launch-environment", "@deepseek-ai/dsh-llm", "@deepseek-ai/dsh-llm-deepseek", "@deepseek-ai/dsh-llm-retry", "@deepseek-ai/dsh-output-retention", "@deepseek-ai/dsh-sandbox", "@deepseek-ai/dsh-sandbox-policy", "@deepseek-ai/dsh-scope", "@deepseek-ai/dsh-session", "@deepseek-ai/dsh-session-checkpoint-policy", "@deepseek-ai/dsh-session-persistence", "@deepseek-ai/dsh-session-persistence-jsonl", "@deepseek-ai/dsh-session-projection", "@deepseek-ai/dsh-session-title", "@deepseek-ai/dsh-settings", "@deepseek-ai/dsh-shell", "@deepseek-ai/dsh-shell-env", "@deepseek-ai/dsh-skill", "@deepseek-ai/dsh-skill-filesystem", "@deepseek-ai/dsh-subprocess", "@deepseek-ai/dsh-system-prompt", "@deepseek-ai/dsh-timeout", "@deepseek-ai/dsh-tool-bash", "@deepseek-ai/dsh-tool-goal", "@deepseek-ai/dsh-tool-jobs", "@deepseek-ai/dsh-tool-skill", "@deepseek-ai/dsh-tools", "@deepseek-ai/dsh-typert-protocol", "@deepseek-ai/dsh-user-approval"], deepseek_cordis_package_name: "@deepseek-ai/cordis", deepseek_cordis_version: "4.0.1", deepseek_support_packages: { "@deepseek-ai/cordis-plugin-timer": "1.1.3" }, platforms: { "linux-x64": { package_name: "@openai/codex-linux-x64", target: "x86_64-unknown-linux-musl", binary_name: "codex", sha256: "660e159a49e823ac8e5986cb238f73158ce4b957d40d9292f8de90862644b501" }, "win32-x64": { package_name: "@openai/codex-win32-x64", target: "x86_64-pc-windows-msvc", binary_name: "codex.exe", sha256: "e4c11374bd9de8ad5c3b7617fd4654bb7839901edb0863f9930666863c7a021b" } }, pi_coding_agent_package_name: "@earendil-works/pi-coding-agent", pi_ai_package_name: "@earendil-works/pi-ai", pi_version: "0.85.1", pi_support_packages: ["@earendil-works/pi-agent-core", "@earendil-works/pi-telemetry", "@earendil-works/pi-tui", "@earendil-works/chord"], grok_version: "1.0.30", grok_platforms: { "linux-x64": { package_name: "@xai-official/grok-linux-x64", binary_name: "grok", sha256: "504dd6546ab991b75d36698242875ce461489cd1f8cd84285873cb55bd5c7d54" }, "win32-x64": { package_name: "@xai-official/grok-win32-x64", binary_name: "grok.exe", sha256: "48736d1a4342a801ea26d0ecde4c516b653f791399065adaa55973f83abd8867" } } };
17
+ var agent_cli_release_default = { package_name: "@vtxmacro/cli", package_version: "2026.10.38", codex_package_name: "@openai/codex", codex_version: "0.155.0", copilot_sdk_package_name: "@github/copilot-sdk", copilot_sdk_version: "1.0.0-beta.8", copilot_cli_package_name: "@github/copilot", copilot_cli_version: "1.0.80", deepseek_harness_version: "0.1.1-rc.2", deepseek_harness_packages: ["@deepseek-ai/dsh-agent", "@deepseek-ai/dsh-agent-instructions", "@deepseek-ai/dsh-agent-loop", "@deepseek-ai/dsh-agent-spine-demo", "@deepseek-ai/dsh-anonymous-user-id", "@deepseek-ai/dsh-atomic-write", "@deepseek-ai/dsh-attachment", "@deepseek-ai/dsh-brand", "@deepseek-ai/dsh-code-runtime", "@deepseek-ai/dsh-credentials", "@deepseek-ai/dsh-fs", "@deepseek-ai/dsh-goal", "@deepseek-ai/dsh-goal-round-driver", "@deepseek-ai/dsh-home-paths", "@deepseek-ai/dsh-invariants", "@deepseek-ai/dsh-jobs", "@deepseek-ai/dsh-jobs-local", "@deepseek-ai/dsh-launch-environment", "@deepseek-ai/dsh-llm", "@deepseek-ai/dsh-llm-deepseek", "@deepseek-ai/dsh-llm-retry", "@deepseek-ai/dsh-output-retention", "@deepseek-ai/dsh-sandbox", "@deepseek-ai/dsh-sandbox-policy", "@deepseek-ai/dsh-scope", "@deepseek-ai/dsh-session", "@deepseek-ai/dsh-session-checkpoint-policy", "@deepseek-ai/dsh-session-persistence", "@deepseek-ai/dsh-session-persistence-jsonl", "@deepseek-ai/dsh-session-projection", "@deepseek-ai/dsh-session-title", "@deepseek-ai/dsh-settings", "@deepseek-ai/dsh-shell", "@deepseek-ai/dsh-shell-env", "@deepseek-ai/dsh-skill", "@deepseek-ai/dsh-skill-filesystem", "@deepseek-ai/dsh-subprocess", "@deepseek-ai/dsh-system-prompt", "@deepseek-ai/dsh-timeout", "@deepseek-ai/dsh-tool-bash", "@deepseek-ai/dsh-tool-goal", "@deepseek-ai/dsh-tool-jobs", "@deepseek-ai/dsh-tool-skill", "@deepseek-ai/dsh-tools", "@deepseek-ai/dsh-typert-protocol", "@deepseek-ai/dsh-user-approval"], deepseek_cordis_package_name: "@deepseek-ai/cordis", deepseek_cordis_version: "4.0.1", deepseek_support_packages: { "@deepseek-ai/cordis-plugin-timer": "1.1.3" }, platforms: { "linux-x64": { package_name: "@openai/codex-linux-x64", target: "x86_64-unknown-linux-musl", binary_name: "codex", sha256: "660e159a49e823ac8e5986cb238f73158ce4b957d40d9292f8de90862644b501" }, "win32-x64": { package_name: "@openai/codex-win32-x64", target: "x86_64-pc-windows-msvc", binary_name: "codex.exe", sha256: "e4c11374bd9de8ad5c3b7617fd4654bb7839901edb0863f9930666863c7a021b" } }, pi_coding_agent_package_name: "@earendil-works/pi-coding-agent", pi_ai_package_name: "@earendil-works/pi-ai", pi_version: "0.85.1", pi_support_packages: ["@earendil-works/pi-agent-core", "@earendil-works/pi-telemetry", "@earendil-works/pi-tui", "@earendil-works/chord"], grok_version: "1.0.30", grok_platforms: { "linux-x64": { package_name: "@xai-official/grok-linux-x64", binary_name: "grok", sha256: "504dd6546ab991b75d36698242875ce461489cd1f8cd84285873cb55bd5c7d54" }, "win32-x64": { package_name: "@xai-official/grok-win32-x64", binary_name: "grok.exe", sha256: "48736d1a4342a801ea26d0ecde4c516b653f791399065adaa55973f83abd8867" } } };
18
18
 
19
19
  // lib/runtime-policy.generated.json
20
20
  var runtime_policy_generated_default = {
@@ -1063,13 +1063,21 @@ var runtime_policy_generated_default = {
1063
1063
  grok_mcp_request_max_bytes: 3e5,
1064
1064
  grok_cwd_marker_max_bytes: 32768,
1065
1065
  grok_session_summary_max_bytes: 1048576,
1066
+ claude_code_preflight_timeout_ms: 3e4,
1067
+ claude_code_login_timeout_ms: 9e5,
1068
+ claude_code_command_timeout_ms: 3e4,
1069
+ claude_code_auth_output_max_bytes: 65536,
1070
+ claude_code_stream_line_max_bytes: 2e6,
1071
+ claude_code_close_kill_delay_ms: 1500,
1072
+ claude_code_mcp_request_max_bytes: 3e5,
1066
1073
  provider_error_body_timeout_ms: 1e3,
1067
1074
  provider_error_body_max_bytes: 16384,
1068
1075
  pi_receipt_event_max_chars: 2e6
1069
1076
  },
1070
1077
  quota_membership_cooldown_seconds: 300,
1071
1078
  transient_membership_cooldown_seconds: 30,
1072
- runtime_poll_interval_milliseconds: 250
1079
+ runtime_poll_interval_milliseconds: 250,
1080
+ client_result_wait_milliseconds: 2e4
1073
1081
  },
1074
1082
  desktop: {
1075
1083
  runtime_watchdog: {
@@ -1114,8 +1122,14 @@ var runtime_policy_generated_default = {
1114
1122
  client_public_read_budget: {
1115
1123
  max_weight: 1200,
1116
1124
  window_seconds: 60,
1117
- ui_max_weight_percent: 75,
1118
- background_max_weight_percent: 50,
1125
+ reserve_margin_weight: 40,
1126
+ demand_bucket_seconds: 60,
1127
+ demand_horizon_seconds: 3600,
1128
+ capacity_cut_percent: 70,
1129
+ capacity_min_weight: 240,
1130
+ capacity_recovery_weight_per_minute: 120,
1131
+ background_floor_weight: 120,
1132
+ background_admission_wait_seconds: 90,
1119
1133
  cooldown_seconds: 60,
1120
1134
  metadata_ttl_seconds: 300,
1121
1135
  user_fees_ttl_seconds: 300,
@@ -1150,6 +1164,7 @@ var runtime_policy_generated_default = {
1150
1164
  userFees: 20,
1151
1165
  metaAndAssetCtxs: 20,
1152
1166
  meta: 20,
1167
+ frontendOpenOrders: 20,
1153
1168
  perpDexs: 20,
1154
1169
  spotMeta: 20,
1155
1170
  approvedAgents: 20,
@@ -1047,13 +1047,21 @@ var runtime_policy_generated_default = {
1047
1047
  grok_mcp_request_max_bytes: 3e5,
1048
1048
  grok_cwd_marker_max_bytes: 32768,
1049
1049
  grok_session_summary_max_bytes: 1048576,
1050
+ claude_code_preflight_timeout_ms: 3e4,
1051
+ claude_code_login_timeout_ms: 9e5,
1052
+ claude_code_command_timeout_ms: 3e4,
1053
+ claude_code_auth_output_max_bytes: 65536,
1054
+ claude_code_stream_line_max_bytes: 2e6,
1055
+ claude_code_close_kill_delay_ms: 1500,
1056
+ claude_code_mcp_request_max_bytes: 3e5,
1050
1057
  provider_error_body_timeout_ms: 1e3,
1051
1058
  provider_error_body_max_bytes: 16384,
1052
1059
  pi_receipt_event_max_chars: 2e6
1053
1060
  },
1054
1061
  quota_membership_cooldown_seconds: 300,
1055
1062
  transient_membership_cooldown_seconds: 30,
1056
- runtime_poll_interval_milliseconds: 250
1063
+ runtime_poll_interval_milliseconds: 250,
1064
+ client_result_wait_milliseconds: 2e4
1057
1065
  },
1058
1066
  desktop: {
1059
1067
  runtime_watchdog: {
@@ -1098,8 +1106,14 @@ var runtime_policy_generated_default = {
1098
1106
  client_public_read_budget: {
1099
1107
  max_weight: 1200,
1100
1108
  window_seconds: 60,
1101
- ui_max_weight_percent: 75,
1102
- background_max_weight_percent: 50,
1109
+ reserve_margin_weight: 40,
1110
+ demand_bucket_seconds: 60,
1111
+ demand_horizon_seconds: 3600,
1112
+ capacity_cut_percent: 70,
1113
+ capacity_min_weight: 240,
1114
+ capacity_recovery_weight_per_minute: 120,
1115
+ background_floor_weight: 120,
1116
+ background_admission_wait_seconds: 90,
1103
1117
  cooldown_seconds: 60,
1104
1118
  metadata_ttl_seconds: 300,
1105
1119
  user_fees_ttl_seconds: 300,
@@ -1134,6 +1148,7 @@ var runtime_policy_generated_default = {
1134
1148
  userFees: 20,
1135
1149
  metaAndAssetCtxs: 20,
1136
1150
  meta: 20,
1151
+ frontendOpenOrders: 20,
1137
1152
  perpDexs: 20,
1138
1153
  spotMeta: 20,
1139
1154
  approvedAgents: 20,