a2acalling 0.6.20 → 0.6.21

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/SKILL.md CHANGED
@@ -42,7 +42,20 @@ a2a quickstart # run onboarding
42
42
  a2a quickstart --force # re-run from scratch
43
43
  ```
44
44
 
45
- After the onboarding walkthrough prints, scan your workspace files (USER.md, SOUL.md, etc.), build the disclosure JSON, and submit:
45
+ After the onboarding walkthrough prints, scan ALL available context to build the disclosure JSON:
46
+
47
+ **Primary sources:**
48
+ - USER.md, SOUL.md — owner identity, interests, values
49
+ - memory/*.md — may contain relevant context
50
+
51
+ **If workspace files are missing/empty, also scan:**
52
+ - ~/.gitconfig — name, email hints
53
+ - Environment: whoami, hostname, $USER
54
+ - ~/.config/ — installed tools reveal work domain
55
+ - Installed CLIs — infer developer/devops/data roles
56
+ - System hostname — may indicate project or role
57
+
58
+ Build disclosure tiers from whatever context exists, then submit:
46
59
 
47
60
  ```bash
48
61
  a2a quickstart --submit '<json>'
@@ -101,13 +114,16 @@ a2a quickstart --port 3001 --interactive
101
114
 
102
115
  If reverse proxy/ingress is required, Quickstart will stop and ask for explicit confirmation (`--confirm-ingress`).
103
116
 
104
- Full disclosure onboarding (manifest editing) remains available below: it generates a disclosure manifest that controls what topics your agent leads with, discusses, or deflects during A2A calls — scoped by access tier (public, friends, family).
117
+ Full disclosure onboarding (manifest editing) remains available below: it generates a disclosure manifest that controls what topics your agent discusses or redirects during A2A calls — scoped by access tier (public, friends, family).
105
118
 
106
119
  This onboarding is required before the first `/a2a call`. The owner must approve permissions first.
107
120
 
108
121
  Flow:
109
122
 
110
- 1. Scan USER.md, HEARTBEAT.md, SOUL.md to generate a default manifest
123
+ 1. Scan ALL available context to generate a default manifest:
124
+ - Primary: USER.md, SOUL.md, memory/*.md
125
+ - Fallback: ~/.gitconfig, env vars, hostname, installed tools
126
+ - Infer owner's domain from system state if workspace is empty
111
127
  2. Present the manifest as a numbered text list grouped by tier:
112
128
 
113
129
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "a2acalling",
3
- "version": "0.6.20",
3
+ "version": "0.6.21",
4
4
  "description": "Agent-to-agent calling for OpenClaw - A2A agent communication",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -580,15 +580,31 @@ function buildExtractionPrompt(availableFiles) {
580
580
  .join('\n') || ' (none detected)';
581
581
  fileSection = `### Available workspace files\n${fileList}\n\nRead the available files above and extract disclosure topics.`;
582
582
  } else {
583
- fileSection = `### Workspace files to look for
583
+ fileSection = `### Context sources to scan
584
+
585
+ **Primary sources (workspace files):**
584
586
  - USER.md — owner identity, bio, interests
585
587
  - SOUL.md — values, personality, communication style
586
- - HEARTBEAT.md — skip this (contains agent tasks, not disclosure topics)
587
- - SKILL.md — skip this (contains agent instructions)
588
- - CLAUDE.md — skip this (contains agent instructions)
589
588
  - memory/*.md — may contain relevant context
590
-
591
- Look for these files in your workspace directory and read the ones that exist. Extract disclosure topics from USER.md and SOUL.md primarily.`;
589
+ - Skip HEARTBEAT.md, SKILL.md, CLAUDE.md (agent instructions, not owner info)
590
+
591
+ **If workspace files are missing or empty, scan these additional sources:**
592
+ - ~/.gitconfig — name, email, identity hints
593
+ - Environment: whoami, hostname, $USER, $HOME
594
+ - ~/.config/ — installed tools hint at owner's work
595
+ - ~/.ssh/config — project/server names may reveal domains
596
+ - Any README.md files in common locations
597
+ - Shell history patterns (languages, tools used)
598
+ - Installed CLIs (what's in PATH)
599
+
600
+ **Inference from system state:**
601
+ - Programming languages installed → likely a developer
602
+ - Cloud CLIs (aws, gcloud, az) → infrastructure/devops
603
+ - Design tools → creative work
604
+ - Data tools (jupyter, pandas) → data science
605
+ - Server hostname → may indicate role or project
606
+
607
+ Use ALL available context to build a reasonable disclosure profile. If truly nothing exists, create a minimal placeholder with "New agent setup - owner details pending" and suggest what info the owner should provide.`;
592
608
  }
593
609
 
594
610
  const jsonBlock = `\`\`\`json