Skip to content

Commit 3495b26

Browse files
committed
chore: add changeset
1 parent cf88b09 commit 3495b26

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.changeset/thin-ears-swim.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
"@bluecadet/launchpad-content": minor
3+
"@bluecadet/launchpad-monitor": minor
4+
"@bluecadet/launchpad-controller": minor
5+
"@bluecadet/launchpad-cli": minor
6+
---
7+
8+
Refactor monitor and content state to use Immer. This allows us to emit patch events when state changes, which are then handled by the controller package to sync state across processes (just IPC for now).
9+
10+
Adds a new "watch" flag to the CLI status command to allow live monitoring of the controller status.

docs/src/reference/controller/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ Subsystems that expose state implement `getState()`:
124124
```typescript
125125
interface StateProvider<TState> {
126126
getState(): TState;
127+
onStatePatch(handler: PatchHandler): () => void;
127128
}
128129
```
129130

0 commit comments

Comments
 (0)