You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: wire dead-code to /v1/analysis/dead-code endpoint (#23)
* feat: wire dead-code command to /v1/analysis/dead-code endpoint
Replace naive graph-edge counting with the API's dedicated dead code
analysis endpoint which provides multi-phase reachability, transitive
propagation, confidence levels, line numbers, and reasons.
New flags: --min-confidence (high/medium/low), --limit
Removed: --include-exports (handled by API)
Closes#22
* test: add unit tests for dead-code output formatting and JSON
* feat: add --ignore flag and SUPERMODEL_API_KEY env var support
- dead-code: --ignore <glob> filters candidates client-side (repeatable,
supports ** across segments). Implemented without new dependencies.
- config: SUPERMODEL_API_KEY and SUPERMODEL_API_BASE env vars override
config file values, enabling CI/CD usage without a config file.
- dead-code summary line now reflects post-filter candidate count.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Grey Newell <greyshipscode@gmail.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments