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:
@@ -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 });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user