feat(cli/daemon/processmonitor): Add flexible target resolution and search command; improve restart/backoff and error handling
This commit is contained in:
12
changelog.md
12
changelog.md
@@ -1,5 +1,17 @@
|
||||
# Changelog
|
||||
|
||||
## 2025-08-30 - 5.3.0 - feat(cli/daemon/processmonitor)
|
||||
Add flexible target resolution and search command; improve restart/backoff and error handling
|
||||
|
||||
- Add new cli command `search` to find processes by id or name fragment.
|
||||
- Allow flexible process targets in CLI commands (accepts numeric id, id:<n>, or name:<label>) for start/stop/restart/delete/describe/logs/edit commands.
|
||||
- Introduce a new daemon IPC method `resolveTarget` to normalize user-provided targets to ProcessId (supports id:<n>, name:<label>, or bare numeric id).
|
||||
- Keep `remove` as a CLI alias but daemon exposes `delete` only; CLI resolves targets and always calls daemon `delete`.
|
||||
- Implement scheduled restart/backoff in ProcessMonitor with incremental debounce, max retries, and a 1-hour reset window.
|
||||
- Emit a `failed` event from ProcessMonitor when max restart attempts are exceeded; ProcessManager listens and marks processes as `errored` and clears pid.
|
||||
- Ensure desired state is set to `stopped` before deleting a process to avoid race conditions.
|
||||
- Improve cli output messages to include resolved names alongside numeric ids where available.
|
||||
|
||||
## 2025-08-30 - 5.2.0 - feat(cli)
|
||||
Preserve CLI environment when adding processes, simplify edit flow, and refresh README docs
|
||||
|
||||
|
Reference in New Issue
Block a user