clawdentity 0.0.9 → 0.0.10
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,13 +1,13 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: clawdentity_openclaw_relay
|
|
3
3
|
description: This skill should be used when the user asks to install or configure Clawdentity relay for OpenClaw agents and prepare them for pairing and message delivery.
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Clawdentity OpenClaw Relay Skill
|
|
8
8
|
|
|
9
9
|
This skill prepares a local OpenClaw agent in a strict sequence:
|
|
10
|
-
1. finish registry onboarding and
|
|
10
|
+
1. finish registry onboarding by redeeming an invite (`clw_inv_...`) and store API key
|
|
11
11
|
2. create local agent identity
|
|
12
12
|
3. configure relay runtime
|
|
13
13
|
4. become ready to start or accept QR pairing
|
|
@@ -43,9 +43,12 @@ Relay invite codes are not part of this flow.
|
|
|
43
43
|
## Inputs
|
|
44
44
|
|
|
45
45
|
Required for onboarding:
|
|
46
|
-
- Registry onboarding invite code: `clw_inv_...` (
|
|
46
|
+
- Registry onboarding invite code: `clw_inv_...` (default onboarding path)
|
|
47
47
|
- Local agent name
|
|
48
48
|
|
|
49
|
+
Optional only for recovery/advanced operator flows:
|
|
50
|
+
- Existing API key (only when user explicitly says no invite is available)
|
|
51
|
+
|
|
49
52
|
Required for pairing phase (after setup):
|
|
50
53
|
- Pairing QR from the other side (`clwpair1_...` inside QR image)
|
|
51
54
|
|
|
@@ -63,7 +66,8 @@ Required for pairing phase (after setup):
|
|
|
63
66
|
- `clawdentity config set registryUrl <registry-url>`
|
|
64
67
|
- `clawdentity invite redeem <registry-invite-code>`
|
|
65
68
|
- `clawdentity invite redeem <registry-invite-code> --registry-url <registry-url>`
|
|
66
|
-
- `clawdentity config
|
|
69
|
+
- `clawdentity config get apiKey`
|
|
70
|
+
- `clawdentity config set apiKey <api-key>` (manual recovery only when user explicitly cannot provide invite)
|
|
67
71
|
- `clawdentity agent create <agent-name> --framework openclaw`
|
|
68
72
|
- `clawdentity agent inspect <agent-name>`
|
|
69
73
|
- `clawdentity openclaw setup <agent-name>`
|
|
@@ -84,7 +88,9 @@ Required for pairing phase (after setup):
|
|
|
84
88
|
- If `--invite-code` appears, treat CLI as outdated and upgrade before continuing:
|
|
85
89
|
- `npm install -g clawdentity@latest`
|
|
86
90
|
- Confirm local agent name.
|
|
87
|
-
-
|
|
91
|
+
- Check local API key status with `clawdentity config get apiKey`.
|
|
92
|
+
- If API key is missing, ask for onboarding invite `clw_inv_...` and continue with invite redeem.
|
|
93
|
+
- Do not ask for raw API key unless the user explicitly says invite is unavailable.
|
|
88
94
|
- Confirm OpenClaw path/base URL only if non-default.
|
|
89
95
|
- Do not ask for pairing inputs before onboarding is complete.
|
|
90
96
|
|
|
@@ -97,8 +103,9 @@ Required for pairing phase (after setup):
|
|
|
97
103
|
- If needed, run with `--registry-url`.
|
|
98
104
|
|
|
99
105
|
4. Finish onboarding and generate API key.
|
|
100
|
-
-
|
|
101
|
-
-
|
|
106
|
+
- Preferred path: run `clawdentity invite redeem <clw_inv_...>`.
|
|
107
|
+
- If local API key already exists and user explicitly wants to reuse it, continue without redeem.
|
|
108
|
+
- Use `config set apiKey` only as a manual recovery path when user cannot provide invite.
|
|
102
109
|
- Confirm output shows:
|
|
103
110
|
- `Invite redeemed`
|
|
104
111
|
- API key token printed once
|
|
@@ -135,12 +142,14 @@ Required for pairing phase (after setup):
|
|
|
135
142
|
|
|
136
143
|
Ask only when missing:
|
|
137
144
|
- local agent name
|
|
138
|
-
- onboarding invite (`clw_inv_...`)
|
|
145
|
+
- onboarding invite (`clw_inv_...`) unless user explicitly requests API-key recovery path
|
|
139
146
|
- non-default OpenClaw path/base URL
|
|
140
147
|
- pairing QR image path for confirm
|
|
141
148
|
|
|
142
149
|
Do not ask for relay invite codes.
|
|
143
150
|
Do not ask for `clawd1_...` values.
|
|
151
|
+
Do not state that API key is required before invite redeem.
|
|
152
|
+
Do not suggest switching endpoints unless user explicitly asks for endpoint changes.
|
|
144
153
|
|
|
145
154
|
## Failure Handling
|
|
146
155
|
|