@leo-alvarenga/pi-mini-subagents 0.2.15 → 0.3.0

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/config.ts +4 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leo-alvarenga/pi-mini-subagents",
3
- "version": "0.2.15",
3
+ "version": "0.3.0",
4
4
  "description": "Transient subagents for Pi: mini_subagent tool (single + parallel), /subagents command, and a live TUI panel",
5
5
  "license": "MIT",
6
6
  "repository": "github.com/leo-alvarenga/pi-mono",
@@ -27,7 +27,7 @@
27
27
  "typebox": "*"
28
28
  },
29
29
  "dependencies": {
30
- "@leo-alvarenga/pi-ext-core": "0.5.2"
30
+ "@leo-alvarenga/pi-ext-core": "0.5.3"
31
31
  },
32
32
  "pi": {
33
33
  "extensions": [
package/src/config.ts CHANGED
@@ -59,11 +59,14 @@ export const SUBAGENTS_SPEC: SubagentSpec = {
59
59
  guidelines: [
60
60
  "Subagents are read-only unless you set allowWrite: true.",
61
61
  "If a result asks for input, answer the questions (ask the user if needed) and re-call with `answers` — do not guess.",
62
+ "For any task requiring parallel execution or medium to large data gathering: delegate to a subagent, instruct it to use those tools, and get only the report back — never let batch/multi-output tools run directly in your session.",
62
63
  ],
63
64
  instructions: {
64
65
  always: "You are a transient subagent. Complete the task, then stop",
65
66
  readOnly:
66
- "You may only READ and EXPLORE. Do not modify files or run mutating commands.",
67
+ "You may only READ and EXPLORE. Do not modify files or run mutating commands. " +
68
+ "When gathering data, prefer batch or parallel tools available in your session over sequential reads — " +
69
+ "they keep raw output out of your context and let you return only the derived answer.",
67
70
  writeAllowed:
68
71
  "You may edit files ONLY if strictly necessary, preferring hash-anchored operations (replace/insert) over rewriting.",
69
72
  },