@vtxmacro/cli 2026.8.11 → 2026.8.13

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 -3
  2. package/bin/vtx.js +667 -100
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -47,6 +47,15 @@ credential.
47
47
 
48
48
  ### Automated Codex host
49
49
 
50
+ Before the first Codex login, enable **Device code authorization for Codex** in
51
+ ChatGPT Security settings. Only enter a device code from a login you initiated,
52
+ and never share it. The automated host advertises `gpt-5.6-sol` with
53
+ `medium`, `high`, and `xhigh` reasoning effort. Before starting a Trader,
54
+ confirm that the VTX AI page shows the intended authenticated ChatGPT email and
55
+ plan. The host reads the live Codex account window: a reached limit pauses new
56
+ dispatch until its reported reset, while a transient throttle uses a short
57
+ bounded cooldown.
58
+
50
59
  ```bash
51
60
  vtx inference-host login
52
61
  vtx inference-host codex-login
@@ -63,6 +72,21 @@ OAuth grant. It also keeps its ChatGPT subscription login in a dedicated private
63
72
  Codex home. Neither credential is copied from or widens the ordinary CLI or Codex
64
73
  session. VTX logout/revoke and Codex logout are intentionally separate operations.
65
74
 
75
+ Use `vtx inference-host --help` for command discovery. The VTX login verifies
76
+ that the selected credential store can read back the exact saved grant. If an
77
+ OS credential store such as Windows Credential Manager cannot retain it, VTX
78
+ revokes the new remote grant and fails with an actionable error. Retry with the
79
+ supported private-file store by setting
80
+ `VTX_INFERENCE_HOST_CREDENTIAL_STORE=file` before running
81
+ `vtx inference-host login` again. In PowerShell use
82
+ `$env:VTX_INFERENCE_HOST_CREDENTIAL_STORE="file"`; in bash use
83
+ `export VTX_INFERENCE_HOST_CREDENTIAL_STORE=file`.
84
+
85
+ The browser callback shows a VTX authorization-complete page. If a browser
86
+ extension instead shows `ERR_BLOCKED_BY_CLIENT` but the CLI reports
87
+ `logged_in` and `doctor` reports `credential-present`, only the local
88
+ confirmation page was blocked; the grant succeeded.
89
+
66
90
  ### Any compatible agent harness
67
91
 
68
92
  Codex, Claude Code, Cursor, GitHub Copilot, Antigravity, and other agents that can
@@ -77,6 +101,7 @@ vtx inference-host agent-connect \
77
101
  --model-label "<display label>" \
78
102
  --effort <reasoning-effort> \
79
103
  --json
104
+ vtx inference-host agent-run
80
105
  vtx inference-host agent-next --wait-seconds 50 --json
81
106
  ```
82
107
 
@@ -99,16 +124,26 @@ Use `not_dispatched` only when no harness inference began,
99
124
  `outcome_unknown` when dispatch itself cannot be confirmed. Pipe exactly one
100
125
  object to `vtx inference-host agent-fail --json`.
101
126
 
102
- Keep calling `agent-next` while the host should remain available. This same loop
127
+ Keep `agent-run` open in a separate terminal and keep calling `agent-next`
128
+ while the host should remain available. The independent keeper preserves
129
+ truthful liveness while the harness reasons. This same loop
103
130
  supports Main, Review, and Screener; Provider response and Decision candidate;
104
131
  and normally running VTX Client Mode or Server Mode bots. Server Mode keeps the
105
132
  normal VTX call fee. Client Mode has no VTX platform fee. Neither mode falls back
106
133
  to another model when the agent host is unavailable.
107
134
 
135
+ After any approved Trader start, use `vtx --profile <profile-id> bots status`
136
+ to confirm the normal Trader remains running. If it returns to Stopped, use
137
+ `vtx --profile <profile-id> runtime events` to read the latest error before one
138
+ controlled retry. A start receipt or a brief Live label is not proof of a
139
+ running bot.
140
+
108
141
  ## Remove
109
142
 
110
- First revoke the VTX inference grant, then uninstall the package. Automated
111
- Codex users should also remove the dedicated Codex login:
143
+ First stop the foreground run or agent-run process, revoke the VTX inference
144
+ grant, then uninstall the package. Cleanup refuses while a foreground host
145
+ process still owns the host. Automated Codex users should also remove the
146
+ dedicated Codex login:
112
147
 
113
148
  ```bash
114
149
  vtx inference-host revoke
@@ -116,3 +151,7 @@ vtx inference-host revoke
116
151
  vtx inference-host codex-logout
117
152
  npm uninstall -g @vtxmacro/cli
118
153
  ```
154
+
155
+ If an older failed login left no local credential to revoke, disconnect that
156
+ inactive inference grant from Connected Agent Apps on the VTX Insights page
157
+ before logging in again.