a2acalling 0.6.16 → 0.6.17

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.
Files changed (2) hide show
  1. package/SKILL.md +12 -39
  2. package/package.json +1 -1
package/SKILL.md CHANGED
@@ -27,53 +27,26 @@ metadata:
27
27
 
28
28
  Enable agent-to-agent communication across OpenClaw instances.
29
29
 
30
- ## FIRST RUN GATE (Check Before EVERY /a2a Command)
30
+ ## Install & Onboarding
31
31
 
32
- Before processing any `/a2a` command that depends on tiers/disclosure (tokens, invites, calls), check onboarding status.
32
+ ```bash
33
+ npm install -g a2acalling
34
+ ```
33
35
 
34
- Exceptions (do not gate):
35
- - `/a2a gui` / `/a2a dashboard`
36
- - `/a2a uninstall`
36
+ Onboarding is automatic. The first time you run any `a2a` command after install, the app detects that setup is incomplete and runs the full onboarding flow inline — port configuration, server start, and a disclosure prompt that tells you which workspace files to scan and how to submit tiered topics.
37
37
 
38
- Onboarding check:
38
+ To manually trigger onboarding (or re-run it):
39
39
 
40
40
  ```bash
41
- node - <<'NODE'
42
- const fs = require('fs');
43
- const path = require('path');
44
-
45
- const dir = process.env.A2A_CONFIG_DIR ||
46
- process.env.OPENCLAW_CONFIG_DIR ||
47
- path.join(process.env.HOME || '/tmp', '.config', 'openclaw');
48
- const file = path.join(dir, 'a2a-config.json');
49
-
50
- let ok = false;
51
- try {
52
- const cfg = JSON.parse(fs.readFileSync(file, 'utf8'));
53
- ok = cfg.onboarding &&
54
- cfg.onboarding.version === 2 &&
55
- cfg.onboarding.step === 'complete';
56
- } catch (e) {}
57
-
58
- process.stdout.write(ok ? 'onboarded\n' : 'not_onboarded\n');
59
- NODE
41
+ a2a quickstart # run onboarding
42
+ a2a quickstart --force # re-run from scratch
60
43
  ```
61
44
 
62
- **If it prints `not_onboarded`:**
63
- - DO NOT process the requested command yet
64
- - Tell the user: "A2A needs initial setup. Let me configure your agent's disclosure topics first."
65
- - Run the deterministic Quickstart flow below to completion (flags-based, step-by-step)
66
- - Only THEN proceed with the user's original command
67
-
68
- **If it prints `onboarded`:** proceed normally.
45
+ After the onboarding walkthrough prints, scan your workspace files (USER.md, SOUL.md, etc.), build the disclosure JSON, and submit:
69
46
 
70
- **Context gathering for onboarding:** Read ALL available context to generate personalized tier topics:
71
- - **Primary:** USER.md, HEARTBEAT.md, SOUL.md
72
- - **Skills:** SKILL.md files (workspace + ~/.openclaw/skills/*)
73
- - **Memory:** memory/*.md files
74
- - **Project:** CLAUDE.md
75
-
76
- Extract: professional context, interests, goals, skills, sensitive areas. Group them into Public/Friends/Family tiers based on sensitivity.
47
+ ```bash
48
+ a2a quickstart --submit '<json>'
49
+ ```
77
50
 
78
51
  ## Network Ingress (Internet-Facing Invites)
79
52
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "a2acalling",
3
- "version": "0.6.16",
3
+ "version": "0.6.17",
4
4
  "description": "Agent-to-agent calling for OpenClaw - A2A agent communication",
5
5
  "main": "src/index.js",
6
6
  "bin": {