Repository navigation
feat: add codex inspector - #16
Merged
Merged
Conversation
added 8 commits
July 4, 2026 01:12
mcoder2014
marked this pull request as ready for review
July 4, 2026 08:05
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
codex_inspectorCLI,在127.0.0.1启动本地 Web UI 查看 Codex session、活跃度、token 消耗、memory 和 diagnostics。.corrupt.<timestamp>.bak后重建。-cache-workers,默认 2,0禁用启动后的自动补齐;后台补齐只处理今天以前的 rollout。cli/codex_inspector/install.sh快速安装脚本;默认安装到$HOME/.local/bin,兼容 macOS / Linux,只有显式--system或--allow-sudo时才尝试 sudo。Verification
bash -n cli/codex_inspector/install.sh./cli/codex_inspector/install.sh --helpGOMODCACHE=/tmp/codex_inspector_mod_cache GOCACHE=/tmp/codex_inspector_go_cache ./cli/codex_inspector/install.sh --prefix /tmp/codex-inspector-install-validation/tmp/codex-inspector-install-validation/bin/codex_inspector -hGOMODCACHE=/tmp/codex_inspector_mod_cache GOCACHE=/tmp/codex_inspector_go_cache go test ./cli/codex_inspectorGOMODCACHE=/tmp/codex_inspector_mod_cache GOCACHE=/tmp/codex_inspector_go_cache go test ./...GOMODCACHE=/tmp/codex_inspector_mod_cache GOCACHE=/tmp/codex_inspector_go_cache go build -o output/codex_inspector ./cli/codex_inspector/...GOMODCACHE=/tmp/codex_inspector_mod_cache GOCACHE=/tmp/codex_inspector_go_cache ./build.shnode --check cli/codex_inspector/static/app.js390x844,768x1024,1440x900; no app console errors, no page-level overflow.127.0.0.1:8794:missing -> Create cache -> healthy, today rollout skipped,corrupt -> confirm Backup and rebuild cache -> healthy, backup file verified.Notes
codex_inspectoris documented as an experimental tool and is not added to the rootinstall.shstable default list.~/.codex; historical summaries are cached in the tool-owned user cache directory or-cache-path.SessionSummary, token aggregates, file size, and file mtime only; it does not store raw JSONL or full conversation content.