@opengeni/contracts 0.9.0 → 0.10.0
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/index.d.ts +2861 -289
- package/dist/index.js +984 -151
- package/dist/index.js.map +1 -1
- package/package.json +9 -9
- package/src/index.ts +1392 -243
package/dist/index.d.ts
CHANGED
|
@@ -5,6 +5,9 @@ declare const SessionStatus: z.ZodEnum<{
|
|
|
5
5
|
running: "running";
|
|
6
6
|
idle: "idle";
|
|
7
7
|
requires_action: "requires_action";
|
|
8
|
+
recovering: "recovering";
|
|
9
|
+
waiting_capacity: "waiting_capacity";
|
|
10
|
+
paused: "paused";
|
|
8
11
|
failed: "failed";
|
|
9
12
|
cancelled: "cancelled";
|
|
10
13
|
}>;
|
|
@@ -163,11 +166,15 @@ declare const Permission: z.ZodEnum<{
|
|
|
163
166
|
"connections:write": "connections:write";
|
|
164
167
|
"environments:manage": "environments:manage";
|
|
165
168
|
"environments:use": "environments:use";
|
|
169
|
+
"variable-sets:manage": "variable-sets:manage";
|
|
170
|
+
"variable-sets:use": "variable-sets:use";
|
|
166
171
|
"mcp_servers:attach": "mcp_servers:attach";
|
|
167
172
|
"toolspace:call": "toolspace:call";
|
|
168
173
|
"goals:manage": "goals:manage";
|
|
169
174
|
"enrollments:read": "enrollments:read";
|
|
170
175
|
"enrollments:manage": "enrollments:manage";
|
|
176
|
+
"rigs:use": "rigs:use";
|
|
177
|
+
"rigs:manage": "rigs:manage";
|
|
171
178
|
}>;
|
|
172
179
|
type Permission = z.infer<typeof Permission>;
|
|
173
180
|
declare function prefixedMcpToolName(registryId: string, toolName: string): string;
|
|
@@ -217,10 +224,38 @@ declare const Workspace: z.ZodObject<{
|
|
|
217
224
|
externalSource: z.ZodNullable<z.ZodString>;
|
|
218
225
|
externalId: z.ZodNullable<z.ZodString>;
|
|
219
226
|
agentInstructions: z.ZodNullable<z.ZodString>;
|
|
227
|
+
settings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
228
|
+
inferenceState: z.ZodEnum<{
|
|
229
|
+
paused: "paused";
|
|
230
|
+
active: "active";
|
|
231
|
+
}>;
|
|
232
|
+
inferenceGeneration: z.ZodNumber;
|
|
233
|
+
inferenceReason: z.ZodNullable<z.ZodString>;
|
|
234
|
+
inferenceChangedBy: z.ZodNullable<z.ZodString>;
|
|
235
|
+
inferenceChangedAt: z.ZodNullable<z.ZodString>;
|
|
236
|
+
defaultRigId: z.ZodNullable<z.ZodString>;
|
|
220
237
|
createdAt: z.ZodString;
|
|
221
238
|
updatedAt: z.ZodString;
|
|
222
239
|
}, z.core.$strip>;
|
|
223
240
|
type Workspace = z.infer<typeof Workspace>;
|
|
241
|
+
declare const WorkspaceSettingsSchema: z.ZodObject<{
|
|
242
|
+
memoryEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
243
|
+
}, z.core.$loose>;
|
|
244
|
+
type WorkspaceSettings = z.infer<typeof WorkspaceSettingsSchema>;
|
|
245
|
+
declare function resolveWorkspaceMemoryEnabled(settings: unknown): boolean;
|
|
246
|
+
declare const UpdateWorkspaceSettingsRequest: z.ZodObject<{
|
|
247
|
+
memoryEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
248
|
+
}, z.core.$loose>;
|
|
249
|
+
type UpdateWorkspaceSettingsRequest = z.infer<typeof UpdateWorkspaceSettingsRequest>;
|
|
250
|
+
declare const SetWorkspaceDefaultRigRequest: z.ZodObject<{
|
|
251
|
+
rigId: z.ZodNullable<z.ZodString>;
|
|
252
|
+
}, z.core.$strip>;
|
|
253
|
+
type SetWorkspaceDefaultRigRequest = z.infer<typeof SetWorkspaceDefaultRigRequest>;
|
|
254
|
+
declare const UpdateWorkspaceModelPolicyRequest: z.ZodObject<{
|
|
255
|
+
allowedProviders: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
256
|
+
allowedModels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
257
|
+
}, z.core.$strip>;
|
|
258
|
+
type UpdateWorkspaceModelPolicyRequest = z.infer<typeof UpdateWorkspaceModelPolicyRequest>;
|
|
224
259
|
declare const AccountGrant: z.ZodObject<{
|
|
225
260
|
accountId: z.ZodString;
|
|
226
261
|
subjectId: z.ZodString;
|
|
@@ -260,11 +295,15 @@ declare const AccountGrant: z.ZodObject<{
|
|
|
260
295
|
"connections:write": "connections:write";
|
|
261
296
|
"environments:manage": "environments:manage";
|
|
262
297
|
"environments:use": "environments:use";
|
|
298
|
+
"variable-sets:manage": "variable-sets:manage";
|
|
299
|
+
"variable-sets:use": "variable-sets:use";
|
|
263
300
|
"mcp_servers:attach": "mcp_servers:attach";
|
|
264
301
|
"toolspace:call": "toolspace:call";
|
|
265
302
|
"goals:manage": "goals:manage";
|
|
266
303
|
"enrollments:read": "enrollments:read";
|
|
267
304
|
"enrollments:manage": "enrollments:manage";
|
|
305
|
+
"rigs:use": "rigs:use";
|
|
306
|
+
"rigs:manage": "rigs:manage";
|
|
268
307
|
}>>;
|
|
269
308
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
270
309
|
}, z.core.$strip>;
|
|
@@ -304,11 +343,15 @@ declare const AccessGrant: z.ZodObject<{
|
|
|
304
343
|
"connections:write": "connections:write";
|
|
305
344
|
"environments:manage": "environments:manage";
|
|
306
345
|
"environments:use": "environments:use";
|
|
346
|
+
"variable-sets:manage": "variable-sets:manage";
|
|
347
|
+
"variable-sets:use": "variable-sets:use";
|
|
307
348
|
"mcp_servers:attach": "mcp_servers:attach";
|
|
308
349
|
"toolspace:call": "toolspace:call";
|
|
309
350
|
"goals:manage": "goals:manage";
|
|
310
351
|
"enrollments:read": "enrollments:read";
|
|
311
352
|
"enrollments:manage": "enrollments:manage";
|
|
353
|
+
"rigs:use": "rigs:use";
|
|
354
|
+
"rigs:manage": "rigs:manage";
|
|
312
355
|
}>>;
|
|
313
356
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
314
357
|
}, z.core.$strip>;
|
|
@@ -360,11 +403,15 @@ declare const AccessContext: z.ZodObject<{
|
|
|
360
403
|
"connections:write": "connections:write";
|
|
361
404
|
"environments:manage": "environments:manage";
|
|
362
405
|
"environments:use": "environments:use";
|
|
406
|
+
"variable-sets:manage": "variable-sets:manage";
|
|
407
|
+
"variable-sets:use": "variable-sets:use";
|
|
363
408
|
"mcp_servers:attach": "mcp_servers:attach";
|
|
364
409
|
"toolspace:call": "toolspace:call";
|
|
365
410
|
"goals:manage": "goals:manage";
|
|
366
411
|
"enrollments:read": "enrollments:read";
|
|
367
412
|
"enrollments:manage": "enrollments:manage";
|
|
413
|
+
"rigs:use": "rigs:use";
|
|
414
|
+
"rigs:manage": "rigs:manage";
|
|
368
415
|
}>>;
|
|
369
416
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
370
417
|
}, z.core.$strip>>;
|
|
@@ -403,11 +450,15 @@ declare const AccessContext: z.ZodObject<{
|
|
|
403
450
|
"connections:write": "connections:write";
|
|
404
451
|
"environments:manage": "environments:manage";
|
|
405
452
|
"environments:use": "environments:use";
|
|
453
|
+
"variable-sets:manage": "variable-sets:manage";
|
|
454
|
+
"variable-sets:use": "variable-sets:use";
|
|
406
455
|
"mcp_servers:attach": "mcp_servers:attach";
|
|
407
456
|
"toolspace:call": "toolspace:call";
|
|
408
457
|
"goals:manage": "goals:manage";
|
|
409
458
|
"enrollments:read": "enrollments:read";
|
|
410
459
|
"enrollments:manage": "enrollments:manage";
|
|
460
|
+
"rigs:use": "rigs:use";
|
|
461
|
+
"rigs:manage": "rigs:manage";
|
|
411
462
|
}>>;
|
|
412
463
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
413
464
|
}, z.core.$strip>>;
|
|
@@ -450,13 +501,18 @@ declare const DelegatedAccessTokenPayload: z.ZodObject<{
|
|
|
450
501
|
"connections:write": "connections:write";
|
|
451
502
|
"environments:manage": "environments:manage";
|
|
452
503
|
"environments:use": "environments:use";
|
|
504
|
+
"variable-sets:manage": "variable-sets:manage";
|
|
505
|
+
"variable-sets:use": "variable-sets:use";
|
|
453
506
|
"mcp_servers:attach": "mcp_servers:attach";
|
|
454
507
|
"toolspace:call": "toolspace:call";
|
|
455
508
|
"goals:manage": "goals:manage";
|
|
456
509
|
"enrollments:read": "enrollments:read";
|
|
457
510
|
"enrollments:manage": "enrollments:manage";
|
|
511
|
+
"rigs:use": "rigs:use";
|
|
512
|
+
"rigs:manage": "rigs:manage";
|
|
458
513
|
}>>;
|
|
459
514
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
515
|
+
turnId: z.ZodOptional<z.ZodString>;
|
|
460
516
|
exp: z.ZodNumber;
|
|
461
517
|
}, z.core.$strip>;
|
|
462
518
|
type DelegatedAccessTokenPayload = z.infer<typeof DelegatedAccessTokenPayload>;
|
|
@@ -584,11 +640,15 @@ declare const ApiKey: z.ZodObject<{
|
|
|
584
640
|
"connections:write": "connections:write";
|
|
585
641
|
"environments:manage": "environments:manage";
|
|
586
642
|
"environments:use": "environments:use";
|
|
643
|
+
"variable-sets:manage": "variable-sets:manage";
|
|
644
|
+
"variable-sets:use": "variable-sets:use";
|
|
587
645
|
"mcp_servers:attach": "mcp_servers:attach";
|
|
588
646
|
"toolspace:call": "toolspace:call";
|
|
589
647
|
"goals:manage": "goals:manage";
|
|
590
648
|
"enrollments:read": "enrollments:read";
|
|
591
649
|
"enrollments:manage": "enrollments:manage";
|
|
650
|
+
"rigs:use": "rigs:use";
|
|
651
|
+
"rigs:manage": "rigs:manage";
|
|
592
652
|
}>>;
|
|
593
653
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
594
654
|
revokedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -630,11 +690,15 @@ declare const CreateApiKeyRequest: z.ZodObject<{
|
|
|
630
690
|
"connections:write": "connections:write";
|
|
631
691
|
"environments:manage": "environments:manage";
|
|
632
692
|
"environments:use": "environments:use";
|
|
693
|
+
"variable-sets:manage": "variable-sets:manage";
|
|
694
|
+
"variable-sets:use": "variable-sets:use";
|
|
633
695
|
"mcp_servers:attach": "mcp_servers:attach";
|
|
634
696
|
"toolspace:call": "toolspace:call";
|
|
635
697
|
"goals:manage": "goals:manage";
|
|
636
698
|
"enrollments:read": "enrollments:read";
|
|
637
699
|
"enrollments:manage": "enrollments:manage";
|
|
700
|
+
"rigs:use": "rigs:use";
|
|
701
|
+
"rigs:manage": "rigs:manage";
|
|
638
702
|
}>>;
|
|
639
703
|
expiresAt: z.ZodOptional<z.ZodString>;
|
|
640
704
|
}, z.core.$strip>;
|
|
@@ -676,11 +740,15 @@ declare const CreateApiKeyResponse: z.ZodObject<{
|
|
|
676
740
|
"connections:write": "connections:write";
|
|
677
741
|
"environments:manage": "environments:manage";
|
|
678
742
|
"environments:use": "environments:use";
|
|
743
|
+
"variable-sets:manage": "variable-sets:manage";
|
|
744
|
+
"variable-sets:use": "variable-sets:use";
|
|
679
745
|
"mcp_servers:attach": "mcp_servers:attach";
|
|
680
746
|
"toolspace:call": "toolspace:call";
|
|
681
747
|
"goals:manage": "goals:manage";
|
|
682
748
|
"enrollments:read": "enrollments:read";
|
|
683
749
|
"enrollments:manage": "enrollments:manage";
|
|
750
|
+
"rigs:use": "rigs:use";
|
|
751
|
+
"rigs:manage": "rigs:manage";
|
|
684
752
|
}>>;
|
|
685
753
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
686
754
|
revokedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -725,11 +793,15 @@ declare const WorkspaceMember: z.ZodObject<{
|
|
|
725
793
|
"connections:write": "connections:write";
|
|
726
794
|
"environments:manage": "environments:manage";
|
|
727
795
|
"environments:use": "environments:use";
|
|
796
|
+
"variable-sets:manage": "variable-sets:manage";
|
|
797
|
+
"variable-sets:use": "variable-sets:use";
|
|
728
798
|
"mcp_servers:attach": "mcp_servers:attach";
|
|
729
799
|
"toolspace:call": "toolspace:call";
|
|
730
800
|
"goals:manage": "goals:manage";
|
|
731
801
|
"enrollments:read": "enrollments:read";
|
|
732
802
|
"enrollments:manage": "enrollments:manage";
|
|
803
|
+
"rigs:use": "rigs:use";
|
|
804
|
+
"rigs:manage": "rigs:manage";
|
|
733
805
|
}>>;
|
|
734
806
|
createdAt: z.ZodString;
|
|
735
807
|
}, z.core.$strip>;
|
|
@@ -769,11 +841,15 @@ declare const ListWorkspaceMembersResponse: z.ZodObject<{
|
|
|
769
841
|
"connections:write": "connections:write";
|
|
770
842
|
"environments:manage": "environments:manage";
|
|
771
843
|
"environments:use": "environments:use";
|
|
844
|
+
"variable-sets:manage": "variable-sets:manage";
|
|
845
|
+
"variable-sets:use": "variable-sets:use";
|
|
772
846
|
"mcp_servers:attach": "mcp_servers:attach";
|
|
773
847
|
"toolspace:call": "toolspace:call";
|
|
774
848
|
"goals:manage": "goals:manage";
|
|
775
849
|
"enrollments:read": "enrollments:read";
|
|
776
850
|
"enrollments:manage": "enrollments:manage";
|
|
851
|
+
"rigs:use": "rigs:use";
|
|
852
|
+
"rigs:manage": "rigs:manage";
|
|
777
853
|
}>>;
|
|
778
854
|
createdAt: z.ZodString;
|
|
779
855
|
}, z.core.$strip>>;
|
|
@@ -812,11 +888,15 @@ declare const AddWorkspaceMemberRequest: z.ZodObject<{
|
|
|
812
888
|
"connections:write": "connections:write";
|
|
813
889
|
"environments:manage": "environments:manage";
|
|
814
890
|
"environments:use": "environments:use";
|
|
891
|
+
"variable-sets:manage": "variable-sets:manage";
|
|
892
|
+
"variable-sets:use": "variable-sets:use";
|
|
815
893
|
"mcp_servers:attach": "mcp_servers:attach";
|
|
816
894
|
"toolspace:call": "toolspace:call";
|
|
817
895
|
"goals:manage": "goals:manage";
|
|
818
896
|
"enrollments:read": "enrollments:read";
|
|
819
897
|
"enrollments:manage": "enrollments:manage";
|
|
898
|
+
"rigs:use": "rigs:use";
|
|
899
|
+
"rigs:manage": "rigs:manage";
|
|
820
900
|
}>>;
|
|
821
901
|
}, z.core.$strip>;
|
|
822
902
|
type AddWorkspaceMemberRequest = z.infer<typeof AddWorkspaceMemberRequest>;
|
|
@@ -852,11 +932,15 @@ declare const UpdateWorkspaceMemberRequest: z.ZodObject<{
|
|
|
852
932
|
"connections:write": "connections:write";
|
|
853
933
|
"environments:manage": "environments:manage";
|
|
854
934
|
"environments:use": "environments:use";
|
|
935
|
+
"variable-sets:manage": "variable-sets:manage";
|
|
936
|
+
"variable-sets:use": "variable-sets:use";
|
|
855
937
|
"mcp_servers:attach": "mcp_servers:attach";
|
|
856
938
|
"toolspace:call": "toolspace:call";
|
|
857
939
|
"goals:manage": "goals:manage";
|
|
858
940
|
"enrollments:read": "enrollments:read";
|
|
859
941
|
"enrollments:manage": "enrollments:manage";
|
|
942
|
+
"rigs:use": "rigs:use";
|
|
943
|
+
"rigs:manage": "rigs:manage";
|
|
860
944
|
}>>;
|
|
861
945
|
}, z.core.$strip>;
|
|
862
946
|
type UpdateWorkspaceMemberRequest = z.infer<typeof UpdateWorkspaceMemberRequest>;
|
|
@@ -955,15 +1039,39 @@ type AdmitRunInput = {
|
|
|
955
1039
|
type EntitlementsPort = {
|
|
956
1040
|
admitRun(input: AdmitRunInput): Promise<EntitlementDecision>;
|
|
957
1041
|
};
|
|
1042
|
+
declare const GitCredentialProvider: z.ZodEnum<{
|
|
1043
|
+
github: "github";
|
|
1044
|
+
gitlab: "gitlab";
|
|
1045
|
+
azure_devops: "azure_devops";
|
|
1046
|
+
}>;
|
|
1047
|
+
type GitCredentialProvider = z.infer<typeof GitCredentialProvider>;
|
|
1048
|
+
declare const GitCredentialRepositoryRef: z.ZodObject<{
|
|
1049
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
1050
|
+
github: "github";
|
|
1051
|
+
gitlab: "gitlab";
|
|
1052
|
+
azure_devops: "azure_devops";
|
|
1053
|
+
}>>;
|
|
1054
|
+
uri: z.ZodString;
|
|
1055
|
+
ref: z.ZodString;
|
|
1056
|
+
repositoryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
1057
|
+
installationId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
1058
|
+
projectId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
1059
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
1060
|
+
}, z.core.$strip>;
|
|
1061
|
+
type GitCredentialRepositoryRef = z.infer<typeof GitCredentialRepositoryRef>;
|
|
958
1062
|
type GitCredentialsRequest = {
|
|
959
1063
|
accountId: string;
|
|
960
1064
|
workspaceId: string;
|
|
1065
|
+
provider?: GitCredentialProvider;
|
|
1066
|
+
purpose?: "token" | "identity";
|
|
1067
|
+
repositoryRefs?: GitCredentialRepositoryRef[];
|
|
961
1068
|
installationId: number;
|
|
962
1069
|
repositoryIds: number[];
|
|
963
1070
|
};
|
|
964
1071
|
type GitCredentials = {
|
|
965
|
-
token
|
|
1072
|
+
token?: string;
|
|
966
1073
|
workspaceId: string;
|
|
1074
|
+
expiresAt?: string | null;
|
|
967
1075
|
identity?: {
|
|
968
1076
|
name: string;
|
|
969
1077
|
email: string;
|
|
@@ -972,7 +1080,7 @@ type GitCredentials = {
|
|
|
972
1080
|
type SandboxSecretsRequest = {
|
|
973
1081
|
accountId: string;
|
|
974
1082
|
workspaceId: string;
|
|
975
|
-
|
|
1083
|
+
variableSetId: string;
|
|
976
1084
|
};
|
|
977
1085
|
type SandboxSecrets = {
|
|
978
1086
|
values: Record<string, string>;
|
|
@@ -982,8 +1090,8 @@ type SandboxSecrets = {
|
|
|
982
1090
|
description?: string | null;
|
|
983
1091
|
};
|
|
984
1092
|
type ConnectionCredentialsPort = {
|
|
985
|
-
gitCredentials
|
|
986
|
-
sandboxSecrets
|
|
1093
|
+
gitCredentials?(input: GitCredentialsRequest): Promise<GitCredentials>;
|
|
1094
|
+
sandboxSecrets?(input: SandboxSecretsRequest): Promise<SandboxSecrets>;
|
|
987
1095
|
};
|
|
988
1096
|
type GitHubInstallationSummary = {
|
|
989
1097
|
installationId: number;
|
|
@@ -1025,6 +1133,15 @@ declare const RepositoryResourceRef: z.ZodObject<{
|
|
|
1025
1133
|
ref: z.ZodString;
|
|
1026
1134
|
mountPath: z.ZodOptional<z.ZodString>;
|
|
1027
1135
|
subpath: z.ZodOptional<z.ZodString>;
|
|
1136
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
1137
|
+
github: "github";
|
|
1138
|
+
gitlab: "gitlab";
|
|
1139
|
+
azure_devops: "azure_devops";
|
|
1140
|
+
}>>;
|
|
1141
|
+
repositoryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
1142
|
+
installationId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
1143
|
+
projectId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
1144
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
1028
1145
|
githubInstallationId: z.ZodOptional<z.ZodNumber>;
|
|
1029
1146
|
githubRepositoryId: z.ZodOptional<z.ZodNumber>;
|
|
1030
1147
|
}, z.core.$strip>;
|
|
@@ -1041,6 +1158,15 @@ declare const ResourceRef: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1041
1158
|
ref: z.ZodString;
|
|
1042
1159
|
mountPath: z.ZodOptional<z.ZodString>;
|
|
1043
1160
|
subpath: z.ZodOptional<z.ZodString>;
|
|
1161
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
1162
|
+
github: "github";
|
|
1163
|
+
gitlab: "gitlab";
|
|
1164
|
+
azure_devops: "azure_devops";
|
|
1165
|
+
}>>;
|
|
1166
|
+
repositoryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
1167
|
+
installationId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
1168
|
+
projectId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
1169
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
1044
1170
|
githubInstallationId: z.ZodOptional<z.ZodNumber>;
|
|
1045
1171
|
githubRepositoryId: z.ZodOptional<z.ZodNumber>;
|
|
1046
1172
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1061,6 +1187,7 @@ declare const FileUploadStatus: z.ZodEnum<{
|
|
|
1061
1187
|
failed: "failed";
|
|
1062
1188
|
expired: "expired";
|
|
1063
1189
|
pending: "pending";
|
|
1190
|
+
cleanup_pending: "cleanup_pending";
|
|
1064
1191
|
completed: "completed";
|
|
1065
1192
|
}>;
|
|
1066
1193
|
type FileUploadStatus = z.infer<typeof FileUploadStatus>;
|
|
@@ -1288,9 +1415,12 @@ declare const DocumentSearchRequest: z.ZodObject<{
|
|
|
1288
1415
|
}, z.core.$strip>;
|
|
1289
1416
|
type DocumentSearchRequest = z.infer<typeof DocumentSearchRequest>;
|
|
1290
1417
|
declare const KnowledgeMemoryStatus: z.ZodEnum<{
|
|
1418
|
+
active: "active";
|
|
1291
1419
|
proposed: "proposed";
|
|
1292
1420
|
approved: "approved";
|
|
1293
1421
|
rejected: "rejected";
|
|
1422
|
+
superseded: "superseded";
|
|
1423
|
+
archived: "archived";
|
|
1294
1424
|
}>;
|
|
1295
1425
|
type KnowledgeMemoryStatus = z.infer<typeof KnowledgeMemoryStatus>;
|
|
1296
1426
|
declare const KnowledgeMemoryKind: z.ZodEnum<{
|
|
@@ -1319,9 +1449,12 @@ declare const KnowledgeMemory: z.ZodObject<{
|
|
|
1319
1449
|
id: z.ZodString;
|
|
1320
1450
|
workspaceId: z.ZodString;
|
|
1321
1451
|
status: z.ZodEnum<{
|
|
1452
|
+
active: "active";
|
|
1322
1453
|
proposed: "proposed";
|
|
1323
1454
|
approved: "approved";
|
|
1324
1455
|
rejected: "rejected";
|
|
1456
|
+
superseded: "superseded";
|
|
1457
|
+
archived: "archived";
|
|
1325
1458
|
}>;
|
|
1326
1459
|
kind: z.ZodEnum<{
|
|
1327
1460
|
semantic: "semantic";
|
|
@@ -1350,15 +1483,25 @@ declare const KnowledgeMemory: z.ZodObject<{
|
|
|
1350
1483
|
createdBySessionId: z.ZodNullable<z.ZodString>;
|
|
1351
1484
|
reviewedBy: z.ZodNullable<z.ZodString>;
|
|
1352
1485
|
reviewedAt: z.ZodNullable<z.ZodString>;
|
|
1486
|
+
pinned: z.ZodBoolean;
|
|
1487
|
+
usageCount: z.ZodNumber;
|
|
1488
|
+
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
1489
|
+
supersedesId: z.ZodNullable<z.ZodString>;
|
|
1490
|
+
supersededById: z.ZodNullable<z.ZodString>;
|
|
1491
|
+
validFrom: z.ZodString;
|
|
1492
|
+
validUntil: z.ZodNullable<z.ZodString>;
|
|
1353
1493
|
createdAt: z.ZodString;
|
|
1354
1494
|
updatedAt: z.ZodString;
|
|
1355
1495
|
}, z.core.$strip>;
|
|
1356
1496
|
type KnowledgeMemory = z.infer<typeof KnowledgeMemory>;
|
|
1357
1497
|
declare const CreateKnowledgeMemoryRequest: z.ZodObject<{
|
|
1358
1498
|
status: z.ZodDefault<z.ZodEnum<{
|
|
1499
|
+
active: "active";
|
|
1359
1500
|
proposed: "proposed";
|
|
1360
1501
|
approved: "approved";
|
|
1361
1502
|
rejected: "rejected";
|
|
1503
|
+
superseded: "superseded";
|
|
1504
|
+
archived: "archived";
|
|
1362
1505
|
}>>;
|
|
1363
1506
|
kind: z.ZodDefault<z.ZodEnum<{
|
|
1364
1507
|
semantic: "semantic";
|
|
@@ -1385,13 +1528,18 @@ declare const CreateKnowledgeMemoryRequest: z.ZodObject<{
|
|
|
1385
1528
|
confidence: z.ZodDefault<z.ZodNumber>;
|
|
1386
1529
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1387
1530
|
createdBySessionId: z.ZodOptional<z.ZodString>;
|
|
1531
|
+
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
1532
|
+
replacesId: z.ZodOptional<z.ZodString>;
|
|
1388
1533
|
}, z.core.$strip>;
|
|
1389
1534
|
type CreateKnowledgeMemoryRequest = z.infer<typeof CreateKnowledgeMemoryRequest>;
|
|
1390
1535
|
declare const UpdateKnowledgeMemoryRequest: z.ZodObject<{
|
|
1391
1536
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1537
|
+
active: "active";
|
|
1392
1538
|
proposed: "proposed";
|
|
1393
1539
|
approved: "approved";
|
|
1394
1540
|
rejected: "rejected";
|
|
1541
|
+
superseded: "superseded";
|
|
1542
|
+
archived: "archived";
|
|
1395
1543
|
}>>;
|
|
1396
1544
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
1397
1545
|
semantic: "semantic";
|
|
@@ -1418,14 +1566,18 @@ declare const UpdateKnowledgeMemoryRequest: z.ZodObject<{
|
|
|
1418
1566
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
1419
1567
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1420
1568
|
reviewedBy: z.ZodOptional<z.ZodString>;
|
|
1569
|
+
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
1421
1570
|
}, z.core.$strip>;
|
|
1422
1571
|
type UpdateKnowledgeMemoryRequest = z.infer<typeof UpdateKnowledgeMemoryRequest>;
|
|
1423
1572
|
declare const KnowledgeMemorySearchRequest: z.ZodObject<{
|
|
1424
1573
|
query: z.ZodOptional<z.ZodString>;
|
|
1425
1574
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1575
|
+
active: "active";
|
|
1426
1576
|
proposed: "proposed";
|
|
1427
1577
|
approved: "approved";
|
|
1428
1578
|
rejected: "rejected";
|
|
1579
|
+
superseded: "superseded";
|
|
1580
|
+
archived: "archived";
|
|
1429
1581
|
}>>;
|
|
1430
1582
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
1431
1583
|
semantic: "semantic";
|
|
@@ -1438,6 +1590,149 @@ declare const KnowledgeMemorySearchRequest: z.ZodObject<{
|
|
|
1438
1590
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
1439
1591
|
}, z.core.$strip>;
|
|
1440
1592
|
type KnowledgeMemorySearchRequest = z.infer<typeof KnowledgeMemorySearchRequest>;
|
|
1593
|
+
declare const WorkspaceMemorySearchMode: z.ZodEnum<{
|
|
1594
|
+
hybrid: "hybrid";
|
|
1595
|
+
vector: "vector";
|
|
1596
|
+
keyword: "keyword";
|
|
1597
|
+
}>;
|
|
1598
|
+
type WorkspaceMemorySearchMode = z.infer<typeof WorkspaceMemorySearchMode>;
|
|
1599
|
+
declare const WorkspaceMemorySearchRequest: z.ZodObject<{
|
|
1600
|
+
query: z.ZodString;
|
|
1601
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
1602
|
+
semantic: "semantic";
|
|
1603
|
+
episodic: "episodic";
|
|
1604
|
+
procedural: "procedural";
|
|
1605
|
+
decision: "decision";
|
|
1606
|
+
preference: "preference";
|
|
1607
|
+
}>>;
|
|
1608
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
1609
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
1610
|
+
hybrid: "hybrid";
|
|
1611
|
+
vector: "vector";
|
|
1612
|
+
keyword: "keyword";
|
|
1613
|
+
}>>;
|
|
1614
|
+
}, z.core.$strip>;
|
|
1615
|
+
type WorkspaceMemorySearchRequest = z.infer<typeof WorkspaceMemorySearchRequest>;
|
|
1616
|
+
declare const WorkspaceMemorySearchResult: z.ZodObject<{
|
|
1617
|
+
memory: z.ZodObject<{
|
|
1618
|
+
id: z.ZodString;
|
|
1619
|
+
workspaceId: z.ZodString;
|
|
1620
|
+
status: z.ZodEnum<{
|
|
1621
|
+
active: "active";
|
|
1622
|
+
proposed: "proposed";
|
|
1623
|
+
approved: "approved";
|
|
1624
|
+
rejected: "rejected";
|
|
1625
|
+
superseded: "superseded";
|
|
1626
|
+
archived: "archived";
|
|
1627
|
+
}>;
|
|
1628
|
+
kind: z.ZodEnum<{
|
|
1629
|
+
semantic: "semantic";
|
|
1630
|
+
episodic: "episodic";
|
|
1631
|
+
procedural: "procedural";
|
|
1632
|
+
decision: "decision";
|
|
1633
|
+
preference: "preference";
|
|
1634
|
+
}>;
|
|
1635
|
+
scope: z.ZodString;
|
|
1636
|
+
text: z.ZodString;
|
|
1637
|
+
sourceRefs: z.ZodArray<z.ZodObject<{
|
|
1638
|
+
kind: z.ZodEnum<{
|
|
1639
|
+
document: "document";
|
|
1640
|
+
document_chunk: "document_chunk";
|
|
1641
|
+
session_event: "session_event";
|
|
1642
|
+
memory: "memory";
|
|
1643
|
+
external: "external";
|
|
1644
|
+
}>;
|
|
1645
|
+
id: z.ZodString;
|
|
1646
|
+
uri: z.ZodOptional<z.ZodString>;
|
|
1647
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1648
|
+
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1649
|
+
}, z.core.$strip>>;
|
|
1650
|
+
confidence: z.ZodNumber;
|
|
1651
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1652
|
+
createdBySessionId: z.ZodNullable<z.ZodString>;
|
|
1653
|
+
reviewedBy: z.ZodNullable<z.ZodString>;
|
|
1654
|
+
reviewedAt: z.ZodNullable<z.ZodString>;
|
|
1655
|
+
pinned: z.ZodBoolean;
|
|
1656
|
+
usageCount: z.ZodNumber;
|
|
1657
|
+
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
1658
|
+
supersedesId: z.ZodNullable<z.ZodString>;
|
|
1659
|
+
supersededById: z.ZodNullable<z.ZodString>;
|
|
1660
|
+
validFrom: z.ZodString;
|
|
1661
|
+
validUntil: z.ZodNullable<z.ZodString>;
|
|
1662
|
+
createdAt: z.ZodString;
|
|
1663
|
+
updatedAt: z.ZodString;
|
|
1664
|
+
}, z.core.$strip>;
|
|
1665
|
+
score: z.ZodNumber;
|
|
1666
|
+
matchType: z.ZodEnum<{
|
|
1667
|
+
hybrid: "hybrid";
|
|
1668
|
+
vector: "vector";
|
|
1669
|
+
keyword: "keyword";
|
|
1670
|
+
}>;
|
|
1671
|
+
vectorScore: z.ZodNullable<z.ZodNumber>;
|
|
1672
|
+
keywordScore: z.ZodNullable<z.ZodNumber>;
|
|
1673
|
+
}, z.core.$strip>;
|
|
1674
|
+
type WorkspaceMemorySearchResult = z.infer<typeof WorkspaceMemorySearchResult>;
|
|
1675
|
+
declare const WorkspaceMemorySearchResponse: z.ZodObject<{
|
|
1676
|
+
results: z.ZodArray<z.ZodObject<{
|
|
1677
|
+
memory: z.ZodObject<{
|
|
1678
|
+
id: z.ZodString;
|
|
1679
|
+
workspaceId: z.ZodString;
|
|
1680
|
+
status: z.ZodEnum<{
|
|
1681
|
+
active: "active";
|
|
1682
|
+
proposed: "proposed";
|
|
1683
|
+
approved: "approved";
|
|
1684
|
+
rejected: "rejected";
|
|
1685
|
+
superseded: "superseded";
|
|
1686
|
+
archived: "archived";
|
|
1687
|
+
}>;
|
|
1688
|
+
kind: z.ZodEnum<{
|
|
1689
|
+
semantic: "semantic";
|
|
1690
|
+
episodic: "episodic";
|
|
1691
|
+
procedural: "procedural";
|
|
1692
|
+
decision: "decision";
|
|
1693
|
+
preference: "preference";
|
|
1694
|
+
}>;
|
|
1695
|
+
scope: z.ZodString;
|
|
1696
|
+
text: z.ZodString;
|
|
1697
|
+
sourceRefs: z.ZodArray<z.ZodObject<{
|
|
1698
|
+
kind: z.ZodEnum<{
|
|
1699
|
+
document: "document";
|
|
1700
|
+
document_chunk: "document_chunk";
|
|
1701
|
+
session_event: "session_event";
|
|
1702
|
+
memory: "memory";
|
|
1703
|
+
external: "external";
|
|
1704
|
+
}>;
|
|
1705
|
+
id: z.ZodString;
|
|
1706
|
+
uri: z.ZodOptional<z.ZodString>;
|
|
1707
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1708
|
+
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1709
|
+
}, z.core.$strip>>;
|
|
1710
|
+
confidence: z.ZodNumber;
|
|
1711
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1712
|
+
createdBySessionId: z.ZodNullable<z.ZodString>;
|
|
1713
|
+
reviewedBy: z.ZodNullable<z.ZodString>;
|
|
1714
|
+
reviewedAt: z.ZodNullable<z.ZodString>;
|
|
1715
|
+
pinned: z.ZodBoolean;
|
|
1716
|
+
usageCount: z.ZodNumber;
|
|
1717
|
+
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
1718
|
+
supersedesId: z.ZodNullable<z.ZodString>;
|
|
1719
|
+
supersededById: z.ZodNullable<z.ZodString>;
|
|
1720
|
+
validFrom: z.ZodString;
|
|
1721
|
+
validUntil: z.ZodNullable<z.ZodString>;
|
|
1722
|
+
createdAt: z.ZodString;
|
|
1723
|
+
updatedAt: z.ZodString;
|
|
1724
|
+
}, z.core.$strip>;
|
|
1725
|
+
score: z.ZodNumber;
|
|
1726
|
+
matchType: z.ZodEnum<{
|
|
1727
|
+
hybrid: "hybrid";
|
|
1728
|
+
vector: "vector";
|
|
1729
|
+
keyword: "keyword";
|
|
1730
|
+
}>;
|
|
1731
|
+
vectorScore: z.ZodNullable<z.ZodNumber>;
|
|
1732
|
+
keywordScore: z.ZodNullable<z.ZodNumber>;
|
|
1733
|
+
}, z.core.$strip>>;
|
|
1734
|
+
}, z.core.$strip>;
|
|
1735
|
+
type WorkspaceMemorySearchResponse = z.infer<typeof WorkspaceMemorySearchResponse>;
|
|
1441
1736
|
declare const ToolRef: z.ZodObject<{
|
|
1442
1737
|
kind: z.ZodLiteral<"mcp">;
|
|
1443
1738
|
id: z.ZodString;
|
|
@@ -1482,9 +1777,12 @@ declare const SessionTurnStatus: z.ZodEnum<{
|
|
|
1482
1777
|
queued: "queued";
|
|
1483
1778
|
running: "running";
|
|
1484
1779
|
requires_action: "requires_action";
|
|
1780
|
+
recovering: "recovering";
|
|
1781
|
+
waiting_capacity: "waiting_capacity";
|
|
1485
1782
|
failed: "failed";
|
|
1486
1783
|
cancelled: "cancelled";
|
|
1487
1784
|
completed: "completed";
|
|
1785
|
+
superseded: "superseded";
|
|
1488
1786
|
}>;
|
|
1489
1787
|
type SessionTurnStatus = z.infer<typeof SessionTurnStatus>;
|
|
1490
1788
|
declare const SessionTurnSource: z.ZodEnum<{
|
|
@@ -1492,12 +1790,24 @@ declare const SessionTurnSource: z.ZodEnum<{
|
|
|
1492
1790
|
scheduled_task: "scheduled_task";
|
|
1493
1791
|
api: "api";
|
|
1494
1792
|
goal: "goal";
|
|
1793
|
+
system: "system";
|
|
1794
|
+
compaction: "compaction";
|
|
1495
1795
|
}>;
|
|
1496
1796
|
type SessionTurnSource = z.infer<typeof SessionTurnSource>;
|
|
1497
|
-
declare const
|
|
1498
|
-
|
|
1797
|
+
declare const SessionControlState: z.ZodEnum<{
|
|
1798
|
+
paused: "paused";
|
|
1799
|
+
active: "active";
|
|
1800
|
+
}>;
|
|
1801
|
+
type SessionControlState = z.infer<typeof SessionControlState>;
|
|
1802
|
+
declare const WorkspaceInferenceState: z.ZodEnum<{
|
|
1803
|
+
paused: "paused";
|
|
1499
1804
|
active: "active";
|
|
1805
|
+
}>;
|
|
1806
|
+
type WorkspaceInferenceState = z.infer<typeof WorkspaceInferenceState>;
|
|
1807
|
+
declare const SessionGoalStatus: z.ZodEnum<{
|
|
1500
1808
|
paused: "paused";
|
|
1809
|
+
active: "active";
|
|
1810
|
+
completed: "completed";
|
|
1501
1811
|
}>;
|
|
1502
1812
|
type SessionGoalStatus = z.infer<typeof SessionGoalStatus>;
|
|
1503
1813
|
declare const SessionGoalCreatedBy: z.ZodEnum<{
|
|
@@ -1509,7 +1819,7 @@ type SessionGoalCreatedBy = z.infer<typeof SessionGoalCreatedBy>;
|
|
|
1509
1819
|
declare const SessionGoalPausedReason: z.ZodEnum<{
|
|
1510
1820
|
api: "api";
|
|
1511
1821
|
agent: "agent";
|
|
1512
|
-
|
|
1822
|
+
user_pause: "user_pause";
|
|
1513
1823
|
no_progress: "no_progress";
|
|
1514
1824
|
max_auto_continuations: "max_auto_continuations";
|
|
1515
1825
|
limits: "limits";
|
|
@@ -1521,9 +1831,9 @@ declare const SessionGoal: z.ZodObject<{
|
|
|
1521
1831
|
workspaceId: z.ZodString;
|
|
1522
1832
|
sessionId: z.ZodString;
|
|
1523
1833
|
status: z.ZodEnum<{
|
|
1524
|
-
completed: "completed";
|
|
1525
|
-
active: "active";
|
|
1526
1834
|
paused: "paused";
|
|
1835
|
+
active: "active";
|
|
1836
|
+
completed: "completed";
|
|
1527
1837
|
}>;
|
|
1528
1838
|
text: z.ZodString;
|
|
1529
1839
|
successCriteria: z.ZodNullable<z.ZodString>;
|
|
@@ -1552,8 +1862,8 @@ declare const GoalSpec: z.ZodObject<{
|
|
|
1552
1862
|
type GoalSpec = z.infer<typeof GoalSpec>;
|
|
1553
1863
|
declare const UpdateSessionGoalRequest: z.ZodObject<{
|
|
1554
1864
|
status: z.ZodEnum<{
|
|
1555
|
-
active: "active";
|
|
1556
1865
|
paused: "paused";
|
|
1866
|
+
active: "active";
|
|
1557
1867
|
}>;
|
|
1558
1868
|
rationale: z.ZodOptional<z.ZodString>;
|
|
1559
1869
|
}, z.core.$strip>;
|
|
@@ -1562,6 +1872,17 @@ declare const UpdateSessionRequest: z.ZodObject<{
|
|
|
1562
1872
|
title: z.ZodString;
|
|
1563
1873
|
}, z.core.$strip>;
|
|
1564
1874
|
type UpdateSessionRequest = z.infer<typeof UpdateSessionRequest>;
|
|
1875
|
+
/**
|
|
1876
|
+
* A member's personal pin preference for a session. `expectedVersion` is
|
|
1877
|
+
* optional: ordinary pin/unpin actions are idempotent last-write-wins, while a
|
|
1878
|
+
* client that has a known version can fail closed rather than overwrite a newer
|
|
1879
|
+
* action from another browser.
|
|
1880
|
+
*/
|
|
1881
|
+
declare const UpdateSessionPinRequest: z.ZodObject<{
|
|
1882
|
+
pinned: z.ZodBoolean;
|
|
1883
|
+
expectedVersion: z.ZodOptional<z.ZodNumber>;
|
|
1884
|
+
}, z.core.$strip>;
|
|
1885
|
+
type UpdateSessionPinRequest = z.infer<typeof UpdateSessionPinRequest>;
|
|
1565
1886
|
/**
|
|
1566
1887
|
* Clear a session's conversation context. `confirm` must be the literal `true`
|
|
1567
1888
|
* so an accidental/empty POST cannot wipe context — the destructive intent is
|
|
@@ -1598,7 +1919,8 @@ type CompactSessionContextRequest = z.infer<typeof CompactSessionContextRequest>
|
|
|
1598
1919
|
/** Outcome of a manual /compact trigger. */
|
|
1599
1920
|
declare const CompactSessionContextResult: z.ZodObject<{
|
|
1600
1921
|
status: z.ZodEnum<{
|
|
1601
|
-
|
|
1922
|
+
pending: "pending";
|
|
1923
|
+
completed: "completed";
|
|
1602
1924
|
noop: "noop";
|
|
1603
1925
|
}>;
|
|
1604
1926
|
message: z.ZodString;
|
|
@@ -1614,15 +1936,20 @@ declare const SessionTurn: z.ZodObject<{
|
|
|
1614
1936
|
queued: "queued";
|
|
1615
1937
|
running: "running";
|
|
1616
1938
|
requires_action: "requires_action";
|
|
1939
|
+
recovering: "recovering";
|
|
1940
|
+
waiting_capacity: "waiting_capacity";
|
|
1617
1941
|
failed: "failed";
|
|
1618
1942
|
cancelled: "cancelled";
|
|
1619
1943
|
completed: "completed";
|
|
1944
|
+
superseded: "superseded";
|
|
1620
1945
|
}>;
|
|
1621
1946
|
source: z.ZodEnum<{
|
|
1622
1947
|
user: "user";
|
|
1623
1948
|
scheduled_task: "scheduled_task";
|
|
1624
1949
|
api: "api";
|
|
1625
1950
|
goal: "goal";
|
|
1951
|
+
system: "system";
|
|
1952
|
+
compaction: "compaction";
|
|
1626
1953
|
}>;
|
|
1627
1954
|
position: z.ZodNumber;
|
|
1628
1955
|
prompt: z.ZodString;
|
|
@@ -1632,6 +1959,15 @@ declare const SessionTurn: z.ZodObject<{
|
|
|
1632
1959
|
ref: z.ZodString;
|
|
1633
1960
|
mountPath: z.ZodOptional<z.ZodString>;
|
|
1634
1961
|
subpath: z.ZodOptional<z.ZodString>;
|
|
1962
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
1963
|
+
github: "github";
|
|
1964
|
+
gitlab: "gitlab";
|
|
1965
|
+
azure_devops: "azure_devops";
|
|
1966
|
+
}>>;
|
|
1967
|
+
repositoryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
1968
|
+
installationId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
1969
|
+
projectId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
1970
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
1635
1971
|
githubInstallationId: z.ZodOptional<z.ZodNumber>;
|
|
1636
1972
|
githubRepositoryId: z.ZodOptional<z.ZodNumber>;
|
|
1637
1973
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1672,71 +2008,247 @@ declare const SessionTurn: z.ZodObject<{
|
|
|
1672
2008
|
windows: "windows";
|
|
1673
2009
|
}>>;
|
|
1674
2010
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2011
|
+
version: z.ZodNumber;
|
|
2012
|
+
executionGeneration: z.ZodNumber;
|
|
2013
|
+
activeAttemptId: z.ZodNullable<z.ZodString>;
|
|
2014
|
+
lineage: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2015
|
+
cancelledBy: z.ZodNullable<z.ZodString>;
|
|
2016
|
+
cancelReason: z.ZodNullable<z.ZodString>;
|
|
1675
2017
|
startedAt: z.ZodNullable<z.ZodString>;
|
|
1676
2018
|
finishedAt: z.ZodNullable<z.ZodString>;
|
|
1677
2019
|
createdAt: z.ZodString;
|
|
1678
2020
|
updatedAt: z.ZodString;
|
|
1679
2021
|
}, z.core.$strip>;
|
|
1680
2022
|
type SessionTurn = z.infer<typeof SessionTurn>;
|
|
1681
|
-
declare const
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
}
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
}, z.core.$strip>], "kind">>>;
|
|
1696
|
-
tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1697
|
-
kind: z.ZodLiteral<"mcp">;
|
|
2023
|
+
declare const SessionQueueSnapshot: z.ZodObject<{
|
|
2024
|
+
version: z.ZodNumber;
|
|
2025
|
+
controlState: z.ZodEnum<{
|
|
2026
|
+
paused: "paused";
|
|
2027
|
+
active: "active";
|
|
2028
|
+
}>;
|
|
2029
|
+
controlGeneration: z.ZodNumber;
|
|
2030
|
+
workspaceInferenceState: z.ZodEnum<{
|
|
2031
|
+
paused: "paused";
|
|
2032
|
+
active: "active";
|
|
2033
|
+
}>;
|
|
2034
|
+
workspaceInferenceGeneration: z.ZodNumber;
|
|
2035
|
+
workspaceRunExceptionGeneration: z.ZodNullable<z.ZodNumber>;
|
|
2036
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1698
2037
|
id: z.ZodString;
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
2038
|
+
workspaceId: z.ZodString;
|
|
2039
|
+
sessionId: z.ZodString;
|
|
2040
|
+
triggerEventId: z.ZodString;
|
|
2041
|
+
temporalWorkflowId: z.ZodString;
|
|
2042
|
+
status: z.ZodEnum<{
|
|
2043
|
+
queued: "queued";
|
|
2044
|
+
running: "running";
|
|
2045
|
+
requires_action: "requires_action";
|
|
2046
|
+
recovering: "recovering";
|
|
2047
|
+
waiting_capacity: "waiting_capacity";
|
|
2048
|
+
failed: "failed";
|
|
2049
|
+
cancelled: "cancelled";
|
|
2050
|
+
completed: "completed";
|
|
2051
|
+
superseded: "superseded";
|
|
2052
|
+
}>;
|
|
2053
|
+
source: z.ZodEnum<{
|
|
2054
|
+
user: "user";
|
|
2055
|
+
scheduled_task: "scheduled_task";
|
|
2056
|
+
api: "api";
|
|
2057
|
+
goal: "goal";
|
|
2058
|
+
system: "system";
|
|
2059
|
+
compaction: "compaction";
|
|
2060
|
+
}>;
|
|
2061
|
+
position: z.ZodNumber;
|
|
2062
|
+
prompt: z.ZodString;
|
|
2063
|
+
resources: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2064
|
+
kind: z.ZodLiteral<"repository">;
|
|
2065
|
+
uri: z.ZodString;
|
|
2066
|
+
ref: z.ZodString;
|
|
2067
|
+
mountPath: z.ZodOptional<z.ZodString>;
|
|
2068
|
+
subpath: z.ZodOptional<z.ZodString>;
|
|
2069
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
2070
|
+
github: "github";
|
|
2071
|
+
gitlab: "gitlab";
|
|
2072
|
+
azure_devops: "azure_devops";
|
|
2073
|
+
}>>;
|
|
2074
|
+
repositoryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
2075
|
+
installationId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
2076
|
+
projectId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
2077
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
2078
|
+
githubInstallationId: z.ZodOptional<z.ZodNumber>;
|
|
2079
|
+
githubRepositoryId: z.ZodOptional<z.ZodNumber>;
|
|
2080
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2081
|
+
kind: z.ZodLiteral<"file">;
|
|
2082
|
+
fileId: z.ZodString;
|
|
2083
|
+
mountPath: z.ZodOptional<z.ZodString>;
|
|
2084
|
+
}, z.core.$strip>], "kind">>;
|
|
2085
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
2086
|
+
kind: z.ZodLiteral<"mcp">;
|
|
2087
|
+
id: z.ZodString;
|
|
2088
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
2089
|
+
}, z.core.$strip>>;
|
|
2090
|
+
model: z.ZodString;
|
|
2091
|
+
reasoningEffort: z.ZodEnum<{
|
|
2092
|
+
none: "none";
|
|
2093
|
+
minimal: "minimal";
|
|
2094
|
+
low: "low";
|
|
2095
|
+
medium: "medium";
|
|
2096
|
+
high: "high";
|
|
2097
|
+
xhigh: "xhigh";
|
|
2098
|
+
}>;
|
|
2099
|
+
sandboxBackend: z.ZodEnum<{
|
|
2100
|
+
docker: "docker";
|
|
2101
|
+
modal: "modal";
|
|
2102
|
+
local: "local";
|
|
2103
|
+
none: "none";
|
|
2104
|
+
daytona: "daytona";
|
|
2105
|
+
runloop: "runloop";
|
|
2106
|
+
e2b: "e2b";
|
|
2107
|
+
blaxel: "blaxel";
|
|
2108
|
+
cloudflare: "cloudflare";
|
|
2109
|
+
vercel: "vercel";
|
|
2110
|
+
selfhosted: "selfhosted";
|
|
2111
|
+
}>;
|
|
2112
|
+
sandboxOs: z.ZodNullable<z.ZodEnum<{
|
|
2113
|
+
linux: "linux";
|
|
2114
|
+
macos: "macos";
|
|
2115
|
+
windows: "windows";
|
|
2116
|
+
}>>;
|
|
2117
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2118
|
+
version: z.ZodNumber;
|
|
2119
|
+
executionGeneration: z.ZodNumber;
|
|
2120
|
+
activeAttemptId: z.ZodNullable<z.ZodString>;
|
|
2121
|
+
lineage: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2122
|
+
cancelledBy: z.ZodNullable<z.ZodString>;
|
|
2123
|
+
cancelReason: z.ZodNullable<z.ZodString>;
|
|
2124
|
+
startedAt: z.ZodNullable<z.ZodString>;
|
|
2125
|
+
finishedAt: z.ZodNullable<z.ZodString>;
|
|
2126
|
+
createdAt: z.ZodString;
|
|
2127
|
+
updatedAt: z.ZodString;
|
|
2128
|
+
}, z.core.$strip>>;
|
|
2129
|
+
}, z.core.$strip>;
|
|
2130
|
+
type SessionQueueSnapshot = z.infer<typeof SessionQueueSnapshot>;
|
|
2131
|
+
declare const CancelSessionQueueItemRequest: z.ZodObject<{
|
|
2132
|
+
expectedQueueVersion: z.ZodNumber;
|
|
2133
|
+
expectedItemVersion: z.ZodNumber;
|
|
2134
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2135
|
+
}, z.core.$strip>;
|
|
2136
|
+
type CancelSessionQueueItemRequest = z.infer<typeof CancelSessionQueueItemRequest>;
|
|
2137
|
+
declare const SessionControlRequest: z.ZodObject<{
|
|
2138
|
+
mode: z.ZodEnum<{
|
|
2139
|
+
pause: "pause";
|
|
2140
|
+
resume: "resume";
|
|
2141
|
+
}>;
|
|
2142
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2143
|
+
clientEventId: z.ZodOptional<z.ZodString>;
|
|
2144
|
+
expectedControlState: z.ZodOptional<z.ZodEnum<{
|
|
2145
|
+
paused: "paused";
|
|
2146
|
+
active: "active";
|
|
1722
2147
|
}>>;
|
|
1723
|
-
|
|
2148
|
+
expectedControlGeneration: z.ZodOptional<z.ZodNumber>;
|
|
2149
|
+
expectedWorkspaceInferenceGeneration: z.ZodOptional<z.ZodNumber>;
|
|
2150
|
+
}, z.core.$strip>;
|
|
2151
|
+
type SessionControlRequest = z.infer<typeof SessionControlRequest>;
|
|
2152
|
+
declare const WorkspaceInferenceControlRequest: z.ZodObject<{
|
|
2153
|
+
state: z.ZodEnum<{
|
|
2154
|
+
paused: "paused";
|
|
2155
|
+
active: "active";
|
|
2156
|
+
}>;
|
|
2157
|
+
reason: z.ZodString;
|
|
2158
|
+
clientEventId: z.ZodString;
|
|
2159
|
+
expectedState: z.ZodEnum<{
|
|
2160
|
+
paused: "paused";
|
|
2161
|
+
active: "active";
|
|
2162
|
+
}>;
|
|
2163
|
+
expectedGeneration: z.ZodNumber;
|
|
2164
|
+
exceptSessionIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2165
|
+
}, z.core.$strip>;
|
|
2166
|
+
type WorkspaceInferenceControlRequest = z.infer<typeof WorkspaceInferenceControlRequest>;
|
|
2167
|
+
declare const WorkspaceInferenceControlResponse: z.ZodObject<{
|
|
2168
|
+
operationId: z.ZodString;
|
|
2169
|
+
state: z.ZodEnum<{
|
|
2170
|
+
paused: "paused";
|
|
2171
|
+
active: "active";
|
|
2172
|
+
}>;
|
|
2173
|
+
generation: z.ZodNumber;
|
|
2174
|
+
affectedSessionIds: z.ZodArray<z.ZodString>;
|
|
2175
|
+
controlSessionIds: z.ZodArray<z.ZodString>;
|
|
2176
|
+
exceptionSessionIds: z.ZodArray<z.ZodString>;
|
|
2177
|
+
}, z.core.$strip>;
|
|
2178
|
+
type WorkspaceInferenceControlResponse = z.infer<typeof WorkspaceInferenceControlResponse>;
|
|
2179
|
+
declare const SystemUpdateClassification: z.ZodEnum<{
|
|
2180
|
+
success: "success";
|
|
2181
|
+
failure: "failure";
|
|
2182
|
+
action_required: "action_required";
|
|
2183
|
+
info: "info";
|
|
2184
|
+
}>;
|
|
2185
|
+
type SystemUpdateClassification = z.infer<typeof SystemUpdateClassification>;
|
|
2186
|
+
declare const SessionSystemUpdateKind: z.ZodEnum<{
|
|
2187
|
+
child_session_update: "child_session_update";
|
|
2188
|
+
scheduled_wake: "scheduled_wake";
|
|
2189
|
+
lifecycle_event: "lifecycle_event";
|
|
2190
|
+
runtime_notice: "runtime_notice";
|
|
2191
|
+
}>;
|
|
2192
|
+
type SessionSystemUpdateKind = z.infer<typeof SessionSystemUpdateKind>;
|
|
2193
|
+
declare const SessionSystemUpdateState: z.ZodEnum<{
|
|
2194
|
+
failed: "failed";
|
|
2195
|
+
cancelled: "cancelled";
|
|
2196
|
+
pending: "pending";
|
|
2197
|
+
deferred: "deferred";
|
|
2198
|
+
delivered: "delivered";
|
|
2199
|
+
}>;
|
|
2200
|
+
type SessionSystemUpdateState = z.infer<typeof SessionSystemUpdateState>;
|
|
2201
|
+
declare const SessionSystemUpdate: z.ZodObject<{
|
|
2202
|
+
id: z.ZodString;
|
|
2203
|
+
sessionId: z.ZodString;
|
|
2204
|
+
kind: z.ZodEnum<{
|
|
2205
|
+
child_session_update: "child_session_update";
|
|
2206
|
+
scheduled_wake: "scheduled_wake";
|
|
2207
|
+
lifecycle_event: "lifecycle_event";
|
|
2208
|
+
runtime_notice: "runtime_notice";
|
|
2209
|
+
}>;
|
|
2210
|
+
classification: z.ZodEnum<{
|
|
2211
|
+
success: "success";
|
|
2212
|
+
failure: "failure";
|
|
2213
|
+
action_required: "action_required";
|
|
2214
|
+
info: "info";
|
|
2215
|
+
}>;
|
|
2216
|
+
sourceId: z.ZodString;
|
|
2217
|
+
dedupeKey: z.ZodString;
|
|
2218
|
+
summary: z.ZodString;
|
|
2219
|
+
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2220
|
+
lineage: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2221
|
+
state: z.ZodEnum<{
|
|
2222
|
+
failed: "failed";
|
|
2223
|
+
cancelled: "cancelled";
|
|
2224
|
+
pending: "pending";
|
|
2225
|
+
deferred: "deferred";
|
|
2226
|
+
delivered: "delivered";
|
|
2227
|
+
}>;
|
|
2228
|
+
deliveredTurnId: z.ZodNullable<z.ZodString>;
|
|
2229
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
2230
|
+
createdAt: z.ZodString;
|
|
1724
2231
|
}, z.core.$strip>;
|
|
1725
|
-
type
|
|
1726
|
-
declare const
|
|
1727
|
-
|
|
2232
|
+
type SessionSystemUpdate = z.infer<typeof SessionSystemUpdate>;
|
|
2233
|
+
declare const VariableSetVariableName: z.ZodString;
|
|
2234
|
+
type VariableSetVariableName = z.infer<typeof VariableSetVariableName>;
|
|
2235
|
+
declare const VariableSetVariableMetadata: z.ZodObject<{
|
|
2236
|
+
name: z.ZodString;
|
|
2237
|
+
version: z.ZodNumber;
|
|
2238
|
+
createdAt: z.ZodString;
|
|
2239
|
+
updatedAt: z.ZodString;
|
|
1728
2240
|
}, z.core.$strip>;
|
|
1729
|
-
type
|
|
1730
|
-
|
|
1731
|
-
type WorkspaceEnvironmentVariableName = z.infer<typeof WorkspaceEnvironmentVariableName>;
|
|
2241
|
+
type VariableSetVariableMetadata = z.infer<typeof VariableSetVariableMetadata>;
|
|
2242
|
+
/** @deprecated use VariableSetVariableMetadata */
|
|
1732
2243
|
declare const WorkspaceEnvironmentVariableMetadata: z.ZodObject<{
|
|
1733
2244
|
name: z.ZodString;
|
|
1734
2245
|
version: z.ZodNumber;
|
|
1735
2246
|
createdAt: z.ZodString;
|
|
1736
2247
|
updatedAt: z.ZodString;
|
|
1737
2248
|
}, z.core.$strip>;
|
|
1738
|
-
|
|
1739
|
-
|
|
2249
|
+
/** @deprecated use VariableSetVariableMetadata */
|
|
2250
|
+
type WorkspaceEnvironmentVariableMetadata = VariableSetVariableMetadata;
|
|
2251
|
+
declare const VariableSet: z.ZodObject<{
|
|
1740
2252
|
id: z.ZodString;
|
|
1741
2253
|
accountId: z.ZodString;
|
|
1742
2254
|
workspaceId: z.ZodString;
|
|
@@ -1751,28 +2263,260 @@ declare const WorkspaceEnvironment: z.ZodObject<{
|
|
|
1751
2263
|
createdAt: z.ZodString;
|
|
1752
2264
|
updatedAt: z.ZodString;
|
|
1753
2265
|
}, z.core.$strip>;
|
|
1754
|
-
type
|
|
1755
|
-
|
|
2266
|
+
type VariableSet = z.infer<typeof VariableSet>;
|
|
2267
|
+
/** @deprecated use VariableSet */
|
|
2268
|
+
declare const WorkspaceEnvironment: z.ZodObject<{
|
|
2269
|
+
id: z.ZodString;
|
|
2270
|
+
accountId: z.ZodString;
|
|
2271
|
+
workspaceId: z.ZodString;
|
|
1756
2272
|
name: z.ZodString;
|
|
1757
|
-
description: z.
|
|
1758
|
-
variables: z.
|
|
2273
|
+
description: z.ZodNullable<z.ZodString>;
|
|
2274
|
+
variables: z.ZodArray<z.ZodObject<{
|
|
1759
2275
|
name: z.ZodString;
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
2276
|
+
version: z.ZodNumber;
|
|
2277
|
+
createdAt: z.ZodString;
|
|
2278
|
+
updatedAt: z.ZodString;
|
|
2279
|
+
}, z.core.$strip>>;
|
|
2280
|
+
createdAt: z.ZodString;
|
|
2281
|
+
updatedAt: z.ZodString;
|
|
2282
|
+
}, z.core.$strip>;
|
|
2283
|
+
/** @deprecated use VariableSet */
|
|
2284
|
+
type WorkspaceEnvironment = VariableSet;
|
|
2285
|
+
declare const CreateVariableSetRequest: z.ZodObject<{
|
|
2286
|
+
name: z.ZodString;
|
|
2287
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2288
|
+
variables: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2289
|
+
name: z.ZodString;
|
|
2290
|
+
value: z.ZodString;
|
|
2291
|
+
}, z.core.$strip>>>;
|
|
2292
|
+
}, z.core.$strip>;
|
|
2293
|
+
type CreateVariableSetRequest = z.infer<typeof CreateVariableSetRequest>;
|
|
2294
|
+
/** @deprecated use CreateVariableSetRequest */
|
|
2295
|
+
declare const CreateWorkspaceEnvironmentRequest: z.ZodObject<{
|
|
2296
|
+
name: z.ZodString;
|
|
2297
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2298
|
+
variables: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2299
|
+
name: z.ZodString;
|
|
2300
|
+
value: z.ZodString;
|
|
2301
|
+
}, z.core.$strip>>>;
|
|
2302
|
+
}, z.core.$strip>;
|
|
2303
|
+
/** @deprecated use CreateVariableSetRequest */
|
|
2304
|
+
type CreateWorkspaceEnvironmentRequest = CreateVariableSetRequest;
|
|
2305
|
+
declare const UpdateVariableSetRequest: z.ZodObject<{
|
|
2306
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2307
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2308
|
+
}, z.core.$strip>;
|
|
2309
|
+
type UpdateVariableSetRequest = z.infer<typeof UpdateVariableSetRequest>;
|
|
2310
|
+
/** @deprecated use UpdateVariableSetRequest */
|
|
2311
|
+
declare const UpdateWorkspaceEnvironmentRequest: z.ZodObject<{
|
|
1765
2312
|
name: z.ZodOptional<z.ZodString>;
|
|
1766
2313
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1767
2314
|
}, z.core.$strip>;
|
|
1768
|
-
|
|
2315
|
+
/** @deprecated use UpdateVariableSetRequest */
|
|
2316
|
+
type UpdateWorkspaceEnvironmentRequest = UpdateVariableSetRequest;
|
|
2317
|
+
declare const SetVariableSetVariableRequest: z.ZodObject<{
|
|
2318
|
+
value: z.ZodString;
|
|
2319
|
+
}, z.core.$strip>;
|
|
2320
|
+
type SetVariableSetVariableRequest = z.infer<typeof SetVariableSetVariableRequest>;
|
|
2321
|
+
/** @deprecated use SetVariableSetVariableRequest */
|
|
1769
2322
|
declare const SetWorkspaceEnvironmentVariableRequest: z.ZodObject<{
|
|
1770
2323
|
value: z.ZodString;
|
|
1771
2324
|
}, z.core.$strip>;
|
|
1772
|
-
|
|
2325
|
+
/** @deprecated use SetVariableSetVariableRequest */
|
|
2326
|
+
type SetWorkspaceEnvironmentVariableRequest = SetVariableSetVariableRequest;
|
|
2327
|
+
declare const RigCheck: z.ZodObject<{
|
|
2328
|
+
name: z.ZodString;
|
|
2329
|
+
command: z.ZodString;
|
|
2330
|
+
}, z.core.$strip>;
|
|
2331
|
+
type RigCheck = z.infer<typeof RigCheck>;
|
|
2332
|
+
declare const RigVersion: z.ZodObject<{
|
|
2333
|
+
id: z.ZodString;
|
|
2334
|
+
rigId: z.ZodString;
|
|
2335
|
+
version: z.ZodNumber;
|
|
2336
|
+
image: z.ZodNullable<z.ZodString>;
|
|
2337
|
+
setupScript: z.ZodNullable<z.ZodString>;
|
|
2338
|
+
checks: z.ZodArray<z.ZodObject<{
|
|
2339
|
+
name: z.ZodString;
|
|
2340
|
+
command: z.ZodString;
|
|
2341
|
+
}, z.core.$strip>>;
|
|
2342
|
+
credentialHooks: z.ZodArray<z.ZodString>;
|
|
2343
|
+
defaultVariableSetIds: z.ZodArray<z.ZodString>;
|
|
2344
|
+
changelog: z.ZodNullable<z.ZodString>;
|
|
2345
|
+
createdBy: z.ZodNullable<z.ZodString>;
|
|
2346
|
+
active: z.ZodBoolean;
|
|
2347
|
+
createdAt: z.ZodString;
|
|
2348
|
+
}, z.core.$strip>;
|
|
2349
|
+
type RigVersion = z.infer<typeof RigVersion>;
|
|
2350
|
+
declare const RigVerificationHealth: z.ZodObject<{
|
|
2351
|
+
checkHealth: z.ZodEnum<{
|
|
2352
|
+
unknown: "unknown";
|
|
2353
|
+
passing: "passing";
|
|
2354
|
+
failing: "failing";
|
|
2355
|
+
}>;
|
|
2356
|
+
lastVerifiedAt: z.ZodNullable<z.ZodString>;
|
|
2357
|
+
}, z.core.$strip>;
|
|
2358
|
+
type RigVerificationHealth = z.infer<typeof RigVerificationHealth>;
|
|
2359
|
+
declare const Rig: z.ZodObject<{
|
|
2360
|
+
id: z.ZodString;
|
|
2361
|
+
accountId: z.ZodString;
|
|
2362
|
+
workspaceId: z.ZodString;
|
|
2363
|
+
name: z.ZodString;
|
|
2364
|
+
description: z.ZodNullable<z.ZodString>;
|
|
2365
|
+
createdBy: z.ZodNullable<z.ZodString>;
|
|
2366
|
+
activeVersion: z.ZodNullable<z.ZodObject<{
|
|
2367
|
+
id: z.ZodString;
|
|
2368
|
+
rigId: z.ZodString;
|
|
2369
|
+
version: z.ZodNumber;
|
|
2370
|
+
image: z.ZodNullable<z.ZodString>;
|
|
2371
|
+
setupScript: z.ZodNullable<z.ZodString>;
|
|
2372
|
+
checks: z.ZodArray<z.ZodObject<{
|
|
2373
|
+
name: z.ZodString;
|
|
2374
|
+
command: z.ZodString;
|
|
2375
|
+
}, z.core.$strip>>;
|
|
2376
|
+
credentialHooks: z.ZodArray<z.ZodString>;
|
|
2377
|
+
defaultVariableSetIds: z.ZodArray<z.ZodString>;
|
|
2378
|
+
changelog: z.ZodNullable<z.ZodString>;
|
|
2379
|
+
createdBy: z.ZodNullable<z.ZodString>;
|
|
2380
|
+
active: z.ZodBoolean;
|
|
2381
|
+
createdAt: z.ZodString;
|
|
2382
|
+
}, z.core.$strip>>;
|
|
2383
|
+
activeVersionHealth: z.ZodNullable<z.ZodObject<{
|
|
2384
|
+
checkHealth: z.ZodEnum<{
|
|
2385
|
+
unknown: "unknown";
|
|
2386
|
+
passing: "passing";
|
|
2387
|
+
failing: "failing";
|
|
2388
|
+
}>;
|
|
2389
|
+
lastVerifiedAt: z.ZodNullable<z.ZodString>;
|
|
2390
|
+
}, z.core.$strip>>;
|
|
2391
|
+
versionCount: z.ZodNumber;
|
|
2392
|
+
createdAt: z.ZodString;
|
|
2393
|
+
updatedAt: z.ZodString;
|
|
2394
|
+
}, z.core.$strip>;
|
|
2395
|
+
type Rig = z.infer<typeof Rig>;
|
|
2396
|
+
declare const RigChangeKind: z.ZodEnum<{
|
|
2397
|
+
setup_append: "setup_append";
|
|
2398
|
+
definition_edit: "definition_edit";
|
|
2399
|
+
}>;
|
|
2400
|
+
type RigChangeKind = z.infer<typeof RigChangeKind>;
|
|
2401
|
+
declare const RigChangeStatus: z.ZodEnum<{
|
|
2402
|
+
failed: "failed";
|
|
2403
|
+
proposed: "proposed";
|
|
2404
|
+
rejected: "rejected";
|
|
2405
|
+
verifying: "verifying";
|
|
2406
|
+
merged: "merged";
|
|
2407
|
+
}>;
|
|
2408
|
+
type RigChangeStatus = z.infer<typeof RigChangeStatus>;
|
|
2409
|
+
declare const RigCheckResult: z.ZodObject<{
|
|
2410
|
+
name: z.ZodString;
|
|
2411
|
+
command: z.ZodString;
|
|
2412
|
+
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
2413
|
+
output: z.ZodOptional<z.ZodString>;
|
|
2414
|
+
}, z.core.$strip>;
|
|
2415
|
+
type RigCheckResult = z.infer<typeof RigCheckResult>;
|
|
2416
|
+
declare const RigChangeVerification: z.ZodObject<{
|
|
2417
|
+
startedAt: z.ZodOptional<z.ZodString>;
|
|
2418
|
+
finishedAt: z.ZodOptional<z.ZodString>;
|
|
2419
|
+
log: z.ZodOptional<z.ZodString>;
|
|
2420
|
+
checkResults: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2421
|
+
name: z.ZodString;
|
|
2422
|
+
command: z.ZodString;
|
|
2423
|
+
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
2424
|
+
output: z.ZodOptional<z.ZodString>;
|
|
2425
|
+
}, z.core.$strip>>>;
|
|
2426
|
+
}, z.core.$loose>;
|
|
2427
|
+
type RigChangeVerification = z.infer<typeof RigChangeVerification>;
|
|
2428
|
+
declare const RigChange: z.ZodObject<{
|
|
2429
|
+
id: z.ZodString;
|
|
2430
|
+
rigId: z.ZodString;
|
|
2431
|
+
baseVersionId: z.ZodNullable<z.ZodString>;
|
|
2432
|
+
kind: z.ZodEnum<{
|
|
2433
|
+
setup_append: "setup_append";
|
|
2434
|
+
definition_edit: "definition_edit";
|
|
2435
|
+
}>;
|
|
2436
|
+
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2437
|
+
status: z.ZodEnum<{
|
|
2438
|
+
failed: "failed";
|
|
2439
|
+
proposed: "proposed";
|
|
2440
|
+
rejected: "rejected";
|
|
2441
|
+
verifying: "verifying";
|
|
2442
|
+
merged: "merged";
|
|
2443
|
+
}>;
|
|
2444
|
+
proposedBy: z.ZodNullable<z.ZodString>;
|
|
2445
|
+
verification: z.ZodNullable<z.ZodObject<{
|
|
2446
|
+
startedAt: z.ZodOptional<z.ZodString>;
|
|
2447
|
+
finishedAt: z.ZodOptional<z.ZodString>;
|
|
2448
|
+
log: z.ZodOptional<z.ZodString>;
|
|
2449
|
+
checkResults: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2450
|
+
name: z.ZodString;
|
|
2451
|
+
command: z.ZodString;
|
|
2452
|
+
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
2453
|
+
output: z.ZodOptional<z.ZodString>;
|
|
2454
|
+
}, z.core.$strip>>>;
|
|
2455
|
+
}, z.core.$loose>>;
|
|
2456
|
+
resultVersionId: z.ZodNullable<z.ZodString>;
|
|
2457
|
+
createdAt: z.ZodString;
|
|
2458
|
+
updatedAt: z.ZodString;
|
|
2459
|
+
}, z.core.$strip>;
|
|
2460
|
+
type RigChange = z.infer<typeof RigChange>;
|
|
2461
|
+
declare const CreateRigRequest: z.ZodObject<{
|
|
2462
|
+
name: z.ZodString;
|
|
2463
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2464
|
+
image: z.ZodOptional<z.ZodString>;
|
|
2465
|
+
setupScript: z.ZodOptional<z.ZodString>;
|
|
2466
|
+
checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2467
|
+
name: z.ZodString;
|
|
2468
|
+
command: z.ZodString;
|
|
2469
|
+
}, z.core.$strip>>>;
|
|
2470
|
+
credentialHooks: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2471
|
+
defaultVariableSetIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2472
|
+
}, z.core.$strip>;
|
|
2473
|
+
type CreateRigRequest = z.infer<typeof CreateRigRequest>;
|
|
2474
|
+
declare const UpdateRigRequest: z.ZodObject<{
|
|
2475
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2476
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2477
|
+
}, z.core.$strip>;
|
|
2478
|
+
type UpdateRigRequest = z.infer<typeof UpdateRigRequest>;
|
|
2479
|
+
declare const RigSetupAppendPayload: z.ZodObject<{
|
|
2480
|
+
command: z.ZodString;
|
|
2481
|
+
note: z.ZodOptional<z.ZodString>;
|
|
2482
|
+
}, z.core.$strip>;
|
|
2483
|
+
type RigSetupAppendPayload = z.infer<typeof RigSetupAppendPayload>;
|
|
2484
|
+
declare const RigDefinitionEditPayload: z.ZodObject<{
|
|
2485
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2486
|
+
setupScript: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2487
|
+
checks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2488
|
+
name: z.ZodString;
|
|
2489
|
+
command: z.ZodString;
|
|
2490
|
+
}, z.core.$strip>>>;
|
|
2491
|
+
credentialHooks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2492
|
+
defaultVariableSetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2493
|
+
changelog: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2494
|
+
}, z.core.$strip>;
|
|
2495
|
+
type RigDefinitionEditPayload = z.infer<typeof RigDefinitionEditPayload>;
|
|
2496
|
+
declare const ProposeRigChangeRequest: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2497
|
+
kind: z.ZodLiteral<"setup_append">;
|
|
2498
|
+
payload: z.ZodObject<{
|
|
2499
|
+
command: z.ZodString;
|
|
2500
|
+
note: z.ZodOptional<z.ZodString>;
|
|
2501
|
+
}, z.core.$strip>;
|
|
2502
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2503
|
+
kind: z.ZodLiteral<"definition_edit">;
|
|
2504
|
+
payload: z.ZodObject<{
|
|
2505
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2506
|
+
setupScript: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2507
|
+
checks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2508
|
+
name: z.ZodString;
|
|
2509
|
+
command: z.ZodString;
|
|
2510
|
+
}, z.core.$strip>>>;
|
|
2511
|
+
credentialHooks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2512
|
+
defaultVariableSetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2513
|
+
changelog: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2514
|
+
}, z.core.$strip>;
|
|
2515
|
+
}, z.core.$strip>], "kind">;
|
|
2516
|
+
type ProposeRigChangeRequest = z.infer<typeof ProposeRigChangeRequest>;
|
|
1773
2517
|
declare const ScheduledTaskStatus: z.ZodEnum<{
|
|
1774
|
-
active: "active";
|
|
1775
2518
|
paused: "paused";
|
|
2519
|
+
active: "active";
|
|
1776
2520
|
}>;
|
|
1777
2521
|
type ScheduledTaskStatus = z.infer<typeof ScheduledTaskStatus>;
|
|
1778
2522
|
declare const ScheduledTaskRunStatus: z.ZodEnum<{
|
|
@@ -1830,6 +2574,15 @@ declare const ScheduledTaskAgentConfig: z.ZodObject<{
|
|
|
1830
2574
|
ref: z.ZodString;
|
|
1831
2575
|
mountPath: z.ZodOptional<z.ZodString>;
|
|
1832
2576
|
subpath: z.ZodOptional<z.ZodString>;
|
|
2577
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
2578
|
+
github: "github";
|
|
2579
|
+
gitlab: "gitlab";
|
|
2580
|
+
azure_devops: "azure_devops";
|
|
2581
|
+
}>>;
|
|
2582
|
+
repositoryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
2583
|
+
installationId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
2584
|
+
projectId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
2585
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
1833
2586
|
githubInstallationId: z.ZodOptional<z.ZodNumber>;
|
|
1834
2587
|
githubRepositoryId: z.ZodOptional<z.ZodNumber>;
|
|
1835
2588
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1878,8 +2631,8 @@ declare const ScheduledTask: z.ZodObject<{
|
|
|
1878
2631
|
workspaceId: z.ZodString;
|
|
1879
2632
|
name: z.ZodString;
|
|
1880
2633
|
status: z.ZodEnum<{
|
|
1881
|
-
active: "active";
|
|
1882
2634
|
paused: "paused";
|
|
2635
|
+
active: "active";
|
|
1883
2636
|
}>;
|
|
1884
2637
|
schedule: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1885
2638
|
type: z.ZodLiteral<"once">;
|
|
@@ -1923,6 +2676,15 @@ declare const ScheduledTask: z.ZodObject<{
|
|
|
1923
2676
|
ref: z.ZodString;
|
|
1924
2677
|
mountPath: z.ZodOptional<z.ZodString>;
|
|
1925
2678
|
subpath: z.ZodOptional<z.ZodString>;
|
|
2679
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
2680
|
+
github: "github";
|
|
2681
|
+
gitlab: "gitlab";
|
|
2682
|
+
azure_devops: "azure_devops";
|
|
2683
|
+
}>>;
|
|
2684
|
+
repositoryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
2685
|
+
installationId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
2686
|
+
projectId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
2687
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
1926
2688
|
githubInstallationId: z.ZodOptional<z.ZodNumber>;
|
|
1927
2689
|
githubRepositoryId: z.ZodOptional<z.ZodNumber>;
|
|
1928
2690
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1965,7 +2727,9 @@ declare const ScheduledTask: z.ZodObject<{
|
|
|
1965
2727
|
}, z.core.$strip>>;
|
|
1966
2728
|
}, z.core.$strip>;
|
|
1967
2729
|
reusableSessionId: z.ZodNullable<z.ZodString>;
|
|
1968
|
-
|
|
2730
|
+
variableSetId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2731
|
+
environmentId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2732
|
+
rigId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1969
2733
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1970
2734
|
createdAt: z.ZodString;
|
|
1971
2735
|
updatedAt: z.ZodString;
|
|
@@ -1994,7 +2758,7 @@ declare const ScheduledTaskRun: z.ZodObject<{
|
|
|
1994
2758
|
updatedAt: z.ZodString;
|
|
1995
2759
|
}, z.core.$strip>;
|
|
1996
2760
|
type ScheduledTaskRun = z.infer<typeof ScheduledTaskRun>;
|
|
1997
|
-
declare const CreateScheduledTaskRequest: z.ZodObject<{
|
|
2761
|
+
declare const CreateScheduledTaskRequest: z.ZodPreprocess<z.ZodObject<{
|
|
1998
2762
|
name: z.ZodString;
|
|
1999
2763
|
schedule: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2000
2764
|
type: z.ZodLiteral<"once">;
|
|
@@ -2037,6 +2801,15 @@ declare const CreateScheduledTaskRequest: z.ZodObject<{
|
|
|
2037
2801
|
ref: z.ZodString;
|
|
2038
2802
|
mountPath: z.ZodOptional<z.ZodString>;
|
|
2039
2803
|
subpath: z.ZodOptional<z.ZodString>;
|
|
2804
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
2805
|
+
github: "github";
|
|
2806
|
+
gitlab: "gitlab";
|
|
2807
|
+
azure_devops: "azure_devops";
|
|
2808
|
+
}>>;
|
|
2809
|
+
repositoryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
2810
|
+
installationId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
2811
|
+
projectId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
2812
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
2040
2813
|
githubInstallationId: z.ZodOptional<z.ZodNumber>;
|
|
2041
2814
|
githubRepositoryId: z.ZodOptional<z.ZodNumber>;
|
|
2042
2815
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2079,14 +2852,16 @@ declare const CreateScheduledTaskRequest: z.ZodObject<{
|
|
|
2079
2852
|
}, z.core.$strip>>;
|
|
2080
2853
|
}, z.core.$strip>;
|
|
2081
2854
|
status: z.ZodDefault<z.ZodEnum<{
|
|
2082
|
-
active: "active";
|
|
2083
2855
|
paused: "paused";
|
|
2856
|
+
active: "active";
|
|
2084
2857
|
}>>;
|
|
2858
|
+
variableSetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2085
2859
|
environmentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2860
|
+
rigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2086
2861
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2087
|
-
}, z.core.$strip
|
|
2862
|
+
}, z.core.$strip>>;
|
|
2088
2863
|
type CreateScheduledTaskRequest = z.infer<typeof CreateScheduledTaskRequest>;
|
|
2089
|
-
declare const UpdateScheduledTaskRequest: z.ZodObject<{
|
|
2864
|
+
declare const UpdateScheduledTaskRequest: z.ZodPreprocess<z.ZodObject<{
|
|
2090
2865
|
name: z.ZodOptional<z.ZodString>;
|
|
2091
2866
|
schedule: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2092
2867
|
type: z.ZodLiteral<"once">;
|
|
@@ -2129,6 +2904,15 @@ declare const UpdateScheduledTaskRequest: z.ZodObject<{
|
|
|
2129
2904
|
ref: z.ZodString;
|
|
2130
2905
|
mountPath: z.ZodOptional<z.ZodString>;
|
|
2131
2906
|
subpath: z.ZodOptional<z.ZodString>;
|
|
2907
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
2908
|
+
github: "github";
|
|
2909
|
+
gitlab: "gitlab";
|
|
2910
|
+
azure_devops: "azure_devops";
|
|
2911
|
+
}>>;
|
|
2912
|
+
repositoryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
2913
|
+
installationId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
2914
|
+
projectId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
2915
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
2132
2916
|
githubInstallationId: z.ZodOptional<z.ZodNumber>;
|
|
2133
2917
|
githubRepositoryId: z.ZodOptional<z.ZodNumber>;
|
|
2134
2918
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2171,12 +2955,14 @@ declare const UpdateScheduledTaskRequest: z.ZodObject<{
|
|
|
2171
2955
|
}, z.core.$strip>>;
|
|
2172
2956
|
}, z.core.$strip>>;
|
|
2173
2957
|
status: z.ZodOptional<z.ZodEnum<{
|
|
2174
|
-
active: "active";
|
|
2175
2958
|
paused: "paused";
|
|
2959
|
+
active: "active";
|
|
2176
2960
|
}>>;
|
|
2961
|
+
variableSetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2177
2962
|
environmentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2963
|
+
rigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2178
2964
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2179
|
-
}, z.core.$strip
|
|
2965
|
+
}, z.core.$strip>>;
|
|
2180
2966
|
type UpdateScheduledTaskRequest = z.infer<typeof UpdateScheduledTaskRequest>;
|
|
2181
2967
|
/**
|
|
2182
2968
|
* Manual-trigger body. `triggerId` is a client-supplied idempotency token: a
|
|
@@ -2272,7 +3058,7 @@ declare const CapabilityPackSkill: z.ZodObject<{
|
|
|
2272
3058
|
}, z.core.$strip>>;
|
|
2273
3059
|
}, z.core.$strip>;
|
|
2274
3060
|
type CapabilityPackSkill = z.infer<typeof CapabilityPackSkill>;
|
|
2275
|
-
declare const CapabilityPack: z.ZodObject<{
|
|
3061
|
+
declare const CapabilityPack: z.ZodPreprocess<z.ZodObject<{
|
|
2276
3062
|
id: z.ZodString;
|
|
2277
3063
|
name: z.ZodString;
|
|
2278
3064
|
description: z.ZodString;
|
|
@@ -2354,15 +3140,15 @@ declare const CapabilityPack: z.ZodObject<{
|
|
|
2354
3140
|
}>>;
|
|
2355
3141
|
prompt: z.ZodOptional<z.ZodString>;
|
|
2356
3142
|
}, z.core.$strip>>>;
|
|
2357
|
-
|
|
3143
|
+
variableSet: z.ZodOptional<z.ZodObject<{
|
|
2358
3144
|
description: z.ZodString;
|
|
2359
3145
|
requiredVariables: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2360
3146
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
2361
3147
|
}, z.core.$strip>>;
|
|
2362
3148
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2363
|
-
}, z.core.$strip
|
|
3149
|
+
}, z.core.$strip>>;
|
|
2364
3150
|
type CapabilityPack = z.infer<typeof CapabilityPack>;
|
|
2365
|
-
declare const RegisterCapabilityPackRequest: z.ZodObject<{
|
|
3151
|
+
declare const RegisterCapabilityPackRequest: z.ZodPreprocess<z.ZodObject<{
|
|
2366
3152
|
id: z.ZodString;
|
|
2367
3153
|
name: z.ZodString;
|
|
2368
3154
|
description: z.ZodString;
|
|
@@ -2444,18 +3230,18 @@ declare const RegisterCapabilityPackRequest: z.ZodObject<{
|
|
|
2444
3230
|
}>>;
|
|
2445
3231
|
prompt: z.ZodOptional<z.ZodString>;
|
|
2446
3232
|
}, z.core.$strip>>>;
|
|
2447
|
-
|
|
3233
|
+
variableSet: z.ZodOptional<z.ZodObject<{
|
|
2448
3234
|
description: z.ZodString;
|
|
2449
3235
|
requiredVariables: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2450
3236
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
2451
3237
|
}, z.core.$strip>>;
|
|
2452
3238
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2453
|
-
}, z.core.$strip
|
|
3239
|
+
}, z.core.$strip>>;
|
|
2454
3240
|
type RegisterCapabilityPackRequest = z.infer<typeof RegisterCapabilityPackRequest>;
|
|
2455
3241
|
declare const WorkspaceRegisteredPack: z.ZodObject<{
|
|
2456
3242
|
accountId: z.ZodString;
|
|
2457
3243
|
workspaceId: z.ZodString;
|
|
2458
|
-
pack: z.ZodObject<{
|
|
3244
|
+
pack: z.ZodPreprocess<z.ZodObject<{
|
|
2459
3245
|
id: z.ZodString;
|
|
2460
3246
|
name: z.ZodString;
|
|
2461
3247
|
description: z.ZodString;
|
|
@@ -2537,13 +3323,13 @@ declare const WorkspaceRegisteredPack: z.ZodObject<{
|
|
|
2537
3323
|
}>>;
|
|
2538
3324
|
prompt: z.ZodOptional<z.ZodString>;
|
|
2539
3325
|
}, z.core.$strip>>>;
|
|
2540
|
-
|
|
3326
|
+
variableSet: z.ZodOptional<z.ZodObject<{
|
|
2541
3327
|
description: z.ZodString;
|
|
2542
3328
|
requiredVariables: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2543
3329
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
2544
3330
|
}, z.core.$strip>>;
|
|
2545
3331
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2546
|
-
}, z.core.$strip
|
|
3332
|
+
}, z.core.$strip>>;
|
|
2547
3333
|
createdAt: z.ZodString;
|
|
2548
3334
|
updatedAt: z.ZodString;
|
|
2549
3335
|
}, z.core.$strip>;
|
|
@@ -2567,10 +3353,11 @@ declare const PackInstallation: z.ZodObject<{
|
|
|
2567
3353
|
updatedAt: z.ZodString;
|
|
2568
3354
|
}, z.core.$strip>;
|
|
2569
3355
|
type PackInstallation = z.infer<typeof PackInstallation>;
|
|
2570
|
-
declare const EnablePackRequest: z.ZodObject<{
|
|
3356
|
+
declare const EnablePackRequest: z.ZodPreprocess<z.ZodObject<{
|
|
3357
|
+
variableSetId: z.ZodOptional<z.ZodString>;
|
|
2571
3358
|
environmentId: z.ZodOptional<z.ZodString>;
|
|
2572
3359
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2573
|
-
}, z.core.$strip
|
|
3360
|
+
}, z.core.$strip>>;
|
|
2574
3361
|
type EnablePackRequest = z.infer<typeof EnablePackRequest>;
|
|
2575
3362
|
declare const SocialProvider: z.ZodEnum<{
|
|
2576
3363
|
custom: "custom";
|
|
@@ -2849,6 +3636,15 @@ declare const OAuthStartRequest: z.ZodObject<{
|
|
|
2849
3636
|
requestedScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2850
3637
|
returnPath: z.ZodOptional<z.ZodString>;
|
|
2851
3638
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
3639
|
+
oauthClient: z.ZodOptional<z.ZodObject<{
|
|
3640
|
+
clientId: z.ZodString;
|
|
3641
|
+
clientSecret: z.ZodOptional<z.ZodString>;
|
|
3642
|
+
tokenEndpointAuthMethod: z.ZodOptional<z.ZodEnum<{
|
|
3643
|
+
none: "none";
|
|
3644
|
+
client_secret_post: "client_secret_post";
|
|
3645
|
+
client_secret_basic: "client_secret_basic";
|
|
3646
|
+
}>>;
|
|
3647
|
+
}, z.core.$strip>>;
|
|
2852
3648
|
}, z.core.$strip>;
|
|
2853
3649
|
type OAuthStartRequest = z.infer<typeof OAuthStartRequest>;
|
|
2854
3650
|
declare const OAuthStartResponse: z.ZodObject<{
|
|
@@ -2878,8 +3674,8 @@ declare const MarketingDailyAnalysisTaskRequest: z.ZodObject<{
|
|
|
2878
3674
|
minute: z.ZodDefault<z.ZodNumber>;
|
|
2879
3675
|
promptInstructions: z.ZodOptional<z.ZodString>;
|
|
2880
3676
|
status: z.ZodDefault<z.ZodEnum<{
|
|
2881
|
-
active: "active";
|
|
2882
3677
|
paused: "paused";
|
|
3678
|
+
active: "active";
|
|
2883
3679
|
}>>;
|
|
2884
3680
|
runMode: z.ZodDefault<z.ZodEnum<{
|
|
2885
3681
|
new_session_per_run: "new_session_per_run";
|
|
@@ -2991,6 +3787,11 @@ declare const CapabilityCatalogItem: z.ZodObject<{
|
|
|
2991
3787
|
}, z.core.$strip>>;
|
|
2992
3788
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2993
3789
|
enabledReason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3790
|
+
connectionRef: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
3791
|
+
connectionId: z.ZodString;
|
|
3792
|
+
providerDomain: z.ZodString;
|
|
3793
|
+
kind: z.ZodString;
|
|
3794
|
+
}, z.core.$strip>>>;
|
|
2994
3795
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2995
3796
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
2996
3797
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -3044,7 +3845,7 @@ declare const CreateCapabilityCatalogItemRequest: z.ZodObject<{
|
|
|
3044
3845
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3045
3846
|
}, z.core.$strip>;
|
|
3046
3847
|
type CreateCapabilityCatalogItemRequest = z.infer<typeof CreateCapabilityCatalogItemRequest>;
|
|
3047
|
-
declare const EnableCapabilityRequest: z.ZodObject<{
|
|
3848
|
+
declare const EnableCapabilityRequest: z.ZodPreprocess<z.ZodObject<{
|
|
3048
3849
|
config: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3049
3850
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3050
3851
|
connectionRef: z.ZodOptional<z.ZodObject<{
|
|
@@ -3064,8 +3865,9 @@ declare const EnableCapabilityRequest: z.ZodObject<{
|
|
|
3064
3865
|
}>>;
|
|
3065
3866
|
}, z.core.$strict>>;
|
|
3066
3867
|
headers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3868
|
+
variableSetId: z.ZodOptional<z.ZodString>;
|
|
3067
3869
|
environmentId: z.ZodOptional<z.ZodString>;
|
|
3068
|
-
}, z.core.$strip
|
|
3870
|
+
}, z.core.$strip>>;
|
|
3069
3871
|
type EnableCapabilityRequest = z.infer<typeof EnableCapabilityRequest>;
|
|
3070
3872
|
declare const CapabilityCatalogResponse: z.ZodObject<{
|
|
3071
3873
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -3127,6 +3929,11 @@ declare const CapabilityCatalogResponse: z.ZodObject<{
|
|
|
3127
3929
|
}, z.core.$strip>>;
|
|
3128
3930
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
3129
3931
|
enabledReason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3932
|
+
connectionRef: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
3933
|
+
connectionId: z.ZodString;
|
|
3934
|
+
providerDomain: z.ZodString;
|
|
3935
|
+
kind: z.ZodString;
|
|
3936
|
+
}, z.core.$strip>>>;
|
|
3130
3937
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3131
3938
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
3132
3939
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -3214,6 +4021,11 @@ declare const DiscoverMcpCapabilitiesResponse: z.ZodObject<{
|
|
|
3214
4021
|
}, z.core.$strip>>;
|
|
3215
4022
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
3216
4023
|
enabledReason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4024
|
+
connectionRef: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
4025
|
+
connectionId: z.ZodString;
|
|
4026
|
+
providerDomain: z.ZodString;
|
|
4027
|
+
kind: z.ZodString;
|
|
4028
|
+
}, z.core.$strip>>>;
|
|
3217
4029
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3218
4030
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
3219
4031
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -3231,6 +4043,9 @@ declare const Session: z.ZodObject<{
|
|
|
3231
4043
|
running: "running";
|
|
3232
4044
|
idle: "idle";
|
|
3233
4045
|
requires_action: "requires_action";
|
|
4046
|
+
recovering: "recovering";
|
|
4047
|
+
waiting_capacity: "waiting_capacity";
|
|
4048
|
+
paused: "paused";
|
|
3234
4049
|
failed: "failed";
|
|
3235
4050
|
cancelled: "cancelled";
|
|
3236
4051
|
}>;
|
|
@@ -3247,6 +4062,15 @@ declare const Session: z.ZodObject<{
|
|
|
3247
4062
|
ref: z.ZodString;
|
|
3248
4063
|
mountPath: z.ZodOptional<z.ZodString>;
|
|
3249
4064
|
subpath: z.ZodOptional<z.ZodString>;
|
|
4065
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
4066
|
+
github: "github";
|
|
4067
|
+
gitlab: "gitlab";
|
|
4068
|
+
azure_devops: "azure_devops";
|
|
4069
|
+
}>>;
|
|
4070
|
+
repositoryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
4071
|
+
installationId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
4072
|
+
projectId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
4073
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
3250
4074
|
githubInstallationId: z.ZodOptional<z.ZodNumber>;
|
|
3251
4075
|
githubRepositoryId: z.ZodOptional<z.ZodNumber>;
|
|
3252
4076
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3282,7 +4106,10 @@ declare const Session: z.ZodObject<{
|
|
|
3282
4106
|
sandboxGroupId: z.ZodString;
|
|
3283
4107
|
activeSandboxId: z.ZodNullable<z.ZodString>;
|
|
3284
4108
|
activeEpoch: z.ZodNumber;
|
|
3285
|
-
|
|
4109
|
+
variableSetId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4110
|
+
environmentId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4111
|
+
rigId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4112
|
+
rigVersionId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3286
4113
|
firstPartyMcpPermissions: z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
3287
4114
|
"account:read": "account:read";
|
|
3288
4115
|
"account:admin": "account:admin";
|
|
@@ -3313,11 +4140,15 @@ declare const Session: z.ZodObject<{
|
|
|
3313
4140
|
"connections:write": "connections:write";
|
|
3314
4141
|
"environments:manage": "environments:manage";
|
|
3315
4142
|
"environments:use": "environments:use";
|
|
4143
|
+
"variable-sets:manage": "variable-sets:manage";
|
|
4144
|
+
"variable-sets:use": "variable-sets:use";
|
|
3316
4145
|
"mcp_servers:attach": "mcp_servers:attach";
|
|
3317
4146
|
"toolspace:call": "toolspace:call";
|
|
3318
4147
|
"goals:manage": "goals:manage";
|
|
3319
4148
|
"enrollments:read": "enrollments:read";
|
|
3320
4149
|
"enrollments:manage": "enrollments:manage";
|
|
4150
|
+
"rigs:use": "rigs:use";
|
|
4151
|
+
"rigs:manage": "rigs:manage";
|
|
3321
4152
|
}>>>;
|
|
3322
4153
|
mcpServers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3323
4154
|
id: z.ZodString;
|
|
@@ -3331,132 +4162,689 @@ declare const Session: z.ZodObject<{
|
|
|
3331
4162
|
temporalWorkflowId: z.ZodNullable<z.ZodString>;
|
|
3332
4163
|
activeTurnId: z.ZodNullable<z.ZodString>;
|
|
3333
4164
|
lastInputTokens: z.ZodNullable<z.ZodNumber>;
|
|
4165
|
+
queueVersion: z.ZodNumber;
|
|
4166
|
+
queueHeadPosition: z.ZodNumber;
|
|
4167
|
+
queueTailPosition: z.ZodNumber;
|
|
4168
|
+
controlState: z.ZodEnum<{
|
|
4169
|
+
paused: "paused";
|
|
4170
|
+
active: "active";
|
|
4171
|
+
}>;
|
|
4172
|
+
controlGeneration: z.ZodNumber;
|
|
4173
|
+
controlReason: z.ZodNullable<z.ZodString>;
|
|
4174
|
+
controlChangedBy: z.ZodNullable<z.ZodString>;
|
|
4175
|
+
controlChangedAt: z.ZodNullable<z.ZodString>;
|
|
4176
|
+
workspaceRunExceptionGeneration: z.ZodNullable<z.ZodNumber>;
|
|
3334
4177
|
lastSequence: z.ZodNumber;
|
|
3335
4178
|
codexPinnedCredentialId: z.ZodNullable<z.ZodString>;
|
|
3336
4179
|
codexLastCredentialId: z.ZodNullable<z.ZodString>;
|
|
4180
|
+
pinned: z.ZodDefault<z.ZodBoolean>;
|
|
4181
|
+
pinnedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4182
|
+
pinVersion: z.ZodDefault<z.ZodNumber>;
|
|
4183
|
+
treeStats: z.ZodOptional<z.ZodObject<{
|
|
4184
|
+
directChildren: z.ZodNumber;
|
|
4185
|
+
totalDescendants: z.ZodNumber;
|
|
4186
|
+
runningDescendants: z.ZodNumber;
|
|
4187
|
+
queuedDescendants: z.ZodNumber;
|
|
4188
|
+
attentionDescendants: z.ZodNumber;
|
|
4189
|
+
pausedDescendants: z.ZodNumber;
|
|
4190
|
+
failedDescendants: z.ZodNumber;
|
|
4191
|
+
}, z.core.$strip>>;
|
|
3337
4192
|
createdAt: z.ZodString;
|
|
3338
4193
|
updatedAt: z.ZodString;
|
|
3339
4194
|
}, z.core.$strip>;
|
|
3340
4195
|
type Session = z.infer<typeof Session>;
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
|
|
3387
|
-
|
|
3388
|
-
|
|
3389
|
-
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
|
|
3459
|
-
|
|
4196
|
+
type SessionSummary = Session;
|
|
4197
|
+
/**
|
|
4198
|
+
* The canonical session-list page. Pinned rows are returned separately and are
|
|
4199
|
+
* excluded from `sessions`, so a cursor can page ordinary recency rows without
|
|
4200
|
+
* duplicating a pin. Pins are filtered by the same parent/search predicates as
|
|
4201
|
+
* ordinary rows and ordered by pinnedAt DESC, id DESC.
|
|
4202
|
+
*/
|
|
4203
|
+
declare const SessionListResponse: z.ZodObject<{
|
|
4204
|
+
pinned: z.ZodArray<z.ZodObject<{
|
|
4205
|
+
id: z.ZodString;
|
|
4206
|
+
workspaceId: z.ZodString;
|
|
4207
|
+
accountId: z.ZodString;
|
|
4208
|
+
status: z.ZodEnum<{
|
|
4209
|
+
queued: "queued";
|
|
4210
|
+
running: "running";
|
|
4211
|
+
idle: "idle";
|
|
4212
|
+
requires_action: "requires_action";
|
|
4213
|
+
recovering: "recovering";
|
|
4214
|
+
waiting_capacity: "waiting_capacity";
|
|
4215
|
+
paused: "paused";
|
|
4216
|
+
failed: "failed";
|
|
4217
|
+
cancelled: "cancelled";
|
|
4218
|
+
}>;
|
|
4219
|
+
initialMessage: z.ZodString;
|
|
4220
|
+
title: z.ZodNullable<z.ZodString>;
|
|
4221
|
+
titleSource: z.ZodNullable<z.ZodEnum<{
|
|
4222
|
+
user: "user";
|
|
4223
|
+
agent: "agent";
|
|
4224
|
+
}>>;
|
|
4225
|
+
instructions: z.ZodNullable<z.ZodString>;
|
|
4226
|
+
resources: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4227
|
+
kind: z.ZodLiteral<"repository">;
|
|
4228
|
+
uri: z.ZodString;
|
|
4229
|
+
ref: z.ZodString;
|
|
4230
|
+
mountPath: z.ZodOptional<z.ZodString>;
|
|
4231
|
+
subpath: z.ZodOptional<z.ZodString>;
|
|
4232
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
4233
|
+
github: "github";
|
|
4234
|
+
gitlab: "gitlab";
|
|
4235
|
+
azure_devops: "azure_devops";
|
|
4236
|
+
}>>;
|
|
4237
|
+
repositoryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
4238
|
+
installationId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
4239
|
+
projectId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
4240
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
4241
|
+
githubInstallationId: z.ZodOptional<z.ZodNumber>;
|
|
4242
|
+
githubRepositoryId: z.ZodOptional<z.ZodNumber>;
|
|
4243
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4244
|
+
kind: z.ZodLiteral<"file">;
|
|
4245
|
+
fileId: z.ZodString;
|
|
4246
|
+
mountPath: z.ZodOptional<z.ZodString>;
|
|
4247
|
+
}, z.core.$strip>], "kind">>;
|
|
4248
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
4249
|
+
kind: z.ZodLiteral<"mcp">;
|
|
4250
|
+
id: z.ZodString;
|
|
4251
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
4252
|
+
}, z.core.$strip>>;
|
|
4253
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4254
|
+
model: z.ZodString;
|
|
4255
|
+
sandboxBackend: z.ZodEnum<{
|
|
4256
|
+
docker: "docker";
|
|
4257
|
+
modal: "modal";
|
|
4258
|
+
local: "local";
|
|
4259
|
+
none: "none";
|
|
4260
|
+
daytona: "daytona";
|
|
4261
|
+
runloop: "runloop";
|
|
4262
|
+
e2b: "e2b";
|
|
4263
|
+
blaxel: "blaxel";
|
|
4264
|
+
cloudflare: "cloudflare";
|
|
4265
|
+
vercel: "vercel";
|
|
4266
|
+
selfhosted: "selfhosted";
|
|
4267
|
+
}>;
|
|
4268
|
+
sandboxOs: z.ZodEnum<{
|
|
4269
|
+
linux: "linux";
|
|
4270
|
+
macos: "macos";
|
|
4271
|
+
windows: "windows";
|
|
4272
|
+
}>;
|
|
4273
|
+
sandboxGroupId: z.ZodString;
|
|
4274
|
+
activeSandboxId: z.ZodNullable<z.ZodString>;
|
|
4275
|
+
activeEpoch: z.ZodNumber;
|
|
4276
|
+
variableSetId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4277
|
+
environmentId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4278
|
+
rigId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4279
|
+
rigVersionId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4280
|
+
firstPartyMcpPermissions: z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
4281
|
+
"account:read": "account:read";
|
|
4282
|
+
"account:admin": "account:admin";
|
|
4283
|
+
"members:manage": "members:manage";
|
|
4284
|
+
"workspace:create": "workspace:create";
|
|
4285
|
+
"billing:read": "billing:read";
|
|
4286
|
+
"billing:manage": "billing:manage";
|
|
4287
|
+
"workspace:read": "workspace:read";
|
|
4288
|
+
"workspace:admin": "workspace:admin";
|
|
4289
|
+
"sessions:create": "sessions:create";
|
|
4290
|
+
"sessions:read": "sessions:read";
|
|
4291
|
+
"sessions:control": "sessions:control";
|
|
4292
|
+
"stream:view": "stream:view";
|
|
4293
|
+
"stream:control": "stream:control";
|
|
4294
|
+
"stream:acknowledge": "stream:acknowledge";
|
|
4295
|
+
"files:upload": "files:upload";
|
|
4296
|
+
"files:read": "files:read";
|
|
4297
|
+
"files:write": "files:write";
|
|
4298
|
+
"terminal:attach": "terminal:attach";
|
|
4299
|
+
"documents:manage": "documents:manage";
|
|
4300
|
+
"documents:search": "documents:search";
|
|
4301
|
+
"scheduled_tasks:manage": "scheduled_tasks:manage";
|
|
4302
|
+
"scheduled_tasks:run": "scheduled_tasks:run";
|
|
4303
|
+
"github:manage": "github:manage";
|
|
4304
|
+
"github:use": "github:use";
|
|
4305
|
+
"api_keys:manage": "api_keys:manage";
|
|
4306
|
+
"connections:read": "connections:read";
|
|
4307
|
+
"connections:write": "connections:write";
|
|
4308
|
+
"environments:manage": "environments:manage";
|
|
4309
|
+
"environments:use": "environments:use";
|
|
4310
|
+
"variable-sets:manage": "variable-sets:manage";
|
|
4311
|
+
"variable-sets:use": "variable-sets:use";
|
|
4312
|
+
"mcp_servers:attach": "mcp_servers:attach";
|
|
4313
|
+
"toolspace:call": "toolspace:call";
|
|
4314
|
+
"goals:manage": "goals:manage";
|
|
4315
|
+
"enrollments:read": "enrollments:read";
|
|
4316
|
+
"enrollments:manage": "enrollments:manage";
|
|
4317
|
+
"rigs:use": "rigs:use";
|
|
4318
|
+
"rigs:manage": "rigs:manage";
|
|
4319
|
+
}>>>;
|
|
4320
|
+
mcpServers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4321
|
+
id: z.ZodString;
|
|
4322
|
+
name: z.ZodNullable<z.ZodString>;
|
|
4323
|
+
url: z.ZodString;
|
|
4324
|
+
headerNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4325
|
+
credentialVersion: z.ZodNumber;
|
|
4326
|
+
}, z.core.$strict>>>;
|
|
4327
|
+
parentSessionId: z.ZodNullable<z.ZodString>;
|
|
4328
|
+
createIdempotencyKey: z.ZodNullable<z.ZodString>;
|
|
4329
|
+
temporalWorkflowId: z.ZodNullable<z.ZodString>;
|
|
4330
|
+
activeTurnId: z.ZodNullable<z.ZodString>;
|
|
4331
|
+
lastInputTokens: z.ZodNullable<z.ZodNumber>;
|
|
4332
|
+
queueVersion: z.ZodNumber;
|
|
4333
|
+
queueHeadPosition: z.ZodNumber;
|
|
4334
|
+
queueTailPosition: z.ZodNumber;
|
|
4335
|
+
controlState: z.ZodEnum<{
|
|
4336
|
+
paused: "paused";
|
|
4337
|
+
active: "active";
|
|
4338
|
+
}>;
|
|
4339
|
+
controlGeneration: z.ZodNumber;
|
|
4340
|
+
controlReason: z.ZodNullable<z.ZodString>;
|
|
4341
|
+
controlChangedBy: z.ZodNullable<z.ZodString>;
|
|
4342
|
+
controlChangedAt: z.ZodNullable<z.ZodString>;
|
|
4343
|
+
workspaceRunExceptionGeneration: z.ZodNullable<z.ZodNumber>;
|
|
4344
|
+
lastSequence: z.ZodNumber;
|
|
4345
|
+
codexPinnedCredentialId: z.ZodNullable<z.ZodString>;
|
|
4346
|
+
codexLastCredentialId: z.ZodNullable<z.ZodString>;
|
|
4347
|
+
pinned: z.ZodDefault<z.ZodBoolean>;
|
|
4348
|
+
pinnedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4349
|
+
pinVersion: z.ZodDefault<z.ZodNumber>;
|
|
4350
|
+
treeStats: z.ZodOptional<z.ZodObject<{
|
|
4351
|
+
directChildren: z.ZodNumber;
|
|
4352
|
+
totalDescendants: z.ZodNumber;
|
|
4353
|
+
runningDescendants: z.ZodNumber;
|
|
4354
|
+
queuedDescendants: z.ZodNumber;
|
|
4355
|
+
attentionDescendants: z.ZodNumber;
|
|
4356
|
+
pausedDescendants: z.ZodNumber;
|
|
4357
|
+
failedDescendants: z.ZodNumber;
|
|
4358
|
+
}, z.core.$strip>>;
|
|
4359
|
+
createdAt: z.ZodString;
|
|
4360
|
+
updatedAt: z.ZodString;
|
|
4361
|
+
}, z.core.$strip>>;
|
|
4362
|
+
sessions: z.ZodArray<z.ZodObject<{
|
|
4363
|
+
id: z.ZodString;
|
|
4364
|
+
workspaceId: z.ZodString;
|
|
4365
|
+
accountId: z.ZodString;
|
|
4366
|
+
status: z.ZodEnum<{
|
|
4367
|
+
queued: "queued";
|
|
4368
|
+
running: "running";
|
|
4369
|
+
idle: "idle";
|
|
4370
|
+
requires_action: "requires_action";
|
|
4371
|
+
recovering: "recovering";
|
|
4372
|
+
waiting_capacity: "waiting_capacity";
|
|
4373
|
+
paused: "paused";
|
|
4374
|
+
failed: "failed";
|
|
4375
|
+
cancelled: "cancelled";
|
|
4376
|
+
}>;
|
|
4377
|
+
initialMessage: z.ZodString;
|
|
4378
|
+
title: z.ZodNullable<z.ZodString>;
|
|
4379
|
+
titleSource: z.ZodNullable<z.ZodEnum<{
|
|
4380
|
+
user: "user";
|
|
4381
|
+
agent: "agent";
|
|
4382
|
+
}>>;
|
|
4383
|
+
instructions: z.ZodNullable<z.ZodString>;
|
|
4384
|
+
resources: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4385
|
+
kind: z.ZodLiteral<"repository">;
|
|
4386
|
+
uri: z.ZodString;
|
|
4387
|
+
ref: z.ZodString;
|
|
4388
|
+
mountPath: z.ZodOptional<z.ZodString>;
|
|
4389
|
+
subpath: z.ZodOptional<z.ZodString>;
|
|
4390
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
4391
|
+
github: "github";
|
|
4392
|
+
gitlab: "gitlab";
|
|
4393
|
+
azure_devops: "azure_devops";
|
|
4394
|
+
}>>;
|
|
4395
|
+
repositoryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
4396
|
+
installationId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
4397
|
+
projectId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
4398
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
4399
|
+
githubInstallationId: z.ZodOptional<z.ZodNumber>;
|
|
4400
|
+
githubRepositoryId: z.ZodOptional<z.ZodNumber>;
|
|
4401
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4402
|
+
kind: z.ZodLiteral<"file">;
|
|
4403
|
+
fileId: z.ZodString;
|
|
4404
|
+
mountPath: z.ZodOptional<z.ZodString>;
|
|
4405
|
+
}, z.core.$strip>], "kind">>;
|
|
4406
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
4407
|
+
kind: z.ZodLiteral<"mcp">;
|
|
4408
|
+
id: z.ZodString;
|
|
4409
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
4410
|
+
}, z.core.$strip>>;
|
|
4411
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4412
|
+
model: z.ZodString;
|
|
4413
|
+
sandboxBackend: z.ZodEnum<{
|
|
4414
|
+
docker: "docker";
|
|
4415
|
+
modal: "modal";
|
|
4416
|
+
local: "local";
|
|
4417
|
+
none: "none";
|
|
4418
|
+
daytona: "daytona";
|
|
4419
|
+
runloop: "runloop";
|
|
4420
|
+
e2b: "e2b";
|
|
4421
|
+
blaxel: "blaxel";
|
|
4422
|
+
cloudflare: "cloudflare";
|
|
4423
|
+
vercel: "vercel";
|
|
4424
|
+
selfhosted: "selfhosted";
|
|
4425
|
+
}>;
|
|
4426
|
+
sandboxOs: z.ZodEnum<{
|
|
4427
|
+
linux: "linux";
|
|
4428
|
+
macos: "macos";
|
|
4429
|
+
windows: "windows";
|
|
4430
|
+
}>;
|
|
4431
|
+
sandboxGroupId: z.ZodString;
|
|
4432
|
+
activeSandboxId: z.ZodNullable<z.ZodString>;
|
|
4433
|
+
activeEpoch: z.ZodNumber;
|
|
4434
|
+
variableSetId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4435
|
+
environmentId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4436
|
+
rigId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4437
|
+
rigVersionId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4438
|
+
firstPartyMcpPermissions: z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
4439
|
+
"account:read": "account:read";
|
|
4440
|
+
"account:admin": "account:admin";
|
|
4441
|
+
"members:manage": "members:manage";
|
|
4442
|
+
"workspace:create": "workspace:create";
|
|
4443
|
+
"billing:read": "billing:read";
|
|
4444
|
+
"billing:manage": "billing:manage";
|
|
4445
|
+
"workspace:read": "workspace:read";
|
|
4446
|
+
"workspace:admin": "workspace:admin";
|
|
4447
|
+
"sessions:create": "sessions:create";
|
|
4448
|
+
"sessions:read": "sessions:read";
|
|
4449
|
+
"sessions:control": "sessions:control";
|
|
4450
|
+
"stream:view": "stream:view";
|
|
4451
|
+
"stream:control": "stream:control";
|
|
4452
|
+
"stream:acknowledge": "stream:acknowledge";
|
|
4453
|
+
"files:upload": "files:upload";
|
|
4454
|
+
"files:read": "files:read";
|
|
4455
|
+
"files:write": "files:write";
|
|
4456
|
+
"terminal:attach": "terminal:attach";
|
|
4457
|
+
"documents:manage": "documents:manage";
|
|
4458
|
+
"documents:search": "documents:search";
|
|
4459
|
+
"scheduled_tasks:manage": "scheduled_tasks:manage";
|
|
4460
|
+
"scheduled_tasks:run": "scheduled_tasks:run";
|
|
4461
|
+
"github:manage": "github:manage";
|
|
4462
|
+
"github:use": "github:use";
|
|
4463
|
+
"api_keys:manage": "api_keys:manage";
|
|
4464
|
+
"connections:read": "connections:read";
|
|
4465
|
+
"connections:write": "connections:write";
|
|
4466
|
+
"environments:manage": "environments:manage";
|
|
4467
|
+
"environments:use": "environments:use";
|
|
4468
|
+
"variable-sets:manage": "variable-sets:manage";
|
|
4469
|
+
"variable-sets:use": "variable-sets:use";
|
|
4470
|
+
"mcp_servers:attach": "mcp_servers:attach";
|
|
4471
|
+
"toolspace:call": "toolspace:call";
|
|
4472
|
+
"goals:manage": "goals:manage";
|
|
4473
|
+
"enrollments:read": "enrollments:read";
|
|
4474
|
+
"enrollments:manage": "enrollments:manage";
|
|
4475
|
+
"rigs:use": "rigs:use";
|
|
4476
|
+
"rigs:manage": "rigs:manage";
|
|
4477
|
+
}>>>;
|
|
4478
|
+
mcpServers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4479
|
+
id: z.ZodString;
|
|
4480
|
+
name: z.ZodNullable<z.ZodString>;
|
|
4481
|
+
url: z.ZodString;
|
|
4482
|
+
headerNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4483
|
+
credentialVersion: z.ZodNumber;
|
|
4484
|
+
}, z.core.$strict>>>;
|
|
4485
|
+
parentSessionId: z.ZodNullable<z.ZodString>;
|
|
4486
|
+
createIdempotencyKey: z.ZodNullable<z.ZodString>;
|
|
4487
|
+
temporalWorkflowId: z.ZodNullable<z.ZodString>;
|
|
4488
|
+
activeTurnId: z.ZodNullable<z.ZodString>;
|
|
4489
|
+
lastInputTokens: z.ZodNullable<z.ZodNumber>;
|
|
4490
|
+
queueVersion: z.ZodNumber;
|
|
4491
|
+
queueHeadPosition: z.ZodNumber;
|
|
4492
|
+
queueTailPosition: z.ZodNumber;
|
|
4493
|
+
controlState: z.ZodEnum<{
|
|
4494
|
+
paused: "paused";
|
|
4495
|
+
active: "active";
|
|
4496
|
+
}>;
|
|
4497
|
+
controlGeneration: z.ZodNumber;
|
|
4498
|
+
controlReason: z.ZodNullable<z.ZodString>;
|
|
4499
|
+
controlChangedBy: z.ZodNullable<z.ZodString>;
|
|
4500
|
+
controlChangedAt: z.ZodNullable<z.ZodString>;
|
|
4501
|
+
workspaceRunExceptionGeneration: z.ZodNullable<z.ZodNumber>;
|
|
4502
|
+
lastSequence: z.ZodNumber;
|
|
4503
|
+
codexPinnedCredentialId: z.ZodNullable<z.ZodString>;
|
|
4504
|
+
codexLastCredentialId: z.ZodNullable<z.ZodString>;
|
|
4505
|
+
pinned: z.ZodDefault<z.ZodBoolean>;
|
|
4506
|
+
pinnedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4507
|
+
pinVersion: z.ZodDefault<z.ZodNumber>;
|
|
4508
|
+
treeStats: z.ZodOptional<z.ZodObject<{
|
|
4509
|
+
directChildren: z.ZodNumber;
|
|
4510
|
+
totalDescendants: z.ZodNumber;
|
|
4511
|
+
runningDescendants: z.ZodNumber;
|
|
4512
|
+
queuedDescendants: z.ZodNumber;
|
|
4513
|
+
attentionDescendants: z.ZodNumber;
|
|
4514
|
+
pausedDescendants: z.ZodNumber;
|
|
4515
|
+
failedDescendants: z.ZodNumber;
|
|
4516
|
+
}, z.core.$strip>>;
|
|
4517
|
+
createdAt: z.ZodString;
|
|
4518
|
+
updatedAt: z.ZodString;
|
|
4519
|
+
}, z.core.$strip>>;
|
|
4520
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
4521
|
+
}, z.core.$strip>;
|
|
4522
|
+
type SessionListResponse = z.infer<typeof SessionListResponse>;
|
|
4523
|
+
type LineageNode = {
|
|
4524
|
+
session: SessionSummary;
|
|
4525
|
+
children: LineageNode[];
|
|
4526
|
+
};
|
|
4527
|
+
declare const LineageNode: z.ZodType<LineageNode>;
|
|
4528
|
+
declare const SessionLineageResponse: z.ZodObject<{
|
|
4529
|
+
ancestors: z.ZodArray<z.ZodObject<{
|
|
4530
|
+
id: z.ZodString;
|
|
4531
|
+
workspaceId: z.ZodString;
|
|
4532
|
+
accountId: z.ZodString;
|
|
4533
|
+
status: z.ZodEnum<{
|
|
4534
|
+
queued: "queued";
|
|
4535
|
+
running: "running";
|
|
4536
|
+
idle: "idle";
|
|
4537
|
+
requires_action: "requires_action";
|
|
4538
|
+
recovering: "recovering";
|
|
4539
|
+
waiting_capacity: "waiting_capacity";
|
|
4540
|
+
paused: "paused";
|
|
4541
|
+
failed: "failed";
|
|
4542
|
+
cancelled: "cancelled";
|
|
4543
|
+
}>;
|
|
4544
|
+
initialMessage: z.ZodString;
|
|
4545
|
+
title: z.ZodNullable<z.ZodString>;
|
|
4546
|
+
titleSource: z.ZodNullable<z.ZodEnum<{
|
|
4547
|
+
user: "user";
|
|
4548
|
+
agent: "agent";
|
|
4549
|
+
}>>;
|
|
4550
|
+
instructions: z.ZodNullable<z.ZodString>;
|
|
4551
|
+
resources: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4552
|
+
kind: z.ZodLiteral<"repository">;
|
|
4553
|
+
uri: z.ZodString;
|
|
4554
|
+
ref: z.ZodString;
|
|
4555
|
+
mountPath: z.ZodOptional<z.ZodString>;
|
|
4556
|
+
subpath: z.ZodOptional<z.ZodString>;
|
|
4557
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
4558
|
+
github: "github";
|
|
4559
|
+
gitlab: "gitlab";
|
|
4560
|
+
azure_devops: "azure_devops";
|
|
4561
|
+
}>>;
|
|
4562
|
+
repositoryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
4563
|
+
installationId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
4564
|
+
projectId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
4565
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
4566
|
+
githubInstallationId: z.ZodOptional<z.ZodNumber>;
|
|
4567
|
+
githubRepositoryId: z.ZodOptional<z.ZodNumber>;
|
|
4568
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4569
|
+
kind: z.ZodLiteral<"file">;
|
|
4570
|
+
fileId: z.ZodString;
|
|
4571
|
+
mountPath: z.ZodOptional<z.ZodString>;
|
|
4572
|
+
}, z.core.$strip>], "kind">>;
|
|
4573
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
4574
|
+
kind: z.ZodLiteral<"mcp">;
|
|
4575
|
+
id: z.ZodString;
|
|
4576
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
4577
|
+
}, z.core.$strip>>;
|
|
4578
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4579
|
+
model: z.ZodString;
|
|
4580
|
+
sandboxBackend: z.ZodEnum<{
|
|
4581
|
+
docker: "docker";
|
|
4582
|
+
modal: "modal";
|
|
4583
|
+
local: "local";
|
|
4584
|
+
none: "none";
|
|
4585
|
+
daytona: "daytona";
|
|
4586
|
+
runloop: "runloop";
|
|
4587
|
+
e2b: "e2b";
|
|
4588
|
+
blaxel: "blaxel";
|
|
4589
|
+
cloudflare: "cloudflare";
|
|
4590
|
+
vercel: "vercel";
|
|
4591
|
+
selfhosted: "selfhosted";
|
|
4592
|
+
}>;
|
|
4593
|
+
sandboxOs: z.ZodEnum<{
|
|
4594
|
+
linux: "linux";
|
|
4595
|
+
macos: "macos";
|
|
4596
|
+
windows: "windows";
|
|
4597
|
+
}>;
|
|
4598
|
+
sandboxGroupId: z.ZodString;
|
|
4599
|
+
activeSandboxId: z.ZodNullable<z.ZodString>;
|
|
4600
|
+
activeEpoch: z.ZodNumber;
|
|
4601
|
+
variableSetId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4602
|
+
environmentId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4603
|
+
rigId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4604
|
+
rigVersionId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4605
|
+
firstPartyMcpPermissions: z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
4606
|
+
"account:read": "account:read";
|
|
4607
|
+
"account:admin": "account:admin";
|
|
4608
|
+
"members:manage": "members:manage";
|
|
4609
|
+
"workspace:create": "workspace:create";
|
|
4610
|
+
"billing:read": "billing:read";
|
|
4611
|
+
"billing:manage": "billing:manage";
|
|
4612
|
+
"workspace:read": "workspace:read";
|
|
4613
|
+
"workspace:admin": "workspace:admin";
|
|
4614
|
+
"sessions:create": "sessions:create";
|
|
4615
|
+
"sessions:read": "sessions:read";
|
|
4616
|
+
"sessions:control": "sessions:control";
|
|
4617
|
+
"stream:view": "stream:view";
|
|
4618
|
+
"stream:control": "stream:control";
|
|
4619
|
+
"stream:acknowledge": "stream:acknowledge";
|
|
4620
|
+
"files:upload": "files:upload";
|
|
4621
|
+
"files:read": "files:read";
|
|
4622
|
+
"files:write": "files:write";
|
|
4623
|
+
"terminal:attach": "terminal:attach";
|
|
4624
|
+
"documents:manage": "documents:manage";
|
|
4625
|
+
"documents:search": "documents:search";
|
|
4626
|
+
"scheduled_tasks:manage": "scheduled_tasks:manage";
|
|
4627
|
+
"scheduled_tasks:run": "scheduled_tasks:run";
|
|
4628
|
+
"github:manage": "github:manage";
|
|
4629
|
+
"github:use": "github:use";
|
|
4630
|
+
"api_keys:manage": "api_keys:manage";
|
|
4631
|
+
"connections:read": "connections:read";
|
|
4632
|
+
"connections:write": "connections:write";
|
|
4633
|
+
"environments:manage": "environments:manage";
|
|
4634
|
+
"environments:use": "environments:use";
|
|
4635
|
+
"variable-sets:manage": "variable-sets:manage";
|
|
4636
|
+
"variable-sets:use": "variable-sets:use";
|
|
4637
|
+
"mcp_servers:attach": "mcp_servers:attach";
|
|
4638
|
+
"toolspace:call": "toolspace:call";
|
|
4639
|
+
"goals:manage": "goals:manage";
|
|
4640
|
+
"enrollments:read": "enrollments:read";
|
|
4641
|
+
"enrollments:manage": "enrollments:manage";
|
|
4642
|
+
"rigs:use": "rigs:use";
|
|
4643
|
+
"rigs:manage": "rigs:manage";
|
|
4644
|
+
}>>>;
|
|
4645
|
+
mcpServers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4646
|
+
id: z.ZodString;
|
|
4647
|
+
name: z.ZodNullable<z.ZodString>;
|
|
4648
|
+
url: z.ZodString;
|
|
4649
|
+
headerNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4650
|
+
credentialVersion: z.ZodNumber;
|
|
4651
|
+
}, z.core.$strict>>>;
|
|
4652
|
+
parentSessionId: z.ZodNullable<z.ZodString>;
|
|
4653
|
+
createIdempotencyKey: z.ZodNullable<z.ZodString>;
|
|
4654
|
+
temporalWorkflowId: z.ZodNullable<z.ZodString>;
|
|
4655
|
+
activeTurnId: z.ZodNullable<z.ZodString>;
|
|
4656
|
+
lastInputTokens: z.ZodNullable<z.ZodNumber>;
|
|
4657
|
+
queueVersion: z.ZodNumber;
|
|
4658
|
+
queueHeadPosition: z.ZodNumber;
|
|
4659
|
+
queueTailPosition: z.ZodNumber;
|
|
4660
|
+
controlState: z.ZodEnum<{
|
|
4661
|
+
paused: "paused";
|
|
4662
|
+
active: "active";
|
|
4663
|
+
}>;
|
|
4664
|
+
controlGeneration: z.ZodNumber;
|
|
4665
|
+
controlReason: z.ZodNullable<z.ZodString>;
|
|
4666
|
+
controlChangedBy: z.ZodNullable<z.ZodString>;
|
|
4667
|
+
controlChangedAt: z.ZodNullable<z.ZodString>;
|
|
4668
|
+
workspaceRunExceptionGeneration: z.ZodNullable<z.ZodNumber>;
|
|
4669
|
+
lastSequence: z.ZodNumber;
|
|
4670
|
+
codexPinnedCredentialId: z.ZodNullable<z.ZodString>;
|
|
4671
|
+
codexLastCredentialId: z.ZodNullable<z.ZodString>;
|
|
4672
|
+
pinned: z.ZodDefault<z.ZodBoolean>;
|
|
4673
|
+
pinnedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4674
|
+
pinVersion: z.ZodDefault<z.ZodNumber>;
|
|
4675
|
+
treeStats: z.ZodOptional<z.ZodObject<{
|
|
4676
|
+
directChildren: z.ZodNumber;
|
|
4677
|
+
totalDescendants: z.ZodNumber;
|
|
4678
|
+
runningDescendants: z.ZodNumber;
|
|
4679
|
+
queuedDescendants: z.ZodNumber;
|
|
4680
|
+
attentionDescendants: z.ZodNumber;
|
|
4681
|
+
pausedDescendants: z.ZodNumber;
|
|
4682
|
+
failedDescendants: z.ZodNumber;
|
|
4683
|
+
}, z.core.$strip>>;
|
|
4684
|
+
createdAt: z.ZodString;
|
|
4685
|
+
updatedAt: z.ZodString;
|
|
4686
|
+
}, z.core.$strip>>;
|
|
4687
|
+
children: z.ZodArray<z.ZodType<LineageNode, unknown, z.core.$ZodTypeInternals<LineageNode, unknown>>>;
|
|
4688
|
+
truncated: z.ZodDefault<z.ZodBoolean>;
|
|
4689
|
+
}, z.core.$strip>;
|
|
4690
|
+
type SessionLineageResponse = z.infer<typeof SessionLineageResponse>;
|
|
4691
|
+
declare const SessionEventType: z.ZodEnum<{
|
|
4692
|
+
"session.created": "session.created";
|
|
4693
|
+
"session.status.changed": "session.status.changed";
|
|
4694
|
+
"session.requiresAction": "session.requiresAction";
|
|
4695
|
+
"session.context.compaction.requested": "session.context.compaction.requested";
|
|
4696
|
+
"session.context.compacted": "session.context.compacted";
|
|
4697
|
+
"session.context.compaction.skipped": "session.context.compaction.skipped";
|
|
4698
|
+
"session.context.cleared": "session.context.cleared";
|
|
4699
|
+
"user.message": "user.message";
|
|
4700
|
+
"user.pause": "user.pause";
|
|
4701
|
+
"user.approvalDecision": "user.approvalDecision";
|
|
4702
|
+
"turn.queued": "turn.queued";
|
|
4703
|
+
"turn.started": "turn.started";
|
|
4704
|
+
"turn.completed": "turn.completed";
|
|
4705
|
+
"turn.failed": "turn.failed";
|
|
4706
|
+
"turn.cancelled": "turn.cancelled";
|
|
4707
|
+
"turn.superseded": "turn.superseded";
|
|
4708
|
+
"turn.recovery.requested": "turn.recovery.requested";
|
|
4709
|
+
"turn.capacity_waiting": "turn.capacity_waiting";
|
|
4710
|
+
"agent.message.delta": "agent.message.delta";
|
|
4711
|
+
"agent.message.completed": "agent.message.completed";
|
|
4712
|
+
"agent.reasoning.delta": "agent.reasoning.delta";
|
|
4713
|
+
"agent.toolCall.created": "agent.toolCall.created";
|
|
4714
|
+
"agent.toolCall.output": "agent.toolCall.output";
|
|
4715
|
+
"agent.model.usage": "agent.model.usage";
|
|
4716
|
+
"tool.auth_needed": "tool.auth_needed";
|
|
4717
|
+
"agent.updated": "agent.updated";
|
|
4718
|
+
"rig.setup.started": "rig.setup.started";
|
|
4719
|
+
"rig.setup.completed": "rig.setup.completed";
|
|
4720
|
+
"rig.setup.skipped": "rig.setup.skipped";
|
|
4721
|
+
"rig.setup.failed": "rig.setup.failed";
|
|
4722
|
+
"sandbox.operation.started": "sandbox.operation.started";
|
|
4723
|
+
"sandbox.operation.completed": "sandbox.operation.completed";
|
|
4724
|
+
"sandbox.operation.failed": "sandbox.operation.failed";
|
|
4725
|
+
"sandbox.command.output.delta": "sandbox.command.output.delta";
|
|
4726
|
+
"artifact.created": "artifact.created";
|
|
4727
|
+
"goal.set": "goal.set";
|
|
4728
|
+
"goal.updated": "goal.updated";
|
|
4729
|
+
"goal.completed": "goal.completed";
|
|
4730
|
+
"goal.paused": "goal.paused";
|
|
4731
|
+
"goal.resumed": "goal.resumed";
|
|
4732
|
+
"goal.cleared": "goal.cleared";
|
|
4733
|
+
"goal.continuation": "goal.continuation";
|
|
4734
|
+
"system.update.pending": "system.update.pending";
|
|
4735
|
+
"system.update.delivered": "system.update.delivered";
|
|
4736
|
+
"session.control.paused": "session.control.paused";
|
|
4737
|
+
"session.control.resumed": "session.control.resumed";
|
|
4738
|
+
"session.control.steer_requested": "session.control.steer_requested";
|
|
4739
|
+
"workspace.inference.paused": "workspace.inference.paused";
|
|
4740
|
+
"workspace.inference.resumed": "workspace.inference.resumed";
|
|
4741
|
+
"session.queue.prompt.cancelled": "session.queue.prompt.cancelled";
|
|
4742
|
+
"session.queue.history": "session.queue.history";
|
|
4743
|
+
"turn.event.rejected_late": "turn.event.rejected_late";
|
|
4744
|
+
"memory.saved": "memory.saved";
|
|
4745
|
+
"memory.corrected": "memory.corrected";
|
|
4746
|
+
"stream.url.rotated": "stream.url.rotated";
|
|
4747
|
+
"stream.opened": "stream.opened";
|
|
4748
|
+
"stream.closed": "stream.closed";
|
|
4749
|
+
"stream.revoked": "stream.revoked";
|
|
4750
|
+
"recording.started": "recording.started";
|
|
4751
|
+
"recording.available": "recording.available";
|
|
4752
|
+
"recording.failed": "recording.failed";
|
|
4753
|
+
"fs.changed": "fs.changed";
|
|
4754
|
+
"git.changed": "git.changed";
|
|
4755
|
+
"terminal.pty.started": "terminal.pty.started";
|
|
4756
|
+
"terminal.pty.output.delta": "terminal.pty.output.delta";
|
|
4757
|
+
"terminal.pty.exited": "terminal.pty.exited";
|
|
4758
|
+
"session.title_set": "session.title_set";
|
|
4759
|
+
"codex.account.switched": "codex.account.switched";
|
|
4760
|
+
"codex.credential.selected": "codex.credential.selected";
|
|
4761
|
+
"codex.capacity.waiting": "codex.capacity.waiting";
|
|
4762
|
+
"codex.capacity.resumed": "codex.capacity.resumed";
|
|
4763
|
+
"codex.capacity.superseded": "codex.capacity.superseded";
|
|
4764
|
+
"sandbox.box.created": "sandbox.box.created";
|
|
4765
|
+
"sandbox.box.lost": "sandbox.box.lost";
|
|
4766
|
+
"sandbox.box.terminated": "sandbox.box.terminated";
|
|
4767
|
+
"sandbox.box.snapshot": "sandbox.box.snapshot";
|
|
4768
|
+
"sandbox.env.drift": "sandbox.env.drift";
|
|
4769
|
+
"session.route.reconciled": "session.route.reconciled";
|
|
4770
|
+
"workspace.revision.captured": "workspace.revision.captured";
|
|
4771
|
+
"workspace.revision.degraded": "workspace.revision.degraded";
|
|
4772
|
+
"machine.op.failed": "machine.op.failed";
|
|
4773
|
+
"machine.op.recovered": "machine.op.recovered";
|
|
4774
|
+
"machine.link.lost": "machine.link.lost";
|
|
4775
|
+
"machine.link.restored": "machine.link.restored";
|
|
4776
|
+
"machine.runner.restarted": "machine.runner.restarted";
|
|
4777
|
+
}>;
|
|
4778
|
+
type SessionEventType = z.infer<typeof SessionEventType>;
|
|
4779
|
+
declare const ToolAuthNeededPayload: z.ZodObject<{
|
|
4780
|
+
serverId: z.ZodString;
|
|
4781
|
+
toolName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4782
|
+
providerDomain: z.ZodString;
|
|
4783
|
+
connectionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4784
|
+
reason: z.ZodEnum<{
|
|
4785
|
+
expired: "expired";
|
|
4786
|
+
missing_connection: "missing_connection";
|
|
4787
|
+
insufficient_scope: "insufficient_scope";
|
|
4788
|
+
refresh_failed: "refresh_failed";
|
|
4789
|
+
}>;
|
|
4790
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4791
|
+
resource: z.ZodOptional<z.ZodString>;
|
|
4792
|
+
authorizationUrl: z.ZodOptional<z.ZodString>;
|
|
4793
|
+
subjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4794
|
+
}, z.core.$strip>;
|
|
4795
|
+
type ToolAuthNeededPayload = z.infer<typeof ToolAuthNeededPayload>;
|
|
4796
|
+
declare const StreamUrlRotatedPayload: z.ZodObject<{
|
|
4797
|
+
url: z.ZodString;
|
|
4798
|
+
token: z.ZodNullable<z.ZodString>;
|
|
4799
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
4800
|
+
leaseEpoch: z.ZodNumber;
|
|
4801
|
+
transport: z.ZodLiteral<"vnc-ws">;
|
|
4802
|
+
viewerId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4803
|
+
}, z.core.$strip>;
|
|
4804
|
+
type StreamUrlRotatedPayload = z.infer<typeof StreamUrlRotatedPayload>;
|
|
4805
|
+
declare const StreamOpenedPayload: z.ZodObject<{
|
|
4806
|
+
viewerId: z.ZodString;
|
|
4807
|
+
shared: z.ZodDefault<z.ZodBoolean>;
|
|
4808
|
+
viewerCount: z.ZodNumber;
|
|
4809
|
+
}, z.core.$strip>;
|
|
4810
|
+
type StreamOpenedPayload = z.infer<typeof StreamOpenedPayload>;
|
|
4811
|
+
declare const StreamClosedPayload: z.ZodObject<{
|
|
4812
|
+
viewerId: z.ZodString;
|
|
4813
|
+
reason: z.ZodEnum<{
|
|
4814
|
+
revoked: "revoked";
|
|
4815
|
+
"client-disconnect": "client-disconnect";
|
|
4816
|
+
reaped: "reaped";
|
|
4817
|
+
"box-rollover": "box-rollover";
|
|
4818
|
+
}>;
|
|
4819
|
+
viewerCount: z.ZodNumber;
|
|
4820
|
+
}, z.core.$strip>;
|
|
4821
|
+
type StreamClosedPayload = z.infer<typeof StreamClosedPayload>;
|
|
4822
|
+
declare const StreamRevokedPayload: z.ZodObject<{
|
|
4823
|
+
viewerId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4824
|
+
reason: z.ZodEnum<{
|
|
4825
|
+
admin: "admin";
|
|
4826
|
+
"grant-revoked": "grant-revoked";
|
|
4827
|
+
"session-failed": "session-failed";
|
|
4828
|
+
}>;
|
|
4829
|
+
}, z.core.$strip>;
|
|
4830
|
+
type StreamRevokedPayload = z.infer<typeof StreamRevokedPayload>;
|
|
4831
|
+
declare const RecordingMode: z.ZodEnum<{
|
|
4832
|
+
manual: "manual";
|
|
4833
|
+
"on-turn": "on-turn";
|
|
4834
|
+
"on-verify": "on-verify";
|
|
4835
|
+
}>;
|
|
4836
|
+
type RecordingMode = z.infer<typeof RecordingMode>;
|
|
4837
|
+
declare const RecordingCodec: z.ZodEnum<{
|
|
4838
|
+
"h264-mp4": "h264-mp4";
|
|
4839
|
+
"vp9-webm": "vp9-webm";
|
|
4840
|
+
}>;
|
|
4841
|
+
type RecordingCodec = z.infer<typeof RecordingCodec>;
|
|
4842
|
+
declare const RecordingContentType: z.ZodEnum<{
|
|
4843
|
+
"video/mp4": "video/mp4";
|
|
4844
|
+
"video/webm": "video/webm";
|
|
4845
|
+
}>;
|
|
4846
|
+
type RecordingContentType = z.infer<typeof RecordingContentType>;
|
|
4847
|
+
declare const RecordingStartedPayload: z.ZodObject<{
|
|
3460
4848
|
recordingId: z.ZodString;
|
|
3461
4849
|
turnId: z.ZodNullable<z.ZodString>;
|
|
3462
4850
|
mode: z.ZodEnum<{
|
|
@@ -3916,7 +5304,460 @@ declare const GitDiffResponse: z.ZodObject<{
|
|
|
3916
5304
|
}, z.core.$strip>>;
|
|
3917
5305
|
revision: z.ZodNumber;
|
|
3918
5306
|
}, z.core.$strip>;
|
|
3919
|
-
type GitDiffResponse = z.infer<typeof GitDiffResponse>;
|
|
5307
|
+
type GitDiffResponse = z.infer<typeof GitDiffResponse>;
|
|
5308
|
+
declare const WorkspaceCaptureFile: z.ZodObject<{
|
|
5309
|
+
path: z.ZodString;
|
|
5310
|
+
status: z.ZodEnum<{
|
|
5311
|
+
deleted: "deleted";
|
|
5312
|
+
modified: "modified";
|
|
5313
|
+
renamed: "renamed";
|
|
5314
|
+
added: "added";
|
|
5315
|
+
copied: "copied";
|
|
5316
|
+
untracked: "untracked";
|
|
5317
|
+
ignored: "ignored";
|
|
5318
|
+
conflicted: "conflicted";
|
|
5319
|
+
typechange: "typechange";
|
|
5320
|
+
}>;
|
|
5321
|
+
hash: z.ZodNullable<z.ZodString>;
|
|
5322
|
+
baseHash: z.ZodNullable<z.ZodString>;
|
|
5323
|
+
contentRef: z.ZodNullable<z.ZodString>;
|
|
5324
|
+
sizeBytes: z.ZodNumber;
|
|
5325
|
+
isBinary: z.ZodDefault<z.ZodBoolean>;
|
|
5326
|
+
tooLarge: z.ZodDefault<z.ZodBoolean>;
|
|
5327
|
+
deleted: z.ZodDefault<z.ZodBoolean>;
|
|
5328
|
+
}, z.core.$strip>;
|
|
5329
|
+
type WorkspaceCaptureFile = z.infer<typeof WorkspaceCaptureFile>;
|
|
5330
|
+
declare const WorkspaceCaptureRepo: z.ZodObject<{
|
|
5331
|
+
root: z.ZodString;
|
|
5332
|
+
head: z.ZodNullable<z.ZodString>;
|
|
5333
|
+
detached: z.ZodDefault<z.ZodBoolean>;
|
|
5334
|
+
upstream: z.ZodNullable<z.ZodString>;
|
|
5335
|
+
ahead: z.ZodDefault<z.ZodNumber>;
|
|
5336
|
+
behind: z.ZodDefault<z.ZodNumber>;
|
|
5337
|
+
status: z.ZodArray<z.ZodObject<{
|
|
5338
|
+
path: z.ZodString;
|
|
5339
|
+
oldPath: z.ZodNullable<z.ZodString>;
|
|
5340
|
+
index: z.ZodNullable<z.ZodEnum<{
|
|
5341
|
+
deleted: "deleted";
|
|
5342
|
+
modified: "modified";
|
|
5343
|
+
renamed: "renamed";
|
|
5344
|
+
added: "added";
|
|
5345
|
+
copied: "copied";
|
|
5346
|
+
untracked: "untracked";
|
|
5347
|
+
ignored: "ignored";
|
|
5348
|
+
conflicted: "conflicted";
|
|
5349
|
+
typechange: "typechange";
|
|
5350
|
+
}>>;
|
|
5351
|
+
worktree: z.ZodNullable<z.ZodEnum<{
|
|
5352
|
+
deleted: "deleted";
|
|
5353
|
+
modified: "modified";
|
|
5354
|
+
renamed: "renamed";
|
|
5355
|
+
added: "added";
|
|
5356
|
+
copied: "copied";
|
|
5357
|
+
untracked: "untracked";
|
|
5358
|
+
ignored: "ignored";
|
|
5359
|
+
conflicted: "conflicted";
|
|
5360
|
+
typechange: "typechange";
|
|
5361
|
+
}>>;
|
|
5362
|
+
isConflicted: z.ZodDefault<z.ZodBoolean>;
|
|
5363
|
+
}, z.core.$strip>>;
|
|
5364
|
+
diff: z.ZodArray<z.ZodObject<{
|
|
5365
|
+
path: z.ZodString;
|
|
5366
|
+
oldPath: z.ZodNullable<z.ZodString>;
|
|
5367
|
+
status: z.ZodEnum<{
|
|
5368
|
+
deleted: "deleted";
|
|
5369
|
+
modified: "modified";
|
|
5370
|
+
renamed: "renamed";
|
|
5371
|
+
added: "added";
|
|
5372
|
+
copied: "copied";
|
|
5373
|
+
untracked: "untracked";
|
|
5374
|
+
ignored: "ignored";
|
|
5375
|
+
conflicted: "conflicted";
|
|
5376
|
+
typechange: "typechange";
|
|
5377
|
+
}>;
|
|
5378
|
+
isBinary: z.ZodDefault<z.ZodBoolean>;
|
|
5379
|
+
isImage: z.ZodDefault<z.ZodBoolean>;
|
|
5380
|
+
additions: z.ZodNumber;
|
|
5381
|
+
deletions: z.ZodNumber;
|
|
5382
|
+
hunks: z.ZodArray<z.ZodObject<{
|
|
5383
|
+
oldStart: z.ZodNumber;
|
|
5384
|
+
oldLines: z.ZodNumber;
|
|
5385
|
+
newStart: z.ZodNumber;
|
|
5386
|
+
newLines: z.ZodNumber;
|
|
5387
|
+
header: z.ZodString;
|
|
5388
|
+
lines: z.ZodArray<z.ZodObject<{
|
|
5389
|
+
type: z.ZodEnum<{
|
|
5390
|
+
context: "context";
|
|
5391
|
+
add: "add";
|
|
5392
|
+
del: "del";
|
|
5393
|
+
meta: "meta";
|
|
5394
|
+
}>;
|
|
5395
|
+
oldNo: z.ZodNullable<z.ZodNumber>;
|
|
5396
|
+
newNo: z.ZodNullable<z.ZodNumber>;
|
|
5397
|
+
text: z.ZodString;
|
|
5398
|
+
}, z.core.$strip>>;
|
|
5399
|
+
}, z.core.$strip>>;
|
|
5400
|
+
truncated: z.ZodDefault<z.ZodBoolean>;
|
|
5401
|
+
}, z.core.$strip>>;
|
|
5402
|
+
}, z.core.$strip>;
|
|
5403
|
+
type WorkspaceCaptureRepo = z.infer<typeof WorkspaceCaptureRepo>;
|
|
5404
|
+
declare const WorkspaceCaptureDegradedReason: z.ZodEnum<{
|
|
5405
|
+
repository_discovery_command_failed: "repository_discovery_command_failed";
|
|
5406
|
+
repository_discovery_timed_out: "repository_discovery_timed_out";
|
|
5407
|
+
repository_discovery_result_limit_exceeded: "repository_discovery_result_limit_exceeded";
|
|
5408
|
+
}>;
|
|
5409
|
+
type WorkspaceCaptureDegradedReason = z.infer<typeof WorkspaceCaptureDegradedReason>;
|
|
5410
|
+
declare const WorkspaceCaptureStats: z.ZodObject<{
|
|
5411
|
+
repoCount: z.ZodNumber;
|
|
5412
|
+
fileCount: z.ZodNumber;
|
|
5413
|
+
additions: z.ZodNumber;
|
|
5414
|
+
deletions: z.ZodNumber;
|
|
5415
|
+
totalBytes: z.ZodNumber;
|
|
5416
|
+
tooLargeCount: z.ZodNumber;
|
|
5417
|
+
binaryCount: z.ZodNumber;
|
|
5418
|
+
treeEntryCount: z.ZodNumber;
|
|
5419
|
+
treeTruncated: z.ZodDefault<z.ZodBoolean>;
|
|
5420
|
+
durationMs: z.ZodNumber;
|
|
5421
|
+
fingerprint: z.ZodOptional<z.ZodString>;
|
|
5422
|
+
}, z.core.$strip>;
|
|
5423
|
+
type WorkspaceCaptureStats = z.infer<typeof WorkspaceCaptureStats>;
|
|
5424
|
+
declare const WorkspaceCaptureManifest: z.ZodObject<{
|
|
5425
|
+
version: z.ZodLiteral<1>;
|
|
5426
|
+
revision: z.ZodNumber;
|
|
5427
|
+
capturedAt: z.ZodString;
|
|
5428
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
5429
|
+
leaseEpoch: z.ZodNumber;
|
|
5430
|
+
treeIndex: z.ZodType<FsTreeNode, unknown, z.core.$ZodTypeInternals<FsTreeNode, unknown>>;
|
|
5431
|
+
treeTruncated: z.ZodDefault<z.ZodBoolean>;
|
|
5432
|
+
repos: z.ZodArray<z.ZodObject<{
|
|
5433
|
+
root: z.ZodString;
|
|
5434
|
+
head: z.ZodNullable<z.ZodString>;
|
|
5435
|
+
detached: z.ZodDefault<z.ZodBoolean>;
|
|
5436
|
+
upstream: z.ZodNullable<z.ZodString>;
|
|
5437
|
+
ahead: z.ZodDefault<z.ZodNumber>;
|
|
5438
|
+
behind: z.ZodDefault<z.ZodNumber>;
|
|
5439
|
+
status: z.ZodArray<z.ZodObject<{
|
|
5440
|
+
path: z.ZodString;
|
|
5441
|
+
oldPath: z.ZodNullable<z.ZodString>;
|
|
5442
|
+
index: z.ZodNullable<z.ZodEnum<{
|
|
5443
|
+
deleted: "deleted";
|
|
5444
|
+
modified: "modified";
|
|
5445
|
+
renamed: "renamed";
|
|
5446
|
+
added: "added";
|
|
5447
|
+
copied: "copied";
|
|
5448
|
+
untracked: "untracked";
|
|
5449
|
+
ignored: "ignored";
|
|
5450
|
+
conflicted: "conflicted";
|
|
5451
|
+
typechange: "typechange";
|
|
5452
|
+
}>>;
|
|
5453
|
+
worktree: z.ZodNullable<z.ZodEnum<{
|
|
5454
|
+
deleted: "deleted";
|
|
5455
|
+
modified: "modified";
|
|
5456
|
+
renamed: "renamed";
|
|
5457
|
+
added: "added";
|
|
5458
|
+
copied: "copied";
|
|
5459
|
+
untracked: "untracked";
|
|
5460
|
+
ignored: "ignored";
|
|
5461
|
+
conflicted: "conflicted";
|
|
5462
|
+
typechange: "typechange";
|
|
5463
|
+
}>>;
|
|
5464
|
+
isConflicted: z.ZodDefault<z.ZodBoolean>;
|
|
5465
|
+
}, z.core.$strip>>;
|
|
5466
|
+
diff: z.ZodArray<z.ZodObject<{
|
|
5467
|
+
path: z.ZodString;
|
|
5468
|
+
oldPath: z.ZodNullable<z.ZodString>;
|
|
5469
|
+
status: z.ZodEnum<{
|
|
5470
|
+
deleted: "deleted";
|
|
5471
|
+
modified: "modified";
|
|
5472
|
+
renamed: "renamed";
|
|
5473
|
+
added: "added";
|
|
5474
|
+
copied: "copied";
|
|
5475
|
+
untracked: "untracked";
|
|
5476
|
+
ignored: "ignored";
|
|
5477
|
+
conflicted: "conflicted";
|
|
5478
|
+
typechange: "typechange";
|
|
5479
|
+
}>;
|
|
5480
|
+
isBinary: z.ZodDefault<z.ZodBoolean>;
|
|
5481
|
+
isImage: z.ZodDefault<z.ZodBoolean>;
|
|
5482
|
+
additions: z.ZodNumber;
|
|
5483
|
+
deletions: z.ZodNumber;
|
|
5484
|
+
hunks: z.ZodArray<z.ZodObject<{
|
|
5485
|
+
oldStart: z.ZodNumber;
|
|
5486
|
+
oldLines: z.ZodNumber;
|
|
5487
|
+
newStart: z.ZodNumber;
|
|
5488
|
+
newLines: z.ZodNumber;
|
|
5489
|
+
header: z.ZodString;
|
|
5490
|
+
lines: z.ZodArray<z.ZodObject<{
|
|
5491
|
+
type: z.ZodEnum<{
|
|
5492
|
+
context: "context";
|
|
5493
|
+
add: "add";
|
|
5494
|
+
del: "del";
|
|
5495
|
+
meta: "meta";
|
|
5496
|
+
}>;
|
|
5497
|
+
oldNo: z.ZodNullable<z.ZodNumber>;
|
|
5498
|
+
newNo: z.ZodNullable<z.ZodNumber>;
|
|
5499
|
+
text: z.ZodString;
|
|
5500
|
+
}, z.core.$strip>>;
|
|
5501
|
+
}, z.core.$strip>>;
|
|
5502
|
+
truncated: z.ZodDefault<z.ZodBoolean>;
|
|
5503
|
+
}, z.core.$strip>>;
|
|
5504
|
+
}, z.core.$strip>>;
|
|
5505
|
+
files: z.ZodArray<z.ZodObject<{
|
|
5506
|
+
path: z.ZodString;
|
|
5507
|
+
status: z.ZodEnum<{
|
|
5508
|
+
deleted: "deleted";
|
|
5509
|
+
modified: "modified";
|
|
5510
|
+
renamed: "renamed";
|
|
5511
|
+
added: "added";
|
|
5512
|
+
copied: "copied";
|
|
5513
|
+
untracked: "untracked";
|
|
5514
|
+
ignored: "ignored";
|
|
5515
|
+
conflicted: "conflicted";
|
|
5516
|
+
typechange: "typechange";
|
|
5517
|
+
}>;
|
|
5518
|
+
hash: z.ZodNullable<z.ZodString>;
|
|
5519
|
+
baseHash: z.ZodNullable<z.ZodString>;
|
|
5520
|
+
contentRef: z.ZodNullable<z.ZodString>;
|
|
5521
|
+
sizeBytes: z.ZodNumber;
|
|
5522
|
+
isBinary: z.ZodDefault<z.ZodBoolean>;
|
|
5523
|
+
tooLarge: z.ZodDefault<z.ZodBoolean>;
|
|
5524
|
+
deleted: z.ZodDefault<z.ZodBoolean>;
|
|
5525
|
+
}, z.core.$strip>>;
|
|
5526
|
+
stats: z.ZodObject<{
|
|
5527
|
+
repoCount: z.ZodNumber;
|
|
5528
|
+
fileCount: z.ZodNumber;
|
|
5529
|
+
additions: z.ZodNumber;
|
|
5530
|
+
deletions: z.ZodNumber;
|
|
5531
|
+
totalBytes: z.ZodNumber;
|
|
5532
|
+
tooLargeCount: z.ZodNumber;
|
|
5533
|
+
binaryCount: z.ZodNumber;
|
|
5534
|
+
treeEntryCount: z.ZodNumber;
|
|
5535
|
+
treeTruncated: z.ZodDefault<z.ZodBoolean>;
|
|
5536
|
+
durationMs: z.ZodNumber;
|
|
5537
|
+
fingerprint: z.ZodOptional<z.ZodString>;
|
|
5538
|
+
}, z.core.$strip>;
|
|
5539
|
+
}, z.core.$strip>;
|
|
5540
|
+
type WorkspaceCaptureManifest = z.infer<typeof WorkspaceCaptureManifest>;
|
|
5541
|
+
declare const WorkspaceRevisionCapturedPayload: z.ZodObject<{
|
|
5542
|
+
revision: z.ZodNumber;
|
|
5543
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
5544
|
+
capturedAt: z.ZodString;
|
|
5545
|
+
leaseEpoch: z.ZodNumber;
|
|
5546
|
+
stats: z.ZodObject<{
|
|
5547
|
+
repoCount: z.ZodNumber;
|
|
5548
|
+
fileCount: z.ZodNumber;
|
|
5549
|
+
additions: z.ZodNumber;
|
|
5550
|
+
deletions: z.ZodNumber;
|
|
5551
|
+
totalBytes: z.ZodNumber;
|
|
5552
|
+
tooLargeCount: z.ZodNumber;
|
|
5553
|
+
binaryCount: z.ZodNumber;
|
|
5554
|
+
treeEntryCount: z.ZodNumber;
|
|
5555
|
+
treeTruncated: z.ZodDefault<z.ZodBoolean>;
|
|
5556
|
+
durationMs: z.ZodNumber;
|
|
5557
|
+
fingerprint: z.ZodOptional<z.ZodString>;
|
|
5558
|
+
}, z.core.$strip>;
|
|
5559
|
+
}, z.core.$strip>;
|
|
5560
|
+
type WorkspaceRevisionCapturedPayload = z.infer<typeof WorkspaceRevisionCapturedPayload>;
|
|
5561
|
+
declare const WorkspaceRevisionDegradedPayload: z.ZodObject<{
|
|
5562
|
+
revision: z.ZodNumber;
|
|
5563
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
5564
|
+
capturedAt: z.ZodString;
|
|
5565
|
+
leaseEpoch: z.ZodNumber;
|
|
5566
|
+
reason: z.ZodEnum<{
|
|
5567
|
+
repository_discovery_command_failed: "repository_discovery_command_failed";
|
|
5568
|
+
repository_discovery_timed_out: "repository_discovery_timed_out";
|
|
5569
|
+
repository_discovery_result_limit_exceeded: "repository_discovery_result_limit_exceeded";
|
|
5570
|
+
}>;
|
|
5571
|
+
}, z.core.$strip>;
|
|
5572
|
+
type WorkspaceRevisionDegradedPayload = z.infer<typeof WorkspaceRevisionDegradedPayload>;
|
|
5573
|
+
declare const WorkspaceCaptureSignedUrl: z.ZodObject<{
|
|
5574
|
+
url: z.ZodString;
|
|
5575
|
+
expiresAt: z.ZodString;
|
|
5576
|
+
}, z.core.$strip>;
|
|
5577
|
+
type WorkspaceCaptureSignedUrl = z.infer<typeof WorkspaceCaptureSignedUrl>;
|
|
5578
|
+
declare const GetWorkspaceCaptureResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5579
|
+
available: z.ZodLiteral<false>;
|
|
5580
|
+
degradedReason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
5581
|
+
repository_discovery_command_failed: "repository_discovery_command_failed";
|
|
5582
|
+
repository_discovery_timed_out: "repository_discovery_timed_out";
|
|
5583
|
+
repository_discovery_result_limit_exceeded: "repository_discovery_result_limit_exceeded";
|
|
5584
|
+
}>>>;
|
|
5585
|
+
revision: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5586
|
+
capturedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5587
|
+
turnId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5588
|
+
leaseEpoch: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5589
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5590
|
+
available: z.ZodLiteral<true>;
|
|
5591
|
+
revision: z.ZodNumber;
|
|
5592
|
+
capturedAt: z.ZodString;
|
|
5593
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
5594
|
+
leaseEpoch: z.ZodNumber;
|
|
5595
|
+
sizeBytes: z.ZodNumber;
|
|
5596
|
+
stats: z.ZodObject<{
|
|
5597
|
+
repoCount: z.ZodNumber;
|
|
5598
|
+
fileCount: z.ZodNumber;
|
|
5599
|
+
additions: z.ZodNumber;
|
|
5600
|
+
deletions: z.ZodNumber;
|
|
5601
|
+
totalBytes: z.ZodNumber;
|
|
5602
|
+
tooLargeCount: z.ZodNumber;
|
|
5603
|
+
binaryCount: z.ZodNumber;
|
|
5604
|
+
treeEntryCount: z.ZodNumber;
|
|
5605
|
+
treeTruncated: z.ZodDefault<z.ZodBoolean>;
|
|
5606
|
+
durationMs: z.ZodNumber;
|
|
5607
|
+
fingerprint: z.ZodOptional<z.ZodString>;
|
|
5608
|
+
}, z.core.$strip>;
|
|
5609
|
+
manifest: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
5610
|
+
version: z.ZodLiteral<1>;
|
|
5611
|
+
revision: z.ZodNumber;
|
|
5612
|
+
capturedAt: z.ZodString;
|
|
5613
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
5614
|
+
leaseEpoch: z.ZodNumber;
|
|
5615
|
+
treeIndex: z.ZodType<FsTreeNode, unknown, z.core.$ZodTypeInternals<FsTreeNode, unknown>>;
|
|
5616
|
+
treeTruncated: z.ZodDefault<z.ZodBoolean>;
|
|
5617
|
+
repos: z.ZodArray<z.ZodObject<{
|
|
5618
|
+
root: z.ZodString;
|
|
5619
|
+
head: z.ZodNullable<z.ZodString>;
|
|
5620
|
+
detached: z.ZodDefault<z.ZodBoolean>;
|
|
5621
|
+
upstream: z.ZodNullable<z.ZodString>;
|
|
5622
|
+
ahead: z.ZodDefault<z.ZodNumber>;
|
|
5623
|
+
behind: z.ZodDefault<z.ZodNumber>;
|
|
5624
|
+
status: z.ZodArray<z.ZodObject<{
|
|
5625
|
+
path: z.ZodString;
|
|
5626
|
+
oldPath: z.ZodNullable<z.ZodString>;
|
|
5627
|
+
index: z.ZodNullable<z.ZodEnum<{
|
|
5628
|
+
deleted: "deleted";
|
|
5629
|
+
modified: "modified";
|
|
5630
|
+
renamed: "renamed";
|
|
5631
|
+
added: "added";
|
|
5632
|
+
copied: "copied";
|
|
5633
|
+
untracked: "untracked";
|
|
5634
|
+
ignored: "ignored";
|
|
5635
|
+
conflicted: "conflicted";
|
|
5636
|
+
typechange: "typechange";
|
|
5637
|
+
}>>;
|
|
5638
|
+
worktree: z.ZodNullable<z.ZodEnum<{
|
|
5639
|
+
deleted: "deleted";
|
|
5640
|
+
modified: "modified";
|
|
5641
|
+
renamed: "renamed";
|
|
5642
|
+
added: "added";
|
|
5643
|
+
copied: "copied";
|
|
5644
|
+
untracked: "untracked";
|
|
5645
|
+
ignored: "ignored";
|
|
5646
|
+
conflicted: "conflicted";
|
|
5647
|
+
typechange: "typechange";
|
|
5648
|
+
}>>;
|
|
5649
|
+
isConflicted: z.ZodDefault<z.ZodBoolean>;
|
|
5650
|
+
}, z.core.$strip>>;
|
|
5651
|
+
diff: z.ZodArray<z.ZodObject<{
|
|
5652
|
+
path: z.ZodString;
|
|
5653
|
+
oldPath: z.ZodNullable<z.ZodString>;
|
|
5654
|
+
status: z.ZodEnum<{
|
|
5655
|
+
deleted: "deleted";
|
|
5656
|
+
modified: "modified";
|
|
5657
|
+
renamed: "renamed";
|
|
5658
|
+
added: "added";
|
|
5659
|
+
copied: "copied";
|
|
5660
|
+
untracked: "untracked";
|
|
5661
|
+
ignored: "ignored";
|
|
5662
|
+
conflicted: "conflicted";
|
|
5663
|
+
typechange: "typechange";
|
|
5664
|
+
}>;
|
|
5665
|
+
isBinary: z.ZodDefault<z.ZodBoolean>;
|
|
5666
|
+
isImage: z.ZodDefault<z.ZodBoolean>;
|
|
5667
|
+
additions: z.ZodNumber;
|
|
5668
|
+
deletions: z.ZodNumber;
|
|
5669
|
+
hunks: z.ZodArray<z.ZodObject<{
|
|
5670
|
+
oldStart: z.ZodNumber;
|
|
5671
|
+
oldLines: z.ZodNumber;
|
|
5672
|
+
newStart: z.ZodNumber;
|
|
5673
|
+
newLines: z.ZodNumber;
|
|
5674
|
+
header: z.ZodString;
|
|
5675
|
+
lines: z.ZodArray<z.ZodObject<{
|
|
5676
|
+
type: z.ZodEnum<{
|
|
5677
|
+
context: "context";
|
|
5678
|
+
add: "add";
|
|
5679
|
+
del: "del";
|
|
5680
|
+
meta: "meta";
|
|
5681
|
+
}>;
|
|
5682
|
+
oldNo: z.ZodNullable<z.ZodNumber>;
|
|
5683
|
+
newNo: z.ZodNullable<z.ZodNumber>;
|
|
5684
|
+
text: z.ZodString;
|
|
5685
|
+
}, z.core.$strip>>;
|
|
5686
|
+
}, z.core.$strip>>;
|
|
5687
|
+
truncated: z.ZodDefault<z.ZodBoolean>;
|
|
5688
|
+
}, z.core.$strip>>;
|
|
5689
|
+
}, z.core.$strip>>;
|
|
5690
|
+
files: z.ZodArray<z.ZodObject<{
|
|
5691
|
+
path: z.ZodString;
|
|
5692
|
+
status: z.ZodEnum<{
|
|
5693
|
+
deleted: "deleted";
|
|
5694
|
+
modified: "modified";
|
|
5695
|
+
renamed: "renamed";
|
|
5696
|
+
added: "added";
|
|
5697
|
+
copied: "copied";
|
|
5698
|
+
untracked: "untracked";
|
|
5699
|
+
ignored: "ignored";
|
|
5700
|
+
conflicted: "conflicted";
|
|
5701
|
+
typechange: "typechange";
|
|
5702
|
+
}>;
|
|
5703
|
+
hash: z.ZodNullable<z.ZodString>;
|
|
5704
|
+
baseHash: z.ZodNullable<z.ZodString>;
|
|
5705
|
+
contentRef: z.ZodNullable<z.ZodString>;
|
|
5706
|
+
sizeBytes: z.ZodNumber;
|
|
5707
|
+
isBinary: z.ZodDefault<z.ZodBoolean>;
|
|
5708
|
+
tooLarge: z.ZodDefault<z.ZodBoolean>;
|
|
5709
|
+
deleted: z.ZodDefault<z.ZodBoolean>;
|
|
5710
|
+
}, z.core.$strip>>;
|
|
5711
|
+
stats: z.ZodObject<{
|
|
5712
|
+
repoCount: z.ZodNumber;
|
|
5713
|
+
fileCount: z.ZodNumber;
|
|
5714
|
+
additions: z.ZodNumber;
|
|
5715
|
+
deletions: z.ZodNumber;
|
|
5716
|
+
totalBytes: z.ZodNumber;
|
|
5717
|
+
tooLargeCount: z.ZodNumber;
|
|
5718
|
+
binaryCount: z.ZodNumber;
|
|
5719
|
+
treeEntryCount: z.ZodNumber;
|
|
5720
|
+
treeTruncated: z.ZodDefault<z.ZodBoolean>;
|
|
5721
|
+
durationMs: z.ZodNumber;
|
|
5722
|
+
fingerprint: z.ZodOptional<z.ZodString>;
|
|
5723
|
+
}, z.core.$strip>;
|
|
5724
|
+
}, z.core.$strip>>>;
|
|
5725
|
+
manifestUrl: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
5726
|
+
url: z.ZodString;
|
|
5727
|
+
expiresAt: z.ZodString;
|
|
5728
|
+
}, z.core.$strip>>>;
|
|
5729
|
+
}, z.core.$strip>], "available">;
|
|
5730
|
+
type GetWorkspaceCaptureResponse = z.infer<typeof GetWorkspaceCaptureResponse>;
|
|
5731
|
+
declare const GetWorkspaceCaptureFileResponse: z.ZodObject<{
|
|
5732
|
+
path: z.ZodString;
|
|
5733
|
+
revision: z.ZodNumber;
|
|
5734
|
+
status: z.ZodEnum<{
|
|
5735
|
+
deleted: "deleted";
|
|
5736
|
+
modified: "modified";
|
|
5737
|
+
renamed: "renamed";
|
|
5738
|
+
added: "added";
|
|
5739
|
+
copied: "copied";
|
|
5740
|
+
untracked: "untracked";
|
|
5741
|
+
ignored: "ignored";
|
|
5742
|
+
conflicted: "conflicted";
|
|
5743
|
+
typechange: "typechange";
|
|
5744
|
+
}>;
|
|
5745
|
+
hash: z.ZodNullable<z.ZodString>;
|
|
5746
|
+
baseHash: z.ZodNullable<z.ZodString>;
|
|
5747
|
+
sizeBytes: z.ZodNumber;
|
|
5748
|
+
isBinary: z.ZodBoolean;
|
|
5749
|
+
tooLarge: z.ZodBoolean;
|
|
5750
|
+
encoding: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
5751
|
+
utf8: "utf8";
|
|
5752
|
+
base64: "base64";
|
|
5753
|
+
}>>>;
|
|
5754
|
+
content: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
5755
|
+
contentUrl: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
5756
|
+
url: z.ZodString;
|
|
5757
|
+
expiresAt: z.ZodString;
|
|
5758
|
+
}, z.core.$strip>>>;
|
|
5759
|
+
}, z.core.$strip>;
|
|
5760
|
+
type GetWorkspaceCaptureFileResponse = z.infer<typeof GetWorkspaceCaptureFileResponse>;
|
|
3920
5761
|
declare const GitLogRequest: z.ZodObject<{
|
|
3921
5762
|
path: z.ZodDefault<z.ZodString>;
|
|
3922
5763
|
ref: z.ZodDefault<z.ZodString>;
|
|
@@ -4106,69 +5947,454 @@ declare const SessionStructuredCapabilities: z.ZodObject<{
|
|
|
4106
5947
|
available: z.ZodBoolean;
|
|
4107
5948
|
repos: z.ZodArray<z.ZodString>;
|
|
4108
5949
|
}, z.core.$strip>;
|
|
4109
|
-
}, z.core.$strip>;
|
|
4110
|
-
type SessionStructuredCapabilities = z.infer<typeof SessionStructuredCapabilities>;
|
|
4111
|
-
declare const SessionEvent: z.ZodObject<{
|
|
4112
|
-
id: z.ZodString;
|
|
4113
|
-
workspaceId: z.ZodString;
|
|
4114
|
-
sessionId: z.ZodString;
|
|
4115
|
-
sequence: z.ZodNumber;
|
|
4116
|
-
type: z.ZodEnum<{
|
|
4117
|
-
"session.created": "session.created";
|
|
4118
|
-
"session.status.changed": "session.status.changed";
|
|
4119
|
-
"session.requiresAction": "session.requiresAction";
|
|
4120
|
-
"session.context.
|
|
4121
|
-
"session.context.
|
|
4122
|
-
"
|
|
4123
|
-
"
|
|
4124
|
-
"user.
|
|
4125
|
-
"
|
|
4126
|
-
"
|
|
4127
|
-
"turn.
|
|
4128
|
-
"turn.
|
|
4129
|
-
"turn.
|
|
4130
|
-
"turn.
|
|
4131
|
-
"turn.
|
|
4132
|
-
"
|
|
4133
|
-
"
|
|
4134
|
-
"
|
|
4135
|
-
"agent.
|
|
4136
|
-
"agent.
|
|
4137
|
-
"
|
|
4138
|
-
"agent.
|
|
4139
|
-
"
|
|
4140
|
-
"
|
|
4141
|
-
"
|
|
4142
|
-
"
|
|
4143
|
-
"
|
|
4144
|
-
"
|
|
4145
|
-
"
|
|
4146
|
-
"
|
|
4147
|
-
"
|
|
4148
|
-
"
|
|
4149
|
-
"
|
|
4150
|
-
"
|
|
4151
|
-
"
|
|
4152
|
-
"
|
|
4153
|
-
"
|
|
4154
|
-
"
|
|
4155
|
-
"
|
|
4156
|
-
"
|
|
4157
|
-
"
|
|
4158
|
-
"
|
|
4159
|
-
"
|
|
4160
|
-
"
|
|
4161
|
-
"
|
|
4162
|
-
"session.
|
|
4163
|
-
"
|
|
5950
|
+
}, z.core.$strip>;
|
|
5951
|
+
type SessionStructuredCapabilities = z.infer<typeof SessionStructuredCapabilities>;
|
|
5952
|
+
declare const SessionEvent: z.ZodObject<{
|
|
5953
|
+
id: z.ZodString;
|
|
5954
|
+
workspaceId: z.ZodString;
|
|
5955
|
+
sessionId: z.ZodString;
|
|
5956
|
+
sequence: z.ZodNumber;
|
|
5957
|
+
type: z.ZodEnum<{
|
|
5958
|
+
"session.created": "session.created";
|
|
5959
|
+
"session.status.changed": "session.status.changed";
|
|
5960
|
+
"session.requiresAction": "session.requiresAction";
|
|
5961
|
+
"session.context.compaction.requested": "session.context.compaction.requested";
|
|
5962
|
+
"session.context.compacted": "session.context.compacted";
|
|
5963
|
+
"session.context.compaction.skipped": "session.context.compaction.skipped";
|
|
5964
|
+
"session.context.cleared": "session.context.cleared";
|
|
5965
|
+
"user.message": "user.message";
|
|
5966
|
+
"user.pause": "user.pause";
|
|
5967
|
+
"user.approvalDecision": "user.approvalDecision";
|
|
5968
|
+
"turn.queued": "turn.queued";
|
|
5969
|
+
"turn.started": "turn.started";
|
|
5970
|
+
"turn.completed": "turn.completed";
|
|
5971
|
+
"turn.failed": "turn.failed";
|
|
5972
|
+
"turn.cancelled": "turn.cancelled";
|
|
5973
|
+
"turn.superseded": "turn.superseded";
|
|
5974
|
+
"turn.recovery.requested": "turn.recovery.requested";
|
|
5975
|
+
"turn.capacity_waiting": "turn.capacity_waiting";
|
|
5976
|
+
"agent.message.delta": "agent.message.delta";
|
|
5977
|
+
"agent.message.completed": "agent.message.completed";
|
|
5978
|
+
"agent.reasoning.delta": "agent.reasoning.delta";
|
|
5979
|
+
"agent.toolCall.created": "agent.toolCall.created";
|
|
5980
|
+
"agent.toolCall.output": "agent.toolCall.output";
|
|
5981
|
+
"agent.model.usage": "agent.model.usage";
|
|
5982
|
+
"tool.auth_needed": "tool.auth_needed";
|
|
5983
|
+
"agent.updated": "agent.updated";
|
|
5984
|
+
"rig.setup.started": "rig.setup.started";
|
|
5985
|
+
"rig.setup.completed": "rig.setup.completed";
|
|
5986
|
+
"rig.setup.skipped": "rig.setup.skipped";
|
|
5987
|
+
"rig.setup.failed": "rig.setup.failed";
|
|
5988
|
+
"sandbox.operation.started": "sandbox.operation.started";
|
|
5989
|
+
"sandbox.operation.completed": "sandbox.operation.completed";
|
|
5990
|
+
"sandbox.operation.failed": "sandbox.operation.failed";
|
|
5991
|
+
"sandbox.command.output.delta": "sandbox.command.output.delta";
|
|
5992
|
+
"artifact.created": "artifact.created";
|
|
5993
|
+
"goal.set": "goal.set";
|
|
5994
|
+
"goal.updated": "goal.updated";
|
|
5995
|
+
"goal.completed": "goal.completed";
|
|
5996
|
+
"goal.paused": "goal.paused";
|
|
5997
|
+
"goal.resumed": "goal.resumed";
|
|
5998
|
+
"goal.cleared": "goal.cleared";
|
|
5999
|
+
"goal.continuation": "goal.continuation";
|
|
6000
|
+
"system.update.pending": "system.update.pending";
|
|
6001
|
+
"system.update.delivered": "system.update.delivered";
|
|
6002
|
+
"session.control.paused": "session.control.paused";
|
|
6003
|
+
"session.control.resumed": "session.control.resumed";
|
|
6004
|
+
"session.control.steer_requested": "session.control.steer_requested";
|
|
6005
|
+
"workspace.inference.paused": "workspace.inference.paused";
|
|
6006
|
+
"workspace.inference.resumed": "workspace.inference.resumed";
|
|
6007
|
+
"session.queue.prompt.cancelled": "session.queue.prompt.cancelled";
|
|
6008
|
+
"session.queue.history": "session.queue.history";
|
|
6009
|
+
"turn.event.rejected_late": "turn.event.rejected_late";
|
|
6010
|
+
"memory.saved": "memory.saved";
|
|
6011
|
+
"memory.corrected": "memory.corrected";
|
|
6012
|
+
"stream.url.rotated": "stream.url.rotated";
|
|
6013
|
+
"stream.opened": "stream.opened";
|
|
6014
|
+
"stream.closed": "stream.closed";
|
|
6015
|
+
"stream.revoked": "stream.revoked";
|
|
6016
|
+
"recording.started": "recording.started";
|
|
6017
|
+
"recording.available": "recording.available";
|
|
6018
|
+
"recording.failed": "recording.failed";
|
|
6019
|
+
"fs.changed": "fs.changed";
|
|
6020
|
+
"git.changed": "git.changed";
|
|
6021
|
+
"terminal.pty.started": "terminal.pty.started";
|
|
6022
|
+
"terminal.pty.output.delta": "terminal.pty.output.delta";
|
|
6023
|
+
"terminal.pty.exited": "terminal.pty.exited";
|
|
6024
|
+
"session.title_set": "session.title_set";
|
|
6025
|
+
"codex.account.switched": "codex.account.switched";
|
|
6026
|
+
"codex.credential.selected": "codex.credential.selected";
|
|
6027
|
+
"codex.capacity.waiting": "codex.capacity.waiting";
|
|
6028
|
+
"codex.capacity.resumed": "codex.capacity.resumed";
|
|
6029
|
+
"codex.capacity.superseded": "codex.capacity.superseded";
|
|
6030
|
+
"sandbox.box.created": "sandbox.box.created";
|
|
6031
|
+
"sandbox.box.lost": "sandbox.box.lost";
|
|
6032
|
+
"sandbox.box.terminated": "sandbox.box.terminated";
|
|
6033
|
+
"sandbox.box.snapshot": "sandbox.box.snapshot";
|
|
6034
|
+
"sandbox.env.drift": "sandbox.env.drift";
|
|
6035
|
+
"session.route.reconciled": "session.route.reconciled";
|
|
6036
|
+
"workspace.revision.captured": "workspace.revision.captured";
|
|
6037
|
+
"workspace.revision.degraded": "workspace.revision.degraded";
|
|
6038
|
+
"machine.op.failed": "machine.op.failed";
|
|
6039
|
+
"machine.op.recovered": "machine.op.recovered";
|
|
6040
|
+
"machine.link.lost": "machine.link.lost";
|
|
6041
|
+
"machine.link.restored": "machine.link.restored";
|
|
6042
|
+
"machine.runner.restarted": "machine.runner.restarted";
|
|
6043
|
+
}>;
|
|
6044
|
+
payload: z.ZodDefault<z.ZodUnknown>;
|
|
6045
|
+
occurredAt: z.ZodString;
|
|
6046
|
+
clientEventId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6047
|
+
turnId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6048
|
+
turnGeneration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6049
|
+
turnAttemptId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6050
|
+
turnAssociation: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
6051
|
+
current: "current";
|
|
6052
|
+
late_rejected: "late_rejected";
|
|
6053
|
+
duplicate: "duplicate";
|
|
6054
|
+
}>>>;
|
|
6055
|
+
duplicateOfEventId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6056
|
+
duplicateReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6057
|
+
}, z.core.$strip>;
|
|
6058
|
+
type SessionEvent = z.infer<typeof SessionEvent>;
|
|
6059
|
+
declare const SessionQueueMutationResponse: z.ZodObject<{
|
|
6060
|
+
snapshot: z.ZodObject<{
|
|
6061
|
+
version: z.ZodNumber;
|
|
6062
|
+
controlState: z.ZodEnum<{
|
|
6063
|
+
paused: "paused";
|
|
6064
|
+
active: "active";
|
|
6065
|
+
}>;
|
|
6066
|
+
controlGeneration: z.ZodNumber;
|
|
6067
|
+
workspaceInferenceState: z.ZodEnum<{
|
|
6068
|
+
paused: "paused";
|
|
6069
|
+
active: "active";
|
|
6070
|
+
}>;
|
|
6071
|
+
workspaceInferenceGeneration: z.ZodNumber;
|
|
6072
|
+
workspaceRunExceptionGeneration: z.ZodNullable<z.ZodNumber>;
|
|
6073
|
+
items: z.ZodArray<z.ZodObject<{
|
|
6074
|
+
id: z.ZodString;
|
|
6075
|
+
workspaceId: z.ZodString;
|
|
6076
|
+
sessionId: z.ZodString;
|
|
6077
|
+
triggerEventId: z.ZodString;
|
|
6078
|
+
temporalWorkflowId: z.ZodString;
|
|
6079
|
+
status: z.ZodEnum<{
|
|
6080
|
+
queued: "queued";
|
|
6081
|
+
running: "running";
|
|
6082
|
+
requires_action: "requires_action";
|
|
6083
|
+
recovering: "recovering";
|
|
6084
|
+
waiting_capacity: "waiting_capacity";
|
|
6085
|
+
failed: "failed";
|
|
6086
|
+
cancelled: "cancelled";
|
|
6087
|
+
completed: "completed";
|
|
6088
|
+
superseded: "superseded";
|
|
6089
|
+
}>;
|
|
6090
|
+
source: z.ZodEnum<{
|
|
6091
|
+
user: "user";
|
|
6092
|
+
scheduled_task: "scheduled_task";
|
|
6093
|
+
api: "api";
|
|
6094
|
+
goal: "goal";
|
|
6095
|
+
system: "system";
|
|
6096
|
+
compaction: "compaction";
|
|
6097
|
+
}>;
|
|
6098
|
+
position: z.ZodNumber;
|
|
6099
|
+
prompt: z.ZodString;
|
|
6100
|
+
resources: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6101
|
+
kind: z.ZodLiteral<"repository">;
|
|
6102
|
+
uri: z.ZodString;
|
|
6103
|
+
ref: z.ZodString;
|
|
6104
|
+
mountPath: z.ZodOptional<z.ZodString>;
|
|
6105
|
+
subpath: z.ZodOptional<z.ZodString>;
|
|
6106
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
6107
|
+
github: "github";
|
|
6108
|
+
gitlab: "gitlab";
|
|
6109
|
+
azure_devops: "azure_devops";
|
|
6110
|
+
}>>;
|
|
6111
|
+
repositoryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
6112
|
+
installationId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
6113
|
+
projectId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
6114
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
6115
|
+
githubInstallationId: z.ZodOptional<z.ZodNumber>;
|
|
6116
|
+
githubRepositoryId: z.ZodOptional<z.ZodNumber>;
|
|
6117
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6118
|
+
kind: z.ZodLiteral<"file">;
|
|
6119
|
+
fileId: z.ZodString;
|
|
6120
|
+
mountPath: z.ZodOptional<z.ZodString>;
|
|
6121
|
+
}, z.core.$strip>], "kind">>;
|
|
6122
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
6123
|
+
kind: z.ZodLiteral<"mcp">;
|
|
6124
|
+
id: z.ZodString;
|
|
6125
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
6126
|
+
}, z.core.$strip>>;
|
|
6127
|
+
model: z.ZodString;
|
|
6128
|
+
reasoningEffort: z.ZodEnum<{
|
|
6129
|
+
none: "none";
|
|
6130
|
+
minimal: "minimal";
|
|
6131
|
+
low: "low";
|
|
6132
|
+
medium: "medium";
|
|
6133
|
+
high: "high";
|
|
6134
|
+
xhigh: "xhigh";
|
|
6135
|
+
}>;
|
|
6136
|
+
sandboxBackend: z.ZodEnum<{
|
|
6137
|
+
docker: "docker";
|
|
6138
|
+
modal: "modal";
|
|
6139
|
+
local: "local";
|
|
6140
|
+
none: "none";
|
|
6141
|
+
daytona: "daytona";
|
|
6142
|
+
runloop: "runloop";
|
|
6143
|
+
e2b: "e2b";
|
|
6144
|
+
blaxel: "blaxel";
|
|
6145
|
+
cloudflare: "cloudflare";
|
|
6146
|
+
vercel: "vercel";
|
|
6147
|
+
selfhosted: "selfhosted";
|
|
6148
|
+
}>;
|
|
6149
|
+
sandboxOs: z.ZodNullable<z.ZodEnum<{
|
|
6150
|
+
linux: "linux";
|
|
6151
|
+
macos: "macos";
|
|
6152
|
+
windows: "windows";
|
|
6153
|
+
}>>;
|
|
6154
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6155
|
+
version: z.ZodNumber;
|
|
6156
|
+
executionGeneration: z.ZodNumber;
|
|
6157
|
+
activeAttemptId: z.ZodNullable<z.ZodString>;
|
|
6158
|
+
lineage: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6159
|
+
cancelledBy: z.ZodNullable<z.ZodString>;
|
|
6160
|
+
cancelReason: z.ZodNullable<z.ZodString>;
|
|
6161
|
+
startedAt: z.ZodNullable<z.ZodString>;
|
|
6162
|
+
finishedAt: z.ZodNullable<z.ZodString>;
|
|
6163
|
+
createdAt: z.ZodString;
|
|
6164
|
+
updatedAt: z.ZodString;
|
|
6165
|
+
}, z.core.$strip>>;
|
|
6166
|
+
}, z.core.$strip>;
|
|
6167
|
+
events: z.ZodArray<z.ZodObject<{
|
|
6168
|
+
id: z.ZodString;
|
|
6169
|
+
workspaceId: z.ZodString;
|
|
6170
|
+
sessionId: z.ZodString;
|
|
6171
|
+
sequence: z.ZodNumber;
|
|
6172
|
+
type: z.ZodEnum<{
|
|
6173
|
+
"session.created": "session.created";
|
|
6174
|
+
"session.status.changed": "session.status.changed";
|
|
6175
|
+
"session.requiresAction": "session.requiresAction";
|
|
6176
|
+
"session.context.compaction.requested": "session.context.compaction.requested";
|
|
6177
|
+
"session.context.compacted": "session.context.compacted";
|
|
6178
|
+
"session.context.compaction.skipped": "session.context.compaction.skipped";
|
|
6179
|
+
"session.context.cleared": "session.context.cleared";
|
|
6180
|
+
"user.message": "user.message";
|
|
6181
|
+
"user.pause": "user.pause";
|
|
6182
|
+
"user.approvalDecision": "user.approvalDecision";
|
|
6183
|
+
"turn.queued": "turn.queued";
|
|
6184
|
+
"turn.started": "turn.started";
|
|
6185
|
+
"turn.completed": "turn.completed";
|
|
6186
|
+
"turn.failed": "turn.failed";
|
|
6187
|
+
"turn.cancelled": "turn.cancelled";
|
|
6188
|
+
"turn.superseded": "turn.superseded";
|
|
6189
|
+
"turn.recovery.requested": "turn.recovery.requested";
|
|
6190
|
+
"turn.capacity_waiting": "turn.capacity_waiting";
|
|
6191
|
+
"agent.message.delta": "agent.message.delta";
|
|
6192
|
+
"agent.message.completed": "agent.message.completed";
|
|
6193
|
+
"agent.reasoning.delta": "agent.reasoning.delta";
|
|
6194
|
+
"agent.toolCall.created": "agent.toolCall.created";
|
|
6195
|
+
"agent.toolCall.output": "agent.toolCall.output";
|
|
6196
|
+
"agent.model.usage": "agent.model.usage";
|
|
6197
|
+
"tool.auth_needed": "tool.auth_needed";
|
|
6198
|
+
"agent.updated": "agent.updated";
|
|
6199
|
+
"rig.setup.started": "rig.setup.started";
|
|
6200
|
+
"rig.setup.completed": "rig.setup.completed";
|
|
6201
|
+
"rig.setup.skipped": "rig.setup.skipped";
|
|
6202
|
+
"rig.setup.failed": "rig.setup.failed";
|
|
6203
|
+
"sandbox.operation.started": "sandbox.operation.started";
|
|
6204
|
+
"sandbox.operation.completed": "sandbox.operation.completed";
|
|
6205
|
+
"sandbox.operation.failed": "sandbox.operation.failed";
|
|
6206
|
+
"sandbox.command.output.delta": "sandbox.command.output.delta";
|
|
6207
|
+
"artifact.created": "artifact.created";
|
|
6208
|
+
"goal.set": "goal.set";
|
|
6209
|
+
"goal.updated": "goal.updated";
|
|
6210
|
+
"goal.completed": "goal.completed";
|
|
6211
|
+
"goal.paused": "goal.paused";
|
|
6212
|
+
"goal.resumed": "goal.resumed";
|
|
6213
|
+
"goal.cleared": "goal.cleared";
|
|
6214
|
+
"goal.continuation": "goal.continuation";
|
|
6215
|
+
"system.update.pending": "system.update.pending";
|
|
6216
|
+
"system.update.delivered": "system.update.delivered";
|
|
6217
|
+
"session.control.paused": "session.control.paused";
|
|
6218
|
+
"session.control.resumed": "session.control.resumed";
|
|
6219
|
+
"session.control.steer_requested": "session.control.steer_requested";
|
|
6220
|
+
"workspace.inference.paused": "workspace.inference.paused";
|
|
6221
|
+
"workspace.inference.resumed": "workspace.inference.resumed";
|
|
6222
|
+
"session.queue.prompt.cancelled": "session.queue.prompt.cancelled";
|
|
6223
|
+
"session.queue.history": "session.queue.history";
|
|
6224
|
+
"turn.event.rejected_late": "turn.event.rejected_late";
|
|
6225
|
+
"memory.saved": "memory.saved";
|
|
6226
|
+
"memory.corrected": "memory.corrected";
|
|
6227
|
+
"stream.url.rotated": "stream.url.rotated";
|
|
6228
|
+
"stream.opened": "stream.opened";
|
|
6229
|
+
"stream.closed": "stream.closed";
|
|
6230
|
+
"stream.revoked": "stream.revoked";
|
|
6231
|
+
"recording.started": "recording.started";
|
|
6232
|
+
"recording.available": "recording.available";
|
|
6233
|
+
"recording.failed": "recording.failed";
|
|
6234
|
+
"fs.changed": "fs.changed";
|
|
6235
|
+
"git.changed": "git.changed";
|
|
6236
|
+
"terminal.pty.started": "terminal.pty.started";
|
|
6237
|
+
"terminal.pty.output.delta": "terminal.pty.output.delta";
|
|
6238
|
+
"terminal.pty.exited": "terminal.pty.exited";
|
|
6239
|
+
"session.title_set": "session.title_set";
|
|
6240
|
+
"codex.account.switched": "codex.account.switched";
|
|
6241
|
+
"codex.credential.selected": "codex.credential.selected";
|
|
6242
|
+
"codex.capacity.waiting": "codex.capacity.waiting";
|
|
6243
|
+
"codex.capacity.resumed": "codex.capacity.resumed";
|
|
6244
|
+
"codex.capacity.superseded": "codex.capacity.superseded";
|
|
6245
|
+
"sandbox.box.created": "sandbox.box.created";
|
|
6246
|
+
"sandbox.box.lost": "sandbox.box.lost";
|
|
6247
|
+
"sandbox.box.terminated": "sandbox.box.terminated";
|
|
6248
|
+
"sandbox.box.snapshot": "sandbox.box.snapshot";
|
|
6249
|
+
"sandbox.env.drift": "sandbox.env.drift";
|
|
6250
|
+
"session.route.reconciled": "session.route.reconciled";
|
|
6251
|
+
"workspace.revision.captured": "workspace.revision.captured";
|
|
6252
|
+
"workspace.revision.degraded": "workspace.revision.degraded";
|
|
6253
|
+
"machine.op.failed": "machine.op.failed";
|
|
6254
|
+
"machine.op.recovered": "machine.op.recovered";
|
|
6255
|
+
"machine.link.lost": "machine.link.lost";
|
|
6256
|
+
"machine.link.restored": "machine.link.restored";
|
|
6257
|
+
"machine.runner.restarted": "machine.runner.restarted";
|
|
6258
|
+
}>;
|
|
6259
|
+
payload: z.ZodDefault<z.ZodUnknown>;
|
|
6260
|
+
occurredAt: z.ZodString;
|
|
6261
|
+
clientEventId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6262
|
+
turnId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6263
|
+
turnGeneration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6264
|
+
turnAttemptId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6265
|
+
turnAssociation: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
6266
|
+
current: "current";
|
|
6267
|
+
late_rejected: "late_rejected";
|
|
6268
|
+
duplicate: "duplicate";
|
|
6269
|
+
}>>>;
|
|
6270
|
+
duplicateOfEventId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6271
|
+
duplicateReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6272
|
+
}, z.core.$strip>>;
|
|
6273
|
+
shouldWake: z.ZodBoolean;
|
|
6274
|
+
}, z.core.$strip>;
|
|
6275
|
+
type SessionQueueMutationResponse = z.infer<typeof SessionQueueMutationResponse>;
|
|
6276
|
+
declare const SessionControlResponse: z.ZodObject<{
|
|
6277
|
+
operationId: z.ZodString;
|
|
6278
|
+
event: z.ZodObject<{
|
|
6279
|
+
id: z.ZodString;
|
|
6280
|
+
workspaceId: z.ZodString;
|
|
6281
|
+
sessionId: z.ZodString;
|
|
6282
|
+
sequence: z.ZodNumber;
|
|
6283
|
+
type: z.ZodEnum<{
|
|
6284
|
+
"session.created": "session.created";
|
|
6285
|
+
"session.status.changed": "session.status.changed";
|
|
6286
|
+
"session.requiresAction": "session.requiresAction";
|
|
6287
|
+
"session.context.compaction.requested": "session.context.compaction.requested";
|
|
6288
|
+
"session.context.compacted": "session.context.compacted";
|
|
6289
|
+
"session.context.compaction.skipped": "session.context.compaction.skipped";
|
|
6290
|
+
"session.context.cleared": "session.context.cleared";
|
|
6291
|
+
"user.message": "user.message";
|
|
6292
|
+
"user.pause": "user.pause";
|
|
6293
|
+
"user.approvalDecision": "user.approvalDecision";
|
|
6294
|
+
"turn.queued": "turn.queued";
|
|
6295
|
+
"turn.started": "turn.started";
|
|
6296
|
+
"turn.completed": "turn.completed";
|
|
6297
|
+
"turn.failed": "turn.failed";
|
|
6298
|
+
"turn.cancelled": "turn.cancelled";
|
|
6299
|
+
"turn.superseded": "turn.superseded";
|
|
6300
|
+
"turn.recovery.requested": "turn.recovery.requested";
|
|
6301
|
+
"turn.capacity_waiting": "turn.capacity_waiting";
|
|
6302
|
+
"agent.message.delta": "agent.message.delta";
|
|
6303
|
+
"agent.message.completed": "agent.message.completed";
|
|
6304
|
+
"agent.reasoning.delta": "agent.reasoning.delta";
|
|
6305
|
+
"agent.toolCall.created": "agent.toolCall.created";
|
|
6306
|
+
"agent.toolCall.output": "agent.toolCall.output";
|
|
6307
|
+
"agent.model.usage": "agent.model.usage";
|
|
6308
|
+
"tool.auth_needed": "tool.auth_needed";
|
|
6309
|
+
"agent.updated": "agent.updated";
|
|
6310
|
+
"rig.setup.started": "rig.setup.started";
|
|
6311
|
+
"rig.setup.completed": "rig.setup.completed";
|
|
6312
|
+
"rig.setup.skipped": "rig.setup.skipped";
|
|
6313
|
+
"rig.setup.failed": "rig.setup.failed";
|
|
6314
|
+
"sandbox.operation.started": "sandbox.operation.started";
|
|
6315
|
+
"sandbox.operation.completed": "sandbox.operation.completed";
|
|
6316
|
+
"sandbox.operation.failed": "sandbox.operation.failed";
|
|
6317
|
+
"sandbox.command.output.delta": "sandbox.command.output.delta";
|
|
6318
|
+
"artifact.created": "artifact.created";
|
|
6319
|
+
"goal.set": "goal.set";
|
|
6320
|
+
"goal.updated": "goal.updated";
|
|
6321
|
+
"goal.completed": "goal.completed";
|
|
6322
|
+
"goal.paused": "goal.paused";
|
|
6323
|
+
"goal.resumed": "goal.resumed";
|
|
6324
|
+
"goal.cleared": "goal.cleared";
|
|
6325
|
+
"goal.continuation": "goal.continuation";
|
|
6326
|
+
"system.update.pending": "system.update.pending";
|
|
6327
|
+
"system.update.delivered": "system.update.delivered";
|
|
6328
|
+
"session.control.paused": "session.control.paused";
|
|
6329
|
+
"session.control.resumed": "session.control.resumed";
|
|
6330
|
+
"session.control.steer_requested": "session.control.steer_requested";
|
|
6331
|
+
"workspace.inference.paused": "workspace.inference.paused";
|
|
6332
|
+
"workspace.inference.resumed": "workspace.inference.resumed";
|
|
6333
|
+
"session.queue.prompt.cancelled": "session.queue.prompt.cancelled";
|
|
6334
|
+
"session.queue.history": "session.queue.history";
|
|
6335
|
+
"turn.event.rejected_late": "turn.event.rejected_late";
|
|
6336
|
+
"memory.saved": "memory.saved";
|
|
6337
|
+
"memory.corrected": "memory.corrected";
|
|
6338
|
+
"stream.url.rotated": "stream.url.rotated";
|
|
6339
|
+
"stream.opened": "stream.opened";
|
|
6340
|
+
"stream.closed": "stream.closed";
|
|
6341
|
+
"stream.revoked": "stream.revoked";
|
|
6342
|
+
"recording.started": "recording.started";
|
|
6343
|
+
"recording.available": "recording.available";
|
|
6344
|
+
"recording.failed": "recording.failed";
|
|
6345
|
+
"fs.changed": "fs.changed";
|
|
6346
|
+
"git.changed": "git.changed";
|
|
6347
|
+
"terminal.pty.started": "terminal.pty.started";
|
|
6348
|
+
"terminal.pty.output.delta": "terminal.pty.output.delta";
|
|
6349
|
+
"terminal.pty.exited": "terminal.pty.exited";
|
|
6350
|
+
"session.title_set": "session.title_set";
|
|
6351
|
+
"codex.account.switched": "codex.account.switched";
|
|
6352
|
+
"codex.credential.selected": "codex.credential.selected";
|
|
6353
|
+
"codex.capacity.waiting": "codex.capacity.waiting";
|
|
6354
|
+
"codex.capacity.resumed": "codex.capacity.resumed";
|
|
6355
|
+
"codex.capacity.superseded": "codex.capacity.superseded";
|
|
6356
|
+
"sandbox.box.created": "sandbox.box.created";
|
|
6357
|
+
"sandbox.box.lost": "sandbox.box.lost";
|
|
6358
|
+
"sandbox.box.terminated": "sandbox.box.terminated";
|
|
6359
|
+
"sandbox.box.snapshot": "sandbox.box.snapshot";
|
|
6360
|
+
"sandbox.env.drift": "sandbox.env.drift";
|
|
6361
|
+
"session.route.reconciled": "session.route.reconciled";
|
|
6362
|
+
"workspace.revision.captured": "workspace.revision.captured";
|
|
6363
|
+
"workspace.revision.degraded": "workspace.revision.degraded";
|
|
6364
|
+
"machine.op.failed": "machine.op.failed";
|
|
6365
|
+
"machine.op.recovered": "machine.op.recovered";
|
|
6366
|
+
"machine.link.lost": "machine.link.lost";
|
|
6367
|
+
"machine.link.restored": "machine.link.restored";
|
|
6368
|
+
"machine.runner.restarted": "machine.runner.restarted";
|
|
6369
|
+
}>;
|
|
6370
|
+
payload: z.ZodDefault<z.ZodUnknown>;
|
|
6371
|
+
occurredAt: z.ZodString;
|
|
6372
|
+
clientEventId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6373
|
+
turnId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6374
|
+
turnGeneration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6375
|
+
turnAttemptId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6376
|
+
turnAssociation: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
6377
|
+
current: "current";
|
|
6378
|
+
late_rejected: "late_rejected";
|
|
6379
|
+
duplicate: "duplicate";
|
|
6380
|
+
}>>>;
|
|
6381
|
+
duplicateOfEventId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6382
|
+
duplicateReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6383
|
+
}, z.core.$strip>;
|
|
6384
|
+
controlState: z.ZodEnum<{
|
|
6385
|
+
paused: "paused";
|
|
6386
|
+
active: "active";
|
|
4164
6387
|
}>;
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
|
|
6388
|
+
controlGeneration: z.ZodNumber;
|
|
6389
|
+
expectedActiveTurnId: z.ZodNullable<z.ZodString>;
|
|
6390
|
+
expectedExecutionGeneration: z.ZodNullable<z.ZodNumber>;
|
|
6391
|
+
expectedAttemptId: z.ZodNullable<z.ZodString>;
|
|
6392
|
+
deliveryEventId: z.ZodNullable<z.ZodString>;
|
|
6393
|
+
shouldSignalControl: z.ZodBoolean;
|
|
6394
|
+
shouldWake: z.ZodBoolean;
|
|
6395
|
+
}, z.core.$strip>;
|
|
6396
|
+
type SessionControlResponse = z.infer<typeof SessionControlResponse>;
|
|
6397
|
+
declare const CreateSessionRequest: z.ZodPreprocess<z.ZodObject<{
|
|
4172
6398
|
initialMessage: z.ZodString;
|
|
4173
6399
|
instructions: z.ZodOptional<z.ZodString>;
|
|
4174
6400
|
resources: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -4177,6 +6403,15 @@ declare const CreateSessionRequest: z.ZodObject<{
|
|
|
4177
6403
|
ref: z.ZodString;
|
|
4178
6404
|
mountPath: z.ZodOptional<z.ZodString>;
|
|
4179
6405
|
subpath: z.ZodOptional<z.ZodString>;
|
|
6406
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
6407
|
+
github: "github";
|
|
6408
|
+
gitlab: "gitlab";
|
|
6409
|
+
azure_devops: "azure_devops";
|
|
6410
|
+
}>>;
|
|
6411
|
+
repositoryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
6412
|
+
installationId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
6413
|
+
projectId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
6414
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
4180
6415
|
githubInstallationId: z.ZodOptional<z.ZodNumber>;
|
|
4181
6416
|
githubRepositoryId: z.ZodOptional<z.ZodNumber>;
|
|
4182
6417
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -4214,7 +6449,9 @@ declare const CreateSessionRequest: z.ZodObject<{
|
|
|
4214
6449
|
}>>;
|
|
4215
6450
|
targetSandboxId: z.ZodOptional<z.ZodString>;
|
|
4216
6451
|
workingDir: z.ZodOptional<z.ZodString>;
|
|
6452
|
+
variableSetId: z.ZodOptional<z.ZodString>;
|
|
4217
6453
|
environmentId: z.ZodOptional<z.ZodString>;
|
|
6454
|
+
rigId: z.ZodOptional<z.ZodString>;
|
|
4218
6455
|
goal: z.ZodOptional<z.ZodObject<{
|
|
4219
6456
|
text: z.ZodString;
|
|
4220
6457
|
successCriteria: z.ZodOptional<z.ZodString>;
|
|
@@ -4252,11 +6489,15 @@ declare const CreateSessionRequest: z.ZodObject<{
|
|
|
4252
6489
|
"connections:write": "connections:write";
|
|
4253
6490
|
"environments:manage": "environments:manage";
|
|
4254
6491
|
"environments:use": "environments:use";
|
|
6492
|
+
"variable-sets:manage": "variable-sets:manage";
|
|
6493
|
+
"variable-sets:use": "variable-sets:use";
|
|
4255
6494
|
"mcp_servers:attach": "mcp_servers:attach";
|
|
4256
6495
|
"toolspace:call": "toolspace:call";
|
|
4257
6496
|
"goals:manage": "goals:manage";
|
|
4258
6497
|
"enrollments:read": "enrollments:read";
|
|
4259
6498
|
"enrollments:manage": "enrollments:manage";
|
|
6499
|
+
"rigs:use": "rigs:use";
|
|
6500
|
+
"rigs:manage": "rigs:manage";
|
|
4260
6501
|
}>>>;
|
|
4261
6502
|
mcpServers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4262
6503
|
id: z.ZodString;
|
|
@@ -4271,7 +6512,7 @@ declare const CreateSessionRequest: z.ZodObject<{
|
|
|
4271
6512
|
sandbox: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"shared">, z.ZodLiteral<"new">, z.ZodObject<{
|
|
4272
6513
|
groupId: z.ZodString;
|
|
4273
6514
|
}, z.core.$strip>]>>;
|
|
4274
|
-
}, z.core.$strip
|
|
6515
|
+
}, z.core.$strip>>;
|
|
4275
6516
|
type CreateSessionRequest = z.infer<typeof CreateSessionRequest>;
|
|
4276
6517
|
declare const ClientSessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4277
6518
|
type: z.ZodLiteral<"user.message">;
|
|
@@ -4284,6 +6525,15 @@ declare const ClientSessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4284
6525
|
ref: z.ZodString;
|
|
4285
6526
|
mountPath: z.ZodOptional<z.ZodString>;
|
|
4286
6527
|
subpath: z.ZodOptional<z.ZodString>;
|
|
6528
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
6529
|
+
github: "github";
|
|
6530
|
+
gitlab: "gitlab";
|
|
6531
|
+
azure_devops: "azure_devops";
|
|
6532
|
+
}>>;
|
|
6533
|
+
repositoryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
6534
|
+
installationId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
6535
|
+
projectId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
6536
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
4287
6537
|
githubInstallationId: z.ZodOptional<z.ZodNumber>;
|
|
4288
6538
|
githubRepositoryId: z.ZodOptional<z.ZodNumber>;
|
|
4289
6539
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -4310,12 +6560,6 @@ declare const ClientSessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4310
6560
|
headers: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
4311
6561
|
}, z.core.$strip>>>;
|
|
4312
6562
|
}, z.core.$strip>;
|
|
4313
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4314
|
-
type: z.ZodLiteral<"user.interrupt">;
|
|
4315
|
-
clientEventId: z.ZodOptional<z.ZodString>;
|
|
4316
|
-
payload: z.ZodDefault<z.ZodObject<{
|
|
4317
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
4318
|
-
}, z.core.$strip>>;
|
|
4319
6563
|
}, z.core.$strip>, z.ZodObject<{
|
|
4320
6564
|
type: z.ZodLiteral<"user.approvalDecision">;
|
|
4321
6565
|
clientEventId: z.ZodOptional<z.ZodString>;
|
|
@@ -4329,6 +6573,255 @@ declare const ClientSessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4329
6573
|
}, z.core.$strip>;
|
|
4330
6574
|
}, z.core.$strip>], "type">;
|
|
4331
6575
|
type ClientSessionEvent = z.infer<typeof ClientSessionEvent>;
|
|
6576
|
+
declare const SteerSessionMessageRequest: z.ZodObject<{
|
|
6577
|
+
text: z.ZodString;
|
|
6578
|
+
resources: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6579
|
+
kind: z.ZodLiteral<"repository">;
|
|
6580
|
+
uri: z.ZodString;
|
|
6581
|
+
ref: z.ZodString;
|
|
6582
|
+
mountPath: z.ZodOptional<z.ZodString>;
|
|
6583
|
+
subpath: z.ZodOptional<z.ZodString>;
|
|
6584
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
6585
|
+
github: "github";
|
|
6586
|
+
gitlab: "gitlab";
|
|
6587
|
+
azure_devops: "azure_devops";
|
|
6588
|
+
}>>;
|
|
6589
|
+
repositoryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
6590
|
+
installationId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
6591
|
+
projectId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
6592
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
6593
|
+
githubInstallationId: z.ZodOptional<z.ZodNumber>;
|
|
6594
|
+
githubRepositoryId: z.ZodOptional<z.ZodNumber>;
|
|
6595
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6596
|
+
kind: z.ZodLiteral<"file">;
|
|
6597
|
+
fileId: z.ZodString;
|
|
6598
|
+
mountPath: z.ZodOptional<z.ZodString>;
|
|
6599
|
+
}, z.core.$strip>], "kind">>>;
|
|
6600
|
+
tools: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6601
|
+
kind: z.ZodLiteral<"mcp">;
|
|
6602
|
+
id: z.ZodString;
|
|
6603
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
6604
|
+
}, z.core.$strip>>>;
|
|
6605
|
+
model: z.ZodOptional<z.ZodString>;
|
|
6606
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
6607
|
+
none: "none";
|
|
6608
|
+
minimal: "minimal";
|
|
6609
|
+
low: "low";
|
|
6610
|
+
medium: "medium";
|
|
6611
|
+
high: "high";
|
|
6612
|
+
xhigh: "xhigh";
|
|
6613
|
+
}>>;
|
|
6614
|
+
clientEventId: z.ZodOptional<z.ZodString>;
|
|
6615
|
+
expectedControlGeneration: z.ZodOptional<z.ZodNumber>;
|
|
6616
|
+
expectedWorkspaceInferenceGeneration: z.ZodOptional<z.ZodNumber>;
|
|
6617
|
+
mcpCredentialUpdates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6618
|
+
id: z.ZodString;
|
|
6619
|
+
headers: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
6620
|
+
}, z.core.$strip>>>;
|
|
6621
|
+
}, z.core.$strip>;
|
|
6622
|
+
type SteerSessionMessageRequest = z.infer<typeof SteerSessionMessageRequest>;
|
|
6623
|
+
declare const SteerSessionMessageResponse: z.ZodObject<{
|
|
6624
|
+
accepted: z.ZodObject<{
|
|
6625
|
+
id: z.ZodString;
|
|
6626
|
+
workspaceId: z.ZodString;
|
|
6627
|
+
sessionId: z.ZodString;
|
|
6628
|
+
sequence: z.ZodNumber;
|
|
6629
|
+
type: z.ZodEnum<{
|
|
6630
|
+
"session.created": "session.created";
|
|
6631
|
+
"session.status.changed": "session.status.changed";
|
|
6632
|
+
"session.requiresAction": "session.requiresAction";
|
|
6633
|
+
"session.context.compaction.requested": "session.context.compaction.requested";
|
|
6634
|
+
"session.context.compacted": "session.context.compacted";
|
|
6635
|
+
"session.context.compaction.skipped": "session.context.compaction.skipped";
|
|
6636
|
+
"session.context.cleared": "session.context.cleared";
|
|
6637
|
+
"user.message": "user.message";
|
|
6638
|
+
"user.pause": "user.pause";
|
|
6639
|
+
"user.approvalDecision": "user.approvalDecision";
|
|
6640
|
+
"turn.queued": "turn.queued";
|
|
6641
|
+
"turn.started": "turn.started";
|
|
6642
|
+
"turn.completed": "turn.completed";
|
|
6643
|
+
"turn.failed": "turn.failed";
|
|
6644
|
+
"turn.cancelled": "turn.cancelled";
|
|
6645
|
+
"turn.superseded": "turn.superseded";
|
|
6646
|
+
"turn.recovery.requested": "turn.recovery.requested";
|
|
6647
|
+
"turn.capacity_waiting": "turn.capacity_waiting";
|
|
6648
|
+
"agent.message.delta": "agent.message.delta";
|
|
6649
|
+
"agent.message.completed": "agent.message.completed";
|
|
6650
|
+
"agent.reasoning.delta": "agent.reasoning.delta";
|
|
6651
|
+
"agent.toolCall.created": "agent.toolCall.created";
|
|
6652
|
+
"agent.toolCall.output": "agent.toolCall.output";
|
|
6653
|
+
"agent.model.usage": "agent.model.usage";
|
|
6654
|
+
"tool.auth_needed": "tool.auth_needed";
|
|
6655
|
+
"agent.updated": "agent.updated";
|
|
6656
|
+
"rig.setup.started": "rig.setup.started";
|
|
6657
|
+
"rig.setup.completed": "rig.setup.completed";
|
|
6658
|
+
"rig.setup.skipped": "rig.setup.skipped";
|
|
6659
|
+
"rig.setup.failed": "rig.setup.failed";
|
|
6660
|
+
"sandbox.operation.started": "sandbox.operation.started";
|
|
6661
|
+
"sandbox.operation.completed": "sandbox.operation.completed";
|
|
6662
|
+
"sandbox.operation.failed": "sandbox.operation.failed";
|
|
6663
|
+
"sandbox.command.output.delta": "sandbox.command.output.delta";
|
|
6664
|
+
"artifact.created": "artifact.created";
|
|
6665
|
+
"goal.set": "goal.set";
|
|
6666
|
+
"goal.updated": "goal.updated";
|
|
6667
|
+
"goal.completed": "goal.completed";
|
|
6668
|
+
"goal.paused": "goal.paused";
|
|
6669
|
+
"goal.resumed": "goal.resumed";
|
|
6670
|
+
"goal.cleared": "goal.cleared";
|
|
6671
|
+
"goal.continuation": "goal.continuation";
|
|
6672
|
+
"system.update.pending": "system.update.pending";
|
|
6673
|
+
"system.update.delivered": "system.update.delivered";
|
|
6674
|
+
"session.control.paused": "session.control.paused";
|
|
6675
|
+
"session.control.resumed": "session.control.resumed";
|
|
6676
|
+
"session.control.steer_requested": "session.control.steer_requested";
|
|
6677
|
+
"workspace.inference.paused": "workspace.inference.paused";
|
|
6678
|
+
"workspace.inference.resumed": "workspace.inference.resumed";
|
|
6679
|
+
"session.queue.prompt.cancelled": "session.queue.prompt.cancelled";
|
|
6680
|
+
"session.queue.history": "session.queue.history";
|
|
6681
|
+
"turn.event.rejected_late": "turn.event.rejected_late";
|
|
6682
|
+
"memory.saved": "memory.saved";
|
|
6683
|
+
"memory.corrected": "memory.corrected";
|
|
6684
|
+
"stream.url.rotated": "stream.url.rotated";
|
|
6685
|
+
"stream.opened": "stream.opened";
|
|
6686
|
+
"stream.closed": "stream.closed";
|
|
6687
|
+
"stream.revoked": "stream.revoked";
|
|
6688
|
+
"recording.started": "recording.started";
|
|
6689
|
+
"recording.available": "recording.available";
|
|
6690
|
+
"recording.failed": "recording.failed";
|
|
6691
|
+
"fs.changed": "fs.changed";
|
|
6692
|
+
"git.changed": "git.changed";
|
|
6693
|
+
"terminal.pty.started": "terminal.pty.started";
|
|
6694
|
+
"terminal.pty.output.delta": "terminal.pty.output.delta";
|
|
6695
|
+
"terminal.pty.exited": "terminal.pty.exited";
|
|
6696
|
+
"session.title_set": "session.title_set";
|
|
6697
|
+
"codex.account.switched": "codex.account.switched";
|
|
6698
|
+
"codex.credential.selected": "codex.credential.selected";
|
|
6699
|
+
"codex.capacity.waiting": "codex.capacity.waiting";
|
|
6700
|
+
"codex.capacity.resumed": "codex.capacity.resumed";
|
|
6701
|
+
"codex.capacity.superseded": "codex.capacity.superseded";
|
|
6702
|
+
"sandbox.box.created": "sandbox.box.created";
|
|
6703
|
+
"sandbox.box.lost": "sandbox.box.lost";
|
|
6704
|
+
"sandbox.box.terminated": "sandbox.box.terminated";
|
|
6705
|
+
"sandbox.box.snapshot": "sandbox.box.snapshot";
|
|
6706
|
+
"sandbox.env.drift": "sandbox.env.drift";
|
|
6707
|
+
"session.route.reconciled": "session.route.reconciled";
|
|
6708
|
+
"workspace.revision.captured": "workspace.revision.captured";
|
|
6709
|
+
"workspace.revision.degraded": "workspace.revision.degraded";
|
|
6710
|
+
"machine.op.failed": "machine.op.failed";
|
|
6711
|
+
"machine.op.recovered": "machine.op.recovered";
|
|
6712
|
+
"machine.link.lost": "machine.link.lost";
|
|
6713
|
+
"machine.link.restored": "machine.link.restored";
|
|
6714
|
+
"machine.runner.restarted": "machine.runner.restarted";
|
|
6715
|
+
}>;
|
|
6716
|
+
payload: z.ZodDefault<z.ZodUnknown>;
|
|
6717
|
+
occurredAt: z.ZodString;
|
|
6718
|
+
clientEventId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6719
|
+
turnId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6720
|
+
turnGeneration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6721
|
+
turnAttemptId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6722
|
+
turnAssociation: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
6723
|
+
current: "current";
|
|
6724
|
+
late_rejected: "late_rejected";
|
|
6725
|
+
duplicate: "duplicate";
|
|
6726
|
+
}>>>;
|
|
6727
|
+
duplicateOfEventId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6728
|
+
duplicateReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6729
|
+
}, z.core.$strip>;
|
|
6730
|
+
turn: z.ZodObject<{
|
|
6731
|
+
id: z.ZodString;
|
|
6732
|
+
workspaceId: z.ZodString;
|
|
6733
|
+
sessionId: z.ZodString;
|
|
6734
|
+
triggerEventId: z.ZodString;
|
|
6735
|
+
temporalWorkflowId: z.ZodString;
|
|
6736
|
+
status: z.ZodEnum<{
|
|
6737
|
+
queued: "queued";
|
|
6738
|
+
running: "running";
|
|
6739
|
+
requires_action: "requires_action";
|
|
6740
|
+
recovering: "recovering";
|
|
6741
|
+
waiting_capacity: "waiting_capacity";
|
|
6742
|
+
failed: "failed";
|
|
6743
|
+
cancelled: "cancelled";
|
|
6744
|
+
completed: "completed";
|
|
6745
|
+
superseded: "superseded";
|
|
6746
|
+
}>;
|
|
6747
|
+
source: z.ZodEnum<{
|
|
6748
|
+
user: "user";
|
|
6749
|
+
scheduled_task: "scheduled_task";
|
|
6750
|
+
api: "api";
|
|
6751
|
+
goal: "goal";
|
|
6752
|
+
system: "system";
|
|
6753
|
+
compaction: "compaction";
|
|
6754
|
+
}>;
|
|
6755
|
+
position: z.ZodNumber;
|
|
6756
|
+
prompt: z.ZodString;
|
|
6757
|
+
resources: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6758
|
+
kind: z.ZodLiteral<"repository">;
|
|
6759
|
+
uri: z.ZodString;
|
|
6760
|
+
ref: z.ZodString;
|
|
6761
|
+
mountPath: z.ZodOptional<z.ZodString>;
|
|
6762
|
+
subpath: z.ZodOptional<z.ZodString>;
|
|
6763
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
6764
|
+
github: "github";
|
|
6765
|
+
gitlab: "gitlab";
|
|
6766
|
+
azure_devops: "azure_devops";
|
|
6767
|
+
}>>;
|
|
6768
|
+
repositoryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
6769
|
+
installationId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
6770
|
+
projectId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
6771
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
6772
|
+
githubInstallationId: z.ZodOptional<z.ZodNumber>;
|
|
6773
|
+
githubRepositoryId: z.ZodOptional<z.ZodNumber>;
|
|
6774
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6775
|
+
kind: z.ZodLiteral<"file">;
|
|
6776
|
+
fileId: z.ZodString;
|
|
6777
|
+
mountPath: z.ZodOptional<z.ZodString>;
|
|
6778
|
+
}, z.core.$strip>], "kind">>;
|
|
6779
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
6780
|
+
kind: z.ZodLiteral<"mcp">;
|
|
6781
|
+
id: z.ZodString;
|
|
6782
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
6783
|
+
}, z.core.$strip>>;
|
|
6784
|
+
model: z.ZodString;
|
|
6785
|
+
reasoningEffort: z.ZodEnum<{
|
|
6786
|
+
none: "none";
|
|
6787
|
+
minimal: "minimal";
|
|
6788
|
+
low: "low";
|
|
6789
|
+
medium: "medium";
|
|
6790
|
+
high: "high";
|
|
6791
|
+
xhigh: "xhigh";
|
|
6792
|
+
}>;
|
|
6793
|
+
sandboxBackend: z.ZodEnum<{
|
|
6794
|
+
docker: "docker";
|
|
6795
|
+
modal: "modal";
|
|
6796
|
+
local: "local";
|
|
6797
|
+
none: "none";
|
|
6798
|
+
daytona: "daytona";
|
|
6799
|
+
runloop: "runloop";
|
|
6800
|
+
e2b: "e2b";
|
|
6801
|
+
blaxel: "blaxel";
|
|
6802
|
+
cloudflare: "cloudflare";
|
|
6803
|
+
vercel: "vercel";
|
|
6804
|
+
selfhosted: "selfhosted";
|
|
6805
|
+
}>;
|
|
6806
|
+
sandboxOs: z.ZodNullable<z.ZodEnum<{
|
|
6807
|
+
linux: "linux";
|
|
6808
|
+
macos: "macos";
|
|
6809
|
+
windows: "windows";
|
|
6810
|
+
}>>;
|
|
6811
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6812
|
+
version: z.ZodNumber;
|
|
6813
|
+
executionGeneration: z.ZodNumber;
|
|
6814
|
+
activeAttemptId: z.ZodNullable<z.ZodString>;
|
|
6815
|
+
lineage: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6816
|
+
cancelledBy: z.ZodNullable<z.ZodString>;
|
|
6817
|
+
cancelReason: z.ZodNullable<z.ZodString>;
|
|
6818
|
+
startedAt: z.ZodNullable<z.ZodString>;
|
|
6819
|
+
finishedAt: z.ZodNullable<z.ZodString>;
|
|
6820
|
+
createdAt: z.ZodString;
|
|
6821
|
+
updatedAt: z.ZodString;
|
|
6822
|
+
}, z.core.$strip>;
|
|
6823
|
+
}, z.core.$strip>;
|
|
6824
|
+
type SteerSessionMessageResponse = z.infer<typeof SteerSessionMessageResponse>;
|
|
4332
6825
|
declare const SessionBusMessage: z.ZodObject<{
|
|
4333
6826
|
workspaceId: z.ZodString;
|
|
4334
6827
|
sessionId: z.ZodString;
|
|
@@ -4341,25 +6834,33 @@ declare const SessionBusMessage: z.ZodObject<{
|
|
|
4341
6834
|
"session.created": "session.created";
|
|
4342
6835
|
"session.status.changed": "session.status.changed";
|
|
4343
6836
|
"session.requiresAction": "session.requiresAction";
|
|
6837
|
+
"session.context.compaction.requested": "session.context.compaction.requested";
|
|
4344
6838
|
"session.context.compacted": "session.context.compacted";
|
|
6839
|
+
"session.context.compaction.skipped": "session.context.compaction.skipped";
|
|
4345
6840
|
"session.context.cleared": "session.context.cleared";
|
|
4346
6841
|
"user.message": "user.message";
|
|
4347
|
-
"user.
|
|
6842
|
+
"user.pause": "user.pause";
|
|
4348
6843
|
"user.approvalDecision": "user.approvalDecision";
|
|
4349
6844
|
"turn.queued": "turn.queued";
|
|
4350
|
-
"turn.updated": "turn.updated";
|
|
4351
6845
|
"turn.started": "turn.started";
|
|
4352
6846
|
"turn.completed": "turn.completed";
|
|
4353
6847
|
"turn.failed": "turn.failed";
|
|
4354
6848
|
"turn.cancelled": "turn.cancelled";
|
|
4355
|
-
"turn.
|
|
6849
|
+
"turn.superseded": "turn.superseded";
|
|
6850
|
+
"turn.recovery.requested": "turn.recovery.requested";
|
|
6851
|
+
"turn.capacity_waiting": "turn.capacity_waiting";
|
|
4356
6852
|
"agent.message.delta": "agent.message.delta";
|
|
4357
6853
|
"agent.message.completed": "agent.message.completed";
|
|
4358
6854
|
"agent.reasoning.delta": "agent.reasoning.delta";
|
|
4359
6855
|
"agent.toolCall.created": "agent.toolCall.created";
|
|
4360
6856
|
"agent.toolCall.output": "agent.toolCall.output";
|
|
6857
|
+
"agent.model.usage": "agent.model.usage";
|
|
4361
6858
|
"tool.auth_needed": "tool.auth_needed";
|
|
4362
6859
|
"agent.updated": "agent.updated";
|
|
6860
|
+
"rig.setup.started": "rig.setup.started";
|
|
6861
|
+
"rig.setup.completed": "rig.setup.completed";
|
|
6862
|
+
"rig.setup.skipped": "rig.setup.skipped";
|
|
6863
|
+
"rig.setup.failed": "rig.setup.failed";
|
|
4363
6864
|
"sandbox.operation.started": "sandbox.operation.started";
|
|
4364
6865
|
"sandbox.operation.completed": "sandbox.operation.completed";
|
|
4365
6866
|
"sandbox.operation.failed": "sandbox.operation.failed";
|
|
@@ -4370,7 +6871,20 @@ declare const SessionBusMessage: z.ZodObject<{
|
|
|
4370
6871
|
"goal.completed": "goal.completed";
|
|
4371
6872
|
"goal.paused": "goal.paused";
|
|
4372
6873
|
"goal.resumed": "goal.resumed";
|
|
6874
|
+
"goal.cleared": "goal.cleared";
|
|
4373
6875
|
"goal.continuation": "goal.continuation";
|
|
6876
|
+
"system.update.pending": "system.update.pending";
|
|
6877
|
+
"system.update.delivered": "system.update.delivered";
|
|
6878
|
+
"session.control.paused": "session.control.paused";
|
|
6879
|
+
"session.control.resumed": "session.control.resumed";
|
|
6880
|
+
"session.control.steer_requested": "session.control.steer_requested";
|
|
6881
|
+
"workspace.inference.paused": "workspace.inference.paused";
|
|
6882
|
+
"workspace.inference.resumed": "workspace.inference.resumed";
|
|
6883
|
+
"session.queue.prompt.cancelled": "session.queue.prompt.cancelled";
|
|
6884
|
+
"session.queue.history": "session.queue.history";
|
|
6885
|
+
"turn.event.rejected_late": "turn.event.rejected_late";
|
|
6886
|
+
"memory.saved": "memory.saved";
|
|
6887
|
+
"memory.corrected": "memory.corrected";
|
|
4374
6888
|
"stream.url.rotated": "stream.url.rotated";
|
|
4375
6889
|
"stream.opened": "stream.opened";
|
|
4376
6890
|
"stream.closed": "stream.closed";
|
|
@@ -4385,11 +6899,37 @@ declare const SessionBusMessage: z.ZodObject<{
|
|
|
4385
6899
|
"terminal.pty.exited": "terminal.pty.exited";
|
|
4386
6900
|
"session.title_set": "session.title_set";
|
|
4387
6901
|
"codex.account.switched": "codex.account.switched";
|
|
6902
|
+
"codex.credential.selected": "codex.credential.selected";
|
|
6903
|
+
"codex.capacity.waiting": "codex.capacity.waiting";
|
|
6904
|
+
"codex.capacity.resumed": "codex.capacity.resumed";
|
|
6905
|
+
"codex.capacity.superseded": "codex.capacity.superseded";
|
|
6906
|
+
"sandbox.box.created": "sandbox.box.created";
|
|
6907
|
+
"sandbox.box.lost": "sandbox.box.lost";
|
|
6908
|
+
"sandbox.box.terminated": "sandbox.box.terminated";
|
|
6909
|
+
"sandbox.box.snapshot": "sandbox.box.snapshot";
|
|
6910
|
+
"sandbox.env.drift": "sandbox.env.drift";
|
|
6911
|
+
"session.route.reconciled": "session.route.reconciled";
|
|
6912
|
+
"workspace.revision.captured": "workspace.revision.captured";
|
|
6913
|
+
"workspace.revision.degraded": "workspace.revision.degraded";
|
|
6914
|
+
"machine.op.failed": "machine.op.failed";
|
|
6915
|
+
"machine.op.recovered": "machine.op.recovered";
|
|
6916
|
+
"machine.link.lost": "machine.link.lost";
|
|
6917
|
+
"machine.link.restored": "machine.link.restored";
|
|
6918
|
+
"machine.runner.restarted": "machine.runner.restarted";
|
|
4388
6919
|
}>;
|
|
4389
6920
|
payload: z.ZodDefault<z.ZodUnknown>;
|
|
4390
6921
|
occurredAt: z.ZodString;
|
|
4391
6922
|
clientEventId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4392
6923
|
turnId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6924
|
+
turnGeneration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6925
|
+
turnAttemptId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6926
|
+
turnAssociation: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
6927
|
+
current: "current";
|
|
6928
|
+
late_rejected: "late_rejected";
|
|
6929
|
+
duplicate: "duplicate";
|
|
6930
|
+
}>>>;
|
|
6931
|
+
duplicateOfEventId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6932
|
+
duplicateReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4393
6933
|
}, z.core.$strip>>;
|
|
4394
6934
|
}, z.core.$strip>;
|
|
4395
6935
|
type SessionBusMessage = z.infer<typeof SessionBusMessage>;
|
|
@@ -5044,6 +7584,13 @@ declare const SwapActiveSandboxResponse: z.ZodObject<{
|
|
|
5044
7584
|
activeSandboxId: z.ZodNullable<z.ZodString>;
|
|
5045
7585
|
activeEpoch: z.ZodNumber;
|
|
5046
7586
|
reason: z.ZodOptional<z.ZodString>;
|
|
7587
|
+
code: z.ZodOptional<z.ZodEnum<{
|
|
7588
|
+
stale_pointer: "stale_pointer";
|
|
7589
|
+
offline_enrollment: "offline_enrollment";
|
|
7590
|
+
unsupported_backend_context: "unsupported_backend_context";
|
|
7591
|
+
transient_establishment: "transient_establishment";
|
|
7592
|
+
concurrent_swap: "concurrent_swap";
|
|
7593
|
+
}>>;
|
|
5047
7594
|
}, z.core.$strip>;
|
|
5048
7595
|
type SwapActiveSandboxResponse = z.infer<typeof SwapActiveSandboxResponse>;
|
|
5049
7596
|
/**
|
|
@@ -5153,8 +7700,33 @@ declare const ClientConfig: z.ZodObject<{
|
|
|
5153
7700
|
type ClientConfig = z.infer<typeof ClientConfig>;
|
|
5154
7701
|
type HealthResponse = {
|
|
5155
7702
|
service: string;
|
|
5156
|
-
|
|
7703
|
+
variableSet: string;
|
|
5157
7704
|
ok: boolean;
|
|
5158
7705
|
};
|
|
7706
|
+
/**
|
|
7707
|
+
* Per-workspace model/provider availability policy (see @opengeni/db
|
|
7708
|
+
* workspace_model_policies). NULL fields = unrestricted; a non-null
|
|
7709
|
+
* allowedProviders is a strict allowlist over RESOLVED provider identities
|
|
7710
|
+
* (the built-in OpenAI/Azure client's id — "openai"/"azure" — including the
|
|
7711
|
+
* legacy null-resolution fallback; "codex-subscription" for the ChatGPT/Codex
|
|
7712
|
+
* overlay; registry providers by their declared ids); a non-null allowedModels
|
|
7713
|
+
* is an additional exact-model-id allowlist. Pure and shared so the API edge
|
|
7714
|
+
* (422) and the worker's authoritative post-resolution gate (fail-loud
|
|
7715
|
+
* turn.failed, never a silent remap) can never disagree on semantics.
|
|
7716
|
+
*/
|
|
7717
|
+
type WorkspaceModelPolicyContract = {
|
|
7718
|
+
allowedProviders: string[] | null;
|
|
7719
|
+
allowedModels: string[] | null;
|
|
7720
|
+
};
|
|
7721
|
+
type WorkspaceModelPolicyVerdict = {
|
|
7722
|
+
allowed: true;
|
|
7723
|
+
} | {
|
|
7724
|
+
allowed: false;
|
|
7725
|
+
reason: "provider" | "model";
|
|
7726
|
+
};
|
|
7727
|
+
declare function evaluateWorkspaceModelPolicy(policy: WorkspaceModelPolicyContract | null | undefined, candidate: {
|
|
7728
|
+
providerId: string;
|
|
7729
|
+
modelId: string;
|
|
7730
|
+
}): WorkspaceModelPolicyVerdict;
|
|
5159
7731
|
|
|
5160
|
-
export { AccessContext, AccessGrant, AccountGrant, AccountRole, AcknowledgeStreamRequest, AcknowledgeStreamResponse, AddDocumentRequest, AddWorkspaceMemberRequest, type AdmitRunInput, ApiKey, AttachViewerRequest, BillingBalance, BillingMode, CAPABILITY_DESCRIPTORS, CLEARED_RUN_STATE_BLOB, CLEARED_RUN_STATE_MARKER, CapabilityCatalogAuthKind, CapabilityCatalogItem, CapabilityCatalogResponse, CapabilityCatalogTier, type CapabilityDescriptor, CapabilityInstallation, CapabilityInstallationStatus, CapabilityKind, CapabilityPack, CapabilityPackConnector, CapabilityPackConnectorAuthModel, CapabilityPackKnowledge, CapabilityPackScheduledTaskTemplate, CapabilityPackSkill, CapabilityPackSkillFile, CapabilityRuntime, CapabilitySource, CapabilityUnavailableReason, ClearSessionContextRequest, ClientAuthConfig, ClientConfig, ClientModel, ClientSessionEvent, CompactSessionContextRequest, CompactSessionContextResult, CompleteFileUploadResponse, ConnectionCredentialBundle, type ConnectionCredentialsPort, ConnectionKind, ConnectionMetadata, ConnectionResponse, ConnectionStatus, CreateApiKeyRequest, CreateApiKeyResponse, CreateCapabilityCatalogItemRequest, CreateCheckoutRequest, CreateCheckoutResponse, CreateConnectionRequest, CreateDocumentBaseRequest, CreateFileUploadRequest, CreateFileUploadResponse, CreateKnowledgeMemoryRequest, CreateScheduledTaskRequest, CreateSessionRequest, CreateSocialConnectionRequest, CreateSocialPostRequest, CreateWorkspaceEnvironmentRequest, CreateWorkspaceRequest, DESKTOP_STREAM_PORT, DelegatedAccessTokenPayload, DeviceEnrollmentApproveRequest, DeviceEnrollmentApproveResponse, DeviceEnrollmentDenyRequest, DeviceEnrollmentDenyResponse, DeviceEnrollmentLookupMachine, DeviceEnrollmentLookupRequest, DeviceEnrollmentLookupResponse, DeviceEnrollmentPollRequest, DeviceEnrollmentPollResponse, DeviceEnrollmentStartRequest, DeviceEnrollmentStartResponse, DeviceEnrollmentState, DiscoverMcpCapabilitiesResponse, Document, DocumentBase, DocumentSearchMode, DocumentSearchRequest, DocumentSearchResult, DocumentStatus, EnableCapabilityRequest, EnablePackRequest, EnrollTokenExchangeRequest, EnrollTokenExchangeResponse, EnrollTokenPayload, EnrollmentArch, EnrollmentBearerPayload, EnrollmentCredentialsResponse, EnrollmentOs, EnrollmentSummary, EntitlementDecision, EntitlementValue, Entitlements, EntitlementsMode, type EntitlementsPort, ErrorCode, ErrorEnvelope, FileAsset, FileDownloadUrlResponse, FileResourceRef, FileStatus, FileUploadStatus, FsChangeKind, FsChangedPayload, FsDeleteRequest, FsDeleteResponse, FsEncoding, FsListRequest, FsListResponse, FsMkdirRequest, FsMkdirResponse, FsMoveRequest, FsMoveResponse, FsNodeType, FsReadRequest, FsReadResponse, FsTreeNode, FsWriteRequest, FsWriteResponse, GitChangedPayload, GitCommit, type GitCredentials, type GitCredentialsRequest, GitDiffHunk, GitDiffLine, GitDiffLineType, GitDiffRequest, GitDiffResponse, GitFileDiff, GitFileStatus, GitFileStatusCode, type GitHubAppApiPort, GitHubAppManifestCreate, type GitHubInstallationSummary, GitHubRepository, GitLogRequest, GitLogResponse, GitShowRequest, GitShowResponse, GitStatusRequest, GitStatusResponse, GoalSpec, type HealthResponse, IntegrationClientMetadata, KnowledgeMemory, KnowledgeMemoryKind, KnowledgeMemorySearchRequest, KnowledgeMemoryStatus, KnowledgeSourceKind, KnowledgeSourceRef, LimitAction, LimitDecision, ListConnectionsResponse, ListEnrollmentsResponse, ListWorkspaceMembersResponse, MachineKind, MachineMetricsSeriesResponse, MachineState, MachineView, MachinesResponse, ManagedAccount, MarketingDailyAnalysisTaskRequest, McpServerConnectionRef, MetricSample, MintEnrollTokenRequest, MintEnrollTokenResponse, OAuthStartRequest, OAuthStartResponse, PackInstallation, PackInstallationStatus, Permission, type PortExposureKind, ProductAccessMode, PtyCloseRequest, PtyOpenRequest, PtyOpenResponse, PtyResizeRequest, PtyWriteRequest, ReasoningEffort, RecordingAvailablePayload, RecordingCodec, RecordingContentType, RecordingFailedPayload, RecordingFailedReason, RecordingMode, RecordingStartedPayload, RegisterCapabilityPackRequest, RelayTokenPayload,
|
|
7732
|
+
export { AccessContext, AccessGrant, AccountGrant, AccountRole, AcknowledgeStreamRequest, AcknowledgeStreamResponse, AddDocumentRequest, AddWorkspaceMemberRequest, type AdmitRunInput, ApiKey, AttachViewerRequest, BillingBalance, BillingMode, CAPABILITY_DESCRIPTORS, CLEARED_RUN_STATE_BLOB, CLEARED_RUN_STATE_MARKER, CancelSessionQueueItemRequest, CapabilityCatalogAuthKind, CapabilityCatalogItem, CapabilityCatalogResponse, CapabilityCatalogTier, type CapabilityDescriptor, CapabilityInstallation, CapabilityInstallationStatus, CapabilityKind, CapabilityPack, CapabilityPackConnector, CapabilityPackConnectorAuthModel, CapabilityPackKnowledge, CapabilityPackScheduledTaskTemplate, CapabilityPackSkill, CapabilityPackSkillFile, CapabilityRuntime, CapabilitySource, CapabilityUnavailableReason, ClearSessionContextRequest, ClientAuthConfig, ClientConfig, ClientModel, ClientSessionEvent, CompactSessionContextRequest, CompactSessionContextResult, CompleteFileUploadResponse, ConnectionCredentialBundle, type ConnectionCredentialsPort, ConnectionKind, ConnectionMetadata, ConnectionResponse, ConnectionStatus, CreateApiKeyRequest, CreateApiKeyResponse, CreateCapabilityCatalogItemRequest, CreateCheckoutRequest, CreateCheckoutResponse, CreateConnectionRequest, CreateDocumentBaseRequest, CreateFileUploadRequest, CreateFileUploadResponse, CreateKnowledgeMemoryRequest, CreateRigRequest, CreateScheduledTaskRequest, CreateSessionRequest, CreateSocialConnectionRequest, CreateSocialPostRequest, CreateVariableSetRequest, CreateWorkspaceEnvironmentRequest, CreateWorkspaceRequest, DESKTOP_STREAM_PORT, DelegatedAccessTokenPayload, DeviceEnrollmentApproveRequest, DeviceEnrollmentApproveResponse, DeviceEnrollmentDenyRequest, DeviceEnrollmentDenyResponse, DeviceEnrollmentLookupMachine, DeviceEnrollmentLookupRequest, DeviceEnrollmentLookupResponse, DeviceEnrollmentPollRequest, DeviceEnrollmentPollResponse, DeviceEnrollmentStartRequest, DeviceEnrollmentStartResponse, DeviceEnrollmentState, DiscoverMcpCapabilitiesResponse, Document, DocumentBase, DocumentSearchMode, DocumentSearchRequest, DocumentSearchResult, DocumentStatus, EnableCapabilityRequest, EnablePackRequest, EnrollTokenExchangeRequest, EnrollTokenExchangeResponse, EnrollTokenPayload, EnrollmentArch, EnrollmentBearerPayload, EnrollmentCredentialsResponse, EnrollmentOs, EnrollmentSummary, EntitlementDecision, EntitlementValue, Entitlements, EntitlementsMode, type EntitlementsPort, ErrorCode, ErrorEnvelope, FileAsset, FileDownloadUrlResponse, FileResourceRef, FileStatus, FileUploadStatus, FsChangeKind, FsChangedPayload, FsDeleteRequest, FsDeleteResponse, FsEncoding, FsListRequest, FsListResponse, FsMkdirRequest, FsMkdirResponse, FsMoveRequest, FsMoveResponse, FsNodeType, FsReadRequest, FsReadResponse, FsTreeNode, FsWriteRequest, FsWriteResponse, GetWorkspaceCaptureFileResponse, GetWorkspaceCaptureResponse, GitChangedPayload, GitCommit, GitCredentialProvider, GitCredentialRepositoryRef, type GitCredentials, type GitCredentialsRequest, GitDiffHunk, GitDiffLine, GitDiffLineType, GitDiffRequest, GitDiffResponse, GitFileDiff, GitFileStatus, GitFileStatusCode, type GitHubAppApiPort, GitHubAppManifestCreate, type GitHubInstallationSummary, GitHubRepository, GitLogRequest, GitLogResponse, GitShowRequest, GitShowResponse, GitStatusRequest, GitStatusResponse, GoalSpec, type HealthResponse, IntegrationClientMetadata, KnowledgeMemory, KnowledgeMemoryKind, KnowledgeMemorySearchRequest, KnowledgeMemoryStatus, KnowledgeSourceKind, KnowledgeSourceRef, LimitAction, LimitDecision, LineageNode, ListConnectionsResponse, ListEnrollmentsResponse, ListWorkspaceMembersResponse, MachineKind, MachineMetricsSeriesResponse, MachineState, MachineView, MachinesResponse, ManagedAccount, MarketingDailyAnalysisTaskRequest, McpServerConnectionRef, MetricSample, MintEnrollTokenRequest, MintEnrollTokenResponse, OAuthStartRequest, OAuthStartResponse, PackInstallation, PackInstallationStatus, Permission, type PortExposureKind, ProductAccessMode, ProposeRigChangeRequest, PtyCloseRequest, PtyOpenRequest, PtyOpenResponse, PtyResizeRequest, PtyWriteRequest, ReasoningEffort, RecordingAvailablePayload, RecordingCodec, RecordingContentType, RecordingFailedPayload, RecordingFailedReason, RecordingMode, RecordingStartedPayload, RegisterCapabilityPackRequest, RelayTokenPayload, RepositoryResourceRef, ResourceRef, ResourceRefConflictError, RevokeEnrollmentResponse, Rig, RigChange, RigChangeKind, RigChangeStatus, RigChangeVerification, RigCheck, RigCheckResult, RigDefinitionEditPayload, RigSetupAppendPayload, RigVerificationHealth, RigVersion, SandboxBackend, SandboxCapabilityName, SandboxCommandOutputDeltaPayload, SandboxOs, type SandboxSecrets, type SandboxSecretsRequest, ScheduledTask, ScheduledTaskAgentConfig, ScheduledTaskOverlapPolicy, ScheduledTaskRun, ScheduledTaskRunMode, ScheduledTaskRunStatus, ScheduledTaskScheduleSpec, ScheduledTaskStatus, ScheduledTaskTriggerType, Session, SessionBusMessage, SessionCapabilities, SessionControlRequest, SessionControlResponse, SessionControlState, SessionEvent, SessionEventType, SessionGoal, SessionGoalCreatedBy, SessionGoalPausedReason, SessionGoalStatus, SessionLineageResponse, SessionListResponse, SessionMcpCredentialUpdateInput, SessionMcpServerInput, SessionMcpServerMetadata, SessionQueueMutationResponse, SessionQueueSnapshot, SessionStatus, SessionStructuredCapabilities, type SessionSummary, SessionSystemUpdate, SessionSystemUpdateKind, SessionSystemUpdateState, SessionTurn, SessionTurnSource, SessionTurnStatus, SetVariableSetVariableRequest, SetWorkspaceDefaultRigRequest, SetWorkspaceEnvironmentVariableRequest, SocialConnection, SocialConnectionStatus, SocialPost, SocialProvider, StaticUsageLimits, SteerSessionMessageRequest, SteerSessionMessageResponse, StreamClosedPayload, StreamOpenedPayload, StreamRevokedPayload, StreamTokenPayload, StreamUrlRotatedPayload, SwapActiveSandboxRequest, SwapActiveSandboxResponse, SystemUpdateClassification, TERMINAL_STREAM_PORT, TerminalExecRequest, TerminalExecResponse, TerminalPtyExitedPayload, TerminalPtyOutputDeltaPayload, TerminalPtyStartedPayload, ToolAuthNeededPayload, ToolRef, TriggerScheduledTaskRequest, UpdateConnectionRequest, UpdateKnowledgeMemoryRequest, UpdateRigRequest, UpdateScheduledTaskRequest, UpdateSessionGoalRequest, UpdateSessionPinRequest, UpdateSessionRequest, UpdateVariableSetRequest, UpdateWorkspaceEnvironmentRequest, UpdateWorkspaceMemberRequest, UpdateWorkspaceModelPolicyRequest, UpdateWorkspaceRequest, UpdateWorkspaceSettingsRequest, UsageEvent, UsageEventType, UsageLimitsMode, VariableSet, VariableSetVariableMetadata, VariableSetVariableName, ViewerHeartbeatRequest, ViewerHeartbeatResponse, ViewerHolder, Workspace, WorkspaceCaptureDegradedReason, WorkspaceCaptureFile, WorkspaceCaptureManifest, WorkspaceCaptureRepo, WorkspaceCaptureSignedUrl, WorkspaceCaptureStats, WorkspaceEnvironment, WorkspaceEnvironmentVariableMetadata, WorkspaceInferenceControlRequest, WorkspaceInferenceControlResponse, WorkspaceInferenceState, WorkspaceMember, WorkspaceMemorySearchMode, WorkspaceMemorySearchRequest, WorkspaceMemorySearchResponse, WorkspaceMemorySearchResult, type WorkspaceModelPolicyContract, type WorkspaceModelPolicyVerdict, WorkspaceRegisteredPack, WorkspaceRevisionCapturedPayload, WorkspaceRevisionDegradedPayload, type WorkspaceSettings, WorkspaceSettingsSchema, evaluateWorkspaceModelPolicy, isClearedRunStateBlob, mergeResourceRefs, mergeToolRefs, prefixedMcpToolName, reasoningEffortForMetadata, resolveWorkspaceMemoryEnabled, resourceIdentityKey, signDelegatedAccessToken, signEnrollToken, signEnrollmentBearer, signRelayToken, signStreamToken, stableJson, verifyDelegatedAccessToken, verifyEnrollToken, verifyEnrollmentBearer, verifyRelayToken, verifyStreamToken };
|