Skip to content

chore: release v0.85.0 - #608

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

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

Conversation

@stamp-build

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

Copy link
Copy Markdown
Contributor

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


Minor release: Claude and Codex accept prompt options on resume again, so a resumed session keeps its prompt after native compaction. The new optional Runtime.resumedSessionOptions says, before a session opens, when a prompt supplied on resume takes effect and what omitting it does.

Behavior changes for hosts

Prompts on resume (#606)

  • Claude now accepts systemPrompt and appendSystemPrompt on resume, and Codex accepts appendSystemPrompt. Since fix(runtime)!: reject ignored resume options and bound disposal #469 these opens were refused with UnsupportedOptionError. OAR now forwards them to the native launch.
  • A value different from the one the session saved takes effect at the next native compaction; until then the saved prompt stays in effect. Omitting the option keeps the saved prompt only until that compaction; after it, the session gets what a new session without that option would get (the runtime's built-in prompt plus the user's own configuration). Empty and repeated values are now forwarded too, where they used to be refused.
  • Pass the current prompts on every resume. This holds for Claude and Codex as above, and also for Qwen and Pi (in-process and subprocess), which do not save prompts at all: there an omitted prompt is gone on the very next request.
  • Why the change: fix(runtime)!: reject ignored resume options and bound disposal #469 observed only the first resumed request, where the new value was ignored, and advised hosts to omit these options to keep the saved prompt. At compaction Claude drops its saved prompts and Codex its saved append, so a session resumed that way silently lost its prompt at its next compaction.
  • Codex systemPrompt (replacement) is unchanged: it applies immediately on resume and keeps the saved value when omitted, including across compaction.
  • New optional Runtime.resumedSessionOptions, keyed by SessionOptions names. Each entry has provided (immediate or next_compaction, for a value different from the saved one) and omitted (saved, default or saved_until_compaction). It is declared for Claude, Codex, Qwen, Pi (in-process and subprocess) and Pi Durable, measured on Claude 2.1.316, Codex 0.166.0, Qwen 0.26.5 and Pi 1.4.0. An absent entry means untested; it implies neither support nor refusal, and refusals stay in refusedSessionOptions and conditional UnsupportedOptionErrors (for example Pi Durable still refuses changed settings while adopting an active run). ResumedSessionOptions and ResumeOptionSemantics are exported from the package root. The Codex entries were measured with local compaction; compaction under a ChatGPT login was checked in Codex source only.
  • Grok: resuming with appendSystemPrompt but no systemPrompt is still UnsupportedOptionError, now with a migration hint, because Grok (1.0.70) never applies a changed append on resume, even after compaction. It is refused even when the text is unchanged, since OAR cannot compare it with the saved value. For an append-only Grok session, omit appendSystemPrompt on resume; the saved one stays in effect. To change it, supply systemPrompt as well. Match on option, not on the text.
  • OAR does not compare prompt text, insert a prompt into the first input, or compact on its own.

Qwen memory extraction (#605: docs and a regression, no behavior change)

  • With Qwen 0.26.5 (observed on Linux with a scripted provider), each completed ordinary turn also makes a managed-memory extraction request after the main reply and before the native result. Its time and usage belong to that turn, and promptAndWait waits for it. Receiving all of the reply text does not mean the turn has ended: disposing before turn_ended interrupts the extraction like any active turn, so that turn has no native result or complete OAR usage, and a raw assistant frame may hold only the main request's partial usage. This is not a claim about every memory configuration or provider.

Known issue

  • Qwen's native compaction report (Context compressed (old -> new)) is projected as model text (text_delta), and Qwen sessions emit no compaction events. Qwen 0.26.5's stream-json output marks it no differently from model text, and a user's own compress.toml can replace /compress with an ordinary model turn, so OAR cannot tell them apart and does not guess. Do not treat that line as the model's answer. A request for Qwen to report compaction structurally is being drafted.

Tests and CI

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@stamp-build
stamp-build Bot merged commit 11723ed into main Nov 2, 2026
36 checks passed
@stamp-build
stamp-build Bot deleted the agent/cindy/release-0.85.0 branch November 2, 2026 13:52
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