Skip to content

feat: enforce deprecated CLI updates - #48

Merged
jlitola merged 1 commit into
mainfrom
delirious-gruyere
Apr 29, 2026
Merged

feat: enforce deprecated CLI updates#48
jlitola merged 1 commit into
mainfrom
delirious-gruyere

Conversation

@jlitola

@jlitola jlitola commented Apr 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds deferred runtime enforcement for npm-deprecated CLI versions using cached current-version metadata.
  • Keeps advisory update notices separate while broadening silent deprecation refresh/enforcement for CI, non-TTY, and MCP stdio paths.
  • Maps backend GraphQL schema mismatches to UPDATE_REQUIRED with structured JSON and terminal upgrade guidance.

Validation

  • bun test
  • bun run build

@jlitola
jlitola force-pushed the delirious-gruyere branch from 2bfa917 to cb0d892 Compare April 29, 2026 08:00
Use npm deprecation metadata as a deferred kill switch so incompatible installed versions can be blocked after the next background refresh. Also maps backend schema mismatches to update-required errors with upgrade guidance.
@jlitola
jlitola force-pushed the delirious-gruyere branch from cb0d892 to 44ab252 Compare April 29, 2026 08:17
@jlitola
jlitola merged commit e968c2c into main Apr 29, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant