pickfit

瀏覽開發者 CLI

mi-lsp

本機 CLI,索引儲存庫以尋找程式碼、讀取精確範圍並遵循權威文件。

已在 macOS 和 Linux 上測試

使用

macOS arm64

  1. 下載 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
  2. 下載 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
  3. 針對 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 .docs
mi-lsp init . --name myapp --format toon

在儲存庫資料夾中執行 mi-lsp init . --name <workspace> --format toon,將其索引為工作區。

Linux x86_64

  1. 下載 install.sh 以便在執行前閱讀

    curl -fsSL https://raw.githubusercontent.com/fgpaz/mi-lsp/main/scripts/install/install.sh -o /tmp/install.sh
  2. 下載 install.sh 旁所需的同層驗證器

    curl -fsSL https://raw.githubusercontent.com/fgpaz/mi-lsp/main/scripts/install/validate-worker-manifest.js -o /tmp/validate-worker-manifest.js
  3. 以 --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-done
mi-lsp init . --name myapp --format toon 2>&1

在儲存庫資料夾中執行 mi-lsp init . --name <workspace> --format toon,將其索引為工作區。

它能做什麼

  • 依名稱尋找符號
    怎麼使用
    1. 使用 mi-lsp init . --name <workspace> --format toon 為儲存庫建立索引。
    2. 執行 mi-lsp nav find <symbol> --workspace <workspace> --format toon 取得檔案、行號與定義。
    已測試
  • 搜尋文字並直接檢視相符的程式碼
    怎麼使用
    1. 使用 mi-lsp init . --name <workspace> --format toon 為儲存庫建立索引。
    2. 執行 mi-lsp nav search "<your text>" --workspace <workspace> --repo <repo> --include-content --format toon 查看相符結果及其程式碼行。
    已測試
  • 從一或多個檔案讀取精確的行範圍
    怎麼使用
    1. 使用 mi-lsp init . --name <workspace> --format toon 為儲存庫建立索引。
    2. 執行 mi-lsp nav multi-read <file>:<start>-<end> <file>:<start>-<end> --workspace <workspace> --format toon 印出這些行。
    已測試
  • 瀏覽專案 wiki 與治理文件
    未測試

pickfit 測到哪一步

macOS arm64

  1. 可以安裝
  2. 可以啟動
  3. 4 項功能中 3 項可用
  4. 可離線使用

Linux x86_64

  1. 可以安裝
  2. 可以啟動
  3. 4 項功能中 3 項可用
  4. 可離線使用

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)由安裝程式在安裝時下載並驗證;無法事先讀取執行檔內容

怎麼看工具卡

縫線
pickfit 親自安裝過這款工具,縫線下方的內容都來自那次測試。沒測過的工具,一律沒有縫線。
已在你的作業系統上驗證
安裝步驟在你選的系統上跑過。「只在 Linux 上執行過」表示還沒在你的系統上跑過。
macOS、Linux 和 Windows在哪裡測過
綠色系統標記:pickfit 在該系統跑過安裝步驟。灰色:README 說支援,但 pickfit 還沒試過。
測試進行到哪一步
能安裝並啟動、主要功能可用、服務有回應、能產生模型輸出。視窗代表桌面應用程式已開啟;插頭代表 MCP 用戶端用過它。標記在測試結果旁邊:展開「為什麼適合、我們怎麼知道」,或在「pickfit 怎麼測的」裡。
視覺檢查
pickfit 看過應用程式的截圖。綠色:畫面正常。黃色加數字:有看起來不對的地方,點開就能看到。灰色虛線:還沒檢查。
已知漏洞
它安裝的套件有沒有已知的高風險或嚴重漏洞(OSV.dev)。綠色:沒有已知漏洞。紅色加數字:有幾個,點開看清單,安裝前先看過。灰色虛線:沒有檢查,不代表安全。
關於這次測試
測試日期,以及測到的版本。
理由的來源
每個推薦理由都依據簡介裡的一個欄位。展開理由就能看到欄位和值。
寶藏
品質高、少有人知。
品質與知名度
兩個分數,滿分都是 100。品質:pickfit 試裝、試用的結果,以及安裝文件和維護狀況。知名度:看星數、下載量和 Hacker News。
已檢查的功能
README 宣傳的主要功能裡,實測通過幾項(綠色)、失敗幾項(紅色)。灰色是沒檢查的,工具卡會說明原因。
未驗證
Fitz 依一般知識提到的知名工具。沒有測試紀錄、沒有步驟、沒有分數。