@opencode/client 2.2.0 → 2.2.1
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-jpd9ebw3.js → mcp-0e9xp5b3.js} +17 -17
- package/dist/chunks/{service-timing-myz4ngx9.js → mcp-15p82y03.js} +5 -5
- package/dist/chunks/{service-timing-rxd7awy0.js → mcp-4z60zgnr.js} +229 -126
- package/dist/chunks/mcp-60xe5cbf.js +4 -0
- package/dist/chunks/mcp-6v8v0sqq.js +30 -0
- package/dist/chunks/{service-timing-8ye1ye6f.js → mcp-8ye1ye6f.js} +2 -2
- package/dist/chunks/{service-timing-cyxwqteg.js → mcp-csehnca4.js} +6 -2
- package/dist/chunks/{service-timing-8we1dz3p.js → mcp-cvg5j6d1.js} +6 -5
- package/dist/chunks/{service-timing-gecjxyvt.js → mcp-gecjxyvt.js} +1 -1
- package/dist/chunks/{service-timing-ab9bm97w.js → mcp-kdshn947.js} +1 -1
- package/dist/chunks/{service-timing-js54wxgp.js → mcp-nwcpakzx.js} +2 -2
- package/dist/chunks/{service-timing-knyqkv17.js → mcp-qhd5h5hk.js} +2 -2
- package/dist/chunks/{service-timing-ryy6kscr.js → mcp-ryy6kscr.js} +1 -1
- package/dist/chunks/{service-timing-7f0py9js.js → mcp-y2etg5bs.js} +2 -2
- package/dist/chunks/{service-timing-wcsbjfhx.js → mcp-yn2a71yh.js} +498 -374
- package/dist/contract.d.ts +1 -1
- package/dist/contract.js +3 -1
- package/dist/effect/api/api.d.ts +632 -342
- package/dist/effect/client.d.ts +330 -121
- package/dist/effect/client.js +12 -12
- package/dist/effect/generated/client-error.js +3 -3
- package/dist/effect/generated/client.d.ts +365 -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 +16 -14
- package/dist/promise/generated/types.d.ts +638 -396
- package/dist/promise/generated/types.js +7 -5
- package/dist/promise/index.js +19 -17
- 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 +5 -5
- 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 → mcp-6mptkzbc.js} +0 -0
- /package/dist/chunks/{service-timing-6mq2wh8y.js → mcp-6mq2wh8y.js} +0 -0
- /package/dist/chunks/{service-timing-8s2anffy.js → mcp-8s2anffy.js} +0 -0
- /package/dist/chunks/{service-timing-9rqn6x4v.js → mcp-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{service-timing-gne7h7mq.js → mcp-gne7h7mq.js} +0 -0
- /package/dist/chunks/{service-timing-m2eywc8w.js → mcp-m2eywc8w.js} +0 -0
- /package/dist/chunks/{service-timing-qav6mfdz.js → mcp-qav6mfdz.js} +0 -0
- /package/dist/chunks/{service-timing-sxt88q69.js → mcp-sxt88q69.js} +0 -0
- /package/dist/chunks/{service-timing-ve4aws36.js → mcp-ve4aws36.js} +0 -0
- /package/dist/chunks/{service-timing-vyas3vgt.js → mcp-vyas3vgt.js} +0 -0
- /package/dist/chunks/{service-timing-xgnj2w4v.js → mcp-xgnj2w4v.js} +0 -0
- /package/dist/chunks/{service-timing-ydhz1zrh.js → mcp-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,24 @@ 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 ScheduleActionPrompt = {
|
|
482
|
+
type: "prompt";
|
|
483
|
+
prompt: string;
|
|
484
|
+
};
|
|
485
|
+
export type ScheduleStatus = "active" | "paused" | "done";
|
|
486
|
+
export type ScheduleOutcome = "fired" | "late" | "skipped" | "disabled" | "failed";
|
|
469
487
|
export type ReferenceGitSource = {
|
|
470
488
|
type: "git";
|
|
471
489
|
repository: string;
|
|
@@ -554,6 +572,18 @@ export type ModelRef = {
|
|
|
554
572
|
export type ProviderCache = {
|
|
555
573
|
ttl?: ProviderCacheTTL;
|
|
556
574
|
};
|
|
575
|
+
export type ModelVariantSettings = {
|
|
576
|
+
compaction?: ProviderCompaction;
|
|
577
|
+
encoding?: ProviderEncoding;
|
|
578
|
+
} & {
|
|
579
|
+
[x: string]: any;
|
|
580
|
+
};
|
|
581
|
+
export type ConfigModelVariantSettings = {
|
|
582
|
+
compaction?: ProviderCompaction;
|
|
583
|
+
encoding?: ProviderEncoding;
|
|
584
|
+
} & {
|
|
585
|
+
[x: string]: JsonValue | null;
|
|
586
|
+
};
|
|
557
587
|
export type PermissionRule = {
|
|
558
588
|
action: string;
|
|
559
589
|
resource: string;
|
|
@@ -637,16 +667,6 @@ export type SessionRevert = {
|
|
|
637
667
|
snapshot?: SnapshotID;
|
|
638
668
|
files?: Array<FileDiffInfo>;
|
|
639
669
|
};
|
|
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
670
|
export type GenerateImageOutput2 = {
|
|
651
671
|
type: "image";
|
|
652
672
|
data: PromptBase64;
|
|
@@ -692,6 +712,26 @@ export type SkillInfo = {
|
|
|
692
712
|
path: AbsolutePath;
|
|
693
713
|
content: string;
|
|
694
714
|
};
|
|
715
|
+
export type SessionInboxSynthetic = {
|
|
716
|
+
id: SessionMessageID;
|
|
717
|
+
sessionID: SessionID;
|
|
718
|
+
time: {
|
|
719
|
+
created: number;
|
|
720
|
+
};
|
|
721
|
+
type: "synthetic";
|
|
722
|
+
payload: SessionInboxSyntheticPayload;
|
|
723
|
+
delivery: SessionInboxDelivery;
|
|
724
|
+
};
|
|
725
|
+
export type SessionInboxCompaction = {
|
|
726
|
+
id: SessionMessageID;
|
|
727
|
+
sessionID: SessionID;
|
|
728
|
+
time: {
|
|
729
|
+
created: number;
|
|
730
|
+
};
|
|
731
|
+
type: "compaction";
|
|
732
|
+
payload: SessionInboxCompactionPayload;
|
|
733
|
+
delivery: SessionInboxDelivery;
|
|
734
|
+
};
|
|
695
735
|
export type SessionMessageShell = {
|
|
696
736
|
id: SessionMessageID;
|
|
697
737
|
metadata?: {
|
|
@@ -796,59 +836,6 @@ export type SessionMessageIdle = {
|
|
|
796
836
|
outcome: "succeeded" | "failed" | "interrupted";
|
|
797
837
|
error?: SessionStructuredError;
|
|
798
838
|
};
|
|
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
839
|
export type FormNumberField = {
|
|
853
840
|
key: string;
|
|
854
841
|
title?: string;
|
|
@@ -917,6 +904,49 @@ export type FormMultiselectField = {
|
|
|
917
904
|
export type FormAnswer = {
|
|
918
905
|
[x: string]: FormValue;
|
|
919
906
|
};
|
|
907
|
+
export type SessionStatsTools = {
|
|
908
|
+
mode: "none";
|
|
909
|
+
} | {
|
|
910
|
+
mode: "summary";
|
|
911
|
+
totals: SessionStatsToolTotals;
|
|
912
|
+
} | {
|
|
913
|
+
mode: "detail";
|
|
914
|
+
totals: SessionStatsToolTotals;
|
|
915
|
+
usage: Array<SessionStatsToolUsage>;
|
|
916
|
+
};
|
|
917
|
+
export type InstructionEntryInfo = {
|
|
918
|
+
key: InstructionEntryKey;
|
|
919
|
+
value: JsonValue;
|
|
920
|
+
};
|
|
921
|
+
export type InstructionEntrySnapshot = Array<{
|
|
922
|
+
key: InstructionEntryKey;
|
|
923
|
+
value: JsonValue;
|
|
924
|
+
removed: boolean;
|
|
925
|
+
}>;
|
|
926
|
+
export type EventLogSynced = {
|
|
927
|
+
type: "log.synced";
|
|
928
|
+
aggregateID: string;
|
|
929
|
+
seq?: EventSeq;
|
|
930
|
+
};
|
|
931
|
+
export type LocationRef = {
|
|
932
|
+
directory: AbsolutePath;
|
|
933
|
+
workspaceID?: WorkspaceID;
|
|
934
|
+
};
|
|
935
|
+
export type SessionMessageAssistantText1 = {
|
|
936
|
+
type: "text";
|
|
937
|
+
text: string;
|
|
938
|
+
native?: SessionMessageNative1;
|
|
939
|
+
};
|
|
940
|
+
export type SessionMessageAssistantReasoning1 = {
|
|
941
|
+
type: "reasoning";
|
|
942
|
+
text: string;
|
|
943
|
+
native?: SessionMessageNative1;
|
|
944
|
+
time?: {
|
|
945
|
+
created: number;
|
|
946
|
+
completed?: number;
|
|
947
|
+
};
|
|
948
|
+
};
|
|
949
|
+
export type ToolContent1 = ToolTextContent | ToolFileContent1;
|
|
920
950
|
export type ModelCompatibility = {
|
|
921
951
|
reasoningField?: ModelReasoningField;
|
|
922
952
|
requireReasoning?: boolean;
|
|
@@ -1177,6 +1207,17 @@ export type FormMultiselectField1 = {
|
|
|
1177
1207
|
export type FormAnswer1 = {
|
|
1178
1208
|
[x: string]: FormValue1;
|
|
1179
1209
|
};
|
|
1210
|
+
export type ScheduleWhenIn = {
|
|
1211
|
+
type: "in";
|
|
1212
|
+
in: ScheduleDuration;
|
|
1213
|
+
tz?: string;
|
|
1214
|
+
};
|
|
1215
|
+
export type ScheduleWhenEvery = {
|
|
1216
|
+
type: "every";
|
|
1217
|
+
every: ScheduleDuration;
|
|
1218
|
+
tz?: string;
|
|
1219
|
+
};
|
|
1220
|
+
export type ScheduleAction = ScheduleActionPrompt;
|
|
1180
1221
|
export type VcsInfo = {
|
|
1181
1222
|
provider?: string;
|
|
1182
1223
|
branch: VcsBranch;
|
|
@@ -1243,12 +1284,6 @@ export type V2EventServerConnected = {
|
|
|
1243
1284
|
};
|
|
1244
1285
|
export type ReferenceSource = ReferenceLocalSource | ReferenceGitSource;
|
|
1245
1286
|
export type WorktreeList = Array<WorktreeDirectory>;
|
|
1246
|
-
export type SessionStatsModelUsage = {
|
|
1247
|
-
model: ModelRef;
|
|
1248
|
-
steps: number;
|
|
1249
|
-
tokens: TokenUsageInfo;
|
|
1250
|
-
cost: MoneyUSD;
|
|
1251
|
-
};
|
|
1252
1287
|
export type SessionMessageModelSelected = {
|
|
1253
1288
|
id: SessionMessageID;
|
|
1254
1289
|
metadata?: {
|
|
@@ -1278,6 +1313,12 @@ export type SessionMessageCompactionCompleted = {
|
|
|
1278
1313
|
cost?: MoneyUSD;
|
|
1279
1314
|
tokens?: TokenUsageInfo;
|
|
1280
1315
|
};
|
|
1316
|
+
export type SessionStatsModelUsage = {
|
|
1317
|
+
model: ModelRef;
|
|
1318
|
+
steps: number;
|
|
1319
|
+
tokens: TokenUsageInfo;
|
|
1320
|
+
cost: MoneyUSD;
|
|
1321
|
+
};
|
|
1281
1322
|
export type ProviderSettings = {
|
|
1282
1323
|
timeout?: number | false;
|
|
1283
1324
|
headerTimeout?: number | false;
|
|
@@ -1314,6 +1355,16 @@ export type ConfigModelSettings = {
|
|
|
1314
1355
|
} & {
|
|
1315
1356
|
[x: string]: JsonValue | null;
|
|
1316
1357
|
};
|
|
1358
|
+
export type ModelVariant = {
|
|
1359
|
+
id: string;
|
|
1360
|
+
settings?: ModelVariantSettings;
|
|
1361
|
+
headers?: {
|
|
1362
|
+
[x: string]: string;
|
|
1363
|
+
};
|
|
1364
|
+
body?: {
|
|
1365
|
+
[x: string]: any;
|
|
1366
|
+
};
|
|
1367
|
+
};
|
|
1317
1368
|
export type PermissionRuleset = Array<PermissionRule>;
|
|
1318
1369
|
export type UsageLimitsBudget = {
|
|
1319
1370
|
id: string;
|
|
@@ -1335,6 +1386,15 @@ export type GenerateImageResult = {
|
|
|
1335
1386
|
tokens?: GenerateUsage;
|
|
1336
1387
|
native?: GenerateNative;
|
|
1337
1388
|
};
|
|
1389
|
+
export type SessionInboxUserPayload = {
|
|
1390
|
+
text: string;
|
|
1391
|
+
files?: Array<PromptFileAttachment>;
|
|
1392
|
+
agents?: Array<PromptAgentAttachment>;
|
|
1393
|
+
skills?: Array<PromptSkillAttachment>;
|
|
1394
|
+
metadata?: {
|
|
1395
|
+
[x: string]: JsonValue;
|
|
1396
|
+
};
|
|
1397
|
+
};
|
|
1338
1398
|
export type SessionMessageUser = {
|
|
1339
1399
|
id: SessionMessageID;
|
|
1340
1400
|
metadata?: {
|
|
@@ -1349,15 +1409,6 @@ export type SessionMessageUser = {
|
|
|
1349
1409
|
skills?: Array<PromptSkillAttachment>;
|
|
1350
1410
|
type: "user";
|
|
1351
1411
|
};
|
|
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
1412
|
export type SessionInboxUserPayload1 = {
|
|
1362
1413
|
text: string;
|
|
1363
1414
|
files?: Array<PromptFileAttachment>;
|
|
@@ -1388,6 +1439,16 @@ export type SessionMessageToolStateError = {
|
|
|
1388
1439
|
[x: string]: JsonValue;
|
|
1389
1440
|
};
|
|
1390
1441
|
};
|
|
1442
|
+
export type FormField = FormStringField | FormNumberField | FormIntegerField | FormBooleanField | FormMultiselectField | FormExternalField;
|
|
1443
|
+
export type FormState = {
|
|
1444
|
+
status: "pending";
|
|
1445
|
+
} | {
|
|
1446
|
+
status: "answered";
|
|
1447
|
+
answer: FormAnswer;
|
|
1448
|
+
} | {
|
|
1449
|
+
status: "cancelled";
|
|
1450
|
+
message?: string;
|
|
1451
|
+
};
|
|
1391
1452
|
export type SessionAgentSelected = {
|
|
1392
1453
|
id: EventID;
|
|
1393
1454
|
created: number;
|
|
@@ -2831,16 +2892,6 @@ export type SessionMessageToolStateError1 = {
|
|
|
2831
2892
|
[x: string]: JsonValue;
|
|
2832
2893
|
};
|
|
2833
2894
|
};
|
|
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
2895
|
export type GenerateDecisionAnswer = GeneratePredicateAnswer | GenerateChoiceAnswer | GenerateScoreAnswer | GenerateErrorAnswer;
|
|
2845
2896
|
export type VoiceModelsResponse = {
|
|
2846
2897
|
data: {
|
|
@@ -2916,6 +2967,7 @@ export type FormReplied = {
|
|
|
2916
2967
|
answer: FormAnswer1;
|
|
2917
2968
|
};
|
|
2918
2969
|
};
|
|
2970
|
+
export type ScheduleWhen = ScheduleWhenIn | ScheduleWhenAt | ScheduleWhenEvery | ScheduleWhenCron;
|
|
2919
2971
|
export type SessionInboxMove = {
|
|
2920
2972
|
id: SessionMessageID;
|
|
2921
2973
|
sessionID: SessionID;
|
|
@@ -2933,6 +2985,7 @@ export type ReferenceInfo = {
|
|
|
2933
2985
|
hidden?: boolean;
|
|
2934
2986
|
source: ReferenceSource;
|
|
2935
2987
|
};
|
|
2988
|
+
export type SessionMessageCompaction = SessionMessageCompactionRunning | SessionMessageCompactionCompleted | SessionMessageCompactionFailed;
|
|
2936
2989
|
export type SessionStatsInfo = {
|
|
2937
2990
|
range: {
|
|
2938
2991
|
from: number;
|
|
@@ -2950,7 +3003,6 @@ export type SessionStatsInfo = {
|
|
|
2950
3003
|
activity: Array<SessionStatsActivity>;
|
|
2951
3004
|
models: Array<SessionStatsModelUsage>;
|
|
2952
3005
|
};
|
|
2953
|
-
export type SessionMessageCompaction = SessionMessageCompactionRunning | SessionMessageCompactionCompleted | SessionMessageCompactionFailed;
|
|
2954
3006
|
export type ProviderRequest = {
|
|
2955
3007
|
settings: ProviderSettings;
|
|
2956
3008
|
headers: {
|
|
@@ -2976,8 +3028,16 @@ export type ProviderInfo = {
|
|
|
2976
3028
|
[x: string]: any;
|
|
2977
3029
|
};
|
|
2978
3030
|
};
|
|
2979
|
-
export type
|
|
3031
|
+
export type ModelInfo = {
|
|
2980
3032
|
id: string;
|
|
3033
|
+
modelID: string;
|
|
3034
|
+
providerID: ProviderID;
|
|
3035
|
+
canonical?: ProviderID;
|
|
3036
|
+
type?: ModelType;
|
|
3037
|
+
family?: string;
|
|
3038
|
+
name: string;
|
|
3039
|
+
compatibility?: ModelCompatibility;
|
|
3040
|
+
package?: string;
|
|
2981
3041
|
settings?: ModelSettings;
|
|
2982
3042
|
headers?: {
|
|
2983
3043
|
[x: string]: string;
|
|
@@ -2985,6 +3045,19 @@ export type ModelVariant = {
|
|
|
2985
3045
|
body?: {
|
|
2986
3046
|
[x: string]: any;
|
|
2987
3047
|
};
|
|
3048
|
+
capabilities: ModelCapabilities;
|
|
3049
|
+
variants: Array<ModelVariant>;
|
|
3050
|
+
time: {
|
|
3051
|
+
released: number;
|
|
3052
|
+
};
|
|
3053
|
+
cost: Array<ModelCost>;
|
|
3054
|
+
status: "alpha" | "beta" | "deprecated" | "active";
|
|
3055
|
+
enabled: boolean;
|
|
3056
|
+
limit: {
|
|
3057
|
+
context: number;
|
|
3058
|
+
input?: number;
|
|
3059
|
+
output: number;
|
|
3060
|
+
};
|
|
2988
3061
|
};
|
|
2989
3062
|
export type SessionInfo = {
|
|
2990
3063
|
id: SessionID;
|
|
@@ -3077,6 +3150,7 @@ export type ConfigEntry = {
|
|
|
3077
3150
|
url?: string;
|
|
3078
3151
|
};
|
|
3079
3152
|
username?: string;
|
|
3153
|
+
timezone?: string;
|
|
3080
3154
|
permissions?: PermissionRuleset;
|
|
3081
3155
|
policies?: Array<{
|
|
3082
3156
|
action: "provider.use" | "tool.use" | "integration.use";
|
|
@@ -3279,7 +3353,7 @@ export type ConfigEntry = {
|
|
|
3279
3353
|
capabilities?: ConfigModelCapabilities;
|
|
3280
3354
|
variants?: Array<{
|
|
3281
3355
|
id: string;
|
|
3282
|
-
settings?:
|
|
3356
|
+
settings?: ConfigModelVariantSettings;
|
|
3283
3357
|
headers?: {
|
|
3284
3358
|
[x: string]: string;
|
|
3285
3359
|
};
|
|
@@ -3325,6 +3399,14 @@ export type ConfigEntry = {
|
|
|
3325
3399
|
todo?: boolean;
|
|
3326
3400
|
background_compaction?: boolean;
|
|
3327
3401
|
media_blob?: boolean;
|
|
3402
|
+
image_generate?: boolean | {
|
|
3403
|
+
model?: string | {
|
|
3404
|
+
providerID: string;
|
|
3405
|
+
model: string;
|
|
3406
|
+
variant?: string;
|
|
3407
|
+
};
|
|
3408
|
+
};
|
|
3409
|
+
schedules?: boolean;
|
|
3328
3410
|
subagent_depth?: number;
|
|
3329
3411
|
location_idle_timeout?: string | false;
|
|
3330
3412
|
policies?: Array<{
|
|
@@ -3373,6 +3455,7 @@ export type SessionMessageAssistantTool = {
|
|
|
3373
3455
|
completed?: number;
|
|
3374
3456
|
};
|
|
3375
3457
|
};
|
|
3458
|
+
export type FormFields = [FormField, ...Array<FormField>];
|
|
3376
3459
|
export type SessionInboxItem = {
|
|
3377
3460
|
type: "user";
|
|
3378
3461
|
payload: SessionInboxUserPayload1;
|
|
@@ -3403,7 +3486,6 @@ export type SessionMessageAssistantTool1 = {
|
|
|
3403
3486
|
completed?: number;
|
|
3404
3487
|
};
|
|
3405
3488
|
};
|
|
3406
|
-
export type FormFields = [FormField, ...Array<FormField>];
|
|
3407
3489
|
export type GenerateDecisionResult = {
|
|
3408
3490
|
answers: Array<GenerateDecisionAnswer>;
|
|
3409
3491
|
cost?: MoneyUSD;
|
|
@@ -3418,6 +3500,25 @@ export type CredentialEntry = {
|
|
|
3418
3500
|
value: CredentialValue;
|
|
3419
3501
|
};
|
|
3420
3502
|
export type FormFields2 = [FormField1, ...Array<FormField1>];
|
|
3503
|
+
export type ScheduleInfo = {
|
|
3504
|
+
id: ScheduleID;
|
|
3505
|
+
sessionID?: SessionID;
|
|
3506
|
+
name?: string;
|
|
3507
|
+
when: ScheduleWhen;
|
|
3508
|
+
tz: string;
|
|
3509
|
+
action: ScheduleAction;
|
|
3510
|
+
status: ScheduleStatus;
|
|
3511
|
+
nextDueAt?: number;
|
|
3512
|
+
endsAt?: number;
|
|
3513
|
+
remainingRuns?: number;
|
|
3514
|
+
runCount: number;
|
|
3515
|
+
lastFiredAt?: number;
|
|
3516
|
+
lastOutcome?: ScheduleOutcome;
|
|
3517
|
+
time: {
|
|
3518
|
+
created: number;
|
|
3519
|
+
updated: number;
|
|
3520
|
+
};
|
|
3521
|
+
};
|
|
3421
3522
|
export type AgentInfo = {
|
|
3422
3523
|
id: AgentID;
|
|
3423
3524
|
name: string;
|
|
@@ -3431,37 +3532,6 @@ export type AgentInfo = {
|
|
|
3431
3532
|
steps?: number;
|
|
3432
3533
|
permissions: PermissionRuleset;
|
|
3433
3534
|
};
|
|
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
3535
|
export type SessionsResponse = {
|
|
3466
3536
|
data: Array<SessionInfo>;
|
|
3467
3537
|
cursor: {
|
|
@@ -3497,26 +3567,6 @@ export type SessionMessageAssistant = {
|
|
|
3497
3567
|
error?: SessionStructuredError;
|
|
3498
3568
|
retry?: SessionMessageAssistantRetry;
|
|
3499
3569
|
};
|
|
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
3570
|
export type FormInfo = {
|
|
3521
3571
|
id: FormID;
|
|
3522
3572
|
sessionID: string;
|
|
@@ -3549,6 +3599,26 @@ export type IntegrationExternalMethod = {
|
|
|
3549
3599
|
label: string;
|
|
3550
3600
|
form?: FormFields;
|
|
3551
3601
|
};
|
|
3602
|
+
export type SessionInboxEnqueued = {
|
|
3603
|
+
id: EventID;
|
|
3604
|
+
created: number;
|
|
3605
|
+
metadata?: {
|
|
3606
|
+
[x: string]: any;
|
|
3607
|
+
};
|
|
3608
|
+
type: "session.inbox.enqueued";
|
|
3609
|
+
durable: {
|
|
3610
|
+
aggregateID: string;
|
|
3611
|
+
seq: EventSeq;
|
|
3612
|
+
version: 1;
|
|
3613
|
+
};
|
|
3614
|
+
location?: LocationRef;
|
|
3615
|
+
data: {
|
|
3616
|
+
sessionID: SessionID;
|
|
3617
|
+
inboxID: SessionMessageID;
|
|
3618
|
+
item: SessionInboxItem;
|
|
3619
|
+
};
|
|
3620
|
+
};
|
|
3621
|
+
export type SessionMessageAssistantContentEncoded = SessionMessageAssistantText1 | SessionMessageAssistantReasoning1 | SessionMessageAssistantTool1;
|
|
3552
3622
|
export type GenerateDecisionsResponse = {
|
|
3553
3623
|
data: GenerateDecisionResult;
|
|
3554
3624
|
};
|
|
@@ -3560,6 +3630,7 @@ export type FormInfo1 = {
|
|
|
3560
3630
|
fields: FormFields2;
|
|
3561
3631
|
};
|
|
3562
3632
|
export type SessionMessageInfo = SessionMessageAgentSelected | SessionMessageModelSelected | SessionMessageLocationSwitched | SessionMessageUser | SessionMessageSynthetic | SessionMessageSystem | SessionMessageSkill | SessionMessageShell | SessionMessageAssistant | SessionMessageCompaction | SessionMessageIdle;
|
|
3633
|
+
export type IntegrationMethod = IntegrationOAuthMethod | IntegrationCommandMethod | IntegrationKeyMethod | IntegrationExternalMethod | IntegrationEnvMethod;
|
|
3563
3634
|
export type SessionMessageContentUpdated = {
|
|
3564
3635
|
id: EventID;
|
|
3565
3636
|
created: number;
|
|
@@ -3579,7 +3650,6 @@ export type SessionMessageContentUpdated = {
|
|
|
3579
3650
|
content: Array<SessionMessageAssistantContentEncoded>;
|
|
3580
3651
|
};
|
|
3581
3652
|
};
|
|
3582
|
-
export type IntegrationMethod = IntegrationOAuthMethod | IntegrationCommandMethod | IntegrationKeyMethod | IntegrationExternalMethod | IntegrationEnvMethod;
|
|
3583
3653
|
export type FormCreated = {
|
|
3584
3654
|
id: EventID;
|
|
3585
3655
|
created: number;
|
|
@@ -3603,7 +3673,6 @@ export type SessionMessagesResponse = {
|
|
|
3603
3673
|
next?: string | null;
|
|
3604
3674
|
};
|
|
3605
3675
|
};
|
|
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
3676
|
export type IntegrationInfo = {
|
|
3608
3677
|
id: IntegrationID;
|
|
3609
3678
|
name: string;
|
|
@@ -3613,6 +3682,7 @@ export type IntegrationInfo = {
|
|
|
3613
3682
|
methods: Array<IntegrationMethod>;
|
|
3614
3683
|
connections: Array<ConnectionInfo>;
|
|
3615
3684
|
};
|
|
3685
|
+
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
3686
|
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
3687
|
export type SessionLogItem = SessionEventDurable | EventLogSynced;
|
|
3618
3688
|
export type InvalidRequestError = {
|
|
@@ -3664,18 +3734,6 @@ export type SessionNotFoundError = {
|
|
|
3664
3734
|
readonly message: string;
|
|
3665
3735
|
};
|
|
3666
3736
|
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
3737
|
export type MessageNotFoundError = {
|
|
3680
3738
|
readonly _tag: "MessageNotFoundError";
|
|
3681
3739
|
readonly sessionID: string;
|
|
@@ -3683,6 +3741,12 @@ export type MessageNotFoundError = {
|
|
|
3683
3741
|
readonly message: string;
|
|
3684
3742
|
};
|
|
3685
3743
|
export declare const isMessageNotFoundError: (value: unknown) => value is MessageNotFoundError;
|
|
3744
|
+
export type ConflictError = {
|
|
3745
|
+
readonly _tag: "ConflictError";
|
|
3746
|
+
readonly message: string;
|
|
3747
|
+
readonly resource?: string | undefined;
|
|
3748
|
+
};
|
|
3749
|
+
export declare const isConflictError: (value: unknown) => value is ConflictError;
|
|
3686
3750
|
export type CommandNotFoundError = {
|
|
3687
3751
|
readonly _tag: "CommandNotFoundError";
|
|
3688
3752
|
readonly command: string;
|
|
@@ -3695,25 +3759,18 @@ export type CommandExecutionError = {
|
|
|
3695
3759
|
readonly message: string;
|
|
3696
3760
|
};
|
|
3697
3761
|
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
3762
|
export type SessionBusyError = {
|
|
3705
3763
|
readonly _tag: "SessionBusyError";
|
|
3706
3764
|
readonly sessionID: string;
|
|
3707
3765
|
readonly message: string;
|
|
3708
3766
|
};
|
|
3709
3767
|
export declare const isSessionBusyError: (value: unknown) => value is SessionBusyError;
|
|
3710
|
-
export type
|
|
3711
|
-
readonly _tag: "
|
|
3712
|
-
readonly actualBytes: number;
|
|
3713
|
-
readonly maxBytes: number;
|
|
3768
|
+
export type UnknownError = {
|
|
3769
|
+
readonly _tag: "UnknownError";
|
|
3714
3770
|
readonly message: string;
|
|
3771
|
+
readonly ref?: string | undefined;
|
|
3715
3772
|
};
|
|
3716
|
-
export declare const
|
|
3773
|
+
export declare const isUnknownError: (value: unknown) => value is UnknownError;
|
|
3717
3774
|
export type FormNotFoundError = {
|
|
3718
3775
|
readonly _tag: "FormNotFoundError";
|
|
3719
3776
|
readonly id: string;
|
|
@@ -3732,6 +3789,19 @@ export type FormAlreadySettledError = {
|
|
|
3732
3789
|
readonly message: string;
|
|
3733
3790
|
};
|
|
3734
3791
|
export declare const isFormAlreadySettledError: (value: unknown) => value is FormAlreadySettledError;
|
|
3792
|
+
export type SkillNotFoundError = {
|
|
3793
|
+
readonly _tag: "SkillNotFoundError";
|
|
3794
|
+
readonly skill: string;
|
|
3795
|
+
readonly message: string;
|
|
3796
|
+
};
|
|
3797
|
+
export declare const isSkillNotFoundError: (value: unknown) => value is SkillNotFoundError;
|
|
3798
|
+
export type InstructionEntryValueTooLargeError = {
|
|
3799
|
+
readonly _tag: "InstructionEntryValueTooLargeError";
|
|
3800
|
+
readonly actualBytes: number;
|
|
3801
|
+
readonly maxBytes: number;
|
|
3802
|
+
readonly message: string;
|
|
3803
|
+
};
|
|
3804
|
+
export declare const isInstructionEntryValueTooLargeError: (value: unknown) => value is InstructionEntryValueTooLargeError;
|
|
3735
3805
|
export type ProviderNotFoundError = {
|
|
3736
3806
|
readonly _tag: "ProviderNotFoundError";
|
|
3737
3807
|
readonly providerID: string;
|
|
@@ -3837,6 +3907,12 @@ export type PtyNotFoundError = {
|
|
|
3837
3907
|
readonly message: string;
|
|
3838
3908
|
};
|
|
3839
3909
|
export declare const isPtyNotFoundError: (value: unknown) => value is PtyNotFoundError;
|
|
3910
|
+
export type ScheduleNotFoundError = {
|
|
3911
|
+
readonly _tag: "ScheduleNotFoundError";
|
|
3912
|
+
readonly scheduleID: string;
|
|
3913
|
+
readonly message: string;
|
|
3914
|
+
};
|
|
3915
|
+
export declare const isScheduleNotFoundError: (value: unknown) => value is ScheduleNotFoundError;
|
|
3840
3916
|
export type ShellNotFoundError = {
|
|
3841
3917
|
readonly _tag: "ShellNotFoundError";
|
|
3842
3918
|
readonly id: string;
|
|
@@ -3934,20 +4010,10 @@ export type SessionListInput = {
|
|
|
3934
4010
|
readonly archived?: boolean | undefined;
|
|
3935
4011
|
readonly directory?: string | undefined;
|
|
3936
4012
|
readonly project?: string | undefined;
|
|
3937
|
-
readonly subpath?: string | undefined;
|
|
3938
|
-
readonly cursor?: string | undefined;
|
|
3939
|
-
};
|
|
3940
|
-
export type SessionListOutput = SessionsResponse;
|
|
3941
|
-
export type SessionStatsInput = {
|
|
3942
|
-
readonly from?: number | undefined;
|
|
3943
|
-
readonly to?: number | undefined;
|
|
3944
|
-
readonly project?: string | undefined;
|
|
3945
|
-
readonly timezone?: string | undefined;
|
|
3946
|
-
readonly tools?: "none" | "summary" | "detail" | undefined;
|
|
4013
|
+
readonly subpath?: string | undefined;
|
|
4014
|
+
readonly cursor?: string | undefined;
|
|
3947
4015
|
};
|
|
3948
|
-
export type
|
|
3949
|
-
data: SessionStatsInfo;
|
|
3950
|
-
}["data"];
|
|
4016
|
+
export type SessionListOutput = SessionsResponse;
|
|
3951
4017
|
export type SessionCreateInput = {
|
|
3952
4018
|
readonly id?: string | null | undefined;
|
|
3953
4019
|
readonly parentID?: string | null | undefined;
|
|
@@ -3973,87 +4039,6 @@ export type SessionCreateInput = {
|
|
|
3973
4039
|
export type SessionCreateOutput = {
|
|
3974
4040
|
data: SessionInfo;
|
|
3975
4041
|
}["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>;
|
|
4043
|
-
readonly location?: {
|
|
4044
|
-
readonly directory: string;
|
|
4045
|
-
} | null | undefined;
|
|
4046
|
-
};
|
|
4047
|
-
export type SessionImportOutput = {
|
|
4048
|
-
data: SessionInfo;
|
|
4049
|
-
}["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
4042
|
export type SessionActiveOutput = {
|
|
4058
4043
|
data: {
|
|
4059
4044
|
[x: SessionID]: SessionActive;
|
|
@@ -4182,12 +4167,6 @@ export type SessionCommandInput = {
|
|
|
4182
4167
|
readonly delivery?: ("steer" | "queue") | null | undefined;
|
|
4183
4168
|
};
|
|
4184
4169
|
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
4170
|
export type SessionSyntheticInput = {
|
|
4192
4171
|
readonly sessionID: string;
|
|
4193
4172
|
readonly id?: string | null | undefined;
|
|
@@ -4216,10 +4195,6 @@ export type SessionCompactInput = {
|
|
|
4216
4195
|
export type SessionCompactOutput = {
|
|
4217
4196
|
data: SessionInboxCompaction;
|
|
4218
4197
|
}["data"];
|
|
4219
|
-
export type SessionWaitInput = {
|
|
4220
|
-
readonly sessionID: string;
|
|
4221
|
-
};
|
|
4222
|
-
export type SessionWaitOutput = void;
|
|
4223
4198
|
export type SessionRevertStageInput = {
|
|
4224
4199
|
readonly sessionID: string;
|
|
4225
4200
|
readonly messageID: string;
|
|
@@ -4268,34 +4243,11 @@ export type SessionInboxUpdateInput = {
|
|
|
4268
4243
|
readonly delivery: "steer" | "queue";
|
|
4269
4244
|
};
|
|
4270
4245
|
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
4246
|
export type SessionGenerateInput = {
|
|
4289
4247
|
readonly sessionID: string;
|
|
4290
4248
|
readonly prompt: string;
|
|
4291
4249
|
};
|
|
4292
4250
|
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
4251
|
export type SessionInterruptInput = {
|
|
4300
4252
|
readonly sessionID: string;
|
|
4301
4253
|
readonly resume?: boolean | undefined;
|
|
@@ -4554,6 +4506,130 @@ export type SessionViewInput = {
|
|
|
4554
4506
|
readonly idle: number;
|
|
4555
4507
|
};
|
|
4556
4508
|
export type SessionViewOutput = void;
|
|
4509
|
+
export type ExperimentalSessionStatsInput = {
|
|
4510
|
+
readonly from?: number | undefined;
|
|
4511
|
+
readonly to?: number | undefined;
|
|
4512
|
+
readonly project?: string | undefined;
|
|
4513
|
+
readonly timezone?: string | undefined;
|
|
4514
|
+
readonly tools?: "none" | "summary" | "detail" | undefined;
|
|
4515
|
+
};
|
|
4516
|
+
export type ExperimentalSessionStatsOutput = {
|
|
4517
|
+
data: SessionStatsInfo;
|
|
4518
|
+
}["data"];
|
|
4519
|
+
export type ExperimentalSessionImportInput = {
|
|
4520
|
+
readonly info: {
|
|
4521
|
+
readonly id: string;
|
|
4522
|
+
readonly parentID?: string;
|
|
4523
|
+
readonly fork?: {
|
|
4524
|
+
readonly sessionID: string;
|
|
4525
|
+
readonly boundary: {
|
|
4526
|
+
readonly type: "before";
|
|
4527
|
+
readonly messageID: string;
|
|
4528
|
+
} | {
|
|
4529
|
+
readonly type: "through";
|
|
4530
|
+
readonly messageID: string;
|
|
4531
|
+
};
|
|
4532
|
+
};
|
|
4533
|
+
readonly projectID: string;
|
|
4534
|
+
readonly agent?: string;
|
|
4535
|
+
readonly model?: {
|
|
4536
|
+
readonly id: string;
|
|
4537
|
+
readonly providerID: string;
|
|
4538
|
+
readonly variant?: string;
|
|
4539
|
+
};
|
|
4540
|
+
readonly cost: number;
|
|
4541
|
+
readonly tokens: {
|
|
4542
|
+
readonly input: number;
|
|
4543
|
+
readonly output: number;
|
|
4544
|
+
readonly reasoning: number;
|
|
4545
|
+
readonly cache: {
|
|
4546
|
+
readonly read: number;
|
|
4547
|
+
readonly write: number;
|
|
4548
|
+
};
|
|
4549
|
+
};
|
|
4550
|
+
readonly outcome?: "succeeded" | "failed" | "interrupted";
|
|
4551
|
+
readonly time: {
|
|
4552
|
+
readonly created: number;
|
|
4553
|
+
readonly updated: number;
|
|
4554
|
+
readonly idle?: number;
|
|
4555
|
+
readonly viewed?: number;
|
|
4556
|
+
readonly archived?: number;
|
|
4557
|
+
};
|
|
4558
|
+
readonly title?: string;
|
|
4559
|
+
readonly subpath?: string;
|
|
4560
|
+
readonly metadata?: {
|
|
4561
|
+
readonly [x: string]: JsonValue;
|
|
4562
|
+
};
|
|
4563
|
+
readonly permissions?: ReadonlyArray<{
|
|
4564
|
+
readonly action: string;
|
|
4565
|
+
readonly resource: string;
|
|
4566
|
+
readonly effect: "allow" | "deny" | "ask";
|
|
4567
|
+
}>;
|
|
4568
|
+
readonly revert?: {
|
|
4569
|
+
readonly messageID: string;
|
|
4570
|
+
readonly partID?: string;
|
|
4571
|
+
readonly snapshot?: string;
|
|
4572
|
+
readonly files?: ReadonlyArray<{
|
|
4573
|
+
readonly file: string;
|
|
4574
|
+
readonly patch: string;
|
|
4575
|
+
readonly additions: number;
|
|
4576
|
+
readonly deletions: number;
|
|
4577
|
+
readonly status: "added" | "deleted" | "modified";
|
|
4578
|
+
readonly more?: true;
|
|
4579
|
+
}>;
|
|
4580
|
+
};
|
|
4581
|
+
readonly location: {
|
|
4582
|
+
readonly directory: string;
|
|
4583
|
+
};
|
|
4584
|
+
};
|
|
4585
|
+
readonly messages: ReadonlyArray<JsonValue>;
|
|
4586
|
+
readonly location?: {
|
|
4587
|
+
readonly directory: string;
|
|
4588
|
+
} | null | undefined;
|
|
4589
|
+
};
|
|
4590
|
+
export type ExperimentalSessionImportOutput = {
|
|
4591
|
+
data: SessionInfo;
|
|
4592
|
+
}["data"];
|
|
4593
|
+
export type ExperimentalSessionExportInput = {
|
|
4594
|
+
readonly sessionID: string;
|
|
4595
|
+
readonly sanitize?: boolean | undefined;
|
|
4596
|
+
};
|
|
4597
|
+
export type ExperimentalSessionExportOutput = {
|
|
4598
|
+
data: SessionTransferData;
|
|
4599
|
+
}["data"];
|
|
4600
|
+
export type ExperimentalSessionSkillInput = {
|
|
4601
|
+
readonly sessionID: string;
|
|
4602
|
+
readonly id: string;
|
|
4603
|
+
readonly resume?: boolean | undefined;
|
|
4604
|
+
};
|
|
4605
|
+
export type ExperimentalSessionSkillOutput = void;
|
|
4606
|
+
export type ExperimentalSessionWaitInput = {
|
|
4607
|
+
readonly sessionID: string;
|
|
4608
|
+
};
|
|
4609
|
+
export type ExperimentalSessionWaitOutput = void;
|
|
4610
|
+
export type ExperimentalSessionInstructionsEntryListInput = {
|
|
4611
|
+
readonly sessionID: string;
|
|
4612
|
+
};
|
|
4613
|
+
export type ExperimentalSessionInstructionsEntryListOutput = {
|
|
4614
|
+
data: Array<InstructionEntryInfo>;
|
|
4615
|
+
}["data"];
|
|
4616
|
+
export type ExperimentalSessionInstructionsEntryPutInput = {
|
|
4617
|
+
readonly sessionID: string;
|
|
4618
|
+
readonly key: string;
|
|
4619
|
+
readonly value: JsonValue;
|
|
4620
|
+
};
|
|
4621
|
+
export type ExperimentalSessionInstructionsEntryPutOutput = void;
|
|
4622
|
+
export type ExperimentalSessionInstructionsEntryRemoveInput = {
|
|
4623
|
+
readonly sessionID: string;
|
|
4624
|
+
readonly key: string;
|
|
4625
|
+
};
|
|
4626
|
+
export type ExperimentalSessionInstructionsEntryRemoveOutput = void;
|
|
4627
|
+
export type ExperimentalSessionLogInput = {
|
|
4628
|
+
readonly sessionID: string;
|
|
4629
|
+
readonly after?: number | undefined;
|
|
4630
|
+
readonly follow?: boolean | undefined;
|
|
4631
|
+
};
|
|
4632
|
+
export type ExperimentalSessionLogOutput = SessionLogItem;
|
|
4557
4633
|
export type MessageListInput = {
|
|
4558
4634
|
readonly sessionID: string;
|
|
4559
4635
|
readonly limit?: number | undefined;
|
|
@@ -4581,7 +4657,7 @@ export type ModelDefaultOutput = {
|
|
|
4581
4657
|
location: LocationPublicRef;
|
|
4582
4658
|
data: ModelInfo | null;
|
|
4583
4659
|
};
|
|
4584
|
-
export type
|
|
4660
|
+
export type ExperimentalGenerateTextInput = {
|
|
4585
4661
|
readonly prompt: string;
|
|
4586
4662
|
readonly model?: {
|
|
4587
4663
|
readonly id: string;
|
|
@@ -4589,8 +4665,8 @@ export type GenerateTextInput = {
|
|
|
4589
4665
|
readonly variant?: string;
|
|
4590
4666
|
} | null | undefined;
|
|
4591
4667
|
};
|
|
4592
|
-
export type
|
|
4593
|
-
export type
|
|
4668
|
+
export type ExperimentalGenerateTextOutput = GenerateTextResponse["data"];
|
|
4669
|
+
export type ExperimentalGenerateImageInput = {
|
|
4594
4670
|
readonly model: {
|
|
4595
4671
|
readonly id: string;
|
|
4596
4672
|
readonly providerID: string;
|
|
@@ -4606,8 +4682,8 @@ export type GenerateImageInput = {
|
|
|
4606
4682
|
readonly aspect?: `${number}${":"}${number}` | undefined;
|
|
4607
4683
|
readonly resolution?: ("1K" | "2K" | "4K" | (string & {})) | undefined;
|
|
4608
4684
|
};
|
|
4609
|
-
export type
|
|
4610
|
-
export type
|
|
4685
|
+
export type ExperimentalGenerateImageOutput = GenerateImageResponse["data"];
|
|
4686
|
+
export type ExperimentalGenerateDecisionsInput = {
|
|
4611
4687
|
readonly model: {
|
|
4612
4688
|
readonly id: string;
|
|
4613
4689
|
readonly providerID: string;
|
|
@@ -4647,9 +4723,9 @@ export type GenerateDecisionsInput = {
|
|
|
4647
4723
|
}>;
|
|
4648
4724
|
}>;
|
|
4649
4725
|
};
|
|
4650
|
-
export type
|
|
4651
|
-
export type
|
|
4652
|
-
export type
|
|
4726
|
+
export type ExperimentalGenerateDecisionsOutput = GenerateDecisionsResponse["data"];
|
|
4727
|
+
export type ExperimentalVoiceModelsOutput = VoiceModelsResponse["data"];
|
|
4728
|
+
export type ExperimentalVoiceSessionInput = {
|
|
4653
4729
|
readonly model: string;
|
|
4654
4730
|
readonly session?: {
|
|
4655
4731
|
readonly [x: string]: unknown;
|
|
@@ -4662,7 +4738,7 @@ export type VoiceSessionInput = {
|
|
|
4662
4738
|
readonly type: "websocket";
|
|
4663
4739
|
};
|
|
4664
4740
|
};
|
|
4665
|
-
export type
|
|
4741
|
+
export type ExperimentalVoiceSessionOutput = VoiceSessionResponse["data"];
|
|
4666
4742
|
export type ProviderListInput = {
|
|
4667
4743
|
readonly location?: {
|
|
4668
4744
|
readonly directory?: string | undefined;
|
|
@@ -4701,13 +4777,6 @@ export type IntegrationGetOutput = {
|
|
|
4701
4777
|
location: LocationPublicRef;
|
|
4702
4778
|
data: IntegrationInfo;
|
|
4703
4779
|
};
|
|
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
4780
|
export type IntegrationConnectKeyInput = {
|
|
4712
4781
|
readonly integrationID: string;
|
|
4713
4782
|
readonly location?: {
|
|
@@ -4806,6 +4875,13 @@ export type IntegrationCommandCancelInput = {
|
|
|
4806
4875
|
} | undefined;
|
|
4807
4876
|
};
|
|
4808
4877
|
export type IntegrationCommandCancelOutput = void;
|
|
4878
|
+
export type ExperimentalIntegrationWellknownAddInput = {
|
|
4879
|
+
readonly location?: {
|
|
4880
|
+
readonly directory?: string | undefined;
|
|
4881
|
+
} | undefined;
|
|
4882
|
+
readonly url: string;
|
|
4883
|
+
};
|
|
4884
|
+
export type ExperimentalIntegrationWellknownAddOutput = void;
|
|
4809
4885
|
export type McpListInput = {
|
|
4810
4886
|
readonly location?: {
|
|
4811
4887
|
readonly directory?: string | undefined;
|
|
@@ -4815,7 +4891,16 @@ export type McpListOutput = {
|
|
|
4815
4891
|
location: LocationPublicRef;
|
|
4816
4892
|
data: Array<McpServer>;
|
|
4817
4893
|
};
|
|
4818
|
-
export type
|
|
4894
|
+
export type McpResourceCatalogInput = {
|
|
4895
|
+
readonly location?: {
|
|
4896
|
+
readonly directory?: string | undefined;
|
|
4897
|
+
} | undefined;
|
|
4898
|
+
};
|
|
4899
|
+
export type McpResourceCatalogOutput = {
|
|
4900
|
+
location: LocationPublicRef;
|
|
4901
|
+
data: McpResourceCatalog;
|
|
4902
|
+
};
|
|
4903
|
+
export type ExperimentalMcpAddInput = {
|
|
4819
4904
|
readonly server: string;
|
|
4820
4905
|
readonly location?: {
|
|
4821
4906
|
readonly directory?: string | undefined;
|
|
@@ -4859,45 +4944,36 @@ export type McpAddInput = {
|
|
|
4859
4944
|
readonly protocol?: "legacy" | "auto" | "2026-07-28";
|
|
4860
4945
|
};
|
|
4861
4946
|
};
|
|
4862
|
-
export type
|
|
4863
|
-
export type
|
|
4947
|
+
export type ExperimentalMcpAddOutput = void;
|
|
4948
|
+
export type ExperimentalMcpRemoveInput = {
|
|
4864
4949
|
readonly server: string;
|
|
4865
4950
|
readonly location?: {
|
|
4866
4951
|
readonly directory?: string | undefined;
|
|
4867
4952
|
} | undefined;
|
|
4868
4953
|
};
|
|
4869
|
-
export type
|
|
4870
|
-
export type
|
|
4954
|
+
export type ExperimentalMcpRemoveOutput = void;
|
|
4955
|
+
export type ExperimentalMcpConnectInput = {
|
|
4871
4956
|
readonly server: string;
|
|
4872
4957
|
readonly location?: {
|
|
4873
4958
|
readonly directory?: string | undefined;
|
|
4874
4959
|
} | undefined;
|
|
4875
4960
|
};
|
|
4876
|
-
export type
|
|
4877
|
-
export type
|
|
4961
|
+
export type ExperimentalMcpConnectOutput = void;
|
|
4962
|
+
export type ExperimentalMcpDisconnectInput = {
|
|
4878
4963
|
readonly server: string;
|
|
4879
4964
|
readonly location?: {
|
|
4880
4965
|
readonly directory?: string | undefined;
|
|
4881
4966
|
} | undefined;
|
|
4882
4967
|
};
|
|
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 = {
|
|
4968
|
+
export type ExperimentalMcpDisconnectOutput = void;
|
|
4969
|
+
export type ExperimentalMcpClientTokenInput = {
|
|
4894
4970
|
readonly location?: {
|
|
4895
4971
|
readonly directory?: string | undefined;
|
|
4896
4972
|
} | undefined;
|
|
4897
4973
|
readonly name: string;
|
|
4898
4974
|
readonly "x-opencode-ticket"?: string | undefined;
|
|
4899
4975
|
};
|
|
4900
|
-
export type
|
|
4976
|
+
export type ExperimentalMcpClientTokenOutput = {
|
|
4901
4977
|
location: LocationPublicRef;
|
|
4902
4978
|
data: PtyTicketConnectToken;
|
|
4903
4979
|
};
|
|
@@ -5073,31 +5149,31 @@ export type FileFindOutput = {
|
|
|
5073
5149
|
location: LocationPublicRef;
|
|
5074
5150
|
data: Array<FileSystemEntry>;
|
|
5075
5151
|
};
|
|
5076
|
-
export type
|
|
5152
|
+
export type ExperimentalFileWriteInput = {
|
|
5077
5153
|
readonly location?: {
|
|
5078
5154
|
readonly directory?: string | undefined;
|
|
5079
5155
|
} | undefined;
|
|
5080
5156
|
readonly path: string;
|
|
5081
5157
|
readonly payload: globalThis.Uint8Array;
|
|
5082
5158
|
};
|
|
5083
|
-
export type
|
|
5159
|
+
export type ExperimentalFileWriteOutput = {
|
|
5084
5160
|
location: LocationPublicRef;
|
|
5085
5161
|
data: FileSystemWrite;
|
|
5086
5162
|
};
|
|
5087
|
-
export type
|
|
5163
|
+
export type ExperimentalFileWatchInput = {
|
|
5088
5164
|
readonly location?: {
|
|
5089
5165
|
readonly directory?: string | undefined;
|
|
5090
5166
|
} | undefined;
|
|
5091
5167
|
readonly path: string;
|
|
5092
5168
|
};
|
|
5093
|
-
export type
|
|
5094
|
-
export type
|
|
5169
|
+
export type ExperimentalFileWatchOutput = void;
|
|
5170
|
+
export type ExperimentalFileUnwatchInput = {
|
|
5095
5171
|
readonly location?: {
|
|
5096
5172
|
readonly directory?: string | undefined;
|
|
5097
5173
|
} | undefined;
|
|
5098
5174
|
readonly path: string;
|
|
5099
5175
|
};
|
|
5100
|
-
export type
|
|
5176
|
+
export type ExperimentalFileUnwatchOutput = void;
|
|
5101
5177
|
export type CommandListInput = {
|
|
5102
5178
|
readonly location?: {
|
|
5103
5179
|
readonly directory?: string | undefined;
|
|
@@ -5269,6 +5345,72 @@ export type ExperimentalMediaGetInput = {
|
|
|
5269
5345
|
readonly hash: string;
|
|
5270
5346
|
};
|
|
5271
5347
|
export type ExperimentalMediaGetOutput = globalThis.Uint8Array;
|
|
5348
|
+
export type ExperimentalScheduleCreateInput = {
|
|
5349
|
+
readonly sessionID: string;
|
|
5350
|
+
readonly name?: string | undefined;
|
|
5351
|
+
readonly when: {
|
|
5352
|
+
readonly in: string;
|
|
5353
|
+
readonly at?: never;
|
|
5354
|
+
readonly every?: never;
|
|
5355
|
+
readonly cron?: never;
|
|
5356
|
+
readonly tz?: string;
|
|
5357
|
+
} | {
|
|
5358
|
+
readonly at: string;
|
|
5359
|
+
readonly in?: never;
|
|
5360
|
+
readonly every?: never;
|
|
5361
|
+
readonly cron?: never;
|
|
5362
|
+
readonly tz?: string;
|
|
5363
|
+
} | {
|
|
5364
|
+
readonly every: string;
|
|
5365
|
+
readonly in?: never;
|
|
5366
|
+
readonly at?: never;
|
|
5367
|
+
readonly cron?: never;
|
|
5368
|
+
readonly tz?: string;
|
|
5369
|
+
} | {
|
|
5370
|
+
readonly cron: string;
|
|
5371
|
+
readonly in?: never;
|
|
5372
|
+
readonly at?: never;
|
|
5373
|
+
readonly every?: never;
|
|
5374
|
+
readonly tz?: string;
|
|
5375
|
+
};
|
|
5376
|
+
readonly ends?: {
|
|
5377
|
+
readonly after?: string;
|
|
5378
|
+
readonly at?: string;
|
|
5379
|
+
readonly times?: number;
|
|
5380
|
+
} | undefined;
|
|
5381
|
+
readonly prompt: string;
|
|
5382
|
+
};
|
|
5383
|
+
export type ExperimentalScheduleCreateOutput = {
|
|
5384
|
+
data: ScheduleInfo;
|
|
5385
|
+
}["data"];
|
|
5386
|
+
export type ExperimentalScheduleListInput = {
|
|
5387
|
+
readonly sessionID: string;
|
|
5388
|
+
};
|
|
5389
|
+
export type ExperimentalScheduleListOutput = {
|
|
5390
|
+
data: Array<ScheduleInfo>;
|
|
5391
|
+
}["data"];
|
|
5392
|
+
export type ExperimentalScheduleGetInput = {
|
|
5393
|
+
readonly scheduleID: string;
|
|
5394
|
+
};
|
|
5395
|
+
export type ExperimentalScheduleGetOutput = {
|
|
5396
|
+
data: ScheduleInfo;
|
|
5397
|
+
}["data"];
|
|
5398
|
+
export type ExperimentalSchedulePauseInput = {
|
|
5399
|
+
readonly scheduleID: string;
|
|
5400
|
+
};
|
|
5401
|
+
export type ExperimentalSchedulePauseOutput = {
|
|
5402
|
+
data: ScheduleInfo;
|
|
5403
|
+
}["data"];
|
|
5404
|
+
export type ExperimentalScheduleResumeInput = {
|
|
5405
|
+
readonly scheduleID: string;
|
|
5406
|
+
};
|
|
5407
|
+
export type ExperimentalScheduleResumeOutput = {
|
|
5408
|
+
data: ScheduleInfo;
|
|
5409
|
+
}["data"];
|
|
5410
|
+
export type ExperimentalScheduleDeleteInput = {
|
|
5411
|
+
readonly scheduleID: string;
|
|
5412
|
+
};
|
|
5413
|
+
export type ExperimentalScheduleDeleteOutput = void;
|
|
5272
5414
|
export type ShellListInput = {
|
|
5273
5415
|
readonly location?: {
|
|
5274
5416
|
readonly directory?: string | undefined;
|
|
@@ -5437,7 +5579,7 @@ export type DebugLocationEvictInput = {
|
|
|
5437
5579
|
} | undefined;
|
|
5438
5580
|
};
|
|
5439
5581
|
export type DebugLocationEvictOutput = void;
|
|
5440
|
-
export type
|
|
5582
|
+
export type ExperimentalMigrationV1StatusOutput = {
|
|
5441
5583
|
status: "required" | "completed";
|
|
5442
5584
|
} | {
|
|
5443
5585
|
status: "running";
|
|
@@ -5473,12 +5615,12 @@ export type WebsearchQueryOutput = {
|
|
|
5473
5615
|
results: Array<WebSearchResult>;
|
|
5474
5616
|
};
|
|
5475
5617
|
};
|
|
5476
|
-
export type
|
|
5618
|
+
export type ExperimentalUsageLimitsInput = {
|
|
5477
5619
|
readonly location?: {
|
|
5478
5620
|
readonly directory?: string | undefined;
|
|
5479
5621
|
} | undefined;
|
|
5480
5622
|
};
|
|
5481
|
-
export type
|
|
5623
|
+
export type ExperimentalUsageLimitsOutput = {
|
|
5482
5624
|
location: LocationPublicRef;
|
|
5483
5625
|
data: UsageLimitsInfo | null;
|
|
5484
5626
|
};
|
|
@@ -5489,7 +5631,107 @@ export type ConfigGetInput = {
|
|
|
5489
5631
|
};
|
|
5490
5632
|
export type ConfigGetOutput = Array<ConfigEntry>;
|
|
5491
5633
|
export type ConfigShellsOutput = Array<ConfigShellOption>;
|
|
5492
|
-
export type
|
|
5634
|
+
export type ExperimentalConfigUpdateInput = {
|
|
5493
5635
|
readonly shell: string | null;
|
|
5494
5636
|
};
|
|
5495
|
-
export type
|
|
5637
|
+
export type ExperimentalConfigUpdateOutput = void;
|
|
5638
|
+
/** @deprecated Use `ExperimentalSessionStatsInput`. Removed in the next minor. */
|
|
5639
|
+
export type SessionStatsInput = ExperimentalSessionStatsInput;
|
|
5640
|
+
/** @deprecated Use `ExperimentalSessionStatsOutput`. Removed in the next minor. */
|
|
5641
|
+
export type SessionStatsOutput = ExperimentalSessionStatsOutput;
|
|
5642
|
+
/** @deprecated Use `ExperimentalSessionImportInput`. Removed in the next minor. */
|
|
5643
|
+
export type SessionImportInput = ExperimentalSessionImportInput;
|
|
5644
|
+
/** @deprecated Use `ExperimentalSessionImportOutput`. Removed in the next minor. */
|
|
5645
|
+
export type SessionImportOutput = ExperimentalSessionImportOutput;
|
|
5646
|
+
/** @deprecated Use `ExperimentalSessionExportInput`. Removed in the next minor. */
|
|
5647
|
+
export type SessionExportInput = ExperimentalSessionExportInput;
|
|
5648
|
+
/** @deprecated Use `ExperimentalSessionExportOutput`. Removed in the next minor. */
|
|
5649
|
+
export type SessionExportOutput = ExperimentalSessionExportOutput;
|
|
5650
|
+
/** @deprecated Use `ExperimentalSessionSkillInput`. Removed in the next minor. */
|
|
5651
|
+
export type SessionSkillInput = ExperimentalSessionSkillInput;
|
|
5652
|
+
/** @deprecated Use `ExperimentalSessionSkillOutput`. Removed in the next minor. */
|
|
5653
|
+
export type SessionSkillOutput = ExperimentalSessionSkillOutput;
|
|
5654
|
+
/** @deprecated Use `ExperimentalSessionWaitInput`. Removed in the next minor. */
|
|
5655
|
+
export type SessionWaitInput = ExperimentalSessionWaitInput;
|
|
5656
|
+
/** @deprecated Use `ExperimentalSessionWaitOutput`. Removed in the next minor. */
|
|
5657
|
+
export type SessionWaitOutput = ExperimentalSessionWaitOutput;
|
|
5658
|
+
/** @deprecated Use `ExperimentalSessionInstructionsEntryListInput`. Removed in the next minor. */
|
|
5659
|
+
export type SessionInstructionsEntryListInput = ExperimentalSessionInstructionsEntryListInput;
|
|
5660
|
+
/** @deprecated Use `ExperimentalSessionInstructionsEntryListOutput`. Removed in the next minor. */
|
|
5661
|
+
export type SessionInstructionsEntryListOutput = ExperimentalSessionInstructionsEntryListOutput;
|
|
5662
|
+
/** @deprecated Use `ExperimentalSessionInstructionsEntryPutInput`. Removed in the next minor. */
|
|
5663
|
+
export type SessionInstructionsEntryPutInput = ExperimentalSessionInstructionsEntryPutInput;
|
|
5664
|
+
/** @deprecated Use `ExperimentalSessionInstructionsEntryPutOutput`. Removed in the next minor. */
|
|
5665
|
+
export type SessionInstructionsEntryPutOutput = ExperimentalSessionInstructionsEntryPutOutput;
|
|
5666
|
+
/** @deprecated Use `ExperimentalSessionInstructionsEntryRemoveInput`. Removed in the next minor. */
|
|
5667
|
+
export type SessionInstructionsEntryRemoveInput = ExperimentalSessionInstructionsEntryRemoveInput;
|
|
5668
|
+
/** @deprecated Use `ExperimentalSessionInstructionsEntryRemoveOutput`. Removed in the next minor. */
|
|
5669
|
+
export type SessionInstructionsEntryRemoveOutput = ExperimentalSessionInstructionsEntryRemoveOutput;
|
|
5670
|
+
/** @deprecated Use `ExperimentalSessionLogInput`. Removed in the next minor. */
|
|
5671
|
+
export type SessionLogInput = ExperimentalSessionLogInput;
|
|
5672
|
+
/** @deprecated Use `ExperimentalSessionLogOutput`. Removed in the next minor. */
|
|
5673
|
+
export type SessionLogOutput = ExperimentalSessionLogOutput;
|
|
5674
|
+
/** @deprecated Use `ExperimentalGenerateTextInput`. Removed in the next minor. */
|
|
5675
|
+
export type GenerateTextInput = ExperimentalGenerateTextInput;
|
|
5676
|
+
/** @deprecated Use `ExperimentalGenerateTextOutput`. Removed in the next minor. */
|
|
5677
|
+
export type GenerateTextOutput = ExperimentalGenerateTextOutput;
|
|
5678
|
+
/** @deprecated Use `ExperimentalGenerateImageInput`. Removed in the next minor. */
|
|
5679
|
+
export type GenerateImageInput = ExperimentalGenerateImageInput;
|
|
5680
|
+
/** @deprecated Use `ExperimentalGenerateImageOutput`. Removed in the next minor. */
|
|
5681
|
+
export type GenerateImageOutput = ExperimentalGenerateImageOutput;
|
|
5682
|
+
/** @deprecated Use `ExperimentalGenerateDecisionsInput`. Removed in the next minor. */
|
|
5683
|
+
export type GenerateDecisionsInput = ExperimentalGenerateDecisionsInput;
|
|
5684
|
+
/** @deprecated Use `ExperimentalGenerateDecisionsOutput`. Removed in the next minor. */
|
|
5685
|
+
export type GenerateDecisionsOutput = ExperimentalGenerateDecisionsOutput;
|
|
5686
|
+
/** @deprecated Use `ExperimentalVoiceModelsOutput`. Removed in the next minor. */
|
|
5687
|
+
export type VoiceModelsOutput = ExperimentalVoiceModelsOutput;
|
|
5688
|
+
/** @deprecated Use `ExperimentalVoiceSessionInput`. Removed in the next minor. */
|
|
5689
|
+
export type VoiceSessionInput = ExperimentalVoiceSessionInput;
|
|
5690
|
+
/** @deprecated Use `ExperimentalVoiceSessionOutput`. Removed in the next minor. */
|
|
5691
|
+
export type VoiceSessionOutput = ExperimentalVoiceSessionOutput;
|
|
5692
|
+
/** @deprecated Use `ExperimentalIntegrationWellknownAddInput`. Removed in the next minor. */
|
|
5693
|
+
export type IntegrationWellknownAddInput = ExperimentalIntegrationWellknownAddInput;
|
|
5694
|
+
/** @deprecated Use `ExperimentalIntegrationWellknownAddOutput`. Removed in the next minor. */
|
|
5695
|
+
export type IntegrationWellknownAddOutput = ExperimentalIntegrationWellknownAddOutput;
|
|
5696
|
+
/** @deprecated Use `ExperimentalMcpAddInput`. Removed in the next minor. */
|
|
5697
|
+
export type McpAddInput = ExperimentalMcpAddInput;
|
|
5698
|
+
/** @deprecated Use `ExperimentalMcpAddOutput`. Removed in the next minor. */
|
|
5699
|
+
export type McpAddOutput = ExperimentalMcpAddOutput;
|
|
5700
|
+
/** @deprecated Use `ExperimentalMcpRemoveInput`. Removed in the next minor. */
|
|
5701
|
+
export type McpRemoveInput = ExperimentalMcpRemoveInput;
|
|
5702
|
+
/** @deprecated Use `ExperimentalMcpRemoveOutput`. Removed in the next minor. */
|
|
5703
|
+
export type McpRemoveOutput = ExperimentalMcpRemoveOutput;
|
|
5704
|
+
/** @deprecated Use `ExperimentalMcpConnectInput`. Removed in the next minor. */
|
|
5705
|
+
export type McpConnectInput = ExperimentalMcpConnectInput;
|
|
5706
|
+
/** @deprecated Use `ExperimentalMcpConnectOutput`. Removed in the next minor. */
|
|
5707
|
+
export type McpConnectOutput = ExperimentalMcpConnectOutput;
|
|
5708
|
+
/** @deprecated Use `ExperimentalMcpDisconnectInput`. Removed in the next minor. */
|
|
5709
|
+
export type McpDisconnectInput = ExperimentalMcpDisconnectInput;
|
|
5710
|
+
/** @deprecated Use `ExperimentalMcpDisconnectOutput`. Removed in the next minor. */
|
|
5711
|
+
export type McpDisconnectOutput = ExperimentalMcpDisconnectOutput;
|
|
5712
|
+
/** @deprecated Use `ExperimentalMcpClientTokenInput`. Removed in the next minor. */
|
|
5713
|
+
export type McpClientTokenInput = ExperimentalMcpClientTokenInput;
|
|
5714
|
+
/** @deprecated Use `ExperimentalMcpClientTokenOutput`. Removed in the next minor. */
|
|
5715
|
+
export type McpClientTokenOutput = ExperimentalMcpClientTokenOutput;
|
|
5716
|
+
/** @deprecated Use `ExperimentalFileWriteInput`. Removed in the next minor. */
|
|
5717
|
+
export type FileWriteInput = ExperimentalFileWriteInput;
|
|
5718
|
+
/** @deprecated Use `ExperimentalFileWriteOutput`. Removed in the next minor. */
|
|
5719
|
+
export type FileWriteOutput = ExperimentalFileWriteOutput;
|
|
5720
|
+
/** @deprecated Use `ExperimentalFileWatchInput`. Removed in the next minor. */
|
|
5721
|
+
export type FileWatchInput = ExperimentalFileWatchInput;
|
|
5722
|
+
/** @deprecated Use `ExperimentalFileWatchOutput`. Removed in the next minor. */
|
|
5723
|
+
export type FileWatchOutput = ExperimentalFileWatchOutput;
|
|
5724
|
+
/** @deprecated Use `ExperimentalFileUnwatchInput`. Removed in the next minor. */
|
|
5725
|
+
export type FileUnwatchInput = ExperimentalFileUnwatchInput;
|
|
5726
|
+
/** @deprecated Use `ExperimentalFileUnwatchOutput`. Removed in the next minor. */
|
|
5727
|
+
export type FileUnwatchOutput = ExperimentalFileUnwatchOutput;
|
|
5728
|
+
/** @deprecated Use `ExperimentalMigrationV1StatusOutput`. Removed in the next minor. */
|
|
5729
|
+
export type MigrationV1StatusOutput = ExperimentalMigrationV1StatusOutput;
|
|
5730
|
+
/** @deprecated Use `ExperimentalUsageLimitsInput`. Removed in the next minor. */
|
|
5731
|
+
export type UsageLimitsInput = ExperimentalUsageLimitsInput;
|
|
5732
|
+
/** @deprecated Use `ExperimentalUsageLimitsOutput`. Removed in the next minor. */
|
|
5733
|
+
export type UsageLimitsOutput = ExperimentalUsageLimitsOutput;
|
|
5734
|
+
/** @deprecated Use `ExperimentalConfigUpdateInput`. Removed in the next minor. */
|
|
5735
|
+
export type ConfigUpdateInput = ExperimentalConfigUpdateInput;
|
|
5736
|
+
/** @deprecated Use `ExperimentalConfigUpdateOutput`. Removed in the next minor. */
|
|
5737
|
+
export type ConfigUpdateOutput = ExperimentalConfigUpdateOutput;
|