clawdentity 0.0.24 → 0.0.25

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,10 +1,18 @@
1
1
  {
2
2
  "name": "clawdentity",
3
- "version": "0.0.24",
3
+ "version": "0.0.25",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/vrknetha/clawdentity"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/vrknetha/clawdentity/issues"
14
+ },
15
+ "homepage": "https://github.com/vrknetha/clawdentity#readme",
8
16
  "main": "./dist/index.js",
9
17
  "types": "./dist/index.d.ts",
10
18
  "bin": {
@@ -163,10 +163,13 @@ Use `--no-runtime-start` when the connector runs as a separate container or proc
163
163
  - `clawdentity pair start <agent-name> --qr --ttl-seconds <seconds>`
164
164
  - `clawdentity pair start <agent-name> --qr --wait`
165
165
  - `clawdentity pair start <agent-name> --qr --wait --wait-seconds <seconds> --poll-interval-seconds <seconds>`
166
+ - `clawdentity pair start <agent-name> --qr --allow-responder <did:claw:agent:...>`
167
+ - `clawdentity pair start <agent-name> --qr --callback-url <https://...>`
166
168
  - `clawdentity pair confirm <agent-name> --qr-file <path>`
167
169
  - `clawdentity pair confirm <agent-name> --ticket <clwpair1_...>`
168
170
  - `clawdentity pair status <agent-name> --ticket <clwpair1_...>`
169
171
  - `clawdentity pair status <agent-name> --ticket <clwpair1_...> --wait`
172
+ - `clawdentity pair recover <agent-name>`
170
173
 
171
174
  ### Token verification
172
175
  - `clawdentity verify <tokenOrFile>`
@@ -281,7 +284,11 @@ Use `--no-runtime-start` when the connector runs as a separate container or proc
281
284
  - `clawdentity pair status <agent-name> --ticket <clwpair1_...> --wait`
282
285
  - This persists the peer on initiator after responder confirmation.
283
286
  - Default wait timeout is 300 seconds with 3-second polling.
284
- - If `CLI_PAIR_STATUS_WAIT_TIMEOUT` is thrown: the responder did not confirm in time. Recovery: re-run `clawdentity pair start <agent-name> --qr --wait` to generate a new ticket.
287
+ - Wait flow is resilient (adaptive polling + transient retries) and persists pending ticket state per agent.
288
+ - If wait times out/cancels/fails due repeated transients, preferred recovery is:
289
+ - `clawdentity pair recover <agent-name>`
290
+ - Manual fallback remains:
291
+ - `clawdentity pair status <agent-name> --ticket <clwpair1_...> --wait`
285
292
  - Confirm pairing success, then run `clawdentity openclaw relay test`.
286
293
  - **Validate:** `~/.clawdentity/peers.json` contains the new peer alias entry.
287
294
 
@@ -393,7 +400,10 @@ Do not suggest switching endpoints unless user explicitly asks for endpoint chan
393
400
  ### Pairing errors
394
401
  - `PROXY_PAIR_TICKET_NOT_FOUND`: ticket invalid or expired. Request a new ticket from initiator.
395
402
  - `PROXY_PAIR_TICKET_EXPIRED`: ticket has expired. Request a new ticket.
396
- - `CLI_PAIR_STATUS_WAIT_TIMEOUT`: responder did not confirm in time. Re-run `pair start`.
403
+ - `PROXY_PAIR_TICKET_ALREADY_CONFIRMED`: ticket replayed; pairing already completed earlier.
404
+ - `CLI_PAIR_STATUS_WAIT_TIMEOUT`: responder did not confirm before deadline. Run `pair recover` (preferred) or `pair status --ticket ... --wait`.
405
+ - `CLI_PAIR_STATUS_POLL_FAILED`: transient polling failures exceeded retry budget. Run `pair recover`.
406
+ - `CLI_PAIR_STATUS_WAIT_CANCELLED`: wait interrupted (SIGINT). Run `pair recover`.
397
407
  - `CLI_PAIR_CONFIRM_INPUT_CONFLICT`: cannot provide both `--ticket` and `--qr-file`. Use one path only.
398
408
  - `CLI_PAIR_PROXY_URL_MISMATCH`: local `proxyUrl` does not match registry metadata. Rerun `clawdentity invite redeem <clw_inv_...>`.
399
409
  - Responder shows peer but initiator does not: