Repository navigation
Conversation
A composer-centric Odysseus chat/agent panel for VS Code (addresses #2079): a single dockable webview (secondary side bar by default, like Claude Code / Codex) — thin topbar, transcript, and a unified composer with a '+' attachments menu and a settings menu. - Chat + Agent modes; talks to the existing Odysseus server API (chat stream, models, sessions) over SSE. No backend changes are required for the core; advanced run-controls are sent as forward-compatible form fields that the server ignores when unsupported. - In-panel model picker, run-controls menu, and an 'ask before edits' approval flow for Agent mode. - Self-contained under integrations/vscode-extension/ (TypeScript + esbuild), with ESLint + Prettier, vitest unit tests, and a CI workflow that typechecks, lints, tests, and packages the VSIX on PR. Build: npm --prefix integrations/vscode-extension run build.
Pin actions/checkout, setup-node, and upload-artifact to the commit SHAs the other workflows use (unpinned-uses), and set persist-credentials: false on checkout so the token isn't persisted into the build/artifact (artipacked).
27c083b to
b451c45
Compare
|
Heads-up on a small planned follow-up (kept out of this PR to keep it focused): once this lands, I'd add a one-click "VS Code Extension" entry to Settings → Integrations — alongside the Codex/Claude Agent entries — that mints a chat-scoped API token and shows the server URL + token to paste into the extension's "Odysseus: Configure". Happy to fold it into this PR instead if you'd prefer it together. |
|
Thanks for this, and genuinely nice work. It is well-structured and self-contained (everything under integrations/vscode-extension/, no backend changes, builds green), which makes the quality easy to see. I am going to decline taking it into the main repo, and it is not about the code. Adopting an official VS Code extension is a project-direction decision that has not been made: #2079 gauges interest, but interest is not a commitment to maintain one in-tree. Pulling ~11k lines of a TypeScript/webview extension into this repo is a standing commitment, a marketplace artifact, a separate toolchain and CI job, and a webview-over-SSE security surface, all of which would need ongoing maintenance by the core maintainers rather than just a one-time merge. Because it talks only to the existing public server API and needs no backend changes, it does not have to live here to be useful. The cleaner home is its own repository, where you can publish and iterate on it independently against any running Odysseus instance. If the maintainers later decide via #2079 to bless an official extension, this is a strong starting point to point at. So: closing here, with thanks, not as a quality judgment. Please do keep it alive as a standalone project. |
|
Thanks @vdmkenny, that is a fair and clear call, and I appreciate the detailed reasoning and the kind words. The maintenance-commitment point makes sense. I will keep it alive as a standalone project so it can iterate against any Odysseus instance, and it is here if #2079 ever becomes an official decision. Thanks again for the thoughtful review. |
Summary
I saw the interest in #2079 and have built a working VS Code extension for Odysseus that I'd like to contribute upstream. It's a composer-centric chat/agent panel — a single dockable webview (secondary side bar by default, à la Claude Code / Codex): a thin topbar, a transcript that fills the height, and a unified composer with a
+attachments menu and a settings menu. It talks to the existing Odysseus server API (chat stream / models / sessions) over SSE, so no backend changes are required for the core; advanced run-controls are sent as forward-compatible form fields the server safely ignores when unsupported. Self-contained underintegrations/vscode-extension/.Since this is a largish (but fully self-contained) addition, I'd welcome your steer on scope/structure before you review in depth — e.g. keep it under
integrations/? any features to drop for a first cut?Target branch
dev, notmain.Linked Issue
Fixes #2079
Type of Change
Checklist
devHow to Test
npm --prefix integrations/vscode-extension ci && npm --prefix integrations/vscode-extension run build(the CI workflow does this + typecheck/lint/test/package).Visual / UI changes — REQUIRED if you touched anything that renders
✓, arrows) and inline SVG icons.integrations/.Screenshots / clips
Model picker — connected to the server, listing Claude/ChatGPT subscription models:
Chat + run controls — a live reply, with the run-controls menu (Mode, Agent approval, Effort, Thinking):
Settings menu — connection, model, session, Save to Brain, usage: