Skip to content

v1.3.1: Dynamic API Key Loading

Choose a tag to compare

@jeffkit jeffkit released this 24 Jan 13:05
· 4 commits to main since this release

πŸŽ‰ Major Features

Dynamic API Key Loading

  • Reset without restart: cursor-agent-a2a reset now takes effect immediately
  • API Keys are loaded dynamically on each request
  • No need to restart the service after changing API Key

Enhanced Commands

  • status: Now displays version number
  • config: Shows full API Key
  • reset: New independent command (replaces config --reset)

πŸ”§ Technical Improvements

  • Fixed ES module imports (removed require() usage)
  • Configuration file is now the single source of truth
  • Removed environment variable for API Key (cleaner architecture)
  • Improved error handling and logging

πŸ“‹ Full Changelog

New Features:

  • Add version display in status command
  • Implement dynamic API Key loading
  • Add reset command as standalone command

Bug Fixes:

  • Fix config reset not working
  • Fix version display in global installation
  • Fix API Key not updating after reset
  • Fix ES module import errors

Internal Changes:

  • Remove API Key from environment variables
  • Use ES module imports (fs, path, os)
  • Clean up debug logging
  • Improve code structure

πŸ“¦ Installation

npm install -g cursor-agent-a2a@latest
cursor-agent-a2a install

πŸ”‘ Usage

# View configuration (shows full API Key)
cursor-agent-a2a config

# Reset API Key (takes effect immediately, no restart needed!)
cursor-agent-a2a reset

# Check status (shows version number)
cursor-agent-a2a status

πŸ™ Thanks

Special thanks to all testers for their patience during the multiple iterations!