Skip to content

feat(tools): add googleworkspace-cli, agent-browser, slack-cli#20

Merged
alohays merged 1 commit into
mainfrom
feat/agent-cli-tools
Mar 19, 2026
Merged

feat(tools): add googleworkspace-cli, agent-browser, slack-cli#20
alohays merged 1 commit into
mainfrom
feat/agent-cli-tools

Conversation

@alohays
Copy link
Copy Markdown
Owner

@alohays alohays commented Mar 19, 2026

Summary

  • Register three agent-oriented CLI tools with cross-platform support (macOS + Linux):
    • googleworkspace-cli: brew install or binary download from GitHub Releases
    • agent-browser: brew install or npm install -g (no binary distribution available)
    • slack-cli: brew install --cask or binary download from GitHub Releases
  • Each tool follows the existing RTK dual-method pattern (brewofficial fallback)
  • All three are opt-in onlyDOTFILES_DEFAULT_AGENT_TOOLS remains rtk,nvim-plugins
  • Extract DRY helpers: _dotfiles_install_brew_formula, _dotfiles_install_brew_cask, _dotfiles_install_github_binary, _dotfiles_install_npm_global
  • Refactor existing rtk:brew to use the new brew helper

Platform Matrix

Tool macOS (brew) Linux fallback
googleworkspace-cli brew install googleworkspace-cli Binary download → ~/.local/bin/gws
agent-browser brew install agent-browser npm install -g agent-browser
slack-cli brew install --cask slack-cli Binary download → ~/.local/bin/slack

Test plan

  • python3 -m pytest tests/ -v — 66 passed, 3 subtests passed
  • dotfiles tools list — shows all 10 tools
  • dotfiles tools plan <tool> — correct brew output for all three
  • DOTFILES_TOOLS_DEFAULT_METHOD=official dotfiles tools plan <tool> — correct fallback output
  • dotfiles tools install agent-browser — end-to-end brew install
  • DOTFILES_TOOLS_DEFAULT_METHOD=official dotfiles tools install slack-cli — binary download on macOS

🤖 Generated with Claude Code

Register three agent-oriented CLI tools with cross-platform support:
- googleworkspace-cli: brew or binary download from GitHub Releases
- agent-browser: brew or npm install -g (no binary distribution)
- slack-cli: brew cask or binary download from GitHub Releases

Each tool follows the RTK dual-method pattern (brew when available,
official fallback for Linux). All three are opt-in only — the default
tool set (rtk, nvim-plugins) is unchanged.

Also adds DRY helpers (_dotfiles_install_brew_formula,
_dotfiles_install_brew_cask, _dotfiles_install_github_binary,
_dotfiles_install_npm_global) and refactors rtk:brew to use them.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@alohays alohays merged commit 592a763 into main Mar 19, 2026
2 checks passed
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.

1 participant