@hheei/pi-subagents 0.2.2 → 0.2.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 +3 -0
- package/dist/commands.js +0 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,6 +10,9 @@ bridge and session-leave reporting.
|
|
|
10
10
|
|
|
11
11
|
## Parent tools
|
|
12
12
|
|
|
13
|
+
The extension registers no global keyboard shortcuts. Use `/subagents` to manage
|
|
14
|
+
children and `/subagents stop [id]` to stop one without conflicting with other extensions.
|
|
15
|
+
|
|
13
16
|
| Tool | Purpose |
|
|
14
17
|
| --- | --- |
|
|
15
18
|
| `subagent_enable({})` | Enable interactive agent tools (`spawn_agent`, `send_agent`, `get_agent`, `stop_agent`) on demand. Deactivated by default in new sessions to save tokens; appends available interactive agents if any are defined, and enabled tools become available on the next model request. |
|
package/dist/commands.js
CHANGED
|
@@ -108,14 +108,6 @@ export function registerParentCommands(pi, manager) {
|
|
|
108
108
|
ctx.ui.notify(`Unknown subcommand "${action}". ${SUBAGENT_COMMAND_USAGE}`, "warning");
|
|
109
109
|
},
|
|
110
110
|
});
|
|
111
|
-
pi.registerShortcut("ctrl+shift+s", {
|
|
112
|
-
description: "Stop subagent",
|
|
113
|
-
handler: (ctx) => {
|
|
114
|
-
if (ctx.mode !== "tui")
|
|
115
|
-
return;
|
|
116
|
-
return stopSelected(ctx, manager);
|
|
117
|
-
},
|
|
118
|
-
});
|
|
119
111
|
}
|
|
120
112
|
export function bindParentStatus(_pi, context, manager, signal) {
|
|
121
113
|
let disposed = false;
|