@peasant-labs/fairtrade 0.0.0

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 (117) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +85 -0
  3. package/dist/lib/README.md +13 -0
  4. package/dist/lib/base.css +48 -0
  5. package/dist/lib/components.css +2 -0
  6. package/dist/lib/fonts.css +28 -0
  7. package/dist/lib/tokens.css +184 -0
  8. package/dist/lib/tokens.json +768 -0
  9. package/dist/lib/types/Accordion.d.ts +47 -0
  10. package/dist/lib/types/Accordion.stories.d.ts +91 -0
  11. package/dist/lib/types/Avatar.d.ts +94 -0
  12. package/dist/lib/types/Avatar.stories.d.ts +160 -0
  13. package/dist/lib/types/BrandMark.d.ts +25 -0
  14. package/dist/lib/types/BrandMark.stories.d.ts +75 -0
  15. package/dist/lib/types/Breadcrumb.d.ts +66 -0
  16. package/dist/lib/types/Breadcrumb.stories.d.ts +91 -0
  17. package/dist/lib/types/Button.d.ts +86 -0
  18. package/dist/lib/types/Button.stories.d.ts +129 -0
  19. package/dist/lib/types/Card.d.ts +145 -0
  20. package/dist/lib/types/Card.stories.d.ts +70 -0
  21. package/dist/lib/types/Chart.stories.d.ts +55 -0
  22. package/dist/lib/types/ChartBar.d.ts +51 -0
  23. package/dist/lib/types/ChartLine.d.ts +54 -0
  24. package/dist/lib/types/Checkbox.d.ts +132 -0
  25. package/dist/lib/types/Checkbox.stories.d.ts +75 -0
  26. package/dist/lib/types/Chip.d.ts +85 -0
  27. package/dist/lib/types/Chip.stories.d.ts +190 -0
  28. package/dist/lib/types/CliOnboard.d.ts +68 -0
  29. package/dist/lib/types/CliOnboard.stories.d.ts +24 -0
  30. package/dist/lib/types/CommandPalette.d.ts +6 -0
  31. package/dist/lib/types/CommandPalette.stories.d.ts +94 -0
  32. package/dist/lib/types/CommitGraph.d.ts +71 -0
  33. package/dist/lib/types/CommitGraph.stories.d.ts +17 -0
  34. package/dist/lib/types/ConnectionState.d.ts +82 -0
  35. package/dist/lib/types/ConnectionState.stories.d.ts +117 -0
  36. package/dist/lib/types/ConsentDialog.d.ts +97 -0
  37. package/dist/lib/types/ConsentDialog.stories.d.ts +61 -0
  38. package/dist/lib/types/DataTable.d.ts +116 -0
  39. package/dist/lib/types/DataTable.stories.d.ts +240 -0
  40. package/dist/lib/types/DateRange.d.ts +242 -0
  41. package/dist/lib/types/DateRange.stories.d.ts +272 -0
  42. package/dist/lib/types/Dialog.d.ts +9 -0
  43. package/dist/lib/types/Dialog.stories.d.ts +121 -0
  44. package/dist/lib/types/DiffView.d.ts +39 -0
  45. package/dist/lib/types/DiffView.stories.d.ts +118 -0
  46. package/dist/lib/types/EmptyState.d.ts +28 -0
  47. package/dist/lib/types/EmptyState.stories.d.ts +130 -0
  48. package/dist/lib/types/EvidenceCaption.d.ts +39 -0
  49. package/dist/lib/types/EvidenceCaption.stories.d.ts +43 -0
  50. package/dist/lib/types/Explainer.d.ts +82 -0
  51. package/dist/lib/types/Explainer.stories.d.ts +22 -0
  52. package/dist/lib/types/FacetRail.d.ts +13 -0
  53. package/dist/lib/types/FacetRail.stories.d.ts +28 -0
  54. package/dist/lib/types/Feedback.d.ts +222 -0
  55. package/dist/lib/types/Feedback.stories.d.ts +81 -0
  56. package/dist/lib/types/GroupedMultiSelect.d.ts +67 -0
  57. package/dist/lib/types/GroupedMultiSelect.stories.d.ts +59 -0
  58. package/dist/lib/types/Input.d.ts +158 -0
  59. package/dist/lib/types/Input.stories.d.ts +181 -0
  60. package/dist/lib/types/Intensity.d.ts +55 -0
  61. package/dist/lib/types/Intensity.stories.d.ts +108 -0
  62. package/dist/lib/types/MapCanvas.d.ts +89 -0
  63. package/dist/lib/types/MapCanvas.stories.d.ts +174 -0
  64. package/dist/lib/types/Menu.d.ts +62 -0
  65. package/dist/lib/types/Menu.stories.d.ts +173 -0
  66. package/dist/lib/types/ModerationQueue.d.ts +135 -0
  67. package/dist/lib/types/ModerationQueue.stories.d.ts +34 -0
  68. package/dist/lib/types/Pager.d.ts +47 -0
  69. package/dist/lib/types/Pager.stories.d.ts +100 -0
  70. package/dist/lib/types/Pagination.d.ts +50 -0
  71. package/dist/lib/types/Pagination.stories.d.ts +193 -0
  72. package/dist/lib/types/PolicySelect.d.ts +80 -0
  73. package/dist/lib/types/PolicySelect.stories.d.ts +130 -0
  74. package/dist/lib/types/ProviderIcon.d.ts +83 -0
  75. package/dist/lib/types/ProviderIcon.stories.d.ts +44 -0
  76. package/dist/lib/types/RailShell.d.ts +199 -0
  77. package/dist/lib/types/RailShell.stories.d.ts +32 -0
  78. package/dist/lib/types/Redaction.d.ts +53 -0
  79. package/dist/lib/types/Redaction.stories.d.ts +120 -0
  80. package/dist/lib/types/RoleRoster.d.ts +97 -0
  81. package/dist/lib/types/RoleRoster.stories.d.ts +23 -0
  82. package/dist/lib/types/SignIn.d.ts +78 -0
  83. package/dist/lib/types/SignIn.stories.d.ts +57 -0
  84. package/dist/lib/types/Sparkline.d.ts +19 -0
  85. package/dist/lib/types/StatTiles.d.ts +115 -0
  86. package/dist/lib/types/StatTiles.stories.d.ts +31 -0
  87. package/dist/lib/types/StepWizard.d.ts +92 -0
  88. package/dist/lib/types/StepWizard.stories.d.ts +18 -0
  89. package/dist/lib/types/StepsWaterfall.d.ts +67 -0
  90. package/dist/lib/types/StepsWaterfall.stories.d.ts +94 -0
  91. package/dist/lib/types/Switch.d.ts +63 -0
  92. package/dist/lib/types/Switch.stories.d.ts +134 -0
  93. package/dist/lib/types/Tabs.d.ts +48 -0
  94. package/dist/lib/types/Tabs.stories.d.ts +75 -0
  95. package/dist/lib/types/TimeStrip.d.ts +12 -0
  96. package/dist/lib/types/TimeStrip.stories.d.ts +30 -0
  97. package/dist/lib/types/Timeline.d.ts +192 -0
  98. package/dist/lib/types/Timeline.stories.d.ts +974 -0
  99. package/dist/lib/types/ToastHost.d.ts +70 -0
  100. package/dist/lib/types/ToastHost.stories.d.ts +115 -0
  101. package/dist/lib/types/ToolRenderers.d.ts +24 -0
  102. package/dist/lib/types/ToolRenderers.stories.d.ts +138 -0
  103. package/dist/lib/types/Tooltip.d.ts +80 -0
  104. package/dist/lib/types/Tooltip.stories.d.ts +116 -0
  105. package/dist/lib/types/Tour.d.ts +37 -0
  106. package/dist/lib/types/Tour.stories.d.ts +39 -0
  107. package/dist/lib/types/TranscriptMarkers.d.ts +50 -0
  108. package/dist/lib/types/TranscriptMarkers.stories.d.ts +48 -0
  109. package/dist/lib/types/Treemap.d.ts +77 -0
  110. package/dist/lib/types/Treemap.stories.d.ts +101 -0
  111. package/dist/lib/types/VisibilityControl.d.ts +54 -0
  112. package/dist/lib/types/VisibilityControl.stories.d.ts +126 -0
  113. package/dist/lib/types/chart-shared.d.ts +63 -0
  114. package/dist/lib/types/index.d.ts +53 -0
  115. package/dist/lib/types/story-frame.d.ts +12 -0
  116. package/dist/lib/ui.js +8707 -0
  117. package/package.json +67 -0
