@deathbeam/pi-delegate 0.0.7 → 0.0.8

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/index.ts +2 -2
  2. package/package.json +1 -1
package/index.ts CHANGED
@@ -284,7 +284,7 @@ export default function (pi: ExtensionAPI) {
284
284
  event.systemPromptOptions.sections.agents = [
285
285
  "Available agents:",
286
286
  ...agents.map((agent) => `- ${agent.name}: ${agent.description}`),
287
- "Delegation is authorized here: prefer these agents over doing context-heavy work yourself; they run in parallel with isolated contexts and report back as follow-up messages.",
287
+ "Delegation is authorized here. Before context-heavy work, identify independent scopes and delegate them in parallel. Keep brief checks, decisions, and synthesis in the parent; agents work in isolated contexts and return follow-up reports.",
288
288
  ].join("\n");
289
289
  });
290
290
 
@@ -545,7 +545,7 @@ export default function (pi: ExtensionAPI) {
545
545
  "Delegate one focused task to a background Pi agent using a named Markdown agent definition. Returns immediately; the agent's result arrives later as a follow-up message. `description` labels the delegation in the transcript; `task` is the full instruction the child receives.",
546
546
  promptSnippet: "Delegate a focused task to a background agent; the result arrives later as a follow-up message",
547
547
  promptGuidelines: [
548
- "While delegates run, do only independent work that advances the task. When a report is the next dependency, end your turn with a brief waiting status. Completion will wake you.",
548
+ "While delegates run, stay outside their scopes; delegate any new context-heavy investigation before tracing it yourself. When a report is the next dependency, end your turn with a brief waiting status. Completion will wake you.",
549
549
  "Read every required delegate report before claiming the task is done. Never sleep or poll for a report. Use delegate_list only for a one-time status check.",
550
550
  ],
551
551
  parameters: Type.Object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deathbeam/pi-delegate",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "description": "Run focused Pi subagents as background tasks",
5
5
  "type": "module",
6
6
  "license": "MIT",