Repository navigation
v1.3.1: Dynamic API Key Loading
π Major Features
Dynamic API Key Loading
- Reset without restart:
cursor-agent-a2a resetnow 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 numberconfig: Shows full API Keyreset: New independent command (replacesconfig --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
statuscommand - Implement dynamic API Key loading
- Add
resetcommand as standalone command
Bug Fixes:
- Fix
config resetnot 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!