Pi von Earendil Works
Pi 0.87.0: Kanonischer Session-Kontext und modellspezifische Bildlimits
Pi 0.87.0 bringt einen kanonischen Session-Kontext mit ContextEditEntry, context_with_system für Systemnachrichten-Transformationen und modellspezifische Bildeingabe-Limits und entfernt dabei die Agent-Option shouldStopAfterTurn zugunsten von finishTurn.
New Features
- Canonical session context and extension boundaries — Edit model context without rewriting history and add actionable lifecycle hooks. See ContextEditEntry and extension events.
- Full-transcript context extensions — Use
context_with_systemfor per-request system-message transformations. Seecontext_with_system. - Per-model image input limits — Configure cache-safe image resizing per model for attachments,
read, and tool-result images. See Image Input Limits.
Breaking Changes
- Removed the inherited
shouldStopAfterTurnagent option. UsefinishTurnand return{ action: "end" }instead.finishTurnruns beforeturn_endbut applies the decision afterward, and it also receives error and aborted responses; migrate normal-response predicates by returningundefinedfor those hard exits. See the@earendil-works/pi-agent-corechangelog for a complete before-and-after example. …