@ian-pascoe/pi-minimal-subagents 0.6.0 → 0.6.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ian-pascoe/pi-minimal-subagents",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "private": false,
5
5
  "description": "Persistent nested subagents with bounded delegation for Pi",
6
6
  "keywords": [
@@ -585,15 +585,14 @@ class PiChildAgentRuntime implements ChildAgentRuntime {
585
585
  }
586
586
 
587
587
  async queueCoordinatorMessage(message: CoordinatorMessage): Promise<void> {
588
- await this.session.sendCustomMessage(
589
- {
590
- customType: message.customType,
591
- content: message.content,
592
- display: true,
593
- details: message.details,
594
- },
595
- { triggerTurn: true, deliverAs: "steer" },
596
- );
588
+ this.session.agent.steer({
589
+ role: "custom",
590
+ customType: message.customType,
591
+ content: message.content,
592
+ display: true,
593
+ details: message.details,
594
+ timestamp: Date.now(),
595
+ });
597
596
  }
598
597
 
599
598
  async abort(): Promise<void> {