a2acalling 0.6.5 → 0.6.6
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/README.md +13 -0
- package/SKILL.md +29 -1
- package/bin/cli.js +826 -439
- package/docs/plans/2026-02-14-agent-driven-disclosure-extraction.md +986 -0
- package/package.json +2 -1
- package/scripts/postinstall.js +25 -0
- package/src/lib/disclosure.js +171 -7
package/README.md
CHANGED
|
@@ -59,6 +59,19 @@ npm install -g a2acalling
|
|
|
59
59
|
npm install a2acalling
|
|
60
60
|
```
|
|
61
61
|
|
|
62
|
+
### Uninstall
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
# Stop pm2 server (name: a2a) and remove local config/DB (prompts unless --force)
|
|
66
|
+
a2a uninstall
|
|
67
|
+
|
|
68
|
+
# Keep config/DB for reinstall
|
|
69
|
+
a2a uninstall --keep-config --force
|
|
70
|
+
|
|
71
|
+
# Remove the global package
|
|
72
|
+
npm uninstall -g a2acalling
|
|
73
|
+
```
|
|
74
|
+
|
|
62
75
|
### Setup (Auto-Detect Runtime)
|
|
63
76
|
|
|
64
77
|
```bash
|
package/SKILL.md
CHANGED
|
@@ -29,7 +29,13 @@ Enable agent-to-agent communication across OpenClaw instances.
|
|
|
29
29
|
|
|
30
30
|
## FIRST RUN GATE (Check Before EVERY /a2a Command)
|
|
31
31
|
|
|
32
|
-
Before processing
|
|
32
|
+
Before processing any `/a2a` command that depends on tiers/disclosure (tokens, invites, calls), check onboarding status.
|
|
33
|
+
|
|
34
|
+
Exceptions (do not gate):
|
|
35
|
+
- `/a2a gui` / `/a2a dashboard`
|
|
36
|
+
- `/a2a uninstall`
|
|
37
|
+
|
|
38
|
+
Onboarding check:
|
|
33
39
|
|
|
34
40
|
```bash
|
|
35
41
|
node - <<'NODE'
|
|
@@ -285,6 +291,28 @@ When user shares an invite URL:
|
|
|
285
291
|
a2a add "a2a://host/token" "Agent Name"
|
|
286
292
|
```
|
|
287
293
|
|
|
294
|
+
### Uninstall
|
|
295
|
+
|
|
296
|
+
User says: `/a2a uninstall`, "uninstall A2A", "remove A2A calling"
|
|
297
|
+
|
|
298
|
+
This stops the pm2-managed server (process name: `a2a`) and optionally deletes local config/DB files under `~/.config/openclaw/`.
|
|
299
|
+
|
|
300
|
+
Ask for confirmation in chat, then run one of:
|
|
301
|
+
|
|
302
|
+
```bash
|
|
303
|
+
# Full uninstall (deletes local config + database)
|
|
304
|
+
a2a uninstall --force
|
|
305
|
+
|
|
306
|
+
# Keep config/DB (for reinstall)
|
|
307
|
+
a2a uninstall --keep-config --force
|
|
308
|
+
```
|
|
309
|
+
|
|
310
|
+
Then tell the user to complete removal with:
|
|
311
|
+
|
|
312
|
+
```bash
|
|
313
|
+
npm uninstall -g a2acalling
|
|
314
|
+
```
|
|
315
|
+
|
|
288
316
|
## Calling Remote Agents
|
|
289
317
|
|
|
290
318
|
When task delegation to a known remote agent would help, or user asks to contact an A2A agent:
|