clawdentity 0.0.18 → 0.0.20
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 +1559 -311
- package/dist/index.js +1559 -311
- package/dist/postinstall.js +0 -0
- package/package.json +17 -16
- package/skill-bundle/openclaw-skill/skill/SKILL.md +9 -2
package/dist/postinstall.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clawdentity",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.20",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -21,6 +21,17 @@
|
|
|
21
21
|
"postinstall.mjs",
|
|
22
22
|
"skill-bundle"
|
|
23
23
|
],
|
|
24
|
+
"scripts": {
|
|
25
|
+
"build": "pnpm -F @clawdentity/openclaw-skill build && pnpm run sync:skill-bundle && pnpm run verify:skill-bundle && tsup",
|
|
26
|
+
"format": "biome format .",
|
|
27
|
+
"lint": "biome lint .",
|
|
28
|
+
"prepack": "pnpm run build",
|
|
29
|
+
"postinstall": "node ./postinstall.mjs",
|
|
30
|
+
"sync:skill-bundle": "node ./scripts/sync-skill-bundle.mjs",
|
|
31
|
+
"verify:skill-bundle": "node ./scripts/verify-skill-bundle.mjs",
|
|
32
|
+
"test": "vitest run",
|
|
33
|
+
"typecheck": "tsc --noEmit"
|
|
34
|
+
},
|
|
24
35
|
"dependencies": {
|
|
25
36
|
"commander": "^13.1.0",
|
|
26
37
|
"jsqr": "^1.4.0",
|
|
@@ -29,21 +40,11 @@
|
|
|
29
40
|
"ws": "^8.19.0"
|
|
30
41
|
},
|
|
31
42
|
"devDependencies": {
|
|
43
|
+
"@clawdentity/connector": "workspace:*",
|
|
44
|
+
"@clawdentity/protocol": "workspace:*",
|
|
45
|
+
"@clawdentity/sdk": "workspace:*",
|
|
32
46
|
"@types/node": "^22.18.11",
|
|
33
47
|
"@types/pngjs": "^6.0.5",
|
|
34
|
-
"@types/qrcode": "^1.5.6"
|
|
35
|
-
"@clawdentity/connector": "0.0.0",
|
|
36
|
-
"@clawdentity/protocol": "0.0.0",
|
|
37
|
-
"@clawdentity/sdk": "0.0.0"
|
|
38
|
-
},
|
|
39
|
-
"scripts": {
|
|
40
|
-
"build": "pnpm -F @clawdentity/openclaw-skill build && pnpm run sync:skill-bundle && pnpm run verify:skill-bundle && tsup",
|
|
41
|
-
"format": "biome format .",
|
|
42
|
-
"lint": "biome lint .",
|
|
43
|
-
"postinstall": "node ./postinstall.mjs",
|
|
44
|
-
"sync:skill-bundle": "node ./scripts/sync-skill-bundle.mjs",
|
|
45
|
-
"verify:skill-bundle": "node ./scripts/verify-skill-bundle.mjs",
|
|
46
|
-
"test": "vitest run",
|
|
47
|
-
"typecheck": "tsc --noEmit"
|
|
48
|
+
"@types/qrcode": "^1.5.6"
|
|
48
49
|
}
|
|
49
|
-
}
|
|
50
|
+
}
|
|
@@ -196,9 +196,11 @@ Note: Registry operators must run `admin bootstrap` before creating invites. See
|
|
|
196
196
|
- OpenClaw config path and relay runtime path
|
|
197
197
|
- runtime mode/status
|
|
198
198
|
- websocket status `connected`
|
|
199
|
+
- setup checklist is healthy (fails fast when hook/device/runtime prerequisites drift)
|
|
199
200
|
|
|
200
201
|
7. Validate readiness.
|
|
201
|
-
-
|
|
202
|
+
- `clawdentity openclaw setup` already runs an internal checklist and auto-recovers pending OpenClaw gateway device approvals when possible.
|
|
203
|
+
- Run `clawdentity openclaw doctor` only for diagnostics or CI reporting.
|
|
202
204
|
- Use `--json` for machine-readable output.
|
|
203
205
|
- Use `--peer <alias>` to validate a specific peer exists after pairing.
|
|
204
206
|
- Doctor check IDs and remediation:
|
|
@@ -212,8 +214,12 @@ Note: Registry operators must run `admin bootstrap` before creating invites. See
|
|
|
212
214
|
| `state.transform` | Relay transform artifacts in OpenClaw hooks dir | Reinstall skill package or `openclaw setup <agent-name>` |
|
|
213
215
|
| `state.hookMapping` | `send-to-peer` hook mapping in OpenClaw config | `clawdentity openclaw setup <agent-name>` |
|
|
214
216
|
| `state.hookToken` | Hooks enabled with token in OpenClaw config | `clawdentity openclaw setup <agent-name>` then restart OpenClaw |
|
|
217
|
+
| `state.hookSessionRouting` | `hooks.defaultSessionKey`, `hooks.allowRequestSessionKey=false`, and required prefixes (`hook:`, default session key) | `clawdentity openclaw setup <agent-name>` then restart OpenClaw |
|
|
218
|
+
| `state.gatewayDevicePairing` | Pending OpenClaw device approvals (prevents `pairing required` websocket errors) | Re-run `clawdentity openclaw setup <agent-name>` so setup auto-recovers approvals |
|
|
215
219
|
| `state.openclawBaseUrl` | OpenClaw base URL resolvable | `clawdentity openclaw setup <agent-name> --openclaw-base-url <url>` |
|
|
216
220
|
| `state.connectorRuntime` | Local connector runtime reachable and websocket-connected | `clawdentity openclaw setup <agent-name>` |
|
|
221
|
+
| `state.connectorInboundInbox` | Connector local inbound inbox backlog and replay queue state (`/v1/status`) | Re-run `clawdentity openclaw setup <agent-name>` and verify connector runtime health |
|
|
222
|
+
| `state.openclawHookHealth` | Connector replay status for local OpenClaw hook delivery (`/v1/status`) | Re-run `clawdentity openclaw setup <agent-name>` and restart OpenClaw if hook replay stays failed |
|
|
217
223
|
|
|
218
224
|
- At this point the agent is ready to start pairing or accept pairing.
|
|
219
225
|
|
|
@@ -324,7 +330,8 @@ Do not suggest switching endpoints unless user explicitly asks for endpoint chan
|
|
|
324
330
|
- Report exact missing file/value.
|
|
325
331
|
- Fix only failing input/config.
|
|
326
332
|
- Prefer `openclaw setup` as the single runtime reconciliation command.
|
|
327
|
-
-
|
|
333
|
+
- Then run `openclaw relay test`.
|
|
334
|
+
- Use `openclaw doctor` only when you need a detailed diagnostic report.
|
|
328
335
|
|
|
329
336
|
## Bundled Resources
|
|
330
337
|
|