troxy-cli 1.0.5 → 1.0.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "troxy-cli",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "AI payment control — protect your agent's payments with policies",
5
5
  "type": "module",
6
6
  "bin": {
package/src/api.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export const BASE_URL =
2
2
  process.env.TROXY_API_URL ||
3
- 'https://wuxyx33bka.execute-api.us-east-1.amazonaws.com';
3
+ 'https://api.troxy.io';
4
4
 
5
5
  async function request(method, path, { apiKey, jwt, body } = {}) {
6
6
  const headers = { 'Content-Type': 'application/json' };
package/src/init.js CHANGED
@@ -144,7 +144,7 @@ Restart=always
144
144
  RestartSec=10
145
145
  User=${os.userInfo().username}
146
146
  Environment=TROXY_API_KEY=${apiKey}
147
- Environment=TROXY_AGENT_NAME=${agentName}
147
+ Environment=TROXY_AGENT_NAME="${agentName}"
148
148
 
149
149
  [Install]
150
150
  WantedBy=multi-user.target