使用
Linux x86_64
需要先準備
- 執行環境:
Node.js 22 or later
透過 npm install -g @pentoshi/clai 安裝 clai
npm install -g @pentoshi/clai
確認能用
cd /tmp/testrepo && timeout 60 clai --quiet "explain this repository and identify its entrypoint" 2>&1輸出應包含「index.js is the entrypoint」。
先試試這個
clai scope new --targets 127.0.0.1 --exclude 127.0.0.2 --name "test" 2>&1; echo "scopenew2 done"; clai scope show 2>&1; cat ~/.clai/scope.json 2>&1
clai scope add --targets example.com 2>&1; clai scope show 2>&1在專案資料夾中執行 clai --mode agent --quiet "<your request>" 開始使用。
它能做什麼
- 編輯檔案並審查差異已測試
怎麼使用
- 在專案資料夾開啟終端機。
- 執行
clai --mode agent --quiet "<your request>"建立檔案並顯示差異。
- 執行指令與測試未測試
- 進行經授權的安全測試沒有看到它可用
pickfit 測到哪一步
Linux x86_64
- 可以安裝
- 可以啟動
- 3 項功能中 1 項可用
- 可離線使用
macOS 和 Windows:專案說支援,但 pickfit 還沒試過。
適合用來
- 說明儲存庫並找出其進入點
- 新增健康檢查端點並執行測試
- 審查 diff 中的錯誤