@youngjurry/pi-agents 0.7.4 → 0.7.5

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.7.5 - 2026-09-05
4
+
5
+ - Exclude the active `wait_agent` caller from its folded child-status summary.
6
+ - Prevent the root Agent's necessarily `running` tool turn from appearing as a phantom running sub-agent.
7
+ - Scope nested waits to the caller's own subtree while preserving `Ctrl+O` expansion.
8
+
3
9
  ## 0.7.4 - 2026-09-05
4
10
 
5
11
  - Match Pi's progressive Skill disclosure for sub-agent Roles instead of eagerly injecting complete `SKILL.md` files.
package/README.md CHANGED
@@ -180,7 +180,7 @@ The settings file is optional, but spawning requires a model from either the tas
180
180
  - Referenced legacy flat child files are migrated when their main session is resumed
181
181
  - Parents receive a compact completion notice instead of the full answer; use `list_agents(view="results")` or read the result file on demand
182
182
  - Notices to a busy agent are queued safely: `wait_agent` returns them in its own result, and any leftovers are delivered right after a successful recipient turn
183
- - `wait_agent` sends only newly queued mailbox notices to the model; its full status tree is folded in the TUI by default and can be toggled with `Ctrl+O`
183
+ - `wait_agent` sends only newly queued mailbox notices to the model; its child status tree excludes the active caller, is folded in the TUI by default, and can be toggled with `Ctrl+O`
184
184
  - Failed notice delivery is re-queued instead of silently discarded
185
185
  - Notices pending when a turn is aborted or errors are deferred to the next explicit turn without restarting the interrupted agent
186
186
  - The extension never inserts messages between an assistant tool call and its tool result, keeping session history protocol-valid for strict gateways
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@youngjurry/pi-agents",
3
- "version": "0.7.4",
3
+ "version": "0.7.5",
4
4
  "description": "Persistent in-process Codex-style multi-agent collaboration for Pi",
5
5
  "author": "youngjurry",
6
6
  "type": "module",
package/tools.ts CHANGED
@@ -200,7 +200,7 @@ export function createCollaborationTools(control: AgentControl): ToolDefinition[
200
200
  const outcome = await control.waitForMailbox(ctx, params.timeout_ms, signal);
201
201
  if (outcome.aborted) throw new Error("wait_agent was aborted");
202
202
  const notices = control.drainPendingMail(sender);
203
- const agents = control.list(ctx);
203
+ const agents = control.list(ctx, sender).filter((agent) => agent.path !== sender);
204
204
  const text = notices.length > 0
205
205
  ? `Mailbox activity received:\n\n${notices.join("\n\n")}`
206
206
  : outcome.timedOut