Skip to content

feat(nix): install agent-browser and agent-desktop with their skills - #383

Merged
furedea merged 2 commits into
mainfrom
feat/agent-browser-desktop
Nov 3, 2026
Merged

furedea merged 2 commits into
mainfrom
feat/agent-browser-desktop

Conversation

@furedea-agent

@furedea-agent furedea-agent Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

agent-browser(llm-agents 0.41.0)と agent-desktop(v1.1.0 の公式バイナリ)を Home Manager で入れ,両 CLI が同梱する skill をビルド時に生成して agent-harness に渡す.あわせて agent-config input を #63,#64,#65 を含む main に更新する.マージ後に switch とアクセシビリティ許可の手動確認が必要.

Closes #377
計画: #377 (comment)

変更前後

項目 変更前 変更後
agent-browser 未導入 llm-agents の 0.41.0 を home.packages に追加
AGENT_BROWSER_EXECUTABLE_PATH 未設定 zsh/.zshenv で /Applications/Google Chrome.app/Contents/MacOS/Google Chrome(Homebrew cask)
agent-desktop 未導入 nix/packages/agent_desktop.nix(v1.1.0,hash 固定,versionCheckHook,Apache-2.0,binaryNativeCode)
skill herdr,nix-dotfiles agent-browser(skills get core),agent-desktop(skills get desktop の data.content)を追加
agent-config 2f29423 3f2d578(承認ルールとサンドボックス除外を含む)

確認結果

  • nix flake check: all checks passed
  • nix build .#[email protected] .#darwinConfigurations.mbp.system .#darwinConfigurations.mba.system: 成功
  • 新しいチェック agent-desktop-release: ビルド時に versionCheckHook が agent-desktop --version から 1.1.0 を確認
  • 新しいチェック automation-cli-skills: 生成された 2 つの skill の name と本文を確認(ビルドのサンドボックス内で両 CLI ともネットワークや権限なしで出力できた)
  • home-configuration の契約追加: 両パッケージの導入,skill 名,Chrome パスと google-chrome cask の対応
  • アーカイブの sha256 が upstream の checksums.txt と一致
  • shared verify(bats 9 件),lefthook
  • CI

マージ後の手動手順

  1. darwin-rebuild switch(または Home Manager の switch)を実行し,新しいシェルを開く
  2. agent-browser の初回確認: agent-browser open https://example.com → agent-browser snapshot -i
  3. agent-desktop を使うときだけ Ghostty にアクセシビリティ許可を付け,agent-desktop snapshot --app Finder -i で確認し,終わったら許可を外す
判断事項・前提
  • agent-browser skills get core の frontmatter は name: core なので,ビルド時に 2 行目だけ name: agent-browser に書き換え,結果を grep で確認している.upstream の形式が変わるとビルドが失敗して気付ける
  • agent-browser skill へのローカル注記(ファイル出力は素の screenshot / screenshot --full 以外 ask,許可リスト外のオプションは ask)は,既存の skill 生成に追記の仕組みがないため入れていない.必要なら別途
  • agent-desktop は macOS 用ガイド(skills get platform)を別 skill にせず,core skill の手順どおり実行時に読み込ませる
  • AGENT_BROWSER_EXECUTABLE_PATH は既存の EDITOR と同じく zsh/.zshenv で設定した.zsh 以外から起動した場合は効かない
  • agent-desktop の更新は手動(Renovate 対応なし)
  • アーカイブに含まれる agent-desktop-macos-helper も bin に置いている

🤖 Generated with Claude Code

furedea and others added 2 commits November 4, 2026 02:13
Picks up the approval rules and sandbox exclusions for agent-browser and
agent-desktop (agent-config #63, #64, #65).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Both CLIs ship version-matched skill text, so the skills are generated
at build time from the installed binaries instead of being vendored.
agent-browser bundles no browser on Darwin and is pointed at the
Homebrew cask Chrome.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@furedea
furedea merged commit 3bfb680 into main Nov 3, 2026
12 checks passed
@furedea
furedea deleted the feat/agent-browser-desktop branch November 3, 2026 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: install agent-browser and agent-desktop for agents

1 participant