mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
New section 14: streamAssistant and the three-phase tool execution blocks (prepare/execute/finalize) with durability callbacks, batch rules (parallel vs sequential, length truncation, terminate), and the unbreakable agent-loop.ts compatibility requirement with acceptance criterion. Harness internals rewritten on top of the blocks: runToolBatch with provisioned-id callbacks, reconciliation via phases 2+3, hook-to- block wiring table. Auth surface removed from the stream block: Models resolves auth per request; before_payload/after_response mount on onPayload/onResponse. Sections 16-22 renumbered. |
||
|---|---|---|
| .. | ||
| agent-harness.md | ||
| durable-harness.md | ||
| harness-v2.md | ||
| harness.md | ||
| hooks.md | ||
| models.md | ||
| observability.md | ||