๐Ÿ”ง Where my dotfiles lives in harmony and peace, most of the time

๐Ÿ”ง Move agent CLI installs to paru setup scripts

+11 -11
+9 -11
agents/setup.sh
··· 5 5 AGENTS_DIR="${DOTFILES}/agents" 6 6 CODEX_DIR="${HOME}/.codex" 7 7 8 - setup_codex() { 9 - if ! pacman -Q openai-codex-bin >/dev/null 2>&1; then 10 - paru -S --noconfirm openai-codex-bin 11 - fi 8 + packages=( 9 + pi-coding-agent 10 + agent-browser 11 + googleworkspace-cli-bin 12 + openai-codex-bin 13 + ) 12 14 15 + paru -S --needed --noconfirm "${packages[@]}" 16 + 17 + setup_codex() { 13 18 mkdir -p "${CODEX_DIR}" 14 19 ln -sf "${AGENTS_DIR}/codex/config.toml" "${CODEX_DIR}/config.toml" 15 20 ln -sf "${AGENTS_DIR}/AGENTS.md" "${CODEX_DIR}/AGENTS.md" 16 21 ln -sfT "${AGENTS_DIR}/skills" "${CODEX_DIR}/skills" 17 22 } 18 23 19 - setup_agent_browser() { 20 - npm install -g agent-browser 21 - } 22 - 23 24 setup_pi() { 24 - npm install -g @mariozechner/pi-coding-agent 25 - 26 25 mkdir -p "${HOME}/.pi/agent" 27 26 ln -sf "${AGENTS_DIR}/AGENTS.md" "${HOME}/.pi/agent/AGENTS.md" 28 27 ln -sf "${AGENTS_DIR}/pi/settings.json" "${HOME}/.pi/agent/settings.json" ··· 38 37 } 39 38 40 39 setup_codex 41 - setup_agent_browser 42 40 setup_pi 43 41 setup_amp
+2
system/setup.sh
··· 24 24 ufw 25 25 util-linux 26 26 xdg-user-dirs 27 + google-cloud-cli 28 + google-cloud-cli-bq 27 29 ) 28 30 29 31 # Install system packages