@inupedia/spotlight-vue 0.1.3 → 0.1.5
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/dist/assets/spotlight-vue.css +1 -1
- package/dist/components/SpotlightCommandPanel.vue.d.ts.map +1 -1
- package/dist/components/SpotlightCommandPanel.vue.js +1 -1
- package/dist/components/SpotlightCommandPanel2.vue.js +38 -37
- package/dist/components/SpotlightRoot.vue.d.ts.map +1 -1
- package/dist/components/SpotlightRoot.vue.js +13 -12
- package/dist/components/SpotlightThinking.vue.d.ts +5 -0
- package/dist/components/SpotlightThinking.vue.d.ts.map +1 -1
- package/dist/components/SpotlightThinking.vue.js +2 -2
- package/dist/components/SpotlightThinking2.vue.js +293 -288
- package/dist/composables/useSpotlightPanelUi.d.ts +6 -1
- package/dist/composables/useSpotlightPanelUi.d.ts.map +1 -1
- package/dist/composables/useSpotlightPanelUi.js +3 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/remote/runPipeline.d.ts.map +1 -1
- package/dist/remote/runPipeline.js +206 -195
- package/dist/remote/types.d.ts +5 -0
- package/dist/remote/types.d.ts.map +1 -1
- package/dist/store/runtime/types.d.ts +7 -2
- package/dist/store/runtime/types.d.ts.map +1 -1
- package/dist/store/spotlightStore.d.ts +857 -11
- package/dist/store/spotlightStore.d.ts.map +1 -1
- package/dist/store/spotlightStore.js +24 -19
- package/package.json +3 -3
|
@@ -2,6 +2,11 @@ import type { AgentStep } from "./types.js";
|
|
|
2
2
|
import type { SpotlightExecutionEvent } from "./runtime/types.js";
|
|
3
3
|
import type { HandlerApi } from "./pipeline/types.js";
|
|
4
4
|
type PipelinePhase = "idle" | "running" | "cancelled" | "error" | "done";
|
|
5
|
+
export type SpotlightMemoryReplayBadge = {
|
|
6
|
+
source: "exact" | "semantic" | "session";
|
|
7
|
+
entryId: string;
|
|
8
|
+
kind: string;
|
|
9
|
+
};
|
|
5
10
|
type SpotlightTelemetryFailureCategory = "tool_runtime" | "tool_timeout" | "runtime_error" | "cancelled" | "max_turns_exhausted" | "tool_failure_unrecoverable" | "completed";
|
|
6
11
|
type SpotlightTimelineEvent = {
|
|
7
12
|
turnId: string;
|
|
@@ -50,6 +55,7 @@ export declare const useSpotlightStore: import("pinia").StoreDefinition<"spotlig
|
|
|
50
55
|
pipelinePhase: PipelinePhase;
|
|
51
56
|
pipelineRunId: number;
|
|
52
57
|
pipelineAbortController: AbortController | null;
|
|
58
|
+
lastMemoryReplay: SpotlightMemoryReplayBadge | null;
|
|
53
59
|
telemetrySnapshots: SpotlightTelemetrySnapshot[];
|
|
54
60
|
}, {
|
|
55
61
|
uiExecutionEvents(state: {
|
|
@@ -178,6 +184,87 @@ export declare const useSpotlightStore: import("pinia").StoreDefinition<"spotlig
|
|
|
178
184
|
label: string | null;
|
|
179
185
|
artifact: "attachments" | "files" | "artifacts" | "tool_calls" | "chat_items";
|
|
180
186
|
count: number;
|
|
187
|
+
attachments?: {
|
|
188
|
+
id: string;
|
|
189
|
+
type: "image" | "file" | "html";
|
|
190
|
+
name?: string | undefined;
|
|
191
|
+
url: string;
|
|
192
|
+
mimeType?: string | undefined;
|
|
193
|
+
}[] | undefined;
|
|
194
|
+
files?: {
|
|
195
|
+
id: string;
|
|
196
|
+
path: string;
|
|
197
|
+
name: string;
|
|
198
|
+
content?: string[] | undefined;
|
|
199
|
+
createdAt?: string | undefined;
|
|
200
|
+
modifiedAt?: string | undefined;
|
|
201
|
+
}[] | undefined;
|
|
202
|
+
artifacts?: {
|
|
203
|
+
id: string;
|
|
204
|
+
kind: import("./types.js").SpotlightArtifactKind;
|
|
205
|
+
title: string;
|
|
206
|
+
sourceToolCallId?: string | undefined;
|
|
207
|
+
sourceToolName?: string | undefined;
|
|
208
|
+
summary?: string | undefined;
|
|
209
|
+
payload: {
|
|
210
|
+
columns: string[];
|
|
211
|
+
rows: Array<Record<string, unknown>>;
|
|
212
|
+
} | {
|
|
213
|
+
html: string;
|
|
214
|
+
} | {
|
|
215
|
+
url: string;
|
|
216
|
+
} | {
|
|
217
|
+
value: unknown;
|
|
218
|
+
} | {
|
|
219
|
+
text: string;
|
|
220
|
+
};
|
|
221
|
+
}[] | undefined;
|
|
222
|
+
toolCalls?: {
|
|
223
|
+
id: string;
|
|
224
|
+
name: string;
|
|
225
|
+
displayName?: string | undefined;
|
|
226
|
+
argsText?: string | undefined;
|
|
227
|
+
resultText?: string | undefined;
|
|
228
|
+
summary?: string | undefined;
|
|
229
|
+
errorCode?: string | undefined;
|
|
230
|
+
trace?: {
|
|
231
|
+
phase: "dependency" | "context" | "execution";
|
|
232
|
+
source: "executor" | "spotlight_action" | "spotlight_server";
|
|
233
|
+
type: string;
|
|
234
|
+
tool: string;
|
|
235
|
+
detail?: string | undefined;
|
|
236
|
+
at: number;
|
|
237
|
+
elapsedMs: number;
|
|
238
|
+
}[] | undefined;
|
|
239
|
+
status: "pending" | "running" | "done" | "error";
|
|
240
|
+
}[] | undefined;
|
|
241
|
+
chatItems?: ({
|
|
242
|
+
id: string;
|
|
243
|
+
type: "text";
|
|
244
|
+
text: string;
|
|
245
|
+
} | {
|
|
246
|
+
id: string;
|
|
247
|
+
type: "tool";
|
|
248
|
+
toolCall: {
|
|
249
|
+
id: string;
|
|
250
|
+
name: string;
|
|
251
|
+
displayName?: string | undefined;
|
|
252
|
+
argsText?: string | undefined;
|
|
253
|
+
resultText?: string | undefined;
|
|
254
|
+
summary?: string | undefined;
|
|
255
|
+
errorCode?: string | undefined;
|
|
256
|
+
trace?: {
|
|
257
|
+
phase: "dependency" | "context" | "execution";
|
|
258
|
+
source: "executor" | "spotlight_action" | "spotlight_server";
|
|
259
|
+
type: string;
|
|
260
|
+
tool: string;
|
|
261
|
+
detail?: string | undefined;
|
|
262
|
+
at: number;
|
|
263
|
+
elapsedMs: number;
|
|
264
|
+
}[] | undefined;
|
|
265
|
+
status: "pending" | "running" | "done" | "error";
|
|
266
|
+
};
|
|
267
|
+
})[] | undefined;
|
|
181
268
|
} | {
|
|
182
269
|
type: "turn_transition";
|
|
183
270
|
at: number;
|
|
@@ -365,6 +452,11 @@ export declare const useSpotlightStore: import("pinia").StoreDefinition<"spotlig
|
|
|
365
452
|
};
|
|
366
453
|
abort: (reason?: any) => void;
|
|
367
454
|
} | null;
|
|
455
|
+
lastMemoryReplay: {
|
|
456
|
+
source: "exact" | "semantic" | "session";
|
|
457
|
+
entryId: string;
|
|
458
|
+
kind: string;
|
|
459
|
+
} | null;
|
|
368
460
|
telemetrySnapshots: {
|
|
369
461
|
turnId: string;
|
|
370
462
|
recordedAt: number;
|
|
@@ -405,6 +497,87 @@ export declare const useSpotlightStore: import("pinia").StoreDefinition<"spotlig
|
|
|
405
497
|
label: string | null;
|
|
406
498
|
artifact: "attachments" | "files" | "artifacts" | "tool_calls" | "chat_items";
|
|
407
499
|
count: number;
|
|
500
|
+
attachments?: {
|
|
501
|
+
id: string;
|
|
502
|
+
type: "image" | "file" | "html";
|
|
503
|
+
name?: string | undefined;
|
|
504
|
+
url: string;
|
|
505
|
+
mimeType?: string | undefined;
|
|
506
|
+
}[] | undefined;
|
|
507
|
+
files?: {
|
|
508
|
+
id: string;
|
|
509
|
+
path: string;
|
|
510
|
+
name: string;
|
|
511
|
+
content?: string[] | undefined;
|
|
512
|
+
createdAt?: string | undefined;
|
|
513
|
+
modifiedAt?: string | undefined;
|
|
514
|
+
}[] | undefined;
|
|
515
|
+
artifacts?: {
|
|
516
|
+
id: string;
|
|
517
|
+
kind: import("./types.js").SpotlightArtifactKind;
|
|
518
|
+
title: string;
|
|
519
|
+
sourceToolCallId?: string | undefined;
|
|
520
|
+
sourceToolName?: string | undefined;
|
|
521
|
+
summary?: string | undefined;
|
|
522
|
+
payload: {
|
|
523
|
+
columns: string[];
|
|
524
|
+
rows: Array<Record<string, unknown>>;
|
|
525
|
+
} | {
|
|
526
|
+
html: string;
|
|
527
|
+
} | {
|
|
528
|
+
url: string;
|
|
529
|
+
} | {
|
|
530
|
+
value: unknown;
|
|
531
|
+
} | {
|
|
532
|
+
text: string;
|
|
533
|
+
};
|
|
534
|
+
}[] | undefined;
|
|
535
|
+
toolCalls?: {
|
|
536
|
+
id: string;
|
|
537
|
+
name: string;
|
|
538
|
+
displayName?: string | undefined;
|
|
539
|
+
argsText?: string | undefined;
|
|
540
|
+
resultText?: string | undefined;
|
|
541
|
+
summary?: string | undefined;
|
|
542
|
+
errorCode?: string | undefined;
|
|
543
|
+
trace?: {
|
|
544
|
+
phase: "dependency" | "context" | "execution";
|
|
545
|
+
source: "executor" | "spotlight_action" | "spotlight_server";
|
|
546
|
+
type: string;
|
|
547
|
+
tool: string;
|
|
548
|
+
detail?: string | undefined;
|
|
549
|
+
at: number;
|
|
550
|
+
elapsedMs: number;
|
|
551
|
+
}[] | undefined;
|
|
552
|
+
status: "pending" | "running" | "done" | "error";
|
|
553
|
+
}[] | undefined;
|
|
554
|
+
chatItems?: ({
|
|
555
|
+
id: string;
|
|
556
|
+
type: "text";
|
|
557
|
+
text: string;
|
|
558
|
+
} | {
|
|
559
|
+
id: string;
|
|
560
|
+
type: "tool";
|
|
561
|
+
toolCall: {
|
|
562
|
+
id: string;
|
|
563
|
+
name: string;
|
|
564
|
+
displayName?: string | undefined;
|
|
565
|
+
argsText?: string | undefined;
|
|
566
|
+
resultText?: string | undefined;
|
|
567
|
+
summary?: string | undefined;
|
|
568
|
+
errorCode?: string | undefined;
|
|
569
|
+
trace?: {
|
|
570
|
+
phase: "dependency" | "context" | "execution";
|
|
571
|
+
source: "executor" | "spotlight_action" | "spotlight_server";
|
|
572
|
+
type: string;
|
|
573
|
+
tool: string;
|
|
574
|
+
detail?: string | undefined;
|
|
575
|
+
at: number;
|
|
576
|
+
elapsedMs: number;
|
|
577
|
+
}[] | undefined;
|
|
578
|
+
status: "pending" | "running" | "done" | "error";
|
|
579
|
+
};
|
|
580
|
+
})[] | undefined;
|
|
408
581
|
} | {
|
|
409
582
|
type: "turn_transition";
|
|
410
583
|
at: number;
|
|
@@ -589,6 +762,7 @@ export declare const useSpotlightStore: import("pinia").StoreDefinition<"spotlig
|
|
|
589
762
|
pipelinePhase: PipelinePhase;
|
|
590
763
|
pipelineRunId: number;
|
|
591
764
|
pipelineAbortController: AbortController | null;
|
|
765
|
+
lastMemoryReplay: SpotlightMemoryReplayBadge | null;
|
|
592
766
|
telemetrySnapshots: SpotlightTelemetrySnapshot[];
|
|
593
767
|
}>): SpotlightExecutionEvent[];
|
|
594
768
|
telemetryExecutionEvents(state: {
|
|
@@ -717,6 +891,87 @@ export declare const useSpotlightStore: import("pinia").StoreDefinition<"spotlig
|
|
|
717
891
|
label: string | null;
|
|
718
892
|
artifact: "attachments" | "files" | "artifacts" | "tool_calls" | "chat_items";
|
|
719
893
|
count: number;
|
|
894
|
+
attachments?: {
|
|
895
|
+
id: string;
|
|
896
|
+
type: "image" | "file" | "html";
|
|
897
|
+
name?: string | undefined;
|
|
898
|
+
url: string;
|
|
899
|
+
mimeType?: string | undefined;
|
|
900
|
+
}[] | undefined;
|
|
901
|
+
files?: {
|
|
902
|
+
id: string;
|
|
903
|
+
path: string;
|
|
904
|
+
name: string;
|
|
905
|
+
content?: string[] | undefined;
|
|
906
|
+
createdAt?: string | undefined;
|
|
907
|
+
modifiedAt?: string | undefined;
|
|
908
|
+
}[] | undefined;
|
|
909
|
+
artifacts?: {
|
|
910
|
+
id: string;
|
|
911
|
+
kind: import("./types.js").SpotlightArtifactKind;
|
|
912
|
+
title: string;
|
|
913
|
+
sourceToolCallId?: string | undefined;
|
|
914
|
+
sourceToolName?: string | undefined;
|
|
915
|
+
summary?: string | undefined;
|
|
916
|
+
payload: {
|
|
917
|
+
columns: string[];
|
|
918
|
+
rows: Array<Record<string, unknown>>;
|
|
919
|
+
} | {
|
|
920
|
+
html: string;
|
|
921
|
+
} | {
|
|
922
|
+
url: string;
|
|
923
|
+
} | {
|
|
924
|
+
value: unknown;
|
|
925
|
+
} | {
|
|
926
|
+
text: string;
|
|
927
|
+
};
|
|
928
|
+
}[] | undefined;
|
|
929
|
+
toolCalls?: {
|
|
930
|
+
id: string;
|
|
931
|
+
name: string;
|
|
932
|
+
displayName?: string | undefined;
|
|
933
|
+
argsText?: string | undefined;
|
|
934
|
+
resultText?: string | undefined;
|
|
935
|
+
summary?: string | undefined;
|
|
936
|
+
errorCode?: string | undefined;
|
|
937
|
+
trace?: {
|
|
938
|
+
phase: "dependency" | "context" | "execution";
|
|
939
|
+
source: "executor" | "spotlight_action" | "spotlight_server";
|
|
940
|
+
type: string;
|
|
941
|
+
tool: string;
|
|
942
|
+
detail?: string | undefined;
|
|
943
|
+
at: number;
|
|
944
|
+
elapsedMs: number;
|
|
945
|
+
}[] | undefined;
|
|
946
|
+
status: "pending" | "running" | "done" | "error";
|
|
947
|
+
}[] | undefined;
|
|
948
|
+
chatItems?: ({
|
|
949
|
+
id: string;
|
|
950
|
+
type: "text";
|
|
951
|
+
text: string;
|
|
952
|
+
} | {
|
|
953
|
+
id: string;
|
|
954
|
+
type: "tool";
|
|
955
|
+
toolCall: {
|
|
956
|
+
id: string;
|
|
957
|
+
name: string;
|
|
958
|
+
displayName?: string | undefined;
|
|
959
|
+
argsText?: string | undefined;
|
|
960
|
+
resultText?: string | undefined;
|
|
961
|
+
summary?: string | undefined;
|
|
962
|
+
errorCode?: string | undefined;
|
|
963
|
+
trace?: {
|
|
964
|
+
phase: "dependency" | "context" | "execution";
|
|
965
|
+
source: "executor" | "spotlight_action" | "spotlight_server";
|
|
966
|
+
type: string;
|
|
967
|
+
tool: string;
|
|
968
|
+
detail?: string | undefined;
|
|
969
|
+
at: number;
|
|
970
|
+
elapsedMs: number;
|
|
971
|
+
}[] | undefined;
|
|
972
|
+
status: "pending" | "running" | "done" | "error";
|
|
973
|
+
};
|
|
974
|
+
})[] | undefined;
|
|
720
975
|
} | {
|
|
721
976
|
type: "turn_transition";
|
|
722
977
|
at: number;
|
|
@@ -904,6 +1159,11 @@ export declare const useSpotlightStore: import("pinia").StoreDefinition<"spotlig
|
|
|
904
1159
|
};
|
|
905
1160
|
abort: (reason?: any) => void;
|
|
906
1161
|
} | null;
|
|
1162
|
+
lastMemoryReplay: {
|
|
1163
|
+
source: "exact" | "semantic" | "session";
|
|
1164
|
+
entryId: string;
|
|
1165
|
+
kind: string;
|
|
1166
|
+
} | null;
|
|
907
1167
|
telemetrySnapshots: {
|
|
908
1168
|
turnId: string;
|
|
909
1169
|
recordedAt: number;
|
|
@@ -944,6 +1204,87 @@ export declare const useSpotlightStore: import("pinia").StoreDefinition<"spotlig
|
|
|
944
1204
|
label: string | null;
|
|
945
1205
|
artifact: "attachments" | "files" | "artifacts" | "tool_calls" | "chat_items";
|
|
946
1206
|
count: number;
|
|
1207
|
+
attachments?: {
|
|
1208
|
+
id: string;
|
|
1209
|
+
type: "image" | "file" | "html";
|
|
1210
|
+
name?: string | undefined;
|
|
1211
|
+
url: string;
|
|
1212
|
+
mimeType?: string | undefined;
|
|
1213
|
+
}[] | undefined;
|
|
1214
|
+
files?: {
|
|
1215
|
+
id: string;
|
|
1216
|
+
path: string;
|
|
1217
|
+
name: string;
|
|
1218
|
+
content?: string[] | undefined;
|
|
1219
|
+
createdAt?: string | undefined;
|
|
1220
|
+
modifiedAt?: string | undefined;
|
|
1221
|
+
}[] | undefined;
|
|
1222
|
+
artifacts?: {
|
|
1223
|
+
id: string;
|
|
1224
|
+
kind: import("./types.js").SpotlightArtifactKind;
|
|
1225
|
+
title: string;
|
|
1226
|
+
sourceToolCallId?: string | undefined;
|
|
1227
|
+
sourceToolName?: string | undefined;
|
|
1228
|
+
summary?: string | undefined;
|
|
1229
|
+
payload: {
|
|
1230
|
+
columns: string[];
|
|
1231
|
+
rows: Array<Record<string, unknown>>;
|
|
1232
|
+
} | {
|
|
1233
|
+
html: string;
|
|
1234
|
+
} | {
|
|
1235
|
+
url: string;
|
|
1236
|
+
} | {
|
|
1237
|
+
value: unknown;
|
|
1238
|
+
} | {
|
|
1239
|
+
text: string;
|
|
1240
|
+
};
|
|
1241
|
+
}[] | undefined;
|
|
1242
|
+
toolCalls?: {
|
|
1243
|
+
id: string;
|
|
1244
|
+
name: string;
|
|
1245
|
+
displayName?: string | undefined;
|
|
1246
|
+
argsText?: string | undefined;
|
|
1247
|
+
resultText?: string | undefined;
|
|
1248
|
+
summary?: string | undefined;
|
|
1249
|
+
errorCode?: string | undefined;
|
|
1250
|
+
trace?: {
|
|
1251
|
+
phase: "dependency" | "context" | "execution";
|
|
1252
|
+
source: "executor" | "spotlight_action" | "spotlight_server";
|
|
1253
|
+
type: string;
|
|
1254
|
+
tool: string;
|
|
1255
|
+
detail?: string | undefined;
|
|
1256
|
+
at: number;
|
|
1257
|
+
elapsedMs: number;
|
|
1258
|
+
}[] | undefined;
|
|
1259
|
+
status: "pending" | "running" | "done" | "error";
|
|
1260
|
+
}[] | undefined;
|
|
1261
|
+
chatItems?: ({
|
|
1262
|
+
id: string;
|
|
1263
|
+
type: "text";
|
|
1264
|
+
text: string;
|
|
1265
|
+
} | {
|
|
1266
|
+
id: string;
|
|
1267
|
+
type: "tool";
|
|
1268
|
+
toolCall: {
|
|
1269
|
+
id: string;
|
|
1270
|
+
name: string;
|
|
1271
|
+
displayName?: string | undefined;
|
|
1272
|
+
argsText?: string | undefined;
|
|
1273
|
+
resultText?: string | undefined;
|
|
1274
|
+
summary?: string | undefined;
|
|
1275
|
+
errorCode?: string | undefined;
|
|
1276
|
+
trace?: {
|
|
1277
|
+
phase: "dependency" | "context" | "execution";
|
|
1278
|
+
source: "executor" | "spotlight_action" | "spotlight_server";
|
|
1279
|
+
type: string;
|
|
1280
|
+
tool: string;
|
|
1281
|
+
detail?: string | undefined;
|
|
1282
|
+
at: number;
|
|
1283
|
+
elapsedMs: number;
|
|
1284
|
+
}[] | undefined;
|
|
1285
|
+
status: "pending" | "running" | "done" | "error";
|
|
1286
|
+
};
|
|
1287
|
+
})[] | undefined;
|
|
947
1288
|
} | {
|
|
948
1289
|
type: "turn_transition";
|
|
949
1290
|
at: number;
|
|
@@ -1128,6 +1469,7 @@ export declare const useSpotlightStore: import("pinia").StoreDefinition<"spotlig
|
|
|
1128
1469
|
pipelinePhase: PipelinePhase;
|
|
1129
1470
|
pipelineRunId: number;
|
|
1130
1471
|
pipelineAbortController: AbortController | null;
|
|
1472
|
+
lastMemoryReplay: SpotlightMemoryReplayBadge | null;
|
|
1131
1473
|
telemetrySnapshots: SpotlightTelemetrySnapshot[];
|
|
1132
1474
|
}>): SpotlightExecutionEvent[];
|
|
1133
1475
|
turnTimelines(state: {
|
|
@@ -1256,17 +1598,98 @@ export declare const useSpotlightStore: import("pinia").StoreDefinition<"spotlig
|
|
|
1256
1598
|
label: string | null;
|
|
1257
1599
|
artifact: "attachments" | "files" | "artifacts" | "tool_calls" | "chat_items";
|
|
1258
1600
|
count: number;
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1601
|
+
attachments?: {
|
|
1602
|
+
id: string;
|
|
1603
|
+
type: "image" | "file" | "html";
|
|
1604
|
+
name?: string | undefined;
|
|
1605
|
+
url: string;
|
|
1606
|
+
mimeType?: string | undefined;
|
|
1607
|
+
}[] | undefined;
|
|
1608
|
+
files?: {
|
|
1609
|
+
id: string;
|
|
1610
|
+
path: string;
|
|
1611
|
+
name: string;
|
|
1612
|
+
content?: string[] | undefined;
|
|
1613
|
+
createdAt?: string | undefined;
|
|
1614
|
+
modifiedAt?: string | undefined;
|
|
1615
|
+
}[] | undefined;
|
|
1616
|
+
artifacts?: {
|
|
1617
|
+
id: string;
|
|
1618
|
+
kind: import("./types.js").SpotlightArtifactKind;
|
|
1619
|
+
title: string;
|
|
1620
|
+
sourceToolCallId?: string | undefined;
|
|
1621
|
+
sourceToolName?: string | undefined;
|
|
1622
|
+
summary?: string | undefined;
|
|
1623
|
+
payload: {
|
|
1624
|
+
columns: string[];
|
|
1625
|
+
rows: Array<Record<string, unknown>>;
|
|
1626
|
+
} | {
|
|
1627
|
+
html: string;
|
|
1628
|
+
} | {
|
|
1629
|
+
url: string;
|
|
1630
|
+
} | {
|
|
1631
|
+
value: unknown;
|
|
1632
|
+
} | {
|
|
1633
|
+
text: string;
|
|
1634
|
+
};
|
|
1635
|
+
}[] | undefined;
|
|
1636
|
+
toolCalls?: {
|
|
1637
|
+
id: string;
|
|
1638
|
+
name: string;
|
|
1639
|
+
displayName?: string | undefined;
|
|
1640
|
+
argsText?: string | undefined;
|
|
1641
|
+
resultText?: string | undefined;
|
|
1642
|
+
summary?: string | undefined;
|
|
1643
|
+
errorCode?: string | undefined;
|
|
1644
|
+
trace?: {
|
|
1645
|
+
phase: "dependency" | "context" | "execution";
|
|
1646
|
+
source: "executor" | "spotlight_action" | "spotlight_server";
|
|
1647
|
+
type: string;
|
|
1648
|
+
tool: string;
|
|
1649
|
+
detail?: string | undefined;
|
|
1650
|
+
at: number;
|
|
1651
|
+
elapsedMs: number;
|
|
1652
|
+
}[] | undefined;
|
|
1653
|
+
status: "pending" | "running" | "done" | "error";
|
|
1654
|
+
}[] | undefined;
|
|
1655
|
+
chatItems?: ({
|
|
1656
|
+
id: string;
|
|
1657
|
+
type: "text";
|
|
1658
|
+
text: string;
|
|
1659
|
+
} | {
|
|
1660
|
+
id: string;
|
|
1661
|
+
type: "tool";
|
|
1662
|
+
toolCall: {
|
|
1663
|
+
id: string;
|
|
1664
|
+
name: string;
|
|
1665
|
+
displayName?: string | undefined;
|
|
1666
|
+
argsText?: string | undefined;
|
|
1667
|
+
resultText?: string | undefined;
|
|
1668
|
+
summary?: string | undefined;
|
|
1669
|
+
errorCode?: string | undefined;
|
|
1670
|
+
trace?: {
|
|
1671
|
+
phase: "dependency" | "context" | "execution";
|
|
1672
|
+
source: "executor" | "spotlight_action" | "spotlight_server";
|
|
1673
|
+
type: string;
|
|
1674
|
+
tool: string;
|
|
1675
|
+
detail?: string | undefined;
|
|
1676
|
+
at: number;
|
|
1677
|
+
elapsedMs: number;
|
|
1678
|
+
}[] | undefined;
|
|
1679
|
+
status: "pending" | "running" | "done" | "error";
|
|
1680
|
+
};
|
|
1681
|
+
})[] | undefined;
|
|
1682
|
+
} | {
|
|
1683
|
+
type: "turn_transition";
|
|
1684
|
+
at: number;
|
|
1685
|
+
turnId: string;
|
|
1686
|
+
phase: import("./runtime/types.js").SpotlightTurnPhase;
|
|
1687
|
+
iteration?: number | undefined;
|
|
1688
|
+
summary?: string | undefined;
|
|
1689
|
+
} | {
|
|
1690
|
+
type: "plan";
|
|
1691
|
+
at: number;
|
|
1692
|
+
iteration: number;
|
|
1270
1693
|
action: import("./runtime/types.js").SpotlightLoopAction;
|
|
1271
1694
|
summary: string;
|
|
1272
1695
|
} | {
|
|
@@ -1443,6 +1866,11 @@ export declare const useSpotlightStore: import("pinia").StoreDefinition<"spotlig
|
|
|
1443
1866
|
};
|
|
1444
1867
|
abort: (reason?: any) => void;
|
|
1445
1868
|
} | null;
|
|
1869
|
+
lastMemoryReplay: {
|
|
1870
|
+
source: "exact" | "semantic" | "session";
|
|
1871
|
+
entryId: string;
|
|
1872
|
+
kind: string;
|
|
1873
|
+
} | null;
|
|
1446
1874
|
telemetrySnapshots: {
|
|
1447
1875
|
turnId: string;
|
|
1448
1876
|
recordedAt: number;
|
|
@@ -1483,6 +1911,87 @@ export declare const useSpotlightStore: import("pinia").StoreDefinition<"spotlig
|
|
|
1483
1911
|
label: string | null;
|
|
1484
1912
|
artifact: "attachments" | "files" | "artifacts" | "tool_calls" | "chat_items";
|
|
1485
1913
|
count: number;
|
|
1914
|
+
attachments?: {
|
|
1915
|
+
id: string;
|
|
1916
|
+
type: "image" | "file" | "html";
|
|
1917
|
+
name?: string | undefined;
|
|
1918
|
+
url: string;
|
|
1919
|
+
mimeType?: string | undefined;
|
|
1920
|
+
}[] | undefined;
|
|
1921
|
+
files?: {
|
|
1922
|
+
id: string;
|
|
1923
|
+
path: string;
|
|
1924
|
+
name: string;
|
|
1925
|
+
content?: string[] | undefined;
|
|
1926
|
+
createdAt?: string | undefined;
|
|
1927
|
+
modifiedAt?: string | undefined;
|
|
1928
|
+
}[] | undefined;
|
|
1929
|
+
artifacts?: {
|
|
1930
|
+
id: string;
|
|
1931
|
+
kind: import("./types.js").SpotlightArtifactKind;
|
|
1932
|
+
title: string;
|
|
1933
|
+
sourceToolCallId?: string | undefined;
|
|
1934
|
+
sourceToolName?: string | undefined;
|
|
1935
|
+
summary?: string | undefined;
|
|
1936
|
+
payload: {
|
|
1937
|
+
columns: string[];
|
|
1938
|
+
rows: Array<Record<string, unknown>>;
|
|
1939
|
+
} | {
|
|
1940
|
+
html: string;
|
|
1941
|
+
} | {
|
|
1942
|
+
url: string;
|
|
1943
|
+
} | {
|
|
1944
|
+
value: unknown;
|
|
1945
|
+
} | {
|
|
1946
|
+
text: string;
|
|
1947
|
+
};
|
|
1948
|
+
}[] | undefined;
|
|
1949
|
+
toolCalls?: {
|
|
1950
|
+
id: string;
|
|
1951
|
+
name: string;
|
|
1952
|
+
displayName?: string | undefined;
|
|
1953
|
+
argsText?: string | undefined;
|
|
1954
|
+
resultText?: string | undefined;
|
|
1955
|
+
summary?: string | undefined;
|
|
1956
|
+
errorCode?: string | undefined;
|
|
1957
|
+
trace?: {
|
|
1958
|
+
phase: "dependency" | "context" | "execution";
|
|
1959
|
+
source: "executor" | "spotlight_action" | "spotlight_server";
|
|
1960
|
+
type: string;
|
|
1961
|
+
tool: string;
|
|
1962
|
+
detail?: string | undefined;
|
|
1963
|
+
at: number;
|
|
1964
|
+
elapsedMs: number;
|
|
1965
|
+
}[] | undefined;
|
|
1966
|
+
status: "pending" | "running" | "done" | "error";
|
|
1967
|
+
}[] | undefined;
|
|
1968
|
+
chatItems?: ({
|
|
1969
|
+
id: string;
|
|
1970
|
+
type: "text";
|
|
1971
|
+
text: string;
|
|
1972
|
+
} | {
|
|
1973
|
+
id: string;
|
|
1974
|
+
type: "tool";
|
|
1975
|
+
toolCall: {
|
|
1976
|
+
id: string;
|
|
1977
|
+
name: string;
|
|
1978
|
+
displayName?: string | undefined;
|
|
1979
|
+
argsText?: string | undefined;
|
|
1980
|
+
resultText?: string | undefined;
|
|
1981
|
+
summary?: string | undefined;
|
|
1982
|
+
errorCode?: string | undefined;
|
|
1983
|
+
trace?: {
|
|
1984
|
+
phase: "dependency" | "context" | "execution";
|
|
1985
|
+
source: "executor" | "spotlight_action" | "spotlight_server";
|
|
1986
|
+
type: string;
|
|
1987
|
+
tool: string;
|
|
1988
|
+
detail?: string | undefined;
|
|
1989
|
+
at: number;
|
|
1990
|
+
elapsedMs: number;
|
|
1991
|
+
}[] | undefined;
|
|
1992
|
+
status: "pending" | "running" | "done" | "error";
|
|
1993
|
+
};
|
|
1994
|
+
})[] | undefined;
|
|
1486
1995
|
} | {
|
|
1487
1996
|
type: "turn_transition";
|
|
1488
1997
|
at: number;
|
|
@@ -1667,6 +2176,7 @@ export declare const useSpotlightStore: import("pinia").StoreDefinition<"spotlig
|
|
|
1667
2176
|
pipelinePhase: PipelinePhase;
|
|
1668
2177
|
pipelineRunId: number;
|
|
1669
2178
|
pipelineAbortController: AbortController | null;
|
|
2179
|
+
lastMemoryReplay: SpotlightMemoryReplayBadge | null;
|
|
1670
2180
|
telemetrySnapshots: SpotlightTelemetrySnapshot[];
|
|
1671
2181
|
}>): SpotlightTimelineEvent[][];
|
|
1672
2182
|
latestTurnTimeline(): SpotlightTimelineEvent[];
|
|
@@ -1796,6 +2306,87 @@ export declare const useSpotlightStore: import("pinia").StoreDefinition<"spotlig
|
|
|
1796
2306
|
label: string | null;
|
|
1797
2307
|
artifact: "attachments" | "files" | "artifacts" | "tool_calls" | "chat_items";
|
|
1798
2308
|
count: number;
|
|
2309
|
+
attachments?: {
|
|
2310
|
+
id: string;
|
|
2311
|
+
type: "image" | "file" | "html";
|
|
2312
|
+
name?: string | undefined;
|
|
2313
|
+
url: string;
|
|
2314
|
+
mimeType?: string | undefined;
|
|
2315
|
+
}[] | undefined;
|
|
2316
|
+
files?: {
|
|
2317
|
+
id: string;
|
|
2318
|
+
path: string;
|
|
2319
|
+
name: string;
|
|
2320
|
+
content?: string[] | undefined;
|
|
2321
|
+
createdAt?: string | undefined;
|
|
2322
|
+
modifiedAt?: string | undefined;
|
|
2323
|
+
}[] | undefined;
|
|
2324
|
+
artifacts?: {
|
|
2325
|
+
id: string;
|
|
2326
|
+
kind: import("./types.js").SpotlightArtifactKind;
|
|
2327
|
+
title: string;
|
|
2328
|
+
sourceToolCallId?: string | undefined;
|
|
2329
|
+
sourceToolName?: string | undefined;
|
|
2330
|
+
summary?: string | undefined;
|
|
2331
|
+
payload: {
|
|
2332
|
+
columns: string[];
|
|
2333
|
+
rows: Array<Record<string, unknown>>;
|
|
2334
|
+
} | {
|
|
2335
|
+
html: string;
|
|
2336
|
+
} | {
|
|
2337
|
+
url: string;
|
|
2338
|
+
} | {
|
|
2339
|
+
value: unknown;
|
|
2340
|
+
} | {
|
|
2341
|
+
text: string;
|
|
2342
|
+
};
|
|
2343
|
+
}[] | undefined;
|
|
2344
|
+
toolCalls?: {
|
|
2345
|
+
id: string;
|
|
2346
|
+
name: string;
|
|
2347
|
+
displayName?: string | undefined;
|
|
2348
|
+
argsText?: string | undefined;
|
|
2349
|
+
resultText?: string | undefined;
|
|
2350
|
+
summary?: string | undefined;
|
|
2351
|
+
errorCode?: string | undefined;
|
|
2352
|
+
trace?: {
|
|
2353
|
+
phase: "dependency" | "context" | "execution";
|
|
2354
|
+
source: "executor" | "spotlight_action" | "spotlight_server";
|
|
2355
|
+
type: string;
|
|
2356
|
+
tool: string;
|
|
2357
|
+
detail?: string | undefined;
|
|
2358
|
+
at: number;
|
|
2359
|
+
elapsedMs: number;
|
|
2360
|
+
}[] | undefined;
|
|
2361
|
+
status: "pending" | "running" | "done" | "error";
|
|
2362
|
+
}[] | undefined;
|
|
2363
|
+
chatItems?: ({
|
|
2364
|
+
id: string;
|
|
2365
|
+
type: "text";
|
|
2366
|
+
text: string;
|
|
2367
|
+
} | {
|
|
2368
|
+
id: string;
|
|
2369
|
+
type: "tool";
|
|
2370
|
+
toolCall: {
|
|
2371
|
+
id: string;
|
|
2372
|
+
name: string;
|
|
2373
|
+
displayName?: string | undefined;
|
|
2374
|
+
argsText?: string | undefined;
|
|
2375
|
+
resultText?: string | undefined;
|
|
2376
|
+
summary?: string | undefined;
|
|
2377
|
+
errorCode?: string | undefined;
|
|
2378
|
+
trace?: {
|
|
2379
|
+
phase: "dependency" | "context" | "execution";
|
|
2380
|
+
source: "executor" | "spotlight_action" | "spotlight_server";
|
|
2381
|
+
type: string;
|
|
2382
|
+
tool: string;
|
|
2383
|
+
detail?: string | undefined;
|
|
2384
|
+
at: number;
|
|
2385
|
+
elapsedMs: number;
|
|
2386
|
+
}[] | undefined;
|
|
2387
|
+
status: "pending" | "running" | "done" | "error";
|
|
2388
|
+
};
|
|
2389
|
+
})[] | undefined;
|
|
1799
2390
|
} | {
|
|
1800
2391
|
type: "turn_transition";
|
|
1801
2392
|
at: number;
|
|
@@ -1983,6 +2574,11 @@ export declare const useSpotlightStore: import("pinia").StoreDefinition<"spotlig
|
|
|
1983
2574
|
};
|
|
1984
2575
|
abort: (reason?: any) => void;
|
|
1985
2576
|
} | null;
|
|
2577
|
+
lastMemoryReplay: {
|
|
2578
|
+
source: "exact" | "semantic" | "session";
|
|
2579
|
+
entryId: string;
|
|
2580
|
+
kind: string;
|
|
2581
|
+
} | null;
|
|
1986
2582
|
telemetrySnapshots: {
|
|
1987
2583
|
turnId: string;
|
|
1988
2584
|
recordedAt: number;
|
|
@@ -2023,6 +2619,87 @@ export declare const useSpotlightStore: import("pinia").StoreDefinition<"spotlig
|
|
|
2023
2619
|
label: string | null;
|
|
2024
2620
|
artifact: "attachments" | "files" | "artifacts" | "tool_calls" | "chat_items";
|
|
2025
2621
|
count: number;
|
|
2622
|
+
attachments?: {
|
|
2623
|
+
id: string;
|
|
2624
|
+
type: "image" | "file" | "html";
|
|
2625
|
+
name?: string | undefined;
|
|
2626
|
+
url: string;
|
|
2627
|
+
mimeType?: string | undefined;
|
|
2628
|
+
}[] | undefined;
|
|
2629
|
+
files?: {
|
|
2630
|
+
id: string;
|
|
2631
|
+
path: string;
|
|
2632
|
+
name: string;
|
|
2633
|
+
content?: string[] | undefined;
|
|
2634
|
+
createdAt?: string | undefined;
|
|
2635
|
+
modifiedAt?: string | undefined;
|
|
2636
|
+
}[] | undefined;
|
|
2637
|
+
artifacts?: {
|
|
2638
|
+
id: string;
|
|
2639
|
+
kind: import("./types.js").SpotlightArtifactKind;
|
|
2640
|
+
title: string;
|
|
2641
|
+
sourceToolCallId?: string | undefined;
|
|
2642
|
+
sourceToolName?: string | undefined;
|
|
2643
|
+
summary?: string | undefined;
|
|
2644
|
+
payload: {
|
|
2645
|
+
columns: string[];
|
|
2646
|
+
rows: Array<Record<string, unknown>>;
|
|
2647
|
+
} | {
|
|
2648
|
+
html: string;
|
|
2649
|
+
} | {
|
|
2650
|
+
url: string;
|
|
2651
|
+
} | {
|
|
2652
|
+
value: unknown;
|
|
2653
|
+
} | {
|
|
2654
|
+
text: string;
|
|
2655
|
+
};
|
|
2656
|
+
}[] | undefined;
|
|
2657
|
+
toolCalls?: {
|
|
2658
|
+
id: string;
|
|
2659
|
+
name: string;
|
|
2660
|
+
displayName?: string | undefined;
|
|
2661
|
+
argsText?: string | undefined;
|
|
2662
|
+
resultText?: string | undefined;
|
|
2663
|
+
summary?: string | undefined;
|
|
2664
|
+
errorCode?: string | undefined;
|
|
2665
|
+
trace?: {
|
|
2666
|
+
phase: "dependency" | "context" | "execution";
|
|
2667
|
+
source: "executor" | "spotlight_action" | "spotlight_server";
|
|
2668
|
+
type: string;
|
|
2669
|
+
tool: string;
|
|
2670
|
+
detail?: string | undefined;
|
|
2671
|
+
at: number;
|
|
2672
|
+
elapsedMs: number;
|
|
2673
|
+
}[] | undefined;
|
|
2674
|
+
status: "pending" | "running" | "done" | "error";
|
|
2675
|
+
}[] | undefined;
|
|
2676
|
+
chatItems?: ({
|
|
2677
|
+
id: string;
|
|
2678
|
+
type: "text";
|
|
2679
|
+
text: string;
|
|
2680
|
+
} | {
|
|
2681
|
+
id: string;
|
|
2682
|
+
type: "tool";
|
|
2683
|
+
toolCall: {
|
|
2684
|
+
id: string;
|
|
2685
|
+
name: string;
|
|
2686
|
+
displayName?: string | undefined;
|
|
2687
|
+
argsText?: string | undefined;
|
|
2688
|
+
resultText?: string | undefined;
|
|
2689
|
+
summary?: string | undefined;
|
|
2690
|
+
errorCode?: string | undefined;
|
|
2691
|
+
trace?: {
|
|
2692
|
+
phase: "dependency" | "context" | "execution";
|
|
2693
|
+
source: "executor" | "spotlight_action" | "spotlight_server";
|
|
2694
|
+
type: string;
|
|
2695
|
+
tool: string;
|
|
2696
|
+
detail?: string | undefined;
|
|
2697
|
+
at: number;
|
|
2698
|
+
elapsedMs: number;
|
|
2699
|
+
}[] | undefined;
|
|
2700
|
+
status: "pending" | "running" | "done" | "error";
|
|
2701
|
+
};
|
|
2702
|
+
})[] | undefined;
|
|
2026
2703
|
} | {
|
|
2027
2704
|
type: "turn_transition";
|
|
2028
2705
|
at: number;
|
|
@@ -2207,6 +2884,7 @@ export declare const useSpotlightStore: import("pinia").StoreDefinition<"spotlig
|
|
|
2207
2884
|
pipelinePhase: PipelinePhase;
|
|
2208
2885
|
pipelineRunId: number;
|
|
2209
2886
|
pipelineAbortController: AbortController | null;
|
|
2887
|
+
lastMemoryReplay: SpotlightMemoryReplayBadge | null;
|
|
2210
2888
|
telemetrySnapshots: SpotlightTelemetrySnapshot[];
|
|
2211
2889
|
}>): SpotlightFailureSummary | null;
|
|
2212
2890
|
latestTelemetrySnapshot(state: {
|
|
@@ -2335,6 +3013,87 @@ export declare const useSpotlightStore: import("pinia").StoreDefinition<"spotlig
|
|
|
2335
3013
|
label: string | null;
|
|
2336
3014
|
artifact: "attachments" | "files" | "artifacts" | "tool_calls" | "chat_items";
|
|
2337
3015
|
count: number;
|
|
3016
|
+
attachments?: {
|
|
3017
|
+
id: string;
|
|
3018
|
+
type: "image" | "file" | "html";
|
|
3019
|
+
name?: string | undefined;
|
|
3020
|
+
url: string;
|
|
3021
|
+
mimeType?: string | undefined;
|
|
3022
|
+
}[] | undefined;
|
|
3023
|
+
files?: {
|
|
3024
|
+
id: string;
|
|
3025
|
+
path: string;
|
|
3026
|
+
name: string;
|
|
3027
|
+
content?: string[] | undefined;
|
|
3028
|
+
createdAt?: string | undefined;
|
|
3029
|
+
modifiedAt?: string | undefined;
|
|
3030
|
+
}[] | undefined;
|
|
3031
|
+
artifacts?: {
|
|
3032
|
+
id: string;
|
|
3033
|
+
kind: import("./types.js").SpotlightArtifactKind;
|
|
3034
|
+
title: string;
|
|
3035
|
+
sourceToolCallId?: string | undefined;
|
|
3036
|
+
sourceToolName?: string | undefined;
|
|
3037
|
+
summary?: string | undefined;
|
|
3038
|
+
payload: {
|
|
3039
|
+
columns: string[];
|
|
3040
|
+
rows: Array<Record<string, unknown>>;
|
|
3041
|
+
} | {
|
|
3042
|
+
html: string;
|
|
3043
|
+
} | {
|
|
3044
|
+
url: string;
|
|
3045
|
+
} | {
|
|
3046
|
+
value: unknown;
|
|
3047
|
+
} | {
|
|
3048
|
+
text: string;
|
|
3049
|
+
};
|
|
3050
|
+
}[] | undefined;
|
|
3051
|
+
toolCalls?: {
|
|
3052
|
+
id: string;
|
|
3053
|
+
name: string;
|
|
3054
|
+
displayName?: string | undefined;
|
|
3055
|
+
argsText?: string | undefined;
|
|
3056
|
+
resultText?: string | undefined;
|
|
3057
|
+
summary?: string | undefined;
|
|
3058
|
+
errorCode?: string | undefined;
|
|
3059
|
+
trace?: {
|
|
3060
|
+
phase: "dependency" | "context" | "execution";
|
|
3061
|
+
source: "executor" | "spotlight_action" | "spotlight_server";
|
|
3062
|
+
type: string;
|
|
3063
|
+
tool: string;
|
|
3064
|
+
detail?: string | undefined;
|
|
3065
|
+
at: number;
|
|
3066
|
+
elapsedMs: number;
|
|
3067
|
+
}[] | undefined;
|
|
3068
|
+
status: "pending" | "running" | "done" | "error";
|
|
3069
|
+
}[] | undefined;
|
|
3070
|
+
chatItems?: ({
|
|
3071
|
+
id: string;
|
|
3072
|
+
type: "text";
|
|
3073
|
+
text: string;
|
|
3074
|
+
} | {
|
|
3075
|
+
id: string;
|
|
3076
|
+
type: "tool";
|
|
3077
|
+
toolCall: {
|
|
3078
|
+
id: string;
|
|
3079
|
+
name: string;
|
|
3080
|
+
displayName?: string | undefined;
|
|
3081
|
+
argsText?: string | undefined;
|
|
3082
|
+
resultText?: string | undefined;
|
|
3083
|
+
summary?: string | undefined;
|
|
3084
|
+
errorCode?: string | undefined;
|
|
3085
|
+
trace?: {
|
|
3086
|
+
phase: "dependency" | "context" | "execution";
|
|
3087
|
+
source: "executor" | "spotlight_action" | "spotlight_server";
|
|
3088
|
+
type: string;
|
|
3089
|
+
tool: string;
|
|
3090
|
+
detail?: string | undefined;
|
|
3091
|
+
at: number;
|
|
3092
|
+
elapsedMs: number;
|
|
3093
|
+
}[] | undefined;
|
|
3094
|
+
status: "pending" | "running" | "done" | "error";
|
|
3095
|
+
};
|
|
3096
|
+
})[] | undefined;
|
|
2338
3097
|
} | {
|
|
2339
3098
|
type: "turn_transition";
|
|
2340
3099
|
at: number;
|
|
@@ -2522,6 +3281,11 @@ export declare const useSpotlightStore: import("pinia").StoreDefinition<"spotlig
|
|
|
2522
3281
|
};
|
|
2523
3282
|
abort: (reason?: any) => void;
|
|
2524
3283
|
} | null;
|
|
3284
|
+
lastMemoryReplay: {
|
|
3285
|
+
source: "exact" | "semantic" | "session";
|
|
3286
|
+
entryId: string;
|
|
3287
|
+
kind: string;
|
|
3288
|
+
} | null;
|
|
2525
3289
|
telemetrySnapshots: {
|
|
2526
3290
|
turnId: string;
|
|
2527
3291
|
recordedAt: number;
|
|
@@ -2562,6 +3326,87 @@ export declare const useSpotlightStore: import("pinia").StoreDefinition<"spotlig
|
|
|
2562
3326
|
label: string | null;
|
|
2563
3327
|
artifact: "attachments" | "files" | "artifacts" | "tool_calls" | "chat_items";
|
|
2564
3328
|
count: number;
|
|
3329
|
+
attachments?: {
|
|
3330
|
+
id: string;
|
|
3331
|
+
type: "image" | "file" | "html";
|
|
3332
|
+
name?: string | undefined;
|
|
3333
|
+
url: string;
|
|
3334
|
+
mimeType?: string | undefined;
|
|
3335
|
+
}[] | undefined;
|
|
3336
|
+
files?: {
|
|
3337
|
+
id: string;
|
|
3338
|
+
path: string;
|
|
3339
|
+
name: string;
|
|
3340
|
+
content?: string[] | undefined;
|
|
3341
|
+
createdAt?: string | undefined;
|
|
3342
|
+
modifiedAt?: string | undefined;
|
|
3343
|
+
}[] | undefined;
|
|
3344
|
+
artifacts?: {
|
|
3345
|
+
id: string;
|
|
3346
|
+
kind: import("./types.js").SpotlightArtifactKind;
|
|
3347
|
+
title: string;
|
|
3348
|
+
sourceToolCallId?: string | undefined;
|
|
3349
|
+
sourceToolName?: string | undefined;
|
|
3350
|
+
summary?: string | undefined;
|
|
3351
|
+
payload: {
|
|
3352
|
+
columns: string[];
|
|
3353
|
+
rows: Array<Record<string, unknown>>;
|
|
3354
|
+
} | {
|
|
3355
|
+
html: string;
|
|
3356
|
+
} | {
|
|
3357
|
+
url: string;
|
|
3358
|
+
} | {
|
|
3359
|
+
value: unknown;
|
|
3360
|
+
} | {
|
|
3361
|
+
text: string;
|
|
3362
|
+
};
|
|
3363
|
+
}[] | undefined;
|
|
3364
|
+
toolCalls?: {
|
|
3365
|
+
id: string;
|
|
3366
|
+
name: string;
|
|
3367
|
+
displayName?: string | undefined;
|
|
3368
|
+
argsText?: string | undefined;
|
|
3369
|
+
resultText?: string | undefined;
|
|
3370
|
+
summary?: string | undefined;
|
|
3371
|
+
errorCode?: string | undefined;
|
|
3372
|
+
trace?: {
|
|
3373
|
+
phase: "dependency" | "context" | "execution";
|
|
3374
|
+
source: "executor" | "spotlight_action" | "spotlight_server";
|
|
3375
|
+
type: string;
|
|
3376
|
+
tool: string;
|
|
3377
|
+
detail?: string | undefined;
|
|
3378
|
+
at: number;
|
|
3379
|
+
elapsedMs: number;
|
|
3380
|
+
}[] | undefined;
|
|
3381
|
+
status: "pending" | "running" | "done" | "error";
|
|
3382
|
+
}[] | undefined;
|
|
3383
|
+
chatItems?: ({
|
|
3384
|
+
id: string;
|
|
3385
|
+
type: "text";
|
|
3386
|
+
text: string;
|
|
3387
|
+
} | {
|
|
3388
|
+
id: string;
|
|
3389
|
+
type: "tool";
|
|
3390
|
+
toolCall: {
|
|
3391
|
+
id: string;
|
|
3392
|
+
name: string;
|
|
3393
|
+
displayName?: string | undefined;
|
|
3394
|
+
argsText?: string | undefined;
|
|
3395
|
+
resultText?: string | undefined;
|
|
3396
|
+
summary?: string | undefined;
|
|
3397
|
+
errorCode?: string | undefined;
|
|
3398
|
+
trace?: {
|
|
3399
|
+
phase: "dependency" | "context" | "execution";
|
|
3400
|
+
source: "executor" | "spotlight_action" | "spotlight_server";
|
|
3401
|
+
type: string;
|
|
3402
|
+
tool: string;
|
|
3403
|
+
detail?: string | undefined;
|
|
3404
|
+
at: number;
|
|
3405
|
+
elapsedMs: number;
|
|
3406
|
+
}[] | undefined;
|
|
3407
|
+
status: "pending" | "running" | "done" | "error";
|
|
3408
|
+
};
|
|
3409
|
+
})[] | undefined;
|
|
2565
3410
|
} | {
|
|
2566
3411
|
type: "turn_transition";
|
|
2567
3412
|
at: number;
|
|
@@ -2746,6 +3591,7 @@ export declare const useSpotlightStore: import("pinia").StoreDefinition<"spotlig
|
|
|
2746
3591
|
pipelinePhase: PipelinePhase;
|
|
2747
3592
|
pipelineRunId: number;
|
|
2748
3593
|
pipelineAbortController: AbortController | null;
|
|
3594
|
+
lastMemoryReplay: SpotlightMemoryReplayBadge | null;
|
|
2749
3595
|
telemetrySnapshots: SpotlightTelemetrySnapshot[];
|
|
2750
3596
|
}>): SpotlightTelemetrySnapshot | null;
|
|
2751
3597
|
}, {
|