app
adom-vscode
Public Made by Adomby adom
Let Claude, Codex and Kimi drive VS Code inside your Adom container
← Commit history
1.1.26: hide the AI extensions own tab buttons by default (menu restores them), menu closes on blur
3 files changed
+7−2
README.md+1−1@@ -82,7 +82,7 @@ Everything the CLI does is a plain HTTP call, so HD, HW, and any script can hit | claude.new | `POST /claude/new` | New Claude Code conversation | | ai.providers | `GET /ai/providers` | Which AIs are installed here (Claude Code, Codex, Kimi, Antigravity), the command a new tab runs, and which icons the user shows | | ai.new | `POST /ai/new` `{type, tui?, group?}` | Open a new thread for that AI in an editor group (default: the active one) and keep it there; `tui:true` puts the AI's CLI in a terminal tab instead |-| ai.icons | `POST /ai/icons` `{icons:[...]}` | Which AI icons the title bar shows (the checklist in the menu writes this; setting `adom-vscode.aiIcons`) |+| ai.icons | `POST /ai/icons` `{icons?:[...], hideVendorButtons?:[...]}` | Which AI icons the title bar shows (setting `adom-vscode.aiIcons`) and which of the AI extensions' own tab-strip buttons stay hidden (setting `adom-vscode.hideVendorTabButtons`, default both: Claude Code: Open, Open Codex Sidebar); the menu's checklists write both | | tabs.close | `POST /tabs/close` `{label?, kind?, group?}` | Close every tab matching an exact label and/or kind (claude, codex, kimi, terminal, ...), optionally in one group; the cleanup half of a ralph test | | tabs.list | `GET /tabs` | Event-driven tab census from the extension host (`window.tabGroups`): every tab with `kind` (claude \| codex \| kimi \| terminal \| other), label, group/tab index, active flags; Codex rows carry `sessionId` from the editor URI. No DOM, no CDP | | tabs.events | `GET /tabs/events` (SSE) | The same census pushed on every tab open/close/move/focus change (`event: census`), plus `event: claude-session` when the SessionStart hook reports a new Claude session. Hydrogen holds one stream per workspace instead of polling the iframes |
bin/adom-vscode⋯ 1 unchanged line ⋯
skills/adom-vscode-extensions/SKILL.md+6−1@@ -61,7 +61,12 @@ the AI's CLI in a terminal tab (TUI, the tab carries the same vendor mark as the `icon: "adom:claude|codex|kimi"` to POST /terminal/tui to get it on any terminal tab). The plus-with-chevron icon opens a VS Code-style menu: every installed AI, its TUI, and a checklist (check marks, like the activity bar's own menu) of which icons to show, saved as the user setting `adom-vscode.aiIcons` (default: every installed AI,-no TUIs). VS Code has no extension contribution point for that row, so the icons are drawn by+no TUIs). The same menu hides the AI extensions' own+buttons in every tab strip ("Claude Code: Open", "Open Codex Sidebar") by default, because they+duplicate the launcher; its "More" rows keep what they did (Claude's last session, Claude in the side+bar, the Codex side bar) and its last section brings the buttons back (setting+`adom-vscode.hideVendorTabButtons`). The menu closes on a click anywhere, on Escape, and when the+window loses focus (a click into a webview or into Hydrogen's shell). VS Code has no extension contribution point for that row, so the icons are drawn by `browser/ai-titlebar.js`, which `adom-vscode install` writes into code-server's workbench.html (present on every reload; a code-server upgrade removes it and the next install puts it back).