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

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 (48) hide show
  1. package/package.json +5 -5
  2. package/src/App.diff.test.tsx +1 -1
  3. package/src/App.export.test.tsx +1 -1
  4. package/src/App.plan-review.test.tsx +6 -5
  5. package/src/App.readonly.test.tsx +5 -6
  6. package/src/App.rendering.test.tsx +2 -1
  7. package/src/App.review-panel.test.tsx +16 -12
  8. package/src/App.submit-confirm.test.tsx +2 -6
  9. package/src/App.test.tsx +4 -4
  10. package/src/App.toast.test.tsx +68 -0
  11. package/src/App.tsx +153 -49
  12. package/src/App.walk.test.tsx +1 -1
  13. package/src/components/AnnotationCard.stories.tsx +1 -1
  14. package/src/components/AnnotationCard.tsx +18 -13
  15. package/src/components/ConfirmCard.tsx +1 -0
  16. package/src/components/ConfirmDialog.tsx +1 -1
  17. package/src/components/DiffSheet.stories.tsx +18 -0
  18. package/src/components/DiffSheet.tsx +38 -12
  19. package/src/components/InboxList.tsx +1 -1
  20. package/src/components/KeybindsDialog.stories.tsx +31 -0
  21. package/src/components/KeybindsDialog.tsx +42 -0
  22. package/src/components/MenuBar.stories.tsx +33 -0
  23. package/src/components/MenuBar.tsx +58 -0
  24. package/src/components/PlanSheet.stories.tsx +1 -1
  25. package/src/components/PlanSheet.tsx +21 -70
  26. package/src/components/PromptDialog.tsx +1 -1
  27. package/src/components/ReviewPanel.stories.tsx +4 -16
  28. package/src/components/ReviewPanel.tsx +10 -29
  29. package/src/components/ReviewRail.stories.tsx +39 -0
  30. package/src/components/ReviewRail.tsx +62 -57
  31. package/src/components/SettingsDialog.tsx +4 -3
  32. package/src/components/SettingsRows.stories.tsx +1 -1
  33. package/src/components/SettingsRows.tsx +1 -1
  34. package/src/components/Toast.stories.tsx +12 -0
  35. package/src/components/Toast.tsx +29 -0
  36. package/src/components/__snapshots__/stories.test.tsx.snap +598 -566
  37. package/src/components/primitives/Button.stories.tsx +2 -2
  38. package/src/components/primitives/Dialog.tsx +4 -1
  39. package/src/components/primitives/Tabs.tsx +19 -38
  40. package/src/key-bindings.test.ts +4 -4
  41. package/src/key-bindings.ts +41 -2
  42. package/src/serve.test.ts +2 -2
  43. package/src/session-controller.share.test.ts +13 -0
  44. package/src/session-controller.ts +19 -1
  45. package/src/test-support.ts +87 -23
  46. package/src/version.ts +5 -0
  47. package/src/components/ComposeBar.stories.tsx +0 -18
  48. package/src/components/ComposeBar.tsx +0 -54
@@ -3,7 +3,7 @@
3
3
  exports[`stories catalog AnnotationCard/CommentDraft renders, snapshots, and carries its colors: AnnotationCard/CommentDraft 1`] = `
4
4
  " ╭─ comment on "persists sessions" ─────────────────────────────────────────╮
5
5
  │ Which daemon? │
6
- │ Save ⏎ Cancel esc │
6
+ │ Save Cancel esc │
7
7
  ╰──────────────────────────────────────────────────────────────────────────╯
8
8
 
9
9
 
@@ -32,7 +32,7 @@ exports[`stories catalog AnnotationCard/SavedEditing renders, snapshots, and car
32
32
  "▸ SUGGESTION · pending
33
33
  "move the store"
34
34
  new body
35
- Save ⏎ Cancel esc
35
+ Save Cancel esc
36
36
 
37
37
 
38
38
 
