feat(web): align Agents UI with the current Core contract - #23
Merged
Merged
Conversation
Restore the documented Session events flow, require exact HTTP 204 admission, remove unsupported top-level Environment surfaces, and refresh the Parsar compatibility baseline.
sam2tom
marked this pull request as ready for review
September 16, 2026 14:20
7 tasks
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.
Summary
AgentsandSessionsnavigation plus a global Create menuagents=v1Session message, steering, cancellation, and function-result flowself_hostedSessiond91ba48Core capability boundary
The Web uses only the documented
/v1/agents/**and Session-events contract. HTTP health, Agent creation, SSE connectivity, model IDs, and prior Turns are not treated as execution-readiness proof. Runtime, model, provider, or credential failures remain explicit in durable Core state.Environment list, template CRUD, file management, and browser-facing key management remain unsupported and are not advertised or simulated.
The live validation superseded the negative-write proposal in #24: absence of a separate readiness resource does not justify blocking the current documented Session-events contract.
Validation
pnpm check(67 root tests, 50 agents-client tests, 344 Web tests, typecheck, and production build)pnpm test:acceptance(41/41 passed against the isolated fixture Core)checkpassed on the final combined headgit diff --checkd91ba48flow: Web -> Agents API -> daemon -> Codex0.153.4-> provider -> assistant output, confirmed interactively; provider credentials remained server-side and were not committedNo Parsar source was modified. Nothing was deployed, and no branch or Worktree is deleted by this merge.
Closes #22
Supersedes #24