@cueloop/client 0.1.0-alpha.5 → 0.1.0-alpha.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (152) hide show
  1. package/native/build-pty.sh +51 -0
  2. package/native/build.sh +82 -0
  3. package/native/darwin-arm64/libcuelooppty.dylib +0 -0
  4. package/native/darwin-arm64/libcueloopvt.dylib +0 -0
  5. package/native/src/pty.zig +193 -0
  6. package/native/src/shim.zig +114 -0
  7. package/package.json +36 -31
  8. package/src/App.autoclose.test.tsx +137 -0
  9. package/src/App.diff.test.tsx +158 -22
  10. package/src/App.export.test.tsx +44 -37
  11. package/src/App.plan-review.test.tsx +672 -0
  12. package/src/App.prototype.test.tsx +155 -0
  13. package/src/App.readonly.test.tsx +60 -36
  14. package/src/App.rendering.test.tsx +132 -0
  15. package/src/App.review-panel.test.tsx +136 -0
  16. package/src/App.submit-confirm.test.tsx +218 -0
  17. package/src/App.test.tsx +128 -69
  18. package/src/App.toast.test.tsx +75 -0
  19. package/src/App.tsx +0 -0
  20. package/src/App.walk.test.tsx +289 -0
  21. package/src/__snapshots__/view-plan.regression.test.ts.snap +100 -0
  22. package/src/attribution.test.ts +31 -0
  23. package/src/attribution.ts +38 -0
  24. package/src/clipboard.test.ts +23 -0
  25. package/src/clipboard.ts +30 -0
  26. package/src/components/AnnotationCard.compose-rows.test.ts +49 -0
  27. package/src/components/AnnotationCard.stories.tsx +94 -0
  28. package/src/components/AnnotationCard.tsx +241 -0
  29. package/src/components/Breadcrumb.stories.tsx +19 -0
  30. package/src/components/Breadcrumb.tsx +44 -0
  31. package/src/components/CodeBlock.stories.tsx +42 -0
  32. package/src/components/CodeBlock.tsx +83 -0
  33. package/src/components/CompletionOverlay.stories.tsx +23 -0
  34. package/src/components/CompletionOverlay.tsx +59 -0
  35. package/src/components/ConfirmCard.stories.tsx +35 -0
  36. package/src/components/ConfirmCard.tsx +127 -0
  37. package/src/components/ConfirmDialog.stories.tsx +21 -0
  38. package/src/components/ConfirmDialog.tsx +64 -0
  39. package/src/components/DiffSheet.scroll.test.tsx +123 -0
  40. package/src/components/DiffSheet.stories.tsx +78 -0
  41. package/src/components/DiffSheet.syntax.test.tsx +62 -0
  42. package/src/components/DiffSheet.tsx +355 -0
  43. package/src/components/InboxList.stories.tsx +31 -0
  44. package/src/components/InboxList.tsx +62 -0
  45. package/src/components/KeybindsDialog.stories.tsx +31 -0
  46. package/src/components/KeybindsDialog.tsx +58 -0
  47. package/src/components/MarkerPopover.stories.tsx +58 -0
  48. package/src/components/MarkerPopover.tsx +108 -0
  49. package/src/components/MenuBar.stories.tsx +37 -0
  50. package/src/components/MenuBar.tsx +74 -0
  51. package/src/components/PlanSheet.stories.tsx +113 -0
  52. package/src/components/PlanSheet.tsx +456 -0
  53. package/src/components/PromptDialog.stories.tsx +36 -0
  54. package/src/components/PromptDialog.tsx +78 -0
  55. package/src/components/PrototypeSheet.stories.tsx +20 -0
  56. package/src/components/PrototypeSheet.tsx +358 -0
  57. package/src/components/ReviewPanel.stories.tsx +86 -0
  58. package/src/components/ReviewPanel.tsx +101 -0
  59. package/src/components/ReviewRail.stories.tsx +218 -0
  60. package/src/components/ReviewRail.tsx +317 -0
  61. package/src/components/SettingsDialog.stories.tsx +111 -0
  62. package/src/components/SettingsDialog.tsx +141 -0
  63. package/src/components/SettingsRows.stories.tsx +18 -0
  64. package/src/components/SettingsRows.tsx +108 -0
  65. package/src/components/Toast.stories.tsx +12 -0
  66. package/src/components/Toast.tsx +44 -0
  67. package/src/components/WalkWizard.stories.tsx +100 -0
  68. package/src/components/WalkWizard.tsx +152 -0
  69. package/src/components/__snapshots__/stories.test.tsx.snap +1857 -0
  70. package/src/components/agent-launcher.stories.tsx +26 -0
  71. package/src/components/agent-launcher.test.tsx +49 -0
  72. package/src/components/agent-launcher.tsx +147 -0
  73. package/src/components/diff-sheet-layout.test.ts +127 -0
  74. package/src/components/diff-sheet-layout.ts +167 -0
  75. package/src/components/primitives/Button.stories.tsx +32 -0
  76. package/src/components/primitives/Button.tsx +51 -0
  77. package/src/components/primitives/Card.stories.tsx +25 -0
  78. package/src/components/primitives/Card.tsx +59 -0
  79. package/src/components/primitives/Dialog.stories.tsx +24 -0
  80. package/src/components/primitives/Dialog.tsx +64 -0
  81. package/src/components/primitives/StatusBar.stories.tsx +11 -0
  82. package/src/components/primitives/StatusBar.tsx +22 -0
  83. package/src/components/primitives/Tabs.stories.tsx +29 -0
  84. package/src/components/primitives/Tabs.tsx +98 -0
  85. package/src/components/primitives/Toolbar.stories.tsx +17 -0
  86. package/src/components/primitives/Toolbar.tsx +14 -0
  87. package/src/components/primitives/frame.test.ts +12 -0
  88. package/src/components/primitives/frame.ts +14 -0
  89. package/src/components/quick-actions-editor.stories.tsx +54 -0
  90. package/src/components/quick-actions-editor.tsx +136 -0
  91. package/src/components/stories-app.tsx +123 -0
  92. package/src/components/stories.test.tsx +62 -0
  93. package/src/components/story-fixtures.ts +98 -0
  94. package/src/components/story.ts +69 -0
  95. package/src/components/syntax-highlight.ts +92 -0
  96. package/src/components/terminal-pane.test.tsx +40 -0
  97. package/src/components/terminal-pane.ts +181 -0
  98. package/src/components/theme-context.stories.tsx +46 -0
  99. package/src/components/theme-context.tsx +36 -0
  100. package/src/components/truncate-text.ts +6 -0
  101. package/src/config.test.ts +430 -31
  102. package/src/config.ts +304 -26
  103. package/src/diff-hunk-curate.test.ts +315 -0
  104. package/src/diff-hunk-curate.ts +233 -0
  105. package/src/diff-intraline.test.ts +164 -0
  106. package/src/diff-intraline.ts +132 -0
  107. package/src/diff-syntax.test.ts +96 -0
  108. package/src/diff-syntax.ts +154 -0
  109. package/src/editor.test.ts +143 -0
  110. package/src/editor.ts +123 -9
  111. package/src/ghostty-terminal.test.ts +82 -0
  112. package/src/ghostty-terminal.ts +168 -0
  113. package/src/herdr.test.ts +41 -0
  114. package/src/herdr.ts +27 -0
  115. package/src/index.ts +10 -0
  116. package/src/integrations.test.ts +41 -0
  117. package/src/integrations.ts +30 -0
  118. package/src/intent-dispatch.test.ts +493 -0
  119. package/src/intent-dispatch.ts +428 -0
  120. package/src/key-bindings.test.ts +152 -0
  121. package/src/key-bindings.ts +430 -0
  122. package/src/keymap.test.ts +622 -0
  123. package/src/keymap.ts +339 -0
  124. package/src/kitty-image.test.ts +20 -0
  125. package/src/kitty-image.ts +75 -0
  126. package/src/prototype-browser.test.ts +55 -0
  127. package/src/prototype-browser.ts +243 -0
  128. package/src/pty.test.ts +78 -0
  129. package/src/pty.ts +222 -0
  130. package/src/review-panel.test.ts +113 -0
  131. package/src/review-panel.ts +83 -0
  132. package/src/run.ts +9 -5
  133. package/src/serve.test.ts +24 -9
  134. package/src/serve.ts +7 -7
  135. package/src/session-controller.curate.test.ts +253 -0
  136. package/src/session-controller.share.test.ts +309 -0
  137. package/src/session-controller.ts +914 -0
  138. package/src/share.ts +113 -0
  139. package/src/test-support.test.ts +55 -0
  140. package/src/test-support.ts +187 -0
  141. package/src/theme-presets.ts +168 -0
  142. package/src/theme.ts +38 -17
  143. package/src/version.ts +5 -0
  144. package/src/view-diff.test.ts +19 -8
  145. package/src/view-diff.ts +34 -23
  146. package/src/view-plan.regression.test.ts +60 -0
  147. package/src/view-plan.test.ts +399 -0
  148. package/src/view-plan.ts +495 -0
  149. package/src/walk.test.ts +121 -0
  150. package/src/walk.ts +70 -0
  151. package/src/view.test.ts +0 -157
  152. package/src/view.ts +0 -0
