feat(cli): Add interactive edit command and update support for process configurations

This commit is contained in:
2025-08-30 14:02:22 +00:00
parent 5036f01516
commit 311a536fae
9 changed files with 185 additions and 3 deletions

View File

@@ -1,5 +1,14 @@
# Changelog
## 2025-08-30 - 5.1.0 - feat(cli)
Add interactive edit command and update support for process configurations
- Add 'tspm edit' interactive CLI command to modify saved process configurations (prompts for name, command, args, cwd, memory, autorestart, watch, watch paths) with an option to replace stored PATH.
- Implement ProcessManager.update(id, updates) to merge updates, persist them, and return the updated configuration.
- Add 'update' IPC method and daemon handler to allow remote/configurations updates via IPC.
- Persist the current CLI PATH when adding a process so managed processes inherit the same PATH environment.
- Merge provided env with the runtime process.env when spawning processes to avoid fully overriding the runtime environment.
## 2025-08-30 - 5.0.0 - BREAKING CHANGE(daemon)
Introduce persistent log storage, numeric ProcessId type, and improved process monitoring / IPC handling