@opencode/client 2.2.0 → 2.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{service-timing-wcsbjfhx.js → pty-handoff-0e3ghr9a.js} +500 -374
- package/dist/chunks/{service-timing-myz4ngx9.js → pty-handoff-15p82y03.js} +5 -5
- package/dist/chunks/{service-timing-jpd9ebw3.js → pty-handoff-5d2vkjb7.js} +17 -17
- package/dist/chunks/pty-handoff-60xe5cbf.js +4 -0
- package/dist/chunks/{service-timing-8ye1ye6f.js → pty-handoff-8ye1ye6f.js} +2 -2
- package/dist/chunks/{service-timing-rxd7awy0.js → pty-handoff-bb4rz2ry.js} +231 -126
- package/dist/chunks/{service-timing-8we1dz3p.js → pty-handoff-cvg5j6d1.js} +6 -5
- package/dist/chunks/{service-timing-cyxwqteg.js → pty-handoff-f6hq5twr.js} +10 -2
- package/dist/chunks/{service-timing-gecjxyvt.js → pty-handoff-gecjxyvt.js} +1 -1
- package/dist/chunks/{service-timing-ab9bm97w.js → pty-handoff-kdshn947.js} +1 -1
- package/dist/chunks/{service-timing-js54wxgp.js → pty-handoff-nwcpakzx.js} +2 -2
- package/dist/chunks/{service-timing-knyqkv17.js → pty-handoff-pgwvv4px.js} +2 -2
- package/dist/chunks/{service-timing-ryy6kscr.js → pty-handoff-ryy6kscr.js} +1 -1
- package/dist/chunks/pty-handoff-wcnmkks2.js +30 -0
- package/dist/chunks/{service-timing-7f0py9js.js → pty-handoff-y2etg5bs.js} +2 -2
- package/dist/contract.d.ts +1 -1
- package/dist/contract.js +3 -1
- package/dist/effect/api/api.d.ts +634 -342
- package/dist/effect/client.d.ts +390 -121
- package/dist/effect/client.js +12 -12
- package/dist/effect/generated/client-error.js +3 -3
- package/dist/effect/generated/client.d.ts +425 -122
- package/dist/effect/generated/client.js +5 -5
- package/dist/effect/generated/index.js +8 -8
- package/dist/effect/index.js +12 -12
- package/dist/effect/rpc.js +4 -4
- package/dist/effect/service.js +6 -6
- package/dist/promise/api.d.ts +3 -0
- package/dist/promise/client.d.ts +206 -137
- package/dist/promise/client.js +11 -11
- package/dist/promise/generated/client-error.js +3 -3
- package/dist/promise/generated/client.d.ts +242 -138
- package/dist/promise/generated/client.js +4 -4
- package/dist/promise/generated/index.js +14 -12
- package/dist/promise/generated/types.d.ts +745 -466
- package/dist/promise/generated/types.js +7 -5
- package/dist/promise/index.js +18 -16
- package/dist/promise/rpc.js +2 -2
- package/dist/promise/service.js +6 -6
- package/dist/pty-handoff.js +4 -4
- package/dist/rpc-runtime.js +1 -1
- package/dist/service-contender.js +1 -1
- package/dist/service-probe.js +3 -3
- package/dist/service-timing.js +1 -1
- package/dist/service-version.js +1 -1
- package/dist/service.js +1 -1
- package/dist/shared-events.js +1 -1
- package/dist/solid/connection.js +1 -1
- package/dist/solid/data.js +9 -9
- package/dist/solid/index.js +13 -13
- package/dist/solid/pty.js +1 -1
- package/dist/solid/retention.js +1 -1
- package/dist/solid/usage.js +1 -1
- package/package.json +8 -8
- package/dist/chunks/service-timing-b80wmp2t.js +0 -30
- package/dist/chunks/service-timing-vmytr4q8.js +0 -4
- /package/dist/chunks/{service-timing-6mptkzbc.js → pty-handoff-6mptkzbc.js} +0 -0
- /package/dist/chunks/{service-timing-6mq2wh8y.js → pty-handoff-6mq2wh8y.js} +0 -0
- /package/dist/chunks/{service-timing-8s2anffy.js → pty-handoff-8s2anffy.js} +0 -0
- /package/dist/chunks/{service-timing-9rqn6x4v.js → pty-handoff-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{service-timing-gne7h7mq.js → pty-handoff-gne7h7mq.js} +0 -0
- /package/dist/chunks/{service-timing-m2eywc8w.js → pty-handoff-m2eywc8w.js} +0 -0
- /package/dist/chunks/{service-timing-qav6mfdz.js → pty-handoff-qav6mfdz.js} +0 -0
- /package/dist/chunks/{service-timing-sxt88q69.js → pty-handoff-sxt88q69.js} +0 -0
- /package/dist/chunks/{service-timing-ve4aws36.js → pty-handoff-ve4aws36.js} +0 -0
- /package/dist/chunks/{service-timing-vyas3vgt.js → pty-handoff-vyas3vgt.js} +0 -0
- /package/dist/chunks/{service-timing-xgnj2w4v.js → pty-handoff-xgnj2w4v.js} +0 -0
- /package/dist/chunks/{service-timing-ydhz1zrh.js → pty-handoff-ydhz1zrh.js} +0 -0
|
@@ -95,23 +95,8 @@ export type FileDiffInfo = {
|
|
|
95
95
|
more?: true;
|
|
96
96
|
};
|
|
97
97
|
export type SessionsCursor = string;
|
|
98
|
-
export type
|
|
99
|
-
|
|
100
|
-
succeeded: number;
|
|
101
|
-
failed: number;
|
|
102
|
-
unfinished: number;
|
|
103
|
-
};
|
|
104
|
-
export type SessionStatsToolUsage = {
|
|
105
|
-
name: string;
|
|
106
|
-
calls: number;
|
|
107
|
-
succeeded: number;
|
|
108
|
-
failed: number;
|
|
109
|
-
unfinished: number;
|
|
110
|
-
durationP50?: number;
|
|
111
|
-
};
|
|
112
|
-
export type SessionStatsActivity = {
|
|
113
|
-
date: string;
|
|
114
|
-
steps: number;
|
|
98
|
+
export type SessionActive = {
|
|
99
|
+
type: "running";
|
|
115
100
|
};
|
|
116
101
|
export type PromptBase64 = string;
|
|
117
102
|
export type PromptFileSource = {
|
|
@@ -127,6 +112,15 @@ export type PromptMention = {
|
|
|
127
112
|
};
|
|
128
113
|
export type SkillID = string;
|
|
129
114
|
export type SkillName = string;
|
|
115
|
+
export type SessionInboxDelivery = "steer" | "queue";
|
|
116
|
+
export type SessionInboxSyntheticPayload = {
|
|
117
|
+
text: string;
|
|
118
|
+
description?: string;
|
|
119
|
+
metadata?: {
|
|
120
|
+
[x: string]: JsonValue;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
export type SessionInboxCompactionPayload = {};
|
|
130
124
|
export type ShellID = string;
|
|
131
125
|
export type SessionMessageNative = {
|
|
132
126
|
[x: string]: JsonValue;
|
|
@@ -163,24 +157,55 @@ export type SessionStructuredError = {
|
|
|
163
157
|
};
|
|
164
158
|
retryAfterMs?: number;
|
|
165
159
|
};
|
|
166
|
-
export type SessionActive = {
|
|
167
|
-
type: "running";
|
|
168
|
-
};
|
|
169
|
-
export type SessionInboxDelivery = "steer" | "queue";
|
|
170
|
-
export type SessionInboxSyntheticPayload = {
|
|
171
|
-
text: string;
|
|
172
|
-
description?: string;
|
|
173
|
-
metadata?: {
|
|
174
|
-
[x: string]: JsonValue;
|
|
175
|
-
};
|
|
176
|
-
};
|
|
177
|
-
export type SessionInboxCompactionPayload = {};
|
|
178
|
-
export type InstructionEntryKey = string;
|
|
179
160
|
export type SessionGenerateResponse = {
|
|
180
161
|
data: {
|
|
181
162
|
text: string;
|
|
182
163
|
};
|
|
183
164
|
};
|
|
165
|
+
export type SessionInterruptResponse = {
|
|
166
|
+
interrupted: boolean;
|
|
167
|
+
};
|
|
168
|
+
export type FormID = string;
|
|
169
|
+
export type FormMetadata = {
|
|
170
|
+
[x: string]: JsonValue;
|
|
171
|
+
};
|
|
172
|
+
export type FormWhen = {
|
|
173
|
+
key: string;
|
|
174
|
+
op: "eq" | "neq";
|
|
175
|
+
value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
176
|
+
};
|
|
177
|
+
export type FormOption = {
|
|
178
|
+
value: string;
|
|
179
|
+
label: string;
|
|
180
|
+
description?: string;
|
|
181
|
+
};
|
|
182
|
+
export type FormExternalField = {
|
|
183
|
+
key: string;
|
|
184
|
+
type: "external";
|
|
185
|
+
url: string;
|
|
186
|
+
title?: string;
|
|
187
|
+
description?: string;
|
|
188
|
+
};
|
|
189
|
+
export type FormValue = string | number | "Infinity" | "-Infinity" | "NaN" | boolean | Array<string>;
|
|
190
|
+
export type SessionStatsToolTotals = {
|
|
191
|
+
calls: number;
|
|
192
|
+
succeeded: number;
|
|
193
|
+
failed: number;
|
|
194
|
+
unfinished: number;
|
|
195
|
+
};
|
|
196
|
+
export type SessionStatsToolUsage = {
|
|
197
|
+
name: string;
|
|
198
|
+
calls: number;
|
|
199
|
+
succeeded: number;
|
|
200
|
+
failed: number;
|
|
201
|
+
unfinished: number;
|
|
202
|
+
durationP50?: number;
|
|
203
|
+
};
|
|
204
|
+
export type SessionStatsActivity = {
|
|
205
|
+
date: string;
|
|
206
|
+
steps: number;
|
|
207
|
+
};
|
|
208
|
+
export type InstructionEntryKey = string;
|
|
184
209
|
export type EventID = string;
|
|
185
210
|
export type EventSeq = number;
|
|
186
211
|
export type WorkspaceID = string;
|
|
@@ -211,31 +236,6 @@ export type SessionMessageToolStateRunning1 = {
|
|
|
211
236
|
[x: string]: JsonValue;
|
|
212
237
|
};
|
|
213
238
|
};
|
|
214
|
-
export type SessionInterruptResponse = {
|
|
215
|
-
interrupted: boolean;
|
|
216
|
-
};
|
|
217
|
-
export type FormID = string;
|
|
218
|
-
export type FormMetadata = {
|
|
219
|
-
[x: string]: JsonValue;
|
|
220
|
-
};
|
|
221
|
-
export type FormWhen = {
|
|
222
|
-
key: string;
|
|
223
|
-
op: "eq" | "neq";
|
|
224
|
-
value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
225
|
-
};
|
|
226
|
-
export type FormOption = {
|
|
227
|
-
value: string;
|
|
228
|
-
label: string;
|
|
229
|
-
description?: string;
|
|
230
|
-
};
|
|
231
|
-
export type FormExternalField = {
|
|
232
|
-
key: string;
|
|
233
|
-
type: "external";
|
|
234
|
-
url: string;
|
|
235
|
-
title?: string;
|
|
236
|
-
description?: string;
|
|
237
|
-
};
|
|
238
|
-
export type FormValue = string | number | "Infinity" | "-Infinity" | "NaN" | boolean | Array<string>;
|
|
239
239
|
export type ModelType = "chat" | "decision" | "image" | (string & {});
|
|
240
240
|
export type ModelReasoningField = "reasoning" | "reasoning_content" | "reasoning_text" | (string & {});
|
|
241
241
|
export type ModelMaxTokensField = "max_completion_tokens" | "max_tokens";
|
|
@@ -466,6 +466,31 @@ export type PersistentPtyHandoff = {
|
|
|
466
466
|
ticket: string;
|
|
467
467
|
expiresAt: number;
|
|
468
468
|
};
|
|
469
|
+
export type ScheduleID = string;
|
|
470
|
+
export type ScheduleDuration = string;
|
|
471
|
+
export type ScheduleWhenAt = {
|
|
472
|
+
type: "at";
|
|
473
|
+
at: string;
|
|
474
|
+
tz?: string;
|
|
475
|
+
};
|
|
476
|
+
export type ScheduleWhenCron = {
|
|
477
|
+
type: "cron";
|
|
478
|
+
cron: string;
|
|
479
|
+
tz?: string;
|
|
480
|
+
};
|
|
481
|
+
export type ScheduleConditionShell = {
|
|
482
|
+
type: "shell";
|
|
483
|
+
run: string;
|
|
484
|
+
is?: string;
|
|
485
|
+
matches?: string;
|
|
486
|
+
changes?: boolean;
|
|
487
|
+
};
|
|
488
|
+
export type ScheduleActionPrompt = {
|
|
489
|
+
type: "prompt";
|
|
490
|
+
prompt: string;
|
|
491
|
+
};
|
|
492
|
+
export type ScheduleStatus = "active" | "paused" | "done";
|
|
493
|
+
export type ScheduleOutcome = "fired" | "late" | "checked" | "expired" | "skipped" | "disabled" | "failed";
|
|
469
494
|
export type ReferenceGitSource = {
|
|
470
495
|
type: "git";
|
|
471
496
|
repository: string;
|
|
@@ -554,6 +579,18 @@ export type ModelRef = {
|
|
|
554
579
|
export type ProviderCache = {
|
|
555
580
|
ttl?: ProviderCacheTTL;
|
|
556
581
|
};
|
|
582
|
+
export type ModelVariantSettings = {
|
|
583
|
+
compaction?: ProviderCompaction;
|
|
584
|
+
encoding?: ProviderEncoding;
|
|
585
|
+
} & {
|
|
586
|
+
[x: string]: any;
|
|
587
|
+
};
|
|
588
|
+
export type ConfigModelVariantSettings = {
|
|
589
|
+
compaction?: ProviderCompaction;
|
|
590
|
+
encoding?: ProviderEncoding;
|
|
591
|
+
} & {
|
|
592
|
+
[x: string]: JsonValue | null;
|
|
593
|
+
};
|
|
557
594
|
export type PermissionRule = {
|
|
558
595
|
action: string;
|
|
559
596
|
resource: string;
|
|
@@ -637,16 +674,6 @@ export type SessionRevert = {
|
|
|
637
674
|
snapshot?: SnapshotID;
|
|
638
675
|
files?: Array<FileDiffInfo>;
|
|
639
676
|
};
|
|
640
|
-
export type SessionStatsTools = {
|
|
641
|
-
mode: "none";
|
|
642
|
-
} | {
|
|
643
|
-
mode: "summary";
|
|
644
|
-
totals: SessionStatsToolTotals;
|
|
645
|
-
} | {
|
|
646
|
-
mode: "detail";
|
|
647
|
-
totals: SessionStatsToolTotals;
|
|
648
|
-
usage: Array<SessionStatsToolUsage>;
|
|
649
|
-
};
|
|
650
677
|
export type GenerateImageOutput2 = {
|
|
651
678
|
type: "image";
|
|
652
679
|
data: PromptBase64;
|
|
@@ -692,6 +719,26 @@ export type SkillInfo = {
|
|
|
692
719
|
path: AbsolutePath;
|
|
693
720
|
content: string;
|
|
694
721
|
};
|
|
722
|
+
export type SessionInboxSynthetic = {
|
|
723
|
+
id: SessionMessageID;
|
|
724
|
+
sessionID: SessionID;
|
|
725
|
+
time: {
|
|
726
|
+
created: number;
|
|
727
|
+
};
|
|
728
|
+
type: "synthetic";
|
|
729
|
+
payload: SessionInboxSyntheticPayload;
|
|
730
|
+
delivery: SessionInboxDelivery;
|
|
731
|
+
};
|
|
732
|
+
export type SessionInboxCompaction = {
|
|
733
|
+
id: SessionMessageID;
|
|
734
|
+
sessionID: SessionID;
|
|
735
|
+
time: {
|
|
736
|
+
created: number;
|
|
737
|
+
};
|
|
738
|
+
type: "compaction";
|
|
739
|
+
payload: SessionInboxCompactionPayload;
|
|
740
|
+
delivery: SessionInboxDelivery;
|
|
741
|
+
};
|
|
695
742
|
export type SessionMessageShell = {
|
|
696
743
|
id: SessionMessageID;
|
|
697
744
|
metadata?: {
|
|
@@ -796,59 +843,6 @@ export type SessionMessageIdle = {
|
|
|
796
843
|
outcome: "succeeded" | "failed" | "interrupted";
|
|
797
844
|
error?: SessionStructuredError;
|
|
798
845
|
};
|
|
799
|
-
export type SessionInboxSynthetic = {
|
|
800
|
-
id: SessionMessageID;
|
|
801
|
-
sessionID: SessionID;
|
|
802
|
-
time: {
|
|
803
|
-
created: number;
|
|
804
|
-
};
|
|
805
|
-
type: "synthetic";
|
|
806
|
-
payload: SessionInboxSyntheticPayload;
|
|
807
|
-
delivery: SessionInboxDelivery;
|
|
808
|
-
};
|
|
809
|
-
export type SessionInboxCompaction = {
|
|
810
|
-
id: SessionMessageID;
|
|
811
|
-
sessionID: SessionID;
|
|
812
|
-
time: {
|
|
813
|
-
created: number;
|
|
814
|
-
};
|
|
815
|
-
type: "compaction";
|
|
816
|
-
payload: SessionInboxCompactionPayload;
|
|
817
|
-
delivery: SessionInboxDelivery;
|
|
818
|
-
};
|
|
819
|
-
export type InstructionEntryInfo = {
|
|
820
|
-
key: InstructionEntryKey;
|
|
821
|
-
value: JsonValue;
|
|
822
|
-
};
|
|
823
|
-
export type InstructionEntrySnapshot = Array<{
|
|
824
|
-
key: InstructionEntryKey;
|
|
825
|
-
value: JsonValue;
|
|
826
|
-
removed: boolean;
|
|
827
|
-
}>;
|
|
828
|
-
export type EventLogSynced = {
|
|
829
|
-
type: "log.synced";
|
|
830
|
-
aggregateID: string;
|
|
831
|
-
seq?: EventSeq;
|
|
832
|
-
};
|
|
833
|
-
export type LocationRef = {
|
|
834
|
-
directory: AbsolutePath;
|
|
835
|
-
workspaceID?: WorkspaceID;
|
|
836
|
-
};
|
|
837
|
-
export type SessionMessageAssistantText1 = {
|
|
838
|
-
type: "text";
|
|
839
|
-
text: string;
|
|
840
|
-
native?: SessionMessageNative1;
|
|
841
|
-
};
|
|
842
|
-
export type SessionMessageAssistantReasoning1 = {
|
|
843
|
-
type: "reasoning";
|
|
844
|
-
text: string;
|
|
845
|
-
native?: SessionMessageNative1;
|
|
846
|
-
time?: {
|
|
847
|
-
created: number;
|
|
848
|
-
completed?: number;
|
|
849
|
-
};
|
|
850
|
-
};
|
|
851
|
-
export type ToolContent1 = ToolTextContent | ToolFileContent1;
|
|
852
846
|
export type FormNumberField = {
|
|
853
847
|
key: string;
|
|
854
848
|
title?: string;
|
|
@@ -917,6 +911,49 @@ export type FormMultiselectField = {
|
|
|
917
911
|
export type FormAnswer = {
|
|
918
912
|
[x: string]: FormValue;
|
|
919
913
|
};
|
|
914
|
+
export type SessionStatsTools = {
|
|
915
|
+
mode: "none";
|
|
916
|
+
} | {
|
|
917
|
+
mode: "summary";
|
|
918
|
+
totals: SessionStatsToolTotals;
|
|
919
|
+
} | {
|
|
920
|
+
mode: "detail";
|
|
921
|
+
totals: SessionStatsToolTotals;
|
|
922
|
+
usage: Array<SessionStatsToolUsage>;
|
|
923
|
+
};
|
|
924
|
+
export type InstructionEntryInfo = {
|
|
925
|
+
key: InstructionEntryKey;
|
|
926
|
+
value: JsonValue;
|
|
927
|
+
};
|
|
928
|
+
export type InstructionEntrySnapshot = Array<{
|
|
929
|
+
key: InstructionEntryKey;
|
|
930
|
+
value: JsonValue;
|
|
931
|
+
removed: boolean;
|
|
932
|
+
}>;
|
|
933
|
+
export type EventLogSynced = {
|
|
934
|
+
type: "log.synced";
|
|
935
|
+
aggregateID: string;
|
|
936
|
+
seq?: EventSeq;
|
|
937
|
+
};
|
|
938
|
+
export type LocationRef = {
|
|
939
|
+
directory: AbsolutePath;
|
|
940
|
+
workspaceID?: WorkspaceID;
|
|
941
|
+
};
|
|
942
|
+
export type SessionMessageAssistantText1 = {
|
|
943
|
+
type: "text";
|
|
944
|
+
text: string;
|
|
945
|
+
native?: SessionMessageNative1;
|
|
946
|
+
};
|
|
947
|
+
export type SessionMessageAssistantReasoning1 = {
|
|
948
|
+
type: "reasoning";
|
|
949
|
+
text: string;
|
|
950
|
+
native?: SessionMessageNative1;
|
|
951
|
+
time?: {
|
|
952
|
+
created: number;
|
|
953
|
+
completed?: number;
|
|
954
|
+
};
|
|
955
|
+
};
|
|
956
|
+
export type ToolContent1 = ToolTextContent | ToolFileContent1;
|
|
920
957
|
export type ModelCompatibility = {
|
|
921
958
|
reasoningField?: ModelReasoningField;
|
|
922
959
|
requireReasoning?: boolean;
|
|
@@ -1177,6 +1214,18 @@ export type FormMultiselectField1 = {
|
|
|
1177
1214
|
export type FormAnswer1 = {
|
|
1178
1215
|
[x: string]: FormValue1;
|
|
1179
1216
|
};
|
|
1217
|
+
export type ScheduleWhenIn = {
|
|
1218
|
+
type: "in";
|
|
1219
|
+
in: ScheduleDuration;
|
|
1220
|
+
tz?: string;
|
|
1221
|
+
};
|
|
1222
|
+
export type ScheduleWhenEvery = {
|
|
1223
|
+
type: "every";
|
|
1224
|
+
every: ScheduleDuration;
|
|
1225
|
+
tz?: string;
|
|
1226
|
+
};
|
|
1227
|
+
export type ScheduleCondition = ScheduleConditionShell;
|
|
1228
|
+
export type ScheduleAction = ScheduleActionPrompt;
|
|
1180
1229
|
export type VcsInfo = {
|
|
1181
1230
|
provider?: string;
|
|
1182
1231
|
branch: VcsBranch;
|
|
@@ -1243,12 +1292,6 @@ export type V2EventServerConnected = {
|
|
|
1243
1292
|
};
|
|
1244
1293
|
export type ReferenceSource = ReferenceLocalSource | ReferenceGitSource;
|
|
1245
1294
|
export type WorktreeList = Array<WorktreeDirectory>;
|
|
1246
|
-
export type SessionStatsModelUsage = {
|
|
1247
|
-
model: ModelRef;
|
|
1248
|
-
steps: number;
|
|
1249
|
-
tokens: TokenUsageInfo;
|
|
1250
|
-
cost: MoneyUSD;
|
|
1251
|
-
};
|
|
1252
1295
|
export type SessionMessageModelSelected = {
|
|
1253
1296
|
id: SessionMessageID;
|
|
1254
1297
|
metadata?: {
|
|
@@ -1278,6 +1321,12 @@ export type SessionMessageCompactionCompleted = {
|
|
|
1278
1321
|
cost?: MoneyUSD;
|
|
1279
1322
|
tokens?: TokenUsageInfo;
|
|
1280
1323
|
};
|
|
1324
|
+
export type SessionStatsModelUsage = {
|
|
1325
|
+
model: ModelRef;
|
|
1326
|
+
steps: number;
|
|
1327
|
+
tokens: TokenUsageInfo;
|
|
1328
|
+
cost: MoneyUSD;
|
|
1329
|
+
};
|
|
1281
1330
|
export type ProviderSettings = {
|
|
1282
1331
|
timeout?: number | false;
|
|
1283
1332
|
headerTimeout?: number | false;
|
|
@@ -1314,6 +1363,16 @@ export type ConfigModelSettings = {
|
|
|
1314
1363
|
} & {
|
|
1315
1364
|
[x: string]: JsonValue | null;
|
|
1316
1365
|
};
|
|
1366
|
+
export type ModelVariant = {
|
|
1367
|
+
id: string;
|
|
1368
|
+
settings?: ModelVariantSettings;
|
|
1369
|
+
headers?: {
|
|
1370
|
+
[x: string]: string;
|
|
1371
|
+
};
|
|
1372
|
+
body?: {
|
|
1373
|
+
[x: string]: any;
|
|
1374
|
+
};
|
|
1375
|
+
};
|
|
1317
1376
|
export type PermissionRuleset = Array<PermissionRule>;
|
|
1318
1377
|
export type UsageLimitsBudget = {
|
|
1319
1378
|
id: string;
|
|
@@ -1335,6 +1394,15 @@ export type GenerateImageResult = {
|
|
|
1335
1394
|
tokens?: GenerateUsage;
|
|
1336
1395
|
native?: GenerateNative;
|
|
1337
1396
|
};
|
|
1397
|
+
export type SessionInboxUserPayload = {
|
|
1398
|
+
text: string;
|
|
1399
|
+
files?: Array<PromptFileAttachment>;
|
|
1400
|
+
agents?: Array<PromptAgentAttachment>;
|
|
1401
|
+
skills?: Array<PromptSkillAttachment>;
|
|
1402
|
+
metadata?: {
|
|
1403
|
+
[x: string]: JsonValue;
|
|
1404
|
+
};
|
|
1405
|
+
};
|
|
1338
1406
|
export type SessionMessageUser = {
|
|
1339
1407
|
id: SessionMessageID;
|
|
1340
1408
|
metadata?: {
|
|
@@ -1349,15 +1417,6 @@ export type SessionMessageUser = {
|
|
|
1349
1417
|
skills?: Array<PromptSkillAttachment>;
|
|
1350
1418
|
type: "user";
|
|
1351
1419
|
};
|
|
1352
|
-
export type SessionInboxUserPayload = {
|
|
1353
|
-
text: string;
|
|
1354
|
-
files?: Array<PromptFileAttachment>;
|
|
1355
|
-
agents?: Array<PromptAgentAttachment>;
|
|
1356
|
-
skills?: Array<PromptSkillAttachment>;
|
|
1357
|
-
metadata?: {
|
|
1358
|
-
[x: string]: JsonValue;
|
|
1359
|
-
};
|
|
1360
|
-
};
|
|
1361
1420
|
export type SessionInboxUserPayload1 = {
|
|
1362
1421
|
text: string;
|
|
1363
1422
|
files?: Array<PromptFileAttachment>;
|
|
@@ -1388,6 +1447,16 @@ export type SessionMessageToolStateError = {
|
|
|
1388
1447
|
[x: string]: JsonValue;
|
|
1389
1448
|
};
|
|
1390
1449
|
};
|
|
1450
|
+
export type FormField = FormStringField | FormNumberField | FormIntegerField | FormBooleanField | FormMultiselectField | FormExternalField;
|
|
1451
|
+
export type FormState = {
|
|
1452
|
+
status: "pending";
|
|
1453
|
+
} | {
|
|
1454
|
+
status: "answered";
|
|
1455
|
+
answer: FormAnswer;
|
|
1456
|
+
} | {
|
|
1457
|
+
status: "cancelled";
|
|
1458
|
+
message?: string;
|
|
1459
|
+
};
|
|
1391
1460
|
export type SessionAgentSelected = {
|
|
1392
1461
|
id: EventID;
|
|
1393
1462
|
created: number;
|
|
@@ -2831,16 +2900,6 @@ export type SessionMessageToolStateError1 = {
|
|
|
2831
2900
|
[x: string]: JsonValue;
|
|
2832
2901
|
};
|
|
2833
2902
|
};
|
|
2834
|
-
export type FormField = FormStringField | FormNumberField | FormIntegerField | FormBooleanField | FormMultiselectField | FormExternalField;
|
|
2835
|
-
export type FormState = {
|
|
2836
|
-
status: "pending";
|
|
2837
|
-
} | {
|
|
2838
|
-
status: "answered";
|
|
2839
|
-
answer: FormAnswer;
|
|
2840
|
-
} | {
|
|
2841
|
-
status: "cancelled";
|
|
2842
|
-
message?: string;
|
|
2843
|
-
};
|
|
2844
2903
|
export type GenerateDecisionAnswer = GeneratePredicateAnswer | GenerateChoiceAnswer | GenerateScoreAnswer | GenerateErrorAnswer;
|
|
2845
2904
|
export type VoiceModelsResponse = {
|
|
2846
2905
|
data: {
|
|
@@ -2916,6 +2975,7 @@ export type FormReplied = {
|
|
|
2916
2975
|
answer: FormAnswer1;
|
|
2917
2976
|
};
|
|
2918
2977
|
};
|
|
2978
|
+
export type ScheduleWhen = ScheduleWhenIn | ScheduleWhenAt | ScheduleWhenEvery | ScheduleWhenCron;
|
|
2919
2979
|
export type SessionInboxMove = {
|
|
2920
2980
|
id: SessionMessageID;
|
|
2921
2981
|
sessionID: SessionID;
|
|
@@ -2933,6 +2993,7 @@ export type ReferenceInfo = {
|
|
|
2933
2993
|
hidden?: boolean;
|
|
2934
2994
|
source: ReferenceSource;
|
|
2935
2995
|
};
|
|
2996
|
+
export type SessionMessageCompaction = SessionMessageCompactionRunning | SessionMessageCompactionCompleted | SessionMessageCompactionFailed;
|
|
2936
2997
|
export type SessionStatsInfo = {
|
|
2937
2998
|
range: {
|
|
2938
2999
|
from: number;
|
|
@@ -2950,7 +3011,6 @@ export type SessionStatsInfo = {
|
|
|
2950
3011
|
activity: Array<SessionStatsActivity>;
|
|
2951
3012
|
models: Array<SessionStatsModelUsage>;
|
|
2952
3013
|
};
|
|
2953
|
-
export type SessionMessageCompaction = SessionMessageCompactionRunning | SessionMessageCompactionCompleted | SessionMessageCompactionFailed;
|
|
2954
3014
|
export type ProviderRequest = {
|
|
2955
3015
|
settings: ProviderSettings;
|
|
2956
3016
|
headers: {
|
|
@@ -2976,8 +3036,16 @@ export type ProviderInfo = {
|
|
|
2976
3036
|
[x: string]: any;
|
|
2977
3037
|
};
|
|
2978
3038
|
};
|
|
2979
|
-
export type
|
|
3039
|
+
export type ModelInfo = {
|
|
2980
3040
|
id: string;
|
|
3041
|
+
modelID: string;
|
|
3042
|
+
providerID: ProviderID;
|
|
3043
|
+
canonical?: ProviderID;
|
|
3044
|
+
type?: ModelType;
|
|
3045
|
+
family?: string;
|
|
3046
|
+
name: string;
|
|
3047
|
+
compatibility?: ModelCompatibility;
|
|
3048
|
+
package?: string;
|
|
2981
3049
|
settings?: ModelSettings;
|
|
2982
3050
|
headers?: {
|
|
2983
3051
|
[x: string]: string;
|
|
@@ -2985,6 +3053,19 @@ export type ModelVariant = {
|
|
|
2985
3053
|
body?: {
|
|
2986
3054
|
[x: string]: any;
|
|
2987
3055
|
};
|
|
3056
|
+
capabilities: ModelCapabilities;
|
|
3057
|
+
variants: Array<ModelVariant>;
|
|
3058
|
+
time: {
|
|
3059
|
+
released: number;
|
|
3060
|
+
};
|
|
3061
|
+
cost: Array<ModelCost>;
|
|
3062
|
+
status: "alpha" | "beta" | "deprecated" | "active";
|
|
3063
|
+
enabled: boolean;
|
|
3064
|
+
limit: {
|
|
3065
|
+
context: number;
|
|
3066
|
+
input?: number;
|
|
3067
|
+
output: number;
|
|
3068
|
+
};
|
|
2988
3069
|
};
|
|
2989
3070
|
export type SessionInfo = {
|
|
2990
3071
|
id: SessionID;
|
|
@@ -3002,6 +3083,7 @@ export type SessionInfo = {
|
|
|
3002
3083
|
time: {
|
|
3003
3084
|
created: number;
|
|
3004
3085
|
updated: number;
|
|
3086
|
+
busy?: number;
|
|
3005
3087
|
idle?: number;
|
|
3006
3088
|
viewed?: number;
|
|
3007
3089
|
archived?: number;
|
|
@@ -3077,6 +3159,7 @@ export type ConfigEntry = {
|
|
|
3077
3159
|
url?: string;
|
|
3078
3160
|
};
|
|
3079
3161
|
username?: string;
|
|
3162
|
+
timezone?: string;
|
|
3080
3163
|
permissions?: PermissionRuleset;
|
|
3081
3164
|
policies?: Array<{
|
|
3082
3165
|
action: "provider.use" | "tool.use" | "integration.use";
|
|
@@ -3279,7 +3362,7 @@ export type ConfigEntry = {
|
|
|
3279
3362
|
capabilities?: ConfigModelCapabilities;
|
|
3280
3363
|
variants?: Array<{
|
|
3281
3364
|
id: string;
|
|
3282
|
-
settings?:
|
|
3365
|
+
settings?: ConfigModelVariantSettings;
|
|
3283
3366
|
headers?: {
|
|
3284
3367
|
[x: string]: string;
|
|
3285
3368
|
};
|
|
@@ -3325,6 +3408,14 @@ export type ConfigEntry = {
|
|
|
3325
3408
|
todo?: boolean;
|
|
3326
3409
|
background_compaction?: boolean;
|
|
3327
3410
|
media_blob?: boolean;
|
|
3411
|
+
image_generate?: boolean | {
|
|
3412
|
+
model?: string | {
|
|
3413
|
+
providerID: string;
|
|
3414
|
+
model: string;
|
|
3415
|
+
variant?: string;
|
|
3416
|
+
};
|
|
3417
|
+
};
|
|
3418
|
+
schedules?: boolean;
|
|
3328
3419
|
subagent_depth?: number;
|
|
3329
3420
|
location_idle_timeout?: string | false;
|
|
3330
3421
|
policies?: Array<{
|
|
@@ -3373,6 +3464,7 @@ export type SessionMessageAssistantTool = {
|
|
|
3373
3464
|
completed?: number;
|
|
3374
3465
|
};
|
|
3375
3466
|
};
|
|
3467
|
+
export type FormFields = [FormField, ...Array<FormField>];
|
|
3376
3468
|
export type SessionInboxItem = {
|
|
3377
3469
|
type: "user";
|
|
3378
3470
|
payload: SessionInboxUserPayload1;
|
|
@@ -3403,7 +3495,6 @@ export type SessionMessageAssistantTool1 = {
|
|
|
3403
3495
|
completed?: number;
|
|
3404
3496
|
};
|
|
3405
3497
|
};
|
|
3406
|
-
export type FormFields = [FormField, ...Array<FormField>];
|
|
3407
3498
|
export type GenerateDecisionResult = {
|
|
3408
3499
|
answers: Array<GenerateDecisionAnswer>;
|
|
3409
3500
|
cost?: MoneyUSD;
|
|
@@ -3417,7 +3508,29 @@ export type CredentialEntry = {
|
|
|
3417
3508
|
active: boolean;
|
|
3418
3509
|
value: CredentialValue;
|
|
3419
3510
|
};
|
|
3420
|
-
export type
|
|
3511
|
+
export type FormFields1 = [FormField1, ...Array<FormField1>];
|
|
3512
|
+
export type ScheduleInfo = {
|
|
3513
|
+
id: ScheduleID;
|
|
3514
|
+
sessionID?: SessionID;
|
|
3515
|
+
name?: string;
|
|
3516
|
+
when: ScheduleWhen;
|
|
3517
|
+
tz: string;
|
|
3518
|
+
if?: ScheduleCondition;
|
|
3519
|
+
until?: ScheduleCondition;
|
|
3520
|
+
action: ScheduleAction;
|
|
3521
|
+
status: ScheduleStatus;
|
|
3522
|
+
nextDueAt?: number;
|
|
3523
|
+
endsAt?: number;
|
|
3524
|
+
remainingRuns?: number;
|
|
3525
|
+
runCount: number;
|
|
3526
|
+
lastFiredAt?: number;
|
|
3527
|
+
lastOutcome?: ScheduleOutcome;
|
|
3528
|
+
lastOutput?: string;
|
|
3529
|
+
time: {
|
|
3530
|
+
created: number;
|
|
3531
|
+
updated: number;
|
|
3532
|
+
};
|
|
3533
|
+
};
|
|
3421
3534
|
export type AgentInfo = {
|
|
3422
3535
|
id: AgentID;
|
|
3423
3536
|
name: string;
|
|
@@ -3431,37 +3544,6 @@ export type AgentInfo = {
|
|
|
3431
3544
|
steps?: number;
|
|
3432
3545
|
permissions: PermissionRuleset;
|
|
3433
3546
|
};
|
|
3434
|
-
export type ModelInfo = {
|
|
3435
|
-
id: string;
|
|
3436
|
-
modelID: string;
|
|
3437
|
-
providerID: ProviderID;
|
|
3438
|
-
canonical?: ProviderID;
|
|
3439
|
-
type?: ModelType;
|
|
3440
|
-
family?: string;
|
|
3441
|
-
name: string;
|
|
3442
|
-
compatibility?: ModelCompatibility;
|
|
3443
|
-
package?: string;
|
|
3444
|
-
settings?: ModelSettings;
|
|
3445
|
-
headers?: {
|
|
3446
|
-
[x: string]: string;
|
|
3447
|
-
};
|
|
3448
|
-
body?: {
|
|
3449
|
-
[x: string]: any;
|
|
3450
|
-
};
|
|
3451
|
-
capabilities: ModelCapabilities;
|
|
3452
|
-
variants: Array<ModelVariant>;
|
|
3453
|
-
time: {
|
|
3454
|
-
released: number;
|
|
3455
|
-
};
|
|
3456
|
-
cost: Array<ModelCost>;
|
|
3457
|
-
status: "alpha" | "beta" | "deprecated" | "active";
|
|
3458
|
-
enabled: boolean;
|
|
3459
|
-
limit: {
|
|
3460
|
-
context: number;
|
|
3461
|
-
input?: number;
|
|
3462
|
-
output: number;
|
|
3463
|
-
};
|
|
3464
|
-
};
|
|
3465
3547
|
export type SessionsResponse = {
|
|
3466
3548
|
data: Array<SessionInfo>;
|
|
3467
3549
|
cursor: {
|
|
@@ -3497,26 +3579,6 @@ export type SessionMessageAssistant = {
|
|
|
3497
3579
|
error?: SessionStructuredError;
|
|
3498
3580
|
retry?: SessionMessageAssistantRetry;
|
|
3499
3581
|
};
|
|
3500
|
-
export type SessionInboxEnqueued = {
|
|
3501
|
-
id: EventID;
|
|
3502
|
-
created: number;
|
|
3503
|
-
metadata?: {
|
|
3504
|
-
[x: string]: any;
|
|
3505
|
-
};
|
|
3506
|
-
type: "session.inbox.enqueued";
|
|
3507
|
-
durable: {
|
|
3508
|
-
aggregateID: string;
|
|
3509
|
-
seq: EventSeq;
|
|
3510
|
-
version: 1;
|
|
3511
|
-
};
|
|
3512
|
-
location?: LocationRef;
|
|
3513
|
-
data: {
|
|
3514
|
-
sessionID: SessionID;
|
|
3515
|
-
inboxID: SessionMessageID;
|
|
3516
|
-
item: SessionInboxItem;
|
|
3517
|
-
};
|
|
3518
|
-
};
|
|
3519
|
-
export type SessionMessageAssistantContentEncoded = SessionMessageAssistantText1 | SessionMessageAssistantReasoning1 | SessionMessageAssistantTool1;
|
|
3520
3582
|
export type FormInfo = {
|
|
3521
3583
|
id: FormID;
|
|
3522
3584
|
sessionID: string;
|
|
@@ -3549,6 +3611,26 @@ export type IntegrationExternalMethod = {
|
|
|
3549
3611
|
label: string;
|
|
3550
3612
|
form?: FormFields;
|
|
3551
3613
|
};
|
|
3614
|
+
export type SessionInboxEnqueued = {
|
|
3615
|
+
id: EventID;
|
|
3616
|
+
created: number;
|
|
3617
|
+
metadata?: {
|
|
3618
|
+
[x: string]: any;
|
|
3619
|
+
};
|
|
3620
|
+
type: "session.inbox.enqueued";
|
|
3621
|
+
durable: {
|
|
3622
|
+
aggregateID: string;
|
|
3623
|
+
seq: EventSeq;
|
|
3624
|
+
version: 1;
|
|
3625
|
+
};
|
|
3626
|
+
location?: LocationRef;
|
|
3627
|
+
data: {
|
|
3628
|
+
sessionID: SessionID;
|
|
3629
|
+
inboxID: SessionMessageID;
|
|
3630
|
+
item: SessionInboxItem;
|
|
3631
|
+
};
|
|
3632
|
+
};
|
|
3633
|
+
export type SessionMessageAssistantContentEncoded = SessionMessageAssistantText1 | SessionMessageAssistantReasoning1 | SessionMessageAssistantTool1;
|
|
3552
3634
|
export type GenerateDecisionsResponse = {
|
|
3553
3635
|
data: GenerateDecisionResult;
|
|
3554
3636
|
};
|
|
@@ -3557,9 +3639,10 @@ export type FormInfo1 = {
|
|
|
3557
3639
|
sessionID: string;
|
|
3558
3640
|
title: string;
|
|
3559
3641
|
metadata?: FormMetadata1;
|
|
3560
|
-
fields:
|
|
3642
|
+
fields: FormFields1;
|
|
3561
3643
|
};
|
|
3562
3644
|
export type SessionMessageInfo = SessionMessageAgentSelected | SessionMessageModelSelected | SessionMessageLocationSwitched | SessionMessageUser | SessionMessageSynthetic | SessionMessageSystem | SessionMessageSkill | SessionMessageShell | SessionMessageAssistant | SessionMessageCompaction | SessionMessageIdle;
|
|
3645
|
+
export type IntegrationMethod = IntegrationOAuthMethod | IntegrationCommandMethod | IntegrationKeyMethod | IntegrationExternalMethod | IntegrationEnvMethod;
|
|
3563
3646
|
export type SessionMessageContentUpdated = {
|
|
3564
3647
|
id: EventID;
|
|
3565
3648
|
created: number;
|
|
@@ -3579,7 +3662,6 @@ export type SessionMessageContentUpdated = {
|
|
|
3579
3662
|
content: Array<SessionMessageAssistantContentEncoded>;
|
|
3580
3663
|
};
|
|
3581
3664
|
};
|
|
3582
|
-
export type IntegrationMethod = IntegrationOAuthMethod | IntegrationCommandMethod | IntegrationKeyMethod | IntegrationExternalMethod | IntegrationEnvMethod;
|
|
3583
3665
|
export type FormCreated = {
|
|
3584
3666
|
id: EventID;
|
|
3585
3667
|
created: number;
|
|
@@ -3603,7 +3685,6 @@ export type SessionMessagesResponse = {
|
|
|
3603
3685
|
next?: string | null;
|
|
3604
3686
|
};
|
|
3605
3687
|
};
|
|
3606
|
-
export type SessionEventDurable = SessionCreated | SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed | SessionMetadataUpdated | SessionPermissions | SessionViewed | SessionArchived | SessionUnarchived | SessionDeleted | SessionForked | SessionInboxDelivered | SessionInboxEnqueued | SessionInboxCancelled | SessionInboxDeliveryChanged | SessionExecutionStarted | SessionExecutionSucceeded | SessionExecutionFailed | SessionExecutionInterrupted | SessionInstructionsUpdated | SessionSynthetic | SessionSkillActivated | SessionShellStarted | SessionShellEnded | SessionStepStarted | SessionStepStreamed | SessionStepEnded | SessionStepFailed | SessionTextStarted | SessionTextEnded | SessionReasoningStarted | SessionReasoningEnded | SessionToolInputStarted | SessionToolInputEnded | SessionToolCalled | SessionToolSuccess | SessionToolFailed | SessionRetryScheduled | SessionCompactionStarted | SessionCompactionEnded | SessionCompactionFailed | SessionRevertStaged | SessionRevertCleared | SessionRevertCommitted | SessionUsageRecorded | SessionMessageContentUpdated;
|
|
3607
3688
|
export type IntegrationInfo = {
|
|
3608
3689
|
id: IntegrationID;
|
|
3609
3690
|
name: string;
|
|
@@ -3613,6 +3694,7 @@ export type IntegrationInfo = {
|
|
|
3613
3694
|
methods: Array<IntegrationMethod>;
|
|
3614
3695
|
connections: Array<ConnectionInfo>;
|
|
3615
3696
|
};
|
|
3697
|
+
export type SessionEventDurable = SessionCreated | SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed | SessionMetadataUpdated | SessionPermissions | SessionViewed | SessionArchived | SessionUnarchived | SessionDeleted | SessionForked | SessionInboxDelivered | SessionInboxEnqueued | SessionInboxCancelled | SessionInboxDeliveryChanged | SessionExecutionStarted | SessionExecutionSucceeded | SessionExecutionFailed | SessionExecutionInterrupted | SessionInstructionsUpdated | SessionSynthetic | SessionSkillActivated | SessionShellStarted | SessionShellEnded | SessionStepStarted | SessionStepStreamed | SessionStepEnded | SessionStepFailed | SessionTextStarted | SessionTextEnded | SessionReasoningStarted | SessionReasoningEnded | SessionToolInputStarted | SessionToolInputEnded | SessionToolCalled | SessionToolSuccess | SessionToolFailed | SessionRetryScheduled | SessionCompactionStarted | SessionCompactionEnded | SessionCompactionFailed | SessionRevertStaged | SessionRevertCleared | SessionRevertCommitted | SessionUsageRecorded | SessionMessageContentUpdated;
|
|
3616
3698
|
export type V2Event = LocationShutdown | ModelsDevRefreshed | CredentialUpdated | CredentialSwitched | IntegrationUpdated | ProviderUpdated | ModelUpdated | AgentUpdated | SessionCreated | SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed | SessionMetadataUpdated | SessionPermissions | SessionViewed | SessionArchived | SessionUnarchived | SessionUsageUpdated | SessionDeleted | SessionForked | SessionInboxDelivered | SessionInboxEnqueued | SessionInboxCancelled | SessionInboxDeliveryChanged | SessionExecutionStarted | SessionExecutionSucceeded | SessionExecutionFailed | SessionExecutionInterrupted | SessionInstructionsUpdated | SessionSynthetic | SessionSkillActivated | SessionShellStarted | SessionShellEnded | SessionStepStarted | SessionStepStreamed | SessionStepEnded | SessionStepFailed | SessionTextStarted | SessionTextDelta | SessionTextEnded | SessionReasoningStarted | SessionReasoningDelta | SessionReasoningEnded | SessionToolInputStarted | SessionToolInputDelta | SessionToolInputEnded | SessionToolCalled | SessionToolProgress | SessionToolSuccess | SessionToolFailed | SessionRetryScheduled | SessionCompactionStarted | SessionCompactionDelta | SessionCompactionEnded | SessionCompactionFailed | SessionRevertStaged | SessionRevertCleared | SessionRevertCommitted | FilesystemChanged | ReferenceUpdated | PermissionAsked | PermissionReplied | PluginUpdated | ProjectUpdated | WorktreeUpdated | WorktreeResolved | CommandUpdated | ConfigUpdated | SkillUpdated | PtyCreated | PtyUpdated | PtyExited | PtyDeleted | PersistentPtyAdded | PersistentPtyRemoved | ShellCreated | ShellExited | ShellDeleted | FormCreated | FormReplied | FormCancelled | WebsearchUpdated | SessionStatusUpdated | SessionIdle | TuiPromptAppend | TuiCommandExecute | TuiToastShow | TuiSessionSelect | InstallationUpdated | InstallationUpdateAvailable | VcsBranchUpdated | McpStatusChanged | McpResourcesChanged | V2EventRpc | V2EventServerConnected;
|
|
3617
3699
|
export type SessionLogItem = SessionEventDurable | EventLogSynced;
|
|
3618
3700
|
export type InvalidRequestError = {
|
|
@@ -3664,18 +3746,6 @@ export type SessionNotFoundError = {
|
|
|
3664
3746
|
readonly message: string;
|
|
3665
3747
|
};
|
|
3666
3748
|
export declare const isSessionNotFoundError: (value: unknown) => value is SessionNotFoundError;
|
|
3667
|
-
export type ConflictError = {
|
|
3668
|
-
readonly _tag: "ConflictError";
|
|
3669
|
-
readonly message: string;
|
|
3670
|
-
readonly resource?: string | undefined;
|
|
3671
|
-
};
|
|
3672
|
-
export declare const isConflictError: (value: unknown) => value is ConflictError;
|
|
3673
|
-
export type UnknownError = {
|
|
3674
|
-
readonly _tag: "UnknownError";
|
|
3675
|
-
readonly message: string;
|
|
3676
|
-
readonly ref?: string | undefined;
|
|
3677
|
-
};
|
|
3678
|
-
export declare const isUnknownError: (value: unknown) => value is UnknownError;
|
|
3679
3749
|
export type MessageNotFoundError = {
|
|
3680
3750
|
readonly _tag: "MessageNotFoundError";
|
|
3681
3751
|
readonly sessionID: string;
|
|
@@ -3683,6 +3753,12 @@ export type MessageNotFoundError = {
|
|
|
3683
3753
|
readonly message: string;
|
|
3684
3754
|
};
|
|
3685
3755
|
export declare const isMessageNotFoundError: (value: unknown) => value is MessageNotFoundError;
|
|
3756
|
+
export type ConflictError = {
|
|
3757
|
+
readonly _tag: "ConflictError";
|
|
3758
|
+
readonly message: string;
|
|
3759
|
+
readonly resource?: string | undefined;
|
|
3760
|
+
};
|
|
3761
|
+
export declare const isConflictError: (value: unknown) => value is ConflictError;
|
|
3686
3762
|
export type CommandNotFoundError = {
|
|
3687
3763
|
readonly _tag: "CommandNotFoundError";
|
|
3688
3764
|
readonly command: string;
|
|
@@ -3695,25 +3771,18 @@ export type CommandExecutionError = {
|
|
|
3695
3771
|
readonly message: string;
|
|
3696
3772
|
};
|
|
3697
3773
|
export declare const isCommandExecutionError: (value: unknown) => value is CommandExecutionError;
|
|
3698
|
-
export type SkillNotFoundError = {
|
|
3699
|
-
readonly _tag: "SkillNotFoundError";
|
|
3700
|
-
readonly skill: string;
|
|
3701
|
-
readonly message: string;
|
|
3702
|
-
};
|
|
3703
|
-
export declare const isSkillNotFoundError: (value: unknown) => value is SkillNotFoundError;
|
|
3704
3774
|
export type SessionBusyError = {
|
|
3705
3775
|
readonly _tag: "SessionBusyError";
|
|
3706
3776
|
readonly sessionID: string;
|
|
3707
3777
|
readonly message: string;
|
|
3708
3778
|
};
|
|
3709
3779
|
export declare const isSessionBusyError: (value: unknown) => value is SessionBusyError;
|
|
3710
|
-
export type
|
|
3711
|
-
readonly _tag: "
|
|
3712
|
-
readonly actualBytes: number;
|
|
3713
|
-
readonly maxBytes: number;
|
|
3780
|
+
export type UnknownError = {
|
|
3781
|
+
readonly _tag: "UnknownError";
|
|
3714
3782
|
readonly message: string;
|
|
3783
|
+
readonly ref?: string | undefined;
|
|
3715
3784
|
};
|
|
3716
|
-
export declare const
|
|
3785
|
+
export declare const isUnknownError: (value: unknown) => value is UnknownError;
|
|
3717
3786
|
export type FormNotFoundError = {
|
|
3718
3787
|
readonly _tag: "FormNotFoundError";
|
|
3719
3788
|
readonly id: string;
|
|
@@ -3732,6 +3801,19 @@ export type FormAlreadySettledError = {
|
|
|
3732
3801
|
readonly message: string;
|
|
3733
3802
|
};
|
|
3734
3803
|
export declare const isFormAlreadySettledError: (value: unknown) => value is FormAlreadySettledError;
|
|
3804
|
+
export type SkillNotFoundError = {
|
|
3805
|
+
readonly _tag: "SkillNotFoundError";
|
|
3806
|
+
readonly skill: string;
|
|
3807
|
+
readonly message: string;
|
|
3808
|
+
};
|
|
3809
|
+
export declare const isSkillNotFoundError: (value: unknown) => value is SkillNotFoundError;
|
|
3810
|
+
export type InstructionEntryValueTooLargeError = {
|
|
3811
|
+
readonly _tag: "InstructionEntryValueTooLargeError";
|
|
3812
|
+
readonly actualBytes: number;
|
|
3813
|
+
readonly maxBytes: number;
|
|
3814
|
+
readonly message: string;
|
|
3815
|
+
};
|
|
3816
|
+
export declare const isInstructionEntryValueTooLargeError: (value: unknown) => value is InstructionEntryValueTooLargeError;
|
|
3735
3817
|
export type ProviderNotFoundError = {
|
|
3736
3818
|
readonly _tag: "ProviderNotFoundError";
|
|
3737
3819
|
readonly providerID: string;
|
|
@@ -3837,6 +3919,12 @@ export type PtyNotFoundError = {
|
|
|
3837
3919
|
readonly message: string;
|
|
3838
3920
|
};
|
|
3839
3921
|
export declare const isPtyNotFoundError: (value: unknown) => value is PtyNotFoundError;
|
|
3922
|
+
export type ScheduleNotFoundError = {
|
|
3923
|
+
readonly _tag: "ScheduleNotFoundError";
|
|
3924
|
+
readonly scheduleID: string;
|
|
3925
|
+
readonly message: string;
|
|
3926
|
+
};
|
|
3927
|
+
export declare const isScheduleNotFoundError: (value: unknown) => value is ScheduleNotFoundError;
|
|
3840
3928
|
export type ShellNotFoundError = {
|
|
3841
3929
|
readonly _tag: "ShellNotFoundError";
|
|
3842
3930
|
readonly id: string;
|
|
@@ -3886,174 +3974,83 @@ export type AgentGetInput = {
|
|
|
3886
3974
|
readonly directory?: string | undefined;
|
|
3887
3975
|
} | undefined;
|
|
3888
3976
|
};
|
|
3889
|
-
export type AgentGetOutput = {
|
|
3890
|
-
location: LocationPublicRef;
|
|
3891
|
-
data: AgentInfo;
|
|
3892
|
-
};
|
|
3893
|
-
export type PluginListInput = {
|
|
3894
|
-
readonly location?: {
|
|
3895
|
-
readonly directory?: string | undefined;
|
|
3896
|
-
} | undefined;
|
|
3897
|
-
};
|
|
3898
|
-
export type PluginListOutput = {
|
|
3899
|
-
location: LocationPublicRef;
|
|
3900
|
-
data: Array<PluginInfo>;
|
|
3901
|
-
};
|
|
3902
|
-
export type PluginGuiInput = {
|
|
3903
|
-
readonly location?: {
|
|
3904
|
-
readonly directory?: string | undefined;
|
|
3905
|
-
} | undefined;
|
|
3906
|
-
readonly id: string;
|
|
3907
|
-
};
|
|
3908
|
-
export type PluginGuiOutput = {
|
|
3909
|
-
location: LocationPublicRef;
|
|
3910
|
-
data: PluginGuiBundle;
|
|
3911
|
-
};
|
|
3912
|
-
export type PluginCheckInput = {
|
|
3913
|
-
readonly location?: {
|
|
3914
|
-
readonly directory?: string | undefined;
|
|
3915
|
-
} | undefined;
|
|
3916
|
-
readonly target?: string | undefined;
|
|
3917
|
-
};
|
|
3918
|
-
export type PluginCheckOutput = {
|
|
3919
|
-
location: LocationPublicRef;
|
|
3920
|
-
data: Array<PluginInfo>;
|
|
3921
|
-
};
|
|
3922
|
-
export type PluginUpdateInput = {
|
|
3923
|
-
readonly location?: {
|
|
3924
|
-
readonly directory?: string | undefined;
|
|
3925
|
-
} | undefined;
|
|
3926
|
-
readonly targets: ReadonlyArray<string>;
|
|
3927
|
-
};
|
|
3928
|
-
export type PluginUpdateOutput = void;
|
|
3929
|
-
export type SessionListInput = {
|
|
3930
|
-
readonly limit?: number | undefined;
|
|
3931
|
-
readonly order?: "asc" | "desc" | undefined;
|
|
3932
|
-
readonly search?: string | undefined;
|
|
3933
|
-
readonly parentID?: string | null | undefined;
|
|
3934
|
-
readonly archived?: boolean | undefined;
|
|
3935
|
-
readonly directory?: string | undefined;
|
|
3936
|
-
readonly project?: string | undefined;
|
|
3937
|
-
readonly subpath?: string | undefined;
|
|
3938
|
-
readonly cursor?: string | undefined;
|
|
3939
|
-
};
|
|
3940
|
-
export type SessionListOutput = SessionsResponse;
|
|
3941
|
-
export type
|
|
3942
|
-
readonly
|
|
3943
|
-
readonly
|
|
3944
|
-
readonly
|
|
3945
|
-
readonly
|
|
3946
|
-
readonly
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
}
|
|
3951
|
-
export type SessionCreateInput = {
|
|
3952
|
-
readonly id?: string | null | undefined;
|
|
3953
|
-
readonly parentID?: string | null | undefined;
|
|
3954
|
-
readonly title?: string | null | undefined;
|
|
3955
|
-
readonly agent?: string | null | undefined;
|
|
3956
|
-
readonly model?: {
|
|
3957
|
-
readonly id: string;
|
|
3958
|
-
readonly providerID: string;
|
|
3959
|
-
readonly variant?: string;
|
|
3960
|
-
} | null | undefined;
|
|
3961
|
-
readonly location?: {
|
|
3962
|
-
readonly directory: string;
|
|
3963
|
-
} | null | undefined;
|
|
3964
|
-
readonly metadata?: {
|
|
3965
|
-
readonly [x: string]: JsonValue;
|
|
3966
|
-
} | null | undefined;
|
|
3967
|
-
readonly permissions?: ReadonlyArray<{
|
|
3968
|
-
readonly action: string;
|
|
3969
|
-
readonly resource: string;
|
|
3970
|
-
readonly effect: "allow" | "deny" | "ask";
|
|
3971
|
-
}> | null | undefined;
|
|
3972
|
-
};
|
|
3973
|
-
export type SessionCreateOutput = {
|
|
3974
|
-
data: SessionInfo;
|
|
3975
|
-
}["data"];
|
|
3976
|
-
export type SessionImportInput = {
|
|
3977
|
-
readonly info: {
|
|
3978
|
-
readonly id: string;
|
|
3979
|
-
readonly parentID?: string;
|
|
3980
|
-
readonly fork?: {
|
|
3981
|
-
readonly sessionID: string;
|
|
3982
|
-
readonly boundary: {
|
|
3983
|
-
readonly type: "before";
|
|
3984
|
-
readonly messageID: string;
|
|
3985
|
-
} | {
|
|
3986
|
-
readonly type: "through";
|
|
3987
|
-
readonly messageID: string;
|
|
3988
|
-
};
|
|
3989
|
-
};
|
|
3990
|
-
readonly projectID: string;
|
|
3991
|
-
readonly agent?: string;
|
|
3992
|
-
readonly model?: {
|
|
3993
|
-
readonly id: string;
|
|
3994
|
-
readonly providerID: string;
|
|
3995
|
-
readonly variant?: string;
|
|
3996
|
-
};
|
|
3997
|
-
readonly cost: number;
|
|
3998
|
-
readonly tokens: {
|
|
3999
|
-
readonly input: number;
|
|
4000
|
-
readonly output: number;
|
|
4001
|
-
readonly reasoning: number;
|
|
4002
|
-
readonly cache: {
|
|
4003
|
-
readonly read: number;
|
|
4004
|
-
readonly write: number;
|
|
4005
|
-
};
|
|
4006
|
-
};
|
|
4007
|
-
readonly outcome?: "succeeded" | "failed" | "interrupted";
|
|
4008
|
-
readonly time: {
|
|
4009
|
-
readonly created: number;
|
|
4010
|
-
readonly updated: number;
|
|
4011
|
-
readonly idle?: number;
|
|
4012
|
-
readonly viewed?: number;
|
|
4013
|
-
readonly archived?: number;
|
|
4014
|
-
};
|
|
4015
|
-
readonly title?: string;
|
|
4016
|
-
readonly subpath?: string;
|
|
4017
|
-
readonly metadata?: {
|
|
4018
|
-
readonly [x: string]: JsonValue;
|
|
4019
|
-
};
|
|
4020
|
-
readonly permissions?: ReadonlyArray<{
|
|
4021
|
-
readonly action: string;
|
|
4022
|
-
readonly resource: string;
|
|
4023
|
-
readonly effect: "allow" | "deny" | "ask";
|
|
4024
|
-
}>;
|
|
4025
|
-
readonly revert?: {
|
|
4026
|
-
readonly messageID: string;
|
|
4027
|
-
readonly partID?: string;
|
|
4028
|
-
readonly snapshot?: string;
|
|
4029
|
-
readonly files?: ReadonlyArray<{
|
|
4030
|
-
readonly file: string;
|
|
4031
|
-
readonly patch: string;
|
|
4032
|
-
readonly additions: number;
|
|
4033
|
-
readonly deletions: number;
|
|
4034
|
-
readonly status: "added" | "deleted" | "modified";
|
|
4035
|
-
readonly more?: true;
|
|
4036
|
-
}>;
|
|
4037
|
-
};
|
|
4038
|
-
readonly location: {
|
|
4039
|
-
readonly directory: string;
|
|
4040
|
-
};
|
|
4041
|
-
};
|
|
4042
|
-
readonly messages: ReadonlyArray<JsonValue>;
|
|
3977
|
+
export type AgentGetOutput = {
|
|
3978
|
+
location: LocationPublicRef;
|
|
3979
|
+
data: AgentInfo;
|
|
3980
|
+
};
|
|
3981
|
+
export type PluginListInput = {
|
|
3982
|
+
readonly location?: {
|
|
3983
|
+
readonly directory?: string | undefined;
|
|
3984
|
+
} | undefined;
|
|
3985
|
+
};
|
|
3986
|
+
export type PluginListOutput = {
|
|
3987
|
+
location: LocationPublicRef;
|
|
3988
|
+
data: Array<PluginInfo>;
|
|
3989
|
+
};
|
|
3990
|
+
export type PluginGuiInput = {
|
|
3991
|
+
readonly location?: {
|
|
3992
|
+
readonly directory?: string | undefined;
|
|
3993
|
+
} | undefined;
|
|
3994
|
+
readonly id: string;
|
|
3995
|
+
};
|
|
3996
|
+
export type PluginGuiOutput = {
|
|
3997
|
+
location: LocationPublicRef;
|
|
3998
|
+
data: PluginGuiBundle;
|
|
3999
|
+
};
|
|
4000
|
+
export type PluginCheckInput = {
|
|
4001
|
+
readonly location?: {
|
|
4002
|
+
readonly directory?: string | undefined;
|
|
4003
|
+
} | undefined;
|
|
4004
|
+
readonly target?: string | undefined;
|
|
4005
|
+
};
|
|
4006
|
+
export type PluginCheckOutput = {
|
|
4007
|
+
location: LocationPublicRef;
|
|
4008
|
+
data: Array<PluginInfo>;
|
|
4009
|
+
};
|
|
4010
|
+
export type PluginUpdateInput = {
|
|
4011
|
+
readonly location?: {
|
|
4012
|
+
readonly directory?: string | undefined;
|
|
4013
|
+
} | undefined;
|
|
4014
|
+
readonly targets: ReadonlyArray<string>;
|
|
4015
|
+
};
|
|
4016
|
+
export type PluginUpdateOutput = void;
|
|
4017
|
+
export type SessionListInput = {
|
|
4018
|
+
readonly limit?: number | undefined;
|
|
4019
|
+
readonly order?: "asc" | "desc" | undefined;
|
|
4020
|
+
readonly search?: string | undefined;
|
|
4021
|
+
readonly parentID?: string | null | undefined;
|
|
4022
|
+
readonly archived?: boolean | undefined;
|
|
4023
|
+
readonly directory?: string | undefined;
|
|
4024
|
+
readonly project?: string | undefined;
|
|
4025
|
+
readonly subpath?: string | undefined;
|
|
4026
|
+
readonly cursor?: string | undefined;
|
|
4027
|
+
};
|
|
4028
|
+
export type SessionListOutput = SessionsResponse;
|
|
4029
|
+
export type SessionCreateInput = {
|
|
4030
|
+
readonly id?: string | null | undefined;
|
|
4031
|
+
readonly parentID?: string | null | undefined;
|
|
4032
|
+
readonly title?: string | null | undefined;
|
|
4033
|
+
readonly agent?: string | null | undefined;
|
|
4034
|
+
readonly model?: {
|
|
4035
|
+
readonly id: string;
|
|
4036
|
+
readonly providerID: string;
|
|
4037
|
+
readonly variant?: string;
|
|
4038
|
+
} | null | undefined;
|
|
4043
4039
|
readonly location?: {
|
|
4044
4040
|
readonly directory: string;
|
|
4045
4041
|
} | null | undefined;
|
|
4042
|
+
readonly metadata?: {
|
|
4043
|
+
readonly [x: string]: JsonValue;
|
|
4044
|
+
} | null | undefined;
|
|
4045
|
+
readonly permissions?: ReadonlyArray<{
|
|
4046
|
+
readonly action: string;
|
|
4047
|
+
readonly resource: string;
|
|
4048
|
+
readonly effect: "allow" | "deny" | "ask";
|
|
4049
|
+
}> | null | undefined;
|
|
4046
4050
|
};
|
|
4047
|
-
export type
|
|
4051
|
+
export type SessionCreateOutput = {
|
|
4048
4052
|
data: SessionInfo;
|
|
4049
4053
|
}["data"];
|
|
4050
|
-
export type SessionExportInput = {
|
|
4051
|
-
readonly sessionID: string;
|
|
4052
|
-
readonly sanitize?: boolean | undefined;
|
|
4053
|
-
};
|
|
4054
|
-
export type SessionExportOutput = {
|
|
4055
|
-
data: SessionTransferData;
|
|
4056
|
-
}["data"];
|
|
4057
4054
|
export type SessionActiveOutput = {
|
|
4058
4055
|
data: {
|
|
4059
4056
|
[x: SessionID]: SessionActive;
|
|
@@ -4116,6 +4113,12 @@ export type SessionPromptInput = {
|
|
|
4116
4113
|
readonly text: string;
|
|
4117
4114
|
readonly files?: ReadonlyArray<{
|
|
4118
4115
|
readonly uri: string;
|
|
4116
|
+
readonly source?: {
|
|
4117
|
+
readonly type: "inline";
|
|
4118
|
+
} | {
|
|
4119
|
+
readonly type: "uri";
|
|
4120
|
+
readonly uri: string;
|
|
4121
|
+
};
|
|
4119
4122
|
readonly name?: string;
|
|
4120
4123
|
readonly description?: string;
|
|
4121
4124
|
readonly mention?: {
|
|
@@ -4155,6 +4158,12 @@ export type SessionCommandInput = {
|
|
|
4155
4158
|
readonly text: string;
|
|
4156
4159
|
readonly files?: ReadonlyArray<{
|
|
4157
4160
|
readonly uri: string;
|
|
4161
|
+
readonly source?: {
|
|
4162
|
+
readonly type: "inline";
|
|
4163
|
+
} | {
|
|
4164
|
+
readonly type: "uri";
|
|
4165
|
+
readonly uri: string;
|
|
4166
|
+
};
|
|
4158
4167
|
readonly name?: string;
|
|
4159
4168
|
readonly description?: string;
|
|
4160
4169
|
readonly mention?: {
|
|
@@ -4182,12 +4191,6 @@ export type SessionCommandInput = {
|
|
|
4182
4191
|
readonly delivery?: ("steer" | "queue") | null | undefined;
|
|
4183
4192
|
};
|
|
4184
4193
|
export type SessionCommandOutput = void;
|
|
4185
|
-
export type SessionSkillInput = {
|
|
4186
|
-
readonly sessionID: string;
|
|
4187
|
-
readonly id: string;
|
|
4188
|
-
readonly resume?: boolean | undefined;
|
|
4189
|
-
};
|
|
4190
|
-
export type SessionSkillOutput = void;
|
|
4191
4194
|
export type SessionSyntheticInput = {
|
|
4192
4195
|
readonly sessionID: string;
|
|
4193
4196
|
readonly id?: string | null | undefined;
|
|
@@ -4216,10 +4219,6 @@ export type SessionCompactInput = {
|
|
|
4216
4219
|
export type SessionCompactOutput = {
|
|
4217
4220
|
data: SessionInboxCompaction;
|
|
4218
4221
|
}["data"];
|
|
4219
|
-
export type SessionWaitInput = {
|
|
4220
|
-
readonly sessionID: string;
|
|
4221
|
-
};
|
|
4222
|
-
export type SessionWaitOutput = void;
|
|
4223
4222
|
export type SessionRevertStageInput = {
|
|
4224
4223
|
readonly sessionID: string;
|
|
4225
4224
|
readonly messageID: string;
|
|
@@ -4268,34 +4267,11 @@ export type SessionInboxUpdateInput = {
|
|
|
4268
4267
|
readonly delivery: "steer" | "queue";
|
|
4269
4268
|
};
|
|
4270
4269
|
export type SessionInboxUpdateOutput = void;
|
|
4271
|
-
export type SessionInstructionsEntryListInput = {
|
|
4272
|
-
readonly sessionID: string;
|
|
4273
|
-
};
|
|
4274
|
-
export type SessionInstructionsEntryListOutput = {
|
|
4275
|
-
data: Array<InstructionEntryInfo>;
|
|
4276
|
-
}["data"];
|
|
4277
|
-
export type SessionInstructionsEntryPutInput = {
|
|
4278
|
-
readonly sessionID: string;
|
|
4279
|
-
readonly key: string;
|
|
4280
|
-
readonly value: JsonValue;
|
|
4281
|
-
};
|
|
4282
|
-
export type SessionInstructionsEntryPutOutput = void;
|
|
4283
|
-
export type SessionInstructionsEntryRemoveInput = {
|
|
4284
|
-
readonly sessionID: string;
|
|
4285
|
-
readonly key: string;
|
|
4286
|
-
};
|
|
4287
|
-
export type SessionInstructionsEntryRemoveOutput = void;
|
|
4288
4270
|
export type SessionGenerateInput = {
|
|
4289
4271
|
readonly sessionID: string;
|
|
4290
4272
|
readonly prompt: string;
|
|
4291
4273
|
};
|
|
4292
4274
|
export type SessionGenerateOutput = SessionGenerateResponse["data"];
|
|
4293
|
-
export type SessionLogInput = {
|
|
4294
|
-
readonly sessionID: string;
|
|
4295
|
-
readonly after?: number | undefined;
|
|
4296
|
-
readonly follow?: boolean | undefined;
|
|
4297
|
-
};
|
|
4298
|
-
export type SessionLogOutput = SessionLogItem;
|
|
4299
4275
|
export type SessionInterruptInput = {
|
|
4300
4276
|
readonly sessionID: string;
|
|
4301
4277
|
readonly resume?: boolean | undefined;
|
|
@@ -4554,6 +4530,131 @@ export type SessionViewInput = {
|
|
|
4554
4530
|
readonly idle: number;
|
|
4555
4531
|
};
|
|
4556
4532
|
export type SessionViewOutput = void;
|
|
4533
|
+
export type ExperimentalSessionStatsInput = {
|
|
4534
|
+
readonly from?: number | undefined;
|
|
4535
|
+
readonly to?: number | undefined;
|
|
4536
|
+
readonly project?: string | undefined;
|
|
4537
|
+
readonly timezone?: string | undefined;
|
|
4538
|
+
readonly tools?: "none" | "summary" | "detail" | undefined;
|
|
4539
|
+
};
|
|
4540
|
+
export type ExperimentalSessionStatsOutput = {
|
|
4541
|
+
data: SessionStatsInfo;
|
|
4542
|
+
}["data"];
|
|
4543
|
+
export type ExperimentalSessionImportInput = {
|
|
4544
|
+
readonly info: {
|
|
4545
|
+
readonly id: string;
|
|
4546
|
+
readonly parentID?: string;
|
|
4547
|
+
readonly fork?: {
|
|
4548
|
+
readonly sessionID: string;
|
|
4549
|
+
readonly boundary: {
|
|
4550
|
+
readonly type: "before";
|
|
4551
|
+
readonly messageID: string;
|
|
4552
|
+
} | {
|
|
4553
|
+
readonly type: "through";
|
|
4554
|
+
readonly messageID: string;
|
|
4555
|
+
};
|
|
4556
|
+
};
|
|
4557
|
+
readonly projectID: string;
|
|
4558
|
+
readonly agent?: string;
|
|
4559
|
+
readonly model?: {
|
|
4560
|
+
readonly id: string;
|
|
4561
|
+
readonly providerID: string;
|
|
4562
|
+
readonly variant?: string;
|
|
4563
|
+
};
|
|
4564
|
+
readonly cost: number;
|
|
4565
|
+
readonly tokens: {
|
|
4566
|
+
readonly input: number;
|
|
4567
|
+
readonly output: number;
|
|
4568
|
+
readonly reasoning: number;
|
|
4569
|
+
readonly cache: {
|
|
4570
|
+
readonly read: number;
|
|
4571
|
+
readonly write: number;
|
|
4572
|
+
};
|
|
4573
|
+
};
|
|
4574
|
+
readonly outcome?: "succeeded" | "failed" | "interrupted";
|
|
4575
|
+
readonly time: {
|
|
4576
|
+
readonly created: number;
|
|
4577
|
+
readonly updated: number;
|
|
4578
|
+
readonly busy?: number;
|
|
4579
|
+
readonly idle?: number;
|
|
4580
|
+
readonly viewed?: number;
|
|
4581
|
+
readonly archived?: number;
|
|
4582
|
+
};
|
|
4583
|
+
readonly title?: string;
|
|
4584
|
+
readonly subpath?: string;
|
|
4585
|
+
readonly metadata?: {
|
|
4586
|
+
readonly [x: string]: JsonValue;
|
|
4587
|
+
};
|
|
4588
|
+
readonly permissions?: ReadonlyArray<{
|
|
4589
|
+
readonly action: string;
|
|
4590
|
+
readonly resource: string;
|
|
4591
|
+
readonly effect: "allow" | "deny" | "ask";
|
|
4592
|
+
}>;
|
|
4593
|
+
readonly revert?: {
|
|
4594
|
+
readonly messageID: string;
|
|
4595
|
+
readonly partID?: string;
|
|
4596
|
+
readonly snapshot?: string;
|
|
4597
|
+
readonly files?: ReadonlyArray<{
|
|
4598
|
+
readonly file: string;
|
|
4599
|
+
readonly patch: string;
|
|
4600
|
+
readonly additions: number;
|
|
4601
|
+
readonly deletions: number;
|
|
4602
|
+
readonly status: "added" | "deleted" | "modified";
|
|
4603
|
+
readonly more?: true;
|
|
4604
|
+
}>;
|
|
4605
|
+
};
|
|
4606
|
+
readonly location: {
|
|
4607
|
+
readonly directory: string;
|
|
4608
|
+
};
|
|
4609
|
+
};
|
|
4610
|
+
readonly messages: ReadonlyArray<JsonValue>;
|
|
4611
|
+
readonly location?: {
|
|
4612
|
+
readonly directory: string;
|
|
4613
|
+
} | null | undefined;
|
|
4614
|
+
};
|
|
4615
|
+
export type ExperimentalSessionImportOutput = {
|
|
4616
|
+
data: SessionInfo;
|
|
4617
|
+
}["data"];
|
|
4618
|
+
export type ExperimentalSessionExportInput = {
|
|
4619
|
+
readonly sessionID: string;
|
|
4620
|
+
readonly sanitize?: boolean | undefined;
|
|
4621
|
+
};
|
|
4622
|
+
export type ExperimentalSessionExportOutput = {
|
|
4623
|
+
data: SessionTransferData;
|
|
4624
|
+
}["data"];
|
|
4625
|
+
export type ExperimentalSessionSkillInput = {
|
|
4626
|
+
readonly sessionID: string;
|
|
4627
|
+
readonly id: string;
|
|
4628
|
+
readonly resume?: boolean | undefined;
|
|
4629
|
+
};
|
|
4630
|
+
export type ExperimentalSessionSkillOutput = void;
|
|
4631
|
+
export type ExperimentalSessionWaitInput = {
|
|
4632
|
+
readonly sessionID: string;
|
|
4633
|
+
};
|
|
4634
|
+
export type ExperimentalSessionWaitOutput = void;
|
|
4635
|
+
export type ExperimentalSessionInstructionsEntryListInput = {
|
|
4636
|
+
readonly sessionID: string;
|
|
4637
|
+
};
|
|
4638
|
+
export type ExperimentalSessionInstructionsEntryListOutput = {
|
|
4639
|
+
data: Array<InstructionEntryInfo>;
|
|
4640
|
+
}["data"];
|
|
4641
|
+
export type ExperimentalSessionInstructionsEntryPutInput = {
|
|
4642
|
+
readonly sessionID: string;
|
|
4643
|
+
readonly key: string;
|
|
4644
|
+
readonly value: JsonValue;
|
|
4645
|
+
};
|
|
4646
|
+
export type ExperimentalSessionInstructionsEntryPutOutput = void;
|
|
4647
|
+
export type ExperimentalSessionInstructionsEntryRemoveInput = {
|
|
4648
|
+
readonly sessionID: string;
|
|
4649
|
+
readonly key: string;
|
|
4650
|
+
};
|
|
4651
|
+
export type ExperimentalSessionInstructionsEntryRemoveOutput = void;
|
|
4652
|
+
export type ExperimentalSessionLogInput = {
|
|
4653
|
+
readonly sessionID: string;
|
|
4654
|
+
readonly after?: number | undefined;
|
|
4655
|
+
readonly follow?: boolean | undefined;
|
|
4656
|
+
};
|
|
4657
|
+
export type ExperimentalSessionLogOutput = SessionLogItem;
|
|
4557
4658
|
export type MessageListInput = {
|
|
4558
4659
|
readonly sessionID: string;
|
|
4559
4660
|
readonly limit?: number | undefined;
|
|
@@ -4581,7 +4682,7 @@ export type ModelDefaultOutput = {
|
|
|
4581
4682
|
location: LocationPublicRef;
|
|
4582
4683
|
data: ModelInfo | null;
|
|
4583
4684
|
};
|
|
4584
|
-
export type
|
|
4685
|
+
export type ExperimentalGenerateTextInput = {
|
|
4585
4686
|
readonly prompt: string;
|
|
4586
4687
|
readonly model?: {
|
|
4587
4688
|
readonly id: string;
|
|
@@ -4589,8 +4690,8 @@ export type GenerateTextInput = {
|
|
|
4589
4690
|
readonly variant?: string;
|
|
4590
4691
|
} | null | undefined;
|
|
4591
4692
|
};
|
|
4592
|
-
export type
|
|
4593
|
-
export type
|
|
4693
|
+
export type ExperimentalGenerateTextOutput = GenerateTextResponse["data"];
|
|
4694
|
+
export type ExperimentalGenerateImageInput = {
|
|
4594
4695
|
readonly model: {
|
|
4595
4696
|
readonly id: string;
|
|
4596
4697
|
readonly providerID: string;
|
|
@@ -4606,8 +4707,8 @@ export type GenerateImageInput = {
|
|
|
4606
4707
|
readonly aspect?: `${number}${":"}${number}` | undefined;
|
|
4607
4708
|
readonly resolution?: ("1K" | "2K" | "4K" | (string & {})) | undefined;
|
|
4608
4709
|
};
|
|
4609
|
-
export type
|
|
4610
|
-
export type
|
|
4710
|
+
export type ExperimentalGenerateImageOutput = GenerateImageResponse["data"];
|
|
4711
|
+
export type ExperimentalGenerateDecisionsInput = {
|
|
4611
4712
|
readonly model: {
|
|
4612
4713
|
readonly id: string;
|
|
4613
4714
|
readonly providerID: string;
|
|
@@ -4647,9 +4748,9 @@ export type GenerateDecisionsInput = {
|
|
|
4647
4748
|
}>;
|
|
4648
4749
|
}>;
|
|
4649
4750
|
};
|
|
4650
|
-
export type
|
|
4651
|
-
export type
|
|
4652
|
-
export type
|
|
4751
|
+
export type ExperimentalGenerateDecisionsOutput = GenerateDecisionsResponse["data"];
|
|
4752
|
+
export type ExperimentalVoiceModelsOutput = VoiceModelsResponse["data"];
|
|
4753
|
+
export type ExperimentalVoiceSessionInput = {
|
|
4653
4754
|
readonly model: string;
|
|
4654
4755
|
readonly session?: {
|
|
4655
4756
|
readonly [x: string]: unknown;
|
|
@@ -4662,7 +4763,7 @@ export type VoiceSessionInput = {
|
|
|
4662
4763
|
readonly type: "websocket";
|
|
4663
4764
|
};
|
|
4664
4765
|
};
|
|
4665
|
-
export type
|
|
4766
|
+
export type ExperimentalVoiceSessionOutput = VoiceSessionResponse["data"];
|
|
4666
4767
|
export type ProviderListInput = {
|
|
4667
4768
|
readonly location?: {
|
|
4668
4769
|
readonly directory?: string | undefined;
|
|
@@ -4701,13 +4802,6 @@ export type IntegrationGetOutput = {
|
|
|
4701
4802
|
location: LocationPublicRef;
|
|
4702
4803
|
data: IntegrationInfo;
|
|
4703
4804
|
};
|
|
4704
|
-
export type IntegrationWellknownAddInput = {
|
|
4705
|
-
readonly location?: {
|
|
4706
|
-
readonly directory?: string | undefined;
|
|
4707
|
-
} | undefined;
|
|
4708
|
-
readonly url: string;
|
|
4709
|
-
};
|
|
4710
|
-
export type IntegrationWellknownAddOutput = void;
|
|
4711
4805
|
export type IntegrationConnectKeyInput = {
|
|
4712
4806
|
readonly integrationID: string;
|
|
4713
4807
|
readonly location?: {
|
|
@@ -4806,6 +4900,13 @@ export type IntegrationCommandCancelInput = {
|
|
|
4806
4900
|
} | undefined;
|
|
4807
4901
|
};
|
|
4808
4902
|
export type IntegrationCommandCancelOutput = void;
|
|
4903
|
+
export type ExperimentalIntegrationWellknownAddInput = {
|
|
4904
|
+
readonly location?: {
|
|
4905
|
+
readonly directory?: string | undefined;
|
|
4906
|
+
} | undefined;
|
|
4907
|
+
readonly url: string;
|
|
4908
|
+
};
|
|
4909
|
+
export type ExperimentalIntegrationWellknownAddOutput = void;
|
|
4809
4910
|
export type McpListInput = {
|
|
4810
4911
|
readonly location?: {
|
|
4811
4912
|
readonly directory?: string | undefined;
|
|
@@ -4815,7 +4916,16 @@ export type McpListOutput = {
|
|
|
4815
4916
|
location: LocationPublicRef;
|
|
4816
4917
|
data: Array<McpServer>;
|
|
4817
4918
|
};
|
|
4818
|
-
export type
|
|
4919
|
+
export type McpResourceCatalogInput = {
|
|
4920
|
+
readonly location?: {
|
|
4921
|
+
readonly directory?: string | undefined;
|
|
4922
|
+
} | undefined;
|
|
4923
|
+
};
|
|
4924
|
+
export type McpResourceCatalogOutput = {
|
|
4925
|
+
location: LocationPublicRef;
|
|
4926
|
+
data: McpResourceCatalog;
|
|
4927
|
+
};
|
|
4928
|
+
export type ExperimentalMcpAddInput = {
|
|
4819
4929
|
readonly server: string;
|
|
4820
4930
|
readonly location?: {
|
|
4821
4931
|
readonly directory?: string | undefined;
|
|
@@ -4859,45 +4969,36 @@ export type McpAddInput = {
|
|
|
4859
4969
|
readonly protocol?: "legacy" | "auto" | "2026-07-28";
|
|
4860
4970
|
};
|
|
4861
4971
|
};
|
|
4862
|
-
export type
|
|
4863
|
-
export type
|
|
4972
|
+
export type ExperimentalMcpAddOutput = void;
|
|
4973
|
+
export type ExperimentalMcpRemoveInput = {
|
|
4864
4974
|
readonly server: string;
|
|
4865
4975
|
readonly location?: {
|
|
4866
4976
|
readonly directory?: string | undefined;
|
|
4867
4977
|
} | undefined;
|
|
4868
4978
|
};
|
|
4869
|
-
export type
|
|
4870
|
-
export type
|
|
4979
|
+
export type ExperimentalMcpRemoveOutput = void;
|
|
4980
|
+
export type ExperimentalMcpConnectInput = {
|
|
4871
4981
|
readonly server: string;
|
|
4872
4982
|
readonly location?: {
|
|
4873
4983
|
readonly directory?: string | undefined;
|
|
4874
4984
|
} | undefined;
|
|
4875
4985
|
};
|
|
4876
|
-
export type
|
|
4877
|
-
export type
|
|
4986
|
+
export type ExperimentalMcpConnectOutput = void;
|
|
4987
|
+
export type ExperimentalMcpDisconnectInput = {
|
|
4878
4988
|
readonly server: string;
|
|
4879
4989
|
readonly location?: {
|
|
4880
4990
|
readonly directory?: string | undefined;
|
|
4881
4991
|
} | undefined;
|
|
4882
4992
|
};
|
|
4883
|
-
export type
|
|
4884
|
-
export type
|
|
4885
|
-
readonly location?: {
|
|
4886
|
-
readonly directory?: string | undefined;
|
|
4887
|
-
} | undefined;
|
|
4888
|
-
};
|
|
4889
|
-
export type McpResourceCatalogOutput = {
|
|
4890
|
-
location: LocationPublicRef;
|
|
4891
|
-
data: McpResourceCatalog;
|
|
4892
|
-
};
|
|
4893
|
-
export type McpClientTokenInput = {
|
|
4993
|
+
export type ExperimentalMcpDisconnectOutput = void;
|
|
4994
|
+
export type ExperimentalMcpClientTokenInput = {
|
|
4894
4995
|
readonly location?: {
|
|
4895
4996
|
readonly directory?: string | undefined;
|
|
4896
4997
|
} | undefined;
|
|
4897
4998
|
readonly name: string;
|
|
4898
4999
|
readonly "x-opencode-ticket"?: string | undefined;
|
|
4899
5000
|
};
|
|
4900
|
-
export type
|
|
5001
|
+
export type ExperimentalMcpClientTokenOutput = {
|
|
4901
5002
|
location: LocationPublicRef;
|
|
4902
5003
|
data: PtyTicketConnectToken;
|
|
4903
5004
|
};
|
|
@@ -5073,31 +5174,31 @@ export type FileFindOutput = {
|
|
|
5073
5174
|
location: LocationPublicRef;
|
|
5074
5175
|
data: Array<FileSystemEntry>;
|
|
5075
5176
|
};
|
|
5076
|
-
export type
|
|
5177
|
+
export type ExperimentalFileWriteInput = {
|
|
5077
5178
|
readonly location?: {
|
|
5078
5179
|
readonly directory?: string | undefined;
|
|
5079
5180
|
} | undefined;
|
|
5080
5181
|
readonly path: string;
|
|
5081
5182
|
readonly payload: globalThis.Uint8Array;
|
|
5082
5183
|
};
|
|
5083
|
-
export type
|
|
5184
|
+
export type ExperimentalFileWriteOutput = {
|
|
5084
5185
|
location: LocationPublicRef;
|
|
5085
5186
|
data: FileSystemWrite;
|
|
5086
5187
|
};
|
|
5087
|
-
export type
|
|
5188
|
+
export type ExperimentalFileWatchInput = {
|
|
5088
5189
|
readonly location?: {
|
|
5089
5190
|
readonly directory?: string | undefined;
|
|
5090
5191
|
} | undefined;
|
|
5091
5192
|
readonly path: string;
|
|
5092
5193
|
};
|
|
5093
|
-
export type
|
|
5094
|
-
export type
|
|
5194
|
+
export type ExperimentalFileWatchOutput = void;
|
|
5195
|
+
export type ExperimentalFileUnwatchInput = {
|
|
5095
5196
|
readonly location?: {
|
|
5096
5197
|
readonly directory?: string | undefined;
|
|
5097
5198
|
} | undefined;
|
|
5098
5199
|
readonly path: string;
|
|
5099
5200
|
};
|
|
5100
|
-
export type
|
|
5201
|
+
export type ExperimentalFileUnwatchOutput = void;
|
|
5101
5202
|
export type CommandListInput = {
|
|
5102
5203
|
readonly location?: {
|
|
5103
5204
|
readonly directory?: string | undefined;
|
|
@@ -5269,6 +5370,84 @@ export type ExperimentalMediaGetInput = {
|
|
|
5269
5370
|
readonly hash: string;
|
|
5270
5371
|
};
|
|
5271
5372
|
export type ExperimentalMediaGetOutput = globalThis.Uint8Array;
|
|
5373
|
+
export type ExperimentalScheduleCreateInput = {
|
|
5374
|
+
readonly sessionID: string;
|
|
5375
|
+
readonly name?: string | undefined;
|
|
5376
|
+
readonly when?: ({
|
|
5377
|
+
readonly in: string;
|
|
5378
|
+
readonly at?: never;
|
|
5379
|
+
readonly every?: never;
|
|
5380
|
+
readonly cron?: never;
|
|
5381
|
+
readonly tz?: string;
|
|
5382
|
+
} | {
|
|
5383
|
+
readonly at: string;
|
|
5384
|
+
readonly in?: never;
|
|
5385
|
+
readonly every?: never;
|
|
5386
|
+
readonly cron?: never;
|
|
5387
|
+
readonly tz?: string;
|
|
5388
|
+
} | {
|
|
5389
|
+
readonly every: string;
|
|
5390
|
+
readonly in?: never;
|
|
5391
|
+
readonly at?: never;
|
|
5392
|
+
readonly cron?: never;
|
|
5393
|
+
readonly tz?: string;
|
|
5394
|
+
} | {
|
|
5395
|
+
readonly cron: string;
|
|
5396
|
+
readonly in?: never;
|
|
5397
|
+
readonly at?: never;
|
|
5398
|
+
readonly every?: never;
|
|
5399
|
+
readonly tz?: string;
|
|
5400
|
+
}) | undefined;
|
|
5401
|
+
readonly if?: {
|
|
5402
|
+
readonly run: string;
|
|
5403
|
+
readonly is?: string;
|
|
5404
|
+
readonly matches?: string;
|
|
5405
|
+
readonly changes?: boolean;
|
|
5406
|
+
} | undefined;
|
|
5407
|
+
readonly until?: {
|
|
5408
|
+
readonly run: string;
|
|
5409
|
+
readonly is?: string;
|
|
5410
|
+
readonly matches?: string;
|
|
5411
|
+
readonly changes?: boolean;
|
|
5412
|
+
} | undefined;
|
|
5413
|
+
readonly ends?: {
|
|
5414
|
+
readonly after?: string;
|
|
5415
|
+
readonly at?: string;
|
|
5416
|
+
readonly times?: number;
|
|
5417
|
+
} | undefined;
|
|
5418
|
+
readonly prompt: string;
|
|
5419
|
+
};
|
|
5420
|
+
export type ExperimentalScheduleCreateOutput = {
|
|
5421
|
+
data: ScheduleInfo;
|
|
5422
|
+
}["data"];
|
|
5423
|
+
export type ExperimentalScheduleListInput = {
|
|
5424
|
+
readonly sessionID: string;
|
|
5425
|
+
};
|
|
5426
|
+
export type ExperimentalScheduleListOutput = {
|
|
5427
|
+
data: Array<ScheduleInfo>;
|
|
5428
|
+
}["data"];
|
|
5429
|
+
export type ExperimentalScheduleGetInput = {
|
|
5430
|
+
readonly scheduleID: string;
|
|
5431
|
+
};
|
|
5432
|
+
export type ExperimentalScheduleGetOutput = {
|
|
5433
|
+
data: ScheduleInfo;
|
|
5434
|
+
}["data"];
|
|
5435
|
+
export type ExperimentalSchedulePauseInput = {
|
|
5436
|
+
readonly scheduleID: string;
|
|
5437
|
+
};
|
|
5438
|
+
export type ExperimentalSchedulePauseOutput = {
|
|
5439
|
+
data: ScheduleInfo;
|
|
5440
|
+
}["data"];
|
|
5441
|
+
export type ExperimentalScheduleResumeInput = {
|
|
5442
|
+
readonly scheduleID: string;
|
|
5443
|
+
};
|
|
5444
|
+
export type ExperimentalScheduleResumeOutput = {
|
|
5445
|
+
data: ScheduleInfo;
|
|
5446
|
+
}["data"];
|
|
5447
|
+
export type ExperimentalScheduleDeleteInput = {
|
|
5448
|
+
readonly scheduleID: string;
|
|
5449
|
+
};
|
|
5450
|
+
export type ExperimentalScheduleDeleteOutput = void;
|
|
5272
5451
|
export type ShellListInput = {
|
|
5273
5452
|
readonly location?: {
|
|
5274
5453
|
readonly directory?: string | undefined;
|
|
@@ -5437,7 +5616,7 @@ export type DebugLocationEvictInput = {
|
|
|
5437
5616
|
} | undefined;
|
|
5438
5617
|
};
|
|
5439
5618
|
export type DebugLocationEvictOutput = void;
|
|
5440
|
-
export type
|
|
5619
|
+
export type ExperimentalMigrationV1StatusOutput = {
|
|
5441
5620
|
status: "required" | "completed";
|
|
5442
5621
|
} | {
|
|
5443
5622
|
status: "running";
|
|
@@ -5473,12 +5652,12 @@ export type WebsearchQueryOutput = {
|
|
|
5473
5652
|
results: Array<WebSearchResult>;
|
|
5474
5653
|
};
|
|
5475
5654
|
};
|
|
5476
|
-
export type
|
|
5655
|
+
export type ExperimentalUsageLimitsInput = {
|
|
5477
5656
|
readonly location?: {
|
|
5478
5657
|
readonly directory?: string | undefined;
|
|
5479
5658
|
} | undefined;
|
|
5480
5659
|
};
|
|
5481
|
-
export type
|
|
5660
|
+
export type ExperimentalUsageLimitsOutput = {
|
|
5482
5661
|
location: LocationPublicRef;
|
|
5483
5662
|
data: UsageLimitsInfo | null;
|
|
5484
5663
|
};
|
|
@@ -5489,7 +5668,107 @@ export type ConfigGetInput = {
|
|
|
5489
5668
|
};
|
|
5490
5669
|
export type ConfigGetOutput = Array<ConfigEntry>;
|
|
5491
5670
|
export type ConfigShellsOutput = Array<ConfigShellOption>;
|
|
5492
|
-
export type
|
|
5671
|
+
export type ExperimentalConfigUpdateInput = {
|
|
5493
5672
|
readonly shell: string | null;
|
|
5494
5673
|
};
|
|
5495
|
-
export type
|
|
5674
|
+
export type ExperimentalConfigUpdateOutput = void;
|
|
5675
|
+
/** @deprecated Use `ExperimentalSessionStatsInput`. Removed in the next minor. */
|
|
5676
|
+
export type SessionStatsInput = ExperimentalSessionStatsInput;
|
|
5677
|
+
/** @deprecated Use `ExperimentalSessionStatsOutput`. Removed in the next minor. */
|
|
5678
|
+
export type SessionStatsOutput = ExperimentalSessionStatsOutput;
|
|
5679
|
+
/** @deprecated Use `ExperimentalSessionImportInput`. Removed in the next minor. */
|
|
5680
|
+
export type SessionImportInput = ExperimentalSessionImportInput;
|
|
5681
|
+
/** @deprecated Use `ExperimentalSessionImportOutput`. Removed in the next minor. */
|
|
5682
|
+
export type SessionImportOutput = ExperimentalSessionImportOutput;
|
|
5683
|
+
/** @deprecated Use `ExperimentalSessionExportInput`. Removed in the next minor. */
|
|
5684
|
+
export type SessionExportInput = ExperimentalSessionExportInput;
|
|
5685
|
+
/** @deprecated Use `ExperimentalSessionExportOutput`. Removed in the next minor. */
|
|
5686
|
+
export type SessionExportOutput = ExperimentalSessionExportOutput;
|
|
5687
|
+
/** @deprecated Use `ExperimentalSessionSkillInput`. Removed in the next minor. */
|
|
5688
|
+
export type SessionSkillInput = ExperimentalSessionSkillInput;
|
|
5689
|
+
/** @deprecated Use `ExperimentalSessionSkillOutput`. Removed in the next minor. */
|
|
5690
|
+
export type SessionSkillOutput = ExperimentalSessionSkillOutput;
|
|
5691
|
+
/** @deprecated Use `ExperimentalSessionWaitInput`. Removed in the next minor. */
|
|
5692
|
+
export type SessionWaitInput = ExperimentalSessionWaitInput;
|
|
5693
|
+
/** @deprecated Use `ExperimentalSessionWaitOutput`. Removed in the next minor. */
|
|
5694
|
+
export type SessionWaitOutput = ExperimentalSessionWaitOutput;
|
|
5695
|
+
/** @deprecated Use `ExperimentalSessionInstructionsEntryListInput`. Removed in the next minor. */
|
|
5696
|
+
export type SessionInstructionsEntryListInput = ExperimentalSessionInstructionsEntryListInput;
|
|
5697
|
+
/** @deprecated Use `ExperimentalSessionInstructionsEntryListOutput`. Removed in the next minor. */
|
|
5698
|
+
export type SessionInstructionsEntryListOutput = ExperimentalSessionInstructionsEntryListOutput;
|
|
5699
|
+
/** @deprecated Use `ExperimentalSessionInstructionsEntryPutInput`. Removed in the next minor. */
|
|
5700
|
+
export type SessionInstructionsEntryPutInput = ExperimentalSessionInstructionsEntryPutInput;
|
|
5701
|
+
/** @deprecated Use `ExperimentalSessionInstructionsEntryPutOutput`. Removed in the next minor. */
|
|
5702
|
+
export type SessionInstructionsEntryPutOutput = ExperimentalSessionInstructionsEntryPutOutput;
|
|
5703
|
+
/** @deprecated Use `ExperimentalSessionInstructionsEntryRemoveInput`. Removed in the next minor. */
|
|
5704
|
+
export type SessionInstructionsEntryRemoveInput = ExperimentalSessionInstructionsEntryRemoveInput;
|
|
5705
|
+
/** @deprecated Use `ExperimentalSessionInstructionsEntryRemoveOutput`. Removed in the next minor. */
|
|
5706
|
+
export type SessionInstructionsEntryRemoveOutput = ExperimentalSessionInstructionsEntryRemoveOutput;
|
|
5707
|
+
/** @deprecated Use `ExperimentalSessionLogInput`. Removed in the next minor. */
|
|
5708
|
+
export type SessionLogInput = ExperimentalSessionLogInput;
|
|
5709
|
+
/** @deprecated Use `ExperimentalSessionLogOutput`. Removed in the next minor. */
|
|
5710
|
+
export type SessionLogOutput = ExperimentalSessionLogOutput;
|
|
5711
|
+
/** @deprecated Use `ExperimentalGenerateTextInput`. Removed in the next minor. */
|
|
5712
|
+
export type GenerateTextInput = ExperimentalGenerateTextInput;
|
|
5713
|
+
/** @deprecated Use `ExperimentalGenerateTextOutput`. Removed in the next minor. */
|
|
5714
|
+
export type GenerateTextOutput = ExperimentalGenerateTextOutput;
|
|
5715
|
+
/** @deprecated Use `ExperimentalGenerateImageInput`. Removed in the next minor. */
|
|
5716
|
+
export type GenerateImageInput = ExperimentalGenerateImageInput;
|
|
5717
|
+
/** @deprecated Use `ExperimentalGenerateImageOutput`. Removed in the next minor. */
|
|
5718
|
+
export type GenerateImageOutput = ExperimentalGenerateImageOutput;
|
|
5719
|
+
/** @deprecated Use `ExperimentalGenerateDecisionsInput`. Removed in the next minor. */
|
|
5720
|
+
export type GenerateDecisionsInput = ExperimentalGenerateDecisionsInput;
|
|
5721
|
+
/** @deprecated Use `ExperimentalGenerateDecisionsOutput`. Removed in the next minor. */
|
|
5722
|
+
export type GenerateDecisionsOutput = ExperimentalGenerateDecisionsOutput;
|
|
5723
|
+
/** @deprecated Use `ExperimentalVoiceModelsOutput`. Removed in the next minor. */
|
|
5724
|
+
export type VoiceModelsOutput = ExperimentalVoiceModelsOutput;
|
|
5725
|
+
/** @deprecated Use `ExperimentalVoiceSessionInput`. Removed in the next minor. */
|
|
5726
|
+
export type VoiceSessionInput = ExperimentalVoiceSessionInput;
|
|
5727
|
+
/** @deprecated Use `ExperimentalVoiceSessionOutput`. Removed in the next minor. */
|
|
5728
|
+
export type VoiceSessionOutput = ExperimentalVoiceSessionOutput;
|
|
5729
|
+
/** @deprecated Use `ExperimentalIntegrationWellknownAddInput`. Removed in the next minor. */
|
|
5730
|
+
export type IntegrationWellknownAddInput = ExperimentalIntegrationWellknownAddInput;
|
|
5731
|
+
/** @deprecated Use `ExperimentalIntegrationWellknownAddOutput`. Removed in the next minor. */
|
|
5732
|
+
export type IntegrationWellknownAddOutput = ExperimentalIntegrationWellknownAddOutput;
|
|
5733
|
+
/** @deprecated Use `ExperimentalMcpAddInput`. Removed in the next minor. */
|
|
5734
|
+
export type McpAddInput = ExperimentalMcpAddInput;
|
|
5735
|
+
/** @deprecated Use `ExperimentalMcpAddOutput`. Removed in the next minor. */
|
|
5736
|
+
export type McpAddOutput = ExperimentalMcpAddOutput;
|
|
5737
|
+
/** @deprecated Use `ExperimentalMcpRemoveInput`. Removed in the next minor. */
|
|
5738
|
+
export type McpRemoveInput = ExperimentalMcpRemoveInput;
|
|
5739
|
+
/** @deprecated Use `ExperimentalMcpRemoveOutput`. Removed in the next minor. */
|
|
5740
|
+
export type McpRemoveOutput = ExperimentalMcpRemoveOutput;
|
|
5741
|
+
/** @deprecated Use `ExperimentalMcpConnectInput`. Removed in the next minor. */
|
|
5742
|
+
export type McpConnectInput = ExperimentalMcpConnectInput;
|
|
5743
|
+
/** @deprecated Use `ExperimentalMcpConnectOutput`. Removed in the next minor. */
|
|
5744
|
+
export type McpConnectOutput = ExperimentalMcpConnectOutput;
|
|
5745
|
+
/** @deprecated Use `ExperimentalMcpDisconnectInput`. Removed in the next minor. */
|
|
5746
|
+
export type McpDisconnectInput = ExperimentalMcpDisconnectInput;
|
|
5747
|
+
/** @deprecated Use `ExperimentalMcpDisconnectOutput`. Removed in the next minor. */
|
|
5748
|
+
export type McpDisconnectOutput = ExperimentalMcpDisconnectOutput;
|
|
5749
|
+
/** @deprecated Use `ExperimentalMcpClientTokenInput`. Removed in the next minor. */
|
|
5750
|
+
export type McpClientTokenInput = ExperimentalMcpClientTokenInput;
|
|
5751
|
+
/** @deprecated Use `ExperimentalMcpClientTokenOutput`. Removed in the next minor. */
|
|
5752
|
+
export type McpClientTokenOutput = ExperimentalMcpClientTokenOutput;
|
|
5753
|
+
/** @deprecated Use `ExperimentalFileWriteInput`. Removed in the next minor. */
|
|
5754
|
+
export type FileWriteInput = ExperimentalFileWriteInput;
|
|
5755
|
+
/** @deprecated Use `ExperimentalFileWriteOutput`. Removed in the next minor. */
|
|
5756
|
+
export type FileWriteOutput = ExperimentalFileWriteOutput;
|
|
5757
|
+
/** @deprecated Use `ExperimentalFileWatchInput`. Removed in the next minor. */
|
|
5758
|
+
export type FileWatchInput = ExperimentalFileWatchInput;
|
|
5759
|
+
/** @deprecated Use `ExperimentalFileWatchOutput`. Removed in the next minor. */
|
|
5760
|
+
export type FileWatchOutput = ExperimentalFileWatchOutput;
|
|
5761
|
+
/** @deprecated Use `ExperimentalFileUnwatchInput`. Removed in the next minor. */
|
|
5762
|
+
export type FileUnwatchInput = ExperimentalFileUnwatchInput;
|
|
5763
|
+
/** @deprecated Use `ExperimentalFileUnwatchOutput`. Removed in the next minor. */
|
|
5764
|
+
export type FileUnwatchOutput = ExperimentalFileUnwatchOutput;
|
|
5765
|
+
/** @deprecated Use `ExperimentalMigrationV1StatusOutput`. Removed in the next minor. */
|
|
5766
|
+
export type MigrationV1StatusOutput = ExperimentalMigrationV1StatusOutput;
|
|
5767
|
+
/** @deprecated Use `ExperimentalUsageLimitsInput`. Removed in the next minor. */
|
|
5768
|
+
export type UsageLimitsInput = ExperimentalUsageLimitsInput;
|
|
5769
|
+
/** @deprecated Use `ExperimentalUsageLimitsOutput`. Removed in the next minor. */
|
|
5770
|
+
export type UsageLimitsOutput = ExperimentalUsageLimitsOutput;
|
|
5771
|
+
/** @deprecated Use `ExperimentalConfigUpdateInput`. Removed in the next minor. */
|
|
5772
|
+
export type ConfigUpdateInput = ExperimentalConfigUpdateInput;
|
|
5773
|
+
/** @deprecated Use `ExperimentalConfigUpdateOutput`. Removed in the next minor. */
|
|
5774
|
+
export type ConfigUpdateOutput = ExperimentalConfigUpdateOutput;
|