Repository navigation
Conversation
…uring first session start
…ders, and subagent model pool
…t and WebSocket paths
… and subagent models
WalkthroughWarning Review details and warnings were omitted to fit the comment limit. |
This branch has not been deployed
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.
Requirement or Bug
Bring in the next batch of engine, server, and TUI fixes and features, plus TypeScript 7.
Bug Reproduction Steps
N/A
Root Cause
N/A
Code Changes
Engine (
packages/agent-core-v2):human/llm(protocols, requester composition, media); our native fixes moved with it: DSML/Hermes text tool-call recovery now lives in the OpenAI decoder, and OpenAI 401/402/403 billing rejections still map to a provider error[secondary_model]pool;forceremoved (a lonedefault_modelpins)resolveModelContext(turnId)) and the OpenCodex-opencode-sessionheader keptServer (
packages/agent-gateway):subscribe_v2replacessubscribe/unsubscribe; approvals and questions arrive as interaction frames; snapshot route and roster tracker removedCLI (
apps/pythinker-code):/import-sessions, newpackages/session-import),/provider refresh, expandable streaming thinking, todo list as a transcript card, compacting spinner, OSC 7501 program status/logincould hang)Tooling: TypeScript 7.0.2 and tsdown 0.23.1 across the workspace;
apps/pythinker-webstays on TypeScript 6.0.3 becausevue-tscneeds the compiler API that TypeScript 7 removed.flake.nixpnpmDeps hash refreshed.Behavior Changes and Affected Users
subscribe/unsubscribeframes,/sessions/{id}/snapshotsubscribe_v2/unsubscribe_v2only; snapshot route removedpythinker webclients built on the old frames/api/v1/sessions/{id}/terminalson loopback[secondary_model] forcedefault_modelpinsforce = trueforce; behavior is the samepythinker websessionsPYTHINKER_CODE_SESSION_IDLE_RECLAIM_MSlocal.tomladditional dirslocal.tomladditional_dirin untrusted reposAffected modules and coverage: full suite 19,117 passed, 0 failed (1,035 files); targeted suites for the WebSocket limits, DSML recovery (147), billing errors, subagent policy (108), and survey/session rating.
Checklist
/approve).gen-changesetsskill, or this PR needs no changeset.gen-docsskill, or this PR needs no doc update.