mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
Nested tool calls: ToolExecutionApi.executeTool() runs another tool as its own pi.tool task owned by the caller, keyed for replay-safe reattachment. Results for programs live in the caller's NestedResultDoc until it settles; pi.live.nestedTools shows each call with the arguments it runs with and a summary. TaskOptions.abandonOnRestart aborts work its creator awaited only in memory before it runs again after a restart. Structured output: structuredOutputSchema and structuredOutput, validated; a tool without a schema gives programs its bounded output (one text as a string, one image as itself, else the list). ToolExecutionResult.content is now output. callers and modelTools decide who may call a tool. Storage errors: any error a Storage method throws fails the Session, which closes itself; later calls and waits reject with SessionFailed, watches end with session_failed, and Session.closed settles. Nothing retries in the Harness. StorageRejected is removed; StorageRequestError marks invalid reads that fail only their call. Listener and onReport errors are contained and reported. Also updates scripts/issues/triage.ts and the vacation experiment for the content -> output rename. |
||
|---|---|---|
| .. | ||
| 00-conversation.ts | ||
| 01-documents.ts | ||
| 02-forks.ts | ||
| 03-owned-conversations.ts | ||
| 04-chord-state.ts | ||
| 05-watches.ts | ||
| 06-harness.ts | ||
| 07-configuration.ts | ||
| 08-harness-conversations.ts | ||
| 09-context.ts | ||
| 10-registry-reload.ts | ||
| 11-extension-state.ts | ||
| 12-tasks.ts | ||
| 13-recovery.ts | ||
| 14-chat.ts | ||
| 15-system-prompt.ts | ||
| 16-real-model.ts | ||
| 17-coding-tools.ts | ||
| 18-print.ts | ||
| 19-json.ts | ||
| 20-inbox.ts | ||
| 21-late-join.ts | ||
| 22-subagent-foreground.ts | ||
| 23-subagent-background.ts | ||
| 24-child-tasks.ts | ||
| 25-compaction.ts | ||
| 26-coding-agent.ts | ||
| 27-plan-mode.ts | ||
| 28-reviewer.ts | ||
| 29-sandbox-per-conversation.ts | ||
| 30-tool-override.ts | ||
| 31-reload-and-restart.ts | ||