Repository navigation
chore: release v0.46.0 - #269
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.
Release OAR and CLI 0.46.0. This PR changes only the two package version fields.
Added:
Session.contextBreakdown()(#264, closes #262){ tokens, contextWindow, categories: [{ name, tokens, kind, items? }] }.kindisused | deferred | reserved | free | unknown; names stay the runtime's words.get_context_usage,detail: "full"): System prompt, System tools, MCP tools, Memory files, Skills, Custom agents, Messages, Autocompact buffer, Free space, with memory files, skills, agents and MCP tools itemized. Every other session has nocontextBreakdownmember; showcontextUsage()there.count_tokensrequests (16 to 28 for a small setup), so read when the user asks, never poll. Null from the start of a dispose and after the exit.Added: a request the runtime withdrew leaves
pendingRequests(#266, closes #263)app_request_cancelled { requestId }, read off claudecontrol_cancel_request(claude cancels a pending MCP elicitation when the turn is interrupted) and codexserverRequest/resolved. SessionView drops the request frompendingRequestsand marks itsapp_requestpartcancelled: true.appRequestText(type, body)besideappRequestKind: what a question asks, or the tool or command an approval is for, read off the native body; undefined where OAR does not know.Behavior changes
RuntimeEventBodyhas a new kind,app_request_cancelled: an exhaustiveswitchover event kinds needs a case for it.app_requestview part now carries the nativebody(it was declared but never filled).pendingRequests; the parts stay as they were.LineProcess.writedrops writes oncekill()has ended stdin, and stdin gets an error listener, so a write racing a dying child (the abort fallback's kill) no longer crashes the host withERR_STREAM_WRITE_AFTER_ENDorEPIPE.Validation: all 13 checks passed on #264's final head (
2fa106c) and #266's final head (270bc8c); each merged tree equals its CI tree. Lookout inspected both against claude 2.1.292 and codex 0.160.1. After this PR passes CI and merges, tag its exact squash commit asv0.46.0to trigger npm trusted publishing.🤖 Generated with Claude Code