Bring the agent-core changes of desktop 0.0.1 to main - #608
Merged
Merged
Conversation
The src/ files that still differ between main and rel/xp-build, taken as they are in the desktop 0.0.1 build (rel/xp-build a283d48): the HTTP extensions the desktop talks to (coding mode, context preview, request context, the route table), the SSE frames built on them (billing cause and failed links, the cancelled loop_failed frame, Fusion worker frames, the reply frame), the idle-stream keepalive and dead-approval fix of #607, and their tests. After this, src/ on main equals src/ on rel/xp-build.
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.
The agent-core (
src/) files that still differ betweenmainandrel/xp-build, taken as they are in the desktop 0.0.1 build (rel/xp-build@ a283d48). After this PR,src/on main is the same as on the desktop branch, so the terminal and the desktop app run the same agent.#595 left these on
rel/xp-buildbecause the HTTP extensions they build on lived only there. This PR brings the extensions and everything built on them together.What changes
route-coding-mode), the context preview before the first message (route-context-preview), the per-request context and the route table entries for both. Session rows carry their title.error/provider_waitingname the billing cause and the links that failed before;loop_failedframe reads as cancelled;: keepalivecomment every 15 s, and dead approval requests are no longer replayed. If fix(http): keep idle SSE streams alive and stop replaying dead approvals #607 is merged first, this PR's diff shrinks by those files; the result is the same.previewPromptinbootstrap.tsbuilds (never runs or stores) the prompt the next turn would open with, for the context preview; the approval gate answersisPending(id)for a host that mirrors requests.Nothing outside
src/changes. The TUI does not call the new routes. They are only reached by a client ofatomic-agent serve, such as the desktop app.Checks
EACCESinlocal-models-orchestrator-auto-update.test.ts, which also fails on a clean main.