gopherhole_openclaw_a2a 0.2.3 → 0.2.5
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 +24 -2
- package/package.json +3 -4
package/SKILL.md
CHANGED
|
@@ -56,11 +56,33 @@ The plugin registers an `a2a_agents` tool for interacting with connected agents:
|
|
|
56
56
|
{ action: 'list' }
|
|
57
57
|
// Returns: { agents: [{ id, name, connected }] }
|
|
58
58
|
|
|
59
|
-
// Send message to agent
|
|
60
|
-
{ action: 'send', agentId: '
|
|
59
|
+
// Send message to agent (MUST use full agent ID, not name!)
|
|
60
|
+
{ action: 'send', agentId: 'agent-70153299', message: 'What stocks are trending?' }
|
|
61
61
|
// Returns: { success: true, response: { text, status, from } }
|
|
62
62
|
```
|
|
63
63
|
|
|
64
|
+
## ⚠️ Agent ID Required
|
|
65
|
+
|
|
66
|
+
The `agentId` parameter **must be the full agent ID** (e.g., `agent-70153299`), not the friendly name (e.g., `marketclaw`).
|
|
67
|
+
|
|
68
|
+
**If you only know the agent's name, use discovery first:**
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
gopherhole discover search "<name>"
|
|
72
|
+
# Example: gopherhole discover search "marketclaw"
|
|
73
|
+
# Output includes: agent-70153299 | FREE | uncategorized
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
**Workflow:**
|
|
77
|
+
1. If you have the agent ID → use `a2a_agents send` directly
|
|
78
|
+
2. If you only have the name → run `gopherhole discover search "<name>"` to get the ID
|
|
79
|
+
3. Then use `a2a_agents send` with the full ID
|
|
80
|
+
|
|
81
|
+
**Known agent IDs (for reference):**
|
|
82
|
+
- MarketClaw: `agent-70153299`
|
|
83
|
+
- Nova: `agent-9a2fb7a8`
|
|
84
|
+
```
|
|
85
|
+
|
|
64
86
|
## Files
|
|
65
87
|
|
|
66
88
|
- `index.ts` - Plugin entry point, registers channel + tool
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gopherhole_openclaw_a2a",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"description": "GopherHole A2A plugin for OpenClaw - connect your AI agent to the GopherHole network",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -10,8 +10,7 @@
|
|
|
10
10
|
"clean": "rm -rf dist",
|
|
11
11
|
"prepublishOnly": "npm run build"
|
|
12
12
|
},
|
|
13
|
-
"
|
|
14
|
-
"id": "gopherhole_openclaw_a2a",
|
|
13
|
+
"openclaw": {
|
|
15
14
|
"extensions": [
|
|
16
15
|
"./dist/index.js"
|
|
17
16
|
]
|
|
@@ -40,6 +39,6 @@
|
|
|
40
39
|
"typescript": "^5.9.3"
|
|
41
40
|
},
|
|
42
41
|
"peerDependencies": {
|
|
43
|
-
"
|
|
42
|
+
"openclaw": "*"
|
|
44
43
|
}
|
|
45
44
|
}
|