entireio/cli
📜 Entire CLI hooks into your Git workflow to capture AI agent sessions as you work. Sessions are indexed alongside commits, creating a searchable record of how code was written in your repo.
What it solves
Entire 提供了一種在 Git 工作流程中追蹤與索引 AI agent 會話的方法。它解決了 AI agent 進行程式碼變更時會遺失變更背後的上下文(context)的問題,讓開發者能透過對話紀錄與提示詞來理解「為什麼」做了變更,而不僅僅是了解 diff 中「變更了什麼」。
How it works
Entire 會掛鉤(hooks)到 Git 工作流程,並與各種 AI agent(例如 Claude Code、Cursor 與 Gemini)整合。它會擷取會話元數據(metadata)——包括提示詞、回應、變更的檔案以及工具呼叫——並將這些數據儲存在一個獨立且專用的 Git 分支(entire/checkpoints/v1)中。這確保了主專案歷史紀錄保持乾淨,同時維持了一個與特定提交(commits)連結、具備版本控制且可搜尋的 AI 互動紀錄。
Who it’s for
它是為使用 AI 編碼 agent 與需要追蹤性、稽核合規性,或需要透過回溯到特定 agent checkpoint 時能恢復工作的開發者而設計的。
Highlights
- Git-native integration: 與現有的 Git 工作流程整合,且不會污染主分支的歷史紀錄。
- Agent agnostic: 支援多種 agent,包括 Claude Code、Codex、Gemini、Cursor 與 Copilot CLI。
- Session recovery: 允許使用者重啟先前的會話,或回溯到已知良好的 checkpoint。
- Traceability: 提供實驗性工具如
entire blame與entire why,將特定的程式碼行連結回原始的 AI prompt。