Skip to content

Conversation

@activadee
Copy link
Owner

Summary

  • Preserve config on reinstall: CLI now retains existing configuration when reinstalled instead of requiring reconfiguration
  • Add comprehensive test suite: New lib/config.test.ts with 241 lines of test coverage for config preservation logic
  • Update config handling: Enhanced lib/config.ts to detect and merge existing settings during setup
  • Dependency refresh: Update bun.lock and package.json dependencies
  • Documentation: Update README to reflect new config preservation behavior

- Add mergeConfig() and loadPluginConfigSync() to lib/config.ts
- Update cli.ts to merge user updates with existing config
- Preserve custom debounceMs, credentialsPath, and other fields
- Add comprehensive test coverage (15 tests)
- Add .gitignore for node_modules and dist
- Update README with config merge behavior note
@activadee activadee merged commit 7f8ea4a into main Jan 4, 2026
2 checks passed
@activadee activadee deleted the OAS/OAS-1-cli-configuration-merge-preserve-existing-settings-during-reinst branch January 4, 2026 13:07
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.

2 participants