@@ -0,0 +1,974 @@
1
+ export default meta;
2
+ export namespace Playground {
3
+ function play({ canvasElement }: {
4
+ canvasElement: any;
5
+ }): Promise<void>;
6
+ }
7
+ export namespace RolesAndTints {
8
+ namespace args {
9
+ let items: ({
10
+ id: string;
11
+ kind: string;
12
+ role: string;
13
+ label: string;
14
+ time: string;
15
+ tokens: {
16
+ in: number;
17
+ out: number;
18
+ };
19
+ body: string;
20
+ depth?: undefined;
21
+ subagent?: undefined;
22
+ } | {
23
+ id: string;
24
+ kind: string;
25
+ role: string;
26
+ depth: number;
27
+ subagent: string;
28
+ label: string;
29
+ time: string;
30
+ tokens: {
31
+ in: number;
32
+ out: number;
33
+ };
34
+ body: string;
35
+ } | {
36
+ id: string;
37
+ kind: string;
38
+ role: string;
39
+ label: string;
40
+ time: string;
41
+ body: string;
42
+ tokens?: undefined;
43
+ depth?: undefined;
44
+ subagent?: undefined;
45
+ })[];
46
+ }
47
+ }
48
+ export namespace ToolRenderers {
49
+ export namespace args_1 {
50
+ let items_1: {
51
+ id: string;
52
+ kind: string;
53
+ role: string;
54
+ label: string;
55
+ time: string;
56
+ tokens: {
57
+ in: number;
58
+ out: number;
59
+ };
60
+ body: string;
61
+ tools: ({
62
+ id: string;
63
+ kind: string;
64
+ name: string;
65
+ preview: string;
66
+ path: string;
67
+ lines: string;
68
+ excerpt: string;
69
+ pattern?: undefined;
70
+ scope?: undefined;
71
+ glob?: undefined;
72
+ matches?: undefined;
73
+ results?: undefined;
74
+ adds?: undefined;
75
+ dels?: undefined;
76
+ hunk?: undefined;
77
+ command?: undefined;
78
+ stdout?: undefined;
79
+ duration?: undefined;
80
+ exit?: undefined;
81
+ agent?: undefined;
82
+ status?: undefined;
83
+ task?: undefined;
84
+ owner?: undefined;
85
+ promptBody?: undefined;
86
+ result?: undefined;
87
+ url?: undefined;
88
+ prompt?: undefined;
89
+ args?: undefined;
90
+ } | {
91
+ id: string;
92
+ kind: string;
93
+ name: string;
94
+ preview: string;
95
+ pattern: string;
96
+ scope: string;
97
+ glob: string;
98
+ matches: number;
99
+ results: string;
100
+ path?: undefined;
101
+ lines?: undefined;
102
+ excerpt?: undefined;
103
+ adds?: undefined;
104
+ dels?: undefined;
105
+ hunk?: undefined;
106
+ command?: undefined;
107
+ stdout?: undefined;
108
+ duration?: undefined;
109
+ exit?: undefined;
110
+ agent?: undefined;
111
+ status?: undefined;
112
+ task?: undefined;
113
+ owner?: undefined;
114
+ promptBody?: undefined;
115
+ result?: undefined;
116
+ url?: undefined;
117
+ prompt?: undefined;
118
+ args?: undefined;
119
+ } | {
120
+ id: string;
121
+ kind: string;
122
+ name: string;
123
+ preview: string;
124
+ path: string;
125
+ adds: number;
126
+ dels: number;
127
+ hunk: {
128
+ sign: string;
129
+ a: string;
130
+ b: string;
131
+ t: string;
132
+ }[];
133
+ lines?: undefined;
134
+ excerpt?: undefined;
135
+ pattern?: undefined;
136
+ scope?: undefined;
137
+ glob?: undefined;
138
+ matches?: undefined;
139
+ results?: undefined;
140
+ command?: undefined;
141
+ stdout?: undefined;
142
+ duration?: undefined;
143
+ exit?: undefined;
144
+ agent?: undefined;
145
+ status?: undefined;
146
+ task?: undefined;
147
+ owner?: undefined;
148
+ promptBody?: undefined;
149
+ result?: undefined;
150
+ url?: undefined;
151
+ prompt?: undefined;
152
+ args?: undefined;
153
+ } | {
154
+ id: string;
155
+ kind: string;
156
+ name: string;
157
+ preview: string;
158
+ command: string;
159
+ stdout: string;
160
+ duration: string;
161
+ exit: number;
162
+ path?: undefined;
163
+ lines?: undefined;
164
+ excerpt?: undefined;
165
+ pattern?: undefined;
166
+ scope?: undefined;
167
+ glob?: undefined;
168
+ matches?: undefined;
169
+ results?: undefined;
170
+ adds?: undefined;
171
+ dels?: undefined;
172
+ hunk?: undefined;
173
+ agent?: undefined;
174
+ status?: undefined;
175
+ task?: undefined;
176
+ owner?: undefined;
177
+ promptBody?: undefined;
178
+ result?: undefined;
179
+ url?: undefined;
180
+ prompt?: undefined;
181
+ args?: undefined;
182
+ } | {
183
+ id: string;
184
+ kind: string;
185
+ name: string;
186
+ preview: string;
187
+ agent: string;
188
+ status: string;
189
+ task: string;
190
+ owner: string;
191
+ promptBody: string;
192
+ result: string;
193
+ path?: undefined;
194
+ lines?: undefined;
195
+ excerpt?: undefined;
196
+ pattern?: undefined;
197
+ scope?: undefined;
198
+ glob?: undefined;
199
+ matches?: undefined;
200
+ results?: undefined;
201
+ adds?: undefined;
202
+ dels?: undefined;
203
+ hunk?: undefined;
204
+ command?: undefined;
205
+ stdout?: undefined;
206
+ duration?: undefined;
207
+ exit?: undefined;
208
+ url?: undefined;
209
+ prompt?: undefined;
210
+ args?: undefined;
211
+ } | {
212
+ id: string;
213
+ kind: string;
214
+ name: string;
215
+ preview: string;
216
+ url: string;
217
+ prompt: string;
218
+ result: string;
219
+ path?: undefined;
220
+ lines?: undefined;
221
+ excerpt?: undefined;
222
+ pattern?: undefined;
223
+ scope?: undefined;
224
+ glob?: undefined;
225
+ matches?: undefined;
226
+ results?: undefined;
227
+ adds?: undefined;
228
+ dels?: undefined;
229
+ hunk?: undefined;
230
+ command?: undefined;
231
+ stdout?: undefined;
232
+ duration?: undefined;
233
+ exit?: undefined;
234
+ agent?: undefined;
235
+ status?: undefined;
236
+ task?: undefined;
237
+ owner?: undefined;
238
+ promptBody?: undefined;
239
+ args?: undefined;
240
+ } | {
241
+ id: string;
242
+ kind: string;
243
+ name: string;
244
+ preview: string;
245
+ args: {
246
+ a: number;
247
+ b: string;
248
+ };
249
+ result: string;
250
+ path?: undefined;
251
+ lines?: undefined;
252
+ excerpt?: undefined;
253
+ pattern?: undefined;
254
+ scope?: undefined;
255
+ glob?: undefined;
256
+ matches?: undefined;
257
+ results?: undefined;
258
+ adds?: undefined;
259
+ dels?: undefined;
260
+ hunk?: undefined;
261
+ command?: undefined;
262
+ stdout?: undefined;
263
+ duration?: undefined;
264
+ exit?: undefined;
265
+ agent?: undefined;
266
+ status?: undefined;
267
+ task?: undefined;
268
+ owner?: undefined;
269
+ promptBody?: undefined;
270
+ url?: undefined;
271
+ prompt?: undefined;
272
+ })[];
273
+ }[];
274
+ export { items_1 as items };
275
+ }
276
+ export { args_1 as args };
277
+ export function play_1({ canvasElement }: {
278
+ canvasElement: any;
279
+ }): Promise<void>;
280
+ export { play_1 as play };
281
+ }
282
+ export namespace CustomRenderTool {
283
+ export namespace args_2 {
284
+ function renderTool(tool: any): any;
285
+ }
286
+ export { args_2 as args };
287
+ }
288
+ export namespace CustomRenderBody {
289
+ export namespace args_3 {
290
+ export function renderBody(item: any): any;
291
+ let items_2: ({
292
+ id: string;
293
+ kind: string;
294
+ role: string;
295
+ label: string;
296
+ time: string;
297
+ longTime: string;
298
+ tokens: {
299
+ in: number;
300
+ out: number;
301
+ };
302
+ body: string;
303
+ thinking?: undefined;
304
+ tools?: undefined;
305
+ phaseLabel?: undefined;
306
+ icon?: undefined;
307
+ range?: undefined;
308
+ error?: undefined;
309
+ depth?: undefined;
310
+ subagent?: undefined;
311
+ hash?: undefined;
312
+ msg?: undefined;
313
+ stat?: undefined;
314
+ } | {
315
+ id: string;
316
+ kind: string;
317
+ role: string;
318
+ label: string;
319
+ time: string;
320
+ longTime: string;
321
+ tokens: {
322
+ in: number;
323
+ out: number;
324
+ };
325
+ thinking: {
326
+ words: number;
327
+ text: string;
328
+ };
329
+ body: string;
330
+ tools: {
331
+ id: string;
332
+ kind: string;
333
+ name: string;
334
+ preview: string;
335
+ path: string;
336
+ lines: string;
337
+ excerpt: string;
338
+ }[];
339
+ phaseLabel?: undefined;
340
+ icon?: undefined;
341
+ range?: undefined;
342
+ error?: undefined;
343
+ depth?: undefined;
344
+ subagent?: undefined;
345
+ hash?: undefined;
346
+ msg?: undefined;
347
+ stat?: undefined;
348
+ } | {
349
+ id: string;
350
+ kind: string;
351
+ phaseLabel: string;
352
+ icon: react.ForwardRefExoticComponent<any>;
353
+ range: string;
354
+ role?: undefined;
355
+ label?: undefined;
356
+ time?: undefined;
357
+ longTime?: undefined;
358
+ tokens?: undefined;
359
+ body?: undefined;
360
+ thinking?: undefined;
361
+ tools?: undefined;
362
+ error?: undefined;
363
+ depth?: undefined;
364
+ subagent?: undefined;
365
+ hash?: undefined;
366
+ msg?: undefined;
367
+ stat?: undefined;
368
+ } | {
369
+ id: string;
370
+ kind: string;
371
+ role: string;
372
+ label: string;
373
+ time: string;
374
+ longTime: string;
375
+ error: boolean;
376
+ tokens: {
377
+ in: number;
378
+ out: number;
379
+ };
380
+ body: string;
381
+ tools: ({
382
+ id: string;
383
+ kind: string;
384
+ name: string;
385
+ preview: string;
386
+ path: string;
387
+ adds: number;
388
+ dels: number;
389
+ hunk: {
390
+ sign: string;
391
+ a: string;
392
+ b: string;
393
+ t: string;
394
+ }[];
395
+ command?: undefined;
396
+ stdout?: undefined;
397
+ duration?: undefined;
398
+ exit?: undefined;
399
+ } | {
400
+ id: string;
401
+ kind: string;
402
+ name: string;
403
+ preview: string;
404
+ command: string;
405
+ stdout: string;
406
+ duration: string;
407
+ exit: number;
408
+ path?: undefined;
409
+ adds?: undefined;
410
+ dels?: undefined;
411
+ hunk?: undefined;
412
+ })[];
413
+ thinking?: undefined;
414
+ phaseLabel?: undefined;
415
+ icon?: undefined;
416
+ range?: undefined;
417
+ depth?: undefined;
418
+ subagent?: undefined;
419
+ hash?: undefined;
420
+ msg?: undefined;
421
+ stat?: undefined;
422
+ } | {
423
+ id: string;
424
+ kind: string;
425
+ role: string;
426
+ label: string;
427
+ depth: number;
428
+ subagent: string;
429
+ time: string;
430
+ longTime: string;
431
+ tokens: {
432
+ in: number;
433
+ out: number;
434
+ };
435
+ body: string;
436
+ tools: {
437
+ id: string;
438
+ kind: string;
439
+ name: string;
440
+ preview: string;
441
+ agent: string;
442
+ status: string;
443
+ task: string;
444
+ owner: string;
445
+ promptBody: string;
446
+ result: string;
447
+ }[];
448
+ thinking?: undefined;
449
+ phaseLabel?: undefined;
450
+ icon?: undefined;
451
+ range?: undefined;
452
+ error?: undefined;
453
+ hash?: undefined;
454
+ msg?: undefined;
455
+ stat?: undefined;
456
+ } | {
457
+ id: string;
458
+ kind: string;
459
+ hash: string;
460
+ msg: string;
461
+ stat: {
462
+ files: number;
463
+ adds: number;
464
+ dels: number;
465
+ };
466
+ role?: undefined;
467
+ label?: undefined;
468
+ time?: undefined;
469
+ longTime?: undefined;
470
+ tokens?: undefined;
471
+ body?: undefined;
472
+ thinking?: undefined;
473
+ tools?: undefined;
474
+ phaseLabel?: undefined;
475
+ icon?: undefined;
476
+ range?: undefined;
477
+ error?: undefined;
478
+ depth?: undefined;
479
+ subagent?: undefined;
480
+ } | {
481
+ body: string;
482
+ id: string;
483
+ kind: string;
484
+ phaseLabel: string;
485
+ icon: react.ForwardRefExoticComponent<any>;
486
+ range: string;
487
+ role?: undefined;
488
+ label?: undefined;
489
+ time?: undefined;
490
+ longTime?: undefined;
491
+ tokens?: undefined;
492
+ thinking?: undefined;
493
+ tools?: undefined;
494
+ error?: undefined;
495
+ depth?: undefined;
496
+ subagent?: undefined;
497
+ hash?: undefined;
498
+ msg?: undefined;
499
+ stat?: undefined;
500
+ } | {
501
+ body: string;
502
+ id: string;
503
+ kind: string;
504
+ hash: string;
505
+ msg: string;
506
+ stat: {
507
+ files: number;
508
+ adds: number;
509
+ dels: number;
510
+ };
511
+ role?: undefined;
512
+ label?: undefined;
513
+ time?: undefined;
514
+ longTime?: undefined;
515
+ tokens?: undefined;
516
+ thinking?: undefined;
517
+ tools?: undefined;
518
+ phaseLabel?: undefined;
519
+ icon?: undefined;
520
+ range?: undefined;
521
+ error?: undefined;
522
+ depth?: undefined;
523
+ subagent?: undefined;
524
+ })[];
525
+ export { items_2 as items };
526
+ }
527
+ export { args_3 as args };
528
+ }
529
+ export namespace WithThinking {
530
+ export namespace args_4 {
531
+ let items_3: {
532
+ id: string;
533
+ kind: string;
534
+ role: string;
535
+ label: string;
536
+ time: string;
537
+ tokens: {
538
+ in: number;
539
+ out: number;
540
+ };
541
+ body: string;
542
+ thinking: {
543
+ words: number;
544
+ text: string;
545
+ };
546
+ }[];
547
+ export { items_3 as items };
548
+ }
549
+ export { args_4 as args };
550
+ export function play_2({ canvasElement }: {
551
+ canvasElement: any;
552
+ }): Promise<void>;
553
+ export { play_2 as play };
554
+ }
555
+ export namespace PhasesAndCheckpoints {
556
+ export namespace args_5 {
557
+ let items_4: ({
558
+ id: string;
559
+ kind: string;
560
+ phaseLabel: string;
561
+ icon: react.ForwardRefExoticComponent<any>;
562
+ range: string;
563
+ role?: undefined;
564
+ label?: undefined;
565
+ time?: undefined;
566
+ tokens?: undefined;
567
+ body?: undefined;
568
+ hash?: undefined;
569
+ msg?: undefined;
570
+ stat?: undefined;
571
+ } | {
572
+ id: string;
573
+ kind: string;
574
+ role: string;
575
+ label: string;
576
+ time: string;
577
+ tokens: {
578
+ in: number;
579
+ out: number;
580
+ };
581
+ body: string;
582
+ phaseLabel?: undefined;
583
+ icon?: undefined;
584
+ range?: undefined;
585
+ hash?: undefined;
586
+ msg?: undefined;
587
+ stat?: undefined;
588
+ } | {
589
+ id: string;
590
+ kind: string;
591
+ hash: string;
592
+ msg: string;
593
+ stat: {
594
+ files: number;
595
+ adds: number;
596
+ dels: number;
597
+ };
598
+ phaseLabel?: undefined;
599
+ icon?: undefined;
600
+ range?: undefined;
601
+ role?: undefined;
602
+ label?: undefined;
603
+ time?: undefined;
604
+ tokens?: undefined;
605
+ body?: undefined;
606
+ })[];
607
+ export { items_4 as items };
608
+ }
609
+ export { args_5 as args };
610
+ }
611
+ export namespace SubagentThread {
612
+ export namespace args_6 {
613
+ let items_5: ({
614
+ id: string;
615
+ kind: string;
616
+ role: string;
617
+ label: string;
618
+ time: string;
619
+ tokens: {
620
+ in: number;
621
+ out: number;
622
+ };
623
+ body: string;
624
+ depth?: undefined;
625
+ subagent?: undefined;
626
+ final?: undefined;
627
+ } | {
628
+ id: string;
629
+ kind: string;
630
+ role: string;
631
+ depth: number;
632
+ subagent: string;
633
+ label: string;
634
+ time: string;
635
+ tokens: {
636
+ in: number;
637
+ out: number;
638
+ };
639
+ body: string;
640
+ final?: undefined;
641
+ } | {
642
+ id: string;
643
+ kind: string;
644
+ role: string;
645
+ label: string;
646
+ time: string;
647
+ final: boolean;
648
+ tokens: {
649
+ in: number;
650
+ out: number;
651
+ };
652
+ body: string;
653
+ depth?: undefined;
654
+ subagent?: undefined;
655
+ })[];
656
+ export { items_5 as items };
657
+ }
658
+ export { args_6 as args };
659
+ }
660
+ export namespace ErrorTurn {
661
+ export namespace args_7 {
662
+ let items_6: ({
663
+ id: string;
664
+ kind: string;
665
+ role: string;
666
+ label: string;
667
+ time: string;
668
+ tokens: {
669
+ in: number;
670
+ out: number;
671
+ };
672
+ body: string;
673
+ error?: undefined;
674
+ } | {
675
+ id: string;
676
+ kind: string;
677
+ role: string;
678
+ label: string;
679
+ time: string;
680
+ error: boolean;
681
+ tokens: {
682
+ in: number;
683
+ out: number;
684
+ };
685
+ body: string;
686
+ })[];
687
+ export { items_6 as items };
688
+ }
689
+ export { args_7 as args };
690
+ }
691
+ export namespace FinalTurn {
692
+ export namespace args_8 {
693
+ let items_7: ({
694
+ id: string;
695
+ kind: string;
696
+ role: string;
697
+ label: string;
698
+ time: string;
699
+ tokens: {
700
+ in: number;
701
+ out: number;
702
+ };
703
+ body: string;
704
+ final?: undefined;
705
+ } | {
706
+ id: string;
707
+ kind: string;
708
+ role: string;
709
+ label: string;
710
+ time: string;
711
+ final: boolean;
712
+ tokens: {
713
+ in: number;
714
+ out: number;
715
+ };
716
+ body: string;
717
+ })[];
718
+ export { items_7 as items };
719
+ }
720
+ export { args_8 as args };
721
+ }
722
+ export namespace Dense {
723
+ export namespace args_9 {
724
+ let dense: boolean;
725
+ }
726
+ export { args_9 as args };
727
+ }
728
+ export namespace Empty {
729
+ export namespace args_10 {
730
+ let items_8: any[];
731
+ export { items_8 as items };
732
+ export let ariaLabel: string;
733
+ }
734
+ export { args_10 as args };
735
+ }
736
+ export namespace LightTheme {
737
+ namespace globals {
738
+ let theme: string;
739
+ namespace backgrounds {
740
+ let value: string;
741
+ }
742
+ }
743
+ }
744
+ declare namespace meta {
745
+ export let title: string;
746
+ export { Timeline as component };
747
+ export let tags: string[];
748
+ export let decorators: Function[];
749
+ export namespace argTypes {
750
+ export namespace dense_1 {
751
+ let control: string;
752
+ }
753
+ export { dense_1 as dense };
754
+ export namespace ariaLabel_1 {
755
+ let control_1: string;
756
+ export { control_1 as control };
757
+ }
758
+ export { ariaLabel_1 as ariaLabel };
759
+ export namespace items_9 {
760
+ let control_2: boolean;
761
+ export { control_2 as control };
762
+ }
763
+ export { items_9 as items };
764
+ export namespace renderTool_1 {
765
+ let control_3: boolean;
766
+ export { control_3 as control };
767
+ }
768
+ export { renderTool_1 as renderTool };
769
+ export namespace renderBody_1 {
770
+ let control_4: boolean;
771
+ export { control_4 as control };
772
+ }
773
+ export { renderBody_1 as renderBody };
774
+ }
775
+ export namespace args_11 {
776
+ export { items };
777
+ let dense_2: boolean;
778
+ export { dense_2 as dense };
779
+ let ariaLabel_2: string;
780
+ export { ariaLabel_2 as ariaLabel };
781
+ }
782
+ export { args_11 as args };
783
+ }
784
+ import Timeline from './Timeline.jsx';
785
+ declare const items_10: ({
786
+ id: string;
787
+ kind: string;
788
+ role: string;
789
+ label: string;
790
+ time: string;
791
+ longTime: string;
792
+ tokens: {
793
+ in: number;
794
+ out: number;
795
+ };
796
+ body: string;
797
+ thinking?: undefined;
798
+ tools?: undefined;
799
+ phaseLabel?: undefined;
800
+ icon?: undefined;
801
+ range?: undefined;
802
+ error?: undefined;
803
+ depth?: undefined;
804
+ subagent?: undefined;
805
+ hash?: undefined;
806
+ msg?: undefined;
807
+ stat?: undefined;
808
+ } | {
809
+ id: string;
810
+ kind: string;
811
+ role: string;
812
+ label: string;
813
+ time: string;
814
+ longTime: string;
815
+ tokens: {
816
+ in: number;
817
+ out: number;
818
+ };
819
+ thinking: {
820
+ words: number;
821
+ text: string;
822
+ };
823
+ body: string;
824
+ tools: {
825
+ id: string;
826
+ kind: string;
827
+ name: string;
828
+ preview: string;
829
+ path: string;
830
+ lines: string;
831
+ excerpt: string;
832
+ }[];
833
+ phaseLabel?: undefined;
834
+ icon?: undefined;
835
+ range?: undefined;
836
+ error?: undefined;
837
+ depth?: undefined;
838
+ subagent?: undefined;
839
+ hash?: undefined;
840
+ msg?: undefined;
841
+ stat?: undefined;
842
+ } | {
843
+ id: string;
844
+ kind: string;
845
+ phaseLabel: string;
846
+ icon: react.ForwardRefExoticComponent<any>;
847
+ range: string;
848
+ role?: undefined;
849
+ label?: undefined;
850
+ time?: undefined;
851
+ longTime?: undefined;
852
+ tokens?: undefined;
853
+ body?: undefined;
854
+ thinking?: undefined;
855
+ tools?: undefined;
856
+ error?: undefined;
857
+ depth?: undefined;
858
+ subagent?: undefined;
859
+ hash?: undefined;
860
+ msg?: undefined;
861
+ stat?: undefined;
862
+ } | {
863
+ id: string;
864
+ kind: string;
865
+ role: string;
866
+ label: string;
867
+ time: string;
868
+ longTime: string;
869
+ error: boolean;
870
+ tokens: {
871
+ in: number;
872
+ out: number;
873
+ };
874
+ body: string;
875
+ tools: ({
876
+ id: string;
877
+ kind: string;
878
+ name: string;
879
+ preview: string;
880
+ path: string;
881
+ adds: number;
882
+ dels: number;
883
+ hunk: {
884
+ sign: string;
885
+ a: string;
886
+ b: string;
887
+ t: string;
888
+ }[];
889
+ command?: undefined;
890
+ stdout?: undefined;
891
+ duration?: undefined;
892
+ exit?: undefined;
893
+ } | {
894
+ id: string;
895
+ kind: string;
896
+ name: string;
897
+ preview: string;
898
+ command: string;
899
+ stdout: string;
900
+ duration: string;
901
+ exit: number;
902
+ path?: undefined;
903
+ adds?: undefined;
904
+ dels?: undefined;
905
+ hunk?: undefined;
906
+ })[];
907
+ thinking?: undefined;
908
+ phaseLabel?: undefined;
909
+ icon?: undefined;
910
+ range?: undefined;
911
+ depth?: undefined;
912
+ subagent?: undefined;
913
+ hash?: undefined;
914
+ msg?: undefined;
915
+ stat?: undefined;
916
+ } | {
917
+ id: string;
918
+ kind: string;
919
+ role: string;
920
+ label: string;
921
+ depth: number;
922
+ subagent: string;
923
+ time: string;
924
+ longTime: string;
925
+ tokens: {
926
+ in: number;
927
+ out: number;
928
+ };
929
+ body: string;
930
+ tools: {
931
+ id: string;
932
+ kind: string;
933
+ name: string;
934
+ preview: string;
935
+ agent: string;
936
+ status: string;
937
+ task: string;
938
+ owner: string;
939
+ promptBody: string;
940
+ result: string;
941
+ }[];
942
+ thinking?: undefined;
943
+ phaseLabel?: undefined;
944
+ icon?: undefined;
945
+ range?: undefined;
946
+ error?: undefined;
947
+ hash?: undefined;
948
+ msg?: undefined;
949
+ stat?: undefined;
950
+ } | {
951
+ id: string;
952
+ kind: string;
953
+ hash: string;
954
+ msg: string;
955
+ stat: {
956
+ files: number;
957
+ adds: number;
958
+ dels: number;
959
+ };
960
+ role?: undefined;
961
+ label?: undefined;
962
+ time?: undefined;
963
+ longTime?: undefined;
964
+ tokens?: undefined;
965
+ body?: undefined;
966
+ thinking?: undefined;
967
+ tools?: undefined;
968
+ phaseLabel?: undefined;
969
+ icon?: undefined;
970
+ range?: undefined;
971
+ error?: undefined;
972
+ depth?: undefined;
973
+ subagent?: undefined;
974
+ })[];