@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.
- package/index.ts +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
|
|
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,
|
|
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({
|