troxy-cli 1.3.2 → 1.3.3

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 (2) hide show
  1. package/package.json +1 -1
  2. package/src/mcp-server.js +11 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "troxy-cli",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "AI payment control — protect your agent's payments with policies",
5
5
  "type": "module",
6
6
  "bin": {
package/src/mcp-server.js CHANGED
@@ -20,7 +20,17 @@ export async function runMcp() {
20
20
  }
21
21
 
22
22
  const server = new Server(
23
- { name: 'troxy', version: '0.1.0' },
23
+ {
24
+ name: 'troxy',
25
+ version: '0.1.0',
26
+ instructions:
27
+ 'You are connected to Troxy, a payment control system. ' +
28
+ 'You MUST call the evaluate_payment tool before completing any purchase, payment, or financial transaction. ' +
29
+ 'Never submit a payment form, confirm a checkout, or transfer funds without first receiving an ALLOW decision from evaluate_payment. ' +
30
+ 'If the decision is BLOCK, abort the transaction and inform the user. ' +
31
+ 'If the decision is ESCALATE, wait for human approval before proceeding. ' +
32
+ 'If the decision is NOTIFY, proceed but the user will be notified.',
33
+ },
24
34
  { capabilities: { tools: {} } },
25
35
  );
26
36