使用
macOS arm64
下載 install.sh 以便在執行前閱讀
curl -fsSL https://raw.githubusercontent.com/fgpaz/mi-lsp/main/scripts/install/install.sh -o /tmp/install.sh && echo DONE && wc -c /tmp/install.sh下載 install.sh 所需的同層驗證器
curl -fsSL https://raw.githubusercontent.com/fgpaz/mi-lsp/main/scripts/install/validate-worker-manifest.js -o /tmp/validate-worker-manifest.js && echo DONE && wc -c /tmp/validate-worker-manifest.js && ls /tmp/*.sh /tmp/*.js針對 darwin-arm64 執行僅安裝 CLI 的 install.sh
sh /tmp/install.sh
README 與實測不符之處
- README 寫: curl -fsSL .../install-agent.sh | sh installs directly
實際可行: 在執行 install-agent.sh/install.sh 前,先將 validate-worker-manifest.js 下載到 install.sh 旁(curl .../validate-worker-manifest.js -o /tmp/validate-worker-manifest.js)
確認能用
mi-lsp --help輸出應包含「version for mi-lsp」。
先試試這個
mkdir -p src/billing tests/billing .docs/wiki/05_requirements && cat > src/billing/retry.py <<'EOF'
"""Billing retry logic sample."""
RETRY_LIMIT = 3
def billing_retry(order_id, attempts=RETRY_LIMIT):
"""Retry billing for order."""
for i in range(attempts):
if charge(order_id):
return True
return False
def charge(order_id):
"""Charge order."""
return True
EOF
cat > tests/billing/retry_test.py <<'EOF'
from src.billing.retry import billing_retry
def test_billing_retry():
assert billing_retry("order-123") is True
EOF
cat > .docs/wiki/05_requirements/RF-GPH-010.md <<'EOF'
# RF-GPH-010 - Billing retry spec
Billing retry governs how the daemon restarts failed charges.
See billing_retry symbol.
EOF
echo SETUP_DONE && ls -R src tests .docsmi-lsp init . --name myapp --format toon在儲存庫資料夾中執行 mi-lsp init . --name <workspace> --format toon,將其索引為工作區。
Linux x86_64
下載 install.sh 以便在執行前閱讀
curl -fsSL https://raw.githubusercontent.com/fgpaz/mi-lsp/main/scripts/install/install.sh -o /tmp/install.sh下載 install.sh 旁所需的同層驗證器
curl -fsSL https://raw.githubusercontent.com/fgpaz/mi-lsp/main/scripts/install/validate-worker-manifest.js -o /tmp/validate-worker-manifest.js以 --skip-worker-install 安裝 CLI
sh /tmp/install.sh --skip-worker-install
README 與實測不符之處
- README 寫: curl -fsSL .../install-agent.sh | sh (which fetches install.sh alone)
實際可行: 執行 install.sh 前,先將 https://raw.githubusercontent.com/fgpaz/mi-lsp/main/scripts/install/validate-worker-manifest.js 下載到其旁邊;install.sh 會呼叫 node <script_dir>/validate-worker-manifest.js - README 寫: mi-lsp nav search "billing retry" --include-content --workspace myapp
實際可行: 在容器工作區中加上 --repo src:mi-lsp nav search ... --workspace myapp --repo src --include-content
確認能用
mi-lsp init . --name myapp --format toon 2>&1輸出應包含「ok: true」。
先試試這個
mkdir -p src .docs/wiki/05_requirements && cat > src/app.py <<'PY'
def hello_world(name):
"""Greet by name."""
return f"hello {name}"
def billing_retry(attempt):
"""Retry billing."""
return attempt + 1
PY
cat src/app.py && mkdir -p myapp 2>/dev/null; echo setup-donemi-lsp init . --name myapp --format toon 2>&1在儲存庫資料夾中執行 mi-lsp init . --name <workspace> --format toon,將其索引為工作區。
它能做什麼
- 依名稱尋找符號已測試
怎麼使用
- 使用
mi-lsp init . --name <workspace> --format toon為儲存庫建立索引。 - 執行
mi-lsp nav find <symbol> --workspace <workspace> --format toon取得檔案、行號與定義。
- 使用
- 搜尋文字並直接檢視相符的程式碼已測試
怎麼使用
- 使用
mi-lsp init . --name <workspace> --format toon為儲存庫建立索引。 - 執行
mi-lsp nav search "<your text>" --workspace <workspace> --repo <repo> --include-content --format toon查看相符結果及其程式碼行。
- 使用
- 從一或多個檔案讀取精確的行範圍已測試
怎麼使用
- 使用
mi-lsp init . --name <workspace> --format toon為儲存庫建立索引。 - 執行
mi-lsp nav multi-read <file>:<start>-<end> <file>:<start>-<end> --workspace <workspace> --format toon印出這些行。
- 使用
- 瀏覽專案 wiki 與治理文件未測試
pickfit 測到哪一步
macOS arm64
- 可以安裝
- 可以啟動
- 4 項功能中 3 項可用
- 可離線使用
Linux x86_64
- 可以安裝
- 可以啟動
- 4 項功能中 3 項可用
- 可離線使用
其他系統
Windows:專案說支援,但 pickfit 還沒試過。
適合用來
- 依名稱尋找符號
- 搜尋文字並直接檢視相符的程式碼
- 讀取一或多個精確的檔案範圍
- 查看變更的影響(呼叫端、測試、文件)
- 瀏覽 wiki/治理文件
pickfit 怎麼測的
每次測試都從乾淨的機器開始,照上面的步驟執行。 pickfit 怎麼驗證
macOS arm64
主要功能可用
- 從頭重跑
- 可離線使用
- 檢查於 2026年10月30日
- 版本 0.16.7
測試機器遇到的差異
- README: install-agent.sh adds CLI plus mi-lsp skill
測試中: CLI 可正常安裝,但最後的 `npx skills add fgpaz/claude-skills` 步驟因該儲存庫驗證失敗而失敗;僅安裝 CLI 的 install.sh 可避開此問題 - README: mi-lsp nav search "billing retry" --include-content --workspace myapp
測試中: 在容器工作區中加上 --repo <repo>,即可取得內嵌內容而非範圍預覽
Linux x86_64
主要功能可用
- 從頭重跑
- 可離線使用
- 檢查於 2026年10月30日
- 版本 v0.16.7
測試機器遇到的差異
- README: curl -fsSL .../install-agent.sh | sh installs CLI
測試中: sh /tmp/install.sh --skip-worker-install;一般安裝會在 worker 安裝階段失敗,出現 'staged worker did not pass protocol verification' - README: installer verifies SHA256 checksum
測試中: release tarball(約 270MB)由安裝程式在安裝時下載並驗證;無法事先讀取執行檔內容