@cueloop/client 0.1.0-alpha.32 → 0.1.0-alpha.34

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 (101) hide show
  1. package/package.json +27 -26
  2. package/src/App.autoclose.test.tsx +7 -4
  3. package/src/App.diff.test.tsx +131 -5
  4. package/src/App.export.test.tsx +23 -5
  5. package/src/App.plan-review.test.tsx +133 -32
  6. package/src/App.readonly.test.tsx +35 -13
  7. package/src/App.rendering.test.tsx +14 -4
  8. package/src/App.review-panel.test.tsx +27 -15
  9. package/src/App.submit-confirm.test.tsx +14 -13
  10. package/src/App.test.tsx +50 -13
  11. package/src/App.toast.test.tsx +75 -0
  12. package/src/App.tsx +505 -101
  13. package/src/App.walk.test.tsx +31 -11
  14. package/src/attribution.ts +8 -2
  15. package/src/clipboard.ts +5 -1
  16. package/src/components/AnnotationCard.stories.tsx +29 -10
  17. package/src/components/AnnotationCard.tsx +57 -37
  18. package/src/components/Breadcrumb.tsx +7 -1
  19. package/src/components/CodeBlock.stories.tsx +19 -2
  20. package/src/components/CodeBlock.tsx +24 -9
  21. package/src/components/CompletionOverlay.tsx +13 -3
  22. package/src/components/ConfirmCard.stories.tsx +22 -3
  23. package/src/components/ConfirmCard.tsx +23 -5
  24. package/src/components/ConfirmDialog.tsx +10 -2
  25. package/src/components/DiffSheet.scroll.test.tsx +123 -0
  26. package/src/components/DiffSheet.stories.tsx +35 -1
  27. package/src/components/DiffSheet.syntax.test.tsx +62 -0
  28. package/src/components/DiffSheet.tsx +213 -101
  29. package/src/components/InboxList.stories.tsx +16 -3
  30. package/src/components/InboxList.tsx +17 -10
  31. package/src/components/KeybindsDialog.stories.tsx +31 -0
  32. package/src/components/KeybindsDialog.tsx +58 -0
  33. package/src/components/MarkerPopover.stories.tsx +58 -0
  34. package/src/components/MarkerPopover.tsx +102 -0
  35. package/src/components/MenuBar.stories.tsx +37 -0
  36. package/src/components/MenuBar.tsx +74 -0
  37. package/src/components/PlanSheet.stories.tsx +35 -3
  38. package/src/components/PlanSheet.tsx +160 -100
  39. package/src/components/PromptDialog.tsx +19 -3
  40. package/src/components/ReviewPanel.stories.tsx +17 -19
  41. package/src/components/ReviewPanel.tsx +17 -32
  42. package/src/components/ReviewRail.stories.tsx +159 -47
  43. package/src/components/ReviewRail.tsx +206 -62
  44. package/src/components/SettingsDialog.stories.tsx +51 -3
  45. package/src/components/SettingsDialog.tsx +11 -5
  46. package/src/components/SettingsRows.stories.tsx +1 -1
  47. package/src/components/SettingsRows.tsx +19 -3
  48. package/src/components/Toast.stories.tsx +12 -0
  49. package/src/components/Toast.tsx +44 -0
  50. package/src/components/WalkWizard.stories.tsx +13 -2
  51. package/src/components/WalkWizard.tsx +9 -3
  52. package/src/components/__snapshots__/stories.test.tsx.snap +853 -623
  53. package/src/components/diff-sheet-layout.test.ts +127 -0
  54. package/src/components/diff-sheet-layout.ts +167 -0
  55. package/src/components/primitives/Button.stories.tsx +2 -2
  56. package/src/components/primitives/Button.tsx +5 -1
  57. package/src/components/primitives/Dialog.tsx +12 -1
  58. package/src/components/primitives/Tabs.tsx +40 -39
  59. package/src/components/stories-app.tsx +34 -6
  60. package/src/components/story-fixtures.ts +11 -3
  61. package/src/components/story.ts +3 -1
  62. package/src/components/syntax-highlight.ts +47 -12
  63. package/src/components/theme-context.stories.tsx +6 -1
  64. package/src/components/theme-context.tsx +7 -1
  65. package/src/config.test.ts +178 -2
  66. package/src/config.ts +121 -23
  67. package/src/diff-hunk-curate.test.ts +315 -0
  68. package/src/diff-hunk-curate.ts +233 -0
  69. package/src/diff-intraline.test.ts +164 -0
  70. package/src/diff-intraline.ts +132 -0
  71. package/src/diff-syntax.test.ts +96 -0
  72. package/src/diff-syntax.ts +154 -0
  73. package/src/editor.test.ts +13 -4
  74. package/src/editor.ts +31 -5
  75. package/src/herdr.ts +8 -2
  76. package/src/index.ts +9 -1
  77. package/src/integrations.ts +3 -1
  78. package/src/intent-dispatch.test.ts +193 -9
  79. package/src/intent-dispatch.ts +151 -18
  80. package/src/key-bindings.test.ts +19 -9
  81. package/src/key-bindings.ts +77 -16
  82. package/src/keymap.test.ts +171 -26
  83. package/src/keymap.ts +83 -16
  84. package/src/review-panel.test.ts +3 -1
  85. package/src/review-panel.ts +9 -2
  86. package/src/serve.test.ts +13 -5
  87. package/src/session-controller.curate.test.ts +253 -0
  88. package/src/session-controller.share.test.ts +77 -16
  89. package/src/session-controller.ts +319 -26
  90. package/src/share.ts +41 -8
  91. package/src/test-support.ts +97 -23
  92. package/src/theme-presets.ts +168 -0
  93. package/src/theme.ts +1 -3
  94. package/src/version.ts +5 -0
  95. package/src/view-diff.ts +15 -4
  96. package/src/view-plan.test.ts +40 -6
  97. package/src/view-plan.ts +71 -28
  98. package/src/walk.test.ts +7 -2
  99. package/src/walk.ts +7 -2
  100. package/src/components/ComposeBar.stories.tsx +0 -18
  101. package/src/components/ComposeBar.tsx +0 -54
