使用
Linux x86_64
需要先準備
- 執行環境:
Go 1.26.9+ - 系統套件:
jq
下載預先建置的 linux_amd64 執行檔至 ~/.local/bin
mkdir -p ~/.local/bin && curl -fsSL -o ~/.local/bin/session-indexer https://github.com/valpere/session-indexer/releases/download/v0.3.0/session-indexer_v0.3.0_linux_amd64 && chmod +x ~/.local/bin/session-indexer
確認能用
session-indexer --help輸出應包含「Available Commands:」。
先試試這個
mkdir -p .claude && cat > sample.jsonl <<'EOF'
{"type":"user","sessionId":"test-session-1","timestamp":"2026-08-25T10:00:00Z","message":{"role":"user","content":"We discussed the config validation approach using a schema validator with strict mode enabled for the project"}}
{"type":"assistant","sessionId":"test-session-1","timestamp":"2026-08-25T10:00:05Z","message":{"role":"assistant","content":[{"type":"text","text":"For config validation approach we decided to use a ring buffer style validator with strict schema checks and detailed error messages."}]}}
{"type":"user","sessionId":"test-session-1","timestamp":"2026-08-25T10:01:00Z","message":{"role":"user","content":"What did we decide about the event queue implementation for handling background tasks?"}}
EOF
cat sample.jsonlsession-indexer mine sample.jsonl --db .claude/sessions.db執行 session-indexer mine <file> --db .claude/sessions.db,將工作階段紀錄建立索引至專案資料庫。
它能做什麼
- 將 JSONL 紀錄建立索引至 SQLite 資料庫已測試
怎麼使用
- 以你的 JSONL 紀錄執行
session-indexer mine <file> --db .claude/sessions.db。 - 查看輸出行中插入了多少個區塊。
- 以你的 JSONL 紀錄執行
- 依語意搜尋過去的 Claude Code 工作階段沒有看到它可用
- 自動加入相關的過往脈絡未測試
pickfit 測到哪一步
Linux x86_64
- 可以安裝
- 可以啟動
- 3 項功能中 1 項可用
- 可離線使用
macOS 和 Windows:專案說支援,但 pickfit 還沒試過。
適合用來
- 跨過往工作階段找出某主題的決定
- 在工作階段開始時注入相關的過往脈絡
- 將 JSONL 逐字稿索引至各專案 SQLite 儲存區
- 查詢實作狀態的精煉事實
- 不需查詢即可依日期瀏覽索引內容
可替代 mempalace、agentmemory 和 MemMachine。
pickfit 怎麼測的
每次測試都從乾淨的機器開始,照上面的步驟執行。 pickfit 怎麼驗證
Linux x86_64
主要功能可用
- 從頭重跑
- 可離線使用
- 檢查於 2026年10月30日
測試機器遇到的差異
- README: go install ./cmd/session-indexer (needs Go 1.26.9+)
測試中: 從 GitHub Releases 下載預先建置的 session-indexer_v0.3.0_linux_amd64 執行檔至 ~/.local/bin 並 chmod +x;不需要 Go 工具鏈 - README: retrieves via bge-m3 embeddings (Ollama) with FTS5 BM25 fallback
測試中: search 會輸出 '(embedding unavailable — FTS5 keyword results only)',在未執行 Ollama 的情況下仍回傳關鍵字搜尋結果