Repository navigation
Complete npm release guidance and fix installed Insights CLI selection - #22
Conversation
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: 809cdd14-314f-4b8c-bba9-dcc8b5b97fda) |
Code Review Roast 🔥Verdict: No Issues Found | Recommendation: Merge Oh wait, this PR is actually clean. I need to sit down. I had my flamethrower warmed up and everything — I was ready to roast some documentation drift, a busted PATH precedence, or a phantom npm package — but this diff is just coherent, tested fixes that all check out. I even cross-referenced 📊 Overall: Like swapping the batteries in a smoke detector and remembering to also change the ones that work — tedious, correct, and mercifully uneventful. Files Reviewed (8 files)
Previous Review Summary (commit 3849d2c)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit 3849d2c)Verdict: No Issues Found | Recommendation: Merge Oh wait, this PR is actually clean. I need to sit down. I had my flamethrower warmed up and everything — I was ready to roast some documentation sins — but this diff is just four line swaps that all check out. I even cross-referenced 📊 Overall: Like swapping the batteries in a smoke detector and remembering to also change the ones that work — tedious, correct, and mercifully uneventful. Files Reviewed (2 files)
Reviewed by free · Input: 65K · Output: 4.4K · Cached: 315.6K |
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: 19dab765-0a47-4016-86df-d834d19a8230) |
The installed skill could select a stale ~/.local/bin CLI ahead of the caller's PATH. Preserve PATH priority while retaining desktop fallback directories, with a regression that failed before the fix and passes afterward.
Document the published scoped npm commands and correct uninstall instructions. Keep plugin recovery/profile documentation, runtime prerequisites, and existing model-use authorization consistent.
Validation: npm run ci (115 tests, ESLint, syntax/types, documentation links, plugin validator, package dry run); 3 adoption tests. Fresh-cache npx @mangeshraut712/codex-insights@0.7.0 --version and --help passed, and the published CLI generated HTML/JSON from an empty synthetic legacy SQLite database without model calls. Skill scenarios were checked for local-only, already-authorized model use, and profile publication boundaries. No real session data was used.
The npm smoke test verifies published 0.7.0. The wrapper and guidance fixes in this PR are source updates; they are available through the GitHub plugin after merge and require a later npm release for registry consumers.
Note
Low Risk
Narrow behavioral change to CLI resolution order plus documentation and skill guidance; no auth, data handling, or core report pipeline logic changes.
Overview
Fixes the
$insightswrapper so it searches the caller’s PATH before macOS fallback dirs (~/.local/bin, Homebrew, etc.), avoiding a stale global install winning over the CLI the user actually selected. A new plugin contract test reproduces that regression.Docs and install guidance are aligned with the published scoped package
@mangeshraut712/codex-insights(includingnpx, global install/uninstall, wrapper error text, and pinning0.7.0), plus contributor notes on Node 22/24/26 CI and lockfile-pinned TypeScript. README adoption wording now points atnpm run metricsfor refreshed snapshots.Skill/plugin copy clarifies profile export (account aggregates with local fallback,
--sourceflags), model-assisted runs (estimate always; confirm only when provider/scope/budget isn’t already authorized), and that the wrapper still uses fallback paths when the desktop PATH is stripped.Reviewed by Cursor Bugbot for commit 7ea5d54. Bugbot is set up for automated code reviews on this repo. Configure here.