shuvcode 2.0.0-alpha-9 → 2.0.0-alpha-10
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/client/api.d.ts +1 -0
- package/client/generated/client.d.ts +14 -1
- package/client/generated/client.js +67 -7
- package/client/generated/types.d.ts +2079 -798
- package/client/generated/types.js +2 -2
- package/client/index.d.ts +1 -1
- package/client/index.js +3 -3
- package/client/service.d.ts +8 -1
- package/client/service.js +65 -21
- package/package.json +13 -13
|
@@ -51,8 +51,16 @@ export type FileDiffInfo = {
|
|
|
51
51
|
status: "added" | "deleted" | "modified";
|
|
52
52
|
};
|
|
53
53
|
export type SessionPolicyToolID = string;
|
|
54
|
-
export type
|
|
55
|
-
|
|
54
|
+
export type SessionMessageAgentSelected = {
|
|
55
|
+
id: string;
|
|
56
|
+
metadata?: {
|
|
57
|
+
[x: string]: JsonValue;
|
|
58
|
+
};
|
|
59
|
+
time: {
|
|
60
|
+
created: number;
|
|
61
|
+
};
|
|
62
|
+
type: "agent-switched";
|
|
63
|
+
agent: string;
|
|
56
64
|
};
|
|
57
65
|
export type PromptBase64 = string;
|
|
58
66
|
export type PromptFileSource = {
|
|
@@ -69,30 +77,6 @@ export type PromptMention = {
|
|
|
69
77
|
export type StructuredOutputJsonSchema = {
|
|
70
78
|
[x: string]: JsonValue;
|
|
71
79
|
};
|
|
72
|
-
export type SessionPendingSyntheticData = {
|
|
73
|
-
text: string;
|
|
74
|
-
description?: string;
|
|
75
|
-
metadata?: {
|
|
76
|
-
[x: string]: JsonValue;
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
export type SessionPendingCompaction = {
|
|
80
|
-
id: string;
|
|
81
|
-
sessionID: string;
|
|
82
|
-
timeCreated: number;
|
|
83
|
-
type: "compaction";
|
|
84
|
-
};
|
|
85
|
-
export type SessionMessageAgentSelected = {
|
|
86
|
-
id: string;
|
|
87
|
-
metadata?: {
|
|
88
|
-
[x: string]: JsonValue;
|
|
89
|
-
};
|
|
90
|
-
time: {
|
|
91
|
-
created: number;
|
|
92
|
-
};
|
|
93
|
-
type: "agent-switched";
|
|
94
|
-
agent: string;
|
|
95
|
-
};
|
|
96
80
|
export type SessionMessageSynthetic = {
|
|
97
81
|
id: string;
|
|
98
82
|
metadata?: {
|
|
@@ -213,6 +197,22 @@ export type SessionMessageCompactionCompleted = {
|
|
|
213
197
|
summary: string;
|
|
214
198
|
recent: string;
|
|
215
199
|
};
|
|
200
|
+
export type SessionActive = {
|
|
201
|
+
type: "running";
|
|
202
|
+
};
|
|
203
|
+
export type SessionPendingSyntheticData = {
|
|
204
|
+
text: string;
|
|
205
|
+
description?: string;
|
|
206
|
+
metadata?: {
|
|
207
|
+
[x: string]: JsonValue;
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
export type SessionPendingCompaction = {
|
|
211
|
+
id: string;
|
|
212
|
+
sessionID: string;
|
|
213
|
+
timeCreated: number;
|
|
214
|
+
type: "compaction";
|
|
215
|
+
};
|
|
216
216
|
export type InstructionEntryKey = string;
|
|
217
217
|
export type SessionGenerateResponse = {
|
|
218
218
|
data: {
|
|
@@ -273,6 +273,7 @@ export type EventLogSynced = {
|
|
|
273
273
|
seq?: number;
|
|
274
274
|
};
|
|
275
275
|
export type ModelReasoningField = "reasoning" | "reasoning_content" | "reasoning_text" | (string & {});
|
|
276
|
+
export type ModelMaxTokensField = "max_completion_tokens" | "max_tokens";
|
|
276
277
|
export type ModelCapabilities = {
|
|
277
278
|
tools: boolean;
|
|
278
279
|
input: Array<string>;
|
|
@@ -312,10 +313,22 @@ export type ProviderInfo = {
|
|
|
312
313
|
[x: string]: any;
|
|
313
314
|
};
|
|
314
315
|
};
|
|
315
|
-
export type
|
|
316
|
+
export type FormWhen = {
|
|
316
317
|
key: string;
|
|
317
318
|
op: "eq" | "neq";
|
|
319
|
+
value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
320
|
+
};
|
|
321
|
+
export type FormOption = {
|
|
318
322
|
value: string;
|
|
323
|
+
label: string;
|
|
324
|
+
description?: string;
|
|
325
|
+
};
|
|
326
|
+
export type FormExternalField = {
|
|
327
|
+
key: string;
|
|
328
|
+
type: "external";
|
|
329
|
+
url: string;
|
|
330
|
+
title?: string;
|
|
331
|
+
description?: string;
|
|
319
332
|
};
|
|
320
333
|
export type IntegrationCommandMethod = {
|
|
321
334
|
id: string;
|
|
@@ -323,10 +336,6 @@ export type IntegrationCommandMethod = {
|
|
|
323
336
|
label: string;
|
|
324
337
|
command: Array<string>;
|
|
325
338
|
};
|
|
326
|
-
export type IntegrationKeyMethod = {
|
|
327
|
-
type: "key";
|
|
328
|
-
label?: string;
|
|
329
|
-
};
|
|
330
339
|
export type IntegrationEnvMethod = {
|
|
331
340
|
type: "env";
|
|
332
341
|
names: Array<string>;
|
|
@@ -424,10 +433,6 @@ export type McpStatusFailed = {
|
|
|
424
433
|
export type McpStatusNeedsAuth = {
|
|
425
434
|
status: "needs_auth";
|
|
426
435
|
};
|
|
427
|
-
export type McpStatusNeedsClientRegistration = {
|
|
428
|
-
status: "needs_client_registration";
|
|
429
|
-
error: string;
|
|
430
|
-
};
|
|
431
436
|
export type McpResource = {
|
|
432
437
|
server: string;
|
|
433
438
|
name: string;
|
|
@@ -468,28 +473,11 @@ export type ProjectDirectory = {
|
|
|
468
473
|
export type FormMetadata = {
|
|
469
474
|
[x: string]: JsonValue;
|
|
470
475
|
};
|
|
471
|
-
export type FormWhen = {
|
|
472
|
-
key: string;
|
|
473
|
-
op: "eq" | "neq";
|
|
474
|
-
value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
475
|
-
};
|
|
476
|
-
export type FormOption = {
|
|
477
|
-
value: string;
|
|
478
|
-
label: string;
|
|
479
|
-
description?: string;
|
|
480
|
-
};
|
|
481
|
-
export type FormExternalField = {
|
|
482
|
-
key: string;
|
|
483
|
-
type: "external";
|
|
484
|
-
url: string;
|
|
485
|
-
title?: string;
|
|
486
|
-
description?: string;
|
|
487
|
-
};
|
|
488
476
|
export type FormValue = string | number | boolean | Array<string>;
|
|
489
477
|
export type PermissionSource = {
|
|
490
478
|
type: "tool";
|
|
491
479
|
messageID: string;
|
|
492
|
-
|
|
480
|
+
id: string;
|
|
493
481
|
};
|
|
494
482
|
export type PermissionSavedInfo = {
|
|
495
483
|
id: string;
|
|
@@ -510,231 +498,6 @@ export type SkillInfo = {
|
|
|
510
498
|
location: string;
|
|
511
499
|
content: string;
|
|
512
500
|
};
|
|
513
|
-
export type FileDiffLegacyInfo = {
|
|
514
|
-
file?: string;
|
|
515
|
-
patch?: string;
|
|
516
|
-
additions: number;
|
|
517
|
-
deletions: number;
|
|
518
|
-
status?: "added" | "deleted" | "modified";
|
|
519
|
-
};
|
|
520
|
-
export type PermissionV1Action = "allow" | "deny" | "ask";
|
|
521
|
-
export type SessionV1JSONSchema = {
|
|
522
|
-
[x: string]: any;
|
|
523
|
-
};
|
|
524
|
-
export type ProviderAuthError = {
|
|
525
|
-
name: "ProviderAuthError";
|
|
526
|
-
data: {
|
|
527
|
-
providerID: string;
|
|
528
|
-
message: string;
|
|
529
|
-
};
|
|
530
|
-
};
|
|
531
|
-
export type UnknownError2 = {
|
|
532
|
-
name: "UnknownError";
|
|
533
|
-
data: {
|
|
534
|
-
message: string;
|
|
535
|
-
ref?: string | undefined;
|
|
536
|
-
};
|
|
537
|
-
};
|
|
538
|
-
export type MessageOutputLengthError = {
|
|
539
|
-
name: "MessageOutputLengthError";
|
|
540
|
-
data: {};
|
|
541
|
-
};
|
|
542
|
-
export type MessageAbortedError = {
|
|
543
|
-
name: "MessageAbortedError";
|
|
544
|
-
data: {
|
|
545
|
-
message: string;
|
|
546
|
-
};
|
|
547
|
-
};
|
|
548
|
-
export type StructuredOutputError = {
|
|
549
|
-
name: "StructuredOutputError";
|
|
550
|
-
data: {
|
|
551
|
-
message: string;
|
|
552
|
-
retries: number;
|
|
553
|
-
};
|
|
554
|
-
};
|
|
555
|
-
export type ContextOverflowError = {
|
|
556
|
-
name: "ContextOverflowError";
|
|
557
|
-
data: {
|
|
558
|
-
message: string;
|
|
559
|
-
responseBody?: string | undefined;
|
|
560
|
-
};
|
|
561
|
-
};
|
|
562
|
-
export type ContentFilterError = {
|
|
563
|
-
name: "ContentFilterError";
|
|
564
|
-
data: {
|
|
565
|
-
message: string;
|
|
566
|
-
};
|
|
567
|
-
};
|
|
568
|
-
export type APIError = {
|
|
569
|
-
name: "APIError";
|
|
570
|
-
data: {
|
|
571
|
-
message: string;
|
|
572
|
-
statusCode?: number | undefined;
|
|
573
|
-
isRetryable: boolean;
|
|
574
|
-
responseHeaders?: {
|
|
575
|
-
[x: string]: string;
|
|
576
|
-
} | undefined;
|
|
577
|
-
responseBody?: string | undefined;
|
|
578
|
-
metadata?: {
|
|
579
|
-
[x: string]: string;
|
|
580
|
-
} | undefined;
|
|
581
|
-
};
|
|
582
|
-
};
|
|
583
|
-
export type SessionV1TextPart = {
|
|
584
|
-
id: string;
|
|
585
|
-
sessionID: string;
|
|
586
|
-
messageID: string;
|
|
587
|
-
type: "text";
|
|
588
|
-
text: string;
|
|
589
|
-
synthetic?: boolean | undefined;
|
|
590
|
-
ignored?: boolean | undefined;
|
|
591
|
-
time?: {
|
|
592
|
-
start: number;
|
|
593
|
-
end?: number | undefined;
|
|
594
|
-
} | undefined;
|
|
595
|
-
metadata?: {
|
|
596
|
-
[x: string]: any;
|
|
597
|
-
} | undefined;
|
|
598
|
-
};
|
|
599
|
-
export type SessionV1SubtaskPart = {
|
|
600
|
-
id: string;
|
|
601
|
-
sessionID: string;
|
|
602
|
-
messageID: string;
|
|
603
|
-
type: "subtask";
|
|
604
|
-
prompt: string;
|
|
605
|
-
description: string;
|
|
606
|
-
agent: string;
|
|
607
|
-
model?: {
|
|
608
|
-
providerID: string;
|
|
609
|
-
modelID: string;
|
|
610
|
-
} | undefined;
|
|
611
|
-
command?: string | undefined;
|
|
612
|
-
};
|
|
613
|
-
export type SessionV1ReasoningPart = {
|
|
614
|
-
id: string;
|
|
615
|
-
sessionID: string;
|
|
616
|
-
messageID: string;
|
|
617
|
-
type: "reasoning";
|
|
618
|
-
text: string;
|
|
619
|
-
metadata?: {
|
|
620
|
-
[x: string]: any;
|
|
621
|
-
} | undefined;
|
|
622
|
-
time: {
|
|
623
|
-
start: number;
|
|
624
|
-
end?: number | undefined;
|
|
625
|
-
};
|
|
626
|
-
};
|
|
627
|
-
export type SessionV1FilePartSourceText = {
|
|
628
|
-
value: string;
|
|
629
|
-
start: number;
|
|
630
|
-
end: number;
|
|
631
|
-
};
|
|
632
|
-
export type SessionV1Range = {
|
|
633
|
-
start: {
|
|
634
|
-
line: number;
|
|
635
|
-
character: number;
|
|
636
|
-
};
|
|
637
|
-
end: {
|
|
638
|
-
line: number;
|
|
639
|
-
character: number;
|
|
640
|
-
};
|
|
641
|
-
};
|
|
642
|
-
export type SessionV1ToolStatePending = {
|
|
643
|
-
status: "pending";
|
|
644
|
-
input: {
|
|
645
|
-
[x: string]: any;
|
|
646
|
-
};
|
|
647
|
-
raw: string;
|
|
648
|
-
};
|
|
649
|
-
export type SessionV1ToolStateRunning = {
|
|
650
|
-
status: "running";
|
|
651
|
-
input: {
|
|
652
|
-
[x: string]: any;
|
|
653
|
-
};
|
|
654
|
-
title?: string | undefined;
|
|
655
|
-
metadata?: {
|
|
656
|
-
[x: string]: any;
|
|
657
|
-
} | undefined;
|
|
658
|
-
time: {
|
|
659
|
-
start: number;
|
|
660
|
-
};
|
|
661
|
-
};
|
|
662
|
-
export type SessionV1ToolStateError = {
|
|
663
|
-
status: "error";
|
|
664
|
-
input: {
|
|
665
|
-
[x: string]: any;
|
|
666
|
-
};
|
|
667
|
-
error: string;
|
|
668
|
-
metadata?: {
|
|
669
|
-
[x: string]: any;
|
|
670
|
-
} | undefined;
|
|
671
|
-
time: {
|
|
672
|
-
start: number;
|
|
673
|
-
end: number;
|
|
674
|
-
};
|
|
675
|
-
};
|
|
676
|
-
export type SessionV1StepStartPart = {
|
|
677
|
-
id: string;
|
|
678
|
-
sessionID: string;
|
|
679
|
-
messageID: string;
|
|
680
|
-
type: "step-start";
|
|
681
|
-
snapshot?: string | undefined;
|
|
682
|
-
};
|
|
683
|
-
export type SessionV1StepFinishPart = {
|
|
684
|
-
id: string;
|
|
685
|
-
sessionID: string;
|
|
686
|
-
messageID: string;
|
|
687
|
-
type: "step-finish";
|
|
688
|
-
reason: string;
|
|
689
|
-
snapshot?: string | undefined;
|
|
690
|
-
cost: number;
|
|
691
|
-
tokens: {
|
|
692
|
-
total?: number | undefined;
|
|
693
|
-
input: number;
|
|
694
|
-
output: number;
|
|
695
|
-
reasoning: number;
|
|
696
|
-
cache: {
|
|
697
|
-
read: number;
|
|
698
|
-
write: number;
|
|
699
|
-
};
|
|
700
|
-
};
|
|
701
|
-
};
|
|
702
|
-
export type SessionV1SnapshotPart = {
|
|
703
|
-
id: string;
|
|
704
|
-
sessionID: string;
|
|
705
|
-
messageID: string;
|
|
706
|
-
type: "snapshot";
|
|
707
|
-
snapshot: string;
|
|
708
|
-
};
|
|
709
|
-
export type SessionV1PatchPart = {
|
|
710
|
-
id: string;
|
|
711
|
-
sessionID: string;
|
|
712
|
-
messageID: string;
|
|
713
|
-
type: "patch";
|
|
714
|
-
hash: string;
|
|
715
|
-
files: Array<string>;
|
|
716
|
-
};
|
|
717
|
-
export type SessionV1AgentPart = {
|
|
718
|
-
id: string;
|
|
719
|
-
sessionID: string;
|
|
720
|
-
messageID: string;
|
|
721
|
-
type: "agent";
|
|
722
|
-
name: string;
|
|
723
|
-
source?: {
|
|
724
|
-
value: string;
|
|
725
|
-
start: number;
|
|
726
|
-
end: number;
|
|
727
|
-
} | undefined;
|
|
728
|
-
};
|
|
729
|
-
export type SessionV1CompactionPart = {
|
|
730
|
-
id: string;
|
|
731
|
-
sessionID: string;
|
|
732
|
-
messageID: string;
|
|
733
|
-
type: "compaction";
|
|
734
|
-
auto: boolean;
|
|
735
|
-
overflow?: boolean | undefined;
|
|
736
|
-
tail_start_id?: string | undefined;
|
|
737
|
-
};
|
|
738
501
|
export type PermissionReply = "once" | "always" | "reject";
|
|
739
502
|
export type Pty = {
|
|
740
503
|
id: string;
|
|
@@ -752,7 +515,7 @@ export type QuestionOption = {
|
|
|
752
515
|
};
|
|
753
516
|
export type QuestionTool = {
|
|
754
517
|
messageID: string;
|
|
755
|
-
|
|
518
|
+
id: string;
|
|
756
519
|
};
|
|
757
520
|
export type QuestionAnswer = Array<string>;
|
|
758
521
|
export type FormMetadata1 = {
|
|
@@ -979,13 +742,13 @@ export type SessionInputPromoted = {
|
|
|
979
742
|
inputID: string;
|
|
980
743
|
};
|
|
981
744
|
};
|
|
982
|
-
export type
|
|
745
|
+
export type SessionInputCancelled = {
|
|
983
746
|
id: string;
|
|
984
747
|
created: number;
|
|
985
748
|
metadata?: {
|
|
986
749
|
[x: string]: any;
|
|
987
750
|
};
|
|
988
|
-
type: "session.
|
|
751
|
+
type: "session.input.cancelled";
|
|
989
752
|
durable: {
|
|
990
753
|
aggregateID: string;
|
|
991
754
|
seq: number;
|
|
@@ -994,15 +757,16 @@ export type SessionExecutionStarted = {
|
|
|
994
757
|
location?: LocationRef;
|
|
995
758
|
data: {
|
|
996
759
|
sessionID: string;
|
|
760
|
+
inputID: string;
|
|
997
761
|
};
|
|
998
762
|
};
|
|
999
|
-
export type
|
|
763
|
+
export type SessionInputSteered = {
|
|
1000
764
|
id: string;
|
|
1001
765
|
created: number;
|
|
1002
766
|
metadata?: {
|
|
1003
767
|
[x: string]: any;
|
|
1004
768
|
};
|
|
1005
|
-
type: "session.
|
|
769
|
+
type: "session.input.steered";
|
|
1006
770
|
durable: {
|
|
1007
771
|
aggregateID: string;
|
|
1008
772
|
seq: number;
|
|
@@ -1011,15 +775,16 @@ export type SessionExecutionSucceeded = {
|
|
|
1011
775
|
location?: LocationRef;
|
|
1012
776
|
data: {
|
|
1013
777
|
sessionID: string;
|
|
778
|
+
inputID: string;
|
|
1014
779
|
};
|
|
1015
780
|
};
|
|
1016
|
-
export type
|
|
781
|
+
export type SessionInputQueued = {
|
|
1017
782
|
id: string;
|
|
1018
783
|
created: number;
|
|
1019
784
|
metadata?: {
|
|
1020
785
|
[x: string]: any;
|
|
1021
786
|
};
|
|
1022
|
-
type: "session.
|
|
787
|
+
type: "session.input.queued";
|
|
1023
788
|
durable: {
|
|
1024
789
|
aggregateID: string;
|
|
1025
790
|
seq: number;
|
|
@@ -1028,36 +793,33 @@ export type SessionExecutionInterrupted = {
|
|
|
1028
793
|
location?: LocationRef;
|
|
1029
794
|
data: {
|
|
1030
795
|
sessionID: string;
|
|
1031
|
-
|
|
796
|
+
inputID: string;
|
|
1032
797
|
};
|
|
1033
798
|
};
|
|
1034
|
-
export type
|
|
799
|
+
export type SessionExecutionStarted = {
|
|
1035
800
|
id: string;
|
|
1036
801
|
created: number;
|
|
1037
802
|
metadata?: {
|
|
1038
803
|
[x: string]: any;
|
|
1039
804
|
};
|
|
1040
|
-
type: "session.
|
|
805
|
+
type: "session.execution.started";
|
|
1041
806
|
durable: {
|
|
1042
807
|
aggregateID: string;
|
|
1043
808
|
seq: number;
|
|
1044
|
-
version:
|
|
809
|
+
version: 1;
|
|
1045
810
|
};
|
|
1046
811
|
location?: LocationRef;
|
|
1047
812
|
data: {
|
|
1048
813
|
sessionID: string;
|
|
1049
|
-
delta: {
|
|
1050
|
-
[x: string]: string | "removed";
|
|
1051
|
-
};
|
|
1052
814
|
};
|
|
1053
815
|
};
|
|
1054
|
-
export type
|
|
816
|
+
export type SessionExecutionSucceeded = {
|
|
1055
817
|
id: string;
|
|
1056
818
|
created: number;
|
|
1057
819
|
metadata?: {
|
|
1058
820
|
[x: string]: any;
|
|
1059
821
|
};
|
|
1060
|
-
type: "session.
|
|
822
|
+
type: "session.execution.succeeded";
|
|
1061
823
|
durable: {
|
|
1062
824
|
aggregateID: string;
|
|
1063
825
|
seq: number;
|
|
@@ -1066,20 +828,76 @@ export type SessionSynthetic = {
|
|
|
1066
828
|
location?: LocationRef;
|
|
1067
829
|
data: {
|
|
1068
830
|
sessionID: string;
|
|
1069
|
-
text: string;
|
|
1070
|
-
description?: string;
|
|
1071
|
-
metadata?: {
|
|
1072
|
-
[x: string]: any;
|
|
1073
|
-
};
|
|
1074
831
|
};
|
|
1075
832
|
};
|
|
1076
|
-
export type
|
|
833
|
+
export type SessionExecutionInterrupted = {
|
|
1077
834
|
id: string;
|
|
1078
835
|
created: number;
|
|
1079
836
|
metadata?: {
|
|
1080
837
|
[x: string]: any;
|
|
1081
838
|
};
|
|
1082
|
-
type: "session.
|
|
839
|
+
type: "session.execution.interrupted";
|
|
840
|
+
durable: {
|
|
841
|
+
aggregateID: string;
|
|
842
|
+
seq: number;
|
|
843
|
+
version: 1;
|
|
844
|
+
};
|
|
845
|
+
location?: LocationRef;
|
|
846
|
+
data: {
|
|
847
|
+
sessionID: string;
|
|
848
|
+
reason: "user" | "shutdown" | "superseded";
|
|
849
|
+
};
|
|
850
|
+
};
|
|
851
|
+
export type SessionInstructionsUpdated = {
|
|
852
|
+
id: string;
|
|
853
|
+
created: number;
|
|
854
|
+
metadata?: {
|
|
855
|
+
[x: string]: any;
|
|
856
|
+
};
|
|
857
|
+
type: "session.instructions.updated";
|
|
858
|
+
durable: {
|
|
859
|
+
aggregateID: string;
|
|
860
|
+
seq: number;
|
|
861
|
+
version: 2;
|
|
862
|
+
};
|
|
863
|
+
location?: LocationRef;
|
|
864
|
+
data: {
|
|
865
|
+
sessionID: string;
|
|
866
|
+
delta: {
|
|
867
|
+
[x: string]: string | "removed";
|
|
868
|
+
};
|
|
869
|
+
text?: string;
|
|
870
|
+
};
|
|
871
|
+
};
|
|
872
|
+
export type SessionSynthetic = {
|
|
873
|
+
id: string;
|
|
874
|
+
created: number;
|
|
875
|
+
metadata?: {
|
|
876
|
+
[x: string]: any;
|
|
877
|
+
};
|
|
878
|
+
type: "session.synthetic";
|
|
879
|
+
durable: {
|
|
880
|
+
aggregateID: string;
|
|
881
|
+
seq: number;
|
|
882
|
+
version: 1;
|
|
883
|
+
};
|
|
884
|
+
location?: LocationRef;
|
|
885
|
+
data: {
|
|
886
|
+
sessionID: string;
|
|
887
|
+
text: string;
|
|
888
|
+
description?: string;
|
|
889
|
+
metadata?: {
|
|
890
|
+
[x: string]: any;
|
|
891
|
+
};
|
|
892
|
+
};
|
|
893
|
+
};
|
|
894
|
+
export type SessionSkillActivated = {
|
|
895
|
+
id: string;
|
|
896
|
+
created: number;
|
|
897
|
+
metadata?: {
|
|
898
|
+
[x: string]: any;
|
|
899
|
+
};
|
|
900
|
+
type: "session.skill.activated";
|
|
1083
901
|
durable: {
|
|
1084
902
|
aggregateID: string;
|
|
1085
903
|
seq: number;
|
|
@@ -1191,7 +1009,7 @@ export type SessionToolInputStarted = {
|
|
|
1191
1009
|
data: {
|
|
1192
1010
|
sessionID: string;
|
|
1193
1011
|
assistantMessageID: string;
|
|
1194
|
-
|
|
1012
|
+
id: string;
|
|
1195
1013
|
name: string;
|
|
1196
1014
|
};
|
|
1197
1015
|
};
|
|
@@ -1211,7 +1029,7 @@ export type SessionToolInputEnded = {
|
|
|
1211
1029
|
data: {
|
|
1212
1030
|
sessionID: string;
|
|
1213
1031
|
assistantMessageID: string;
|
|
1214
|
-
|
|
1032
|
+
id: string;
|
|
1215
1033
|
text: string;
|
|
1216
1034
|
};
|
|
1217
1035
|
};
|
|
@@ -1380,43 +1198,6 @@ export type AgentUpdated = {
|
|
|
1380
1198
|
location?: LocationRef;
|
|
1381
1199
|
data: {};
|
|
1382
1200
|
};
|
|
1383
|
-
export type MessageRemoved = {
|
|
1384
|
-
id: string;
|
|
1385
|
-
created: number;
|
|
1386
|
-
metadata?: {
|
|
1387
|
-
[x: string]: any;
|
|
1388
|
-
};
|
|
1389
|
-
type: "message.removed";
|
|
1390
|
-
durable: {
|
|
1391
|
-
aggregateID: string;
|
|
1392
|
-
seq: number;
|
|
1393
|
-
version: 1;
|
|
1394
|
-
};
|
|
1395
|
-
location?: LocationRef;
|
|
1396
|
-
data: {
|
|
1397
|
-
sessionID: string;
|
|
1398
|
-
messageID: string;
|
|
1399
|
-
};
|
|
1400
|
-
};
|
|
1401
|
-
export type MessagePartRemoved = {
|
|
1402
|
-
id: string;
|
|
1403
|
-
created: number;
|
|
1404
|
-
metadata?: {
|
|
1405
|
-
[x: string]: any;
|
|
1406
|
-
};
|
|
1407
|
-
type: "message.part.removed";
|
|
1408
|
-
durable: {
|
|
1409
|
-
aggregateID: string;
|
|
1410
|
-
seq: number;
|
|
1411
|
-
version: 1;
|
|
1412
|
-
};
|
|
1413
|
-
location?: LocationRef;
|
|
1414
|
-
data: {
|
|
1415
|
-
sessionID: string;
|
|
1416
|
-
messageID: string;
|
|
1417
|
-
partID: string;
|
|
1418
|
-
};
|
|
1419
|
-
};
|
|
1420
1201
|
export type SessionUsageUpdated = {
|
|
1421
1202
|
id: string;
|
|
1422
1203
|
created: number;
|
|
@@ -1472,7 +1253,7 @@ export type SessionToolInputDelta = {
|
|
|
1472
1253
|
data: {
|
|
1473
1254
|
sessionID: string;
|
|
1474
1255
|
assistantMessageID: string;
|
|
1475
|
-
|
|
1256
|
+
id: string;
|
|
1476
1257
|
delta: string;
|
|
1477
1258
|
};
|
|
1478
1259
|
};
|
|
@@ -1487,7 +1268,7 @@ export type SessionToolProgress = {
|
|
|
1487
1268
|
data: {
|
|
1488
1269
|
sessionID: string;
|
|
1489
1270
|
assistantMessageID: string;
|
|
1490
|
-
|
|
1271
|
+
id: string;
|
|
1491
1272
|
metadata: {
|
|
1492
1273
|
[x: string]: JsonValue;
|
|
1493
1274
|
};
|
|
@@ -1833,19 +1614,17 @@ export type PromptAgentAttachment = {
|
|
|
1833
1614
|
name: string;
|
|
1834
1615
|
mention?: PromptMention;
|
|
1835
1616
|
};
|
|
1617
|
+
export type PromptSkillAttachment = {
|
|
1618
|
+
id: string;
|
|
1619
|
+
name: string;
|
|
1620
|
+
text: string;
|
|
1621
|
+
mention?: PromptMention;
|
|
1622
|
+
};
|
|
1836
1623
|
export type StructuredOutputRequest = {
|
|
1837
1624
|
schema: StructuredOutputJsonSchema;
|
|
1838
1625
|
name?: string;
|
|
1839
1626
|
description?: string;
|
|
1840
1627
|
};
|
|
1841
|
-
export type SessionPendingSynthetic = {
|
|
1842
|
-
id: string;
|
|
1843
|
-
sessionID: string;
|
|
1844
|
-
timeCreated: number;
|
|
1845
|
-
type: "synthetic";
|
|
1846
|
-
data: SessionPendingSyntheticData;
|
|
1847
|
-
delivery: "steer" | "queue";
|
|
1848
|
-
};
|
|
1849
1628
|
export type SessionMessageAssistantText = {
|
|
1850
1629
|
type: "text";
|
|
1851
1630
|
text: string;
|
|
@@ -1980,6 +1759,14 @@ export type SessionCompactionFailed = {
|
|
|
1980
1759
|
inputID?: string;
|
|
1981
1760
|
};
|
|
1982
1761
|
};
|
|
1762
|
+
export type SessionPendingSynthetic = {
|
|
1763
|
+
id: string;
|
|
1764
|
+
sessionID: string;
|
|
1765
|
+
timeCreated: number;
|
|
1766
|
+
type: "synthetic";
|
|
1767
|
+
data: SessionPendingSyntheticData;
|
|
1768
|
+
delivery: "steer" | "queue";
|
|
1769
|
+
};
|
|
1983
1770
|
export type InstructionEntryInfo = {
|
|
1984
1771
|
key: InstructionEntryKey;
|
|
1985
1772
|
value: JsonValue;
|
|
@@ -2121,7 +1908,7 @@ export type SessionToolCalled = {
|
|
|
2121
1908
|
data: {
|
|
2122
1909
|
sessionID: string;
|
|
2123
1910
|
assistantMessageID: string;
|
|
2124
|
-
|
|
1911
|
+
id: string;
|
|
2125
1912
|
input: {
|
|
2126
1913
|
[x: string]: any;
|
|
2127
1914
|
};
|
|
@@ -2132,6 +1919,8 @@ export type SessionToolCalled = {
|
|
|
2132
1919
|
export type ToolContent1 = ToolTextContent | ToolFileContent1;
|
|
2133
1920
|
export type ModelCompatibility = {
|
|
2134
1921
|
reasoningField?: ModelReasoningField;
|
|
1922
|
+
maxTokensField?: ModelMaxTokensField;
|
|
1923
|
+
requireFinishReason?: boolean;
|
|
2135
1924
|
};
|
|
2136
1925
|
export type ModelCost = {
|
|
2137
1926
|
tier?: {
|
|
@@ -2145,51 +1934,6 @@ export type ModelCost = {
|
|
|
2145
1934
|
write: MoneyUSDPerMillionTokens;
|
|
2146
1935
|
};
|
|
2147
1936
|
};
|
|
2148
|
-
export type IntegrationTextPrompt = {
|
|
2149
|
-
type: "text";
|
|
2150
|
-
key: string;
|
|
2151
|
-
message: string;
|
|
2152
|
-
placeholder?: string;
|
|
2153
|
-
when?: IntegrationWhen;
|
|
2154
|
-
};
|
|
2155
|
-
export type IntegrationSelectPrompt = {
|
|
2156
|
-
type: "select";
|
|
2157
|
-
key: string;
|
|
2158
|
-
message: string;
|
|
2159
|
-
options: Array<{
|
|
2160
|
-
label: string;
|
|
2161
|
-
value: string;
|
|
2162
|
-
hint?: string;
|
|
2163
|
-
}>;
|
|
2164
|
-
when?: IntegrationWhen;
|
|
2165
|
-
};
|
|
2166
|
-
export type ConnectionInfo = ConnectionCredentialInfo | ConnectionEnvInfo;
|
|
2167
|
-
export type AuthStatus = {
|
|
2168
|
-
ready: boolean;
|
|
2169
|
-
storage: "available" | "unavailable";
|
|
2170
|
-
verification: "not_performed";
|
|
2171
|
-
profiles: Array<AuthProfile>;
|
|
2172
|
-
};
|
|
2173
|
-
export type McpServer = {
|
|
2174
|
-
name: string;
|
|
2175
|
-
status: McpStatusConnected | McpStatusPending | McpStatusDisabled | McpStatusFailed | McpStatusNeedsAuth | McpStatusNeedsClientRegistration;
|
|
2176
|
-
integrationID?: string;
|
|
2177
|
-
};
|
|
2178
|
-
export type McpResourceCatalog = {
|
|
2179
|
-
resources: Array<McpResource>;
|
|
2180
|
-
templates: Array<McpResourceTemplate>;
|
|
2181
|
-
};
|
|
2182
|
-
export type Project = {
|
|
2183
|
-
id: string;
|
|
2184
|
-
canonical: string;
|
|
2185
|
-
vcs?: ProjectVcs;
|
|
2186
|
-
name?: string;
|
|
2187
|
-
icon?: ProjectIcon;
|
|
2188
|
-
commands?: ProjectCommands;
|
|
2189
|
-
time: ProjectTime;
|
|
2190
|
-
sandboxes: Array<string>;
|
|
2191
|
-
};
|
|
2192
|
-
export type ProjectDirectories = Array<ProjectDirectory>;
|
|
2193
1937
|
export type FormNumberField = {
|
|
2194
1938
|
key: string;
|
|
2195
1939
|
title?: string;
|
|
@@ -2250,6 +1994,33 @@ export type FormMultiselectField = {
|
|
|
2250
1994
|
custom?: boolean;
|
|
2251
1995
|
default?: Array<string>;
|
|
2252
1996
|
};
|
|
1997
|
+
export type ConnectionInfo = ConnectionCredentialInfo | ConnectionEnvInfo;
|
|
1998
|
+
export type AuthStatus = {
|
|
1999
|
+
ready: boolean;
|
|
2000
|
+
storage: "available" | "unavailable";
|
|
2001
|
+
verification: "not_performed";
|
|
2002
|
+
profiles: Array<AuthProfile>;
|
|
2003
|
+
};
|
|
2004
|
+
export type McpServer = {
|
|
2005
|
+
name: string;
|
|
2006
|
+
status: McpStatusConnected | McpStatusPending | McpStatusDisabled | McpStatusFailed | McpStatusNeedsAuth;
|
|
2007
|
+
integrationID?: string;
|
|
2008
|
+
};
|
|
2009
|
+
export type McpResourceCatalog = {
|
|
2010
|
+
resources: Array<McpResource>;
|
|
2011
|
+
templates: Array<McpResourceTemplate>;
|
|
2012
|
+
};
|
|
2013
|
+
export type Project = {
|
|
2014
|
+
id: string;
|
|
2015
|
+
canonical: string;
|
|
2016
|
+
vcs?: ProjectVcs;
|
|
2017
|
+
name?: string;
|
|
2018
|
+
icon?: ProjectIcon;
|
|
2019
|
+
commands?: ProjectCommands;
|
|
2020
|
+
time: ProjectTime;
|
|
2021
|
+
sandboxes: Array<string>;
|
|
2022
|
+
};
|
|
2023
|
+
export type ProjectDirectories = Array<ProjectDirectory>;
|
|
2253
2024
|
export type FormAnswer = {
|
|
2254
2025
|
[x: string]: FormValue;
|
|
2255
2026
|
};
|
|
@@ -2284,95 +2055,6 @@ export type PermissionAsked = {
|
|
|
2284
2055
|
source?: PermissionSource;
|
|
2285
2056
|
};
|
|
2286
2057
|
};
|
|
2287
|
-
export type PermissionV1Rule = {
|
|
2288
|
-
permission: string;
|
|
2289
|
-
pattern: string;
|
|
2290
|
-
action: PermissionV1Action;
|
|
2291
|
-
};
|
|
2292
|
-
export type SessionV1OutputFormat = {
|
|
2293
|
-
type: "text";
|
|
2294
|
-
} | {
|
|
2295
|
-
type: "json_schema";
|
|
2296
|
-
schema: SessionV1JSONSchema;
|
|
2297
|
-
retryCount?: number | undefined | undefined;
|
|
2298
|
-
};
|
|
2299
|
-
export type SessionV1AssistantMessage = {
|
|
2300
|
-
id: string;
|
|
2301
|
-
sessionID: string;
|
|
2302
|
-
role: "assistant";
|
|
2303
|
-
time: {
|
|
2304
|
-
created: number;
|
|
2305
|
-
completed?: number | undefined;
|
|
2306
|
-
};
|
|
2307
|
-
error?: ProviderAuthError | UnknownError2 | MessageOutputLengthError | MessageAbortedError | StructuredOutputError | ContextOverflowError | ContentFilterError | APIError | undefined;
|
|
2308
|
-
parentID: string;
|
|
2309
|
-
modelID: string;
|
|
2310
|
-
providerID: string;
|
|
2311
|
-
mode: string;
|
|
2312
|
-
agent: string;
|
|
2313
|
-
path: {
|
|
2314
|
-
cwd: string;
|
|
2315
|
-
root: string;
|
|
2316
|
-
};
|
|
2317
|
-
summary?: boolean | undefined;
|
|
2318
|
-
cost: number;
|
|
2319
|
-
tokens: {
|
|
2320
|
-
total?: number | undefined;
|
|
2321
|
-
input: number;
|
|
2322
|
-
output: number;
|
|
2323
|
-
reasoning: number;
|
|
2324
|
-
cache: {
|
|
2325
|
-
read: number;
|
|
2326
|
-
write: number;
|
|
2327
|
-
};
|
|
2328
|
-
};
|
|
2329
|
-
structured?: any | undefined;
|
|
2330
|
-
variant?: string | undefined;
|
|
2331
|
-
finish?: string | undefined;
|
|
2332
|
-
};
|
|
2333
|
-
export type SessionV1RetryPart = {
|
|
2334
|
-
id: string;
|
|
2335
|
-
sessionID: string;
|
|
2336
|
-
messageID: string;
|
|
2337
|
-
type: "retry";
|
|
2338
|
-
attempt: number;
|
|
2339
|
-
error: APIError;
|
|
2340
|
-
time: {
|
|
2341
|
-
created: number;
|
|
2342
|
-
};
|
|
2343
|
-
};
|
|
2344
|
-
export type SessionError = {
|
|
2345
|
-
id: string;
|
|
2346
|
-
created: number;
|
|
2347
|
-
metadata?: {
|
|
2348
|
-
[x: string]: any;
|
|
2349
|
-
};
|
|
2350
|
-
type: "session.error";
|
|
2351
|
-
location?: LocationRef;
|
|
2352
|
-
data: {
|
|
2353
|
-
sessionID?: string | undefined;
|
|
2354
|
-
error?: ProviderAuthError | UnknownError2 | MessageOutputLengthError | MessageAbortedError | StructuredOutputError | ContextOverflowError | ContentFilterError | APIError | undefined;
|
|
2355
|
-
};
|
|
2356
|
-
};
|
|
2357
|
-
export type SessionV1FileSource = {
|
|
2358
|
-
text: SessionV1FilePartSourceText;
|
|
2359
|
-
type: "file";
|
|
2360
|
-
path: string;
|
|
2361
|
-
};
|
|
2362
|
-
export type SessionV1ResourceSource = {
|
|
2363
|
-
text: SessionV1FilePartSourceText;
|
|
2364
|
-
type: "resource";
|
|
2365
|
-
clientName: string;
|
|
2366
|
-
uri: string;
|
|
2367
|
-
};
|
|
2368
|
-
export type SessionV1SymbolSource = {
|
|
2369
|
-
text: SessionV1FilePartSourceText;
|
|
2370
|
-
type: "symbol";
|
|
2371
|
-
path: string;
|
|
2372
|
-
range: SessionV1Range;
|
|
2373
|
-
name: string;
|
|
2374
|
-
kind: number;
|
|
2375
|
-
};
|
|
2376
2058
|
export type PermissionReplied = {
|
|
2377
2059
|
id: string;
|
|
2378
2060
|
created: number;
|
|
@@ -2531,15 +2213,6 @@ export type SessionRevertStaged = {
|
|
|
2531
2213
|
export type SessionPolicy = {
|
|
2532
2214
|
tools: SessionPolicyTools;
|
|
2533
2215
|
};
|
|
2534
|
-
export type SessionPendingUserData = {
|
|
2535
|
-
text: string;
|
|
2536
|
-
files?: Array<PromptFileAttachment>;
|
|
2537
|
-
agents?: Array<PromptAgentAttachment>;
|
|
2538
|
-
output?: StructuredOutputRequest;
|
|
2539
|
-
metadata?: {
|
|
2540
|
-
[x: string]: JsonValue;
|
|
2541
|
-
};
|
|
2542
|
-
};
|
|
2543
2216
|
export type SessionMessageUser = {
|
|
2544
2217
|
id: string;
|
|
2545
2218
|
metadata?: {
|
|
@@ -2552,13 +2225,25 @@ export type SessionMessageUser = {
|
|
|
2552
2225
|
files?: Array<PromptFileAttachment>;
|
|
2553
2226
|
agents?: Array<PromptAgentAttachment>;
|
|
2554
2227
|
output?: StructuredOutputRequest;
|
|
2228
|
+
skills?: Array<PromptSkillAttachment>;
|
|
2555
2229
|
type: "user";
|
|
2556
2230
|
};
|
|
2231
|
+
export type SessionPendingUserData = {
|
|
2232
|
+
text: string;
|
|
2233
|
+
files?: Array<PromptFileAttachment>;
|
|
2234
|
+
agents?: Array<PromptAgentAttachment>;
|
|
2235
|
+
output?: StructuredOutputRequest;
|
|
2236
|
+
skills?: Array<PromptSkillAttachment>;
|
|
2237
|
+
metadata?: {
|
|
2238
|
+
[x: string]: JsonValue;
|
|
2239
|
+
};
|
|
2240
|
+
};
|
|
2557
2241
|
export type SessionPendingUserData1 = {
|
|
2558
2242
|
text: string;
|
|
2559
2243
|
files?: Array<PromptFileAttachment>;
|
|
2560
2244
|
agents?: Array<PromptAgentAttachment>;
|
|
2561
2245
|
output?: StructuredOutputRequest;
|
|
2246
|
+
skills?: Array<PromptSkillAttachment>;
|
|
2562
2247
|
metadata?: {
|
|
2563
2248
|
[x: string]: any;
|
|
2564
2249
|
};
|
|
@@ -2601,7 +2286,7 @@ export type SessionToolSuccess = {
|
|
|
2601
2286
|
data: {
|
|
2602
2287
|
sessionID: string;
|
|
2603
2288
|
assistantMessageID: string;
|
|
2604
|
-
|
|
2289
|
+
id: string;
|
|
2605
2290
|
content: [ToolContent1, ...Array<ToolContent1>];
|
|
2606
2291
|
metadata?: {
|
|
2607
2292
|
[x: string]: JsonValue;
|
|
@@ -2626,7 +2311,7 @@ export type SessionToolFailed = {
|
|
|
2626
2311
|
data: {
|
|
2627
2312
|
sessionID: string;
|
|
2628
2313
|
assistantMessageID: string;
|
|
2629
|
-
|
|
2314
|
+
id: string;
|
|
2630
2315
|
error: SessionStructuredError;
|
|
2631
2316
|
content?: [ToolContent1, ...Array<ToolContent1>];
|
|
2632
2317
|
metadata?: {
|
|
@@ -2667,12 +2352,6 @@ export type ModelInfo = {
|
|
|
2667
2352
|
output: number;
|
|
2668
2353
|
};
|
|
2669
2354
|
};
|
|
2670
|
-
export type IntegrationOAuthMethod = {
|
|
2671
|
-
id: string;
|
|
2672
|
-
type: "oauth";
|
|
2673
|
-
label: string;
|
|
2674
|
-
prompts?: Array<IntegrationTextPrompt | IntegrationSelectPrompt>;
|
|
2675
|
-
};
|
|
2676
2355
|
export type FormField = FormStringField | FormNumberField | FormIntegerField | FormBooleanField | FormMultiselectField | FormExternalField;
|
|
2677
2356
|
export type FormState = {
|
|
2678
2357
|
status: "pending";
|
|
@@ -2696,32 +2375,6 @@ export type FormReplied = {
|
|
|
2696
2375
|
answer: FormAnswer;
|
|
2697
2376
|
};
|
|
2698
2377
|
};
|
|
2699
|
-
export type PermissionV1Ruleset = Array<PermissionV1Rule>;
|
|
2700
|
-
export type SessionV1UserMessage = {
|
|
2701
|
-
id: string;
|
|
2702
|
-
sessionID: string;
|
|
2703
|
-
role: "user";
|
|
2704
|
-
time: {
|
|
2705
|
-
created: number;
|
|
2706
|
-
};
|
|
2707
|
-
format?: SessionV1OutputFormat | undefined;
|
|
2708
|
-
summary?: {
|
|
2709
|
-
title?: string | undefined;
|
|
2710
|
-
body?: string | undefined;
|
|
2711
|
-
diffs: Array<FileDiffLegacyInfo>;
|
|
2712
|
-
} | undefined;
|
|
2713
|
-
agent: string;
|
|
2714
|
-
model: {
|
|
2715
|
-
providerID: string;
|
|
2716
|
-
modelID: string;
|
|
2717
|
-
variant?: string | undefined;
|
|
2718
|
-
};
|
|
2719
|
-
system?: string | undefined;
|
|
2720
|
-
tools?: {
|
|
2721
|
-
[x: string]: boolean;
|
|
2722
|
-
} | undefined;
|
|
2723
|
-
};
|
|
2724
|
-
export type SessionV1FilePartSource = SessionV1FileSource | SessionV1SymbolSource | SessionV1ResourceSource;
|
|
2725
2378
|
export type QuestionAsked = {
|
|
2726
2379
|
id: string;
|
|
2727
2380
|
created: number;
|
|
@@ -2764,7 +2417,287 @@ export type AgentInfo = {
|
|
|
2764
2417
|
steps?: number;
|
|
2765
2418
|
permissions: PermissionRuleset;
|
|
2766
2419
|
};
|
|
2767
|
-
export type
|
|
2420
|
+
export type ConfigEntry = {
|
|
2421
|
+
type: "document";
|
|
2422
|
+
path?: string;
|
|
2423
|
+
info: {
|
|
2424
|
+
$schema?: string;
|
|
2425
|
+
shell?: string;
|
|
2426
|
+
model?: string | {
|
|
2427
|
+
providerID: string;
|
|
2428
|
+
model: string;
|
|
2429
|
+
variant?: string;
|
|
2430
|
+
};
|
|
2431
|
+
default_agent?: string;
|
|
2432
|
+
autoupdate?: boolean | "notify";
|
|
2433
|
+
share?: "manual" | "auto" | "disabled";
|
|
2434
|
+
enterprise?: {
|
|
2435
|
+
url?: string;
|
|
2436
|
+
};
|
|
2437
|
+
username?: string;
|
|
2438
|
+
permissions?: PermissionRuleset;
|
|
2439
|
+
agents?: {
|
|
2440
|
+
[x: string]: {
|
|
2441
|
+
model?: string | {
|
|
2442
|
+
providerID: string;
|
|
2443
|
+
model: string;
|
|
2444
|
+
variant?: string;
|
|
2445
|
+
};
|
|
2446
|
+
request?: {
|
|
2447
|
+
headers?: {
|
|
2448
|
+
[x: string]: string;
|
|
2449
|
+
};
|
|
2450
|
+
body?: {
|
|
2451
|
+
[x: string]: JsonValue;
|
|
2452
|
+
};
|
|
2453
|
+
};
|
|
2454
|
+
system?: string;
|
|
2455
|
+
description?: string;
|
|
2456
|
+
mode?: "subagent" | "primary" | "all";
|
|
2457
|
+
hidden?: boolean;
|
|
2458
|
+
color?: string;
|
|
2459
|
+
steps?: number;
|
|
2460
|
+
disabled?: boolean;
|
|
2461
|
+
permissions?: PermissionRuleset;
|
|
2462
|
+
};
|
|
2463
|
+
};
|
|
2464
|
+
snapshots?: boolean;
|
|
2465
|
+
watcher?: {
|
|
2466
|
+
ignore?: Array<string>;
|
|
2467
|
+
};
|
|
2468
|
+
formatter?: boolean | {
|
|
2469
|
+
[x: string]: {
|
|
2470
|
+
disabled?: boolean;
|
|
2471
|
+
command?: Array<string>;
|
|
2472
|
+
environment?: {
|
|
2473
|
+
[x: string]: string;
|
|
2474
|
+
};
|
|
2475
|
+
extensions?: Array<string>;
|
|
2476
|
+
};
|
|
2477
|
+
};
|
|
2478
|
+
lsp?: boolean | {
|
|
2479
|
+
[x: string]: {
|
|
2480
|
+
disabled: true;
|
|
2481
|
+
} | {
|
|
2482
|
+
command: Array<string>;
|
|
2483
|
+
extensions?: Array<string>;
|
|
2484
|
+
disabled?: boolean;
|
|
2485
|
+
env?: {
|
|
2486
|
+
[x: string]: string;
|
|
2487
|
+
};
|
|
2488
|
+
initialization?: {
|
|
2489
|
+
[x: string]: JsonValue;
|
|
2490
|
+
};
|
|
2491
|
+
};
|
|
2492
|
+
};
|
|
2493
|
+
media?: {
|
|
2494
|
+
image?: {
|
|
2495
|
+
auto_resize?: boolean;
|
|
2496
|
+
max_width?: number;
|
|
2497
|
+
max_height?: number;
|
|
2498
|
+
max_base64_bytes?: number;
|
|
2499
|
+
};
|
|
2500
|
+
};
|
|
2501
|
+
tool_output?: {
|
|
2502
|
+
max_lines?: number;
|
|
2503
|
+
max_bytes?: number;
|
|
2504
|
+
};
|
|
2505
|
+
codemode?: {
|
|
2506
|
+
timeout_ms?: number | null;
|
|
2507
|
+
max_tool_calls?: number | null;
|
|
2508
|
+
max_output_bytes?: number | null;
|
|
2509
|
+
};
|
|
2510
|
+
mcp?: {
|
|
2511
|
+
timeout?: {
|
|
2512
|
+
startup?: number;
|
|
2513
|
+
catalog?: number;
|
|
2514
|
+
execution?: number;
|
|
2515
|
+
};
|
|
2516
|
+
servers?: {
|
|
2517
|
+
[x: string]: {
|
|
2518
|
+
type: "local";
|
|
2519
|
+
command: Array<string>;
|
|
2520
|
+
cwd?: string;
|
|
2521
|
+
environment?: {
|
|
2522
|
+
[x: string]: string;
|
|
2523
|
+
};
|
|
2524
|
+
disabled?: boolean;
|
|
2525
|
+
codemode?: boolean;
|
|
2526
|
+
timeout?: {
|
|
2527
|
+
startup?: number;
|
|
2528
|
+
catalog?: number;
|
|
2529
|
+
execution?: number;
|
|
2530
|
+
};
|
|
2531
|
+
} | {
|
|
2532
|
+
type: "remote";
|
|
2533
|
+
url: string;
|
|
2534
|
+
headers?: {
|
|
2535
|
+
[x: string]: string;
|
|
2536
|
+
};
|
|
2537
|
+
oauth?: {
|
|
2538
|
+
client_id?: string;
|
|
2539
|
+
client_secret?: string;
|
|
2540
|
+
scope?: string;
|
|
2541
|
+
callback_port?: number;
|
|
2542
|
+
redirect_uri?: string;
|
|
2543
|
+
} | false;
|
|
2544
|
+
disabled?: boolean;
|
|
2545
|
+
codemode?: boolean;
|
|
2546
|
+
timeout?: {
|
|
2547
|
+
startup?: number;
|
|
2548
|
+
catalog?: number;
|
|
2549
|
+
execution?: number;
|
|
2550
|
+
};
|
|
2551
|
+
};
|
|
2552
|
+
};
|
|
2553
|
+
};
|
|
2554
|
+
compaction?: {
|
|
2555
|
+
auto?: boolean;
|
|
2556
|
+
keep?: {
|
|
2557
|
+
tokens?: number;
|
|
2558
|
+
};
|
|
2559
|
+
buffer?: number;
|
|
2560
|
+
};
|
|
2561
|
+
skills?: Array<string>;
|
|
2562
|
+
commands?: {
|
|
2563
|
+
[x: string]: {
|
|
2564
|
+
template: string;
|
|
2565
|
+
description?: string;
|
|
2566
|
+
agent?: string;
|
|
2567
|
+
model?: string | {
|
|
2568
|
+
providerID: string;
|
|
2569
|
+
model: string;
|
|
2570
|
+
variant?: string;
|
|
2571
|
+
};
|
|
2572
|
+
subtask?: boolean;
|
|
2573
|
+
};
|
|
2574
|
+
};
|
|
2575
|
+
instructions?: Array<string>;
|
|
2576
|
+
references?: {
|
|
2577
|
+
[x: string]: string | {
|
|
2578
|
+
repository: string;
|
|
2579
|
+
branch?: string;
|
|
2580
|
+
description?: string;
|
|
2581
|
+
hidden?: boolean;
|
|
2582
|
+
} | {
|
|
2583
|
+
path: string;
|
|
2584
|
+
description?: string;
|
|
2585
|
+
hidden?: boolean;
|
|
2586
|
+
};
|
|
2587
|
+
};
|
|
2588
|
+
websearch?: {
|
|
2589
|
+
provider: string;
|
|
2590
|
+
};
|
|
2591
|
+
plugins?: Array<string | {
|
|
2592
|
+
package: string;
|
|
2593
|
+
options?: {
|
|
2594
|
+
[x: string]: JsonValue;
|
|
2595
|
+
};
|
|
2596
|
+
}>;
|
|
2597
|
+
warming?: boolean | {
|
|
2598
|
+
prompt?: string;
|
|
2599
|
+
interval?: string;
|
|
2600
|
+
duration?: string;
|
|
2601
|
+
};
|
|
2602
|
+
providers?: {
|
|
2603
|
+
[x: string]: {
|
|
2604
|
+
name?: string;
|
|
2605
|
+
env?: Array<string>;
|
|
2606
|
+
package?: string;
|
|
2607
|
+
settings?: {
|
|
2608
|
+
[x: string]: JsonValue;
|
|
2609
|
+
};
|
|
2610
|
+
headers?: {
|
|
2611
|
+
[x: string]: string;
|
|
2612
|
+
};
|
|
2613
|
+
body?: {
|
|
2614
|
+
[x: string]: JsonValue;
|
|
2615
|
+
};
|
|
2616
|
+
models?: {
|
|
2617
|
+
[x: string]: {
|
|
2618
|
+
modelID?: string;
|
|
2619
|
+
family?: string;
|
|
2620
|
+
name?: string;
|
|
2621
|
+
compatibility?: ModelCompatibility;
|
|
2622
|
+
package?: string;
|
|
2623
|
+
settings?: {
|
|
2624
|
+
[x: string]: JsonValue;
|
|
2625
|
+
};
|
|
2626
|
+
headers?: {
|
|
2627
|
+
[x: string]: string;
|
|
2628
|
+
};
|
|
2629
|
+
body?: {
|
|
2630
|
+
[x: string]: JsonValue;
|
|
2631
|
+
};
|
|
2632
|
+
capabilities?: ModelCapabilities;
|
|
2633
|
+
variants?: Array<{
|
|
2634
|
+
id: string;
|
|
2635
|
+
settings?: {
|
|
2636
|
+
[x: string]: JsonValue;
|
|
2637
|
+
};
|
|
2638
|
+
headers?: {
|
|
2639
|
+
[x: string]: string;
|
|
2640
|
+
};
|
|
2641
|
+
body?: {
|
|
2642
|
+
[x: string]: JsonValue;
|
|
2643
|
+
};
|
|
2644
|
+
}>;
|
|
2645
|
+
cost?: {
|
|
2646
|
+
tier?: {
|
|
2647
|
+
type: "context";
|
|
2648
|
+
size: number;
|
|
2649
|
+
};
|
|
2650
|
+
input: MoneyUSDPerMillionTokens;
|
|
2651
|
+
output: MoneyUSDPerMillionTokens;
|
|
2652
|
+
cache?: {
|
|
2653
|
+
read?: MoneyUSDPerMillionTokens;
|
|
2654
|
+
write?: MoneyUSDPerMillionTokens;
|
|
2655
|
+
};
|
|
2656
|
+
} | Array<{
|
|
2657
|
+
tier?: {
|
|
2658
|
+
type: "context";
|
|
2659
|
+
size: number;
|
|
2660
|
+
};
|
|
2661
|
+
input: MoneyUSDPerMillionTokens;
|
|
2662
|
+
output: MoneyUSDPerMillionTokens;
|
|
2663
|
+
cache?: {
|
|
2664
|
+
read?: MoneyUSDPerMillionTokens;
|
|
2665
|
+
write?: MoneyUSDPerMillionTokens;
|
|
2666
|
+
};
|
|
2667
|
+
}>;
|
|
2668
|
+
disabled?: boolean;
|
|
2669
|
+
limit?: {
|
|
2670
|
+
context?: number;
|
|
2671
|
+
input?: number;
|
|
2672
|
+
output?: number;
|
|
2673
|
+
};
|
|
2674
|
+
};
|
|
2675
|
+
};
|
|
2676
|
+
};
|
|
2677
|
+
};
|
|
2678
|
+
experimental?: {
|
|
2679
|
+
subagent_depth?: number;
|
|
2680
|
+
policies?: Array<{
|
|
2681
|
+
action: "provider.use";
|
|
2682
|
+
resource: string;
|
|
2683
|
+
effect: "allow" | "deny";
|
|
2684
|
+
}>;
|
|
2685
|
+
};
|
|
2686
|
+
};
|
|
2687
|
+
} | {
|
|
2688
|
+
type: "directory";
|
|
2689
|
+
path: string;
|
|
2690
|
+
} | {
|
|
2691
|
+
type: "file";
|
|
2692
|
+
path: string;
|
|
2693
|
+
} | {
|
|
2694
|
+
type: "agents";
|
|
2695
|
+
path: string;
|
|
2696
|
+
} | {
|
|
2697
|
+
type: "claude";
|
|
2698
|
+
path: string;
|
|
2699
|
+
};
|
|
2700
|
+
export type SessionInfo = {
|
|
2768
2701
|
id: string;
|
|
2769
2702
|
parentID?: string;
|
|
2770
2703
|
fork?: {
|
|
@@ -2787,6 +2720,33 @@ export type SessionInfo = {
|
|
|
2787
2720
|
revert?: SessionRevert;
|
|
2788
2721
|
policy?: SessionPolicy;
|
|
2789
2722
|
};
|
|
2723
|
+
export type SessionCreated = {
|
|
2724
|
+
id: string;
|
|
2725
|
+
created: number;
|
|
2726
|
+
metadata?: {
|
|
2727
|
+
[x: string]: any;
|
|
2728
|
+
};
|
|
2729
|
+
type: "session.created";
|
|
2730
|
+
durable: {
|
|
2731
|
+
aggregateID: string;
|
|
2732
|
+
seq: number;
|
|
2733
|
+
version: 1;
|
|
2734
|
+
};
|
|
2735
|
+
location?: LocationRef;
|
|
2736
|
+
data: {
|
|
2737
|
+
sessionID: string;
|
|
2738
|
+
projectID: string;
|
|
2739
|
+
location: LocationRef;
|
|
2740
|
+
subpath?: string;
|
|
2741
|
+
parentID?: string;
|
|
2742
|
+
slug: string;
|
|
2743
|
+
title?: string;
|
|
2744
|
+
agent?: string;
|
|
2745
|
+
model?: ModelRef;
|
|
2746
|
+
policy?: SessionPolicy;
|
|
2747
|
+
version: string;
|
|
2748
|
+
};
|
|
2749
|
+
};
|
|
2790
2750
|
export type SessionForked = {
|
|
2791
2751
|
id: string;
|
|
2792
2752
|
created: number;
|
|
@@ -2837,73 +2797,8 @@ export type SessionMessageAssistantTool = {
|
|
|
2837
2797
|
completed?: number;
|
|
2838
2798
|
};
|
|
2839
2799
|
};
|
|
2840
|
-
export type IntegrationMethod = IntegrationOAuthMethod | IntegrationCommandMethod | IntegrationKeyMethod | IntegrationEnvMethod;
|
|
2841
2800
|
export type FormFields = [FormField, ...Array<FormField>];
|
|
2842
|
-
export type
|
|
2843
|
-
id: string;
|
|
2844
|
-
slug: string;
|
|
2845
|
-
projectID: string;
|
|
2846
|
-
workspaceID?: string;
|
|
2847
|
-
directory: string;
|
|
2848
|
-
path?: string;
|
|
2849
|
-
parentID?: string;
|
|
2850
|
-
summary?: {
|
|
2851
|
-
additions: number;
|
|
2852
|
-
deletions: number;
|
|
2853
|
-
files: number;
|
|
2854
|
-
diffs?: Array<FileDiffLegacyInfo>;
|
|
2855
|
-
};
|
|
2856
|
-
cost?: number;
|
|
2857
|
-
tokens?: {
|
|
2858
|
-
input: number;
|
|
2859
|
-
output: number;
|
|
2860
|
-
reasoning: number;
|
|
2861
|
-
cache: {
|
|
2862
|
-
read: number;
|
|
2863
|
-
write: number;
|
|
2864
|
-
};
|
|
2865
|
-
};
|
|
2866
|
-
share?: {
|
|
2867
|
-
url: string;
|
|
2868
|
-
};
|
|
2869
|
-
title?: string;
|
|
2870
|
-
agent?: string;
|
|
2871
|
-
model?: {
|
|
2872
|
-
id: string;
|
|
2873
|
-
providerID: string;
|
|
2874
|
-
variant?: string;
|
|
2875
|
-
};
|
|
2876
|
-
version: string;
|
|
2877
|
-
metadata?: {
|
|
2878
|
-
[x: string]: any;
|
|
2879
|
-
};
|
|
2880
|
-
time: {
|
|
2881
|
-
created: number;
|
|
2882
|
-
updated: number;
|
|
2883
|
-
compacting?: number;
|
|
2884
|
-
archived?: number;
|
|
2885
|
-
};
|
|
2886
|
-
permission?: PermissionV1Ruleset;
|
|
2887
|
-
revert?: {
|
|
2888
|
-
messageID: string;
|
|
2889
|
-
partID?: string;
|
|
2890
|
-
snapshot?: string;
|
|
2891
|
-
diff?: string;
|
|
2892
|
-
};
|
|
2893
|
-
policy?: SessionPolicy;
|
|
2894
|
-
};
|
|
2895
|
-
export type SessionV1Message = SessionV1UserMessage | SessionV1AssistantMessage;
|
|
2896
|
-
export type SessionV1FilePart = {
|
|
2897
|
-
id: string;
|
|
2898
|
-
sessionID: string;
|
|
2899
|
-
messageID: string;
|
|
2900
|
-
type: "file";
|
|
2901
|
-
mime: string;
|
|
2902
|
-
filename?: string | undefined;
|
|
2903
|
-
url: string;
|
|
2904
|
-
source?: SessionV1FilePartSource | undefined;
|
|
2905
|
-
};
|
|
2906
|
-
export type FormFields1 = [FormField1, ...Array<FormField1>];
|
|
2801
|
+
export type FormFields3 = [FormField1, ...Array<FormField1>];
|
|
2907
2802
|
export type SessionsResponse = {
|
|
2908
2803
|
data: Array<SessionInfo>;
|
|
2909
2804
|
cursor: {
|
|
@@ -2937,11 +2832,16 @@ export type SessionMessageAssistant = {
|
|
|
2937
2832
|
error?: SessionStructuredError;
|
|
2938
2833
|
retry?: SessionMessageAssistantRetry;
|
|
2939
2834
|
};
|
|
2940
|
-
export type
|
|
2835
|
+
export type IntegrationOAuthMethod = {
|
|
2941
2836
|
id: string;
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
|
|
2837
|
+
type: "oauth";
|
|
2838
|
+
label: string;
|
|
2839
|
+
form?: FormFields;
|
|
2840
|
+
};
|
|
2841
|
+
export type IntegrationKeyMethod = {
|
|
2842
|
+
type: "key";
|
|
2843
|
+
label?: string;
|
|
2844
|
+
form?: FormFields;
|
|
2945
2845
|
};
|
|
2946
2846
|
export type FormInfo = {
|
|
2947
2847
|
id: string;
|
|
@@ -2950,101 +2850,12 @@ export type FormInfo = {
|
|
|
2950
2850
|
metadata?: FormMetadata;
|
|
2951
2851
|
fields: FormFields;
|
|
2952
2852
|
};
|
|
2953
|
-
export type SessionCreated = {
|
|
2954
|
-
id: string;
|
|
2955
|
-
created: number;
|
|
2956
|
-
metadata?: {
|
|
2957
|
-
[x: string]: any;
|
|
2958
|
-
};
|
|
2959
|
-
type: "session.created";
|
|
2960
|
-
durable: {
|
|
2961
|
-
aggregateID: string;
|
|
2962
|
-
seq: number;
|
|
2963
|
-
version: 1;
|
|
2964
|
-
};
|
|
2965
|
-
location?: LocationRef;
|
|
2966
|
-
data: {
|
|
2967
|
-
sessionID: string;
|
|
2968
|
-
info: SessionV1Info;
|
|
2969
|
-
};
|
|
2970
|
-
};
|
|
2971
|
-
export type SessionUpdated = {
|
|
2972
|
-
id: string;
|
|
2973
|
-
created: number;
|
|
2974
|
-
metadata?: {
|
|
2975
|
-
[x: string]: any;
|
|
2976
|
-
};
|
|
2977
|
-
type: "session.updated";
|
|
2978
|
-
durable: {
|
|
2979
|
-
aggregateID: string;
|
|
2980
|
-
seq: number;
|
|
2981
|
-
version: 1;
|
|
2982
|
-
};
|
|
2983
|
-
location?: LocationRef;
|
|
2984
|
-
data: {
|
|
2985
|
-
sessionID: string;
|
|
2986
|
-
info: SessionV1Info;
|
|
2987
|
-
};
|
|
2988
|
-
};
|
|
2989
|
-
export type SessionDeleted1 = {
|
|
2990
|
-
id: string;
|
|
2991
|
-
created: number;
|
|
2992
|
-
metadata?: {
|
|
2993
|
-
[x: string]: any;
|
|
2994
|
-
};
|
|
2995
|
-
type: "session.deleted";
|
|
2996
|
-
durable: {
|
|
2997
|
-
aggregateID: string;
|
|
2998
|
-
seq: number;
|
|
2999
|
-
version: 1;
|
|
3000
|
-
};
|
|
3001
|
-
location?: LocationRef;
|
|
3002
|
-
data: {
|
|
3003
|
-
sessionID: string;
|
|
3004
|
-
info: SessionV1Info;
|
|
3005
|
-
};
|
|
3006
|
-
};
|
|
3007
|
-
export type MessageUpdated = {
|
|
3008
|
-
id: string;
|
|
3009
|
-
created: number;
|
|
3010
|
-
metadata?: {
|
|
3011
|
-
[x: string]: any;
|
|
3012
|
-
};
|
|
3013
|
-
type: "message.updated";
|
|
3014
|
-
durable: {
|
|
3015
|
-
aggregateID: string;
|
|
3016
|
-
seq: number;
|
|
3017
|
-
version: 1;
|
|
3018
|
-
};
|
|
3019
|
-
location?: LocationRef;
|
|
3020
|
-
data: {
|
|
3021
|
-
sessionID: string;
|
|
3022
|
-
info: SessionV1Message;
|
|
3023
|
-
};
|
|
3024
|
-
};
|
|
3025
|
-
export type SessionV1ToolStateCompleted = {
|
|
3026
|
-
status: "completed";
|
|
3027
|
-
input: {
|
|
3028
|
-
[x: string]: any;
|
|
3029
|
-
};
|
|
3030
|
-
output: string;
|
|
3031
|
-
title: string;
|
|
3032
|
-
metadata: {
|
|
3033
|
-
[x: string]: any;
|
|
3034
|
-
};
|
|
3035
|
-
time: {
|
|
3036
|
-
start: number;
|
|
3037
|
-
end: number;
|
|
3038
|
-
compacted?: number | undefined;
|
|
3039
|
-
};
|
|
3040
|
-
attachments?: Array<SessionV1FilePart> | undefined;
|
|
3041
|
-
};
|
|
3042
2853
|
export type FormInfo1 = {
|
|
3043
2854
|
id: string;
|
|
3044
2855
|
sessionID: string;
|
|
3045
2856
|
title: string;
|
|
3046
2857
|
metadata?: FormMetadata1;
|
|
3047
|
-
fields:
|
|
2858
|
+
fields: FormFields3;
|
|
3048
2859
|
};
|
|
3049
2860
|
export type SessionInputAdmitted = {
|
|
3050
2861
|
id: string;
|
|
@@ -3066,7 +2877,7 @@ export type SessionInputAdmitted = {
|
|
|
3066
2877
|
};
|
|
3067
2878
|
};
|
|
3068
2879
|
export type SessionMessageInfo = SessionMessageAgentSelected | SessionMessageModelSelected | SessionMessageUser | SessionMessageSynthetic | SessionMessageSystem | SessionMessageSkill | SessionMessageShell | SessionMessageAssistant | SessionMessageCompaction;
|
|
3069
|
-
export type
|
|
2880
|
+
export type IntegrationMethod = IntegrationOAuthMethod | IntegrationCommandMethod | IntegrationKeyMethod | IntegrationEnvMethod;
|
|
3070
2881
|
export type FormCreated = {
|
|
3071
2882
|
id: string;
|
|
3072
2883
|
created: number;
|
|
@@ -3079,7 +2890,11 @@ export type FormCreated = {
|
|
|
3079
2890
|
form: FormInfo1;
|
|
3080
2891
|
};
|
|
3081
2892
|
};
|
|
3082
|
-
export type SessionEventDurable = SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed | SessionDeleted | SessionForked | SessionInputPromoted | SessionInputAdmitted | SessionExecutionStarted | SessionExecutionSucceeded | SessionExecutionFailed | SessionExecutionInterrupted | SessionInstructionsUpdated | SessionSynthetic | SessionSkillActivated | SessionShellStarted | SessionShellEnded | SessionStepStarted | SessionStepEnded | SessionStepFailed | SessionTextStarted | SessionTextEnded | SessionReasoningStarted | SessionReasoningEnded | SessionStructuredCompleted | SessionStructuredFailed | SessionToolInputStarted | SessionToolInputEnded | SessionToolCalled | SessionToolSuccess | SessionToolFailed | SessionRetryScheduled | SessionCompactionAdmitted | SessionCompactionStarted | SessionCompactionEnded | SessionCompactionFailed | SessionRevertStaged | SessionRevertCleared | SessionRevertCommitted | SessionUsageRecorded;
|
|
2893
|
+
export type SessionEventDurable = SessionCreated | SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed | SessionDeleted | SessionForked | SessionInputPromoted | SessionInputAdmitted | SessionInputCancelled | SessionInputSteered | SessionInputQueued | SessionExecutionStarted | SessionExecutionSucceeded | SessionExecutionFailed | SessionExecutionInterrupted | SessionInstructionsUpdated | SessionSynthetic | SessionSkillActivated | SessionShellStarted | SessionShellEnded | SessionStepStarted | SessionStepEnded | SessionStepFailed | SessionTextStarted | SessionTextEnded | SessionReasoningStarted | SessionReasoningEnded | SessionStructuredCompleted | SessionStructuredFailed | SessionToolInputStarted | SessionToolInputEnded | SessionToolCalled | SessionToolSuccess | SessionToolFailed | SessionRetryScheduled | SessionCompactionAdmitted | SessionCompactionStarted | SessionCompactionEnded | SessionCompactionFailed | SessionRevertStaged | SessionRevertCleared | SessionRevertCommitted | SessionUsageRecorded;
|
|
2894
|
+
export type SessionTransferData = {
|
|
2895
|
+
info: SessionInfo;
|
|
2896
|
+
messages: Array<SessionMessageInfo>;
|
|
2897
|
+
};
|
|
3083
2898
|
export type SessionMessagesResponse = {
|
|
3084
2899
|
data: Array<SessionMessageInfo>;
|
|
3085
2900
|
cursor: {
|
|
@@ -3087,40 +2902,14 @@ export type SessionMessagesResponse = {
|
|
|
3087
2902
|
next?: string | null;
|
|
3088
2903
|
};
|
|
3089
2904
|
};
|
|
3090
|
-
export type
|
|
2905
|
+
export type IntegrationInfo = {
|
|
3091
2906
|
id: string;
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
callID: string;
|
|
3096
|
-
tool: string;
|
|
3097
|
-
state: SessionV1ToolState;
|
|
3098
|
-
metadata?: {
|
|
3099
|
-
[x: string]: any;
|
|
3100
|
-
} | undefined;
|
|
2907
|
+
name: string;
|
|
2908
|
+
methods: Array<IntegrationMethod>;
|
|
2909
|
+
connections: Array<ConnectionInfo>;
|
|
3101
2910
|
};
|
|
2911
|
+
export type V2Event = ModelsDevRefreshed | IntegrationUpdated | IntegrationConnectionUpdated | CatalogUpdated | AgentUpdated | SessionCreated | SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed | SessionUsageUpdated | SessionDeleted | SessionForked | SessionInputPromoted | SessionInputAdmitted | SessionInputCancelled | SessionInputSteered | SessionInputQueued | SessionExecutionStarted | SessionExecutionSucceeded | SessionExecutionFailed | SessionExecutionInterrupted | SessionInstructionsUpdated | SessionSynthetic | SessionSkillActivated | SessionShellStarted | SessionShellEnded | SessionStepStarted | SessionStepEnded | SessionStepFailed | SessionTextStarted | SessionTextDelta | SessionTextEnded | SessionReasoningStarted | SessionReasoningDelta | SessionReasoningEnded | SessionStructuredCompleted | SessionStructuredFailed | SessionToolInputStarted | SessionToolInputDelta | SessionToolInputEnded | SessionToolCalled | SessionToolProgress | SessionToolSuccess | SessionToolFailed | SessionRetryScheduled | SessionCompactionAdmitted | SessionCompactionStarted | SessionCompactionDelta | SessionCompactionEnded | SessionCompactionFailed | SessionRevertStaged | SessionRevertCleared | SessionRevertCommitted | FilesystemChanged | ReferenceUpdated | PermissionAsked | PermissionReplied | PluginAdded | PluginUpdated | ProjectDirectoriesUpdated | CommandUpdated | ConfigUpdated | SkillUpdated | PtyCreated | PtyUpdated | PtyExited | PtyDeleted | ShellCreated | ShellExited | ShellDeleted | QuestionAsked | QuestionReplied | QuestionRejected | FormCreated | FormReplied | FormCancelled | WebsearchUpdated | SessionStatus2 | SessionIdle | TuiPromptAppend | TuiCommandExecute | TuiToastShow | TuiSessionSelect | InstallationUpdated | InstallationUpdateAvailable | VcsBranchUpdated | McpStatusChanged | McpResourcesChanged | V2EventServerConnected;
|
|
3102
2912
|
export type SessionLogItem = SessionEventDurable | EventLogSynced;
|
|
3103
|
-
export type SessionV1Part = SessionV1TextPart | SessionV1SubtaskPart | SessionV1ReasoningPart | SessionV1FilePart | SessionV1ToolPart | SessionV1StepStartPart | SessionV1StepFinishPart | SessionV1SnapshotPart | SessionV1PatchPart | SessionV1AgentPart | SessionV1RetryPart | SessionV1CompactionPart;
|
|
3104
|
-
export type MessagePartUpdated = {
|
|
3105
|
-
id: string;
|
|
3106
|
-
created: number;
|
|
3107
|
-
metadata?: {
|
|
3108
|
-
[x: string]: any;
|
|
3109
|
-
};
|
|
3110
|
-
type: "message.part.updated";
|
|
3111
|
-
durable: {
|
|
3112
|
-
aggregateID: string;
|
|
3113
|
-
seq: number;
|
|
3114
|
-
version: 1;
|
|
3115
|
-
};
|
|
3116
|
-
location?: LocationRef;
|
|
3117
|
-
data: {
|
|
3118
|
-
sessionID: string;
|
|
3119
|
-
part: SessionV1Part;
|
|
3120
|
-
time: number;
|
|
3121
|
-
};
|
|
3122
|
-
};
|
|
3123
|
-
export type V2Event = ModelsDevRefreshed | IntegrationUpdated | IntegrationConnectionUpdated | CatalogUpdated | AgentUpdated | SessionCreated | SessionUpdated | SessionDeleted1 | MessageUpdated | MessageRemoved | MessagePartUpdated | MessagePartRemoved | SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed | SessionUsageUpdated | SessionDeleted | SessionForked | SessionInputPromoted | SessionInputAdmitted | SessionExecutionStarted | SessionExecutionSucceeded | SessionExecutionFailed | SessionExecutionInterrupted | SessionInstructionsUpdated | SessionSynthetic | SessionSkillActivated | SessionShellStarted | SessionShellEnded | SessionStepStarted | SessionStepEnded | SessionStepFailed | SessionTextStarted | SessionTextDelta | SessionTextEnded | SessionReasoningStarted | SessionReasoningDelta | SessionReasoningEnded | SessionStructuredCompleted | SessionStructuredFailed | SessionToolInputStarted | SessionToolInputDelta | SessionToolInputEnded | SessionToolCalled | SessionToolProgress | SessionToolSuccess | SessionToolFailed | SessionRetryScheduled | SessionCompactionAdmitted | SessionCompactionStarted | SessionCompactionDelta | SessionCompactionEnded | SessionCompactionFailed | SessionRevertStaged | SessionRevertCleared | SessionRevertCommitted | FilesystemChanged | ReferenceUpdated | PermissionAsked | PermissionReplied | PluginAdded | PluginUpdated | ProjectDirectoriesUpdated | CommandUpdated | ConfigUpdated | SkillUpdated | PtyCreated | PtyUpdated | PtyExited | PtyDeleted | ShellCreated | ShellExited | ShellDeleted | QuestionAsked | QuestionReplied | QuestionRejected | FormCreated | FormReplied | FormCancelled | WebsearchUpdated | SessionStatus2 | SessionIdle | TuiPromptAppend | TuiCommandExecute | TuiToastShow | TuiSessionSelect | InstallationUpdated | InstallationUpdateAvailable | VcsBranchUpdated | McpStatusChanged | McpResourcesChanged | SessionError | V2EventServerConnected;
|
|
3124
2913
|
export type UnauthorizedError = {
|
|
3125
2914
|
readonly _tag: "UnauthorizedError";
|
|
3126
2915
|
readonly message: string;
|
|
@@ -3144,12 +2933,24 @@ export type InvalidCursorError = {
|
|
|
3144
2933
|
readonly message: string;
|
|
3145
2934
|
};
|
|
3146
2935
|
export declare const isInvalidCursorError: (value: unknown) => value is InvalidCursorError;
|
|
2936
|
+
export type ConflictError = {
|
|
2937
|
+
readonly _tag: "ConflictError";
|
|
2938
|
+
readonly message: string;
|
|
2939
|
+
readonly resource?: string | undefined;
|
|
2940
|
+
};
|
|
2941
|
+
export declare const isConflictError: (value: unknown) => value is ConflictError;
|
|
3147
2942
|
export type SessionNotFoundError = {
|
|
3148
2943
|
readonly _tag: "SessionNotFoundError";
|
|
3149
2944
|
readonly sessionID: string;
|
|
3150
2945
|
readonly message: string;
|
|
3151
2946
|
};
|
|
3152
2947
|
export declare const isSessionNotFoundError: (value: unknown) => value is SessionNotFoundError;
|
|
2948
|
+
export type UnknownError = {
|
|
2949
|
+
readonly _tag: "UnknownError";
|
|
2950
|
+
readonly message: string;
|
|
2951
|
+
readonly ref?: string | undefined;
|
|
2952
|
+
};
|
|
2953
|
+
export declare const isUnknownError: (value: unknown) => value is UnknownError;
|
|
3153
2954
|
export type MessageNotFoundError = {
|
|
3154
2955
|
readonly _tag: "MessageNotFoundError";
|
|
3155
2956
|
readonly sessionID: string;
|
|
@@ -3157,12 +2958,6 @@ export type MessageNotFoundError = {
|
|
|
3157
2958
|
readonly message: string;
|
|
3158
2959
|
};
|
|
3159
2960
|
export declare const isMessageNotFoundError: (value: unknown) => value is MessageNotFoundError;
|
|
3160
|
-
export type ConflictError = {
|
|
3161
|
-
readonly _tag: "ConflictError";
|
|
3162
|
-
readonly message: string;
|
|
3163
|
-
readonly resource?: string | undefined;
|
|
3164
|
-
};
|
|
3165
|
-
export declare const isConflictError: (value: unknown) => value is ConflictError;
|
|
3166
2961
|
export type CommandNotFoundError = {
|
|
3167
2962
|
readonly _tag: "CommandNotFoundError";
|
|
3168
2963
|
readonly command: string;
|
|
@@ -3193,12 +2988,6 @@ export type SessionBusyError = {
|
|
|
3193
2988
|
readonly message: string;
|
|
3194
2989
|
};
|
|
3195
2990
|
export declare const isSessionBusyError: (value: unknown) => value is SessionBusyError;
|
|
3196
|
-
export type UnknownError = {
|
|
3197
|
-
readonly _tag: "UnknownError";
|
|
3198
|
-
readonly message: string;
|
|
3199
|
-
readonly ref?: string | undefined;
|
|
3200
|
-
};
|
|
3201
|
-
export declare const isUnknownError: (value: unknown) => value is UnknownError;
|
|
3202
2991
|
export type InstructionEntryValueTooLargeError = {
|
|
3203
2992
|
readonly _tag: "InstructionEntryValueTooLargeError";
|
|
3204
2993
|
readonly actualBytes: number;
|
|
@@ -3579,22 +3368,1229 @@ export type SessionCreateInput = {
|
|
|
3579
3368
|
export type SessionCreateOutput = {
|
|
3580
3369
|
data: SessionInfo;
|
|
3581
3370
|
}["data"];
|
|
3582
|
-
export type
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3371
|
+
export type SessionImportInput = {
|
|
3372
|
+
readonly info: {
|
|
3373
|
+
readonly info: {
|
|
3374
|
+
readonly id: string;
|
|
3375
|
+
readonly parentID?: string;
|
|
3376
|
+
readonly fork?: {
|
|
3377
|
+
readonly sessionID: string;
|
|
3378
|
+
readonly boundary: {
|
|
3379
|
+
readonly type: "before";
|
|
3380
|
+
readonly messageID: string;
|
|
3381
|
+
} | {
|
|
3382
|
+
readonly type: "through";
|
|
3383
|
+
readonly messageID: string;
|
|
3384
|
+
};
|
|
3385
|
+
};
|
|
3386
|
+
readonly projectID: string;
|
|
3387
|
+
readonly agent?: string;
|
|
3388
|
+
readonly model?: {
|
|
3389
|
+
readonly id: string;
|
|
3390
|
+
readonly providerID: string;
|
|
3391
|
+
readonly variant?: string;
|
|
3392
|
+
};
|
|
3393
|
+
readonly cost: number;
|
|
3394
|
+
readonly tokens: {
|
|
3395
|
+
readonly input: number;
|
|
3396
|
+
readonly output: number;
|
|
3397
|
+
readonly reasoning: number;
|
|
3398
|
+
readonly cache: {
|
|
3399
|
+
readonly read: number;
|
|
3400
|
+
readonly write: number;
|
|
3401
|
+
};
|
|
3402
|
+
};
|
|
3403
|
+
readonly time: {
|
|
3404
|
+
readonly created: number;
|
|
3405
|
+
readonly updated: number;
|
|
3406
|
+
readonly archived?: number;
|
|
3407
|
+
};
|
|
3408
|
+
readonly title?: string;
|
|
3409
|
+
readonly location: {
|
|
3410
|
+
readonly directory: string;
|
|
3411
|
+
readonly workspaceID?: string;
|
|
3412
|
+
};
|
|
3413
|
+
readonly subpath?: string;
|
|
3414
|
+
readonly revert?: {
|
|
3415
|
+
readonly messageID: string;
|
|
3416
|
+
readonly partID?: string;
|
|
3417
|
+
readonly snapshot?: string;
|
|
3418
|
+
readonly files?: ReadonlyArray<{
|
|
3419
|
+
readonly file: string;
|
|
3420
|
+
readonly patch: string;
|
|
3421
|
+
readonly additions: number;
|
|
3422
|
+
readonly deletions: number;
|
|
3423
|
+
readonly status: "added" | "deleted" | "modified";
|
|
3424
|
+
}>;
|
|
3425
|
+
};
|
|
3426
|
+
readonly policy?: {
|
|
3427
|
+
readonly tools: {
|
|
3428
|
+
readonly allow: ReadonlyArray<string>;
|
|
3429
|
+
};
|
|
3430
|
+
};
|
|
3431
|
+
};
|
|
3432
|
+
readonly messages: ReadonlyArray<{
|
|
3433
|
+
readonly id: string;
|
|
3434
|
+
readonly metadata?: {
|
|
3435
|
+
readonly [x: string]: JsonValue;
|
|
3436
|
+
};
|
|
3437
|
+
readonly time: {
|
|
3438
|
+
readonly created: number;
|
|
3439
|
+
};
|
|
3440
|
+
readonly type: "agent-switched";
|
|
3441
|
+
readonly agent: string;
|
|
3442
|
+
} | {
|
|
3443
|
+
readonly id: string;
|
|
3444
|
+
readonly metadata?: {
|
|
3445
|
+
readonly [x: string]: JsonValue;
|
|
3446
|
+
};
|
|
3447
|
+
readonly time: {
|
|
3448
|
+
readonly created: number;
|
|
3449
|
+
};
|
|
3450
|
+
readonly type: "model-switched";
|
|
3451
|
+
readonly model: {
|
|
3452
|
+
readonly id: string;
|
|
3453
|
+
readonly providerID: string;
|
|
3454
|
+
readonly variant?: string;
|
|
3455
|
+
};
|
|
3456
|
+
readonly previous?: {
|
|
3457
|
+
readonly id: string;
|
|
3458
|
+
readonly providerID: string;
|
|
3459
|
+
readonly variant?: string;
|
|
3460
|
+
};
|
|
3461
|
+
} | {
|
|
3462
|
+
readonly id: string;
|
|
3463
|
+
readonly metadata?: {
|
|
3464
|
+
readonly [x: string]: JsonValue;
|
|
3465
|
+
};
|
|
3466
|
+
readonly time: {
|
|
3467
|
+
readonly created: number;
|
|
3468
|
+
};
|
|
3469
|
+
readonly text: string;
|
|
3470
|
+
readonly files?: ReadonlyArray<{
|
|
3471
|
+
readonly data: string;
|
|
3472
|
+
readonly mime: string;
|
|
3473
|
+
readonly source: {
|
|
3474
|
+
readonly type: "inline";
|
|
3475
|
+
} | {
|
|
3476
|
+
readonly type: "uri";
|
|
3477
|
+
readonly uri: string;
|
|
3478
|
+
};
|
|
3479
|
+
readonly name?: string;
|
|
3480
|
+
readonly description?: string;
|
|
3481
|
+
readonly mention?: {
|
|
3482
|
+
readonly start: number;
|
|
3483
|
+
readonly end: number;
|
|
3484
|
+
readonly text: string;
|
|
3485
|
+
};
|
|
3486
|
+
}>;
|
|
3487
|
+
readonly agents?: ReadonlyArray<{
|
|
3488
|
+
readonly name: string;
|
|
3489
|
+
readonly mention?: {
|
|
3490
|
+
readonly start: number;
|
|
3491
|
+
readonly end: number;
|
|
3492
|
+
readonly text: string;
|
|
3493
|
+
};
|
|
3494
|
+
}>;
|
|
3495
|
+
readonly output?: {
|
|
3496
|
+
readonly schema: {
|
|
3497
|
+
readonly [x: string]: JsonValue;
|
|
3498
|
+
};
|
|
3499
|
+
readonly name?: string;
|
|
3500
|
+
readonly description?: string;
|
|
3501
|
+
};
|
|
3502
|
+
readonly skills?: ReadonlyArray<{
|
|
3503
|
+
readonly id: string;
|
|
3504
|
+
readonly name: string;
|
|
3505
|
+
readonly text: string;
|
|
3506
|
+
readonly mention?: {
|
|
3507
|
+
readonly start: number;
|
|
3508
|
+
readonly end: number;
|
|
3509
|
+
readonly text: string;
|
|
3510
|
+
};
|
|
3511
|
+
}>;
|
|
3512
|
+
readonly type: "user";
|
|
3513
|
+
} | {
|
|
3514
|
+
readonly id: string;
|
|
3515
|
+
readonly metadata?: {
|
|
3516
|
+
readonly [x: string]: JsonValue;
|
|
3517
|
+
};
|
|
3518
|
+
readonly time: {
|
|
3519
|
+
readonly created: number;
|
|
3520
|
+
};
|
|
3521
|
+
readonly text: string;
|
|
3522
|
+
readonly description?: string;
|
|
3523
|
+
readonly type: "synthetic";
|
|
3524
|
+
} | {
|
|
3525
|
+
readonly id: string;
|
|
3526
|
+
readonly metadata?: {
|
|
3527
|
+
readonly [x: string]: JsonValue;
|
|
3528
|
+
};
|
|
3529
|
+
readonly time: {
|
|
3530
|
+
readonly created: number;
|
|
3531
|
+
};
|
|
3532
|
+
readonly type: "system";
|
|
3533
|
+
readonly text: string;
|
|
3534
|
+
} | {
|
|
3535
|
+
readonly id: string;
|
|
3536
|
+
readonly metadata?: {
|
|
3537
|
+
readonly [x: string]: JsonValue;
|
|
3538
|
+
};
|
|
3539
|
+
readonly time: {
|
|
3540
|
+
readonly created: number;
|
|
3541
|
+
};
|
|
3542
|
+
readonly type: "skill";
|
|
3543
|
+
readonly skill: string;
|
|
3544
|
+
readonly name: string;
|
|
3545
|
+
readonly text: string;
|
|
3546
|
+
} | {
|
|
3547
|
+
readonly id: string;
|
|
3548
|
+
readonly metadata?: {
|
|
3549
|
+
readonly [x: string]: JsonValue;
|
|
3550
|
+
};
|
|
3551
|
+
readonly time: {
|
|
3552
|
+
readonly created: number;
|
|
3553
|
+
readonly completed?: number;
|
|
3554
|
+
};
|
|
3555
|
+
readonly type: "shell";
|
|
3556
|
+
readonly shellID: string;
|
|
3557
|
+
readonly command: string;
|
|
3558
|
+
readonly status: "running" | "exited" | "timeout" | "killed";
|
|
3559
|
+
readonly exit?: number | "Infinity" | "-Infinity" | "NaN";
|
|
3560
|
+
readonly output?: {
|
|
3561
|
+
readonly output: string;
|
|
3562
|
+
readonly cursor: number;
|
|
3563
|
+
readonly size: number;
|
|
3564
|
+
readonly truncated: boolean;
|
|
3565
|
+
};
|
|
3566
|
+
} | {
|
|
3567
|
+
readonly id: string;
|
|
3568
|
+
readonly metadata?: {
|
|
3569
|
+
readonly [x: string]: JsonValue;
|
|
3570
|
+
};
|
|
3571
|
+
readonly time: {
|
|
3572
|
+
readonly created: number;
|
|
3573
|
+
readonly completed?: number;
|
|
3574
|
+
};
|
|
3575
|
+
readonly type: "assistant";
|
|
3576
|
+
readonly agent: string;
|
|
3577
|
+
readonly model: {
|
|
3578
|
+
readonly id: string;
|
|
3579
|
+
readonly providerID: string;
|
|
3580
|
+
readonly variant?: string;
|
|
3581
|
+
};
|
|
3582
|
+
readonly content: ReadonlyArray<{
|
|
3583
|
+
readonly type: "text";
|
|
3584
|
+
readonly text: string;
|
|
3585
|
+
readonly state?: {
|
|
3586
|
+
readonly [x: string]: JsonValue;
|
|
3587
|
+
};
|
|
3588
|
+
} | {
|
|
3589
|
+
readonly type: "reasoning";
|
|
3590
|
+
readonly text: string;
|
|
3591
|
+
readonly state?: {
|
|
3592
|
+
readonly [x: string]: JsonValue;
|
|
3593
|
+
};
|
|
3594
|
+
readonly time?: {
|
|
3595
|
+
readonly created: number;
|
|
3596
|
+
readonly completed?: number;
|
|
3597
|
+
};
|
|
3598
|
+
} | {
|
|
3599
|
+
readonly type: "tool";
|
|
3600
|
+
readonly id: string;
|
|
3601
|
+
readonly name: string;
|
|
3602
|
+
readonly executed?: boolean;
|
|
3603
|
+
readonly providerState?: {
|
|
3604
|
+
readonly [x: string]: JsonValue;
|
|
3605
|
+
};
|
|
3606
|
+
readonly providerResultState?: {
|
|
3607
|
+
readonly [x: string]: JsonValue;
|
|
3608
|
+
};
|
|
3609
|
+
readonly state: {
|
|
3610
|
+
readonly status: "streaming";
|
|
3611
|
+
readonly input: string;
|
|
3612
|
+
} | {
|
|
3613
|
+
readonly status: "running";
|
|
3614
|
+
readonly input: {
|
|
3615
|
+
readonly [x: string]: JsonValue;
|
|
3616
|
+
};
|
|
3617
|
+
readonly metadata: {
|
|
3618
|
+
readonly [x: string]: JsonValue;
|
|
3619
|
+
};
|
|
3620
|
+
} | {
|
|
3621
|
+
readonly status: "completed";
|
|
3622
|
+
readonly input: {
|
|
3623
|
+
readonly [x: string]: JsonValue;
|
|
3624
|
+
};
|
|
3625
|
+
readonly content: readonly [
|
|
3626
|
+
({
|
|
3627
|
+
readonly type: "text";
|
|
3628
|
+
readonly text: string;
|
|
3629
|
+
} | {
|
|
3630
|
+
readonly type: "file";
|
|
3631
|
+
readonly uri: string;
|
|
3632
|
+
readonly mime: string;
|
|
3633
|
+
readonly name?: string | null;
|
|
3634
|
+
}),
|
|
3635
|
+
...Array<{
|
|
3636
|
+
readonly type: "text";
|
|
3637
|
+
readonly text: string;
|
|
3638
|
+
} | {
|
|
3639
|
+
readonly type: "file";
|
|
3640
|
+
readonly uri: string;
|
|
3641
|
+
readonly mime: string;
|
|
3642
|
+
readonly name?: string | null;
|
|
3643
|
+
}>
|
|
3644
|
+
];
|
|
3645
|
+
readonly metadata?: {
|
|
3646
|
+
readonly [x: string]: JsonValue;
|
|
3647
|
+
};
|
|
3648
|
+
} | {
|
|
3649
|
+
readonly status: "error";
|
|
3650
|
+
readonly input: {
|
|
3651
|
+
readonly [x: string]: JsonValue;
|
|
3652
|
+
};
|
|
3653
|
+
readonly error: {
|
|
3654
|
+
readonly type: string;
|
|
3655
|
+
readonly message: string;
|
|
3656
|
+
readonly status?: number;
|
|
3657
|
+
};
|
|
3658
|
+
readonly content?: readonly [
|
|
3659
|
+
({
|
|
3660
|
+
readonly type: "text";
|
|
3661
|
+
readonly text: string;
|
|
3662
|
+
} | {
|
|
3663
|
+
readonly type: "file";
|
|
3664
|
+
readonly uri: string;
|
|
3665
|
+
readonly mime: string;
|
|
3666
|
+
readonly name?: string | null;
|
|
3667
|
+
}),
|
|
3668
|
+
...Array<{
|
|
3669
|
+
readonly type: "text";
|
|
3670
|
+
readonly text: string;
|
|
3671
|
+
} | {
|
|
3672
|
+
readonly type: "file";
|
|
3673
|
+
readonly uri: string;
|
|
3674
|
+
readonly mime: string;
|
|
3675
|
+
readonly name?: string | null;
|
|
3676
|
+
}>
|
|
3677
|
+
];
|
|
3678
|
+
readonly metadata?: {
|
|
3679
|
+
readonly [x: string]: JsonValue;
|
|
3680
|
+
};
|
|
3681
|
+
};
|
|
3682
|
+
readonly time: {
|
|
3683
|
+
readonly created: number;
|
|
3684
|
+
readonly ran?: number;
|
|
3685
|
+
readonly completed?: number;
|
|
3686
|
+
};
|
|
3687
|
+
} | {
|
|
3688
|
+
readonly type: "structured";
|
|
3689
|
+
readonly value: JsonValue;
|
|
3690
|
+
}>;
|
|
3691
|
+
readonly snapshot?: {
|
|
3692
|
+
readonly start?: string;
|
|
3693
|
+
readonly end?: string;
|
|
3694
|
+
readonly files?: ReadonlyArray<string>;
|
|
3695
|
+
};
|
|
3696
|
+
readonly finish?: "stop" | "length" | "tool-calls" | "content-filter" | "error" | "unknown";
|
|
3697
|
+
readonly cost?: number;
|
|
3698
|
+
readonly tokens?: {
|
|
3699
|
+
readonly input: number;
|
|
3700
|
+
readonly output: number;
|
|
3701
|
+
readonly reasoning: number;
|
|
3702
|
+
readonly cache: {
|
|
3703
|
+
readonly read: number;
|
|
3704
|
+
readonly write: number;
|
|
3705
|
+
};
|
|
3706
|
+
};
|
|
3707
|
+
readonly error?: {
|
|
3708
|
+
readonly type: string;
|
|
3709
|
+
readonly message: string;
|
|
3710
|
+
readonly status?: number;
|
|
3711
|
+
};
|
|
3712
|
+
readonly retry?: {
|
|
3713
|
+
readonly attempt: number;
|
|
3714
|
+
readonly at: number;
|
|
3715
|
+
readonly error: {
|
|
3716
|
+
readonly type: string;
|
|
3717
|
+
readonly message: string;
|
|
3718
|
+
readonly status?: number;
|
|
3719
|
+
};
|
|
3720
|
+
};
|
|
3721
|
+
} | ({
|
|
3722
|
+
readonly type: "compaction";
|
|
3723
|
+
readonly id: string;
|
|
3724
|
+
readonly metadata?: {
|
|
3725
|
+
readonly [x: string]: JsonValue;
|
|
3726
|
+
};
|
|
3727
|
+
readonly time: {
|
|
3728
|
+
readonly created: number;
|
|
3729
|
+
};
|
|
3730
|
+
readonly status: "running";
|
|
3731
|
+
readonly reason: "auto" | "manual";
|
|
3732
|
+
readonly summary: string;
|
|
3733
|
+
readonly recent: string;
|
|
3734
|
+
} | {
|
|
3735
|
+
readonly type: "compaction";
|
|
3736
|
+
readonly id: string;
|
|
3737
|
+
readonly metadata?: {
|
|
3738
|
+
readonly [x: string]: JsonValue;
|
|
3739
|
+
};
|
|
3740
|
+
readonly time: {
|
|
3741
|
+
readonly created: number;
|
|
3742
|
+
};
|
|
3743
|
+
readonly status: "completed";
|
|
3744
|
+
readonly reason: "auto" | "manual";
|
|
3745
|
+
readonly summary: string;
|
|
3746
|
+
readonly recent: string;
|
|
3747
|
+
} | {
|
|
3748
|
+
readonly type: "compaction";
|
|
3749
|
+
readonly id: string;
|
|
3750
|
+
readonly metadata?: {
|
|
3751
|
+
readonly [x: string]: JsonValue;
|
|
3752
|
+
};
|
|
3753
|
+
readonly time: {
|
|
3754
|
+
readonly created: number;
|
|
3755
|
+
};
|
|
3756
|
+
readonly status: "failed";
|
|
3757
|
+
readonly reason: "auto" | "manual";
|
|
3758
|
+
readonly error: {
|
|
3759
|
+
readonly type: string;
|
|
3760
|
+
readonly message: string;
|
|
3761
|
+
readonly status?: number;
|
|
3762
|
+
};
|
|
3763
|
+
})>;
|
|
3764
|
+
readonly location?: {
|
|
3765
|
+
readonly directory: string;
|
|
3766
|
+
readonly workspaceID?: string;
|
|
3767
|
+
} | null;
|
|
3768
|
+
}["info"];
|
|
3769
|
+
readonly messages: {
|
|
3770
|
+
readonly info: {
|
|
3771
|
+
readonly id: string;
|
|
3772
|
+
readonly parentID?: string;
|
|
3773
|
+
readonly fork?: {
|
|
3774
|
+
readonly sessionID: string;
|
|
3775
|
+
readonly boundary: {
|
|
3776
|
+
readonly type: "before";
|
|
3777
|
+
readonly messageID: string;
|
|
3778
|
+
} | {
|
|
3779
|
+
readonly type: "through";
|
|
3780
|
+
readonly messageID: string;
|
|
3781
|
+
};
|
|
3782
|
+
};
|
|
3783
|
+
readonly projectID: string;
|
|
3784
|
+
readonly agent?: string;
|
|
3785
|
+
readonly model?: {
|
|
3786
|
+
readonly id: string;
|
|
3787
|
+
readonly providerID: string;
|
|
3788
|
+
readonly variant?: string;
|
|
3789
|
+
};
|
|
3790
|
+
readonly cost: number;
|
|
3791
|
+
readonly tokens: {
|
|
3792
|
+
readonly input: number;
|
|
3793
|
+
readonly output: number;
|
|
3794
|
+
readonly reasoning: number;
|
|
3795
|
+
readonly cache: {
|
|
3796
|
+
readonly read: number;
|
|
3797
|
+
readonly write: number;
|
|
3798
|
+
};
|
|
3799
|
+
};
|
|
3800
|
+
readonly time: {
|
|
3801
|
+
readonly created: number;
|
|
3802
|
+
readonly updated: number;
|
|
3803
|
+
readonly archived?: number;
|
|
3804
|
+
};
|
|
3805
|
+
readonly title?: string;
|
|
3806
|
+
readonly location: {
|
|
3807
|
+
readonly directory: string;
|
|
3808
|
+
readonly workspaceID?: string;
|
|
3809
|
+
};
|
|
3810
|
+
readonly subpath?: string;
|
|
3811
|
+
readonly revert?: {
|
|
3812
|
+
readonly messageID: string;
|
|
3813
|
+
readonly partID?: string;
|
|
3814
|
+
readonly snapshot?: string;
|
|
3815
|
+
readonly files?: ReadonlyArray<{
|
|
3816
|
+
readonly file: string;
|
|
3817
|
+
readonly patch: string;
|
|
3818
|
+
readonly additions: number;
|
|
3819
|
+
readonly deletions: number;
|
|
3820
|
+
readonly status: "added" | "deleted" | "modified";
|
|
3821
|
+
}>;
|
|
3822
|
+
};
|
|
3823
|
+
readonly policy?: {
|
|
3824
|
+
readonly tools: {
|
|
3825
|
+
readonly allow: ReadonlyArray<string>;
|
|
3826
|
+
};
|
|
3827
|
+
};
|
|
3828
|
+
};
|
|
3829
|
+
readonly messages: ReadonlyArray<{
|
|
3830
|
+
readonly id: string;
|
|
3831
|
+
readonly metadata?: {
|
|
3832
|
+
readonly [x: string]: JsonValue;
|
|
3833
|
+
};
|
|
3834
|
+
readonly time: {
|
|
3835
|
+
readonly created: number;
|
|
3836
|
+
};
|
|
3837
|
+
readonly type: "agent-switched";
|
|
3838
|
+
readonly agent: string;
|
|
3839
|
+
} | {
|
|
3840
|
+
readonly id: string;
|
|
3841
|
+
readonly metadata?: {
|
|
3842
|
+
readonly [x: string]: JsonValue;
|
|
3843
|
+
};
|
|
3844
|
+
readonly time: {
|
|
3845
|
+
readonly created: number;
|
|
3846
|
+
};
|
|
3847
|
+
readonly type: "model-switched";
|
|
3848
|
+
readonly model: {
|
|
3849
|
+
readonly id: string;
|
|
3850
|
+
readonly providerID: string;
|
|
3851
|
+
readonly variant?: string;
|
|
3852
|
+
};
|
|
3853
|
+
readonly previous?: {
|
|
3854
|
+
readonly id: string;
|
|
3855
|
+
readonly providerID: string;
|
|
3856
|
+
readonly variant?: string;
|
|
3857
|
+
};
|
|
3858
|
+
} | {
|
|
3859
|
+
readonly id: string;
|
|
3860
|
+
readonly metadata?: {
|
|
3861
|
+
readonly [x: string]: JsonValue;
|
|
3862
|
+
};
|
|
3863
|
+
readonly time: {
|
|
3864
|
+
readonly created: number;
|
|
3865
|
+
};
|
|
3866
|
+
readonly text: string;
|
|
3867
|
+
readonly files?: ReadonlyArray<{
|
|
3868
|
+
readonly data: string;
|
|
3869
|
+
readonly mime: string;
|
|
3870
|
+
readonly source: {
|
|
3871
|
+
readonly type: "inline";
|
|
3872
|
+
} | {
|
|
3873
|
+
readonly type: "uri";
|
|
3874
|
+
readonly uri: string;
|
|
3875
|
+
};
|
|
3876
|
+
readonly name?: string;
|
|
3877
|
+
readonly description?: string;
|
|
3878
|
+
readonly mention?: {
|
|
3879
|
+
readonly start: number;
|
|
3880
|
+
readonly end: number;
|
|
3881
|
+
readonly text: string;
|
|
3882
|
+
};
|
|
3883
|
+
}>;
|
|
3884
|
+
readonly agents?: ReadonlyArray<{
|
|
3885
|
+
readonly name: string;
|
|
3886
|
+
readonly mention?: {
|
|
3887
|
+
readonly start: number;
|
|
3888
|
+
readonly end: number;
|
|
3889
|
+
readonly text: string;
|
|
3890
|
+
};
|
|
3891
|
+
}>;
|
|
3892
|
+
readonly output?: {
|
|
3893
|
+
readonly schema: {
|
|
3894
|
+
readonly [x: string]: JsonValue;
|
|
3895
|
+
};
|
|
3896
|
+
readonly name?: string;
|
|
3897
|
+
readonly description?: string;
|
|
3898
|
+
};
|
|
3899
|
+
readonly skills?: ReadonlyArray<{
|
|
3900
|
+
readonly id: string;
|
|
3901
|
+
readonly name: string;
|
|
3902
|
+
readonly text: string;
|
|
3903
|
+
readonly mention?: {
|
|
3904
|
+
readonly start: number;
|
|
3905
|
+
readonly end: number;
|
|
3906
|
+
readonly text: string;
|
|
3907
|
+
};
|
|
3908
|
+
}>;
|
|
3909
|
+
readonly type: "user";
|
|
3910
|
+
} | {
|
|
3911
|
+
readonly id: string;
|
|
3912
|
+
readonly metadata?: {
|
|
3913
|
+
readonly [x: string]: JsonValue;
|
|
3914
|
+
};
|
|
3915
|
+
readonly time: {
|
|
3916
|
+
readonly created: number;
|
|
3917
|
+
};
|
|
3918
|
+
readonly text: string;
|
|
3919
|
+
readonly description?: string;
|
|
3920
|
+
readonly type: "synthetic";
|
|
3921
|
+
} | {
|
|
3922
|
+
readonly id: string;
|
|
3923
|
+
readonly metadata?: {
|
|
3924
|
+
readonly [x: string]: JsonValue;
|
|
3925
|
+
};
|
|
3926
|
+
readonly time: {
|
|
3927
|
+
readonly created: number;
|
|
3928
|
+
};
|
|
3929
|
+
readonly type: "system";
|
|
3930
|
+
readonly text: string;
|
|
3931
|
+
} | {
|
|
3932
|
+
readonly id: string;
|
|
3933
|
+
readonly metadata?: {
|
|
3934
|
+
readonly [x: string]: JsonValue;
|
|
3935
|
+
};
|
|
3936
|
+
readonly time: {
|
|
3937
|
+
readonly created: number;
|
|
3938
|
+
};
|
|
3939
|
+
readonly type: "skill";
|
|
3940
|
+
readonly skill: string;
|
|
3941
|
+
readonly name: string;
|
|
3942
|
+
readonly text: string;
|
|
3943
|
+
} | {
|
|
3944
|
+
readonly id: string;
|
|
3945
|
+
readonly metadata?: {
|
|
3946
|
+
readonly [x: string]: JsonValue;
|
|
3947
|
+
};
|
|
3948
|
+
readonly time: {
|
|
3949
|
+
readonly created: number;
|
|
3950
|
+
readonly completed?: number;
|
|
3951
|
+
};
|
|
3952
|
+
readonly type: "shell";
|
|
3953
|
+
readonly shellID: string;
|
|
3954
|
+
readonly command: string;
|
|
3955
|
+
readonly status: "running" | "exited" | "timeout" | "killed";
|
|
3956
|
+
readonly exit?: number | "Infinity" | "-Infinity" | "NaN";
|
|
3957
|
+
readonly output?: {
|
|
3958
|
+
readonly output: string;
|
|
3959
|
+
readonly cursor: number;
|
|
3960
|
+
readonly size: number;
|
|
3961
|
+
readonly truncated: boolean;
|
|
3962
|
+
};
|
|
3963
|
+
} | {
|
|
3964
|
+
readonly id: string;
|
|
3965
|
+
readonly metadata?: {
|
|
3966
|
+
readonly [x: string]: JsonValue;
|
|
3967
|
+
};
|
|
3968
|
+
readonly time: {
|
|
3969
|
+
readonly created: number;
|
|
3970
|
+
readonly completed?: number;
|
|
3971
|
+
};
|
|
3972
|
+
readonly type: "assistant";
|
|
3973
|
+
readonly agent: string;
|
|
3974
|
+
readonly model: {
|
|
3975
|
+
readonly id: string;
|
|
3976
|
+
readonly providerID: string;
|
|
3977
|
+
readonly variant?: string;
|
|
3978
|
+
};
|
|
3979
|
+
readonly content: ReadonlyArray<{
|
|
3980
|
+
readonly type: "text";
|
|
3981
|
+
readonly text: string;
|
|
3982
|
+
readonly state?: {
|
|
3983
|
+
readonly [x: string]: JsonValue;
|
|
3984
|
+
};
|
|
3985
|
+
} | {
|
|
3986
|
+
readonly type: "reasoning";
|
|
3987
|
+
readonly text: string;
|
|
3988
|
+
readonly state?: {
|
|
3989
|
+
readonly [x: string]: JsonValue;
|
|
3990
|
+
};
|
|
3991
|
+
readonly time?: {
|
|
3992
|
+
readonly created: number;
|
|
3993
|
+
readonly completed?: number;
|
|
3994
|
+
};
|
|
3995
|
+
} | {
|
|
3996
|
+
readonly type: "tool";
|
|
3997
|
+
readonly id: string;
|
|
3998
|
+
readonly name: string;
|
|
3999
|
+
readonly executed?: boolean;
|
|
4000
|
+
readonly providerState?: {
|
|
4001
|
+
readonly [x: string]: JsonValue;
|
|
4002
|
+
};
|
|
4003
|
+
readonly providerResultState?: {
|
|
4004
|
+
readonly [x: string]: JsonValue;
|
|
4005
|
+
};
|
|
4006
|
+
readonly state: {
|
|
4007
|
+
readonly status: "streaming";
|
|
4008
|
+
readonly input: string;
|
|
4009
|
+
} | {
|
|
4010
|
+
readonly status: "running";
|
|
4011
|
+
readonly input: {
|
|
4012
|
+
readonly [x: string]: JsonValue;
|
|
4013
|
+
};
|
|
4014
|
+
readonly metadata: {
|
|
4015
|
+
readonly [x: string]: JsonValue;
|
|
4016
|
+
};
|
|
4017
|
+
} | {
|
|
4018
|
+
readonly status: "completed";
|
|
4019
|
+
readonly input: {
|
|
4020
|
+
readonly [x: string]: JsonValue;
|
|
4021
|
+
};
|
|
4022
|
+
readonly content: readonly [
|
|
4023
|
+
({
|
|
4024
|
+
readonly type: "text";
|
|
4025
|
+
readonly text: string;
|
|
4026
|
+
} | {
|
|
4027
|
+
readonly type: "file";
|
|
4028
|
+
readonly uri: string;
|
|
4029
|
+
readonly mime: string;
|
|
4030
|
+
readonly name?: string | null;
|
|
4031
|
+
}),
|
|
4032
|
+
...Array<{
|
|
4033
|
+
readonly type: "text";
|
|
4034
|
+
readonly text: string;
|
|
4035
|
+
} | {
|
|
4036
|
+
readonly type: "file";
|
|
4037
|
+
readonly uri: string;
|
|
4038
|
+
readonly mime: string;
|
|
4039
|
+
readonly name?: string | null;
|
|
4040
|
+
}>
|
|
4041
|
+
];
|
|
4042
|
+
readonly metadata?: {
|
|
4043
|
+
readonly [x: string]: JsonValue;
|
|
4044
|
+
};
|
|
4045
|
+
} | {
|
|
4046
|
+
readonly status: "error";
|
|
4047
|
+
readonly input: {
|
|
4048
|
+
readonly [x: string]: JsonValue;
|
|
4049
|
+
};
|
|
4050
|
+
readonly error: {
|
|
4051
|
+
readonly type: string;
|
|
4052
|
+
readonly message: string;
|
|
4053
|
+
readonly status?: number;
|
|
4054
|
+
};
|
|
4055
|
+
readonly content?: readonly [
|
|
4056
|
+
({
|
|
4057
|
+
readonly type: "text";
|
|
4058
|
+
readonly text: string;
|
|
4059
|
+
} | {
|
|
4060
|
+
readonly type: "file";
|
|
4061
|
+
readonly uri: string;
|
|
4062
|
+
readonly mime: string;
|
|
4063
|
+
readonly name?: string | null;
|
|
4064
|
+
}),
|
|
4065
|
+
...Array<{
|
|
4066
|
+
readonly type: "text";
|
|
4067
|
+
readonly text: string;
|
|
4068
|
+
} | {
|
|
4069
|
+
readonly type: "file";
|
|
4070
|
+
readonly uri: string;
|
|
4071
|
+
readonly mime: string;
|
|
4072
|
+
readonly name?: string | null;
|
|
4073
|
+
}>
|
|
4074
|
+
];
|
|
4075
|
+
readonly metadata?: {
|
|
4076
|
+
readonly [x: string]: JsonValue;
|
|
4077
|
+
};
|
|
4078
|
+
};
|
|
4079
|
+
readonly time: {
|
|
4080
|
+
readonly created: number;
|
|
4081
|
+
readonly ran?: number;
|
|
4082
|
+
readonly completed?: number;
|
|
4083
|
+
};
|
|
4084
|
+
} | {
|
|
4085
|
+
readonly type: "structured";
|
|
4086
|
+
readonly value: JsonValue;
|
|
4087
|
+
}>;
|
|
4088
|
+
readonly snapshot?: {
|
|
4089
|
+
readonly start?: string;
|
|
4090
|
+
readonly end?: string;
|
|
4091
|
+
readonly files?: ReadonlyArray<string>;
|
|
4092
|
+
};
|
|
4093
|
+
readonly finish?: "stop" | "length" | "tool-calls" | "content-filter" | "error" | "unknown";
|
|
4094
|
+
readonly cost?: number;
|
|
4095
|
+
readonly tokens?: {
|
|
4096
|
+
readonly input: number;
|
|
4097
|
+
readonly output: number;
|
|
4098
|
+
readonly reasoning: number;
|
|
4099
|
+
readonly cache: {
|
|
4100
|
+
readonly read: number;
|
|
4101
|
+
readonly write: number;
|
|
4102
|
+
};
|
|
4103
|
+
};
|
|
4104
|
+
readonly error?: {
|
|
4105
|
+
readonly type: string;
|
|
4106
|
+
readonly message: string;
|
|
4107
|
+
readonly status?: number;
|
|
4108
|
+
};
|
|
4109
|
+
readonly retry?: {
|
|
4110
|
+
readonly attempt: number;
|
|
4111
|
+
readonly at: number;
|
|
4112
|
+
readonly error: {
|
|
4113
|
+
readonly type: string;
|
|
4114
|
+
readonly message: string;
|
|
4115
|
+
readonly status?: number;
|
|
4116
|
+
};
|
|
4117
|
+
};
|
|
4118
|
+
} | ({
|
|
4119
|
+
readonly type: "compaction";
|
|
4120
|
+
readonly id: string;
|
|
4121
|
+
readonly metadata?: {
|
|
4122
|
+
readonly [x: string]: JsonValue;
|
|
4123
|
+
};
|
|
4124
|
+
readonly time: {
|
|
4125
|
+
readonly created: number;
|
|
4126
|
+
};
|
|
4127
|
+
readonly status: "running";
|
|
4128
|
+
readonly reason: "auto" | "manual";
|
|
4129
|
+
readonly summary: string;
|
|
4130
|
+
readonly recent: string;
|
|
4131
|
+
} | {
|
|
4132
|
+
readonly type: "compaction";
|
|
4133
|
+
readonly id: string;
|
|
4134
|
+
readonly metadata?: {
|
|
4135
|
+
readonly [x: string]: JsonValue;
|
|
4136
|
+
};
|
|
4137
|
+
readonly time: {
|
|
4138
|
+
readonly created: number;
|
|
4139
|
+
};
|
|
4140
|
+
readonly status: "completed";
|
|
4141
|
+
readonly reason: "auto" | "manual";
|
|
4142
|
+
readonly summary: string;
|
|
4143
|
+
readonly recent: string;
|
|
4144
|
+
} | {
|
|
4145
|
+
readonly type: "compaction";
|
|
4146
|
+
readonly id: string;
|
|
4147
|
+
readonly metadata?: {
|
|
4148
|
+
readonly [x: string]: JsonValue;
|
|
4149
|
+
};
|
|
4150
|
+
readonly time: {
|
|
4151
|
+
readonly created: number;
|
|
4152
|
+
};
|
|
4153
|
+
readonly status: "failed";
|
|
4154
|
+
readonly reason: "auto" | "manual";
|
|
4155
|
+
readonly error: {
|
|
4156
|
+
readonly type: string;
|
|
4157
|
+
readonly message: string;
|
|
4158
|
+
readonly status?: number;
|
|
4159
|
+
};
|
|
4160
|
+
})>;
|
|
4161
|
+
readonly location?: {
|
|
4162
|
+
readonly directory: string;
|
|
4163
|
+
readonly workspaceID?: string;
|
|
4164
|
+
} | null;
|
|
4165
|
+
}["messages"];
|
|
4166
|
+
readonly location?: {
|
|
4167
|
+
readonly info: {
|
|
4168
|
+
readonly id: string;
|
|
4169
|
+
readonly parentID?: string;
|
|
4170
|
+
readonly fork?: {
|
|
4171
|
+
readonly sessionID: string;
|
|
4172
|
+
readonly boundary: {
|
|
4173
|
+
readonly type: "before";
|
|
4174
|
+
readonly messageID: string;
|
|
4175
|
+
} | {
|
|
4176
|
+
readonly type: "through";
|
|
4177
|
+
readonly messageID: string;
|
|
4178
|
+
};
|
|
4179
|
+
};
|
|
4180
|
+
readonly projectID: string;
|
|
4181
|
+
readonly agent?: string;
|
|
4182
|
+
readonly model?: {
|
|
4183
|
+
readonly id: string;
|
|
4184
|
+
readonly providerID: string;
|
|
4185
|
+
readonly variant?: string;
|
|
4186
|
+
};
|
|
4187
|
+
readonly cost: number;
|
|
4188
|
+
readonly tokens: {
|
|
4189
|
+
readonly input: number;
|
|
4190
|
+
readonly output: number;
|
|
4191
|
+
readonly reasoning: number;
|
|
4192
|
+
readonly cache: {
|
|
4193
|
+
readonly read: number;
|
|
4194
|
+
readonly write: number;
|
|
4195
|
+
};
|
|
4196
|
+
};
|
|
4197
|
+
readonly time: {
|
|
4198
|
+
readonly created: number;
|
|
4199
|
+
readonly updated: number;
|
|
4200
|
+
readonly archived?: number;
|
|
4201
|
+
};
|
|
4202
|
+
readonly title?: string;
|
|
4203
|
+
readonly location: {
|
|
4204
|
+
readonly directory: string;
|
|
4205
|
+
readonly workspaceID?: string;
|
|
4206
|
+
};
|
|
4207
|
+
readonly subpath?: string;
|
|
4208
|
+
readonly revert?: {
|
|
4209
|
+
readonly messageID: string;
|
|
4210
|
+
readonly partID?: string;
|
|
4211
|
+
readonly snapshot?: string;
|
|
4212
|
+
readonly files?: ReadonlyArray<{
|
|
4213
|
+
readonly file: string;
|
|
4214
|
+
readonly patch: string;
|
|
4215
|
+
readonly additions: number;
|
|
4216
|
+
readonly deletions: number;
|
|
4217
|
+
readonly status: "added" | "deleted" | "modified";
|
|
4218
|
+
}>;
|
|
4219
|
+
};
|
|
4220
|
+
readonly policy?: {
|
|
4221
|
+
readonly tools: {
|
|
4222
|
+
readonly allow: ReadonlyArray<string>;
|
|
4223
|
+
};
|
|
4224
|
+
};
|
|
4225
|
+
};
|
|
4226
|
+
readonly messages: ReadonlyArray<{
|
|
4227
|
+
readonly id: string;
|
|
4228
|
+
readonly metadata?: {
|
|
4229
|
+
readonly [x: string]: JsonValue;
|
|
4230
|
+
};
|
|
4231
|
+
readonly time: {
|
|
4232
|
+
readonly created: number;
|
|
4233
|
+
};
|
|
4234
|
+
readonly type: "agent-switched";
|
|
4235
|
+
readonly agent: string;
|
|
4236
|
+
} | {
|
|
4237
|
+
readonly id: string;
|
|
4238
|
+
readonly metadata?: {
|
|
4239
|
+
readonly [x: string]: JsonValue;
|
|
4240
|
+
};
|
|
4241
|
+
readonly time: {
|
|
4242
|
+
readonly created: number;
|
|
4243
|
+
};
|
|
4244
|
+
readonly type: "model-switched";
|
|
4245
|
+
readonly model: {
|
|
4246
|
+
readonly id: string;
|
|
4247
|
+
readonly providerID: string;
|
|
4248
|
+
readonly variant?: string;
|
|
4249
|
+
};
|
|
4250
|
+
readonly previous?: {
|
|
4251
|
+
readonly id: string;
|
|
4252
|
+
readonly providerID: string;
|
|
4253
|
+
readonly variant?: string;
|
|
4254
|
+
};
|
|
4255
|
+
} | {
|
|
4256
|
+
readonly id: string;
|
|
4257
|
+
readonly metadata?: {
|
|
4258
|
+
readonly [x: string]: JsonValue;
|
|
4259
|
+
};
|
|
4260
|
+
readonly time: {
|
|
4261
|
+
readonly created: number;
|
|
4262
|
+
};
|
|
4263
|
+
readonly text: string;
|
|
4264
|
+
readonly files?: ReadonlyArray<{
|
|
4265
|
+
readonly data: string;
|
|
4266
|
+
readonly mime: string;
|
|
4267
|
+
readonly source: {
|
|
4268
|
+
readonly type: "inline";
|
|
4269
|
+
} | {
|
|
4270
|
+
readonly type: "uri";
|
|
4271
|
+
readonly uri: string;
|
|
4272
|
+
};
|
|
4273
|
+
readonly name?: string;
|
|
4274
|
+
readonly description?: string;
|
|
4275
|
+
readonly mention?: {
|
|
4276
|
+
readonly start: number;
|
|
4277
|
+
readonly end: number;
|
|
4278
|
+
readonly text: string;
|
|
4279
|
+
};
|
|
4280
|
+
}>;
|
|
4281
|
+
readonly agents?: ReadonlyArray<{
|
|
4282
|
+
readonly name: string;
|
|
4283
|
+
readonly mention?: {
|
|
4284
|
+
readonly start: number;
|
|
4285
|
+
readonly end: number;
|
|
4286
|
+
readonly text: string;
|
|
4287
|
+
};
|
|
4288
|
+
}>;
|
|
4289
|
+
readonly output?: {
|
|
4290
|
+
readonly schema: {
|
|
4291
|
+
readonly [x: string]: JsonValue;
|
|
4292
|
+
};
|
|
4293
|
+
readonly name?: string;
|
|
4294
|
+
readonly description?: string;
|
|
4295
|
+
};
|
|
4296
|
+
readonly skills?: ReadonlyArray<{
|
|
4297
|
+
readonly id: string;
|
|
4298
|
+
readonly name: string;
|
|
4299
|
+
readonly text: string;
|
|
4300
|
+
readonly mention?: {
|
|
4301
|
+
readonly start: number;
|
|
4302
|
+
readonly end: number;
|
|
4303
|
+
readonly text: string;
|
|
4304
|
+
};
|
|
4305
|
+
}>;
|
|
4306
|
+
readonly type: "user";
|
|
4307
|
+
} | {
|
|
4308
|
+
readonly id: string;
|
|
4309
|
+
readonly metadata?: {
|
|
4310
|
+
readonly [x: string]: JsonValue;
|
|
4311
|
+
};
|
|
4312
|
+
readonly time: {
|
|
4313
|
+
readonly created: number;
|
|
4314
|
+
};
|
|
4315
|
+
readonly text: string;
|
|
4316
|
+
readonly description?: string;
|
|
4317
|
+
readonly type: "synthetic";
|
|
4318
|
+
} | {
|
|
4319
|
+
readonly id: string;
|
|
4320
|
+
readonly metadata?: {
|
|
4321
|
+
readonly [x: string]: JsonValue;
|
|
4322
|
+
};
|
|
4323
|
+
readonly time: {
|
|
4324
|
+
readonly created: number;
|
|
4325
|
+
};
|
|
4326
|
+
readonly type: "system";
|
|
4327
|
+
readonly text: string;
|
|
4328
|
+
} | {
|
|
4329
|
+
readonly id: string;
|
|
4330
|
+
readonly metadata?: {
|
|
4331
|
+
readonly [x: string]: JsonValue;
|
|
4332
|
+
};
|
|
4333
|
+
readonly time: {
|
|
4334
|
+
readonly created: number;
|
|
4335
|
+
};
|
|
4336
|
+
readonly type: "skill";
|
|
4337
|
+
readonly skill: string;
|
|
4338
|
+
readonly name: string;
|
|
4339
|
+
readonly text: string;
|
|
4340
|
+
} | {
|
|
4341
|
+
readonly id: string;
|
|
4342
|
+
readonly metadata?: {
|
|
4343
|
+
readonly [x: string]: JsonValue;
|
|
4344
|
+
};
|
|
4345
|
+
readonly time: {
|
|
4346
|
+
readonly created: number;
|
|
4347
|
+
readonly completed?: number;
|
|
4348
|
+
};
|
|
4349
|
+
readonly type: "shell";
|
|
4350
|
+
readonly shellID: string;
|
|
4351
|
+
readonly command: string;
|
|
4352
|
+
readonly status: "running" | "exited" | "timeout" | "killed";
|
|
4353
|
+
readonly exit?: number | "Infinity" | "-Infinity" | "NaN";
|
|
4354
|
+
readonly output?: {
|
|
4355
|
+
readonly output: string;
|
|
4356
|
+
readonly cursor: number;
|
|
4357
|
+
readonly size: number;
|
|
4358
|
+
readonly truncated: boolean;
|
|
4359
|
+
};
|
|
4360
|
+
} | {
|
|
4361
|
+
readonly id: string;
|
|
4362
|
+
readonly metadata?: {
|
|
4363
|
+
readonly [x: string]: JsonValue;
|
|
4364
|
+
};
|
|
4365
|
+
readonly time: {
|
|
4366
|
+
readonly created: number;
|
|
4367
|
+
readonly completed?: number;
|
|
4368
|
+
};
|
|
4369
|
+
readonly type: "assistant";
|
|
4370
|
+
readonly agent: string;
|
|
4371
|
+
readonly model: {
|
|
4372
|
+
readonly id: string;
|
|
4373
|
+
readonly providerID: string;
|
|
4374
|
+
readonly variant?: string;
|
|
4375
|
+
};
|
|
4376
|
+
readonly content: ReadonlyArray<{
|
|
4377
|
+
readonly type: "text";
|
|
4378
|
+
readonly text: string;
|
|
4379
|
+
readonly state?: {
|
|
4380
|
+
readonly [x: string]: JsonValue;
|
|
4381
|
+
};
|
|
4382
|
+
} | {
|
|
4383
|
+
readonly type: "reasoning";
|
|
4384
|
+
readonly text: string;
|
|
4385
|
+
readonly state?: {
|
|
4386
|
+
readonly [x: string]: JsonValue;
|
|
4387
|
+
};
|
|
4388
|
+
readonly time?: {
|
|
4389
|
+
readonly created: number;
|
|
4390
|
+
readonly completed?: number;
|
|
4391
|
+
};
|
|
4392
|
+
} | {
|
|
4393
|
+
readonly type: "tool";
|
|
4394
|
+
readonly id: string;
|
|
4395
|
+
readonly name: string;
|
|
4396
|
+
readonly executed?: boolean;
|
|
4397
|
+
readonly providerState?: {
|
|
4398
|
+
readonly [x: string]: JsonValue;
|
|
4399
|
+
};
|
|
4400
|
+
readonly providerResultState?: {
|
|
4401
|
+
readonly [x: string]: JsonValue;
|
|
4402
|
+
};
|
|
4403
|
+
readonly state: {
|
|
4404
|
+
readonly status: "streaming";
|
|
4405
|
+
readonly input: string;
|
|
4406
|
+
} | {
|
|
4407
|
+
readonly status: "running";
|
|
4408
|
+
readonly input: {
|
|
4409
|
+
readonly [x: string]: JsonValue;
|
|
4410
|
+
};
|
|
4411
|
+
readonly metadata: {
|
|
4412
|
+
readonly [x: string]: JsonValue;
|
|
4413
|
+
};
|
|
4414
|
+
} | {
|
|
4415
|
+
readonly status: "completed";
|
|
4416
|
+
readonly input: {
|
|
4417
|
+
readonly [x: string]: JsonValue;
|
|
4418
|
+
};
|
|
4419
|
+
readonly content: readonly [
|
|
4420
|
+
({
|
|
4421
|
+
readonly type: "text";
|
|
4422
|
+
readonly text: string;
|
|
4423
|
+
} | {
|
|
4424
|
+
readonly type: "file";
|
|
4425
|
+
readonly uri: string;
|
|
4426
|
+
readonly mime: string;
|
|
4427
|
+
readonly name?: string | null;
|
|
4428
|
+
}),
|
|
4429
|
+
...Array<{
|
|
4430
|
+
readonly type: "text";
|
|
4431
|
+
readonly text: string;
|
|
4432
|
+
} | {
|
|
4433
|
+
readonly type: "file";
|
|
4434
|
+
readonly uri: string;
|
|
4435
|
+
readonly mime: string;
|
|
4436
|
+
readonly name?: string | null;
|
|
4437
|
+
}>
|
|
4438
|
+
];
|
|
4439
|
+
readonly metadata?: {
|
|
4440
|
+
readonly [x: string]: JsonValue;
|
|
4441
|
+
};
|
|
4442
|
+
} | {
|
|
4443
|
+
readonly status: "error";
|
|
4444
|
+
readonly input: {
|
|
4445
|
+
readonly [x: string]: JsonValue;
|
|
4446
|
+
};
|
|
4447
|
+
readonly error: {
|
|
4448
|
+
readonly type: string;
|
|
4449
|
+
readonly message: string;
|
|
4450
|
+
readonly status?: number;
|
|
4451
|
+
};
|
|
4452
|
+
readonly content?: readonly [
|
|
4453
|
+
({
|
|
4454
|
+
readonly type: "text";
|
|
4455
|
+
readonly text: string;
|
|
4456
|
+
} | {
|
|
4457
|
+
readonly type: "file";
|
|
4458
|
+
readonly uri: string;
|
|
4459
|
+
readonly mime: string;
|
|
4460
|
+
readonly name?: string | null;
|
|
4461
|
+
}),
|
|
4462
|
+
...Array<{
|
|
4463
|
+
readonly type: "text";
|
|
4464
|
+
readonly text: string;
|
|
4465
|
+
} | {
|
|
4466
|
+
readonly type: "file";
|
|
4467
|
+
readonly uri: string;
|
|
4468
|
+
readonly mime: string;
|
|
4469
|
+
readonly name?: string | null;
|
|
4470
|
+
}>
|
|
4471
|
+
];
|
|
4472
|
+
readonly metadata?: {
|
|
4473
|
+
readonly [x: string]: JsonValue;
|
|
4474
|
+
};
|
|
4475
|
+
};
|
|
4476
|
+
readonly time: {
|
|
4477
|
+
readonly created: number;
|
|
4478
|
+
readonly ran?: number;
|
|
4479
|
+
readonly completed?: number;
|
|
4480
|
+
};
|
|
4481
|
+
} | {
|
|
4482
|
+
readonly type: "structured";
|
|
4483
|
+
readonly value: JsonValue;
|
|
4484
|
+
}>;
|
|
4485
|
+
readonly snapshot?: {
|
|
4486
|
+
readonly start?: string;
|
|
4487
|
+
readonly end?: string;
|
|
4488
|
+
readonly files?: ReadonlyArray<string>;
|
|
4489
|
+
};
|
|
4490
|
+
readonly finish?: "stop" | "length" | "tool-calls" | "content-filter" | "error" | "unknown";
|
|
4491
|
+
readonly cost?: number;
|
|
4492
|
+
readonly tokens?: {
|
|
4493
|
+
readonly input: number;
|
|
4494
|
+
readonly output: number;
|
|
4495
|
+
readonly reasoning: number;
|
|
4496
|
+
readonly cache: {
|
|
4497
|
+
readonly read: number;
|
|
4498
|
+
readonly write: number;
|
|
4499
|
+
};
|
|
4500
|
+
};
|
|
4501
|
+
readonly error?: {
|
|
4502
|
+
readonly type: string;
|
|
4503
|
+
readonly message: string;
|
|
4504
|
+
readonly status?: number;
|
|
4505
|
+
};
|
|
4506
|
+
readonly retry?: {
|
|
4507
|
+
readonly attempt: number;
|
|
4508
|
+
readonly at: number;
|
|
4509
|
+
readonly error: {
|
|
4510
|
+
readonly type: string;
|
|
4511
|
+
readonly message: string;
|
|
4512
|
+
readonly status?: number;
|
|
4513
|
+
};
|
|
4514
|
+
};
|
|
4515
|
+
} | ({
|
|
4516
|
+
readonly type: "compaction";
|
|
4517
|
+
readonly id: string;
|
|
4518
|
+
readonly metadata?: {
|
|
4519
|
+
readonly [x: string]: JsonValue;
|
|
4520
|
+
};
|
|
4521
|
+
readonly time: {
|
|
4522
|
+
readonly created: number;
|
|
4523
|
+
};
|
|
4524
|
+
readonly status: "running";
|
|
4525
|
+
readonly reason: "auto" | "manual";
|
|
4526
|
+
readonly summary: string;
|
|
4527
|
+
readonly recent: string;
|
|
4528
|
+
} | {
|
|
4529
|
+
readonly type: "compaction";
|
|
4530
|
+
readonly id: string;
|
|
4531
|
+
readonly metadata?: {
|
|
4532
|
+
readonly [x: string]: JsonValue;
|
|
4533
|
+
};
|
|
4534
|
+
readonly time: {
|
|
4535
|
+
readonly created: number;
|
|
4536
|
+
};
|
|
4537
|
+
readonly status: "completed";
|
|
4538
|
+
readonly reason: "auto" | "manual";
|
|
4539
|
+
readonly summary: string;
|
|
4540
|
+
readonly recent: string;
|
|
4541
|
+
} | {
|
|
4542
|
+
readonly type: "compaction";
|
|
4543
|
+
readonly id: string;
|
|
4544
|
+
readonly metadata?: {
|
|
4545
|
+
readonly [x: string]: JsonValue;
|
|
4546
|
+
};
|
|
4547
|
+
readonly time: {
|
|
4548
|
+
readonly created: number;
|
|
4549
|
+
};
|
|
4550
|
+
readonly status: "failed";
|
|
4551
|
+
readonly reason: "auto" | "manual";
|
|
4552
|
+
readonly error: {
|
|
4553
|
+
readonly type: string;
|
|
4554
|
+
readonly message: string;
|
|
4555
|
+
readonly status?: number;
|
|
4556
|
+
};
|
|
4557
|
+
})>;
|
|
4558
|
+
readonly location?: {
|
|
4559
|
+
readonly directory: string;
|
|
4560
|
+
readonly workspaceID?: string;
|
|
4561
|
+
} | null;
|
|
4562
|
+
}["location"];
|
|
4563
|
+
};
|
|
4564
|
+
export type SessionImportOutput = {
|
|
4565
|
+
data: SessionInfo;
|
|
4566
|
+
}["data"];
|
|
4567
|
+
export type SessionExportInput = {
|
|
4568
|
+
readonly sessionID: {
|
|
4569
|
+
readonly sessionID: string;
|
|
4570
|
+
}["sessionID"];
|
|
4571
|
+
readonly sanitize?: {
|
|
4572
|
+
readonly sanitize?: boolean | undefined;
|
|
4573
|
+
}["sanitize"];
|
|
4574
|
+
};
|
|
4575
|
+
export type SessionExportOutput = {
|
|
4576
|
+
data: SessionTransferData;
|
|
4577
|
+
}["data"];
|
|
4578
|
+
export type SessionActiveOutput = {
|
|
4579
|
+
data: {
|
|
4580
|
+
[x: string]: SessionActive;
|
|
4581
|
+
};
|
|
4582
|
+
}["data"];
|
|
4583
|
+
export type SessionGetInput = {
|
|
4584
|
+
readonly sessionID: {
|
|
4585
|
+
readonly sessionID: string;
|
|
4586
|
+
}["sessionID"];
|
|
4587
|
+
};
|
|
4588
|
+
export type SessionGetOutput = {
|
|
4589
|
+
data: SessionInfo;
|
|
4590
|
+
}["data"];
|
|
4591
|
+
export type SessionRemoveInput = {
|
|
4592
|
+
readonly sessionID: {
|
|
4593
|
+
readonly sessionID: string;
|
|
3598
4594
|
}["sessionID"];
|
|
3599
4595
|
};
|
|
3600
4596
|
export type SessionRemoveOutput = void;
|
|
@@ -3709,13 +4705,63 @@ export type SessionPromptInput = {
|
|
|
3709
4705
|
readonly name?: string;
|
|
3710
4706
|
readonly description?: string;
|
|
3711
4707
|
};
|
|
4708
|
+
readonly skills?: ReadonlyArray<{
|
|
4709
|
+
readonly id: string;
|
|
4710
|
+
readonly mention?: {
|
|
4711
|
+
readonly start: number;
|
|
4712
|
+
readonly end: number;
|
|
4713
|
+
readonly text: string;
|
|
4714
|
+
};
|
|
4715
|
+
}>;
|
|
4716
|
+
readonly metadata?: {
|
|
4717
|
+
readonly [x: string]: JsonValue;
|
|
4718
|
+
};
|
|
4719
|
+
readonly delivery?: "steer" | "queue" | null;
|
|
4720
|
+
readonly resume?: boolean | null;
|
|
4721
|
+
}["id"];
|
|
4722
|
+
readonly text: {
|
|
4723
|
+
readonly id?: string | null;
|
|
4724
|
+
readonly text: string;
|
|
4725
|
+
readonly files?: ReadonlyArray<{
|
|
4726
|
+
readonly uri: string;
|
|
4727
|
+
readonly name?: string;
|
|
4728
|
+
readonly description?: string;
|
|
4729
|
+
readonly mention?: {
|
|
4730
|
+
readonly start: number;
|
|
4731
|
+
readonly end: number;
|
|
4732
|
+
readonly text: string;
|
|
4733
|
+
};
|
|
4734
|
+
}>;
|
|
4735
|
+
readonly agents?: ReadonlyArray<{
|
|
4736
|
+
readonly name: string;
|
|
4737
|
+
readonly mention?: {
|
|
4738
|
+
readonly start: number;
|
|
4739
|
+
readonly end: number;
|
|
4740
|
+
readonly text: string;
|
|
4741
|
+
};
|
|
4742
|
+
}>;
|
|
4743
|
+
readonly output?: {
|
|
4744
|
+
readonly schema: {
|
|
4745
|
+
readonly [x: string]: JsonValue;
|
|
4746
|
+
};
|
|
4747
|
+
readonly name?: string;
|
|
4748
|
+
readonly description?: string;
|
|
4749
|
+
};
|
|
4750
|
+
readonly skills?: ReadonlyArray<{
|
|
4751
|
+
readonly id: string;
|
|
4752
|
+
readonly mention?: {
|
|
4753
|
+
readonly start: number;
|
|
4754
|
+
readonly end: number;
|
|
4755
|
+
readonly text: string;
|
|
4756
|
+
};
|
|
4757
|
+
}>;
|
|
3712
4758
|
readonly metadata?: {
|
|
3713
4759
|
readonly [x: string]: JsonValue;
|
|
3714
4760
|
};
|
|
3715
4761
|
readonly delivery?: "steer" | "queue" | null;
|
|
3716
4762
|
readonly resume?: boolean | null;
|
|
3717
|
-
}["
|
|
3718
|
-
readonly
|
|
4763
|
+
}["text"];
|
|
4764
|
+
readonly files?: {
|
|
3719
4765
|
readonly id?: string | null;
|
|
3720
4766
|
readonly text: string;
|
|
3721
4767
|
readonly files?: ReadonlyArray<{
|
|
@@ -3743,13 +4789,21 @@ export type SessionPromptInput = {
|
|
|
3743
4789
|
readonly name?: string;
|
|
3744
4790
|
readonly description?: string;
|
|
3745
4791
|
};
|
|
4792
|
+
readonly skills?: ReadonlyArray<{
|
|
4793
|
+
readonly id: string;
|
|
4794
|
+
readonly mention?: {
|
|
4795
|
+
readonly start: number;
|
|
4796
|
+
readonly end: number;
|
|
4797
|
+
readonly text: string;
|
|
4798
|
+
};
|
|
4799
|
+
}>;
|
|
3746
4800
|
readonly metadata?: {
|
|
3747
4801
|
readonly [x: string]: JsonValue;
|
|
3748
4802
|
};
|
|
3749
4803
|
readonly delivery?: "steer" | "queue" | null;
|
|
3750
4804
|
readonly resume?: boolean | null;
|
|
3751
|
-
}["
|
|
3752
|
-
readonly
|
|
4805
|
+
}["files"];
|
|
4806
|
+
readonly agents?: {
|
|
3753
4807
|
readonly id?: string | null;
|
|
3754
4808
|
readonly text: string;
|
|
3755
4809
|
readonly files?: ReadonlyArray<{
|
|
@@ -3777,13 +4831,21 @@ export type SessionPromptInput = {
|
|
|
3777
4831
|
readonly name?: string;
|
|
3778
4832
|
readonly description?: string;
|
|
3779
4833
|
};
|
|
4834
|
+
readonly skills?: ReadonlyArray<{
|
|
4835
|
+
readonly id: string;
|
|
4836
|
+
readonly mention?: {
|
|
4837
|
+
readonly start: number;
|
|
4838
|
+
readonly end: number;
|
|
4839
|
+
readonly text: string;
|
|
4840
|
+
};
|
|
4841
|
+
}>;
|
|
3780
4842
|
readonly metadata?: {
|
|
3781
4843
|
readonly [x: string]: JsonValue;
|
|
3782
4844
|
};
|
|
3783
4845
|
readonly delivery?: "steer" | "queue" | null;
|
|
3784
4846
|
readonly resume?: boolean | null;
|
|
3785
|
-
}["
|
|
3786
|
-
readonly
|
|
4847
|
+
}["agents"];
|
|
4848
|
+
readonly output?: {
|
|
3787
4849
|
readonly id?: string | null;
|
|
3788
4850
|
readonly text: string;
|
|
3789
4851
|
readonly files?: ReadonlyArray<{
|
|
@@ -3811,13 +4873,21 @@ export type SessionPromptInput = {
|
|
|
3811
4873
|
readonly name?: string;
|
|
3812
4874
|
readonly description?: string;
|
|
3813
4875
|
};
|
|
4876
|
+
readonly skills?: ReadonlyArray<{
|
|
4877
|
+
readonly id: string;
|
|
4878
|
+
readonly mention?: {
|
|
4879
|
+
readonly start: number;
|
|
4880
|
+
readonly end: number;
|
|
4881
|
+
readonly text: string;
|
|
4882
|
+
};
|
|
4883
|
+
}>;
|
|
3814
4884
|
readonly metadata?: {
|
|
3815
4885
|
readonly [x: string]: JsonValue;
|
|
3816
4886
|
};
|
|
3817
4887
|
readonly delivery?: "steer" | "queue" | null;
|
|
3818
4888
|
readonly resume?: boolean | null;
|
|
3819
|
-
}["
|
|
3820
|
-
readonly
|
|
4889
|
+
}["output"];
|
|
4890
|
+
readonly skills?: {
|
|
3821
4891
|
readonly id?: string | null;
|
|
3822
4892
|
readonly text: string;
|
|
3823
4893
|
readonly files?: ReadonlyArray<{
|
|
@@ -3845,12 +4915,20 @@ export type SessionPromptInput = {
|
|
|
3845
4915
|
readonly name?: string;
|
|
3846
4916
|
readonly description?: string;
|
|
3847
4917
|
};
|
|
4918
|
+
readonly skills?: ReadonlyArray<{
|
|
4919
|
+
readonly id: string;
|
|
4920
|
+
readonly mention?: {
|
|
4921
|
+
readonly start: number;
|
|
4922
|
+
readonly end: number;
|
|
4923
|
+
readonly text: string;
|
|
4924
|
+
};
|
|
4925
|
+
}>;
|
|
3848
4926
|
readonly metadata?: {
|
|
3849
4927
|
readonly [x: string]: JsonValue;
|
|
3850
4928
|
};
|
|
3851
4929
|
readonly delivery?: "steer" | "queue" | null;
|
|
3852
4930
|
readonly resume?: boolean | null;
|
|
3853
|
-
}["
|
|
4931
|
+
}["skills"];
|
|
3854
4932
|
readonly metadata?: {
|
|
3855
4933
|
readonly id?: string | null;
|
|
3856
4934
|
readonly text: string;
|
|
@@ -3879,6 +4957,14 @@ export type SessionPromptInput = {
|
|
|
3879
4957
|
readonly name?: string;
|
|
3880
4958
|
readonly description?: string;
|
|
3881
4959
|
};
|
|
4960
|
+
readonly skills?: ReadonlyArray<{
|
|
4961
|
+
readonly id: string;
|
|
4962
|
+
readonly mention?: {
|
|
4963
|
+
readonly start: number;
|
|
4964
|
+
readonly end: number;
|
|
4965
|
+
readonly text: string;
|
|
4966
|
+
};
|
|
4967
|
+
}>;
|
|
3882
4968
|
readonly metadata?: {
|
|
3883
4969
|
readonly [x: string]: JsonValue;
|
|
3884
4970
|
};
|
|
@@ -3913,6 +4999,14 @@ export type SessionPromptInput = {
|
|
|
3913
4999
|
readonly name?: string;
|
|
3914
5000
|
readonly description?: string;
|
|
3915
5001
|
};
|
|
5002
|
+
readonly skills?: ReadonlyArray<{
|
|
5003
|
+
readonly id: string;
|
|
5004
|
+
readonly mention?: {
|
|
5005
|
+
readonly start: number;
|
|
5006
|
+
readonly end: number;
|
|
5007
|
+
readonly text: string;
|
|
5008
|
+
};
|
|
5009
|
+
}>;
|
|
3916
5010
|
readonly metadata?: {
|
|
3917
5011
|
readonly [x: string]: JsonValue;
|
|
3918
5012
|
};
|
|
@@ -3947,6 +5041,14 @@ export type SessionPromptInput = {
|
|
|
3947
5041
|
readonly name?: string;
|
|
3948
5042
|
readonly description?: string;
|
|
3949
5043
|
};
|
|
5044
|
+
readonly skills?: ReadonlyArray<{
|
|
5045
|
+
readonly id: string;
|
|
5046
|
+
readonly mention?: {
|
|
5047
|
+
readonly start: number;
|
|
5048
|
+
readonly end: number;
|
|
5049
|
+
readonly text: string;
|
|
5050
|
+
};
|
|
5051
|
+
}>;
|
|
3950
5052
|
readonly metadata?: {
|
|
3951
5053
|
readonly [x: string]: JsonValue;
|
|
3952
5054
|
};
|
|
@@ -3989,6 +5091,14 @@ export type SessionCommandInput = {
|
|
|
3989
5091
|
readonly text: string;
|
|
3990
5092
|
};
|
|
3991
5093
|
}>;
|
|
5094
|
+
readonly skills?: ReadonlyArray<{
|
|
5095
|
+
readonly id: string;
|
|
5096
|
+
readonly mention?: {
|
|
5097
|
+
readonly start: number;
|
|
5098
|
+
readonly end: number;
|
|
5099
|
+
readonly text: string;
|
|
5100
|
+
};
|
|
5101
|
+
}>;
|
|
3992
5102
|
readonly delivery?: "steer" | "queue" | null;
|
|
3993
5103
|
readonly resume?: boolean | null;
|
|
3994
5104
|
}["id"];
|
|
@@ -4020,6 +5130,14 @@ export type SessionCommandInput = {
|
|
|
4020
5130
|
readonly text: string;
|
|
4021
5131
|
};
|
|
4022
5132
|
}>;
|
|
5133
|
+
readonly skills?: ReadonlyArray<{
|
|
5134
|
+
readonly id: string;
|
|
5135
|
+
readonly mention?: {
|
|
5136
|
+
readonly start: number;
|
|
5137
|
+
readonly end: number;
|
|
5138
|
+
readonly text: string;
|
|
5139
|
+
};
|
|
5140
|
+
}>;
|
|
4023
5141
|
readonly delivery?: "steer" | "queue" | null;
|
|
4024
5142
|
readonly resume?: boolean | null;
|
|
4025
5143
|
}["command"];
|
|
@@ -4051,6 +5169,14 @@ export type SessionCommandInput = {
|
|
|
4051
5169
|
readonly text: string;
|
|
4052
5170
|
};
|
|
4053
5171
|
}>;
|
|
5172
|
+
readonly skills?: ReadonlyArray<{
|
|
5173
|
+
readonly id: string;
|
|
5174
|
+
readonly mention?: {
|
|
5175
|
+
readonly start: number;
|
|
5176
|
+
readonly end: number;
|
|
5177
|
+
readonly text: string;
|
|
5178
|
+
};
|
|
5179
|
+
}>;
|
|
4054
5180
|
readonly delivery?: "steer" | "queue" | null;
|
|
4055
5181
|
readonly resume?: boolean | null;
|
|
4056
5182
|
}["arguments"];
|
|
@@ -4082,6 +5208,14 @@ export type SessionCommandInput = {
|
|
|
4082
5208
|
readonly text: string;
|
|
4083
5209
|
};
|
|
4084
5210
|
}>;
|
|
5211
|
+
readonly skills?: ReadonlyArray<{
|
|
5212
|
+
readonly id: string;
|
|
5213
|
+
readonly mention?: {
|
|
5214
|
+
readonly start: number;
|
|
5215
|
+
readonly end: number;
|
|
5216
|
+
readonly text: string;
|
|
5217
|
+
};
|
|
5218
|
+
}>;
|
|
4085
5219
|
readonly delivery?: "steer" | "queue" | null;
|
|
4086
5220
|
readonly resume?: boolean | null;
|
|
4087
5221
|
}["agent"];
|
|
@@ -4113,6 +5247,14 @@ export type SessionCommandInput = {
|
|
|
4113
5247
|
readonly text: string;
|
|
4114
5248
|
};
|
|
4115
5249
|
}>;
|
|
5250
|
+
readonly skills?: ReadonlyArray<{
|
|
5251
|
+
readonly id: string;
|
|
5252
|
+
readonly mention?: {
|
|
5253
|
+
readonly start: number;
|
|
5254
|
+
readonly end: number;
|
|
5255
|
+
readonly text: string;
|
|
5256
|
+
};
|
|
5257
|
+
}>;
|
|
4116
5258
|
readonly delivery?: "steer" | "queue" | null;
|
|
4117
5259
|
readonly resume?: boolean | null;
|
|
4118
5260
|
}["model"];
|
|
@@ -4144,6 +5286,14 @@ export type SessionCommandInput = {
|
|
|
4144
5286
|
readonly text: string;
|
|
4145
5287
|
};
|
|
4146
5288
|
}>;
|
|
5289
|
+
readonly skills?: ReadonlyArray<{
|
|
5290
|
+
readonly id: string;
|
|
5291
|
+
readonly mention?: {
|
|
5292
|
+
readonly start: number;
|
|
5293
|
+
readonly end: number;
|
|
5294
|
+
readonly text: string;
|
|
5295
|
+
};
|
|
5296
|
+
}>;
|
|
4147
5297
|
readonly delivery?: "steer" | "queue" | null;
|
|
4148
5298
|
readonly resume?: boolean | null;
|
|
4149
5299
|
}["files"];
|
|
@@ -4175,9 +5325,56 @@ export type SessionCommandInput = {
|
|
|
4175
5325
|
readonly text: string;
|
|
4176
5326
|
};
|
|
4177
5327
|
}>;
|
|
5328
|
+
readonly skills?: ReadonlyArray<{
|
|
5329
|
+
readonly id: string;
|
|
5330
|
+
readonly mention?: {
|
|
5331
|
+
readonly start: number;
|
|
5332
|
+
readonly end: number;
|
|
5333
|
+
readonly text: string;
|
|
5334
|
+
};
|
|
5335
|
+
}>;
|
|
4178
5336
|
readonly delivery?: "steer" | "queue" | null;
|
|
4179
5337
|
readonly resume?: boolean | null;
|
|
4180
5338
|
}["agents"];
|
|
5339
|
+
readonly skills?: {
|
|
5340
|
+
readonly id?: string | null;
|
|
5341
|
+
readonly command: string;
|
|
5342
|
+
readonly arguments?: string | null;
|
|
5343
|
+
readonly agent?: string | null;
|
|
5344
|
+
readonly model?: {
|
|
5345
|
+
readonly id: string;
|
|
5346
|
+
readonly providerID: string;
|
|
5347
|
+
readonly variant?: string;
|
|
5348
|
+
} | null;
|
|
5349
|
+
readonly files?: ReadonlyArray<{
|
|
5350
|
+
readonly uri: string;
|
|
5351
|
+
readonly name?: string;
|
|
5352
|
+
readonly description?: string;
|
|
5353
|
+
readonly mention?: {
|
|
5354
|
+
readonly start: number;
|
|
5355
|
+
readonly end: number;
|
|
5356
|
+
readonly text: string;
|
|
5357
|
+
};
|
|
5358
|
+
}>;
|
|
5359
|
+
readonly agents?: ReadonlyArray<{
|
|
5360
|
+
readonly name: string;
|
|
5361
|
+
readonly mention?: {
|
|
5362
|
+
readonly start: number;
|
|
5363
|
+
readonly end: number;
|
|
5364
|
+
readonly text: string;
|
|
5365
|
+
};
|
|
5366
|
+
}>;
|
|
5367
|
+
readonly skills?: ReadonlyArray<{
|
|
5368
|
+
readonly id: string;
|
|
5369
|
+
readonly mention?: {
|
|
5370
|
+
readonly start: number;
|
|
5371
|
+
readonly end: number;
|
|
5372
|
+
readonly text: string;
|
|
5373
|
+
};
|
|
5374
|
+
}>;
|
|
5375
|
+
readonly delivery?: "steer" | "queue" | null;
|
|
5376
|
+
readonly resume?: boolean | null;
|
|
5377
|
+
}["skills"];
|
|
4181
5378
|
readonly delivery?: {
|
|
4182
5379
|
readonly id?: string | null;
|
|
4183
5380
|
readonly command: string;
|
|
@@ -4206,6 +5403,14 @@ export type SessionCommandInput = {
|
|
|
4206
5403
|
readonly text: string;
|
|
4207
5404
|
};
|
|
4208
5405
|
}>;
|
|
5406
|
+
readonly skills?: ReadonlyArray<{
|
|
5407
|
+
readonly id: string;
|
|
5408
|
+
readonly mention?: {
|
|
5409
|
+
readonly start: number;
|
|
5410
|
+
readonly end: number;
|
|
5411
|
+
readonly text: string;
|
|
5412
|
+
};
|
|
5413
|
+
}>;
|
|
4209
5414
|
readonly delivery?: "steer" | "queue" | null;
|
|
4210
5415
|
readonly resume?: boolean | null;
|
|
4211
5416
|
}["delivery"];
|
|
@@ -4237,6 +5442,14 @@ export type SessionCommandInput = {
|
|
|
4237
5442
|
readonly text: string;
|
|
4238
5443
|
};
|
|
4239
5444
|
}>;
|
|
5445
|
+
readonly skills?: ReadonlyArray<{
|
|
5446
|
+
readonly id: string;
|
|
5447
|
+
readonly mention?: {
|
|
5448
|
+
readonly start: number;
|
|
5449
|
+
readonly end: number;
|
|
5450
|
+
readonly text: string;
|
|
5451
|
+
};
|
|
5452
|
+
}>;
|
|
4240
5453
|
readonly delivery?: "steer" | "queue" | null;
|
|
4241
5454
|
readonly resume?: boolean | null;
|
|
4242
5455
|
}["resume"];
|
|
@@ -4408,6 +5621,39 @@ export type SessionPendingListInput = {
|
|
|
4408
5621
|
export type SessionPendingListOutput = {
|
|
4409
5622
|
data: Array<SessionPendingInfo>;
|
|
4410
5623
|
}["data"];
|
|
5624
|
+
export type SessionPendingCancelInput = {
|
|
5625
|
+
readonly sessionID: {
|
|
5626
|
+
readonly sessionID: string;
|
|
5627
|
+
readonly inputID: string;
|
|
5628
|
+
}["sessionID"];
|
|
5629
|
+
readonly inputID: {
|
|
5630
|
+
readonly sessionID: string;
|
|
5631
|
+
readonly inputID: string;
|
|
5632
|
+
}["inputID"];
|
|
5633
|
+
};
|
|
5634
|
+
export type SessionPendingCancelOutput = void;
|
|
5635
|
+
export type SessionPendingSteerInput = {
|
|
5636
|
+
readonly sessionID: {
|
|
5637
|
+
readonly sessionID: string;
|
|
5638
|
+
readonly inputID: string;
|
|
5639
|
+
}["sessionID"];
|
|
5640
|
+
readonly inputID: {
|
|
5641
|
+
readonly sessionID: string;
|
|
5642
|
+
readonly inputID: string;
|
|
5643
|
+
}["inputID"];
|
|
5644
|
+
};
|
|
5645
|
+
export type SessionPendingSteerOutput = void;
|
|
5646
|
+
export type SessionPendingQueueInput = {
|
|
5647
|
+
readonly sessionID: {
|
|
5648
|
+
readonly sessionID: string;
|
|
5649
|
+
readonly inputID: string;
|
|
5650
|
+
}["sessionID"];
|
|
5651
|
+
readonly inputID: {
|
|
5652
|
+
readonly sessionID: string;
|
|
5653
|
+
readonly inputID: string;
|
|
5654
|
+
}["inputID"];
|
|
5655
|
+
};
|
|
5656
|
+
export type SessionPendingQueueOutput = void;
|
|
4411
5657
|
export type SessionInstructionsEntryListInput = {
|
|
4412
5658
|
readonly sessionID: {
|
|
4413
5659
|
readonly sessionID: string;
|
|
@@ -4685,10 +5931,23 @@ export type IntegrationConnectKeyInput = {
|
|
|
4685
5931
|
}["location"];
|
|
4686
5932
|
readonly key: {
|
|
4687
5933
|
readonly key: string;
|
|
5934
|
+
readonly answer?: {
|
|
5935
|
+
readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
|
|
5936
|
+
} | undefined;
|
|
4688
5937
|
readonly label?: string | undefined;
|
|
4689
5938
|
}["key"];
|
|
5939
|
+
readonly answer?: {
|
|
5940
|
+
readonly key: string;
|
|
5941
|
+
readonly answer?: {
|
|
5942
|
+
readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
|
|
5943
|
+
} | undefined;
|
|
5944
|
+
readonly label?: string | undefined;
|
|
5945
|
+
}["answer"];
|
|
4690
5946
|
readonly label?: {
|
|
4691
5947
|
readonly key: string;
|
|
5948
|
+
readonly answer?: {
|
|
5949
|
+
readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
|
|
5950
|
+
} | undefined;
|
|
4692
5951
|
readonly label?: string | undefined;
|
|
4693
5952
|
}["label"];
|
|
4694
5953
|
};
|
|
@@ -4705,23 +5964,23 @@ export type IntegrationOauthConnectInput = {
|
|
|
4705
5964
|
}["location"];
|
|
4706
5965
|
readonly methodID: {
|
|
4707
5966
|
readonly methodID: string;
|
|
4708
|
-
readonly
|
|
4709
|
-
readonly [x: string]: string
|
|
4710
|
-
};
|
|
5967
|
+
readonly answer?: {
|
|
5968
|
+
readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
|
|
5969
|
+
} | undefined;
|
|
4711
5970
|
readonly label?: string | undefined;
|
|
4712
5971
|
}["methodID"];
|
|
4713
|
-
readonly
|
|
5972
|
+
readonly answer?: {
|
|
4714
5973
|
readonly methodID: string;
|
|
4715
|
-
readonly
|
|
4716
|
-
readonly [x: string]: string
|
|
4717
|
-
};
|
|
5974
|
+
readonly answer?: {
|
|
5975
|
+
readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
|
|
5976
|
+
} | undefined;
|
|
4718
5977
|
readonly label?: string | undefined;
|
|
4719
|
-
}["
|
|
5978
|
+
}["answer"];
|
|
4720
5979
|
readonly label?: {
|
|
4721
5980
|
readonly methodID: string;
|
|
4722
|
-
readonly
|
|
4723
|
-
readonly [x: string]: string
|
|
4724
|
-
};
|
|
5981
|
+
readonly answer?: {
|
|
5982
|
+
readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
|
|
5983
|
+
} | undefined;
|
|
4725
5984
|
readonly label?: string | undefined;
|
|
4726
5985
|
}["label"];
|
|
4727
5986
|
};
|
|
@@ -4941,37 +6200,37 @@ export type McpAddInput = {
|
|
|
4941
6200
|
readonly config: {
|
|
4942
6201
|
readonly type: "local";
|
|
4943
6202
|
readonly command: ReadonlyArray<string>;
|
|
4944
|
-
readonly cwd?: string
|
|
6203
|
+
readonly cwd?: string;
|
|
4945
6204
|
readonly environment?: {
|
|
4946
6205
|
readonly [x: string]: string;
|
|
4947
|
-
}
|
|
4948
|
-
readonly disabled?: boolean
|
|
4949
|
-
readonly codemode?: boolean
|
|
6206
|
+
};
|
|
6207
|
+
readonly disabled?: boolean;
|
|
6208
|
+
readonly codemode?: boolean;
|
|
4950
6209
|
readonly timeout?: {
|
|
4951
|
-
readonly startup?: number
|
|
4952
|
-
readonly catalog?: number
|
|
4953
|
-
readonly execution?: number
|
|
4954
|
-
}
|
|
6210
|
+
readonly startup?: number;
|
|
6211
|
+
readonly catalog?: number;
|
|
6212
|
+
readonly execution?: number;
|
|
6213
|
+
};
|
|
4955
6214
|
} | {
|
|
4956
6215
|
readonly type: "remote";
|
|
4957
6216
|
readonly url: string;
|
|
4958
6217
|
readonly headers?: {
|
|
4959
6218
|
readonly [x: string]: string;
|
|
4960
|
-
}
|
|
6219
|
+
};
|
|
4961
6220
|
readonly oauth?: {
|
|
4962
|
-
readonly client_id?: string
|
|
4963
|
-
readonly client_secret?: string
|
|
4964
|
-
readonly scope?: string
|
|
4965
|
-
readonly callback_port?: number
|
|
4966
|
-
readonly redirect_uri?: string
|
|
4967
|
-
} | false
|
|
4968
|
-
readonly disabled?: boolean
|
|
4969
|
-
readonly codemode?: boolean
|
|
6221
|
+
readonly client_id?: string;
|
|
6222
|
+
readonly client_secret?: string;
|
|
6223
|
+
readonly scope?: string;
|
|
6224
|
+
readonly callback_port?: number;
|
|
6225
|
+
readonly redirect_uri?: string;
|
|
6226
|
+
} | false;
|
|
6227
|
+
readonly disabled?: boolean;
|
|
6228
|
+
readonly codemode?: boolean;
|
|
4970
6229
|
readonly timeout?: {
|
|
4971
|
-
readonly startup?: number
|
|
4972
|
-
readonly catalog?: number
|
|
4973
|
-
readonly execution?: number
|
|
4974
|
-
}
|
|
6230
|
+
readonly startup?: number;
|
|
6231
|
+
readonly catalog?: number;
|
|
6232
|
+
readonly execution?: number;
|
|
6233
|
+
};
|
|
4975
6234
|
};
|
|
4976
6235
|
}["config"];
|
|
4977
6236
|
};
|
|
@@ -5975,7 +7234,7 @@ export type PermissionCreateInput = {
|
|
|
5975
7234
|
readonly source?: {
|
|
5976
7235
|
readonly type: "tool";
|
|
5977
7236
|
readonly messageID: string;
|
|
5978
|
-
readonly
|
|
7237
|
+
readonly id: string;
|
|
5979
7238
|
};
|
|
5980
7239
|
readonly agent?: string | null;
|
|
5981
7240
|
}["id"];
|
|
@@ -5990,7 +7249,7 @@ export type PermissionCreateInput = {
|
|
|
5990
7249
|
readonly source?: {
|
|
5991
7250
|
readonly type: "tool";
|
|
5992
7251
|
readonly messageID: string;
|
|
5993
|
-
readonly
|
|
7252
|
+
readonly id: string;
|
|
5994
7253
|
};
|
|
5995
7254
|
readonly agent?: string | null;
|
|
5996
7255
|
}["action"];
|
|
@@ -6005,7 +7264,7 @@ export type PermissionCreateInput = {
|
|
|
6005
7264
|
readonly source?: {
|
|
6006
7265
|
readonly type: "tool";
|
|
6007
7266
|
readonly messageID: string;
|
|
6008
|
-
readonly
|
|
7267
|
+
readonly id: string;
|
|
6009
7268
|
};
|
|
6010
7269
|
readonly agent?: string | null;
|
|
6011
7270
|
}["resources"];
|
|
@@ -6020,7 +7279,7 @@ export type PermissionCreateInput = {
|
|
|
6020
7279
|
readonly source?: {
|
|
6021
7280
|
readonly type: "tool";
|
|
6022
7281
|
readonly messageID: string;
|
|
6023
|
-
readonly
|
|
7282
|
+
readonly id: string;
|
|
6024
7283
|
};
|
|
6025
7284
|
readonly agent?: string | null;
|
|
6026
7285
|
}["save"];
|
|
@@ -6035,7 +7294,7 @@ export type PermissionCreateInput = {
|
|
|
6035
7294
|
readonly source?: {
|
|
6036
7295
|
readonly type: "tool";
|
|
6037
7296
|
readonly messageID: string;
|
|
6038
|
-
readonly
|
|
7297
|
+
readonly id: string;
|
|
6039
7298
|
};
|
|
6040
7299
|
readonly agent?: string | null;
|
|
6041
7300
|
}["metadata"];
|
|
@@ -6050,7 +7309,7 @@ export type PermissionCreateInput = {
|
|
|
6050
7309
|
readonly source?: {
|
|
6051
7310
|
readonly type: "tool";
|
|
6052
7311
|
readonly messageID: string;
|
|
6053
|
-
readonly
|
|
7312
|
+
readonly id: string;
|
|
6054
7313
|
};
|
|
6055
7314
|
readonly agent?: string | null;
|
|
6056
7315
|
}["source"];
|
|
@@ -6065,7 +7324,7 @@ export type PermissionCreateInput = {
|
|
|
6065
7324
|
readonly source?: {
|
|
6066
7325
|
readonly type: "tool";
|
|
6067
7326
|
readonly messageID: string;
|
|
6068
|
-
readonly
|
|
7327
|
+
readonly id: string;
|
|
6069
7328
|
};
|
|
6070
7329
|
readonly agent?: string | null;
|
|
6071
7330
|
}["agent"];
|
|
@@ -6801,6 +8060,19 @@ export type DebugLocationEvictInput = {
|
|
|
6801
8060
|
}["location"];
|
|
6802
8061
|
};
|
|
6803
8062
|
export type DebugLocationEvictOutput = void;
|
|
8063
|
+
export type MigrationV1StatusOutput = {
|
|
8064
|
+
status: "required" | "completed";
|
|
8065
|
+
} | {
|
|
8066
|
+
status: "running";
|
|
8067
|
+
progress: {
|
|
8068
|
+
label: string;
|
|
8069
|
+
numerator?: number | undefined;
|
|
8070
|
+
denominator?: number | undefined;
|
|
8071
|
+
};
|
|
8072
|
+
} | {
|
|
8073
|
+
status: "error";
|
|
8074
|
+
error: string;
|
|
8075
|
+
};
|
|
6804
8076
|
export type WebsearchProvidersInput = {
|
|
6805
8077
|
readonly location?: {
|
|
6806
8078
|
readonly location?: {
|
|
@@ -6852,3 +8124,12 @@ export type WebsearchQueryOutput = {
|
|
|
6852
8124
|
results: Array<WebSearchResult>;
|
|
6853
8125
|
};
|
|
6854
8126
|
};
|
|
8127
|
+
export type ConfigGetInput = {
|
|
8128
|
+
readonly location?: {
|
|
8129
|
+
readonly location?: {
|
|
8130
|
+
readonly directory?: string | undefined;
|
|
8131
|
+
readonly workspace?: string | undefined;
|
|
8132
|
+
} | undefined;
|
|
8133
|
+
}["location"];
|
|
8134
|
+
};
|
|
8135
|
+
export type ConfigGetOutput = Array<ConfigEntry>;
|