@fradser/pi-agent-teams 0.8.2 → 0.8.3
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 +2 -2
- package/package.json +1 -1
- package/src/tools.ts +3 -2
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @fradser/pi-agent-teams
|
|
2
2
|
|
|
3
3
|
Claude-Code-style collaborative agent teams for Pi: named resident teammates, a shared local task board with self-claim, and direct peer-to-peer messaging.
|
|
4
4
|
|
|
@@ -13,7 +13,7 @@ The message surface is deliberately singular: `send_message` is the only messagi
|
|
|
13
13
|
## Install
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
pi install /
|
|
16
|
+
pi install npm:@fradser/pi-agent-teams
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
Then run `/reload` in Pi.
|
package/package.json
CHANGED
package/src/tools.ts
CHANGED
|
@@ -69,8 +69,9 @@ export function registerLeaderTools(pi: ExtensionAPI): void {
|
|
|
69
69
|
kind: "started",
|
|
70
70
|
tool: "agent",
|
|
71
71
|
subject: `@${params.name} started · ${spawnAssignment(params)}`,
|
|
72
|
-
});
|
|
73
|
-
|
|
72
|
+
}).replace(/^\[agent\]\s*/, "");
|
|
73
|
+
const prefix = theme.fg("customMessageLabel", theme.bold("[agent]"));
|
|
74
|
+
return new Text(`${prefix} ${title}`, 0, 0);
|
|
74
75
|
},
|
|
75
76
|
async execute(_toolCallId, params, _signal, _onUpdate, ctx) {
|
|
76
77
|
const result = spawnTeammate(params);
|