Repository navigation
chore: release v0.89.0 - #649
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pi extensions can handle input without starting a turn, and helpers now say so. Codex reports reconnects and no longer loses replies that arrive without text deltas.
Pi: input handled without a turn (#640)
An extension can handle input without a model turn. SDK used to stay busy, RPC could admit another prompt while status read running, and accepted queue dispatches could disappear during extension processing. Native handling now resolves only its own input and keeps independently started runs.
Public type changes:
promptAndWaitaddskind: "handled". ExhaustivePromptRun.kindswitches must handle it, and code that readsoutcomeafter excluding onlyrejectedmust also excludehandled. Handling is not a success outcome and carries no text.awaitTurnEndandturnEndAfterwiden toTurnOutcome | InputHandled. Unscoped next-turn waits are unchanged.input_handled { requestId, inputId? }.input_dropped.inputIdis now optional, because a request reference can identify an input with no logical id.admission: "native", andSessionView.statusStateis available on every runtime.{ disposition: ... }, with nocompletedoutcome.Behaviour changes on every runtime:
withdrawresolves input-scoped waits withaborted, and a rejected dispatch resolves them withfailed. These waits could stay pending before.awaitIdleresolves withnullwhen a provisional prompt is rejected before a turn exists, includingbusy, and after standalone manual compaction. It could stay pending before.Behaviour changes on Pi:
handledneeds its own abort afterturn_active; SDK used to cancel it through a stale marker.Known limits, in
docs/runtimes/pi.md: a queued command that launches an extension message and returns can let the next input win the native slot, and the extension message then fails with anextension_errorframe. RPC has no equivalent barrier, so either the held input or the extension message can lose that race. A prompt during an unobserved run's settlement can still stall (task #181).Codex: reconnects are
retryevents (#647)errorwithwillRetry: truenow producesretry, with the native text asreason.attemptis OAR's count within the turn. Status readswaiting_modelon it.installation.command: see process priority and the decision.Codex: completed messages and native metadata (#648)
agentMessagewith completed text and no text deltas lost its reply. Itsitem/completedframe now gives the full text once. Streamed replies are not repeated, and a partial stream is not extended.text_deltagains optionalphasewhen native reports it.tool_call_startedgains optionalserverandtoolNamefor MCP calls;toolstaysmcpToolCall.codexErrorInfo: "unauthorized"now classifies asauth. This follows the generated 0.167.0 protocol; no account failure reproduced it.Evidence and tests
🤖 Generated with Claude Code