app
adom-vscode
Public Made by Adomby adom
Let Claude, Codex and Kimi drive VS Code inside your Adom container
← Commit history
docs: /ai/new surface (Antigravity tab or side bar)
2 files changed
+5−2
README.md+1−1@@ -81,7 +81,7 @@ Everything the CLI does is a plain HTTP call, so HD, HW, and any script can hit | terminal.tui.dispose | `POST /terminal/tui/dispose` `{id?, name?}` | Close a named TUI terminal by handle | | 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.new | `POST /ai/new` `{type, tui?, group?, surface?}` | 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. Antigravity: its extension is a side-bar view that can also host the conversation in an editor panel (its unlisted `antigravity.moveBetweenEditorAndSidebar`), so the default is a TAB with a new conversation in it while the side bar keeps its own conversation (two at most); `surface:"sidebar"` sends it back | | 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 |
skills/adom-vscode-extensions/SKILL.md+4−1@@ -87,7 +87,10 @@ adom-vscode tabs close '{"label":"Claude Code"}' # clean up after a test (e ``` `POST /ai/new` answers `{ok, type, command, tab_seen, label, group, placed, ms}`; `placed` is-`stayed` or `moved a -> b`. An AI that is not installed answers `ok:false` with the provider+`stayed` or `moved a -> b`. Antigravity answers `surface: "tab"` (its extension's editor-panel+mode, a new conversation in the tab while the side bar keeps its own; two conversations is the+ceiling) or, with `surface:"sidebar"` in the body, moves it back to the side bar. `/ai/providers`+lists `surfaces` per AI. An AI that is not installed answers `ok:false` with the provider list, so never guess: read `installed`. Hydrogen's `/ai-threads/new` remains the route for anything that also wants tags, names, the AI picker, or a run-prompt job.