← Commit history

Publish 1.1.113

Kyle Bergstedt ·2bde675d26 ·4d ago ·parent 8d0a92c
6 files changed +12−29
README.md−3
@@ -83,7 +83,6 @@ Everything the CLI does is a plain HTTP call, so HD, HW, and any script can hit | 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.install | `POST /ai/install` | Install a missing AI's extension from the title bar (`{type}`: claude, codex, kimi, antigravity); the reply names the CLI the TUI still needs | | 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 | | 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 |@@ -151,7 +150,6 @@ adom-vscode extensions install ms-python.python adom-vscode ai providers                            # installed? command? icon shown? adom-vscode ai new '{"type":"codex"}'               # a Codex thread in the active group adom-vscode ai new '{"type":"claude","group":2}'    # in editor group 2 (1-based)-adom-vscode ai icons '{"icons":["claude","codex"]}' # the title-bar icon checklist adom-vscode tabs list                               # tab census: label, kind, group, resource adom-vscode tabs close '{"label":"Claude Code"}'    # close by label, kind or resource_contains @@ -160,7 +158,6 @@ adom-vscode claude new                    # New Claude Code chat adom-vscode sidebar toggle                # Toggle sidebar adom-vscode panel toggle                  # Toggle bottom panel adom-vscode terminal new                  # New terminal-adom-vscode activity-bar toggle           # Toggle activity bar adom-vscode notify "Build complete"       # Toast notification adom-vscode reload                        # Reload VS Code window (drops AI sessions!) adom-vscode command <any-vscode-command>  # Generic escape hatch
VERSION+1−1
@@ -1 +1 @@-1.1.112+1.1.113
bin/adom-vscode
⋯ 1 unchanged line ⋯
package.json+1−1
@@ -1,6 +1,6 @@ {   "slug": "adom-vscode-macos",-  "version": "1.1.112",+  "version": "1.1.113",   "type": "app",   "description": "macOS Hydrogen line of adom-vscode: the same CLI + VS Code extension (same extension id, same :8821 API) built natively for the arm64 Linux workspace Hydrogen runs on a Mac, minus the AI title bar (Hydrogen's agent bar and AI accounts popup own the title bar there). Installs over adom/adom-vscode; Hydrogen keeps this line registered. Upstream: adom-inc/adom-vscode.",   "license": "PROPRIETARY",
page.json+1−1
@@ -1,6 +1,6 @@ {   "slug": "adom-vscode-macos",-  "version": "1.1.112",+  "version": "1.1.113",   "type": "app",   "description": "macOS Hydrogen line of adom-vscode: the same CLI + VS Code extension (same extension id, same :8821 API) built natively for the arm64 Linux workspace Hydrogen runs on a Mac, minus the AI title bar (Hydrogen's agent bar and AI accounts popup own the title bar there). Installs over adom/adom-vscode; Hydrogen keeps this line registered. Upstream: adom-inc/adom-vscode.",   "license": "PROPRIETARY",
skills/adom-vscode-extensions/SKILL.md+9−23
@@ -54,28 +54,15 @@ adom-vscode extensions install ms-python.python   # install by marketplace id  HTTP: `POST /extensions/search {query}`, `POST /extensions/install {id}`. -## AI thread icons in the window title bar (1.1.26)--The top-right row of the window (next to VS Code's layout controls) carries one icon per-INSTALLED AI, in the vendor's own colour: Claude Code (orange), Codex, and Kimi or Antigravity-when their extension is present. A "+" badge means a new thread in a tab; a ">_" badge means-the AI's CLI in a terminal tab (TUI, the tab carries the same vendor mark as the launcher: pass-`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). 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).--Every Hydrogen VS Code tab or panel is its own window with its own extension host (ports-8821, 8822, ...). The script finds ITS window by matching the tabs it can see against each-candidate's `/tabs` census, so a click opens the thread in that window's active group, and it-moves the tab back if the AI extension split the editor.+## AI buttons in the editor title bar (macOS line)++The macOS line of adom-vscode ships NO title-bar script: the AI buttons next to VS Code's layout+controls come from Hydrogen's own agent-bar extension (one button per signed-in agent), and which+buttons and activity-bar icons show at all is Hydrogen's **editor chrome policy** (`GET/POST+/agents/chrome` on the Hydrogen control port; the AI accounts popup's "Editor buttons & sidebar"+section edits it). adom-vscode contributes nothing to those two surfaces and has no icon settings.+Upstream adom-vscode (John's Windows line) still draws its own title bar via `browser/ai-titlebar.js`;+the macOS installer strips that block if an upstream install left one behind.  For callers: @@ -84,7 +71,6 @@ adom-vscode ai providers                       # installed? command? icon shown? adom-vscode ai new '{"type":"codex"}'           # a Codex thread in the active group adom-vscode ai new '{"type":"claude","group":2}' # in editor group 2 (1-based) adom-vscode ai new '{"type":"claude","tui":true}' # the Claude CLI in a terminal tab-adom-vscode ai icons '{"icons":["claude","codex"]}' # the checklist adom-vscode tabs close '{"label":"Claude Code"}'      # clean up after a test (exact label, or kind) adom-vscode tabs reload                                # close + reopen the active (else first) Codex tab adom-vscode tabs reload '{"resource_contains":"local/<threadId>"}'   # one conversation by resource