fix(cli): improve daemon restart feedback

- runDaemonRestart() now returns Promise<boolean> indicating success
- update command only shows success when restart actually happened
- Fixes missing reasoningLevel type in compactEmbeddedPiSession

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Carl Ulsøe Christensen <carlulsoe@users.noreply.github.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Kit
2026-01-10 22:38:01 +01:00
committed by Peter Steinberger
parent 2a86e40730
commit f699dc3777
3 changed files with 13 additions and 6 deletions

View File

@@ -124,7 +124,7 @@ describe("update-cli", () => {
};
vi.mocked(runGatewayUpdate).mockResolvedValue(mockResult);
vi.mocked(runDaemonRestart).mockResolvedValue();
vi.mocked(runDaemonRestart).mockResolvedValue(true);
await updateCommand({ restart: true });