Update tests for user-managed AI tools

- Check opencode (system package) instead of claude
- Add nodejs check for npm-based tool installation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Dan 2026-01-02 19:07:04 -08:00
parent 1b1a91f9cb
commit 219a38b7aa

View file

@ -118,13 +118,20 @@ fi
# --------------------------------------------- # ---------------------------------------------
echo "" echo ""
echo "## 6. Claude CLI available" echo "## 6. AI coding tools"
# --------------------------------------------- # ---------------------------------------------
if ssh_cmd 'which claude' &>/dev/null; then if ssh_cmd 'which opencode' &>/dev/null; then
CLAUDE_VERSION=$(ssh_cmd 'claude --version 2>&1' | head -1) OPENCODE_VERSION=$(ssh_cmd 'opencode --version 2>&1' | head -1)
pass "claude available ($CLAUDE_VERSION)" pass "opencode available ($OPENCODE_VERSION)"
else else
fail "claude not in PATH" fail "opencode not in PATH"
fi
if ssh_cmd 'which node' &>/dev/null; then
NODE_VERSION=$(ssh_cmd 'node --version 2>&1')
pass "nodejs available ($NODE_VERSION) - for npm install of claude/gemini/codex"
else
fail "nodejs not in PATH"
fi fi
# --------------------------------------------- # ---------------------------------------------