@@ -1,10 +1,10 @@
1
1
  // Bun Snapshot v1, https://bun.sh/docs/test/snapshots
2
2
 
3
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 esc │
7
- ╰──────────────────────────────────────────────────────────────────────────╯
4
+ "╭─ comment on "persists sessions" ─────────────────────────────────────────────╮
5
+ │ Which daemon? │
6
+ │ Save Cancel │
7
+ ╰──────────────────────────────────────────────────────────────────────────────╯
8
8
 
9
9
 
10
10
 
@@ -28,11 +28,11 @@ exports[`stories catalog AnnotationCard/CommentDraft renders, snapshots, and car
28
28
  "
29
29
  `;
30
30
 
31
- exports[`stories catalog AnnotationCard/SavedEditing renders, snapshots, and carries its colors: AnnotationCard/SavedEditing 1`] = `
32
- "▸ SUGGESTION · pending
33
- "move the store"
34
- new body
35
- Save ⏎ Cancel esc
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
36
 
37
37
 
38
38
 
@@ -56,12 +56,12 @@ new body
56
56
  "
57
57
  `;
58
58
 
59
- exports[`stories catalog AnnotationCard/SavedOrphanBlocking renders, snapshots, and carries its colors: AnnotationCard/SavedOrphanBlocking 1`] = `
60
- " COMMENT · BLOCKING · ORPHANED
61
- "a removed passage"
62
- The passage is gone.
63
-
64
-
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
65
 
66
66
 
67
67
 
@@ -84,11 +84,11 @@ exports[`stories catalog AnnotationCard/SavedOrphanBlocking renders, snapshots,
84
84
  "
85
85
  `;
86
86
 
87
- exports[`stories catalog AnnotationCard/SavedSelected renders, snapshots, and carries its colors: AnnotationCard/SavedSelected 1`] = `
88
- "▸ COMMENT · pending
89
- "persists sessions"
90
- Which daemon owns this?
91
-
87
+ exports[`stories catalog AnnotationCard/SavedOrphanBlocking renders, snapshots, and carries its colors: AnnotationCard/SavedOrphanBlocking 1`] = `
88
+ "╭─ COMMENT · me · BLOCKING · ORPHANED ─────────────────────────────────────────╮
89
+ │ "a removed passage" │
90
+ │ The passage is gone. │
91
+ ╰──────────────────────────────────────────────────────────────────────────────╯
92
92
 
93
93
 
94
94
 
@@ -112,11 +112,11 @@ exports[`stories catalog AnnotationCard/SavedSelected renders, snapshots, and ca
112
112
  "
113
113
  `;
114
114
 
115
- exports[`stories catalog AnnotationCard/SuggestionDraft renders, snapshots, and carries its colors: AnnotationCard/SuggestionDraft 1`] = `
116
- " ╭─ suggest replacement for "move the store" ───────────────────────────────╮
117
- │ write a note... │
118
- │ Save ⏎ Cancel esc │
119
- ╰──────────────────────────────────────────────────────────────────────────╯
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
120
 
121
121
 
122
122
 
@@ -196,7 +196,7 @@ exports[`stories catalog CodeBlock/CursorAnnotatedEdited renders, snapshots, and
196
196
  "
197
197
  `;
198
198
 
199
- exports[`stories catalog CodeBlock/Typescript renders, snapshots, and carries its colors: CodeBlock/Typescript 1`] = `
199
+ exports[`stories catalog CodeBlock/Cut renders, snapshots, and carries its colors: CodeBlock/Cut 1`] = `
200
200
  " ts
201
201
 
202
202
  export function gate(full: number) {
@@ -224,13 +224,13 @@ exports[`stories catalog CodeBlock/Typescript renders, snapshots, and carries it
224
224
  "
225
225
  `;
226
226
 
227
- exports[`stories catalog CodeBlock/UnknownLanguage renders, snapshots, and carries its colors: CodeBlock/UnknownLanguage 1`] = `
228
- " brainfog
229
-
230
- plain verbatim lines
231
- with indentation
232
-
227
+ exports[`stories catalog CodeBlock/Typescript renders, snapshots, and carries its colors: CodeBlock/Typescript 1`] = `
228
+ " ts
233
229
 
230
+ export function gate(full: number) {
231
+ // threshold
232
+ return full < 0.6 ? "blocked" : "clear";
233
+ }
234
234
 
235
235
 
236
236
 
@@ -252,36 +252,13 @@ exports[`stories catalog CodeBlock/UnknownLanguage renders, snapshots, and carri
252
252
  "
253
253
  `;
254
254
 
255
- exports[`stories catalog CompletionOverlay/ApprovedPrompt renders, snapshots, and carries its colors: CompletionOverlay/ApprovedPrompt 1`] = `
256
- "
257
-
258
-
259
-
260
-
261
-
262
-
263
-
264
-
265
- review approved
266
-
267
- The agent has your approval and is unblocked.
268
-
269
- close [return] · return to plan [esc] · always [a]
270
-
271
-
272
-
273
-
274
-
275
-
276
-
255
+ exports[`stories catalog CodeBlock/UnknownLanguage renders, snapshots, and carries its colors: CodeBlock/UnknownLanguage 1`] = `
256
+ " brainfog
277
257
 
258
+ plain verbatim lines
259
+ with indentation
278
260
 
279
261
 
280
- "
281
- `;
282
-
283
- exports[`stories catalog CompletionOverlay/FeedbackCounting renders, snapshots, and carries its colors: CompletionOverlay/FeedbackCounting 1`] = `
284
- "
285
262
 
286
263
 
287
264
 
@@ -289,13 +266,8 @@ exports[`stories catalog CompletionOverlay/FeedbackCounting renders, snapshots,
289
266
 
290
267
 
291
268
 
292
- feedback sent
293
269
 
294
- The agent has your feedback and is unblocked.
295
- returning to agent/worker-3 on close
296
- exported to vault/cueloop/plan.md
297
270
 
298
- close [return] · closing in 3s · return to plan [esc] · always [a]
299
271
 
300
272
 
301
273
 
@@ -308,11 +280,8 @@ exports[`stories catalog CompletionOverlay/FeedbackCounting renders, snapshots,
308
280
  "
309
281
  `;
310
282
 
311
- exports[`stories catalog ComposeBar/CommentOnLine renders, snapshots, and carries its colors: ComposeBar/CommentOnLine 1`] = `
312
- " COMMENT ON “ private items = new Map();” · ⏎ save · esc cancel
313
-
314
-
315
-
283
+ exports[`stories catalog CompletionOverlay/ApprovedPrompt renders, snapshots, and carries its colors: CompletionOverlay/ApprovedPrompt 1`] = `
284
+ "
316
285
 
317
286
 
318
287
 
@@ -321,8 +290,11 @@ exports[`stories catalog ComposeBar/CommentOnLine renders, snapshots, and carrie
321
290
 
322
291
 
323
292
 
293
+ review approved
324
294
 
295
+ The agent has your approval and is unblocked.
325
296
 
297
+ close [return] · return to plan [esc] · always [a]
326
298
 
327
299
 
328
300
 
@@ -336,13 +308,8 @@ exports[`stories catalog ComposeBar/CommentOnLine renders, snapshots, and carrie
336
308
  "
337
309
  `;
338
310
 
339
- exports[`stories catalog ComposeBar/SuggestionOnLine renders, snapshots, and carries its colors: ComposeBar/SuggestionOnLine 1`] = `
340
- " SUGGEST REPLACEMENT FOR “export class Store {” · ⏎ save · esc cancel
341
-
342
-
343
-
344
-
345
-
311
+ exports[`stories catalog CompletionOverlay/FeedbackCounting renders, snapshots, and carries its colors: CompletionOverlay/FeedbackCounting 1`] = `
312
+ "
346
313
 
347
314
 
348
315
 
@@ -350,8 +317,13 @@ exports[`stories catalog ComposeBar/SuggestionOnLine renders, snapshots, and car
350
317
 
351
318
 
352
319
 
320
+ feedback sent
353
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
354
325
 
326
+ close [return] · closing in 3s · return to plan [esc] · always [a]
355
327
 
356
328
 
357
329
 
@@ -397,237 +369,579 @@ exports[`stories catalog ConfirmCard/RequestChanges renders, snapshots, and carr
397
369
 
398
370
 
399
371
 
372
+ "
373
+ `;
374
+
375
+ exports[`stories catalog ConfirmCard/WithViewedSummary renders, snapshots, and carries its colors: ConfirmCard/WithViewedSummary 1`] = `
376
+ "╭─ submit review ─────────────────────╮
377
+ │ 1 annotations · 0 blocking │
378
+ │ 2/3 files viewed │
379
+ │ │
380
+ │ Comment [Approve] Changes │
381
+ │ │
382
+ │ summary for the agent (optional) │
383
+ │ │
384
+ │ Submit Cancel │
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
+
400
410
  "
401
411
  `;
402
412
 
403
413
  exports[`stories catalog DiffSheet/AnnotatedLine renders, snapshots, and carries its colors: DiffSheet/AnnotatedLine 1`] = `
404
- "
405
- ▎■ src/store.ts
406
- @@ -1,4 +1,4 @@
407
- 1 export class Store {
408
- 2 - private items = [];
409
- 2◆ + private items = new Map();
410
- ◆ Map needs an eviction story.
411
- 3 }
412
-
413
-
414
-
415
-
416
-
417
-
418
-
419
-
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
+ ╰────────────────────────────────────────────────────────────────────────────────────────╯
420
450
  "
421
451
  `;
422
452
 
423
453
  exports[`stories catalog DiffSheet/CursorOnAddedLine renders, snapshots, and carries its colors: DiffSheet/CursorOnAddedLine 1`] = `
424
- "
425
- ■ src/store.ts
426
- @@ -1,4 +1,4 @@
427
- 1 export class Store {
428
- 2 - private items = [];
429
- ▎ 2 + private items = new Map();
430
- 3 }
431
-
432
-
433
-
434
-
435
-
436
-
437
-
438
-
439
-
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
+ ╰────────────────────────────────────────────────────────────────────────────────────────╯
440
490
  "
441
491
  `;
442
492
 
443
493
  exports[`stories catalog DiffSheet/SignedRows renders, snapshots, and carries its colors: DiffSheet/SignedRows 1`] = `
444
- "
445
- ▎■ src/store.ts
446
- @@ -1,4 +1,4 @@
447
- 1 export class Store {
448
- 2 - private items = [];
449
- 2 + private items = new Map();
450
- 3 }
451
-
452
-
453
-
454
-
455
-
456
-
457
-
458
-
459
-
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
+ ╰────────────────────────────────────────────────────────────────────────────────────────╯
460
510
  "
461
511
  `;
462
512
 
463
513
  exports[`stories catalog InboxList/Empty renders, snapshots, and carries its colors: InboxList/Empty 1`] = `
464
514
  "
465
- cueloop · inbox (0 pending)
466
-
467
515
  nothing waiting for review
468
516
 
469
517
 
470
- j/k move · ⏎ open · d delete · q quit
518
+
519
+
520
+
471
521
 
472
522
  "
473
523
  `;
474
524
 
475
525
  exports[`stories catalog InboxList/TwoPending renders, snapshots, and carries its colors: InboxList/TwoPending 1`] = `
476
526
  "
477
- cueloop · inbox (2 pending)
478
-
479
- ▸ Migration Plan · main · plan
527
+ > Migration Plan · main · plan
480
528
  working tree · main · diff
481
529
 
482
530
 
483
531
 
484
532
 
485
533
 
486
- j/k move · ⏎ open · d delete · q quit
534
+
535
+
536
+
487
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
488
618
  "
489
619
  `;
490
620
 
491
621
  exports[`stories catalog PlanSheet/AnnotatedPlan renders, snapshots, and carries its colors: PlanSheet/AnnotatedPlan 1`] = `
492
- " submitted by agent/worker-3 · revision 1 Edit Share
493
-
494
- Migration Plan
495
-
496
- Context
497
-
498
- ▎ The daemon persists sessions to disk atomically.
499
-
500
- Steps
501
-
502
- - move the store
503
- - add recovery
504
-
505
- ts
506
-
507
- export function persist(session: Session): void {
508
- // one JSON document per session
509
- writeAtomically(pathFor(session.id), serialize(session));
510
- }
511
-
512
-
513
-
514
-
515
-
516
-
517
-
518
-
519
-
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
+ ╰────────────────────────────────────────────────────────────────────────────────────────╯
520
650
  "
521
651
  `;
522
652
 
523
653
  exports[`stories catalog PlanSheet/InlineCompose renders, snapshots, and carries its colors: PlanSheet/InlineCompose 1`] = `
524
- " submitted by agent/worker-3 · revision 1 Edit Share
525
-
526
- Migration Plan
527
-
528
- Context
529
-
530
- ▎ The daemon persists sessions to disk atomically.
531
- ╭─ comment on "The daemon" ────────────────────────────────────────────────────────╮
532
- │ Which daemon? │
533
- │ Save ⏎ Cancel esc │
534
- ╰──────────────────────────────────────────────────────────────────────────────────╯
535
-
536
- Steps
537
-
538
- - move the store
539
- - add recovery
540
-
541
- ts
542
-
543
- export function persist(session: Session): void {
544
- // one JSON document per session
545
- writeAtomically(pathFor(session.id), serialize(session));
546
- }
547
-
548
-
549
-
550
-
551
-
552
-
553
-
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
+ ╰────────────────────────────────────────────────────────────────────────────────────────╯
554
684
  "
555
685
  `;
556
686
 
557
687
  exports[`stories catalog PlanSheet/OrphanBanner renders, snapshots, and carries its colors: PlanSheet/OrphanBanner 1`] = `
558
- " submitted by agent/worker-3 · revision 1 Edit Share
559
- 1 annotation no longer match - the passage was removed.
560
-
561
- ▎ Migration Plan
562
-
563
- Context
564
-
565
- The daemon persists sessions to disk atomically.
566
-
567
- Steps
568
-
569
- - move the store
570
- - add recovery
571
-
572
- ts
573
-
574
- export function persist(session: Session): void {
575
- // one JSON document per session
576
- writeAtomically(pathFor(session.id), serialize(session));
577
- }
578
-
579
-
580
-
581
-
582
-
583
-
584
-
585
-
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
+ ╰────────────────────────────────────────────────────────────────────────────────────────╯
586
716
  "
587
717
  `;
588
718
 
589
719
  exports[`stories catalog PlanSheet/SpanSelection renders, snapshots, and carries its colors: PlanSheet/SpanSelection 1`] = `
590
- " submitted by agent/worker-3 · revision 1 Edit Share
591
-
592
- Migration Plan
593
-
594
- Context
595
-
596
- ▎ The daemon persists sessions to disk atomically.
597
-
598
- Steps
599
-
600
- - move the store
601
- - add recovery
602
-
603
- ts
604
-
605
- export function persist(session: Session): void {
606
- // one JSON document per session
607
- writeAtomically(pathFor(session.id), serialize(session));
608
- }
609
-
610
-
611
-
612
-
613
-
614
-
615
-
616
-
617
-
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
+ ╰────────────────────────────────────────────────────────────────────────────────────────╯
618
748
  "
619
749
  `;
620
750
 
621
- exports[`stories catalog ReviewRail/AgentTab renders, snapshots, and carries its colors: ReviewRail/AgentTab 1`] = `
622
- "
623
- Review (2) Agent
624
-
625
- agent/worker-3
626
- status: pending
627
- revision 1
628
-
629
-
630
-
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 ReviewPanel/Compact renders, snapshots, and carries its colors: ReviewPanel/Compact 1`] = `
824
+ " The plan takes the width the panel hands back.
825
+ 2
826
+
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/ExpandedNarrow renders, snapshots, and carries its colors: ReviewPanel/ExpandedNarrow 1`] = `
852
+ " The plan takes the width the panel hands back. ╭─────────────────────╮
853
+ │ Review Agent │
854
+ ╰─────────────────────╯
855
+ ╭─ COMMENT · me ──────╮
856
+ │ Whichidaemonsownss" │
857
+ │ this? │
858
+ ╰─────────────────────╯
859
+ ╭─ COMMENT · me ──────╮
860
+ │ moveetheestoree" │
861
+ │ behind o… │
862
+ ╰─────────────────────╯
863
+
864
+
865
+
866
+
867
+
868
+
869
+
870
+
871
+
872
+
873
+
874
+ > Submit review
875
+
876
+ "
877
+ `;
878
+
879
+ exports[`stories catalog ReviewPanel/ExpandedWide renders, snapshots, and carries its colors: ReviewPanel/ExpandedWide 1`] = `
880
+ " The plan takes the width the panel ╭───────────────────────────────────────────────╮
881
+ hands back. │ Review Agent │
882
+ ╰───────────────────────────────────────────────╯
883
+ ╭─ COMMENT · me ────────────────────────────────╮
884
+ │ "persists sessions" │
885
+ │ Which daemon owns this? │
886
+ ╰───────────────────────────────────────────────╯
887
+ ╭─ COMMENT · me ────────────────────────────────╮
888
+ │ "move the store" │
889
+ │ move the store 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/Hidden renders, snapshots, and carries its colors: ReviewPanel/Hidden 1`] = `
908
+ " The plan takes the width the panel hands back.
909
+
910
+
911
+
912
+
913
+
914
+
915
+
916
+
917
+
918
+
919
+
920
+
921
+
922
+
923
+
924
+
925
+
926
+
927
+
928
+
929
+
930
+
931
+
932
+ "
933
+ `;
934
+
935
+ exports[`stories catalog ReviewRail/AgentTab renders, snapshots, and carries its colors: ReviewRail/AgentTab 1`] = `
936
+ " ╭───────────────────────────────╮
937
+ │ Review Agent │
938
+ ╰───────────────────────────────╯
939
+
940
+ agent/worker-3
941
+ status: pending
942
+ revision 1
943
+
944
+
631
945
 
632
946
 
633
947
 
@@ -647,16 +961,19 @@ exports[`stories catalog ReviewRail/AgentTab renders, snapshots, and carries its
647
961
  `;
648
962
 
649
963
  exports[`stories catalog ReviewRail/AnnotationStack renders, snapshots, and carries its colors: ReviewRail/AnnotationStack 1`] = `
650
- "
651
- Review (2) Agent
964
+ " ╭───────────────────────────────╮
965
+ │ Review Agent │
966
+ ╰───────────────────────────────╯
967
+ ╭─ COMMENT · me ────────────────╮
968
+ │ "persists sessions" │
969
+ │ Which daemon owns this? │
970
+ ╰───────────────────────────────╯
971
+ ╭─ COMMENT · me ────────────────╮
972
+ │ "move the store" │
973
+ │ move the store behind o… │
974
+ ╰───────────────────────────────╯
652
975
 
653
- ▸ COMMENT · pending
654
- "persists sessions"
655
- Which daemon owns this?
656
976
 
657
- SUGGESTION · pending
658
- "move the store"
659
- move the store behind one i…
660
977
 
661
978
 
662
979
 
@@ -666,25 +983,53 @@ exports[`stories catalog ReviewRail/AnnotationStack renders, snapshots, and carr
666
983
 
667
984
 
668
985
 
986
+ Submit review
987
+
988
+ "
989
+ `;
990
+
991
+ exports[`stories catalog ReviewRail/InterleavedStack renders, snapshots, and carries its colors: ReviewRail/InterleavedStack 1`] = `
992
+ " ╭───────────────────────────────╮
993
+ │ Review Agent │
994
+ ╰───────────────────────────────╯
995
+ ╭─ CUT · me ────────────────────╮
996
+ │ - add recovery │
997
+ ╰───────────────────────────────╯
998
+ ╭─ COMMENT · me ────────────────╮
999
+ │ "persists sessions" │
1000
+ │ Which daemon owns this? │
1001
+ ╰───────────────────────────────╯
1002
+ ╭─ COMMENT · me ────────────────╮
1003
+ │ "move the store" │
1004
+ │ move the store behind o… │
1005
+ ╰───────────────────────────────╯
1006
+
1007
+
1008
+
1009
+
1010
+
669
1011
 
670
1012
 
671
1013
 
1014
+ Submit review
672
1015
 
673
- Submit review (2) ⏎
674
1016
  "
675
1017
  `;
676
1018
 
677
- exports[`stories catalog ReviewRail/Resolved renders, snapshots, and carries its colors: ReviewRail/Resolved 1`] = `
678
- "
679
- Review (0) Agent
1019
+ exports[`stories catalog ReviewRail/MixedOwnershipStack renders, snapshots, and carries its colors: ReviewRail/MixedOwnershipStack 1`] = `
1020
+ " ╭───────────────────────────────╮
1021
+ │ Review Agent │
1022
+ ╰───────────────────────────────╯
1023
+ ╭─ COMMENT · me ────────────────╮
1024
+ │ "persists sessions" │
1025
+ │ Which daemon owns this? │
1026
+ ╰───────────────────────────────╯
1027
+ ╭─ COMMENT · Priya ─────────────╮
1028
+ │ "move the store" │
1029
+ │ move it behind one inte… │
1030
+ ╰───────────────────────────────╯
680
1031
 
681
- COMMENT · ORPHANED
682
- "persists sessions"
683
- Which daemon owns this?
684
1032
 
685
- SUGGESTION · ORPHANED
686
- "move the store"
687
- move the store behind one i…
688
1033
 
689
1034
 
690
1035
 
@@ -694,25 +1039,53 @@ exports[`stories catalog ReviewRail/Resolved renders, snapshots, and carries its
694
1039
 
695
1040
 
696
1041
 
1042
+ Submit review
697
1043
 
1044
+ "
1045
+ `;
1046
+
1047
+ exports[`stories catalog ReviewRail/Removals renders, snapshots, and carries its colors: ReviewRail/Removals 1`] = `
1048
+ " ╭───────────────────────────────╮
1049
+ │ Review Agent │
1050
+ ╰───────────────────────────────╯
1051
+ ╭─ REJECT · me ─────────────────╮
1052
+ │ - private items = []; │
1053
+ │ + private items = new… │
1054
+ │ undo │
1055
+ ╰───────────────────────────────╯
1056
+ ╭─ REJECT · me ─────────────────╮
1057
+ │ - return null; │
1058
+ │ + return fallback(); │
1059
+ │ + log(fallback); │
1060
+ ╰───────────────────────────────╯
698
1061
 
699
1062
 
700
1063
 
701
- resolved: approve
1064
+
1065
+
1066
+
1067
+
1068
+
1069
+
1070
+ Submit review
1071
+
702
1072
  "
703
1073
  `;
704
1074
 
705
- exports[`stories catalog ReviewRail/SubmitConfirmOpen renders, snapshots, and carries its colors: ReviewRail/SubmitConfirmOpen 1`] = `
706
- "
707
- Review (2) Agent
1075
+ exports[`stories catalog ReviewRail/Resolved renders, snapshots, and carries its colors: ReviewRail/Resolved 1`] = `
1076
+ " ╭───────────────────────────────╮
1077
+ │ Review Agent │
1078
+ ╰───────────────────────────────╯
1079
+ ╭─ COMMENT · me · ORPHANED ─────╮
1080
+ │ "persists sessions" │
1081
+ │ Which daemon owns this? │
1082
+ ╰───────────────────────────────╯
1083
+ ╭─ COMMENT · me · ORPHANED ─────╮
1084
+ │ "move the store" │
1085
+ │ move the store behind o… │
1086
+ ╰───────────────────────────────╯
708
1087
 
709
- COMMENT · ORPHANED
710
- "persists sessions"
711
- Which daemon owns this?
712
1088
 
713
- SUGGESTION · ORPHANED
714
- "move the store"
715
- move the store behind one i…
716
1089
 
717
1090
 
718
1091
 
@@ -722,6 +1095,30 @@ exports[`stories catalog ReviewRail/SubmitConfirmOpen renders, snapshots, and ca
722
1095
 
723
1096
 
724
1097
 
1098
+ resolved: approve
1099
+
1100
+ "
1101
+ `;
1102
+
1103
+ exports[`stories catalog ReviewRail/SubmitConfirmOpen renders, snapshots, and carries its colors: ReviewRail/SubmitConfirmOpen 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
+
725
1122
 
726
1123
 
727
1124
  ╭─ submit review ──────────────╮
@@ -733,6 +1130,41 @@ exports[`stories catalog ReviewRail/SubmitConfirmOpen renders, snapshots, and ca
733
1130
  │ │
734
1131
  │ Submit Cancel │
735
1132
  ╰──────────────────────────────╯
1133
+
1134
+ "
1135
+ `;
1136
+
1137
+ exports[`stories catalog SettingsDialog/AppearanceThemed renders, snapshots, and carries its colors: SettingsDialog/AppearanceThemed 1`] = `
1138
+ "
1139
+
1140
+
1141
+
1142
+ ╭─ Settings ───────────────────────────────────────────────────────────────╮
1143
+ │ SETTINGS Appearance │
1144
+ │ General the color theme │
1145
+ │ Display │
1146
+ │ › Appearance Theme Rosé Pine Moon │
1147
+ │ │
1148
+ │ │
1149
+ │ │
1150
+ │ │
1151
+ │ │
1152
+ │ │
1153
+ │ │
1154
+ │ │
1155
+ │ │
1156
+ │ │
1157
+ │ │
1158
+ │ │
1159
+ │ │
1160
+ │ │
1161
+ │ │
1162
+ │ j/k row · l/space change · h back · esc close │
1163
+ ╰──────────────────────────────────────────────────────────────────────────╯
1164
+
1165
+
1166
+
1167
+
736
1168
  "
737
1169
  `;
738
1170
 
@@ -745,7 +1177,7 @@ exports[`stories catalog SettingsDialog/BodyZone renders, snapshots, and carries
745
1177
  │ SETTINGS Display │
746
1178
  │ General plan width and chrome │
747
1179
  │ › Display │
748
- │ Plan width default │
1180
+ │ Appearance Plan width default │
749
1181
  │ Line numbers on │
750
1182
  │ │
751
1183
  │ │
@@ -779,7 +1211,7 @@ exports[`stories catalog SettingsDialog/NavZone renders, snapshots, and carries
779
1211
  │ SETTINGS General │
780
1212
  │ › General identity and submission │
781
1213
  │ Display │
782
- │ Display name amber-heron │
1214
+ │ Appearance Display name amber-heron │
783
1215
  │ Auto-close on submit 3s │
784
1216
  │ │
785
1217
  │ │
@@ -795,7 +1227,7 @@ exports[`stories catalog SettingsDialog/NavZone renders, snapshots, and carries
795
1227
  │ │
796
1228
  │ │
797
1229
  │ │
798
- │ j/k category · l/⏎ into settings · esc close │
1230
+ │ j/k category · l/enter into settings · esc close │
799
1231
  ╰──────────────────────────────────────────────────────────────────────────╯
800
1232
 
801
1233
 
@@ -829,6 +1261,134 @@ exports[`stories catalog SettingsRows/AllKinds renders, snapshots, and carries i
829
1261
 
830
1262
 
831
1263
 
1264
+ "
1265
+ `;
1266
+
1267
+ exports[`stories catalog Toast/ShareLink renders, snapshots, and carries its colors: Toast/ShareLink 1`] = `
1268
+ "
1269
+
1270
+
1271
+ ╭─ share link copied ─────────╮
1272
+ │ │
1273
+ │ ssh review-4f2a@cueloop.dev │
1274
+ │ │
1275
+ │ [esc] │
1276
+ ╰─────────────────────────────╯
1277
+
1278
+
1279
+
1280
+ "
1281
+ `;
1282
+
1283
+ exports[`stories catalog WalkWizard/EndCard renders, snapshots, and carries its colors: WalkWizard/EndCard 1`] = `
1284
+ "
1285
+
1286
+
1287
+
1288
+
1289
+
1290
+
1291
+
1292
+
1293
+
1294
+ ╭─ walk complete ──────────────────────────────────────────────────────╮
1295
+ │ every file viewed (3/3) │
1296
+ │ │
1297
+ │ Submit review [ back │
1298
+ ╰──────────────────────────────────────────────────────────────────────╯
1299
+
1300
+
1301
+
1302
+
1303
+
1304
+
1305
+
1306
+
1307
+
1308
+ "
1309
+ `;
1310
+
1311
+ exports[`stories catalog WalkWizard/EndCardPartialPass renders, snapshots, and carries its colors: WalkWizard/EndCardPartialPass 1`] = `
1312
+ "
1313
+
1314
+
1315
+
1316
+
1317
+
1318
+
1319
+
1320
+
1321
+
1322
+ ╭─ walk complete ──────────────────────────────────────────────────────╮
1323
+ │ 1 of 3 files viewed │
1324
+ │ │
1325
+ │ Submit review [ back │
1326
+ ╰──────────────────────────────────────────────────────────────────────╯
1327
+
1328
+
1329
+
1330
+
1331
+
1332
+
1333
+
1334
+
1335
+
1336
+ "
1337
+ `;
1338
+
1339
+ exports[`stories catalog WalkWizard/FirstFile renders, snapshots, and carries its colors: WalkWizard/FirstFile 1`] = `
1340
+ "
1341
+
1342
+
1343
+
1344
+
1345
+
1346
+
1347
+
1348
+ ╭─ file 1 of 3 · 0 viewed ─────────────────────────────────────────────╮
1349
+ │ packages/daemon/src/store.ts │
1350
+ │ +12 -3 │
1351
+ │ │
1352
+ │ +const viewed = new Set<string>(); │
1353
+ │ +record.viewedPaths = [...viewed]; │
1354
+ │ -// viewed tracking lives in the client only │
1355
+ ╰──────────────────────────────────────────────────────────────────────╯
1356
+
1357
+
1358
+
1359
+
1360
+
1361
+
1362
+
1363
+
1364
+ "
1365
+ `;
1366
+
1367
+ exports[`stories catalog WalkWizard/WithAgentNote renders, snapshots, and carries its colors: WalkWizard/WithAgentNote 1`] = `
1368
+ "
1369
+
1370
+
1371
+
1372
+
1373
+
1374
+
1375
+ ╭─ file 2 of 3 · 1 viewed ─────────────────────────────────────────────╮
1376
+ │ packages/client/src/walk.ts │
1377
+ │ +48 -0 │
1378
+ │ │
1379
+ │ +export function firstUnviewedIndex(files, viewed) { │
1380
+ ╰──────────────────────────────────────────────────────────────────────╯
1381
+
1382
+ ╭─ agent note ─────────────────────────────────────────────────────────╮
1383
+ │ New module: pure helpers that pick the next unviewed file. No IO, │
1384
+ │ unit tested. │
1385
+ ╰──────────────────────────────────────────────────────────────────────╯
1386
+
1387
+
1388
+
1389
+
1390
+
1391
+
832
1392
  "
833
1393
  `;
834
1394
 
@@ -861,7 +1421,7 @@ exports[`stories catalog primitives/Button/Disabled renders, snapshots, and carr
861
1421
  `;
862
1422
 
863
1423
  exports[`stories catalog primitives/Button/Variants renders, snapshots, and carries its colors: primitives/Button/Variants 1`] = `
864
- " Save ⏎ Cancel esc Submit review (2) ⏎
1424
+ " Save Cancel esc Submit review
865
1425
 
866
1426
 
867
1427
 
@@ -1021,9 +1581,9 @@ exports[`stories catalog primitives/StatusBar/HintLine renders, snapshots, and c
1021
1581
  `;
1022
1582
 
1023
1583
  exports[`stories catalog primitives/Tabs/SecondSelected renders, snapshots, and carries its colors: primitives/Tabs/SecondSelected 1`] = `
1024
- " Review (0) Agent
1025
-
1026
-
1584
+ "╭──────────────────────────────────────────────────────────────────────────────╮
1585
+ │ Review (0) Agent │
1586
+ ╰──────────────────────────────────────────────────────────────────────────────╯
1027
1587
 
1028
1588
 
1029
1589
 
@@ -1049,9 +1609,9 @@ exports[`stories catalog primitives/Tabs/SecondSelected renders, snapshots, and
1049
1609
  `;
1050
1610
 
1051
1611
  exports[`stories catalog primitives/Tabs/TwoTabs renders, snapshots, and carries its colors: primitives/Tabs/TwoTabs 1`] = `
1052
- " Review (2) Agent
1053
-
1054
-
1612
+ "╭──────────────────────────────────────────────────────────────────────────────╮
1613
+ │ Review (2) Agent │
1614
+ ╰──────────────────────────────────────────────────────────────────────────────╯
1055
1615
 
1056
1616
 
1057
1617
 
@@ -1185,335 +1745,5 @@ exports[`stories catalog theme-context/ProviderSwap renders, snapshots, and carr
1185
1745
 
1186
1746
 
1187
1747
 
1188
- "
1189
- `;
1190
-
1191
- exports[`stories catalog ConfirmCard/WithViewedSummary renders, snapshots, and carries its colors: ConfirmCard/WithViewedSummary 1`] = `
1192
- "╭─ submit review ─────────────────────╮
1193
- │ 1 annotations · 0 blocking │
1194
- │ 2/3 files viewed │
1195
- │ │
1196
- │ Comment [Approve] Changes │
1197
- │ │
1198
- │ summary for the agent (optional) │
1199
- │ │
1200
- │ Submit Cancel │
1201
- ╰─────────────────────────────────────╯
1202
-
1203
-
1204
-
1205
-
1206
- "
1207
- `;
1208
-
1209
- exports[`stories catalog WalkWizard/EndCard renders, snapshots, and carries its colors: WalkWizard/EndCard 1`] = `
1210
- "
1211
-
1212
-
1213
-
1214
-
1215
-
1216
-
1217
-
1218
-
1219
-
1220
- ╭─ walk complete ──────────────────────────────────────────────────────╮
1221
- │ every file viewed (3/3) │
1222
- │ │
1223
- │ Submit review [ back │
1224
- ╰──────────────────────────────────────────────────────────────────────╯
1225
-
1226
-
1227
-
1228
-
1229
-
1230
-
1231
-
1232
-
1233
-
1234
- "
1235
- `;
1236
-
1237
- exports[`stories catalog WalkWizard/EndCardPartialPass renders, snapshots, and carries its colors: WalkWizard/EndCardPartialPass 1`] = `
1238
- "
1239
-
1240
-
1241
-
1242
-
1243
-
1244
-
1245
-
1246
-
1247
-
1248
- ╭─ walk complete ──────────────────────────────────────────────────────╮
1249
- │ 1 of 3 files viewed │
1250
- │ │
1251
- │ Submit review [ back │
1252
- ╰──────────────────────────────────────────────────────────────────────╯
1253
-
1254
-
1255
-
1256
-
1257
-
1258
-
1259
-
1260
-
1261
-
1262
- "
1263
- `;
1264
-
1265
- exports[`stories catalog WalkWizard/FirstFile renders, snapshots, and carries its colors: WalkWizard/FirstFile 1`] = `
1266
- "
1267
-
1268
-
1269
-
1270
-
1271
-
1272
-
1273
-
1274
- ╭─ file 1 of 3 · 0 viewed ─────────────────────────────────────────────╮
1275
- │ packages/daemon/src/store.ts │
1276
- │ +12 -3 │
1277
- │ │
1278
- │ +const viewed = new Set<string>(); │
1279
- │ +record.viewedPaths = [...viewed]; │
1280
- │ -// viewed tracking lives in the client only │
1281
- ╰──────────────────────────────────────────────────────────────────────╯
1282
-
1283
-
1284
-
1285
-
1286
-
1287
-
1288
-
1289
-
1290
- "
1291
- `;
1292
-
1293
- exports[`stories catalog WalkWizard/WithAgentNote renders, snapshots, and carries its colors: WalkWizard/WithAgentNote 1`] = `
1294
- "
1295
-
1296
-
1297
-
1298
-
1299
-
1300
-
1301
- ╭─ file 2 of 3 · 1 viewed ─────────────────────────────────────────────╮
1302
- │ packages/client/src/walk.ts │
1303
- │ +48 -0 │
1304
- │ │
1305
- │ +export function firstUnviewedIndex(files, viewed) { │
1306
- ╰──────────────────────────────────────────────────────────────────────╯
1307
-
1308
- ╭─ agent note ─────────────────────────────────────────────────────────╮
1309
- │ New module: pure helpers that pick the next unviewed file. No IO, │
1310
- │ unit tested. │
1311
- ╰──────────────────────────────────────────────────────────────────────╯
1312
-
1313
-
1314
-
1315
-
1316
-
1317
-
1318
- "
1319
- `;
1320
-
1321
- exports[`stories catalog ReviewPanel/Compact renders, snapshots, and carries its colors: ReviewPanel/Compact 1`] = `
1322
- " The plan takes the width the panel hands back. │
1323
- │ 2
1324
- │
1325
- │ ●
1326
- │ ●
1327
- │
1328
- │
1329
- │
1330
- │
1331
- │
1332
- │
1333
- │
1334
- │
1335
- │
1336
- │
1337
- │
1338
- │
1339
- │
1340
- │
1341
- │
1342
- │
1343
- │
1344
- │
1345
- │ «
1346
- "
1347
- `;
1348
-
1349
- exports[`stories catalog ReviewPanel/DraggingDivider renders, snapshots, and carries its colors: ReviewPanel/DraggingDivider 1`] = `
1350
- " The plan takes the width the panel hands │
1351
- back. │ Review (2) Agent
1352
- │
1353
- │ ▸ COMMENT · pending
1354
- │ "persists sessions"
1355
- │ Which daemon owns this?
1356
- │
1357
- │ SUGGESTION · pending
1358
- │ "move the store"
1359
- │ move the store behind one i…
1360
- │
1361
- │
1362
- │
1363
- │
1364
- │
1365
- │
1366
- │
1367
- │
1368
- │
1369
- │
1370
- │
1371
- │
1372
- │ Submit review (2) ⏎
1373
- │ »
1374
- "
1375
- `;
1376
-
1377
- exports[`stories catalog ReviewPanel/ExpandedNarrow renders, snapshots, and carries its colors: ReviewPanel/ExpandedNarrow 1`] = `
1378
- " The plan takes the width the panel hands back. │
1379
- │ Review (2) Agent
1380
- │
1381
- │ ▸ COMMENT · pending
1382
- │ "persists sessions"
1383
- │ Which daemon owns
1384
- │ this?
1385
- │
1386
- │ SUGGESTION · pending
1387
- │ "move the store"
1388
- │ move the store
1389
- │ behind one i…
1390
- │
1391
- │
1392
- │
1393
- │
1394
- │
1395
- │
1396
- │
1397
- │
1398
- │
1399
- │
1400
- │ Submit review (2) ⏎
1401
- │ »
1402
- "
1403
- `;
1404
-
1405
- exports[`stories catalog ReviewPanel/ExpandedWide renders, snapshots, and carries its colors: ReviewPanel/ExpandedWide 1`] = `
1406
- " The plan takes the width the panel │
1407
- hands back. │ Review (2) Agent
1408
- │
1409
- │ ▸ COMMENT · pending
1410
- │ "persists sessions"
1411
- │ Which daemon owns this?
1412
- │
1413
- │ SUGGESTION · pending
1414
- │ "move the store"
1415
- │ move the store behind one i…
1416
- │
1417
- │
1418
- │
1419
- │
1420
- │
1421
- │
1422
- │
1423
- │
1424
- │
1425
- │
1426
- │
1427
- │
1428
- │ Submit review (2) ⏎
1429
- │ »
1430
- "
1431
- `;
1432
-
1433
- exports[`stories catalog ReviewPanel/Hidden renders, snapshots, and carries its colors: ReviewPanel/Hidden 1`] = `
1434
- " The plan takes the width the panel hands back.
1435
-
1436
-
1437
-
1438
-
1439
-
1440
-
1441
-
1442
-
1443
-
1444
-
1445
-
1446
-
1447
-
1448
-
1449
-
1450
-
1451
-
1452
-
1453
-
1454
-
1455
-
1456
-
1457
-
1458
- "
1459
- `;
1460
-
1461
- exports[`stories catalog ConfirmDialog/DeletePlan renders, snapshots, and carries its colors: ConfirmDialog/DeletePlan 1`] = `
1462
- "
1463
-
1464
-
1465
-
1466
-
1467
- ╭─ Delete plan ──────────────────────────────────────╮
1468
- │ │
1469
- │ Delete "Auth rollout"? This removes the plan and │
1470
- │ its review. │
1471
- │ │
1472
- │ Delete ⏎ Cancel esc │
1473
- ╰────────────────────────────────────────────────────╯
1474
-
1475
-
1476
-
1477
-
1478
- "
1479
- `;
1480
-
1481
- exports[`stories catalog PromptDialog/NameYourself renders, snapshots, and carries its colors: PromptDialog/NameYourself 1`] = `
1482
- "
1483
-
1484
-
1485
-
1486
-
1487
- ╭─ Welcome ──────────────────────────────────────────╮
1488
- │ │
1489
- │ Your name (optional) - it attributes the notes │
1490
- │ you leave: │
1491
- │ your name │
1492
- │ ⏎ save · esc cancel │
1493
- ╰────────────────────────────────────────────────────╯
1494
-
1495
-
1496
-
1497
-
1498
- "
1499
- `;
1500
-
1501
- exports[`stories catalog PromptDialog/RenameAuthor renders, snapshots, and carries its colors: PromptDialog/RenameAuthor 1`] = `
1502
- "
1503
-
1504
-
1505
-
1506
-
1507
- ╭─ Rename author ────────────────────────────────────╮
1508
- │ │
1509
- │ Display name for this collaborator: │
1510
- │ Robin │
1511
- │ │
1512
- │ ⏎ save · esc cancel │
1513
- ╰────────────────────────────────────────────────────╯
1514
-
1515
-
1516
-
1517
-
1518
1748
  "
1519
1749
  `;