@cueloop/client 0.1.0-alpha.3 → 0.1.0-alpha.31
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.
- package/package.json +17 -11
- package/src/App.autoclose.test.tsx +133 -0
- package/src/App.diff.test.tsx +27 -20
- package/src/App.export.test.tsx +19 -28
- package/src/App.plan-review.test.tsx +507 -0
- package/src/App.readonly.test.tsx +26 -27
- package/src/App.rendering.test.tsx +119 -0
- package/src/App.review-panel.test.tsx +123 -0
- package/src/App.submit-confirm.test.tsx +216 -0
- package/src/App.test.tsx +83 -64
- package/src/App.tsx +0 -0
- package/src/App.walk.test.tsx +265 -0
- package/src/attribution.test.ts +31 -0
- package/src/attribution.ts +32 -0
- package/src/clipboard.test.ts +23 -0
- package/src/clipboard.ts +26 -0
- package/src/components/AnnotationCard.compose-rows.test.ts +49 -0
- package/src/components/AnnotationCard.stories.tsx +75 -0
- package/src/components/AnnotationCard.tsx +208 -0
- package/src/components/Breadcrumb.stories.tsx +19 -0
- package/src/components/Breadcrumb.tsx +38 -0
- package/src/components/CodeBlock.stories.tsx +25 -0
- package/src/components/CodeBlock.tsx +68 -0
- package/src/components/CompletionOverlay.stories.tsx +23 -0
- package/src/components/CompletionOverlay.tsx +49 -0
- package/src/components/ComposeBar.stories.tsx +18 -0
- package/src/components/ComposeBar.tsx +54 -0
- package/src/components/ConfirmCard.stories.tsx +37 -0
- package/src/components/ConfirmCard.tsx +117 -0
- package/src/components/ConfirmDialog.stories.tsx +21 -0
- package/src/components/ConfirmDialog.tsx +56 -0
- package/src/components/DiffSheet.stories.tsx +44 -0
- package/src/components/DiffSheet.tsx +243 -0
- package/src/components/InboxList.stories.tsx +18 -0
- package/src/components/InboxList.tsx +55 -0
- package/src/components/PlanSheet.stories.tsx +81 -0
- package/src/components/PlanSheet.tsx +329 -0
- package/src/components/PromptDialog.stories.tsx +36 -0
- package/src/components/PromptDialog.tsx +62 -0
- package/src/components/ReviewPanel.stories.tsx +87 -0
- package/src/components/ReviewPanel.tsx +116 -0
- package/src/components/ReviewRail.stories.tsx +107 -0
- package/src/components/ReviewRail.tsx +180 -0
- package/src/components/SettingsDialog.stories.tsx +63 -0
- package/src/components/SettingsDialog.tsx +132 -0
- package/src/components/SettingsRows.stories.tsx +18 -0
- package/src/components/SettingsRows.tsx +92 -0
- package/src/components/WalkWizard.stories.tsx +89 -0
- package/src/components/WalkWizard.tsx +146 -0
- package/src/components/__snapshots__/stories.test.tsx.snap +1519 -0
- package/src/components/primitives/Button.stories.tsx +32 -0
- package/src/components/primitives/Button.tsx +44 -0
- package/src/components/primitives/Card.stories.tsx +25 -0
- package/src/components/primitives/Card.tsx +59 -0
- package/src/components/primitives/Dialog.stories.tsx +24 -0
- package/src/components/primitives/Dialog.tsx +54 -0
- package/src/components/primitives/StatusBar.stories.tsx +11 -0
- package/src/components/primitives/StatusBar.tsx +22 -0
- package/src/components/primitives/Tabs.stories.tsx +29 -0
- package/src/components/primitives/Tabs.tsx +97 -0
- package/src/components/primitives/Toolbar.stories.tsx +17 -0
- package/src/components/primitives/Toolbar.tsx +14 -0
- package/src/components/primitives/frame.test.ts +12 -0
- package/src/components/primitives/frame.ts +14 -0
- package/src/components/stories-app.tsx +95 -0
- package/src/components/stories.test.tsx +60 -0
- package/src/components/story-fixtures.ts +90 -0
- package/src/components/story.ts +66 -0
- package/src/components/syntax-highlight.ts +57 -0
- package/src/components/theme-context.stories.tsx +41 -0
- package/src/components/theme-context.tsx +30 -0
- package/src/components/truncate-text.ts +6 -0
- package/src/config.test.ts +196 -30
- package/src/config.ts +128 -16
- package/src/editor.test.ts +134 -0
- package/src/editor.ts +101 -13
- package/src/herdr.test.ts +41 -0
- package/src/herdr.ts +21 -0
- package/src/index.ts +2 -0
- package/src/integrations.test.ts +41 -0
- package/src/integrations.ts +28 -0
- package/src/intent-dispatch.test.ts +308 -0
- package/src/intent-dispatch.ts +295 -0
- package/src/key-bindings.test.ts +142 -0
- package/src/key-bindings.ts +363 -0
- package/src/keymap.test.ts +477 -0
- package/src/keymap.ts +272 -0
- package/src/review-panel.test.ts +111 -0
- package/src/review-panel.ts +76 -0
- package/src/run.ts +9 -5
- package/src/serve.test.ts +13 -6
- package/src/serve.ts +7 -7
- package/src/session-controller.share.test.ts +248 -0
- package/src/session-controller.ts +607 -0
- package/src/share.ts +80 -0
- package/src/test-support.ts +87 -0
- package/src/theme.ts +26 -3
- package/src/view-diff.test.ts +19 -8
- package/src/view-diff.ts +22 -22
- package/src/view-plan.test.ts +260 -0
- package/src/view-plan.ts +365 -0
- package/src/walk.test.ts +116 -0
- package/src/walk.ts +65 -0
- package/src/view.test.ts +0 -157
- package/src/view.ts +0 -0
|
@@ -0,0 +1,1519 @@
|
|
|
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 esc │
|
|
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/SavedEditing renders, snapshots, and carries its colors: AnnotationCard/SavedEditing 1`] = `
|
|
32
|
+
"▸ SUGGESTION · pending
|
|
33
|
+
"move the store"
|
|
34
|
+
new body
|
|
35
|
+
Save ⏎ Cancel esc
|
|
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/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
|
+
|
|
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/SavedSelected renders, snapshots, and carries its colors: AnnotationCard/SavedSelected 1`] = `
|
|
88
|
+
"▸ COMMENT · pending
|
|
89
|
+
"persists sessions"
|
|
90
|
+
Which daemon owns this?
|
|
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/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
|
+
╰──────────────────────────────────────────────────────────────────────────╯
|
|
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/Typescript renders, snapshots, and carries its colors: CodeBlock/Typescript 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/UnknownLanguage renders, snapshots, and carries its colors: CodeBlock/UnknownLanguage 1`] = `
|
|
228
|
+
" brainfog
|
|
229
|
+
|
|
230
|
+
plain verbatim lines
|
|
231
|
+
with indentation
|
|
232
|
+
|
|
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 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
|
+
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
"
|
|
281
|
+
`;
|
|
282
|
+
|
|
283
|
+
exports[`stories catalog CompletionOverlay/FeedbackCounting renders, snapshots, and carries its colors: CompletionOverlay/FeedbackCounting 1`] = `
|
|
284
|
+
"
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
feedback sent
|
|
293
|
+
|
|
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
|
+
|
|
298
|
+
close [return] · closing in 3s · return to plan [esc] · always [a]
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
|
|
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
|
+
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
"
|
|
365
|
+
`;
|
|
366
|
+
|
|
367
|
+
exports[`stories catalog ConfirmCard/ApproveDefault renders, snapshots, and carries its colors: ConfirmCard/ApproveDefault 1`] = `
|
|
368
|
+
"╭─ submit review ─────────────────────╮
|
|
369
|
+
│ 0 annotations · 0 blocking │
|
|
370
|
+
│ │
|
|
371
|
+
│ Comment [Approve] Changes │
|
|
372
|
+
│ │
|
|
373
|
+
│ summary for the agent (optional) │
|
|
374
|
+
│ │
|
|
375
|
+
│ Submit Cancel │
|
|
376
|
+
╰─────────────────────────────────────╯
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
"
|
|
383
|
+
`;
|
|
384
|
+
|
|
385
|
+
exports[`stories catalog ConfirmCard/RequestChanges renders, snapshots, and carries its colors: ConfirmCard/RequestChanges 1`] = `
|
|
386
|
+
"╭─ submit review ─────────────────────╮
|
|
387
|
+
│ 3 annotations · 1 blocking │
|
|
388
|
+
│ │
|
|
389
|
+
│ Comment Approve [Changes] │
|
|
390
|
+
│ │
|
|
391
|
+
│ Tighten the steps. │
|
|
392
|
+
│ │
|
|
393
|
+
│ Submit Cancel │
|
|
394
|
+
╰─────────────────────────────────────╯
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
"
|
|
401
|
+
`;
|
|
402
|
+
|
|
403
|
+
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
|
+
|
|
420
|
+
"
|
|
421
|
+
`;
|
|
422
|
+
|
|
423
|
+
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
|
+
|
|
440
|
+
"
|
|
441
|
+
`;
|
|
442
|
+
|
|
443
|
+
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
|
+
|
|
460
|
+
"
|
|
461
|
+
`;
|
|
462
|
+
|
|
463
|
+
exports[`stories catalog InboxList/Empty renders, snapshots, and carries its colors: InboxList/Empty 1`] = `
|
|
464
|
+
"
|
|
465
|
+
cueloop · inbox (0 pending)
|
|
466
|
+
|
|
467
|
+
nothing waiting for review
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
j/k move · ⏎ open · d delete · q quit
|
|
471
|
+
|
|
472
|
+
"
|
|
473
|
+
`;
|
|
474
|
+
|
|
475
|
+
exports[`stories catalog InboxList/TwoPending renders, snapshots, and carries its colors: InboxList/TwoPending 1`] = `
|
|
476
|
+
"
|
|
477
|
+
cueloop · inbox (2 pending)
|
|
478
|
+
|
|
479
|
+
▸ Migration Plan · main · plan
|
|
480
|
+
working tree · main · diff
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
|
|
486
|
+
j/k move · ⏎ open · d delete · q quit
|
|
487
|
+
|
|
488
|
+
"
|
|
489
|
+
`;
|
|
490
|
+
|
|
491
|
+
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
|
+
|
|
520
|
+
"
|
|
521
|
+
`;
|
|
522
|
+
|
|
523
|
+
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
|
+
|
|
554
|
+
"
|
|
555
|
+
`;
|
|
556
|
+
|
|
557
|
+
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
|
+
|
|
586
|
+
"
|
|
587
|
+
`;
|
|
588
|
+
|
|
589
|
+
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
|
+
|
|
618
|
+
"
|
|
619
|
+
`;
|
|
620
|
+
|
|
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
|
+
|
|
631
|
+
|
|
632
|
+
|
|
633
|
+
|
|
634
|
+
|
|
635
|
+
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
|
|
639
|
+
|
|
640
|
+
|
|
641
|
+
|
|
642
|
+
|
|
643
|
+
|
|
644
|
+
|
|
645
|
+
|
|
646
|
+
"
|
|
647
|
+
`;
|
|
648
|
+
|
|
649
|
+
exports[`stories catalog ReviewRail/AnnotationStack renders, snapshots, and carries its colors: ReviewRail/AnnotationStack 1`] = `
|
|
650
|
+
"
|
|
651
|
+
Review (2) Agent
|
|
652
|
+
|
|
653
|
+
▸ COMMENT · pending
|
|
654
|
+
"persists sessions"
|
|
655
|
+
Which daemon owns this?
|
|
656
|
+
|
|
657
|
+
SUGGESTION · pending
|
|
658
|
+
"move the store"
|
|
659
|
+
move the store behind one i…
|
|
660
|
+
|
|
661
|
+
|
|
662
|
+
|
|
663
|
+
|
|
664
|
+
|
|
665
|
+
|
|
666
|
+
|
|
667
|
+
|
|
668
|
+
|
|
669
|
+
|
|
670
|
+
|
|
671
|
+
|
|
672
|
+
|
|
673
|
+
Submit review (2) ⏎
|
|
674
|
+
"
|
|
675
|
+
`;
|
|
676
|
+
|
|
677
|
+
exports[`stories catalog ReviewRail/Resolved renders, snapshots, and carries its colors: ReviewRail/Resolved 1`] = `
|
|
678
|
+
"
|
|
679
|
+
Review (0) Agent
|
|
680
|
+
|
|
681
|
+
COMMENT · ORPHANED
|
|
682
|
+
"persists sessions"
|
|
683
|
+
Which daemon owns this?
|
|
684
|
+
|
|
685
|
+
SUGGESTION · ORPHANED
|
|
686
|
+
"move the store"
|
|
687
|
+
move the store behind one i…
|
|
688
|
+
|
|
689
|
+
|
|
690
|
+
|
|
691
|
+
|
|
692
|
+
|
|
693
|
+
|
|
694
|
+
|
|
695
|
+
|
|
696
|
+
|
|
697
|
+
|
|
698
|
+
|
|
699
|
+
|
|
700
|
+
|
|
701
|
+
resolved: approve
|
|
702
|
+
"
|
|
703
|
+
`;
|
|
704
|
+
|
|
705
|
+
exports[`stories catalog ReviewRail/SubmitConfirmOpen renders, snapshots, and carries its colors: ReviewRail/SubmitConfirmOpen 1`] = `
|
|
706
|
+
"
|
|
707
|
+
Review (2) Agent
|
|
708
|
+
|
|
709
|
+
COMMENT · ORPHANED
|
|
710
|
+
"persists sessions"
|
|
711
|
+
Which daemon owns this?
|
|
712
|
+
|
|
713
|
+
SUGGESTION · ORPHANED
|
|
714
|
+
"move the store"
|
|
715
|
+
move the store behind one i…
|
|
716
|
+
|
|
717
|
+
|
|
718
|
+
|
|
719
|
+
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
|
|
723
|
+
|
|
724
|
+
|
|
725
|
+
|
|
726
|
+
|
|
727
|
+
╭─ submit review ──────────────╮
|
|
728
|
+
│ 2 annotations · 0 blocking │
|
|
729
|
+
│ │
|
|
730
|
+
│ Comment Approve [Changes] │
|
|
731
|
+
│ │
|
|
732
|
+
│ summary for the agent (option│
|
|
733
|
+
│ │
|
|
734
|
+
│ Submit Cancel │
|
|
735
|
+
╰──────────────────────────────╯
|
|
736
|
+
"
|
|
737
|
+
`;
|
|
738
|
+
|
|
739
|
+
exports[`stories catalog SettingsDialog/BodyZone renders, snapshots, and carries its colors: SettingsDialog/BodyZone 1`] = `
|
|
740
|
+
"
|
|
741
|
+
|
|
742
|
+
|
|
743
|
+
|
|
744
|
+
╭─ Settings ───────────────────────────────────────────────────────────────╮
|
|
745
|
+
│ SETTINGS Display │
|
|
746
|
+
│ General plan width and chrome │
|
|
747
|
+
│ › Display │
|
|
748
|
+
│ Plan width default │
|
|
749
|
+
│ Line numbers on │
|
|
750
|
+
│ │
|
|
751
|
+
│ │
|
|
752
|
+
│ │
|
|
753
|
+
│ │
|
|
754
|
+
│ │
|
|
755
|
+
│ │
|
|
756
|
+
│ │
|
|
757
|
+
│ │
|
|
758
|
+
│ │
|
|
759
|
+
│ │
|
|
760
|
+
│ │
|
|
761
|
+
│ │
|
|
762
|
+
│ │
|
|
763
|
+
│ │
|
|
764
|
+
│ j/k row · l/space change · h back · esc close │
|
|
765
|
+
╰──────────────────────────────────────────────────────────────────────────╯
|
|
766
|
+
|
|
767
|
+
|
|
768
|
+
|
|
769
|
+
|
|
770
|
+
"
|
|
771
|
+
`;
|
|
772
|
+
|
|
773
|
+
exports[`stories catalog SettingsDialog/NavZone renders, snapshots, and carries its colors: SettingsDialog/NavZone 1`] = `
|
|
774
|
+
"
|
|
775
|
+
|
|
776
|
+
|
|
777
|
+
|
|
778
|
+
╭─ Settings ───────────────────────────────────────────────────────────────╮
|
|
779
|
+
│ SETTINGS General │
|
|
780
|
+
│ › General identity and submission │
|
|
781
|
+
│ Display │
|
|
782
|
+
│ Display name amber-heron │
|
|
783
|
+
│ Auto-close on submit 3s │
|
|
784
|
+
│ │
|
|
785
|
+
│ │
|
|
786
|
+
│ │
|
|
787
|
+
│ │
|
|
788
|
+
│ │
|
|
789
|
+
│ │
|
|
790
|
+
│ │
|
|
791
|
+
│ │
|
|
792
|
+
│ │
|
|
793
|
+
│ │
|
|
794
|
+
│ │
|
|
795
|
+
│ │
|
|
796
|
+
│ │
|
|
797
|
+
│ │
|
|
798
|
+
│ j/k category · l/⏎ into settings · esc close │
|
|
799
|
+
╰──────────────────────────────────────────────────────────────────────────╯
|
|
800
|
+
|
|
801
|
+
|
|
802
|
+
|
|
803
|
+
|
|
804
|
+
"
|
|
805
|
+
`;
|
|
806
|
+
|
|
807
|
+
exports[`stories catalog SettingsRows/AllKinds renders, snapshots, and carries its colors: SettingsRows/AllKinds 1`] = `
|
|
808
|
+
" Line numbers on
|
|
809
|
+
Hide whitespace off
|
|
810
|
+
Palette dark
|
|
811
|
+
Vault path ~/vaults/notes
|
|
812
|
+
|
|
813
|
+
|
|
814
|
+
|
|
815
|
+
|
|
816
|
+
|
|
817
|
+
|
|
818
|
+
|
|
819
|
+
|
|
820
|
+
|
|
821
|
+
|
|
822
|
+
|
|
823
|
+
|
|
824
|
+
|
|
825
|
+
|
|
826
|
+
|
|
827
|
+
|
|
828
|
+
|
|
829
|
+
|
|
830
|
+
|
|
831
|
+
|
|
832
|
+
"
|
|
833
|
+
`;
|
|
834
|
+
|
|
835
|
+
exports[`stories catalog primitives/Button/Disabled renders, snapshots, and carries its colors: primitives/Button/Disabled 1`] = `
|
|
836
|
+
" Edit
|
|
837
|
+
|
|
838
|
+
|
|
839
|
+
|
|
840
|
+
|
|
841
|
+
|
|
842
|
+
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
|
|
846
|
+
|
|
847
|
+
|
|
848
|
+
|
|
849
|
+
|
|
850
|
+
|
|
851
|
+
|
|
852
|
+
|
|
853
|
+
|
|
854
|
+
|
|
855
|
+
|
|
856
|
+
|
|
857
|
+
|
|
858
|
+
|
|
859
|
+
|
|
860
|
+
"
|
|
861
|
+
`;
|
|
862
|
+
|
|
863
|
+
exports[`stories catalog primitives/Button/Variants renders, snapshots, and carries its colors: primitives/Button/Variants 1`] = `
|
|
864
|
+
" Save ⏎ Cancel esc Submit review (2) ⏎
|
|
865
|
+
|
|
866
|
+
|
|
867
|
+
|
|
868
|
+
|
|
869
|
+
|
|
870
|
+
|
|
871
|
+
|
|
872
|
+
|
|
873
|
+
|
|
874
|
+
|
|
875
|
+
|
|
876
|
+
|
|
877
|
+
|
|
878
|
+
|
|
879
|
+
|
|
880
|
+
|
|
881
|
+
|
|
882
|
+
|
|
883
|
+
|
|
884
|
+
|
|
885
|
+
|
|
886
|
+
|
|
887
|
+
|
|
888
|
+
"
|
|
889
|
+
`;
|
|
890
|
+
|
|
891
|
+
exports[`stories catalog primitives/Card/AccentBorder renders, snapshots, and carries its colors: primitives/Card/AccentBorder 1`] = `
|
|
892
|
+
"╭─ accented ───────────────────────────────────────────────────────────────────╮
|
|
893
|
+
│ content │
|
|
894
|
+
╰──────────────────────────────────────────────────────────────────────────────╯
|
|
895
|
+
|
|
896
|
+
|
|
897
|
+
|
|
898
|
+
|
|
899
|
+
|
|
900
|
+
|
|
901
|
+
|
|
902
|
+
|
|
903
|
+
|
|
904
|
+
|
|
905
|
+
|
|
906
|
+
|
|
907
|
+
|
|
908
|
+
|
|
909
|
+
|
|
910
|
+
|
|
911
|
+
|
|
912
|
+
|
|
913
|
+
|
|
914
|
+
|
|
915
|
+
|
|
916
|
+
"
|
|
917
|
+
`;
|
|
918
|
+
|
|
919
|
+
exports[`stories catalog primitives/Card/Titled renders, snapshots, and carries its colors: primitives/Card/Titled 1`] = `
|
|
920
|
+
"╭─ a titled card ──────────────────────────────────────────────────────────────╮
|
|
921
|
+
│ first content row │
|
|
922
|
+
│ second content row │
|
|
923
|
+
╰──────────────────────────────────────────────────────────────────────────────╯
|
|
924
|
+
|
|
925
|
+
|
|
926
|
+
|
|
927
|
+
|
|
928
|
+
|
|
929
|
+
|
|
930
|
+
|
|
931
|
+
|
|
932
|
+
|
|
933
|
+
|
|
934
|
+
|
|
935
|
+
|
|
936
|
+
|
|
937
|
+
|
|
938
|
+
|
|
939
|
+
|
|
940
|
+
|
|
941
|
+
|
|
942
|
+
|
|
943
|
+
|
|
944
|
+
"
|
|
945
|
+
`;
|
|
946
|
+
|
|
947
|
+
exports[`stories catalog primitives/Dialog/Closed renders, snapshots, and carries its colors: primitives/Dialog/Closed 1`] = `
|
|
948
|
+
"
|
|
949
|
+
|
|
950
|
+
|
|
951
|
+
|
|
952
|
+
|
|
953
|
+
|
|
954
|
+
|
|
955
|
+
|
|
956
|
+
|
|
957
|
+
|
|
958
|
+
|
|
959
|
+
|
|
960
|
+
|
|
961
|
+
|
|
962
|
+
|
|
963
|
+
|
|
964
|
+
|
|
965
|
+
|
|
966
|
+
|
|
967
|
+
|
|
968
|
+
|
|
969
|
+
|
|
970
|
+
|
|
971
|
+
|
|
972
|
+
"
|
|
973
|
+
`;
|
|
974
|
+
|
|
975
|
+
exports[`stories catalog primitives/Dialog/Open renders, snapshots, and carries its colors: primitives/Dialog/Open 1`] = `
|
|
976
|
+
"
|
|
977
|
+
|
|
978
|
+
|
|
979
|
+
|
|
980
|
+
╭─ a modal ────────────────────────────╮
|
|
981
|
+
│dialog body content │
|
|
982
|
+
│ │
|
|
983
|
+
│ │
|
|
984
|
+
│ │
|
|
985
|
+
│ │
|
|
986
|
+
│ │
|
|
987
|
+
╰──────────────────────────────────────╯
|
|
988
|
+
|
|
989
|
+
|
|
990
|
+
|
|
991
|
+
|
|
992
|
+
"
|
|
993
|
+
`;
|
|
994
|
+
|
|
995
|
+
exports[`stories catalog primitives/StatusBar/HintLine renders, snapshots, and carries its colors: primitives/StatusBar/HintLine 1`] = `
|
|
996
|
+
" j/k move · v span · c comment · q quit
|
|
997
|
+
|
|
998
|
+
|
|
999
|
+
|
|
1000
|
+
|
|
1001
|
+
|
|
1002
|
+
|
|
1003
|
+
|
|
1004
|
+
|
|
1005
|
+
|
|
1006
|
+
|
|
1007
|
+
|
|
1008
|
+
|
|
1009
|
+
|
|
1010
|
+
|
|
1011
|
+
|
|
1012
|
+
|
|
1013
|
+
|
|
1014
|
+
|
|
1015
|
+
|
|
1016
|
+
|
|
1017
|
+
|
|
1018
|
+
|
|
1019
|
+
|
|
1020
|
+
"
|
|
1021
|
+
`;
|
|
1022
|
+
|
|
1023
|
+
exports[`stories catalog primitives/Tabs/SecondSelected renders, snapshots, and carries its colors: primitives/Tabs/SecondSelected 1`] = `
|
|
1024
|
+
" Review (0) Agent
|
|
1025
|
+
|
|
1026
|
+
|
|
1027
|
+
|
|
1028
|
+
|
|
1029
|
+
|
|
1030
|
+
|
|
1031
|
+
|
|
1032
|
+
|
|
1033
|
+
|
|
1034
|
+
|
|
1035
|
+
|
|
1036
|
+
|
|
1037
|
+
|
|
1038
|
+
|
|
1039
|
+
|
|
1040
|
+
|
|
1041
|
+
|
|
1042
|
+
|
|
1043
|
+
|
|
1044
|
+
|
|
1045
|
+
|
|
1046
|
+
|
|
1047
|
+
|
|
1048
|
+
"
|
|
1049
|
+
`;
|
|
1050
|
+
|
|
1051
|
+
exports[`stories catalog primitives/Tabs/TwoTabs renders, snapshots, and carries its colors: primitives/Tabs/TwoTabs 1`] = `
|
|
1052
|
+
" Review (2) Agent
|
|
1053
|
+
|
|
1054
|
+
|
|
1055
|
+
|
|
1056
|
+
|
|
1057
|
+
|
|
1058
|
+
|
|
1059
|
+
|
|
1060
|
+
|
|
1061
|
+
|
|
1062
|
+
|
|
1063
|
+
|
|
1064
|
+
|
|
1065
|
+
|
|
1066
|
+
|
|
1067
|
+
|
|
1068
|
+
|
|
1069
|
+
|
|
1070
|
+
|
|
1071
|
+
|
|
1072
|
+
|
|
1073
|
+
|
|
1074
|
+
|
|
1075
|
+
|
|
1076
|
+
"
|
|
1077
|
+
`;
|
|
1078
|
+
|
|
1079
|
+
exports[`stories catalog primitives/Toolbar/ActionRow renders, snapshots, and carries its colors: primitives/Toolbar/ActionRow 1`] = `
|
|
1080
|
+
" Submit Cancel
|
|
1081
|
+
|
|
1082
|
+
|
|
1083
|
+
|
|
1084
|
+
|
|
1085
|
+
|
|
1086
|
+
|
|
1087
|
+
|
|
1088
|
+
|
|
1089
|
+
|
|
1090
|
+
|
|
1091
|
+
|
|
1092
|
+
|
|
1093
|
+
|
|
1094
|
+
|
|
1095
|
+
|
|
1096
|
+
|
|
1097
|
+
|
|
1098
|
+
|
|
1099
|
+
|
|
1100
|
+
|
|
1101
|
+
|
|
1102
|
+
|
|
1103
|
+
|
|
1104
|
+
"
|
|
1105
|
+
`;
|
|
1106
|
+
|
|
1107
|
+
exports[`stories catalog theme-context/ContextDefault renders, snapshots, and carries its colors: theme-context/ContextDefault 1`] = `
|
|
1108
|
+
"╭─ default dark theme ─────────────────────────────────────────────────────────╮
|
|
1109
|
+
│ no provider needed │
|
|
1110
|
+
╰──────────────────────────────────────────────────────────────────────────────╯
|
|
1111
|
+
|
|
1112
|
+
|
|
1113
|
+
|
|
1114
|
+
|
|
1115
|
+
|
|
1116
|
+
|
|
1117
|
+
|
|
1118
|
+
|
|
1119
|
+
|
|
1120
|
+
|
|
1121
|
+
|
|
1122
|
+
|
|
1123
|
+
|
|
1124
|
+
|
|
1125
|
+
|
|
1126
|
+
|
|
1127
|
+
|
|
1128
|
+
|
|
1129
|
+
|
|
1130
|
+
|
|
1131
|
+
|
|
1132
|
+
"
|
|
1133
|
+
`;
|
|
1134
|
+
|
|
1135
|
+
exports[`stories catalog theme-context/PropOverride renders, snapshots, and carries its colors: theme-context/PropOverride 1`] = `
|
|
1136
|
+
"╭─ prop-overridden theme ──────────────────────────────────────────────────────╮
|
|
1137
|
+
│ the theme prop beats the context │
|
|
1138
|
+
╰──────────────────────────────────────────────────────────────────────────────╯
|
|
1139
|
+
|
|
1140
|
+
|
|
1141
|
+
|
|
1142
|
+
|
|
1143
|
+
|
|
1144
|
+
|
|
1145
|
+
|
|
1146
|
+
|
|
1147
|
+
|
|
1148
|
+
|
|
1149
|
+
|
|
1150
|
+
|
|
1151
|
+
|
|
1152
|
+
|
|
1153
|
+
|
|
1154
|
+
|
|
1155
|
+
|
|
1156
|
+
|
|
1157
|
+
|
|
1158
|
+
|
|
1159
|
+
|
|
1160
|
+
"
|
|
1161
|
+
`;
|
|
1162
|
+
|
|
1163
|
+
exports[`stories catalog theme-context/ProviderSwap renders, snapshots, and carries its colors: theme-context/ProviderSwap 1`] = `
|
|
1164
|
+
"╭─ provider theme ─────────────────────────────────────────────────────────────╮
|
|
1165
|
+
│ tokens come from the provider │
|
|
1166
|
+
╰──────────────────────────────────────────────────────────────────────────────╯
|
|
1167
|
+
|
|
1168
|
+
|
|
1169
|
+
|
|
1170
|
+
|
|
1171
|
+
|
|
1172
|
+
|
|
1173
|
+
|
|
1174
|
+
|
|
1175
|
+
|
|
1176
|
+
|
|
1177
|
+
|
|
1178
|
+
|
|
1179
|
+
|
|
1180
|
+
|
|
1181
|
+
|
|
1182
|
+
|
|
1183
|
+
|
|
1184
|
+
|
|
1185
|
+
|
|
1186
|
+
|
|
1187
|
+
|
|
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
|
+
"
|
|
1519
|
+
`;
|