troxy-cli 1.30.7 → 1.30.8
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/bin/troxy.js +1 -1
- package/package.json +1 -1
- package/src/mcps.js +1 -1
- package/src/pause.js +2 -2
package/bin/troxy.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "troxy-cli",
|
|
3
|
-
"version": "1.30.
|
|
3
|
+
"version": "1.30.8",
|
|
4
4
|
"description": "A secure control layer for AI agents: policies across payments, messages, logins, destructive actions, model usage, and secrets, all enforceable from the CLI",
|
|
5
5
|
"homepage": "https://troxy.io",
|
|
6
6
|
"bugs": {
|
package/src/mcps.js
CHANGED
|
@@ -8,7 +8,7 @@ const HELP = {
|
|
|
8
8
|
rename: ` troxy mcps rename --name <new-name> [--mcp <target>]\n\n Renames an MCP. Without --mcp, renames this machine's MCP.\n\n Options:\n --name New name\n --mcp Name/prefix of the MCP to rename (default: this machine)\n\n Example:\n troxy mcps rename --name "My Laptop"\n troxy mcps rename --mcp "old-name" --name "Staging Server"\n`,
|
|
9
9
|
create: ` troxy mcps create --name <name>\n\n Creates a new API key for another agent/machine. The key is shown once.\n Save it, then run 'troxy init --key <key>' on that machine.\n\n Options:\n --name Label for the new key\n`,
|
|
10
10
|
revoke: ` troxy mcps revoke --mcp <name>\n\n Permanently revokes an MCP's API key. That machine will stop being able\n to evaluate payments until reconnected with a new key.\n`,
|
|
11
|
-
pause: ` troxy pause / troxy mcps pause [--mcp <name>]\n\n Pauses an MCP (blocks all its
|
|
11
|
+
pause: ` troxy pause / troxy mcps pause [--mcp <name>]\n\n Pauses an MCP (blocks all its policy checkpoints). Without --mcp, pauses\n this machine's MCP, same as running 'troxy pause'.\n`,
|
|
12
12
|
resume: ` troxy resume / troxy mcps resume [--mcp <name>]\n\n Resumes a paused MCP. Without --mcp, resumes this machine's MCP.\n`,
|
|
13
13
|
budget: ` troxy mcps budget --mcp <name> [options]\n\n Sets or clears a monthly spend limit for a specific MCP.\n\n Options:\n --mcp <name> MCP to configure (required)\n --currency <cur> USD, ILS, or EUR (default: USD)\n --limit <n> Monthly limit\n --clear Remove the limit for that currency\n --action <action> block, escalate, notify, or allow: what happens once hit\n --reset-usage Reset this cycle's usage back to 0\n\n Example:\n troxy mcps budget --mcp "My Laptop" --currency USD --limit 500\n`,
|
|
14
14
|
'set-default-action': ` troxy mcps set-default-action --mcp <name> --action <action>\n\n Sets the fallback decision for an MCP when no policy matches.\n\n Options:\n --mcp <name> MCP to configure (required)\n --action <action> ALLOW, BLOCK, ESCALATE, or NOTIFY\n`,
|
package/src/pause.js
CHANGED
|
@@ -18,7 +18,7 @@ export async function runPause() {
|
|
|
18
18
|
const id = await _localTokenId(jwt, config);
|
|
19
19
|
await api.pauseToken(jwt, id);
|
|
20
20
|
console.log('✓');
|
|
21
|
-
console.log(' ⏸
|
|
21
|
+
console.log(' ⏸ Policy checkpoints are now blocked. This does not turn off model switching (use /troxy off in Claude Code).');
|
|
22
22
|
console.log(' Run "troxy resume" to resume.\n');
|
|
23
23
|
}
|
|
24
24
|
|
|
@@ -29,5 +29,5 @@ export async function runResume() {
|
|
|
29
29
|
const id = await _localTokenId(jwt, config);
|
|
30
30
|
await api.resumeToken(jwt, id);
|
|
31
31
|
console.log('✓');
|
|
32
|
-
console.log(' ▶
|
|
32
|
+
console.log(' ▶ Policy checkpoints are active again.\n');
|
|
33
33
|
}
|