clawdentity 0.0.11 → 0.0.12
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/dist/bin.js +609 -346
- package/dist/index.js +609 -346
- package/package.json +1 -1
- package/skill-bundle/openclaw-skill/skill/SKILL.md +4 -7
package/package.json
CHANGED
|
@@ -79,7 +79,6 @@ Note: Registry operators must run `admin bootstrap` before creating invites. See
|
|
|
79
79
|
- `clawdentity config init`
|
|
80
80
|
- `clawdentity config init --registry-url <registry-url>`
|
|
81
81
|
- `clawdentity config set registryUrl <registry-url>`
|
|
82
|
-
- `clawdentity config set proxyUrl <proxy-url>`
|
|
83
82
|
- `clawdentity config set apiKey <api-key>` (manual recovery only)
|
|
84
83
|
- `clawdentity config get <key>`
|
|
85
84
|
- `clawdentity config show`
|
|
@@ -127,10 +126,9 @@ Note: Registry operators must run `admin bootstrap` before creating invites. See
|
|
|
127
126
|
### Pairing
|
|
128
127
|
- `clawdentity pair start <agent-name> --qr`
|
|
129
128
|
- `clawdentity pair start <agent-name> --qr --qr-output <path>`
|
|
130
|
-
- `clawdentity pair start <agent-name> --qr --owner-pat <token> --
|
|
129
|
+
- `clawdentity pair start <agent-name> --qr --owner-pat <token> --ttl-seconds <seconds>`
|
|
131
130
|
- `clawdentity pair confirm <agent-name> --qr-file <path>`
|
|
132
131
|
- `clawdentity pair confirm <agent-name> --ticket <clwpair1_...>`
|
|
133
|
-
- `clawdentity pair confirm <agent-name> --ticket <clwpair1_...> --proxy-url <url>`
|
|
134
132
|
|
|
135
133
|
### Token verification
|
|
136
134
|
- `clawdentity verify <tokenOrFile>`
|
|
@@ -201,7 +199,7 @@ Note: Registry operators must run `admin bootstrap` before creating invites. See
|
|
|
201
199
|
|
|
202
200
|
| Check ID | Validates | Remediation on Failure |
|
|
203
201
|
|----------|-----------|----------------------|
|
|
204
|
-
| `config.registry` | `registryUrl` and `
|
|
202
|
+
| `config.registry` | `registryUrl`, `apiKey`, and `proxyUrl` in config (or proxy env override) | `clawdentity config init` or `invite redeem` |
|
|
205
203
|
| `state.selectedAgent` | Agent marker at `~/.clawdentity/openclaw-agent-name` | `clawdentity openclaw setup <agent-name>` |
|
|
206
204
|
| `state.credentials` | `ait.jwt` and `secret.key` exist and non-empty | `clawdentity agent create <agent-name>` or `agent auth refresh <agent-name>` |
|
|
207
205
|
| `state.peers` | Peers config valid; requested `--peer` alias exists | `clawdentity pair start` / `pair confirm` (optional until pairing) |
|
|
@@ -214,13 +212,12 @@ Note: Registry operators must run `admin bootstrap` before creating invites. See
|
|
|
214
212
|
|
|
215
213
|
9. Pairing phase (separate from onboarding).
|
|
216
214
|
- Initiator: `clawdentity pair start <agent-name> --qr`
|
|
217
|
-
- Optional overrides: `--owner-pat <token>`, `--
|
|
215
|
+
- Optional overrides: `--owner-pat <token>`, `--ttl-seconds <seconds>`, `--qr-output <path>`
|
|
218
216
|
- Owner PAT defaults to configured API key when `--owner-pat` is omitted.
|
|
219
217
|
- Responder (two mutually exclusive paths):
|
|
220
218
|
- QR path: `clawdentity pair confirm <agent-name> --qr-file <path>`
|
|
221
219
|
- Inline ticket path: `clawdentity pair confirm <agent-name> --ticket <clwpair1_...>`
|
|
222
220
|
- Cannot provide both `--qr-file` and `--ticket` simultaneously.
|
|
223
|
-
- Add `--proxy-url <url>` to override responder proxy.
|
|
224
221
|
- Pair confirm auto-saves peer DID/proxy mapping locally from QR ticket metadata.
|
|
225
222
|
- Confirm pairing success, then run `clawdentity openclaw relay test`.
|
|
226
223
|
|
|
@@ -286,7 +283,7 @@ Do not suggest switching endpoints unless user explicitly asks for endpoint chan
|
|
|
286
283
|
- `pair confirm` 404 (`PROXY_PAIR_TICKET_NOT_FOUND`): ticket is invalid or expired. Request a new ticket from initiator.
|
|
287
284
|
- `pair confirm` 410 (`PROXY_PAIR_TICKET_EXPIRED`): ticket has expired. Request a new ticket.
|
|
288
285
|
- `CLI_PAIR_CONFIRM_INPUT_CONFLICT`: cannot provide both `--ticket` and `--qr-file`. Use one path only.
|
|
289
|
-
- `
|
|
286
|
+
- `CLI_PAIR_PROXY_URL_MISMATCH`: local `proxyUrl` does not match registry metadata. Rerun `clawdentity invite redeem <clw_inv_...>`.
|
|
290
287
|
|
|
291
288
|
### Setup errors
|
|
292
289
|
- `405 Method Not Allowed` on hook path: rerun `clawdentity openclaw setup <agent-name>` and restart OpenClaw.
|