@@ -115,7 +115,7 @@ exports[`stories catalog AnnotationCard/SavedSelected renders, snapshots, and ca
115
115
  exports[`stories catalog AnnotationCard/SuggestionDraft renders, snapshots, and carries its colors: AnnotationCard/SuggestionDraft 1`] = `
116
116
  " ╭─ suggest replacement for "move the store" ───────────────────────────────╮
117
117
  │ write a note... │
118
- │ Save ⏎ Cancel esc │
118
+ │ Save Cancel esc │
119
119
  ╰──────────────────────────────────────────────────────────────────────────╯
120
120
 
121
121
 
@@ -302,62 +302,6 @@ exports[`stories catalog CompletionOverlay/FeedbackCounting renders, snapshots,
302
302
 
303
303
 
304
304
 
305
-
306
-
307
-
308
- "
309
- `;
310
-
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
-
316
-
317
-
318
-
319
-
320
-
321
-
322
-
323
-
324
-
325
-
326
-
327
-
328
-
329
-
330
-
331
-
332
-
333
-
334
-
335
-
336
- "
337
- `;
338
-
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
-
346
-
347
-
348
-
349
-
350
-
351
-
352
-
353
-
354
-
355
-
356
-
357
-
358
-
359
-
360
-
361
305
 
362
306
 
363
307
 
@@ -397,66 +341,124 @@ exports[`stories catalog ConfirmCard/RequestChanges renders, snapshots, and carr
397
341
 
398
342
 
399
343
 
344
+ "
345
+ `;
346
+
347
+ exports[`stories catalog ConfirmCard/WithViewedSummary renders, snapshots, and carries its colors: ConfirmCard/WithViewedSummary 1`] = `
348
+ "╭─ submit review ─────────────────────╮
349
+ │ 1 annotations · 0 blocking │
350
+ │ 2/3 files viewed │
351
+ │ │
352
+ │ Comment [Approve] Changes │
353
+ │ │
354
+ │ summary for the agent (optional) │
355
+ │ │
356
+ │ Submit Cancel │
357
+ ╰─────────────────────────────────────╯
358
+
359
+
360
+
361
+
362
+ "
363
+ `;
364
+
365
+ exports[`stories catalog ConfirmDialog/DeletePlan renders, snapshots, and carries its colors: ConfirmDialog/DeletePlan 1`] = `
366
+ "
367
+
368
+
369
+
370
+
371
+ ╭─ Delete plan ──────────────────────────────────────╮
372
+ │ │
373
+ │ Delete "Auth rollout"? This removes the plan and │
374
+ │ its review. │
375
+ │ │
376
+ │ Delete Cancel esc │
377
+ ╰────────────────────────────────────────────────────╯
378
+
379
+
380
+
381
+
400
382
  "
401
383
  `;
402
384
 
403
385
  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
-
386
+ "╭────────────────────────────────────────────────────────────────────────────────────────╮
387
+ │ ▎■ src/store.ts │
388
+ │ @@ -1,4 +1,4 @@ │
389
+ │ 1 export class Store { │
390
+ │ 2 - private items = []; │
391
+ │ 2◆ + private items = new Map(); │
392
+ │ ◆ Map needs an eviction story. │
393
+ │ 3 } │
394
+ │ │
395
+ │ │
396
+ │ │
397
+ │ │
398
+ │ │
399
+ │ │
400
+ │ │
401
+ ╰────────────────────────────────────────────────────────────────────────────────────────╯
402
+ "
403
+ `;
404
+
405
+ exports[`stories catalog DiffSheet/ComposingOnLine renders, snapshots, and carries its colors: DiffSheet/ComposingOnLine 1`] = `
406
+ "╭────────────────────────────────────────────────────────────────────────────────────────╮
407
+ │ ■ src/store.ts │
408
+ │ @@ -1,4 +1,4 @@ │
409
+ │ 1 export class Store { │
410
+ │ 2 - private items = []; │
411
+ │ ▎ 2 + private items = new Map(); │
412
+ │ ╭─ comment on " private items = new Map();" ─────────────────────────────────────╮ │
413
+ │ │ Map needs an eviction story. │ │
414
+ │ │ Save Cancel esc │ │
415
+ │ ╰─────────────────────────────────────────────────────────────────────────────────╯ │
416
+ │ 3 } │
417
+ │ │
418
+ │ │
419
+ │ │
420
+ │ │
421
+ ╰────────────────────────────────────────────────────────────────────────────────────────╯
420
422
  "
421
423
  `;
422
424
 
423
425
  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
-
426
+ "╭────────────────────────────────────────────────────────────────────────────────────────╮
427
+ │ ■ src/store.ts │
428
+ │ @@ -1,4 +1,4 @@ │
429
+ │ 1 export class Store { │
430
+ │ 2 - private items = []; │
431
+ │ ▎ 2 + private items = new Map(); │
432
+ │ 3 } │
433
+ │ │
434
+ │ │
435
+ │ │
436
+ │ │
437
+ │ │
438
+ │ │
439
+ │ │
440
+ │ │
441
+ ╰────────────────────────────────────────────────────────────────────────────────────────╯
440
442
  "
441
443
  `;
442
444
 
443
445
  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
-
446
+ "╭────────────────────────────────────────────────────────────────────────────────────────╮
447
+ │ ▎■ src/store.ts │
448
+ │ @@ -1,4 +1,4 @@ │
449
+ │ 1 export class Store { │
450
+ │ 2 - private items = []; │
451
+ │ 2 + private items = new Map(); │
452
+ │ 3 } │
453
+ │ │
454
+ │ │
455
+ │ │
456
+ │ │
457
+ │ │
458
+ │ │
459
+ │ │
460
+ │ │
461
+ ╰────────────────────────────────────────────────────────────────────────────────────────╯
460
462
  "
461
463
  `;
462
464
 
@@ -467,7 +469,7 @@ exports[`stories catalog InboxList/Empty renders, snapshots, and carries its col
467
469
  nothing waiting for review
468
470
 
469
471
 
470
- j/k move · ⏎ open · d delete · q quit
472
+ j/k move · enter open · d delete · q quit
471
473
 
472
474
  "
473
475
  `;
@@ -483,129 +485,304 @@ exports[`stories catalog InboxList/TwoPending renders, snapshots, and carries it
483
485
 
484
486
 
485
487
 
486
- j/k move · ⏎ open · d delete · q quit
488
+ j/k move · enter open · d delete · q quit
487
489
 
488
490
  "
489
491
  `;
490
492
 
493
+ exports[`stories catalog KeybindsDialog/Cheatsheet renders, snapshots, and carries its colors: KeybindsDialog/Cheatsheet 1`] = `
494
+ "
495
+
496
+
497
+
498
+
499
+ ╭─ keybinds ───────────────────────────────────────╮
500
+ │ │
501
+ │ Review │
502
+ │ j / k move │
503
+ │ v span │
504
+ │ c comment │
505
+ │ enter submit │
506
+ │ │
507
+ │ Submit │
508
+ │ ← / → verdict │
509
+ │ esc cancel │
510
+ │ │
511
+ │ [esc] │
512
+ ╰──────────────────────────────────────────────────╯
513
+
514
+
515
+
516
+
517
+
518
+ "
519
+ `;
520
+
521
+ exports[`stories catalog MenuBar/Closed renders, snapshots, and carries its colors: MenuBar/Closed 1`] = `
522
+ "
523
+
524
+
525
+
526
+
527
+
528
+
529
+ menu v0.1.0-alpha.32
530
+ "
531
+ `;
532
+
533
+ exports[`stories catalog MenuBar/Open renders, snapshots, and carries its colors: MenuBar/Open 1`] = `
534
+ "
535
+
536
+
537
+ ╭──────────────╮
538
+ │ Settings │
539
+ │ Keybinds │
540
+ ╰──────────────╯
541
+ menu v0.1.0-alpha.32
542
+ "
543
+ `;
544
+
491
545
  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
-
546
+ "╭────────────────────────────────────────────────────────────────────────────────────────╮
547
+ │ Migration Plan │
548
+ │ │
549
+ │ Context │
550
+ │ │
551
+ │ ▎ The daemon persists sessions to disk atomically. │
552
+ │ │
553
+ │ Steps │
554
+ │ │
555
+ │ - move the store │
556
+ │ - add recovery │
557
+ │ │
558
+ │ ts │
559
+ │ │
560
+ │ export function persist(session: Session): void { │
561
+ │ // one JSON document per session │
562
+ │ writeAtomically(pathFor(session.id), serialize(session)); │
563
+ │ } │
564
+ │ │
565
+ │ │
566
+ │ │
567
+ │ │
568
+ │ │
569
+ │ │
570
+ │ │
571
+ │ │
572
+ │ │
573
+ ╰────────────────────────────────────────────────────────────────────────────────────────╯
520
574
  "
521
575
  `;
522
576
 
523
577
  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
-
578
+ "╭────────────────────────────────────────────────────────────────────────────────────────╮
579
+ │ Migration Plan │
580
+ │ │
581
+ │ Context │
582
+ │ │
583
+ │ ▎ The daemon persists sessions to disk atomically. │
584
+ │ ╭─ comment on "The daemon" ───────────────────────────────────────────────────────╮ │
585
+ │ │ Which daemon? │ │
586
+ │ │ Save Cancel esc │ │
587
+ │ ╰─────────────────────────────────────────────────────────────────────────────────╯ │
588
+ │ │
589
+ │ Steps │
590
+ │ │
591
+ │ - move the store │
592
+ │ - add recovery │
593
+ │ │
594
+ │ ts │
595
+ │ │
596
+ │ export function persist(session: Session): void { │
597
+ │ // one JSON document per session │
598
+ │ writeAtomically(pathFor(session.id), serialize(session)); │
599
+ │ } │
600
+ │ │
601
+ │ │
602
+ │ │
603
+ │ │
604
+ │ │
605
+ │ │
606
+ │ │
607
+ ╰────────────────────────────────────────────────────────────────────────────────────────╯
554
608
  "
555
609
  `;
556
610
 
557
611
  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
-
612
+ "╭────────────────────────────────────────────────────────────────────────────────────────╮
613
+ │ 1 annotation no longer match - the passage was removed. │
614
+ │ ▎ Migration Plan │
615
+ │ │
616
+ │ Context │
617
+ │ │
618
+ │ The daemon persists sessions to disk atomically. │
619
+ │ │
620
+ │ Steps │
621
+ │ │
622
+ │ - move the store │
623
+ │ - add recovery │
624
+ │ │
625
+ │ ts │
626
+ │ │
627
+ │ export function persist(session: Session): void { │
628
+ │ // one JSON document per session │
629
+ │ writeAtomically(pathFor(session.id), serialize(session)); │
630
+ │ } │
631
+ │ │
632
+ │ │
633
+ │ │
634
+ │ │
635
+ │ │
636
+ │ │
637
+ │ │
638
+ │ │
639
+ ╰────────────────────────────────────────────────────────────────────────────────────────╯
586
640
  "
587
641
  `;
588
642
 
589
643
  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
644
+ "╭────────────────────────────────────────────────────────────────────────────────────────╮
645
+ │ Migration Plan │
646
+ │ │
647
+ │ Context │
648
+ │ │
649
+ │ ▎ The daemon persists sessions to disk atomically. │
650
+ │ │
651
+ │ Steps │
652
+ │ │
653
+ │ - move the store │
654
+ │ - add recovery │
655
+ │ │
656
+ │ ts │
657
+ │ │
658
+ │ export function persist(session: Session): void { │
659
+ │ // one JSON document per session │
660
+ │ writeAtomically(pathFor(session.id), serialize(session)); │
661
+ │ } │
662
+ │ │
663
+ │ │
664
+ │ │
665
+ │ │
666
+ │ │
667
+ │ │
668
+ │ │
669
+ │ │
670
+ │ │
671
+ ╰────────────────────────────────────────────────────────────────────────────────────────╯
672
+ "
673
+ `;
674
+
675
+ exports[`stories catalog PromptDialog/NameYourself renders, snapshots, and carries its colors: PromptDialog/NameYourself 1`] = `
676
+ "
677
+
678
+
679
+
680
+
681
+ ╭─ Welcome ──────────────────────────────────────────╮
682
+ │ │
683
+ │ Your name (optional) - it attributes the notes │
684
+ │ you leave: │
685
+ │ your name │
686
+ │ enter save · esc cancel │
687
+ ╰────────────────────────────────────────────────────╯
688
+
689
+
690
+
691
+
692
+ "
693
+ `;
694
+
695
+ exports[`stories catalog PromptDialog/RenameAuthor renders, snapshots, and carries its colors: PromptDialog/RenameAuthor 1`] = `
696
+ "
697
+
698
+
699
+
700
+
701
+ ╭─ Rename author ────────────────────────────────────╮
702
+ │ │
703
+ │ Display name for this collaborator: │
704
+ │ Robin │
705
+ │ │
706
+ │ enter save · esc cancel │
707
+ ╰────────────────────────────────────────────────────╯
708
+
709
+
710
+
711
+
712
+ "
713
+ `;
714
+
715
+ exports[`stories catalog ReviewPanel/Compact renders, snapshots, and carries its colors: ReviewPanel/Compact 1`] = `
716
+ " The plan takes the width the panel hands back.
717
+ 2
718
+
719
+ ●
720
+ ●
721
+
722
+
723
+
724
+
725
+
726
+
727
+
728
+
729
+
730
+
731
+
732
+
733
+
734
+
735
+
736
+
737
+
738
+ <
739
+
740
+ "
741
+ `;
742
+
743
+ exports[`stories catalog ReviewPanel/ExpandedNarrow renders, snapshots, and carries its colors: ReviewPanel/ExpandedNarrow 1`] = `
744
+ " The plan takes the width the panel hands back. ╭─────────────────────╮
745
+ │ Review Agent │
746
+ ╰─────────────────────╯
747
+ ▸ COMMENT · pending
748
+ "persists sessions"
749
+ Which daemon owns
750
+ this?
751
+ SUGGESTION · pending
752
+ "move the store"
753
+ move the store
754
+ behind one i…
755
+
756
+
757
+
758
+
759
+
760
+
761
+
762
+
763
+
764
+
765
+
766
+ > Submit review
767
+
768
+ "
769
+ `;
770
+
771
+ exports[`stories catalog ReviewPanel/ExpandedWide renders, snapshots, and carries its colors: ReviewPanel/ExpandedWide 1`] = `
772
+ " The plan takes the width the panel ╭───────────────────────────────────────────────╮
773
+ hands back. │ Review Agent │
774
+ ╰───────────────────────────────────────────────╯
775
+ ▸ COMMENT · pending
776
+ "persists sessions"
777
+ Which daemon owns this?
778
+ SUGGESTION · pending
779
+ "move the store"
780
+ move the store behind one i…
595
781
 
596
- ▎ The daemon persists sessions to disk atomically.
597
782
 
598
- Steps
599
783
 
600
- - move the store
601
- - add recovery
602
784
 
603
- ts
604
785
 
605
- export function persist(session: Session): void {
606
- // one JSON document per session
607
- writeAtomically(pathFor(session.id), serialize(session));
608
- }
609
786
 
610
787
 
611
788
 
@@ -614,18 +791,47 @@ exports[`stories catalog PlanSheet/SpanSelection renders, snapshots, and carries
614
791
 
615
792
 
616
793
 
794
+ > Submit review
617
795
 
796
+ "
797
+ `;
798
+
799
+ exports[`stories catalog ReviewPanel/Hidden renders, snapshots, and carries its colors: ReviewPanel/Hidden 1`] = `
800
+ " The plan takes the width the panel hands back.
801
+
802
+
803
+
804
+
805
+
806
+
807
+
808
+
809
+
810
+
811
+
812
+
813
+
814
+
815
+
816
+
817
+
818
+
819
+
820
+
821
+
822
+
823
+
618
824
  "
619
825
  `;
620
826
 
621
827
  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
828
+ " ╭───────────────────────────────╮
829
+ │ Review Agent │
830
+ ╰───────────────────────────────╯
628
831
 
832
+ agent/worker-3
833
+ status: pending
834
+ revision 1
629
835
 
630
836
 
631
837
 
@@ -647,13 +853,12 @@ exports[`stories catalog ReviewRail/AgentTab renders, snapshots, and carries its
647
853
  `;
648
854
 
649
855
  exports[`stories catalog ReviewRail/AnnotationStack renders, snapshots, and carries its colors: ReviewRail/AnnotationStack 1`] = `
650
- "
651
- Review (2) Agent
652
-
856
+ " ╭───────────────────────────────╮
857
+ │ Review Agent │
858
+ ╰───────────────────────────────╯
653
859
  ▸ COMMENT · pending
654
860
  "persists sessions"
655
861
  Which daemon owns this?
656
-
657
862
  SUGGESTION · pending
658
863
  "move the store"
659
864
  move the store behind one i…
@@ -670,18 +875,46 @@ exports[`stories catalog ReviewRail/AnnotationStack renders, snapshots, and carr
670
875
 
671
876
 
672
877
 
673
- Submit review (2) ⏎
878
+ Submit review
879
+
674
880
  "
675
881
  `;
676
882
 
677
- exports[`stories catalog ReviewRail/Resolved renders, snapshots, and carries its colors: ReviewRail/Resolved 1`] = `
678
- "
679
- Review (0) Agent
883
+ exports[`stories catalog ReviewRail/MixedOwnershipStack renders, snapshots, and carries its colors: ReviewRail/MixedOwnershipStack 1`] = `
884
+ " ╭───────────────────────────────╮
885
+ │ Review Agent │
886
+ ╰───────────────────────────────╯
887
+ ╭─ me ──────────────────────────╮
888
+ │ ▸ COMMENT · pending │
889
+ │ "persists sessions" │
890
+ │ Which daemon owns this? │
891
+ ╰───────────────────────────────╯
892
+ ╭─ Priya ───────────────────────╮
893
+ │ SUGGESTION · pending │
894
+ │ "move the store" │
895
+ │ move it behind one inte… │
896
+ ╰───────────────────────────────╯
897
+
898
+
680
899
 
900
+
901
+
902
+
903
+
904
+
905
+
906
+ Submit review
907
+
908
+ "
909
+ `;
910
+
911
+ exports[`stories catalog ReviewRail/Resolved renders, snapshots, and carries its colors: ReviewRail/Resolved 1`] = `
912
+ " ╭───────────────────────────────╮
913
+ │ Review Agent │
914
+ ╰───────────────────────────────╯
681
915
  COMMENT · ORPHANED
682
916
  "persists sessions"
683
917
  Which daemon owns this?
684
-
685
918
  SUGGESTION · ORPHANED
686
919
  "move the store"
687
920
  move the store behind one i…
@@ -699,17 +932,17 @@ exports[`stories catalog ReviewRail/Resolved renders, snapshots, and carries its
699
932
 
700
933
 
701
934
  resolved: approve
935
+
702
936
  "
703
937
  `;
704
938
 
705
939
  exports[`stories catalog ReviewRail/SubmitConfirmOpen renders, snapshots, and carries its colors: ReviewRail/SubmitConfirmOpen 1`] = `
706
- "
707
- Review (2) Agent
708
-
940
+ " ╭───────────────────────────────╮
941
+ │ Review Agent │
942
+ ╰───────────────────────────────╯
709
943
  COMMENT · ORPHANED
710
944
  "persists sessions"
711
945
  Which daemon owns this?
712
-
713
946
  SUGGESTION · ORPHANED
714
947
  "move the store"
715
948
  move the store behind one i…
@@ -733,6 +966,7 @@ exports[`stories catalog ReviewRail/SubmitConfirmOpen renders, snapshots, and ca
733
966
  │ │
734
967
  │ Submit Cancel │
735
968
  ╰──────────────────────────────╯
969
+
736
970
  "
737
971
  `;
738
972
 
@@ -795,7 +1029,7 @@ exports[`stories catalog SettingsDialog/NavZone renders, snapshots, and carries
795
1029
  │ │
796
1030
  │ │
797
1031
  │ │
798
- │ j/k category · l/⏎ into settings · esc close │
1032
+ │ j/k category · l/enter into settings · esc close │
799
1033
  ╰──────────────────────────────────────────────────────────────────────────╯
800
1034
 
801
1035
 
@@ -829,6 +1063,134 @@ exports[`stories catalog SettingsRows/AllKinds renders, snapshots, and carries i
829
1063
 
830
1064
 
831
1065
 
1066
+ "
1067
+ `;
1068
+
1069
+ exports[`stories catalog Toast/ShareLink renders, snapshots, and carries its colors: Toast/ShareLink 1`] = `
1070
+ "
1071
+
1072
+
1073
+ ╭─ share link copied ─────────╮
1074
+ │ │
1075
+ │ ssh review-4f2a@cueloop.dev │
1076
+ │ │
1077
+ │ [esc] │
1078
+ ╰─────────────────────────────╯
1079
+
1080
+
1081
+
1082
+ "
1083
+ `;
1084
+
1085
+ exports[`stories catalog WalkWizard/EndCard renders, snapshots, and carries its colors: WalkWizard/EndCard 1`] = `
1086
+ "
1087
+
1088
+
1089
+
1090
+
1091
+
1092
+
1093
+
1094
+
1095
+
1096
+ ╭─ walk complete ──────────────────────────────────────────────────────╮
1097
+ │ every file viewed (3/3) │
1098
+ │ │
1099
+ │ Submit review [ back │
1100
+ ╰──────────────────────────────────────────────────────────────────────╯
1101
+
1102
+
1103
+
1104
+
1105
+
1106
+
1107
+
1108
+
1109
+
1110
+ "
1111
+ `;
1112
+
1113
+ exports[`stories catalog WalkWizard/EndCardPartialPass renders, snapshots, and carries its colors: WalkWizard/EndCardPartialPass 1`] = `
1114
+ "
1115
+
1116
+
1117
+
1118
+
1119
+
1120
+
1121
+
1122
+
1123
+
1124
+ ╭─ walk complete ──────────────────────────────────────────────────────╮
1125
+ │ 1 of 3 files viewed │
1126
+ │ │
1127
+ │ Submit review [ back │
1128
+ ╰──────────────────────────────────────────────────────────────────────╯
1129
+
1130
+
1131
+
1132
+
1133
+
1134
+
1135
+
1136
+
1137
+
1138
+ "
1139
+ `;
1140
+
1141
+ exports[`stories catalog WalkWizard/FirstFile renders, snapshots, and carries its colors: WalkWizard/FirstFile 1`] = `
1142
+ "
1143
+
1144
+
1145
+
1146
+
1147
+
1148
+
1149
+
1150
+ ╭─ file 1 of 3 · 0 viewed ─────────────────────────────────────────────╮
1151
+ │ packages/daemon/src/store.ts │
1152
+ │ +12 -3 │
1153
+ │ │
1154
+ │ +const viewed = new Set<string>(); │
1155
+ │ +record.viewedPaths = [...viewed]; │
1156
+ │ -// viewed tracking lives in the client only │
1157
+ ╰──────────────────────────────────────────────────────────────────────╯
1158
+
1159
+
1160
+
1161
+
1162
+
1163
+
1164
+
1165
+
1166
+ "
1167
+ `;
1168
+
1169
+ exports[`stories catalog WalkWizard/WithAgentNote renders, snapshots, and carries its colors: WalkWizard/WithAgentNote 1`] = `
1170
+ "
1171
+
1172
+
1173
+
1174
+
1175
+
1176
+
1177
+ ╭─ file 2 of 3 · 1 viewed ─────────────────────────────────────────────╮
1178
+ │ packages/client/src/walk.ts │
1179
+ │ +48 -0 │
1180
+ │ │
1181
+ │ +export function firstUnviewedIndex(files, viewed) { │
1182
+ ╰──────────────────────────────────────────────────────────────────────╯
1183
+
1184
+ ╭─ agent note ─────────────────────────────────────────────────────────╮
1185
+ │ New module: pure helpers that pick the next unviewed file. No IO, │
1186
+ │ unit tested. │
1187
+ ╰──────────────────────────────────────────────────────────────────────╯
1188
+
1189
+
1190
+
1191
+
1192
+
1193
+
832
1194
  "
833
1195
  `;
834
1196
 
@@ -861,7 +1223,7 @@ exports[`stories catalog primitives/Button/Disabled renders, snapshots, and carr
861
1223
  `;
862
1224
 
863
1225
  exports[`stories catalog primitives/Button/Variants renders, snapshots, and carries its colors: primitives/Button/Variants 1`] = `
864
- " Save ⏎ Cancel esc Submit review (2) ⏎
1226
+ " Save Cancel esc Submit review
865
1227
 
866
1228
 
867
1229
 
@@ -1021,9 +1383,9 @@ exports[`stories catalog primitives/StatusBar/HintLine renders, snapshots, and c
1021
1383
  `;
1022
1384
 
1023
1385
  exports[`stories catalog primitives/Tabs/SecondSelected renders, snapshots, and carries its colors: primitives/Tabs/SecondSelected 1`] = `
1024
- " Review (0) Agent
1025
-
1026
-
1386
+ "╭──────────────────────────────────────────────────────────────────────────────╮
1387
+ │ Review (0) Agent │
1388
+ ╰──────────────────────────────────────────────────────────────────────────────╯
1027
1389
 
1028
1390
 
1029
1391
 
@@ -1049,9 +1411,9 @@ exports[`stories catalog primitives/Tabs/SecondSelected renders, snapshots, and
1049
1411
  `;
1050
1412
 
1051
1413
  exports[`stories catalog primitives/Tabs/TwoTabs renders, snapshots, and carries its colors: primitives/Tabs/TwoTabs 1`] = `
1052
- " Review (2) Agent
1053
-
1054
-
1414
+ "╭──────────────────────────────────────────────────────────────────────────────╮
1415
+ │ Review (2) Agent │
1416
+ ╰──────────────────────────────────────────────────────────────────────────────╯
1055
1417
 
1056
1418
 
1057
1419
 
@@ -1185,335 +1547,5 @@ exports[`stories catalog theme-context/ProviderSwap renders, snapshots, and carr
1185
1547
 
1186
1548
 
1187
1549
 
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
1550
  "
1519
1551
  `;