@inupedia/spotlight-vue 0.1.3 → 0.1.4

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.
@@ -178,6 +178,87 @@ export declare const useSpotlightStore: import("pinia").StoreDefinition<"spotlig
178
178
  label: string | null;
179
179
  artifact: "attachments" | "files" | "artifacts" | "tool_calls" | "chat_items";
180
180
  count: number;
181
+ attachments?: {
182
+ id: string;
183
+ type: "image" | "file" | "html";
184
+ name?: string | undefined;
185
+ url: string;
186
+ mimeType?: string | undefined;
187
+ }[] | undefined;
188
+ files?: {
189
+ id: string;
190
+ path: string;
191
+ name: string;
192
+ content?: string[] | undefined;
193
+ createdAt?: string | undefined;
194
+ modifiedAt?: string | undefined;
195
+ }[] | undefined;
196
+ artifacts?: {
197
+ id: string;
198
+ kind: import("./types.js").SpotlightArtifactKind;
199
+ title: string;
200
+ sourceToolCallId?: string | undefined;
201
+ sourceToolName?: string | undefined;
202
+ summary?: string | undefined;
203
+ payload: {
204
+ columns: string[];
205
+ rows: Array<Record<string, unknown>>;
206
+ } | {
207
+ html: string;
208
+ } | {
209
+ url: string;
210
+ } | {
211
+ value: unknown;
212
+ } | {
213
+ text: string;
214
+ };
215
+ }[] | undefined;
216
+ toolCalls?: {
217
+ id: string;
218
+ name: string;
219
+ displayName?: string | undefined;
220
+ argsText?: string | undefined;
221
+ resultText?: string | undefined;
222
+ summary?: string | undefined;
223
+ errorCode?: string | undefined;
224
+ trace?: {
225
+ phase: "dependency" | "context" | "execution";
226
+ source: "executor" | "spotlight_action" | "spotlight_server";
227
+ type: string;
228
+ tool: string;
229
+ detail?: string | undefined;
230
+ at: number;
231
+ elapsedMs: number;
232
+ }[] | undefined;
233
+ status: "pending" | "running" | "done" | "error";
234
+ }[] | undefined;
235
+ chatItems?: ({
236
+ id: string;
237
+ type: "text";
238
+ text: string;
239
+ } | {
240
+ id: string;
241
+ type: "tool";
242
+ toolCall: {
243
+ id: string;
244
+ name: string;
245
+ displayName?: string | undefined;
246
+ argsText?: string | undefined;
247
+ resultText?: string | undefined;
248
+ summary?: string | undefined;
249
+ errorCode?: string | undefined;
250
+ trace?: {
251
+ phase: "dependency" | "context" | "execution";
252
+ source: "executor" | "spotlight_action" | "spotlight_server";
253
+ type: string;
254
+ tool: string;
255
+ detail?: string | undefined;
256
+ at: number;
257
+ elapsedMs: number;
258
+ }[] | undefined;
259
+ status: "pending" | "running" | "done" | "error";
260
+ };
261
+ })[] | undefined;
181
262
  } | {
182
263
  type: "turn_transition";
183
264
  at: number;
@@ -405,6 +486,87 @@ export declare const useSpotlightStore: import("pinia").StoreDefinition<"spotlig
405
486
  label: string | null;
406
487
  artifact: "attachments" | "files" | "artifacts" | "tool_calls" | "chat_items";
407
488
  count: number;
489
+ attachments?: {
490
+ id: string;
491
+ type: "image" | "file" | "html";
492
+ name?: string | undefined;
493
+ url: string;
494
+ mimeType?: string | undefined;
495
+ }[] | undefined;
496
+ files?: {
497
+ id: string;
498
+ path: string;
499
+ name: string;
500
+ content?: string[] | undefined;
501
+ createdAt?: string | undefined;
502
+ modifiedAt?: string | undefined;
503
+ }[] | undefined;
504
+ artifacts?: {
505
+ id: string;
506
+ kind: import("./types.js").SpotlightArtifactKind;
507
+ title: string;
508
+ sourceToolCallId?: string | undefined;
509
+ sourceToolName?: string | undefined;
510
+ summary?: string | undefined;
511
+ payload: {
512
+ columns: string[];
513
+ rows: Array<Record<string, unknown>>;
514
+ } | {
515
+ html: string;
516
+ } | {
517
+ url: string;
518
+ } | {
519
+ value: unknown;
520
+ } | {
521
+ text: string;
522
+ };
523
+ }[] | undefined;
524
+ toolCalls?: {
525
+ id: string;
526
+ name: string;
527
+ displayName?: string | undefined;
528
+ argsText?: string | undefined;
529
+ resultText?: string | undefined;
530
+ summary?: string | undefined;
531
+ errorCode?: string | undefined;
532
+ trace?: {
533
+ phase: "dependency" | "context" | "execution";
534
+ source: "executor" | "spotlight_action" | "spotlight_server";
535
+ type: string;
536
+ tool: string;
537
+ detail?: string | undefined;
538
+ at: number;
539
+ elapsedMs: number;
540
+ }[] | undefined;
541
+ status: "pending" | "running" | "done" | "error";
542
+ }[] | undefined;
543
+ chatItems?: ({
544
+ id: string;
545
+ type: "text";
546
+ text: string;
547
+ } | {
548
+ id: string;
549
+ type: "tool";
550
+ toolCall: {
551
+ id: string;
552
+ name: string;
553
+ displayName?: string | undefined;
554
+ argsText?: string | undefined;
555
+ resultText?: string | undefined;
556
+ summary?: string | undefined;
557
+ errorCode?: string | undefined;
558
+ trace?: {
559
+ phase: "dependency" | "context" | "execution";
560
+ source: "executor" | "spotlight_action" | "spotlight_server";
561
+ type: string;
562
+ tool: string;
563
+ detail?: string | undefined;
564
+ at: number;
565
+ elapsedMs: number;
566
+ }[] | undefined;
567
+ status: "pending" | "running" | "done" | "error";
568
+ };
569
+ })[] | undefined;
408
570
  } | {
409
571
  type: "turn_transition";
410
572
  at: number;
@@ -717,6 +879,87 @@ export declare const useSpotlightStore: import("pinia").StoreDefinition<"spotlig
717
879
  label: string | null;
718
880
  artifact: "attachments" | "files" | "artifacts" | "tool_calls" | "chat_items";
719
881
  count: number;
882
+ attachments?: {
883
+ id: string;
884
+ type: "image" | "file" | "html";
885
+ name?: string | undefined;
886
+ url: string;
887
+ mimeType?: string | undefined;
888
+ }[] | undefined;
889
+ files?: {
890
+ id: string;
891
+ path: string;
892
+ name: string;
893
+ content?: string[] | undefined;
894
+ createdAt?: string | undefined;
895
+ modifiedAt?: string | undefined;
896
+ }[] | undefined;
897
+ artifacts?: {
898
+ id: string;
899
+ kind: import("./types.js").SpotlightArtifactKind;
900
+ title: string;
901
+ sourceToolCallId?: string | undefined;
902
+ sourceToolName?: string | undefined;
903
+ summary?: string | undefined;
904
+ payload: {
905
+ columns: string[];
906
+ rows: Array<Record<string, unknown>>;
907
+ } | {
908
+ html: string;
909
+ } | {
910
+ url: string;
911
+ } | {
912
+ value: unknown;
913
+ } | {
914
+ text: string;
915
+ };
916
+ }[] | undefined;
917
+ toolCalls?: {
918
+ id: string;
919
+ name: string;
920
+ displayName?: string | undefined;
921
+ argsText?: string | undefined;
922
+ resultText?: string | undefined;
923
+ summary?: string | undefined;
924
+ errorCode?: string | undefined;
925
+ trace?: {
926
+ phase: "dependency" | "context" | "execution";
927
+ source: "executor" | "spotlight_action" | "spotlight_server";
928
+ type: string;
929
+ tool: string;
930
+ detail?: string | undefined;
931
+ at: number;
932
+ elapsedMs: number;
933
+ }[] | undefined;
934
+ status: "pending" | "running" | "done" | "error";
935
+ }[] | undefined;
936
+ chatItems?: ({
937
+ id: string;
938
+ type: "text";
939
+ text: string;
940
+ } | {
941
+ id: string;
942
+ type: "tool";
943
+ toolCall: {
944
+ id: string;
945
+ name: string;
946
+ displayName?: string | undefined;
947
+ argsText?: string | undefined;
948
+ resultText?: string | undefined;
949
+ summary?: string | undefined;
950
+ errorCode?: string | undefined;
951
+ trace?: {
952
+ phase: "dependency" | "context" | "execution";
953
+ source: "executor" | "spotlight_action" | "spotlight_server";
954
+ type: string;
955
+ tool: string;
956
+ detail?: string | undefined;
957
+ at: number;
958
+ elapsedMs: number;
959
+ }[] | undefined;
960
+ status: "pending" | "running" | "done" | "error";
961
+ };
962
+ })[] | undefined;
720
963
  } | {
721
964
  type: "turn_transition";
722
965
  at: number;
@@ -944,6 +1187,87 @@ export declare const useSpotlightStore: import("pinia").StoreDefinition<"spotlig
944
1187
  label: string | null;
945
1188
  artifact: "attachments" | "files" | "artifacts" | "tool_calls" | "chat_items";
946
1189
  count: number;
1190
+ attachments?: {
1191
+ id: string;
1192
+ type: "image" | "file" | "html";
1193
+ name?: string | undefined;
1194
+ url: string;
1195
+ mimeType?: string | undefined;
1196
+ }[] | undefined;
1197
+ files?: {
1198
+ id: string;
1199
+ path: string;
1200
+ name: string;
1201
+ content?: string[] | undefined;
1202
+ createdAt?: string | undefined;
1203
+ modifiedAt?: string | undefined;
1204
+ }[] | undefined;
1205
+ artifacts?: {
1206
+ id: string;
1207
+ kind: import("./types.js").SpotlightArtifactKind;
1208
+ title: string;
1209
+ sourceToolCallId?: string | undefined;
1210
+ sourceToolName?: string | undefined;
1211
+ summary?: string | undefined;
1212
+ payload: {
1213
+ columns: string[];
1214
+ rows: Array<Record<string, unknown>>;
1215
+ } | {
1216
+ html: string;
1217
+ } | {
1218
+ url: string;
1219
+ } | {
1220
+ value: unknown;
1221
+ } | {
1222
+ text: string;
1223
+ };
1224
+ }[] | undefined;
1225
+ toolCalls?: {
1226
+ id: string;
1227
+ name: string;
1228
+ displayName?: string | undefined;
1229
+ argsText?: string | undefined;
1230
+ resultText?: string | undefined;
1231
+ summary?: string | undefined;
1232
+ errorCode?: string | undefined;
1233
+ trace?: {
1234
+ phase: "dependency" | "context" | "execution";
1235
+ source: "executor" | "spotlight_action" | "spotlight_server";
1236
+ type: string;
1237
+ tool: string;
1238
+ detail?: string | undefined;
1239
+ at: number;
1240
+ elapsedMs: number;
1241
+ }[] | undefined;
1242
+ status: "pending" | "running" | "done" | "error";
1243
+ }[] | undefined;
1244
+ chatItems?: ({
1245
+ id: string;
1246
+ type: "text";
1247
+ text: string;
1248
+ } | {
1249
+ id: string;
1250
+ type: "tool";
1251
+ toolCall: {
1252
+ id: string;
1253
+ name: string;
1254
+ displayName?: string | undefined;
1255
+ argsText?: string | undefined;
1256
+ resultText?: string | undefined;
1257
+ summary?: string | undefined;
1258
+ errorCode?: string | undefined;
1259
+ trace?: {
1260
+ phase: "dependency" | "context" | "execution";
1261
+ source: "executor" | "spotlight_action" | "spotlight_server";
1262
+ type: string;
1263
+ tool: string;
1264
+ detail?: string | undefined;
1265
+ at: number;
1266
+ elapsedMs: number;
1267
+ }[] | undefined;
1268
+ status: "pending" | "running" | "done" | "error";
1269
+ };
1270
+ })[] | undefined;
947
1271
  } | {
948
1272
  type: "turn_transition";
949
1273
  at: number;
@@ -1256,6 +1580,87 @@ export declare const useSpotlightStore: import("pinia").StoreDefinition<"spotlig
1256
1580
  label: string | null;
1257
1581
  artifact: "attachments" | "files" | "artifacts" | "tool_calls" | "chat_items";
1258
1582
  count: number;
1583
+ attachments?: {
1584
+ id: string;
1585
+ type: "image" | "file" | "html";
1586
+ name?: string | undefined;
1587
+ url: string;
1588
+ mimeType?: string | undefined;
1589
+ }[] | undefined;
1590
+ files?: {
1591
+ id: string;
1592
+ path: string;
1593
+ name: string;
1594
+ content?: string[] | undefined;
1595
+ createdAt?: string | undefined;
1596
+ modifiedAt?: string | undefined;
1597
+ }[] | undefined;
1598
+ artifacts?: {
1599
+ id: string;
1600
+ kind: import("./types.js").SpotlightArtifactKind;
1601
+ title: string;
1602
+ sourceToolCallId?: string | undefined;
1603
+ sourceToolName?: string | undefined;
1604
+ summary?: string | undefined;
1605
+ payload: {
1606
+ columns: string[];
1607
+ rows: Array<Record<string, unknown>>;
1608
+ } | {
1609
+ html: string;
1610
+ } | {
1611
+ url: string;
1612
+ } | {
1613
+ value: unknown;
1614
+ } | {
1615
+ text: string;
1616
+ };
1617
+ }[] | undefined;
1618
+ toolCalls?: {
1619
+ id: string;
1620
+ name: string;
1621
+ displayName?: string | undefined;
1622
+ argsText?: string | undefined;
1623
+ resultText?: string | undefined;
1624
+ summary?: string | undefined;
1625
+ errorCode?: string | undefined;
1626
+ trace?: {
1627
+ phase: "dependency" | "context" | "execution";
1628
+ source: "executor" | "spotlight_action" | "spotlight_server";
1629
+ type: string;
1630
+ tool: string;
1631
+ detail?: string | undefined;
1632
+ at: number;
1633
+ elapsedMs: number;
1634
+ }[] | undefined;
1635
+ status: "pending" | "running" | "done" | "error";
1636
+ }[] | undefined;
1637
+ chatItems?: ({
1638
+ id: string;
1639
+ type: "text";
1640
+ text: string;
1641
+ } | {
1642
+ id: string;
1643
+ type: "tool";
1644
+ toolCall: {
1645
+ id: string;
1646
+ name: string;
1647
+ displayName?: string | undefined;
1648
+ argsText?: string | undefined;
1649
+ resultText?: string | undefined;
1650
+ summary?: string | undefined;
1651
+ errorCode?: string | undefined;
1652
+ trace?: {
1653
+ phase: "dependency" | "context" | "execution";
1654
+ source: "executor" | "spotlight_action" | "spotlight_server";
1655
+ type: string;
1656
+ tool: string;
1657
+ detail?: string | undefined;
1658
+ at: number;
1659
+ elapsedMs: number;
1660
+ }[] | undefined;
1661
+ status: "pending" | "running" | "done" | "error";
1662
+ };
1663
+ })[] | undefined;
1259
1664
  } | {
1260
1665
  type: "turn_transition";
1261
1666
  at: number;
@@ -1483,6 +1888,87 @@ export declare const useSpotlightStore: import("pinia").StoreDefinition<"spotlig
1483
1888
  label: string | null;
1484
1889
  artifact: "attachments" | "files" | "artifacts" | "tool_calls" | "chat_items";
1485
1890
  count: number;
1891
+ attachments?: {
1892
+ id: string;
1893
+ type: "image" | "file" | "html";
1894
+ name?: string | undefined;
1895
+ url: string;
1896
+ mimeType?: string | undefined;
1897
+ }[] | undefined;
1898
+ files?: {
1899
+ id: string;
1900
+ path: string;
1901
+ name: string;
1902
+ content?: string[] | undefined;
1903
+ createdAt?: string | undefined;
1904
+ modifiedAt?: string | undefined;
1905
+ }[] | undefined;
1906
+ artifacts?: {
1907
+ id: string;
1908
+ kind: import("./types.js").SpotlightArtifactKind;
1909
+ title: string;
1910
+ sourceToolCallId?: string | undefined;
1911
+ sourceToolName?: string | undefined;
1912
+ summary?: string | undefined;
1913
+ payload: {
1914
+ columns: string[];
1915
+ rows: Array<Record<string, unknown>>;
1916
+ } | {
1917
+ html: string;
1918
+ } | {
1919
+ url: string;
1920
+ } | {
1921
+ value: unknown;
1922
+ } | {
1923
+ text: string;
1924
+ };
1925
+ }[] | undefined;
1926
+ toolCalls?: {
1927
+ id: string;
1928
+ name: string;
1929
+ displayName?: string | undefined;
1930
+ argsText?: string | undefined;
1931
+ resultText?: string | undefined;
1932
+ summary?: string | undefined;
1933
+ errorCode?: string | undefined;
1934
+ trace?: {
1935
+ phase: "dependency" | "context" | "execution";
1936
+ source: "executor" | "spotlight_action" | "spotlight_server";
1937
+ type: string;
1938
+ tool: string;
1939
+ detail?: string | undefined;
1940
+ at: number;
1941
+ elapsedMs: number;
1942
+ }[] | undefined;
1943
+ status: "pending" | "running" | "done" | "error";
1944
+ }[] | undefined;
1945
+ chatItems?: ({
1946
+ id: string;
1947
+ type: "text";
1948
+ text: string;
1949
+ } | {
1950
+ id: string;
1951
+ type: "tool";
1952
+ toolCall: {
1953
+ id: string;
1954
+ name: string;
1955
+ displayName?: string | undefined;
1956
+ argsText?: string | undefined;
1957
+ resultText?: string | undefined;
1958
+ summary?: string | undefined;
1959
+ errorCode?: string | undefined;
1960
+ trace?: {
1961
+ phase: "dependency" | "context" | "execution";
1962
+ source: "executor" | "spotlight_action" | "spotlight_server";
1963
+ type: string;
1964
+ tool: string;
1965
+ detail?: string | undefined;
1966
+ at: number;
1967
+ elapsedMs: number;
1968
+ }[] | undefined;
1969
+ status: "pending" | "running" | "done" | "error";
1970
+ };
1971
+ })[] | undefined;
1486
1972
  } | {
1487
1973
  type: "turn_transition";
1488
1974
  at: number;
@@ -1796,6 +2282,87 @@ export declare const useSpotlightStore: import("pinia").StoreDefinition<"spotlig
1796
2282
  label: string | null;
1797
2283
  artifact: "attachments" | "files" | "artifacts" | "tool_calls" | "chat_items";
1798
2284
  count: number;
2285
+ attachments?: {
2286
+ id: string;
2287
+ type: "image" | "file" | "html";
2288
+ name?: string | undefined;
2289
+ url: string;
2290
+ mimeType?: string | undefined;
2291
+ }[] | undefined;
2292
+ files?: {
2293
+ id: string;
2294
+ path: string;
2295
+ name: string;
2296
+ content?: string[] | undefined;
2297
+ createdAt?: string | undefined;
2298
+ modifiedAt?: string | undefined;
2299
+ }[] | undefined;
2300
+ artifacts?: {
2301
+ id: string;
2302
+ kind: import("./types.js").SpotlightArtifactKind;
2303
+ title: string;
2304
+ sourceToolCallId?: string | undefined;
2305
+ sourceToolName?: string | undefined;
2306
+ summary?: string | undefined;
2307
+ payload: {
2308
+ columns: string[];
2309
+ rows: Array<Record<string, unknown>>;
2310
+ } | {
2311
+ html: string;
2312
+ } | {
2313
+ url: string;
2314
+ } | {
2315
+ value: unknown;
2316
+ } | {
2317
+ text: string;
2318
+ };
2319
+ }[] | undefined;
2320
+ toolCalls?: {
2321
+ id: string;
2322
+ name: string;
2323
+ displayName?: string | undefined;
2324
+ argsText?: string | undefined;
2325
+ resultText?: string | undefined;
2326
+ summary?: string | undefined;
2327
+ errorCode?: string | undefined;
2328
+ trace?: {
2329
+ phase: "dependency" | "context" | "execution";
2330
+ source: "executor" | "spotlight_action" | "spotlight_server";
2331
+ type: string;
2332
+ tool: string;
2333
+ detail?: string | undefined;
2334
+ at: number;
2335
+ elapsedMs: number;
2336
+ }[] | undefined;
2337
+ status: "pending" | "running" | "done" | "error";
2338
+ }[] | undefined;
2339
+ chatItems?: ({
2340
+ id: string;
2341
+ type: "text";
2342
+ text: string;
2343
+ } | {
2344
+ id: string;
2345
+ type: "tool";
2346
+ toolCall: {
2347
+ id: string;
2348
+ name: string;
2349
+ displayName?: string | undefined;
2350
+ argsText?: string | undefined;
2351
+ resultText?: string | undefined;
2352
+ summary?: string | undefined;
2353
+ errorCode?: string | undefined;
2354
+ trace?: {
2355
+ phase: "dependency" | "context" | "execution";
2356
+ source: "executor" | "spotlight_action" | "spotlight_server";
2357
+ type: string;
2358
+ tool: string;
2359
+ detail?: string | undefined;
2360
+ at: number;
2361
+ elapsedMs: number;
2362
+ }[] | undefined;
2363
+ status: "pending" | "running" | "done" | "error";
2364
+ };
2365
+ })[] | undefined;
1799
2366
  } | {
1800
2367
  type: "turn_transition";
1801
2368
  at: number;
@@ -2023,6 +2590,87 @@ export declare const useSpotlightStore: import("pinia").StoreDefinition<"spotlig
2023
2590
  label: string | null;
2024
2591
  artifact: "attachments" | "files" | "artifacts" | "tool_calls" | "chat_items";
2025
2592
  count: number;
2593
+ attachments?: {
2594
+ id: string;
2595
+ type: "image" | "file" | "html";
2596
+ name?: string | undefined;
2597
+ url: string;
2598
+ mimeType?: string | undefined;
2599
+ }[] | undefined;
2600
+ files?: {
2601
+ id: string;
2602
+ path: string;
2603
+ name: string;
2604
+ content?: string[] | undefined;
2605
+ createdAt?: string | undefined;
2606
+ modifiedAt?: string | undefined;
2607
+ }[] | undefined;
2608
+ artifacts?: {
2609
+ id: string;
2610
+ kind: import("./types.js").SpotlightArtifactKind;
2611
+ title: string;
2612
+ sourceToolCallId?: string | undefined;
2613
+ sourceToolName?: string | undefined;
2614
+ summary?: string | undefined;
2615
+ payload: {
2616
+ columns: string[];
2617
+ rows: Array<Record<string, unknown>>;
2618
+ } | {
2619
+ html: string;
2620
+ } | {
2621
+ url: string;
2622
+ } | {
2623
+ value: unknown;
2624
+ } | {
2625
+ text: string;
2626
+ };
2627
+ }[] | undefined;
2628
+ toolCalls?: {
2629
+ id: string;
2630
+ name: string;
2631
+ displayName?: string | undefined;
2632
+ argsText?: string | undefined;
2633
+ resultText?: string | undefined;
2634
+ summary?: string | undefined;
2635
+ errorCode?: string | undefined;
2636
+ trace?: {
2637
+ phase: "dependency" | "context" | "execution";
2638
+ source: "executor" | "spotlight_action" | "spotlight_server";
2639
+ type: string;
2640
+ tool: string;
2641
+ detail?: string | undefined;
2642
+ at: number;
2643
+ elapsedMs: number;
2644
+ }[] | undefined;
2645
+ status: "pending" | "running" | "done" | "error";
2646
+ }[] | undefined;
2647
+ chatItems?: ({
2648
+ id: string;
2649
+ type: "text";
2650
+ text: string;
2651
+ } | {
2652
+ id: string;
2653
+ type: "tool";
2654
+ toolCall: {
2655
+ id: string;
2656
+ name: string;
2657
+ displayName?: string | undefined;
2658
+ argsText?: string | undefined;
2659
+ resultText?: string | undefined;
2660
+ summary?: string | undefined;
2661
+ errorCode?: string | undefined;
2662
+ trace?: {
2663
+ phase: "dependency" | "context" | "execution";
2664
+ source: "executor" | "spotlight_action" | "spotlight_server";
2665
+ type: string;
2666
+ tool: string;
2667
+ detail?: string | undefined;
2668
+ at: number;
2669
+ elapsedMs: number;
2670
+ }[] | undefined;
2671
+ status: "pending" | "running" | "done" | "error";
2672
+ };
2673
+ })[] | undefined;
2026
2674
  } | {
2027
2675
  type: "turn_transition";
2028
2676
  at: number;
@@ -2335,6 +2983,87 @@ export declare const useSpotlightStore: import("pinia").StoreDefinition<"spotlig
2335
2983
  label: string | null;
2336
2984
  artifact: "attachments" | "files" | "artifacts" | "tool_calls" | "chat_items";
2337
2985
  count: number;
2986
+ attachments?: {
2987
+ id: string;
2988
+ type: "image" | "file" | "html";
2989
+ name?: string | undefined;
2990
+ url: string;
2991
+ mimeType?: string | undefined;
2992
+ }[] | undefined;
2993
+ files?: {
2994
+ id: string;
2995
+ path: string;
2996
+ name: string;
2997
+ content?: string[] | undefined;
2998
+ createdAt?: string | undefined;
2999
+ modifiedAt?: string | undefined;
3000
+ }[] | undefined;
3001
+ artifacts?: {
3002
+ id: string;
3003
+ kind: import("./types.js").SpotlightArtifactKind;
3004
+ title: string;
3005
+ sourceToolCallId?: string | undefined;
3006
+ sourceToolName?: string | undefined;
3007
+ summary?: string | undefined;
3008
+ payload: {
3009
+ columns: string[];
3010
+ rows: Array<Record<string, unknown>>;
3011
+ } | {
3012
+ html: string;
3013
+ } | {
3014
+ url: string;
3015
+ } | {
3016
+ value: unknown;
3017
+ } | {
3018
+ text: string;
3019
+ };
3020
+ }[] | undefined;
3021
+ toolCalls?: {
3022
+ id: string;
3023
+ name: string;
3024
+ displayName?: string | undefined;
3025
+ argsText?: string | undefined;
3026
+ resultText?: string | undefined;
3027
+ summary?: string | undefined;
3028
+ errorCode?: string | undefined;
3029
+ trace?: {
3030
+ phase: "dependency" | "context" | "execution";
3031
+ source: "executor" | "spotlight_action" | "spotlight_server";
3032
+ type: string;
3033
+ tool: string;
3034
+ detail?: string | undefined;
3035
+ at: number;
3036
+ elapsedMs: number;
3037
+ }[] | undefined;
3038
+ status: "pending" | "running" | "done" | "error";
3039
+ }[] | undefined;
3040
+ chatItems?: ({
3041
+ id: string;
3042
+ type: "text";
3043
+ text: string;
3044
+ } | {
3045
+ id: string;
3046
+ type: "tool";
3047
+ toolCall: {
3048
+ id: string;
3049
+ name: string;
3050
+ displayName?: string | undefined;
3051
+ argsText?: string | undefined;
3052
+ resultText?: string | undefined;
3053
+ summary?: string | undefined;
3054
+ errorCode?: string | undefined;
3055
+ trace?: {
3056
+ phase: "dependency" | "context" | "execution";
3057
+ source: "executor" | "spotlight_action" | "spotlight_server";
3058
+ type: string;
3059
+ tool: string;
3060
+ detail?: string | undefined;
3061
+ at: number;
3062
+ elapsedMs: number;
3063
+ }[] | undefined;
3064
+ status: "pending" | "running" | "done" | "error";
3065
+ };
3066
+ })[] | undefined;
2338
3067
  } | {
2339
3068
  type: "turn_transition";
2340
3069
  at: number;
@@ -2562,6 +3291,87 @@ export declare const useSpotlightStore: import("pinia").StoreDefinition<"spotlig
2562
3291
  label: string | null;
2563
3292
  artifact: "attachments" | "files" | "artifacts" | "tool_calls" | "chat_items";
2564
3293
  count: number;
3294
+ attachments?: {
3295
+ id: string;
3296
+ type: "image" | "file" | "html";
3297
+ name?: string | undefined;
3298
+ url: string;
3299
+ mimeType?: string | undefined;
3300
+ }[] | undefined;
3301
+ files?: {
3302
+ id: string;
3303
+ path: string;
3304
+ name: string;
3305
+ content?: string[] | undefined;
3306
+ createdAt?: string | undefined;
3307
+ modifiedAt?: string | undefined;
3308
+ }[] | undefined;
3309
+ artifacts?: {
3310
+ id: string;
3311
+ kind: import("./types.js").SpotlightArtifactKind;
3312
+ title: string;
3313
+ sourceToolCallId?: string | undefined;
3314
+ sourceToolName?: string | undefined;
3315
+ summary?: string | undefined;
3316
+ payload: {
3317
+ columns: string[];
3318
+ rows: Array<Record<string, unknown>>;
3319
+ } | {
3320
+ html: string;
3321
+ } | {
3322
+ url: string;
3323
+ } | {
3324
+ value: unknown;
3325
+ } | {
3326
+ text: string;
3327
+ };
3328
+ }[] | undefined;
3329
+ toolCalls?: {
3330
+ id: string;
3331
+ name: string;
3332
+ displayName?: string | undefined;
3333
+ argsText?: string | undefined;
3334
+ resultText?: string | undefined;
3335
+ summary?: string | undefined;
3336
+ errorCode?: string | undefined;
3337
+ trace?: {
3338
+ phase: "dependency" | "context" | "execution";
3339
+ source: "executor" | "spotlight_action" | "spotlight_server";
3340
+ type: string;
3341
+ tool: string;
3342
+ detail?: string | undefined;
3343
+ at: number;
3344
+ elapsedMs: number;
3345
+ }[] | undefined;
3346
+ status: "pending" | "running" | "done" | "error";
3347
+ }[] | undefined;
3348
+ chatItems?: ({
3349
+ id: string;
3350
+ type: "text";
3351
+ text: string;
3352
+ } | {
3353
+ id: string;
3354
+ type: "tool";
3355
+ toolCall: {
3356
+ id: string;
3357
+ name: string;
3358
+ displayName?: string | undefined;
3359
+ argsText?: string | undefined;
3360
+ resultText?: string | undefined;
3361
+ summary?: string | undefined;
3362
+ errorCode?: string | undefined;
3363
+ trace?: {
3364
+ phase: "dependency" | "context" | "execution";
3365
+ source: "executor" | "spotlight_action" | "spotlight_server";
3366
+ type: string;
3367
+ tool: string;
3368
+ detail?: string | undefined;
3369
+ at: number;
3370
+ elapsedMs: number;
3371
+ }[] | undefined;
3372
+ status: "pending" | "running" | "done" | "error";
3373
+ };
3374
+ })[] | undefined;
2565
3375
  } | {
2566
3376
  type: "turn_transition";
2567
3377
  at: number;