@vtxmacro/cli 0.1.1 → 2026.8.10

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 (4) hide show
  1. package/README.md +36 -2
  2. package/bin/vtx-mcp.js +1 -1
  3. package/bin/vtx.js +45943 -13622
  4. package/package.json +13 -6
package/README.md CHANGED
@@ -2,16 +2,21 @@
2
2
 
3
3
  Command-line and MCP access for VTX Macro automation.
4
4
 
5
- ## Install
5
+ ## Install or update
6
6
 
7
7
  ```bash
8
8
  npm install -g @vtxmacro/cli
9
+ vtx --version
9
10
  ```
10
11
 
12
+ The host supports Windows x64 and Linux x64, including WSL. The package installs
13
+ the exact supported OpenAI Codex runtime for those platforms.
14
+ The VTX host verifies that native runtime's version and digest before use; it
15
+ does not borrow a Codex binary from PATH or an editor extension.
16
+
11
17
  ## Configure
12
18
 
13
19
  ```bash
14
- export VTX_API_URL="https://api.vtxmacro.com"
15
20
  export VTX_PROFILE_ID="<profile-id>"
16
21
  vtx auth login --scopes read,bot:control
17
22
  ```
@@ -33,3 +38,32 @@ vtx-mcp
33
38
  ```
34
39
 
35
40
  The CLI and MCP server use the same saved token and environment variables.
41
+
42
+ ## Subscription inference host
43
+
44
+ ```bash
45
+ vtx inference-host login
46
+ vtx inference-host codex-login
47
+ vtx inference-host doctor --json
48
+ vtx inference-host run
49
+ vtx inference-host status --json
50
+ vtx inference-host logout
51
+ vtx inference-host codex-logout
52
+ vtx inference-host revoke
53
+ ```
54
+
55
+ This foreground host uses a separate least-privilege `insights:inference`
56
+ OAuth grant. It also keeps its ChatGPT subscription login in a dedicated private
57
+ Codex home. Neither credential is copied from or widens the ordinary CLI or Codex
58
+ session. VTX logout/revoke and Codex logout are intentionally separate operations.
59
+
60
+ ## Remove
61
+
62
+ First revoke the VTX inference grant and remove the dedicated Codex login, then
63
+ uninstall the package:
64
+
65
+ ```bash
66
+ vtx inference-host revoke
67
+ vtx inference-host codex-logout
68
+ npm uninstall -g @vtxmacro/cli
69
+ ```
package/bin/vtx-mcp.js CHANGED
@@ -968,7 +968,7 @@ async function handleMcpJsonRpcRequest(request, clientFactory = createDefaultMcp
968
968
  },
969
969
  serverInfo: {
970
970
  name: "vtx-macro",
971
- version: "0.1.0"
971
+ version: "2026.6.23"
972
972
  }
973
973
  });
974
974
  }