Skip to content

Latest commit

 

History

History
53 lines (40 loc) · 2.8 KB

File metadata and controls

53 lines (40 loc) · 2.8 KB

Changelog

All notable changes to the codeguilds CLI are documented here.

[0.3.0] - 2026-06-14

Added

  • Transparent token refresh — expired access tokens are now refreshed automatically using the stored refresh_token before every authenticated request; users no longer need to re-run codeguilds login after a session expires
  • CODEGUILDS_REGISTRY_URL env var — override the Supabase registry URL for self-hosted or staging environments

Security

  • HTTPS enforcementCODEGUILDS_WEB_URL env var must use https://; plain http:// is rejected with a warning (localhost and 127.0.0.1 are allowed for local dev)
  • Network error sanitization — fetch errors no longer leak the full URL (including package slug) into error output; replaced with a generic connectivity message
  • 401 session clearing — a 401 response from the API automatically clears the local auth file so stale tokens do not persist
  • Missing exp claim treated as expiredisTokenExpired now returns true (not false) when the JWT payload has no exp field

[0.2.4] - 2026-06-07

Fixed

  • codeguilds --version now reads version dynamically from package.json (was hardcoded)
  • Various small stability fixes

[0.2.3] - 2026-06-07

Added

  • codeguilds collection list — browse featured collections from the registry
  • codeguilds collection info <slug> — show collection details and package list
  • codeguilds collection install <slug> — install all packages in a collection with confirmation prompt (--yes flag to skip)

[0.2.2] - 2026-06-07

Added

  • Anonymous CLI event tracking (search, info, uninstall) — command type + package slug only, no personal data
  • codeguilds logout command to clear saved credentials

Fixed

  • clearAuth() now deletes the auth file instead of writing {} (fixes "Already logged in" after logout)
  • CLI search strips PostgREST glob characters from user input

[0.2.0] - 2026-05-31

Added

  • Initial npm release
  • codeguilds install <slug> — installs MCP servers, skills, agents, hooks, and CLAUDE.md templates; placement driven by install_config from registry
  • codeguilds uninstall <slug> — removes package and undoes config changes
  • codeguilds search <query> — search registry from terminal
  • codeguilds list — show installed packages (reads from .codeguilds-lock.json)
  • codeguilds info <slug> — show package details
  • codeguilds login / codeguilds logout — browser OAuth flow, credentials stored in ~/.codeguilds/auth.json
  • --project flag for project-local installs
  • --strategy flag for CLAUDE.md template merge (append / prepend / replace)
  • Filename validation blocking path traversal before any file write
  • MCP config inference from GitHub package.json when registry entry has no install_config