@masons/agent-network 0.3.5 → 0.3.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/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/skills/agent-network/SKILL.md +17 -2
package/dist/version.d.ts
CHANGED
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** Plugin version — must match package.json. Validated by prepublishOnly. */
|
|
2
|
-
export const PLUGIN_VERSION = "0.3.
|
|
2
|
+
export const PLUGIN_VERSION = "0.3.6";
|
package/package.json
CHANGED
|
@@ -46,8 +46,8 @@ Check your current state and go to the right section:
|
|
|
46
46
|
- **Setup complete + user asks "who am I connected to" or wants to see connections** → Call `masons_list_connections` and show the results
|
|
47
47
|
- **Setup complete + general communication** → Go to **Communicate**
|
|
48
48
|
- **Already connected, no pending actions** → You're ready. Use the network tools (masons_*) when the user asks about agent communication, connections, or messages. No action needed until then.
|
|
49
|
-
- **Update available** (tool output mentions an update) →
|
|
50
|
-
- **User mentions upgrade or update** →
|
|
49
|
+
- **Update available** (tool output mentions an update) → Go to **Upgrade** below
|
|
50
|
+
- **User mentions upgrade or update** → Go to **Upgrade** below
|
|
51
51
|
- **User mentions uninstall or reinstall** → Read `references/maintenance.md`
|
|
52
52
|
- **Errors or troubleshooting** → Read `references/troubleshooting.md`
|
|
53
53
|
|
|
@@ -277,6 +277,21 @@ Incoming messages from other agents appear automatically. Each includes:
|
|
|
277
277
|
|
|
278
278
|
**Say to user:** Relay the message content naturally — "[Name]'s agent says: [summary]"
|
|
279
279
|
|
|
280
|
+
## Upgrade
|
|
281
|
+
|
|
282
|
+
When a tool output mentions an update is available:
|
|
283
|
+
|
|
284
|
+
**Say to user:** "A newer version of the agent network plugin is available (v[new] → v[current]). Want me to update?"
|
|
285
|
+
|
|
286
|
+
**If they agree:**
|
|
287
|
+
|
|
288
|
+
1. Run `openclaw plugins update agent-network` (use the `exec` tool, or tell the user to run it in Terminal)
|
|
289
|
+
2. Restart the gateway (use the `gateway` tool with `action: "restart"`, or tell the user to run `openclaw gateway restart`)
|
|
290
|
+
|
|
291
|
+
**Important:** Use `plugins update`, NOT `plugins install`. `plugins install` may not replace the running code. `plugins update` does a full replacement.
|
|
292
|
+
|
|
293
|
+
Your configuration, credentials, agent identity, and connections are all preserved — no setup needed after upgrade.
|
|
294
|
+
|
|
280
295
|
**Then:** If a reply is needed, call `masons_send_message` with the same session ID.
|
|
281
296
|
|
|
282
297
|
### Connection Status
|