@@ -0,0 +1,1857 @@
1
+ // Bun Snapshot v1, https://bun.sh/docs/test/snapshots
2
+
3
+ exports[`stories catalog AnnotationCard/CommentDraft renders, snapshots, and carries its colors: AnnotationCard/CommentDraft 1`] = `
4
+ "╭─ comment on "persists sessions" ─────────────────────────────────────────────╮
5
+ │ Which daemon? │
6
+ │ Save Cancel │
7
+ ╰──────────────────────────────────────────────────────────────────────────────╯
8
+
9
+
10
+
11
+
12
+
13
+
14
+
15
+
16
+
17
+
18
+
19
+
20
+
21
+
22
+
23
+
24
+
25
+
26
+
27
+
28
+ "
29
+ `;
30
+
31
+ exports[`stories catalog AnnotationCard/SavedCollaborator renders, snapshots, and carries its colors: AnnotationCard/SavedCollaborator 1`] = `
32
+ "╭─ COMMENT · Priya ────────────────────────────────────────────────────────────╮
33
+ │ "persists sessions" │
34
+ │ Which daemon owns this? │
35
+ ╰──────────────────────────────────────────────────────────────────────────────╯
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+
45
+
46
+
47
+
48
+
49
+
50
+
51
+
52
+
53
+
54
+
55
+
56
+ "
57
+ `;
58
+
59
+ exports[`stories catalog AnnotationCard/SavedEditing renders, snapshots, and carries its colors: AnnotationCard/SavedEditing 1`] = `
60
+ "╭─ COMMENT · me ───────────────────────────────────────────────────────────────╮
61
+ │ "move the store" │
62
+ │ new body │
63
+ │ Save Cancel │
64
+ ╰──────────────────────────────────────────────────────────────────────────────╯
65
+
66
+
67
+
68
+
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+
80
+
81
+
82
+
83
+
84
+ "
85
+ `;
86
+
87
+ exports[`stories catalog AnnotationCard/SavedOrphan renders, snapshots, and carries its colors: AnnotationCard/SavedOrphan 1`] = `
88
+ "╭─ COMMENT · me · ORPHANED ────────────────────────────────────────────────────╮
89
+ │ "a removed passage" │
90
+ │ The passage is gone. │
91
+ ╰──────────────────────────────────────────────────────────────────────────────╯
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+ "
113
+ `;
114
+
115
+ exports[`stories catalog AnnotationCard/SavedSelected renders, snapshots, and carries its colors: AnnotationCard/SavedSelected 1`] = `
116
+ "╭─ COMMENT · me ───────────────────────────────────────────────────────────────╮
117
+ │ "persists sessions" │
118
+ │ Which daemon owns this? │
119
+ ╰──────────────────────────────────────────────────────────────────────────────╯
120
+
121
+
122
+
123
+
124
+
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+
135
+
136
+
137
+
138
+
139
+
140
+ "
141
+ `;
142
+
143
+ exports[`stories catalog Breadcrumb/SessionHeader renders, snapshots, and carries its colors: Breadcrumb/SessionHeader 1`] = `
144
+ " cueloop · Migration Plan · rev 2 · resolved: approve
145
+
146
+
147
+
148
+
149
+
150
+
151
+
152
+
153
+
154
+
155
+
156
+
157
+
158
+
159
+
160
+
161
+
162
+
163
+
164
+
165
+
166
+
167
+
168
+ "
169
+ `;
170
+
171
+ exports[`stories catalog CodeBlock/CursorAnnotatedEdited renders, snapshots, and carries its colors: CodeBlock/CursorAnnotatedEdited 1`] = `
172
+ "
173
+ ▎ ts ◆ [edited]
174
+
175
+ export function gate(full: number) {
176
+ // threshold
177
+ return full < 0.6 ? "blocked" : "clear";
178
+ }
179
+
180
+
181
+
182
+
183
+
184
+
185
+
186
+
187
+
188
+
189
+
190
+
191
+
192
+
193
+
194
+
195
+
196
+ "
197
+ `;
198
+
199
+ exports[`stories catalog CodeBlock/Cut renders, snapshots, and carries its colors: CodeBlock/Cut 1`] = `
200
+ " ts
201
+
202
+ export function gate(full: number) {
203
+ // threshold
204
+ return full < 0.6 ? "blocked" : "clear";
205
+ }
206
+
207
+
208
+
209
+
210
+
211
+
212
+
213
+
214
+
215
+
216
+
217
+
218
+
219
+
220
+
221
+
222
+
223
+
224
+ "
225
+ `;
226
+
227
+ exports[`stories catalog CodeBlock/Typescript renders, snapshots, and carries its colors: CodeBlock/Typescript 1`] = `
228
+ " ts
229
+
230
+ export function gate(full: number) {
231
+ // threshold
232
+ return full < 0.6 ? "blocked" : "clear";
233
+ }
234
+
235
+
236
+
237
+
238
+
239
+
240
+
241
+
242
+
243
+
244
+
245
+
246
+
247
+
248
+
249
+
250
+
251
+
252
+ "
253
+ `;
254
+
255
+ exports[`stories catalog CodeBlock/UnknownLanguage renders, snapshots, and carries its colors: CodeBlock/UnknownLanguage 1`] = `
256
+ " brainfog
257
+
258
+ plain verbatim lines
259
+ with indentation
260
+
261
+
262
+
263
+
264
+
265
+
266
+
267
+
268
+
269
+
270
+
271
+
272
+
273
+
274
+
275
+
276
+
277
+
278
+
279
+
280
+ "
281
+ `;
282
+
283
+ exports[`stories catalog CompletionOverlay/ApprovedPrompt renders, snapshots, and carries its colors: CompletionOverlay/ApprovedPrompt 1`] = `
284
+ "
285
+
286
+
287
+
288
+
289
+
290
+
291
+
292
+
293
+ review approved
294
+
295
+ The agent has your approval and is unblocked.
296
+
297
+ close [return] · return to plan [esc] · always [a]
298
+
299
+
300
+
301
+
302
+
303
+
304
+
305
+
306
+
307
+
308
+ "
309
+ `;
310
+
311
+ exports[`stories catalog CompletionOverlay/FeedbackCounting renders, snapshots, and carries its colors: CompletionOverlay/FeedbackCounting 1`] = `
312
+ "
313
+
314
+
315
+
316
+
317
+
318
+
319
+
320
+ feedback sent
321
+
322
+ The agent has your feedback and is unblocked.
323
+ returning to agent/worker-3 on close
324
+ exported to vault/cueloop/plan.md
325
+
326
+ close [return] · closing in 3s · return to plan [esc] · always [a]
327
+
328
+
329
+
330
+
331
+
332
+
333
+
334
+
335
+
336
+ "
337
+ `;
338
+
339
+ exports[`stories catalog ConfirmCard/ApproveDefault renders, snapshots, and carries its colors: ConfirmCard/ApproveDefault 1`] = `
340
+ "╭─ submit review ─────────────────────╮
341
+ │ Comment [Approve] Changes │
342
+ │ │
343
+ │ summary for the agent (optional) │
344
+ │ │
345
+ │ Submit Cancel │
346
+ ╰─────────────────────────────────────╯
347
+
348
+
349
+
350
+
351
+
352
+
353
+
354
+ "
355
+ `;
356
+
357
+ exports[`stories catalog ConfirmCard/RequestChanges renders, snapshots, and carries its colors: ConfirmCard/RequestChanges 1`] = `
358
+ "╭─ submit review ─────────────────────╮
359
+ │ Comment Approve [Changes] │
360
+ │ │
361
+ │ Tighten the steps. │
362
+ │ │
363
+ │ Submit Cancel │
364
+ ╰─────────────────────────────────────╯
365
+
366
+
367
+
368
+
369
+
370
+
371
+
372
+ "
373
+ `;
374
+
375
+ exports[`stories catalog ConfirmCard/WithViewedSummary renders, snapshots, and carries its colors: ConfirmCard/WithViewedSummary 1`] = `
376
+ "╭─ submit review ─────────────────────╮
377
+ │ 2/3 files viewed │
378
+ │ │
379
+ │ Comment [Approve] Changes │
380
+ │ │
381
+ │ summary for the agent (optional) │
382
+ │ │
383
+ │ Submit Cancel │
384
+ ╰─────────────────────────────────────╯
385
+
386
+
387
+
388
+
389
+
390
+ "
391
+ `;
392
+
393
+ exports[`stories catalog ConfirmDialog/DeletePlan renders, snapshots, and carries its colors: ConfirmDialog/DeletePlan 1`] = `
394
+ "
395
+
396
+
397
+
398
+
399
+ ╭─ Delete plan ──────────────────────────────────────╮
400
+ │ │
401
+ │ Delete "Auth rollout"? This removes the plan and │
402
+ │ its review. │
403
+ │ │
404
+ │ Delete Cancel esc │
405
+ ╰────────────────────────────────────────────────────╯
406
+
407
+
408
+
409
+
410
+ "
411
+ `;
412
+
413
+ exports[`stories catalog DiffSheet/AnnotatedLine renders, snapshots, and carries its colors: DiffSheet/AnnotatedLine 1`] = `
414
+ "╭────────────────────────────────────────────────────────────────────────────────────────╮
415
+ │ ▎■ src/store.ts │
416
+ │ @@ -1,4 +1,4 @@ │
417
+ │ 1 export class Store { │
418
+ │ 2 - private items = []; │
419
+ │ 2◆ + private items = new Map(); │
420
+ │ ◆ Map needs an eviction story. │
421
+ │ 3 } │
422
+ │ │
423
+ │ │
424
+ │ │
425
+ │ │
426
+ │ │
427
+ │ │
428
+ │ │
429
+ ╰────────────────────────────────────────────────────────────────────────────────────────╯
430
+ "
431
+ `;
432
+
433
+ exports[`stories catalog DiffSheet/ComposingOnLine renders, snapshots, and carries its colors: DiffSheet/ComposingOnLine 1`] = `
434
+ "╭────────────────────────────────────────────────────────────────────────────────────────╮
435
+ │ ■ src/store.ts │
436
+ │ @@ -1,4 +1,4 @@ │
437
+ │ 1 export class Store { │
438
+ │ 2 - private items = []; │
439
+ │ ▎ 2 + private items = new Map(); │
440
+ │ ╭─ comment on " private items = new Map();" ─────────────────────────────────────────╮│
441
+ │ │ Map needs an eviction story. ││
442
+ │ │ Save Cancel ││
443
+ │ ╰─────────────────────────────────────────────────────────────────────────────────────╯│
444
+ │ 3 } │
445
+ │ │
446
+ │ │
447
+ │ │
448
+ │ │
449
+ ╰────────────────────────────────────────────────────────────────────────────────────────╯
450
+ "
451
+ `;
452
+
453
+ exports[`stories catalog DiffSheet/CursorOnAddedLine renders, snapshots, and carries its colors: DiffSheet/CursorOnAddedLine 1`] = `
454
+ "╭────────────────────────────────────────────────────────────────────────────────────────╮
455
+ │ ■ src/store.ts │
456
+ │ @@ -1,4 +1,4 @@ │
457
+ │ 1 export class Store { │
458
+ │ 2 - private items = []; │
459
+ │ ▎ 2 + private items = new Map(); │
460
+ │ 3 } │
461
+ │ │
462
+ │ │
463
+ │ │
464
+ │ │
465
+ │ │
466
+ │ │
467
+ │ │
468
+ │ │
469
+ ╰────────────────────────────────────────────────────────────────────────────────────────╯
470
+ "
471
+ `;
472
+
473
+ exports[`stories catalog DiffSheet/IntralineWordDiff renders, snapshots, and carries its colors: DiffSheet/IntralineWordDiff 1`] = `
474
+ "╭────────────────────────────────────────────────────────────────────────────────────────╮
475
+ │ ▎■ src/store.ts │
476
+ │ @@ -1,4 +1,4 @@ │
477
+ │ 1 export class Store { │
478
+ │ 2 - private items = []; │
479
+ │ 2 + private items = new Map(); │
480
+ │ 3 } │
481
+ │ │
482
+ │ │
483
+ │ │
484
+ │ │
485
+ │ │
486
+ │ │
487
+ │ │
488
+ │ │
489
+ ╰────────────────────────────────────────────────────────────────────────────────────────╯
490
+ "
491
+ `;
492
+
493
+ exports[`stories catalog DiffSheet/SignedRows renders, snapshots, and carries its colors: DiffSheet/SignedRows 1`] = `
494
+ "╭────────────────────────────────────────────────────────────────────────────────────────╮
495
+ │ ▎■ src/store.ts │
496
+ │ @@ -1,4 +1,4 @@ │
497
+ │ 1 export class Store { │
498
+ │ 2 - private items = []; │
499
+ │ 2 + private items = new Map(); │
500
+ │ 3 } │
501
+ │ │
502
+ │ │
503
+ │ │
504
+ │ │
505
+ │ │
506
+ │ │
507
+ │ │
508
+ │ │
509
+ ╰────────────────────────────────────────────────────────────────────────────────────────╯
510
+ "
511
+ `;
512
+
513
+ exports[`stories catalog InboxList/Empty renders, snapshots, and carries its colors: InboxList/Empty 1`] = `
514
+ "
515
+ nothing waiting for review
516
+
517
+
518
+
519
+
520
+
521
+
522
+ "
523
+ `;
524
+
525
+ exports[`stories catalog InboxList/TwoPending renders, snapshots, and carries its colors: InboxList/TwoPending 1`] = `
526
+ "
527
+ > Migration Plan · main · plan
528
+ working tree · main · diff
529
+
530
+
531
+
532
+
533
+
534
+
535
+
536
+
537
+
538
+ "
539
+ `;
540
+
541
+ exports[`stories catalog KeybindsDialog/Cheatsheet renders, snapshots, and carries its colors: KeybindsDialog/Cheatsheet 1`] = `
542
+ "
543
+
544
+
545
+
546
+
547
+ ╭─ keybinds ───────────────────────────────────────╮
548
+ │ │
549
+ │ Review │
550
+ │ j / k move │
551
+ │ v span │
552
+ │ c comment │
553
+ │ enter submit │
554
+ │ │
555
+ │ Submit │
556
+ │ ← / → verdict │
557
+ │ esc cancel │
558
+ │ │
559
+ │ [esc] │
560
+ ╰──────────────────────────────────────────────────╯
561
+
562
+
563
+
564
+
565
+
566
+ "
567
+ `;
568
+
569
+ exports[`stories catalog MarkerPopover/ActionsList renders, snapshots, and carries its colors: MarkerPopover/ActionsList 1`] = `
570
+ "╭───────────────────────────────╮
571
+ │ comment · cut · actions · [x] │
572
+ ╰───────────────────────────────╯
573
+ ╭───────────────────────────────────╮
574
+ │ Zoom out, research in depth │
575
+ │ Restate simplified │
576
+ │ › Out of scope │
577
+ │ Let's chat about this │
578
+ "
579
+ `;
580
+
581
+ exports[`stories catalog MarkerPopover/Toolbar renders, snapshots, and carries its colors: MarkerPopover/Toolbar 1`] = `
582
+ "╭───────────────────────────────╮
583
+ │ comment · cut · actions · [x] │
584
+ ╰───────────────────────────────╯
585
+
586
+ "
587
+ `;
588
+
589
+ exports[`stories catalog MarkerPopover/ToolbarNoCut renders, snapshots, and carries its colors: MarkerPopover/ToolbarNoCut 1`] = `
590
+ "╭─────────────────────────╮
591
+ │ comment · actions · [x] │
592
+ ╰─────────────────────────╯
593
+
594
+ "
595
+ `;
596
+
597
+ exports[`stories catalog MenuBar/Closed renders, snapshots, and carries its colors: MenuBar/Closed 1`] = `
598
+ "
599
+
600
+
601
+
602
+
603
+
604
+
605
+ menu v0.1.0-alpha.32
606
+ "
607
+ `;
608
+
609
+ exports[`stories catalog MenuBar/Open renders, snapshots, and carries its colors: MenuBar/Open 1`] = `
610
+ "
611
+
612
+
613
+ ╭──────────────╮
614
+ │ Settings │
615
+ │ Keybinds │
616
+ ╰──────────────╯
617
+ menu v0.1.0-alpha.32
618
+ "
619
+ `;
620
+
621
+ exports[`stories catalog PlanSheet/AnnotatedPlan renders, snapshots, and carries its colors: PlanSheet/AnnotatedPlan 1`] = `
622
+ "╭────────────────────────────────────────────────────────────────────────────────────────╮
623
+ │ Migration Plan │
624
+ │ │
625
+ │ Context │
626
+ │ │
627
+ │ ▎ The daemon persists sessions to disk atomically. │
628
+ │ │
629
+ │ Steps │
630
+ │ │
631
+ │ - move the store │
632
+ │ - add recovery │
633
+ │ │
634
+ │ ts │
635
+ │ │
636
+ │ export function persist(session: Session): void { │
637
+ │ // one JSON document per session │
638
+ │ writeAtomically(pathFor(session.id), serialize(session)); │
639
+ │ } │
640
+ │ │
641
+ │ │
642
+ │ │
643
+ │ │
644
+ │ │
645
+ │ │
646
+ │ │
647
+ │ │
648
+ │ │
649
+ ╰────────────────────────────────────────────────────────────────────────────────────────╯
650
+ "
651
+ `;
652
+
653
+ exports[`stories catalog PlanSheet/InlineCompose renders, snapshots, and carries its colors: PlanSheet/InlineCompose 1`] = `
654
+ "╭────────────────────────────────────────────────────────────────────────────────────────╮
655
+ │ Migration Plan │
656
+ │ │
657
+ │ Context │
658
+ │ │
659
+ │ ▎ The daemon persists sessions to disk atomically. │
660
+ │ ╭─ comment on "The daemon" ───────────────────────────────────────────────────────────╮│
661
+ │ │ Which daemon? ││
662
+ │ │ Save Cancel ││
663
+ │ ╰─────────────────────────────────────────────────────────────────────────────────────╯│
664
+ │ │
665
+ │ Steps │
666
+ │ │
667
+ │ - move the store │
668
+ │ - add recovery │
669
+ │ │
670
+ │ ts │
671
+ │ │
672
+ │ export function persist(session: Session): void { │
673
+ │ // one JSON document per session │
674
+ │ writeAtomically(pathFor(session.id), serialize(session)); │
675
+ │ } │
676
+ │ │
677
+ │ │
678
+ │ │
679
+ │ │
680
+ │ │
681
+ │ │
682
+ │ │
683
+ ╰────────────────────────────────────────────────────────────────────────────────────────╯
684
+ "
685
+ `;
686
+
687
+ exports[`stories catalog PlanSheet/OrphanBanner renders, snapshots, and carries its colors: PlanSheet/OrphanBanner 1`] = `
688
+ "╭────────────────────────────────────────────────────────────────────────────────────────╮
689
+ │ 1 annotation no longer match - the passage was removed. │
690
+ │ ▎ Migration Plan │
691
+ │ │
692
+ │ Context │
693
+ │ │
694
+ │ The daemon persists sessions to disk atomically. │
695
+ │ │
696
+ │ Steps │
697
+ │ │
698
+ │ - move the store │
699
+ │ - add recovery │
700
+ │ │
701
+ │ ts │
702
+ │ │
703
+ │ export function persist(session: Session): void { │
704
+ │ // one JSON document per session │
705
+ │ writeAtomically(pathFor(session.id), serialize(session)); │
706
+ │ } │
707
+ │ │
708
+ │ │
709
+ │ │
710
+ │ │
711
+ │ │
712
+ │ │
713
+ │ │
714
+ │ │
715
+ ╰────────────────────────────────────────────────────────────────────────────────────────╯
716
+ "
717
+ `;
718
+
719
+ exports[`stories catalog PlanSheet/SpanSelection renders, snapshots, and carries its colors: PlanSheet/SpanSelection 1`] = `
720
+ "╭────────────────────────────────────────────────────────────────────────────────────────╮
721
+ │ Migration Plan │
722
+ │ │
723
+ │ Context │
724
+ │ │
725
+ │ ▎ The daemon persists sessions to disk atomically. │
726
+ │ │
727
+ │ Steps │
728
+ │ │
729
+ │ - move the store │
730
+ │ - add recovery │
731
+ │ │
732
+ │ ts │
733
+ │ │
734
+ │ export function persist(session: Session): void { │
735
+ │ // one JSON document per session │
736
+ │ writeAtomically(pathFor(session.id), serialize(session)); │
737
+ │ } │
738
+ │ │
739
+ │ │
740
+ │ │
741
+ │ │
742
+ │ │
743
+ │ │
744
+ │ │
745
+ │ │
746
+ │ │
747
+ ╰────────────────────────────────────────────────────────────────────────────────────────╯
748
+ "
749
+ `;
750
+
751
+ exports[`stories catalog PlanSheet/WithCutBlock renders, snapshots, and carries its colors: PlanSheet/WithCutBlock 1`] = `
752
+ "╭────────────────────────────────────────────────────────────────────────────────────────╮
753
+ │ ▎ Migration Plan │
754
+ │ │
755
+ │ Context │
756
+ │ │
757
+ │ The daemon persists sessions to disk atomically. │
758
+ │ │
759
+ │ Steps │
760
+ │ │
761
+ │ - move the store │
762
+ │ - add recovery │
763
+ │ │
764
+ │ ts │
765
+ │ │
766
+ │ export function persist(session: Session): void { │
767
+ │ // one JSON document per session │
768
+ │ writeAtomically(pathFor(session.id), serialize(session)); │
769
+ │ } │
770
+ │ │
771
+ │ │
772
+ │ │
773
+ │ │
774
+ │ │
775
+ │ │
776
+ │ │
777
+ │ │
778
+ │ │
779
+ ╰────────────────────────────────────────────────────────────────────────────────────────╯
780
+ "
781
+ `;
782
+
783
+ exports[`stories catalog PromptDialog/NameYourself renders, snapshots, and carries its colors: PromptDialog/NameYourself 1`] = `
784
+ "
785
+
786
+
787
+
788
+
789
+ ╭─ Welcome ──────────────────────────────────────────╮
790
+ │ │
791
+ │ Your name (optional) - it attributes the notes │
792
+ │ you leave: │
793
+ │ your name │
794
+ │ enter save · esc cancel │
795
+ ╰────────────────────────────────────────────────────╯
796
+
797
+
798
+
799
+
800
+ "
801
+ `;
802
+
803
+ exports[`stories catalog PromptDialog/RenameAuthor renders, snapshots, and carries its colors: PromptDialog/RenameAuthor 1`] = `
804
+ "
805
+
806
+
807
+
808
+
809
+ ╭─ Rename author ────────────────────────────────────╮
810
+ │ │
811
+ │ Display name for this collaborator: │
812
+ │ Robin │
813
+ │ │
814
+ │ enter save · esc cancel │
815
+ ╰────────────────────────────────────────────────────╯
816
+
817
+
818
+
819
+
820
+ "
821
+ `;
822
+
823
+ exports[`stories catalog PrototypeSheet/Unsupported renders, snapshots, and carries its colors: PrototypeSheet/Unsupported 1`] = `
824
+ "╭──────────────────────────────────────────────────────────────────────────────╮
825
+ │ │
826
+ │ rendering prototype… │
827
+ │ │
828
+ │ │
829
+ │ │
830
+ │ │
831
+ │ │
832
+ │ │
833
+ │ │
834
+ │ │
835
+ │ │
836
+ │ │
837
+ │ │
838
+ │ │
839
+ │ │
840
+ │ │
841
+ │ │
842
+ │ │
843
+ │ │
844
+ │ │
845
+ │ │
846
+ │ │
847
+ ╰──────────────────────────────────────────────────────────────────────────────╯
848
+ "
849
+ `;
850
+
851
+ exports[`stories catalog ReviewPanel/Compact renders, snapshots, and carries its colors: ReviewPanel/Compact 1`] = `
852
+ " The plan takes the width the panel hands back.
853
+ 2
854
+
855
+ ●
856
+ ●
857
+
858
+
859
+
860
+
861
+
862
+
863
+
864
+
865
+
866
+
867
+
868
+
869
+
870
+
871
+
872
+
873
+
874
+ <
875
+
876
+ "
877
+ `;
878
+
879
+ exports[`stories catalog ReviewPanel/ExpandedNarrow renders, snapshots, and carries its colors: ReviewPanel/ExpandedNarrow 1`] = `
880
+ " The plan takes the width the panel hands back. ╭──────────────────────╮
881
+ │ Review Agent │
882
+ ╰──────────────────────╯
883
+ ╭─ COMMENT · me ───────╮
884
+ │ Whichidaemonsownss" │
885
+ │ this? │
886
+ ╰──────────────────────╯
887
+ ╭─ COMMENT · me ───────╮
888
+ │ moveetheestoree" │
889
+ │ behind o… │
890
+ ╰──────────────────────╯
891
+
892
+
893
+
894
+
895
+
896
+
897
+
898
+
899
+
900
+
901
+
902
+ > Submit review
903
+
904
+ "
905
+ `;
906
+
907
+ exports[`stories catalog ReviewPanel/ExpandedWide renders, snapshots, and carries its colors: ReviewPanel/ExpandedWide 1`] = `
908
+ " The plan takes the width the panel ╭────────────────────────────────────────────────╮
909
+ hands back. │ Review Agent │
910
+ ╰────────────────────────────────────────────────╯
911
+ ╭─ COMMENT · me ─────────────────────────────────╮
912
+ │ "persists sessions" │
913
+ │ Which daemon owns this? │
914
+ ╰────────────────────────────────────────────────╯
915
+ ╭─ COMMENT · me ─────────────────────────────────╮
916
+ │ "move the store" │
917
+ │ move the store behind o… │
918
+ ╰────────────────────────────────────────────────╯
919
+
920
+
921
+
922
+
923
+
924
+
925
+
926
+
927
+
928
+
929
+
930
+ > Submit review
931
+
932
+ "
933
+ `;
934
+
935
+ exports[`stories catalog ReviewPanel/Hidden renders, snapshots, and carries its colors: ReviewPanel/Hidden 1`] = `
936
+ " The plan takes the width the panel hands back.
937
+
938
+
939
+
940
+
941
+
942
+
943
+
944
+
945
+
946
+
947
+
948
+
949
+
950
+
951
+
952
+
953
+
954
+
955
+
956
+
957
+
958
+
959
+
960
+ "
961
+ `;
962
+
963
+ exports[`stories catalog ReviewRail/AgentTab renders, snapshots, and carries its colors: ReviewRail/AgentTab 1`] = `
964
+ "╭────────────────────────────────╮
965
+ │ Review Agent │
966
+ ╰────────────────────────────────╯
967
+ ╭────────────────────────────────╮
968
+ │ Claude Code │
969
+ ╰────────────────────────────────╯
970
+ ╭────────────────────────────────╮
971
+ │ Pi │
972
+ ╰────────────────────────────────╯
973
+ ╭────────────────────────────────╮
974
+ │ OpenAI Codex │
975
+ ╰────────────────────────────────╯
976
+ plan context: seed the plan
977
+
978
+
979
+
980
+
981
+
982
+
983
+
984
+
985
+
986
+
987
+
988
+ "
989
+ `;
990
+
991
+ exports[`stories catalog ReviewRail/AnnotationStack renders, snapshots, and carries its colors: ReviewRail/AnnotationStack 1`] = `
992
+ "╭────────────────────────────────╮
993
+ │ Review Agent │
994
+ ╰────────────────────────────────╯
995
+ ╭─ COMMENT · me ─────────────────╮
996
+ │ "persists sessions" │
997
+ │ Which daemon owns this? │
998
+ ╰────────────────────────────────╯
999
+ ╭─ COMMENT · me ─────────────────╮
1000
+ │ "move the store" │
1001
+ │ move the store behind o… │
1002
+ ╰────────────────────────────────╯
1003
+
1004
+
1005
+
1006
+
1007
+
1008
+
1009
+
1010
+
1011
+
1012
+
1013
+
1014
+ Submit review
1015
+
1016
+ "
1017
+ `;
1018
+
1019
+ exports[`stories catalog ReviewRail/InterleavedStack renders, snapshots, and carries its colors: ReviewRail/InterleavedStack 1`] = `
1020
+ "╭────────────────────────────────╮
1021
+ │ Review Agent │
1022
+ ╰────────────────────────────────╯
1023
+ ╭─ CUT · me ─────────────────────╮
1024
+ │ - add recovery │
1025
+ ╰────────────────────────────────╯
1026
+ ╭─ COMMENT · me ─────────────────╮
1027
+ │ "persists sessions" │
1028
+ │ Which daemon owns this? │
1029
+ ╰────────────────────────────────╯
1030
+ ╭─ COMMENT · me ─────────────────╮
1031
+ │ "move the store" │
1032
+ │ move the store behind o… │
1033
+ ╰────────────────────────────────╯
1034
+
1035
+
1036
+
1037
+
1038
+
1039
+
1040
+
1041
+
1042
+ Submit review
1043
+
1044
+ "
1045
+ `;
1046
+
1047
+ exports[`stories catalog ReviewRail/MixedOwnershipStack renders, snapshots, and carries its colors: ReviewRail/MixedOwnershipStack 1`] = `
1048
+ "╭────────────────────────────────╮
1049
+ │ Review Agent │
1050
+ ╰────────────────────────────────╯
1051
+ ╭─ COMMENT · me ─────────────────╮
1052
+ │ "persists sessions" │
1053
+ │ Which daemon owns this? │
1054
+ ╰────────────────────────────────╯
1055
+ ╭─ COMMENT · Priya ──────────────╮
1056
+ │ "move the store" │
1057
+ │ move it behind one inte… │
1058
+ ╰────────────────────────────────╯
1059
+
1060
+
1061
+
1062
+
1063
+
1064
+
1065
+
1066
+
1067
+
1068
+
1069
+
1070
+ Submit review
1071
+
1072
+ "
1073
+ `;
1074
+
1075
+ exports[`stories catalog ReviewRail/Removals renders, snapshots, and carries its colors: ReviewRail/Removals 1`] = `
1076
+ "╭────────────────────────────────╮
1077
+ │ Review Agent │
1078
+ ╰────────────────────────────────╯
1079
+ ╭─ REJECT · me ──────────────────╮
1080
+ │ - private items = []; │
1081
+ │ + private items = new… │
1082
+ │ undo │
1083
+ ╰────────────────────────────────╯
1084
+ ╭─ REJECT · me ──────────────────╮
1085
+ │ - return null; │
1086
+ │ + return fallback(); │
1087
+ │ + log(fallback); │
1088
+ ╰────────────────────────────────╯
1089
+
1090
+
1091
+
1092
+
1093
+
1094
+
1095
+
1096
+
1097
+
1098
+ Submit review
1099
+
1100
+ "
1101
+ `;
1102
+
1103
+ exports[`stories catalog ReviewRail/Resolved renders, snapshots, and carries its colors: ReviewRail/Resolved 1`] = `
1104
+ "╭────────────────────────────────╮
1105
+ │ Review Agent │
1106
+ ╰────────────────────────────────╯
1107
+ ╭─ COMMENT · me · ORPHANED ──────╮
1108
+ │ "persists sessions" │
1109
+ │ Which daemon owns this? │
1110
+ ╰────────────────────────────────╯
1111
+ ╭─ COMMENT · me · ORPHANED ──────╮
1112
+ │ "move the store" │
1113
+ │ move the store behind o… │
1114
+ ╰────────────────────────────────╯
1115
+
1116
+
1117
+
1118
+
1119
+
1120
+
1121
+
1122
+
1123
+
1124
+
1125
+
1126
+ resolved: approve
1127
+
1128
+ "
1129
+ `;
1130
+
1131
+ exports[`stories catalog ReviewRail/SubmitConfirmOpen renders, snapshots, and carries its colors: ReviewRail/SubmitConfirmOpen 1`] = `
1132
+ "╭────────────────────────────────╮
1133
+ │ Review Agent │
1134
+ ╰────────────────────────────────╯
1135
+ ╭─ COMMENT · me · ORPHANED ──────╮
1136
+ │ "persists sessions" │
1137
+ │ Which daemon owns this? │
1138
+ ╰────────────────────────────────╯
1139
+ ╭─ COMMENT · me · ORPHANED ──────╮
1140
+ │ "move the store" │
1141
+ │ move the store behind o… │
1142
+ ╰────────────────────────────────╯
1143
+
1144
+
1145
+
1146
+
1147
+
1148
+
1149
+
1150
+
1151
+
1152
+
1153
+
1154
+ ╭─ submit review ───────────────╮
1155
+ │ Comment Approve [Changes] │
1156
+ │ │
1157
+ │ summary for the agent (optiona│
1158
+ │ │
1159
+ │ Submit Cancel │
1160
+ ╰───────────────────────────────╯
1161
+
1162
+ "
1163
+ `;
1164
+
1165
+ exports[`stories catalog SettingsDialog/AppearanceThemed renders, snapshots, and carries its colors: SettingsDialog/AppearanceThemed 1`] = `
1166
+ "
1167
+
1168
+
1169
+
1170
+ ╭─ Settings ───────────────────────────────────────────────────────────────╮
1171
+ │ SETTINGS Appearance │
1172
+ │ General the color theme │
1173
+ │ Display │
1174
+ │ › Appearance Theme Rosé Pine Moon │
1175
+ │ │
1176
+ │ │
1177
+ │ │
1178
+ │ │
1179
+ │ │
1180
+ │ │
1181
+ │ │
1182
+ │ │
1183
+ │ │
1184
+ │ │
1185
+ │ │
1186
+ │ │
1187
+ │ │
1188
+ │ │
1189
+ │ │
1190
+ │ j/k row · l/space change · h back · esc close │
1191
+ ╰──────────────────────────────────────────────────────────────────────────╯
1192
+
1193
+
1194
+
1195
+
1196
+ "
1197
+ `;
1198
+
1199
+ exports[`stories catalog SettingsDialog/BodyZone renders, snapshots, and carries its colors: SettingsDialog/BodyZone 1`] = `
1200
+ "
1201
+
1202
+
1203
+
1204
+ ╭─ Settings ───────────────────────────────────────────────────────────────╮
1205
+ │ SETTINGS Display │
1206
+ │ General plan width and chrome │
1207
+ │ › Display │
1208
+ │ Appearance Plan width default │
1209
+ │ Line numbers on │
1210
+ │ │
1211
+ │ │
1212
+ │ │
1213
+ │ │
1214
+ │ │
1215
+ │ │
1216
+ │ │
1217
+ │ │
1218
+ │ │
1219
+ │ │
1220
+ │ │
1221
+ │ │
1222
+ │ │
1223
+ │ │
1224
+ │ j/k row · l/space change · h back · esc close │
1225
+ ╰──────────────────────────────────────────────────────────────────────────╯
1226
+
1227
+
1228
+
1229
+
1230
+ "
1231
+ `;
1232
+
1233
+ exports[`stories catalog SettingsDialog/NavZone renders, snapshots, and carries its colors: SettingsDialog/NavZone 1`] = `
1234
+ "
1235
+
1236
+
1237
+
1238
+ ╭─ Settings ───────────────────────────────────────────────────────────────╮
1239
+ │ SETTINGS General │
1240
+ │ › General identity and submission │
1241
+ │ Display │
1242
+ │ Appearance Display name amber-heron │
1243
+ │ Auto-close on submit 3s │
1244
+ │ │
1245
+ │ │
1246
+ │ │
1247
+ │ │
1248
+ │ │
1249
+ │ │
1250
+ │ │
1251
+ │ │
1252
+ │ │
1253
+ │ │
1254
+ │ │
1255
+ │ │
1256
+ │ │
1257
+ │ │
1258
+ │ j/k category · l/enter into settings · esc close │
1259
+ ╰──────────────────────────────────────────────────────────────────────────╯
1260
+
1261
+
1262
+
1263
+
1264
+ "
1265
+ `;
1266
+
1267
+ exports[`stories catalog SettingsRows/AllKinds renders, snapshots, and carries its colors: SettingsRows/AllKinds 1`] = `
1268
+ " Line numbers on
1269
+ Hide whitespace off
1270
+ Palette dark
1271
+ Vault path ~/vaults/notes
1272
+
1273
+
1274
+
1275
+
1276
+
1277
+
1278
+
1279
+
1280
+
1281
+
1282
+
1283
+
1284
+
1285
+
1286
+
1287
+
1288
+
1289
+
1290
+
1291
+
1292
+ "
1293
+ `;
1294
+
1295
+ exports[`stories catalog Toast/ShareLink renders, snapshots, and carries its colors: Toast/ShareLink 1`] = `
1296
+ "
1297
+
1298
+
1299
+ ╭─ share link copied ─────────╮
1300
+ │ │
1301
+ │ ssh review-4f2a@cueloop.dev │
1302
+ │ │
1303
+ │ [esc] │
1304
+ ╰─────────────────────────────╯
1305
+
1306
+
1307
+
1308
+ "
1309
+ `;
1310
+
1311
+ exports[`stories catalog WalkWizard/EndCard renders, snapshots, and carries its colors: WalkWizard/EndCard 1`] = `
1312
+ "
1313
+
1314
+
1315
+
1316
+
1317
+
1318
+
1319
+
1320
+
1321
+
1322
+ ╭─ walk complete ──────────────────────────────────────────────────────╮
1323
+ │ every file viewed (3/3) │
1324
+ │ │
1325
+ │ Submit review [ back │
1326
+ ╰──────────────────────────────────────────────────────────────────────╯
1327
+
1328
+
1329
+
1330
+
1331
+
1332
+
1333
+
1334
+
1335
+
1336
+ "
1337
+ `;
1338
+
1339
+ exports[`stories catalog WalkWizard/EndCardPartialPass renders, snapshots, and carries its colors: WalkWizard/EndCardPartialPass 1`] = `
1340
+ "
1341
+
1342
+
1343
+
1344
+
1345
+
1346
+
1347
+
1348
+
1349
+
1350
+ ╭─ walk complete ──────────────────────────────────────────────────────╮
1351
+ │ 1 of 3 files viewed │
1352
+ │ │
1353
+ │ Submit review [ back │
1354
+ ╰──────────────────────────────────────────────────────────────────────╯
1355
+
1356
+
1357
+
1358
+
1359
+
1360
+
1361
+
1362
+
1363
+
1364
+ "
1365
+ `;
1366
+
1367
+ exports[`stories catalog WalkWizard/FirstFile renders, snapshots, and carries its colors: WalkWizard/FirstFile 1`] = `
1368
+ "
1369
+
1370
+
1371
+
1372
+
1373
+
1374
+
1375
+
1376
+ ╭─ file 1 of 3 · 0 viewed ─────────────────────────────────────────────╮
1377
+ │ packages/daemon/src/store.ts │
1378
+ │ +12 -3 │
1379
+ │ │
1380
+ │ +const viewed = new Set<string>(); │
1381
+ │ +record.viewedPaths = [...viewed]; │
1382
+ │ -// viewed tracking lives in the client only │
1383
+ ╰──────────────────────────────────────────────────────────────────────╯
1384
+
1385
+
1386
+
1387
+
1388
+
1389
+
1390
+
1391
+
1392
+ "
1393
+ `;
1394
+
1395
+ exports[`stories catalog WalkWizard/WithAgentNote renders, snapshots, and carries its colors: WalkWizard/WithAgentNote 1`] = `
1396
+ "
1397
+
1398
+
1399
+
1400
+
1401
+
1402
+
1403
+ ╭─ file 2 of 3 · 1 viewed ─────────────────────────────────────────────╮
1404
+ │ packages/client/src/walk.ts │
1405
+ │ +48 -0 │
1406
+ │ │
1407
+ │ +export function firstUnviewedIndex(files, viewed) { │
1408
+ ╰──────────────────────────────────────────────────────────────────────╯
1409
+
1410
+ ╭─ agent note ─────────────────────────────────────────────────────────╮
1411
+ │ New module: pure helpers that pick the next unviewed file. No IO, │
1412
+ │ unit tested. │
1413
+ ╰──────────────────────────────────────────────────────────────────────╯
1414
+
1415
+
1416
+
1417
+
1418
+
1419
+
1420
+ "
1421
+ `;
1422
+
1423
+ exports[`stories catalog AgentLauncher/Launcher renders, snapshots, and carries its colors: AgentLauncher/Launcher 1`] = `
1424
+ " ╭────────────────────────────────────╮
1425
+ │ Claude Code │
1426
+ ╰────────────────────────────────────╯
1427
+ ╭────────────────────────────────────╮
1428
+ │ Pi │
1429
+ ╰────────────────────────────────────╯
1430
+ ╭────────────────────────────────────╮
1431
+ │ OpenAI Codex │
1432
+ ╰────────────────────────────────────╯
1433
+ plan context: seed the plan
1434
+
1435
+
1436
+
1437
+
1438
+
1439
+
1440
+
1441
+
1442
+
1443
+
1444
+
1445
+
1446
+
1447
+
1448
+ "
1449
+ `;
1450
+
1451
+ exports[`stories catalog primitives/Button/Disabled renders, snapshots, and carries its colors: primitives/Button/Disabled 1`] = `
1452
+ " Edit
1453
+
1454
+
1455
+
1456
+
1457
+
1458
+
1459
+
1460
+
1461
+
1462
+
1463
+
1464
+
1465
+
1466
+
1467
+
1468
+
1469
+
1470
+
1471
+
1472
+
1473
+
1474
+
1475
+
1476
+ "
1477
+ `;
1478
+
1479
+ exports[`stories catalog primitives/Button/Variants renders, snapshots, and carries its colors: primitives/Button/Variants 1`] = `
1480
+ " Save Cancel esc Submit review
1481
+
1482
+
1483
+
1484
+
1485
+
1486
+
1487
+
1488
+
1489
+
1490
+
1491
+
1492
+
1493
+
1494
+
1495
+
1496
+
1497
+
1498
+
1499
+
1500
+
1501
+
1502
+
1503
+
1504
+ "
1505
+ `;
1506
+
1507
+ exports[`stories catalog primitives/Card/AccentBorder renders, snapshots, and carries its colors: primitives/Card/AccentBorder 1`] = `
1508
+ "╭─ accented ───────────────────────────────────────────────────────────────────╮
1509
+ │ content │
1510
+ ╰──────────────────────────────────────────────────────────────────────────────╯
1511
+
1512
+
1513
+
1514
+
1515
+
1516
+
1517
+
1518
+
1519
+
1520
+
1521
+
1522
+
1523
+
1524
+
1525
+
1526
+
1527
+
1528
+
1529
+
1530
+
1531
+
1532
+ "
1533
+ `;
1534
+
1535
+ exports[`stories catalog primitives/Card/Titled renders, snapshots, and carries its colors: primitives/Card/Titled 1`] = `
1536
+ "╭─ a titled card ──────────────────────────────────────────────────────────────╮
1537
+ │ first content row │
1538
+ │ second content row │
1539
+ ╰──────────────────────────────────────────────────────────────────────────────╯
1540
+
1541
+
1542
+
1543
+
1544
+
1545
+
1546
+
1547
+
1548
+
1549
+
1550
+
1551
+
1552
+
1553
+
1554
+
1555
+
1556
+
1557
+
1558
+
1559
+
1560
+ "
1561
+ `;
1562
+
1563
+ exports[`stories catalog primitives/Dialog/Closed renders, snapshots, and carries its colors: primitives/Dialog/Closed 1`] = `
1564
+ "
1565
+
1566
+
1567
+
1568
+
1569
+
1570
+
1571
+
1572
+
1573
+
1574
+
1575
+
1576
+
1577
+
1578
+
1579
+
1580
+
1581
+
1582
+
1583
+
1584
+
1585
+
1586
+
1587
+
1588
+ "
1589
+ `;
1590
+
1591
+ exports[`stories catalog primitives/Dialog/Open renders, snapshots, and carries its colors: primitives/Dialog/Open 1`] = `
1592
+ "
1593
+
1594
+
1595
+
1596
+ ╭─ a modal ────────────────────────────╮
1597
+ │dialog body content │
1598
+ │ │
1599
+ │ │
1600
+ │ │
1601
+ │ │
1602
+ │ │
1603
+ ╰──────────────────────────────────────╯
1604
+
1605
+
1606
+
1607
+
1608
+ "
1609
+ `;
1610
+
1611
+ exports[`stories catalog primitives/StatusBar/HintLine renders, snapshots, and carries its colors: primitives/StatusBar/HintLine 1`] = `
1612
+ " j/k move · v span · c comment · q quit
1613
+
1614
+
1615
+
1616
+
1617
+
1618
+
1619
+
1620
+
1621
+
1622
+
1623
+
1624
+
1625
+
1626
+
1627
+
1628
+
1629
+
1630
+
1631
+
1632
+
1633
+
1634
+
1635
+
1636
+ "
1637
+ `;
1638
+
1639
+ exports[`stories catalog primitives/Tabs/SecondSelected renders, snapshots, and carries its colors: primitives/Tabs/SecondSelected 1`] = `
1640
+ "╭──────────────────────────────────────────────────────────────────────────────╮
1641
+ │ Review (0) Agent │
1642
+ ╰──────────────────────────────────────────────────────────────────────────────╯
1643
+
1644
+
1645
+
1646
+
1647
+
1648
+
1649
+
1650
+
1651
+
1652
+
1653
+
1654
+
1655
+
1656
+
1657
+
1658
+
1659
+
1660
+
1661
+
1662
+
1663
+
1664
+ "
1665
+ `;
1666
+
1667
+ exports[`stories catalog primitives/Tabs/TwoTabs renders, snapshots, and carries its colors: primitives/Tabs/TwoTabs 1`] = `
1668
+ "╭──────────────────────────────────────────────────────────────────────────────╮
1669
+ │ Review (2) Agent │
1670
+ ╰──────────────────────────────────────────────────────────────────────────────╯
1671
+
1672
+
1673
+
1674
+
1675
+
1676
+
1677
+
1678
+
1679
+
1680
+
1681
+
1682
+
1683
+
1684
+
1685
+
1686
+
1687
+
1688
+
1689
+
1690
+
1691
+
1692
+ "
1693
+ `;
1694
+
1695
+ exports[`stories catalog primitives/Toolbar/ActionRow renders, snapshots, and carries its colors: primitives/Toolbar/ActionRow 1`] = `
1696
+ " Submit Cancel
1697
+
1698
+
1699
+
1700
+
1701
+
1702
+
1703
+
1704
+
1705
+
1706
+
1707
+
1708
+
1709
+
1710
+
1711
+
1712
+
1713
+
1714
+
1715
+
1716
+
1717
+
1718
+
1719
+
1720
+ "
1721
+ `;
1722
+
1723
+ exports[`stories catalog QuickActionsEditor/Collapsed renders, snapshots, and carries its colors: QuickActionsEditor/Collapsed 1`] = `
1724
+ " click a prompt to edit its system reset to
1725
+ prompt defaults ▸
1726
+
1727
+ ▸ Zoom out, research in depth
1728
+ Research the broader problem, prior art, an…
1729
+ ▸ Restate simplified
1730
+ Restate this as the simplest thing that wor…
1731
+ ▸ Out of scope
1732
+ This is out of scope for the task, so captu…
1733
+ ▸ Let's chat about this
1734
+ Do not implement yet, and surface the open …
1735
+ ▸ Prototype this
1736
+ Build a throwaway prototype to answer the q…
1737
+ ▸ Ensure 0 regressions
1738
+ Characterize the current behavior with test…
1739
+ ▸ Consider existing repo patterns
1740
+ Follow the nearest existing pattern in this…
1741
+ + Add action
1742
+
1743
+
1744
+
1745
+
1746
+ "
1747
+ `;
1748
+
1749
+ exports[`stories catalog QuickActionsEditor/RowExpanded renders, snapshots, and carries its colors: QuickActionsEditor/RowExpanded 1`] = `
1750
+ " click a prompt to edit its system reset to
1751
+ prompt defaults ▸
1752
+
1753
+ ▸ Zoom out, research in depth
1754
+ Research the broader problem, prior art, an…
1755
+ ▾ Restate simplified
1756
+ > Restate this as the simplest thing that works an
1757
+ ▸ Out of scope
1758
+ This is out of scope for the task, so captu…
1759
+ ▸ Let's chat about this
1760
+ Do not implement yet, and surface the open …
1761
+ ▸ Prototype this
1762
+ Build a throwaway prototype to answer the q…
1763
+ ▸ Ensure 0 regressions
1764
+ Characterize the current behavior with test…
1765
+ ▸ Consider existing repo patterns
1766
+ Follow the nearest existing pattern in this…
1767
+ + Add action
1768
+
1769
+
1770
+
1771
+
1772
+ "
1773
+ `;
1774
+
1775
+ exports[`stories catalog theme-context/ContextDefault renders, snapshots, and carries its colors: theme-context/ContextDefault 1`] = `
1776
+ "╭─ default dark theme ─────────────────────────────────────────────────────────╮
1777
+ │ no provider needed │
1778
+ ╰──────────────────────────────────────────────────────────────────────────────╯
1779
+
1780
+
1781
+
1782
+
1783
+
1784
+
1785
+
1786
+
1787
+
1788
+
1789
+
1790
+
1791
+
1792
+
1793
+
1794
+
1795
+
1796
+
1797
+
1798
+
1799
+
1800
+ "
1801
+ `;
1802
+
1803
+ exports[`stories catalog theme-context/PropOverride renders, snapshots, and carries its colors: theme-context/PropOverride 1`] = `
1804
+ "╭─ prop-overridden theme ──────────────────────────────────────────────────────╮
1805
+ │ the theme prop beats the context │
1806
+ ╰──────────────────────────────────────────────────────────────────────────────╯
1807
+
1808
+
1809
+
1810
+
1811
+
1812
+
1813
+
1814
+
1815
+
1816
+
1817
+
1818
+
1819
+
1820
+
1821
+
1822
+
1823
+
1824
+
1825
+
1826
+
1827
+
1828
+ "
1829
+ `;
1830
+
1831
+ exports[`stories catalog theme-context/ProviderSwap renders, snapshots, and carries its colors: theme-context/ProviderSwap 1`] = `
1832
+ "╭─ provider theme ─────────────────────────────────────────────────────────────╮
1833
+ │ tokens come from the provider │
1834
+ ╰──────────────────────────────────────────────────────────────────────────────╯
1835
+
1836
+
1837
+
1838
+
1839
+
1840
+
1841
+
1842
+
1843
+
1844
+
1845
+
1846
+
1847
+
1848
+
1849
+
1850
+
1851
+
1852
+
1853
+
1854
+
1855
+
1856
+ "
1857
+ `;