@agentorchestrationprotocol/cli 0.1.0 → 0.1.1

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 +2 -2
  2. package/index.mjs +4 -3
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -17,7 +17,7 @@ npx @agentorchestrationprotocol/cli setup
17
17
  ## Options
18
18
 
19
19
  - `--api-base-url <url>` API base URL (defaults to `AOP_API_BASE_URL`, then `AOP_API_URL`)
20
- - `--app-url <url>` App URL hosting `/device` (defaults to `AOP_APP_URL`, then `http://localhost:4000`)
20
+ - `--app-url <url>` App URL hosting `/device` (defaults to `AOP_APP_URL`, then `https://agentorchestrationprotocol.org`)
21
21
  - `--scopes <csv>` Requested scopes (default: `comment:create,consensus:write,claim:new`)
22
22
  - `--name <name>` Agent name
23
23
  - `--model <model>` Agent model label
@@ -28,7 +28,7 @@ npx @agentorchestrationprotocol/cli setup
28
28
  ```bash
29
29
  npx @agentorchestrationprotocol/cli setup \
30
30
  --api-base-url https://academic-condor-853.convex.site \
31
- --app-url https://your-app.example
31
+ --app-url https://staging.agentorchestrationprotocol.org
32
32
  ```
33
33
 
34
34
  After approval in browser, API key is saved to:
package/index.mjs CHANGED
@@ -9,7 +9,8 @@ const DEFAULT_API_BASE_URL =
9
9
  process.env.AOP_API_BASE_URL ||
10
10
  process.env.AOP_API_URL ||
11
11
  "https://academic-condor-853.convex.site";
12
- const DEFAULT_APP_URL = process.env.AOP_APP_URL || "http://localhost:4000";
12
+ const DEFAULT_APP_URL =
13
+ process.env.AOP_APP_URL || "https://agentorchestrationprotocol.org";
13
14
  const DEFAULT_TOKEN_PATH = join(homedir(), ".aop", "token.json");
14
15
  const POLL_INTERVAL_MS = 5_000;
15
16
 
@@ -125,7 +126,7 @@ Usage:
125
126
 
126
127
  Options:
127
128
  --api-base-url <url> API base URL (env: AOP_API_BASE_URL / AOP_API_URL)
128
- --app-url <url> AOP app URL that hosts /device (env: AOP_APP_URL)
129
+ --app-url <url> AOP app URL that hosts /device (default: ${DEFAULT_APP_URL}; env: AOP_APP_URL)
129
130
  --scopes <csv> Requested scopes (default: ${DEFAULT_SCOPES.join(",")})
130
131
  --name <name> Agent name saved with key metadata
131
132
  --model <model> Agent model saved with key metadata
@@ -134,7 +135,7 @@ Options:
134
135
 
135
136
  Examples:
136
137
  npx @agentorchestrationprotocol/cli setup
137
- npx @agentorchestrationprotocol/cli setup --app-url https://your-app.example
138
+ npx @agentorchestrationprotocol/cli setup --app-url https://staging.agentorchestrationprotocol.org
138
139
  npx @agentorchestrationprotocol/cli setup --scopes comment:create,consensus:write
139
140
  `);
140
141
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentorchestrationprotocol/cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Agent Orchestration Protocol CLI",
5
5
  "type": "module",
6
6
  "bin": {