@vtxmacro/cli 2026.8.51 → 2026.8.53

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.
Files changed (3) hide show
  1. package/README.md +42 -18
  2. package/bin/vtx.js +1780 -185
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -64,12 +64,13 @@ and VTX grant. VTX resolves the package-owned pinned Copilot platform runtime
64
64
  explicitly and rejects an `auto`-only catalog because it cannot prove the
65
65
  effective model.
66
66
 
67
- An explicitly capable Codex model can also control Main in **Agent** mode using
68
- the same VTX OAuth grant and private Codex login. VTX assigns the running bot but
69
- does not send a VTX-authored prompt or set the analysis cadence. Codex keeps a
70
- durable Agent thread, chooses when to wake, requests only the assignment-scoped
71
- VTX data it needs (or none), and submits the normal structured decision for VTX
72
- to validate and execute. Review and Screener remain Provider-only.
67
+ An explicitly capable durable Codex or Copilot model can also control Main in
68
+ **Agent** mode using the same VTX OAuth grant and its own private subscription
69
+ login. VTX assigns the running bot but does not send a VTX-authored prompt or set
70
+ the analysis cadence. The assigned runtime keeps a durable Agent thread,
71
+ chooses when to wake, requests only the assignment-scoped VTX data it needs (or
72
+ none), and submits the normal structured decision for VTX to validate and
73
+ execute. Review and Screener remain Provider-only.
73
74
 
74
75
  Before the first Codex login, enable **Device code authorization for Codex** in
75
76
  ChatGPT Security settings. Only enter a device code from a login you initiated,
@@ -192,7 +193,8 @@ vtx inference-host agent-run
192
193
  vtx inference-host agent-next --wait-seconds 50 --json
193
194
  ```
194
195
 
195
- `agent-next` returns separate exact `system_prompt`, `user_prompt`,
196
+ That is the **Provider** loop. `agent-next` returns separate exact
197
+ `system_prompt`, `user_prompt`,
196
198
  `context_json`, and `output_schema_json` fields. The agent reasons in its own
197
199
  session, then writes one JSON object to `agent-complete` stdin. At minimum that
198
200
  object contains a `result` string. If the harness exposes exact token usage,
@@ -211,18 +213,39 @@ Use `not_dispatched` only when no harness inference began,
211
213
  `outcome_unknown` when dispatch itself cannot be confirmed. Pipe exactly one
212
214
  object to `vtx inference-host agent-fail --json`.
213
215
 
216
+ For **Agent** mode on an explicitly capable Main model, VTX supplies only the
217
+ assignment, allowed data contract, and normal decision schema. The foreground
218
+ agent chooses its own cadence and may request zero, one, or many data calls:
219
+
220
+ ```bash
221
+ vtx inference-host agent-assignment-next --wait-seconds 50 --json
222
+ vtx inference-host agent-data-call --json
223
+ vtx inference-host agent-decision-submit --json
224
+ vtx inference-host agent-decision-status --json
225
+ vtx inference-host agent-assignment-heartbeat --json
226
+ vtx inference-host agent-assignment-release --json
227
+ ```
228
+
229
+ `agent-assignment-next` returns the exact `output_schema`, data capabilities,
230
+ wake bounds, and `decision_input` shape. Submit a `candidate` matching that
231
+ schema plus `provenance` with `source: "external_agent"`, a stable
232
+ `agent_run_id`, and the requested and actual model and reasoning effort. Use
233
+ `agent-decision-status` after an uncertain submit response. Use
234
+ `agent-assignment-release` only when intentionally ending the foreground Agent
235
+ session; normal cadence is recorded with `agent-assignment-heartbeat`.
236
+
214
237
  Claude Code, Antigravity, Gemini CLI, Kiro, Grok Build, Cursor, Amp, Auggie,
215
- Junie, Warp/Oz, Qwen Code, and OpenCode remain on
216
- the explicit foreground agent loop. Their current subscription routing,
238
+ Junie, Warp/Oz, Qwen Code, and OpenCode remain on the explicit foreground host
239
+ path. Their current subscription routing,
217
240
  effective-model identity, schema, usage, or crash-recovery contracts do not yet
218
241
  meet every durable VTX acceptance fence. The public Insights matrix records the
219
242
  specific limitation instead of treating headless support alone as durability.
220
243
 
221
- Keep `agent-run` open in a separate terminal and keep calling `agent-next`
222
- while the host should remain available. The independent keeper preserves
223
- truthful liveness while the harness reasons. This same loop
224
- supports Main, Review, and Screener in Provider mode;
225
- and normally running VTX Client Mode or Server Mode bots. Server Mode keeps the
244
+ Keep `agent-run` open in a separate terminal while the foreground host should
245
+ remain available. Use the Provider job loop for Main, Review, or Screener, or the
246
+ Agent assignment loop for an explicitly capable Main model. The independent
247
+ keeper preserves truthful liveness while the harness reasons. Both loops support
248
+ normally running VTX Client Mode or Server Mode bots. Server Mode keeps the
226
249
  normal VTX call fee. Client Mode has no VTX platform fee. Neither mode falls back
227
250
  to another model when the agent host is unavailable.
228
251
 
@@ -234,10 +257,11 @@ running bot.
234
257
 
235
258
  ## Remove
236
259
 
237
- First uninstall any durable service, stop any foreground run or agent-run process,
238
- revoke the VTX inference grant, then uninstall the package. Cleanup refuses while
239
- a foreground host process still owns the host. Automated Codex users should also remove the
240
- dedicated Codex login:
260
+ First release any foreground Agent assignment, uninstall any durable service,
261
+ stop any foreground run or agent-run process, revoke the VTX inference grant,
262
+ then uninstall the package. Cleanup refuses while a foreground host process
263
+ still owns the host. Automated Codex users should also remove the dedicated
264
+ Codex login:
241
265
 
242
266
  ```bash
243
267
  vtx inference-host service stop