Skip to content

chore: release v0.89.0 - #649

Merged
stamp-build[bot] merged 1 commit into
mainfrom
agent/cindy/release-0.89.0
Nov 6, 2026
Merged

stamp-build[bot] merged 1 commit into
mainfrom
agent/cindy/release-0.89.0

Conversation

@stamp-build

@stamp-build stamp-build Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Cindy from open-agent-runtime opened this pull request through Stamp
View in Stamp →


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:

  • promptAndWait adds kind: "handled". Exhaustive PromptRun.kind switches must handle it, and code that reads outcome after excluding only rejected must also exclude handled. Handling is not a success outcome and carries no text.
  • Input-scoped awaitTurnEnd and turnEndAfter widen to TurnOutcome | InputHandled. Unscoped next-turn waits are unchanged.
  • New event input_handled { requestId, inputId? }. input_dropped.inputId is now optional, because a request reference can identify an input with no logical id.
  • Pi prompt records add admission: "native", and SessionView.statusState is available on every runtime.
  • The CLI's JSON output for handled input is { disposition: ... }, with no completed outcome.

Behaviour changes on every runtime:

  • An accepted withdraw resolves input-scoped waits with aborted, and a rejected dispatch resolves them with failed. These waits could stay pending before.
  • awaitIdle resolves with null when a provisional prompt is rejected before a turn exists, including busy, and after standalone manual compaction. It could stay pending before.

Behaviour changes on Pi:

  • An abort accepted during preflight reaches only a run that starts before the handled or refused receipt. An extension run starting after handled needs its own abort after turn_active; SDK used to cancel it through a stale marker.
  • SDK holds queued input until its prompt promise finishes, so settlement hooks keep the A, EXT, B order. A run that started before OAR subscribed still ends when later native run events provide evidence; with no evidence at all, no turn end is produced. Idle custom messages no longer count as a run.

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 an extension_error frame. 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 retry events (#647)

  • error with willRetry: true now produces retry, with the native text as reason. attempt is OAR's count within the turn. Status reads waiting_model on it.
  • OAR adds no stderr channel or OOM option. A dropped stream reports itself in the protocol, with no stderr line on Codex 0.163.0 and 0.167.0. A host wanting runtime children killed first can wrap installation.command: see process priority and the decision.

Codex: completed messages and native metadata (#648)

  • An agentMessage with completed text and no text deltas lost its reply. Its item/completed frame now gives the full text once. Streamed replies are not repeated, and a partial stream is not extended.
  • text_delta gains optional phase when native reports it. tool_call_started gains optional server and toolName for MCP calls; tool stays mcpToolCall.
  • codexErrorInfo: "unauthorized" now classifies as auth. This follows the generated 0.167.0 protocol; no account failure reproduced it.

Evidence and tests

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@stamp-build
stamp-build Bot merged commit cbb99e4 into main Nov 6, 2026
78 of 79 checks passed
@stamp-build
stamp-build Bot deleted the agent/cindy/release-0.89.0 branch November 6, 2026 04:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants