@opengeni/contracts 0.3.0 → 0.4.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 +619 -1
- package/dist/index.js +500 -13
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +836 -11
package/dist/index.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ declare const SandboxBackend: z.ZodEnum<{
|
|
|
20
20
|
blaxel: "blaxel";
|
|
21
21
|
cloudflare: "cloudflare";
|
|
22
22
|
vercel: "vercel";
|
|
23
|
+
selfhosted: "selfhosted";
|
|
23
24
|
}>;
|
|
24
25
|
type SandboxBackend = z.infer<typeof SandboxBackend>;
|
|
25
26
|
declare const SandboxOs: z.ZodEnum<{
|
|
@@ -175,6 +176,8 @@ declare const Permission: z.ZodEnum<{
|
|
|
175
176
|
"environments:manage": "environments:manage";
|
|
176
177
|
"environments:use": "environments:use";
|
|
177
178
|
"goals:manage": "goals:manage";
|
|
179
|
+
"enrollments:read": "enrollments:read";
|
|
180
|
+
"enrollments:manage": "enrollments:manage";
|
|
178
181
|
}>;
|
|
179
182
|
type Permission = z.infer<typeof Permission>;
|
|
180
183
|
declare const ProductAccessMode: z.ZodEnum<{
|
|
@@ -265,6 +268,8 @@ declare const AccountGrant: z.ZodObject<{
|
|
|
265
268
|
"environments:manage": "environments:manage";
|
|
266
269
|
"environments:use": "environments:use";
|
|
267
270
|
"goals:manage": "goals:manage";
|
|
271
|
+
"enrollments:read": "enrollments:read";
|
|
272
|
+
"enrollments:manage": "enrollments:manage";
|
|
268
273
|
}>>;
|
|
269
274
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
270
275
|
}, z.core.$strip>;
|
|
@@ -303,6 +308,8 @@ declare const AccessGrant: z.ZodObject<{
|
|
|
303
308
|
"environments:manage": "environments:manage";
|
|
304
309
|
"environments:use": "environments:use";
|
|
305
310
|
"goals:manage": "goals:manage";
|
|
311
|
+
"enrollments:read": "enrollments:read";
|
|
312
|
+
"enrollments:manage": "enrollments:manage";
|
|
306
313
|
}>>;
|
|
307
314
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
308
315
|
}, z.core.$strip>;
|
|
@@ -353,6 +360,8 @@ declare const AccessContext: z.ZodObject<{
|
|
|
353
360
|
"environments:manage": "environments:manage";
|
|
354
361
|
"environments:use": "environments:use";
|
|
355
362
|
"goals:manage": "goals:manage";
|
|
363
|
+
"enrollments:read": "enrollments:read";
|
|
364
|
+
"enrollments:manage": "enrollments:manage";
|
|
356
365
|
}>>;
|
|
357
366
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
358
367
|
}, z.core.$strip>>;
|
|
@@ -390,6 +399,8 @@ declare const AccessContext: z.ZodObject<{
|
|
|
390
399
|
"environments:manage": "environments:manage";
|
|
391
400
|
"environments:use": "environments:use";
|
|
392
401
|
"goals:manage": "goals:manage";
|
|
402
|
+
"enrollments:read": "enrollments:read";
|
|
403
|
+
"enrollments:manage": "enrollments:manage";
|
|
393
404
|
}>>;
|
|
394
405
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
395
406
|
}, z.core.$strip>>;
|
|
@@ -431,6 +442,8 @@ declare const DelegatedAccessTokenPayload: z.ZodObject<{
|
|
|
431
442
|
"environments:manage": "environments:manage";
|
|
432
443
|
"environments:use": "environments:use";
|
|
433
444
|
"goals:manage": "goals:manage";
|
|
445
|
+
"enrollments:read": "enrollments:read";
|
|
446
|
+
"enrollments:manage": "enrollments:manage";
|
|
434
447
|
}>>;
|
|
435
448
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
436
449
|
exp: z.ZodNumber;
|
|
@@ -438,6 +451,35 @@ declare const DelegatedAccessTokenPayload: z.ZodObject<{
|
|
|
438
451
|
type DelegatedAccessTokenPayload = z.infer<typeof DelegatedAccessTokenPayload>;
|
|
439
452
|
declare function signDelegatedAccessToken(secret: string, payload: DelegatedAccessTokenPayload): Promise<string>;
|
|
440
453
|
declare function verifyDelegatedAccessToken(secret: string, token: string, nowSeconds?: number): Promise<DelegatedAccessTokenPayload | null>;
|
|
454
|
+
declare const EnrollmentBearerPayload: z.ZodObject<{
|
|
455
|
+
workspaceId: z.ZodString;
|
|
456
|
+
agentId: z.ZodString;
|
|
457
|
+
enrollmentId: z.ZodString;
|
|
458
|
+
subjectPrefix: z.ZodString;
|
|
459
|
+
exp: z.ZodNumber;
|
|
460
|
+
}, z.core.$strip>;
|
|
461
|
+
type EnrollmentBearerPayload = z.infer<typeof EnrollmentBearerPayload>;
|
|
462
|
+
declare function signEnrollmentBearer(secret: string, payload: EnrollmentBearerPayload): Promise<string>;
|
|
463
|
+
declare function verifyEnrollmentBearer(secret: string, token: string, nowSeconds?: number): Promise<EnrollmentBearerPayload | null>;
|
|
464
|
+
declare const EnrollTokenPayload: z.ZodObject<{
|
|
465
|
+
typ: z.ZodLiteral<"enroll">;
|
|
466
|
+
workspaceId: z.ZodString;
|
|
467
|
+
accountId: z.ZodString;
|
|
468
|
+
allowScreenControl: z.ZodBoolean;
|
|
469
|
+
iat: z.ZodNumber;
|
|
470
|
+
exp: z.ZodNumber;
|
|
471
|
+
}, z.core.$strip>;
|
|
472
|
+
type EnrollTokenPayload = z.infer<typeof EnrollTokenPayload>;
|
|
473
|
+
declare function signEnrollToken(secret: string, payload: EnrollTokenPayload): Promise<string>;
|
|
474
|
+
/**
|
|
475
|
+
* Verify an enroll token: rejects (returns null) on a bad prefix (NOT `oget_`),
|
|
476
|
+
* a malformed envelope, a bad HMAC signature (constant-time), schema-invalid
|
|
477
|
+
* claims (which includes `typ !== "enroll"` — the `z.literal` rejects it), or an
|
|
478
|
+
* expired token (`exp < now`). Mirrors verifyEnrollmentBearer exactly. An `oge_`
|
|
479
|
+
* bearer fails the prefix gate; a same-secret token that lacks the typ claim fails
|
|
480
|
+
* the schema gate — both halves of the domain separation are enforced here.
|
|
481
|
+
*/
|
|
482
|
+
declare function verifyEnrollToken(secret: string, token: string, nowSeconds?: number): Promise<EnrollTokenPayload | null>;
|
|
441
483
|
declare const StreamTokenPayload: z.ZodObject<{
|
|
442
484
|
workspaceId: z.ZodString;
|
|
443
485
|
sessionId: z.ZodString;
|
|
@@ -463,6 +505,23 @@ declare function signStreamToken(secret: string, payload: StreamTokenPayload): P
|
|
|
463
505
|
* caller proves it is for THIS box's current epoch and THIS workspace+session.
|
|
464
506
|
*/
|
|
465
507
|
declare function verifyStreamToken(secret: string, token: string, nowSeconds?: number): Promise<StreamTokenPayload | null>;
|
|
508
|
+
declare const RelayTokenPayload: z.ZodObject<{
|
|
509
|
+
workspaceId: z.ZodString;
|
|
510
|
+
agentId: z.ZodString;
|
|
511
|
+
exp: z.ZodNumber;
|
|
512
|
+
}, z.core.$strip>;
|
|
513
|
+
type RelayTokenPayload = z.infer<typeof RelayTokenPayload>;
|
|
514
|
+
declare function signRelayToken(secret: string, payload: RelayTokenPayload): Promise<string>;
|
|
515
|
+
/**
|
|
516
|
+
* Verify a relay producer token: rejects (returns null) on a bad prefix, malformed
|
|
517
|
+
* envelope, bad HMAC signature (constant-time), schema-invalid claims, or expiry.
|
|
518
|
+
* Mirrors verifyStreamToken exactly. The relay (Rust) re-implements this verify;
|
|
519
|
+
* the TS verify here proves the format for the cross-stack fixture + any TS caller.
|
|
520
|
+
*
|
|
521
|
+
* The channel-key scope (claim.workspaceId/agentId vs the StreamOpen channel key)
|
|
522
|
+
* is enforced by the relay at USE — verify proves authenticity + freshness only.
|
|
523
|
+
*/
|
|
524
|
+
declare function verifyRelayToken(secret: string, token: string, nowSeconds?: number): Promise<RelayTokenPayload | null>;
|
|
466
525
|
declare const CreateWorkspaceRequest: z.ZodObject<{
|
|
467
526
|
accountId: z.ZodOptional<z.ZodString>;
|
|
468
527
|
name: z.ZodString;
|
|
@@ -513,6 +572,8 @@ declare const ApiKey: z.ZodObject<{
|
|
|
513
572
|
"environments:manage": "environments:manage";
|
|
514
573
|
"environments:use": "environments:use";
|
|
515
574
|
"goals:manage": "goals:manage";
|
|
575
|
+
"enrollments:read": "enrollments:read";
|
|
576
|
+
"enrollments:manage": "enrollments:manage";
|
|
516
577
|
}>>;
|
|
517
578
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
518
579
|
revokedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -553,6 +614,8 @@ declare const CreateApiKeyRequest: z.ZodObject<{
|
|
|
553
614
|
"environments:manage": "environments:manage";
|
|
554
615
|
"environments:use": "environments:use";
|
|
555
616
|
"goals:manage": "goals:manage";
|
|
617
|
+
"enrollments:read": "enrollments:read";
|
|
618
|
+
"enrollments:manage": "enrollments:manage";
|
|
556
619
|
}>>;
|
|
557
620
|
expiresAt: z.ZodOptional<z.ZodString>;
|
|
558
621
|
}, z.core.$strip>;
|
|
@@ -593,6 +656,8 @@ declare const CreateApiKeyResponse: z.ZodObject<{
|
|
|
593
656
|
"environments:manage": "environments:manage";
|
|
594
657
|
"environments:use": "environments:use";
|
|
595
658
|
"goals:manage": "goals:manage";
|
|
659
|
+
"enrollments:read": "enrollments:read";
|
|
660
|
+
"enrollments:manage": "enrollments:manage";
|
|
596
661
|
}>>;
|
|
597
662
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
598
663
|
revokedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -636,6 +701,8 @@ declare const WorkspaceMember: z.ZodObject<{
|
|
|
636
701
|
"environments:manage": "environments:manage";
|
|
637
702
|
"environments:use": "environments:use";
|
|
638
703
|
"goals:manage": "goals:manage";
|
|
704
|
+
"enrollments:read": "enrollments:read";
|
|
705
|
+
"enrollments:manage": "enrollments:manage";
|
|
639
706
|
}>>;
|
|
640
707
|
createdAt: z.ZodString;
|
|
641
708
|
}, z.core.$strip>;
|
|
@@ -674,6 +741,8 @@ declare const ListWorkspaceMembersResponse: z.ZodObject<{
|
|
|
674
741
|
"environments:manage": "environments:manage";
|
|
675
742
|
"environments:use": "environments:use";
|
|
676
743
|
"goals:manage": "goals:manage";
|
|
744
|
+
"enrollments:read": "enrollments:read";
|
|
745
|
+
"enrollments:manage": "enrollments:manage";
|
|
677
746
|
}>>;
|
|
678
747
|
createdAt: z.ZodString;
|
|
679
748
|
}, z.core.$strip>>;
|
|
@@ -711,6 +780,8 @@ declare const AddWorkspaceMemberRequest: z.ZodObject<{
|
|
|
711
780
|
"environments:manage": "environments:manage";
|
|
712
781
|
"environments:use": "environments:use";
|
|
713
782
|
"goals:manage": "goals:manage";
|
|
783
|
+
"enrollments:read": "enrollments:read";
|
|
784
|
+
"enrollments:manage": "enrollments:manage";
|
|
714
785
|
}>>;
|
|
715
786
|
}, z.core.$strip>;
|
|
716
787
|
type AddWorkspaceMemberRequest = z.infer<typeof AddWorkspaceMemberRequest>;
|
|
@@ -745,6 +816,8 @@ declare const UpdateWorkspaceMemberRequest: z.ZodObject<{
|
|
|
745
816
|
"environments:manage": "environments:manage";
|
|
746
817
|
"environments:use": "environments:use";
|
|
747
818
|
"goals:manage": "goals:manage";
|
|
819
|
+
"enrollments:read": "enrollments:read";
|
|
820
|
+
"enrollments:manage": "enrollments:manage";
|
|
748
821
|
}>>;
|
|
749
822
|
}, z.core.$strip>;
|
|
750
823
|
type UpdateWorkspaceMemberRequest = z.infer<typeof UpdateWorkspaceMemberRequest>;
|
|
@@ -824,6 +897,70 @@ declare const LimitDecision: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
824
897
|
message: z.ZodString;
|
|
825
898
|
}, z.core.$strip>], "allowed">;
|
|
826
899
|
type LimitDecision = z.infer<typeof LimitDecision>;
|
|
900
|
+
declare const EntitlementDecision: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
901
|
+
allowed: z.ZodLiteral<true>;
|
|
902
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
903
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
904
|
+
allowed: z.ZodLiteral<false>;
|
|
905
|
+
reason: z.ZodString;
|
|
906
|
+
code: z.ZodOptional<z.ZodString>;
|
|
907
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
908
|
+
}, z.core.$strip>], "allowed">;
|
|
909
|
+
type EntitlementDecision = z.infer<typeof EntitlementDecision>;
|
|
910
|
+
type AdmitRunInput = {
|
|
911
|
+
accountId: string;
|
|
912
|
+
workspaceId: string;
|
|
913
|
+
action: string;
|
|
914
|
+
quantity: number;
|
|
915
|
+
};
|
|
916
|
+
type EntitlementsPort = {
|
|
917
|
+
admitRun(input: AdmitRunInput): Promise<EntitlementDecision>;
|
|
918
|
+
};
|
|
919
|
+
type GitCredentialsRequest = {
|
|
920
|
+
accountId: string;
|
|
921
|
+
workspaceId: string;
|
|
922
|
+
installationId: number;
|
|
923
|
+
repositoryIds: number[];
|
|
924
|
+
};
|
|
925
|
+
type GitCredentials = {
|
|
926
|
+
token: string;
|
|
927
|
+
workspaceId: string;
|
|
928
|
+
identity?: {
|
|
929
|
+
name: string;
|
|
930
|
+
email: string;
|
|
931
|
+
} | null;
|
|
932
|
+
};
|
|
933
|
+
type SandboxSecretsRequest = {
|
|
934
|
+
accountId: string;
|
|
935
|
+
workspaceId: string;
|
|
936
|
+
environmentId: string;
|
|
937
|
+
};
|
|
938
|
+
type SandboxSecrets = {
|
|
939
|
+
values: Record<string, string>;
|
|
940
|
+
workspaceId: string;
|
|
941
|
+
id?: string;
|
|
942
|
+
name?: string;
|
|
943
|
+
description?: string | null;
|
|
944
|
+
};
|
|
945
|
+
type ConnectionCredentialsPort = {
|
|
946
|
+
gitCredentials?: (input: GitCredentialsRequest) => Promise<GitCredentials>;
|
|
947
|
+
sandboxSecrets?: (input: SandboxSecretsRequest) => Promise<SandboxSecrets>;
|
|
948
|
+
};
|
|
949
|
+
type GitHubInstallationSummary = {
|
|
950
|
+
installationId: number;
|
|
951
|
+
accountLogin: string | null;
|
|
952
|
+
accountType: string | null;
|
|
953
|
+
suspended: boolean;
|
|
954
|
+
};
|
|
955
|
+
type GitHubAppApiPort = {
|
|
956
|
+
verifyInstallationAccessForUser?: (input: {
|
|
957
|
+
code: string;
|
|
958
|
+
installationId: number;
|
|
959
|
+
}) => Promise<GitHubInstallationSummary>;
|
|
960
|
+
listRepositories?: (input: {
|
|
961
|
+
installationIds?: number[];
|
|
962
|
+
}) => Promise<GitHubRepository[]>;
|
|
963
|
+
};
|
|
827
964
|
declare const BillingBalance: z.ZodObject<{
|
|
828
965
|
accountId: z.ZodString;
|
|
829
966
|
balanceMicros: z.ZodNumber;
|
|
@@ -1018,6 +1155,7 @@ type DocumentSearchRequest = z.infer<typeof DocumentSearchRequest>;
|
|
|
1018
1155
|
declare const ToolRef: z.ZodObject<{
|
|
1019
1156
|
kind: z.ZodLiteral<"mcp">;
|
|
1020
1157
|
id: z.ZodString;
|
|
1158
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
1021
1159
|
}, z.core.$strip>;
|
|
1022
1160
|
type ToolRef = z.infer<typeof ToolRef>;
|
|
1023
1161
|
declare class ResourceRefConflictError extends Error {
|
|
@@ -1194,6 +1332,7 @@ declare const SessionTurn: z.ZodObject<{
|
|
|
1194
1332
|
tools: z.ZodArray<z.ZodObject<{
|
|
1195
1333
|
kind: z.ZodLiteral<"mcp">;
|
|
1196
1334
|
id: z.ZodString;
|
|
1335
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
1197
1336
|
}, z.core.$strip>>;
|
|
1198
1337
|
model: z.ZodString;
|
|
1199
1338
|
reasoningEffort: z.ZodEnum<{
|
|
@@ -1215,6 +1354,7 @@ declare const SessionTurn: z.ZodObject<{
|
|
|
1215
1354
|
blaxel: "blaxel";
|
|
1216
1355
|
cloudflare: "cloudflare";
|
|
1217
1356
|
vercel: "vercel";
|
|
1357
|
+
selfhosted: "selfhosted";
|
|
1218
1358
|
}>;
|
|
1219
1359
|
sandboxOs: z.ZodNullable<z.ZodEnum<{
|
|
1220
1360
|
linux: "linux";
|
|
@@ -1246,6 +1386,7 @@ declare const UpdateSessionTurnRequest: z.ZodObject<{
|
|
|
1246
1386
|
tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1247
1387
|
kind: z.ZodLiteral<"mcp">;
|
|
1248
1388
|
id: z.ZodString;
|
|
1389
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
1249
1390
|
}, z.core.$strip>>>;
|
|
1250
1391
|
model: z.ZodOptional<z.ZodString>;
|
|
1251
1392
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1267,6 +1408,7 @@ declare const UpdateSessionTurnRequest: z.ZodObject<{
|
|
|
1267
1408
|
blaxel: "blaxel";
|
|
1268
1409
|
cloudflare: "cloudflare";
|
|
1269
1410
|
vercel: "vercel";
|
|
1411
|
+
selfhosted: "selfhosted";
|
|
1270
1412
|
}>>;
|
|
1271
1413
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1272
1414
|
}, z.core.$strip>;
|
|
@@ -1388,6 +1530,7 @@ declare const ScheduledTaskAgentConfig: z.ZodObject<{
|
|
|
1388
1530
|
tools: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1389
1531
|
kind: z.ZodLiteral<"mcp">;
|
|
1390
1532
|
id: z.ZodString;
|
|
1533
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
1391
1534
|
}, z.core.$strip>>>;
|
|
1392
1535
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1393
1536
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -1410,6 +1553,7 @@ declare const ScheduledTaskAgentConfig: z.ZodObject<{
|
|
|
1410
1553
|
blaxel: "blaxel";
|
|
1411
1554
|
cloudflare: "cloudflare";
|
|
1412
1555
|
vercel: "vercel";
|
|
1556
|
+
selfhosted: "selfhosted";
|
|
1413
1557
|
}>>;
|
|
1414
1558
|
goal: z.ZodOptional<z.ZodObject<{
|
|
1415
1559
|
text: z.ZodString;
|
|
@@ -1479,6 +1623,7 @@ declare const ScheduledTask: z.ZodObject<{
|
|
|
1479
1623
|
tools: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1480
1624
|
kind: z.ZodLiteral<"mcp">;
|
|
1481
1625
|
id: z.ZodString;
|
|
1626
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
1482
1627
|
}, z.core.$strip>>>;
|
|
1483
1628
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1484
1629
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -1501,6 +1646,7 @@ declare const ScheduledTask: z.ZodObject<{
|
|
|
1501
1646
|
blaxel: "blaxel";
|
|
1502
1647
|
cloudflare: "cloudflare";
|
|
1503
1648
|
vercel: "vercel";
|
|
1649
|
+
selfhosted: "selfhosted";
|
|
1504
1650
|
}>>;
|
|
1505
1651
|
goal: z.ZodOptional<z.ZodObject<{
|
|
1506
1652
|
text: z.ZodString;
|
|
@@ -1591,6 +1737,7 @@ declare const CreateScheduledTaskRequest: z.ZodObject<{
|
|
|
1591
1737
|
tools: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1592
1738
|
kind: z.ZodLiteral<"mcp">;
|
|
1593
1739
|
id: z.ZodString;
|
|
1740
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
1594
1741
|
}, z.core.$strip>>>;
|
|
1595
1742
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1596
1743
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -1613,6 +1760,7 @@ declare const CreateScheduledTaskRequest: z.ZodObject<{
|
|
|
1613
1760
|
blaxel: "blaxel";
|
|
1614
1761
|
cloudflare: "cloudflare";
|
|
1615
1762
|
vercel: "vercel";
|
|
1763
|
+
selfhosted: "selfhosted";
|
|
1616
1764
|
}>>;
|
|
1617
1765
|
goal: z.ZodOptional<z.ZodObject<{
|
|
1618
1766
|
text: z.ZodString;
|
|
@@ -1681,6 +1829,7 @@ declare const UpdateScheduledTaskRequest: z.ZodObject<{
|
|
|
1681
1829
|
tools: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1682
1830
|
kind: z.ZodLiteral<"mcp">;
|
|
1683
1831
|
id: z.ZodString;
|
|
1832
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
1684
1833
|
}, z.core.$strip>>>;
|
|
1685
1834
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1686
1835
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -1703,6 +1852,7 @@ declare const UpdateScheduledTaskRequest: z.ZodObject<{
|
|
|
1703
1852
|
blaxel: "blaxel";
|
|
1704
1853
|
cloudflare: "cloudflare";
|
|
1705
1854
|
vercel: "vercel";
|
|
1855
|
+
selfhosted: "selfhosted";
|
|
1706
1856
|
}>>;
|
|
1707
1857
|
goal: z.ZodOptional<z.ZodObject<{
|
|
1708
1858
|
text: z.ZodString;
|
|
@@ -1831,6 +1981,7 @@ declare const CapabilityPack: z.ZodObject<{
|
|
|
1831
1981
|
tools: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1832
1982
|
kind: z.ZodLiteral<"mcp">;
|
|
1833
1983
|
id: z.ZodString;
|
|
1984
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
1834
1985
|
}, z.core.$strip>>>;
|
|
1835
1986
|
connectors: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1836
1987
|
id: z.ZodString;
|
|
@@ -1920,6 +2071,7 @@ declare const RegisterCapabilityPackRequest: z.ZodObject<{
|
|
|
1920
2071
|
tools: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1921
2072
|
kind: z.ZodLiteral<"mcp">;
|
|
1922
2073
|
id: z.ZodString;
|
|
2074
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
1923
2075
|
}, z.core.$strip>>>;
|
|
1924
2076
|
connectors: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1925
2077
|
id: z.ZodString;
|
|
@@ -2012,6 +2164,7 @@ declare const WorkspaceRegisteredPack: z.ZodObject<{
|
|
|
2012
2164
|
tools: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2013
2165
|
kind: z.ZodLiteral<"mcp">;
|
|
2014
2166
|
id: z.ZodString;
|
|
2167
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
2015
2168
|
}, z.core.$strip>>>;
|
|
2016
2169
|
connectors: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2017
2170
|
id: z.ZodString;
|
|
@@ -2291,6 +2444,7 @@ declare const CapabilityCatalogItem: z.ZodObject<{
|
|
|
2291
2444
|
tools: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2292
2445
|
kind: z.ZodLiteral<"mcp">;
|
|
2293
2446
|
id: z.ZodString;
|
|
2447
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
2294
2448
|
}, z.core.$strip>>>;
|
|
2295
2449
|
runtime: z.ZodDefault<z.ZodObject<{
|
|
2296
2450
|
available: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -2388,6 +2542,7 @@ declare const CapabilityCatalogResponse: z.ZodObject<{
|
|
|
2388
2542
|
tools: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2389
2543
|
kind: z.ZodLiteral<"mcp">;
|
|
2390
2544
|
id: z.ZodString;
|
|
2545
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
2391
2546
|
}, z.core.$strip>>>;
|
|
2392
2547
|
runtime: z.ZodDefault<z.ZodObject<{
|
|
2393
2548
|
available: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -2453,6 +2608,7 @@ declare const DiscoverMcpCapabilitiesResponse: z.ZodObject<{
|
|
|
2453
2608
|
tools: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2454
2609
|
kind: z.ZodLiteral<"mcp">;
|
|
2455
2610
|
id: z.ZodString;
|
|
2611
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
2456
2612
|
}, z.core.$strip>>>;
|
|
2457
2613
|
runtime: z.ZodDefault<z.ZodObject<{
|
|
2458
2614
|
available: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -2504,6 +2660,7 @@ declare const Session: z.ZodObject<{
|
|
|
2504
2660
|
tools: z.ZodArray<z.ZodObject<{
|
|
2505
2661
|
kind: z.ZodLiteral<"mcp">;
|
|
2506
2662
|
id: z.ZodString;
|
|
2663
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
2507
2664
|
}, z.core.$strip>>;
|
|
2508
2665
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2509
2666
|
model: z.ZodString;
|
|
@@ -2518,6 +2675,7 @@ declare const Session: z.ZodObject<{
|
|
|
2518
2675
|
blaxel: "blaxel";
|
|
2519
2676
|
cloudflare: "cloudflare";
|
|
2520
2677
|
vercel: "vercel";
|
|
2678
|
+
selfhosted: "selfhosted";
|
|
2521
2679
|
}>;
|
|
2522
2680
|
sandboxOs: z.ZodEnum<{
|
|
2523
2681
|
linux: "linux";
|
|
@@ -2525,6 +2683,8 @@ declare const Session: z.ZodObject<{
|
|
|
2525
2683
|
windows: "windows";
|
|
2526
2684
|
}>;
|
|
2527
2685
|
sandboxGroupId: z.ZodString;
|
|
2686
|
+
activeSandboxId: z.ZodNullable<z.ZodString>;
|
|
2687
|
+
activeEpoch: z.ZodNumber;
|
|
2528
2688
|
environmentId: z.ZodNullable<z.ZodString>;
|
|
2529
2689
|
firstPartyMcpPermissions: z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
2530
2690
|
"account:read": "account:read";
|
|
@@ -2555,6 +2715,8 @@ declare const Session: z.ZodObject<{
|
|
|
2555
2715
|
"environments:manage": "environments:manage";
|
|
2556
2716
|
"environments:use": "environments:use";
|
|
2557
2717
|
"goals:manage": "goals:manage";
|
|
2718
|
+
"enrollments:read": "enrollments:read";
|
|
2719
|
+
"enrollments:manage": "enrollments:manage";
|
|
2558
2720
|
}>>>;
|
|
2559
2721
|
parentSessionId: z.ZodNullable<z.ZodString>;
|
|
2560
2722
|
createIdempotencyKey: z.ZodNullable<z.ZodString>;
|
|
@@ -2562,6 +2724,8 @@ declare const Session: z.ZodObject<{
|
|
|
2562
2724
|
activeTurnId: z.ZodNullable<z.ZodString>;
|
|
2563
2725
|
lastInputTokens: z.ZodNullable<z.ZodNumber>;
|
|
2564
2726
|
lastSequence: z.ZodNumber;
|
|
2727
|
+
codexPinnedCredentialId: z.ZodNullable<z.ZodString>;
|
|
2728
|
+
codexLastCredentialId: z.ZodNullable<z.ZodString>;
|
|
2565
2729
|
createdAt: z.ZodString;
|
|
2566
2730
|
updatedAt: z.ZodString;
|
|
2567
2731
|
}, z.core.$strip>;
|
|
@@ -2612,6 +2776,7 @@ declare const SessionEventType: z.ZodEnum<{
|
|
|
2612
2776
|
"terminal.pty.output.delta": "terminal.pty.output.delta";
|
|
2613
2777
|
"terminal.pty.exited": "terminal.pty.exited";
|
|
2614
2778
|
"session.title_set": "session.title_set";
|
|
2779
|
+
"codex.account.switched": "codex.account.switched";
|
|
2615
2780
|
}>;
|
|
2616
2781
|
type SessionEventType = z.infer<typeof SessionEventType>;
|
|
2617
2782
|
declare const StreamUrlRotatedPayload: z.ZodObject<{
|
|
@@ -3368,6 +3533,7 @@ declare const SessionEvent: z.ZodObject<{
|
|
|
3368
3533
|
"terminal.pty.output.delta": "terminal.pty.output.delta";
|
|
3369
3534
|
"terminal.pty.exited": "terminal.pty.exited";
|
|
3370
3535
|
"session.title_set": "session.title_set";
|
|
3536
|
+
"codex.account.switched": "codex.account.switched";
|
|
3371
3537
|
}>;
|
|
3372
3538
|
payload: z.ZodDefault<z.ZodUnknown>;
|
|
3373
3539
|
occurredAt: z.ZodString;
|
|
@@ -3393,6 +3559,7 @@ declare const CreateSessionRequest: z.ZodObject<{
|
|
|
3393
3559
|
tools: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3394
3560
|
kind: z.ZodLiteral<"mcp">;
|
|
3395
3561
|
id: z.ZodString;
|
|
3562
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
3396
3563
|
}, z.core.$strip>>>;
|
|
3397
3564
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3398
3565
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -3415,7 +3582,10 @@ declare const CreateSessionRequest: z.ZodObject<{
|
|
|
3415
3582
|
blaxel: "blaxel";
|
|
3416
3583
|
cloudflare: "cloudflare";
|
|
3417
3584
|
vercel: "vercel";
|
|
3585
|
+
selfhosted: "selfhosted";
|
|
3418
3586
|
}>>;
|
|
3587
|
+
targetSandboxId: z.ZodOptional<z.ZodString>;
|
|
3588
|
+
workingDir: z.ZodOptional<z.ZodString>;
|
|
3419
3589
|
environmentId: z.ZodOptional<z.ZodString>;
|
|
3420
3590
|
goal: z.ZodOptional<z.ZodObject<{
|
|
3421
3591
|
text: z.ZodString;
|
|
@@ -3453,6 +3623,8 @@ declare const CreateSessionRequest: z.ZodObject<{
|
|
|
3453
3623
|
"environments:manage": "environments:manage";
|
|
3454
3624
|
"environments:use": "environments:use";
|
|
3455
3625
|
"goals:manage": "goals:manage";
|
|
3626
|
+
"enrollments:read": "enrollments:read";
|
|
3627
|
+
"enrollments:manage": "enrollments:manage";
|
|
3456
3628
|
}>>>;
|
|
3457
3629
|
sandbox: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"shared">, z.ZodLiteral<"new">, z.ZodObject<{
|
|
3458
3630
|
groupId: z.ZodString;
|
|
@@ -3480,6 +3652,7 @@ declare const ClientSessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3480
3652
|
tools: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3481
3653
|
kind: z.ZodLiteral<"mcp">;
|
|
3482
3654
|
id: z.ZodString;
|
|
3655
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
3483
3656
|
}, z.core.$strip>>>;
|
|
3484
3657
|
model: z.ZodOptional<z.ZodString>;
|
|
3485
3658
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
@@ -3564,6 +3737,7 @@ declare const SessionBusMessage: z.ZodObject<{
|
|
|
3564
3737
|
"terminal.pty.output.delta": "terminal.pty.output.delta";
|
|
3565
3738
|
"terminal.pty.exited": "terminal.pty.exited";
|
|
3566
3739
|
"session.title_set": "session.title_set";
|
|
3740
|
+
"codex.account.switched": "codex.account.switched";
|
|
3567
3741
|
}>;
|
|
3568
3742
|
payload: z.ZodDefault<z.ZodUnknown>;
|
|
3569
3743
|
occurredAt: z.ZodString;
|
|
@@ -3613,6 +3787,10 @@ declare const CapabilityUnavailableReason: z.ZodEnum<{
|
|
|
3613
3787
|
disabled_by_policy: "disabled_by_policy";
|
|
3614
3788
|
lease_cold: "lease_cold";
|
|
3615
3789
|
tier_headless: "tier_headless";
|
|
3790
|
+
agent_offline: "agent_offline";
|
|
3791
|
+
agent_reconnecting: "agent_reconnecting";
|
|
3792
|
+
consent_required: "consent_required";
|
|
3793
|
+
display_unavailable: "display_unavailable";
|
|
3616
3794
|
}>;
|
|
3617
3795
|
type CapabilityUnavailableReason = z.infer<typeof CapabilityUnavailableReason>;
|
|
3618
3796
|
declare const SessionCapabilities: z.ZodObject<{
|
|
@@ -3628,6 +3806,7 @@ declare const SessionCapabilities: z.ZodObject<{
|
|
|
3628
3806
|
blaxel: "blaxel";
|
|
3629
3807
|
cloudflare: "cloudflare";
|
|
3630
3808
|
vercel: "vercel";
|
|
3809
|
+
selfhosted: "selfhosted";
|
|
3631
3810
|
}>;
|
|
3632
3811
|
os: z.ZodEnum<{
|
|
3633
3812
|
linux: "linux";
|
|
@@ -3661,6 +3840,10 @@ declare const SessionCapabilities: z.ZodObject<{
|
|
|
3661
3840
|
disabled_by_policy: "disabled_by_policy";
|
|
3662
3841
|
lease_cold: "lease_cold";
|
|
3663
3842
|
tier_headless: "tier_headless";
|
|
3843
|
+
agent_offline: "agent_offline";
|
|
3844
|
+
agent_reconnecting: "agent_reconnecting";
|
|
3845
|
+
consent_required: "consent_required";
|
|
3846
|
+
display_unavailable: "display_unavailable";
|
|
3664
3847
|
}>>;
|
|
3665
3848
|
}, z.core.$strip>;
|
|
3666
3849
|
Terminal: z.ZodObject<{
|
|
@@ -3680,6 +3863,10 @@ declare const SessionCapabilities: z.ZodObject<{
|
|
|
3680
3863
|
disabled_by_policy: "disabled_by_policy";
|
|
3681
3864
|
lease_cold: "lease_cold";
|
|
3682
3865
|
tier_headless: "tier_headless";
|
|
3866
|
+
agent_offline: "agent_offline";
|
|
3867
|
+
agent_reconnecting: "agent_reconnecting";
|
|
3868
|
+
consent_required: "consent_required";
|
|
3869
|
+
display_unavailable: "display_unavailable";
|
|
3683
3870
|
}>>;
|
|
3684
3871
|
}, z.core.$strip>;
|
|
3685
3872
|
Git: z.ZodObject<{
|
|
@@ -3692,6 +3879,10 @@ declare const SessionCapabilities: z.ZodObject<{
|
|
|
3692
3879
|
disabled_by_policy: "disabled_by_policy";
|
|
3693
3880
|
lease_cold: "lease_cold";
|
|
3694
3881
|
tier_headless: "tier_headless";
|
|
3882
|
+
agent_offline: "agent_offline";
|
|
3883
|
+
agent_reconnecting: "agent_reconnecting";
|
|
3884
|
+
consent_required: "consent_required";
|
|
3885
|
+
display_unavailable: "display_unavailable";
|
|
3695
3886
|
}>>;
|
|
3696
3887
|
}, z.core.$strip>;
|
|
3697
3888
|
DesktopStream: z.ZodObject<{
|
|
@@ -3699,10 +3890,12 @@ declare const SessionCapabilities: z.ZodObject<{
|
|
|
3699
3890
|
"vnc-ws": "vnc-ws";
|
|
3700
3891
|
"rdp-ws": "rdp-ws";
|
|
3701
3892
|
webrtc: "webrtc";
|
|
3893
|
+
"relay-frames": "relay-frames";
|
|
3702
3894
|
}>>;
|
|
3703
3895
|
client: z.ZodNullable<z.ZodEnum<{
|
|
3704
3896
|
novnc: "novnc";
|
|
3705
3897
|
"web-rdp": "web-rdp";
|
|
3898
|
+
frames: "frames";
|
|
3706
3899
|
}>>;
|
|
3707
3900
|
mode: z.ZodDefault<z.ZodEnum<{
|
|
3708
3901
|
"read-only": "read-only";
|
|
@@ -3724,6 +3917,10 @@ declare const SessionCapabilities: z.ZodObject<{
|
|
|
3724
3917
|
disabled_by_policy: "disabled_by_policy";
|
|
3725
3918
|
lease_cold: "lease_cold";
|
|
3726
3919
|
tier_headless: "tier_headless";
|
|
3920
|
+
agent_offline: "agent_offline";
|
|
3921
|
+
agent_reconnecting: "agent_reconnecting";
|
|
3922
|
+
consent_required: "consent_required";
|
|
3923
|
+
display_unavailable: "display_unavailable";
|
|
3727
3924
|
}>>;
|
|
3728
3925
|
}, z.core.$strip>;
|
|
3729
3926
|
Recording: z.ZodObject<{
|
|
@@ -3744,6 +3941,10 @@ declare const SessionCapabilities: z.ZodObject<{
|
|
|
3744
3941
|
disabled_by_policy: "disabled_by_policy";
|
|
3745
3942
|
lease_cold: "lease_cold";
|
|
3746
3943
|
tier_headless: "tier_headless";
|
|
3944
|
+
agent_offline: "agent_offline";
|
|
3945
|
+
agent_reconnecting: "agent_reconnecting";
|
|
3946
|
+
consent_required: "consent_required";
|
|
3947
|
+
display_unavailable: "display_unavailable";
|
|
3747
3948
|
}>>;
|
|
3748
3949
|
}, z.core.$strip>;
|
|
3749
3950
|
ComputerUse: z.ZodObject<{
|
|
@@ -3756,6 +3957,10 @@ declare const SessionCapabilities: z.ZodObject<{
|
|
|
3756
3957
|
disabled_by_policy: "disabled_by_policy";
|
|
3757
3958
|
lease_cold: "lease_cold";
|
|
3758
3959
|
tier_headless: "tier_headless";
|
|
3960
|
+
agent_offline: "agent_offline";
|
|
3961
|
+
agent_reconnecting: "agent_reconnecting";
|
|
3962
|
+
consent_required: "consent_required";
|
|
3963
|
+
display_unavailable: "display_unavailable";
|
|
3759
3964
|
}>>;
|
|
3760
3965
|
}, z.core.$strip>;
|
|
3761
3966
|
negotiatedAt: z.ZodString;
|
|
@@ -3798,6 +4003,419 @@ declare const ViewerHeartbeatResponse: z.ZodObject<{
|
|
|
3798
4003
|
alive: z.ZodBoolean;
|
|
3799
4004
|
}, z.core.$strip>;
|
|
3800
4005
|
type ViewerHeartbeatResponse = z.infer<typeof ViewerHeartbeatResponse>;
|
|
4006
|
+
declare const EnrollmentOs: z.ZodEnum<{
|
|
4007
|
+
linux: "linux";
|
|
4008
|
+
macos: "macos";
|
|
4009
|
+
windows: "windows";
|
|
4010
|
+
}>;
|
|
4011
|
+
type EnrollmentOs = z.infer<typeof EnrollmentOs>;
|
|
4012
|
+
declare const EnrollmentArch: z.ZodEnum<{
|
|
4013
|
+
x86_64: "x86_64";
|
|
4014
|
+
aarch64: "aarch64";
|
|
4015
|
+
}>;
|
|
4016
|
+
type EnrollmentArch = z.infer<typeof EnrollmentArch>;
|
|
4017
|
+
declare const DeviceEnrollmentStartRequest: z.ZodObject<{
|
|
4018
|
+
publicKey: z.ZodString;
|
|
4019
|
+
os: z.ZodDefault<z.ZodEnum<{
|
|
4020
|
+
linux: "linux";
|
|
4021
|
+
macos: "macos";
|
|
4022
|
+
windows: "windows";
|
|
4023
|
+
}>>;
|
|
4024
|
+
arch: z.ZodDefault<z.ZodEnum<{
|
|
4025
|
+
x86_64: "x86_64";
|
|
4026
|
+
aarch64: "aarch64";
|
|
4027
|
+
}>>;
|
|
4028
|
+
machineName: z.ZodOptional<z.ZodString>;
|
|
4029
|
+
exposure: z.ZodDefault<z.ZodLiteral<"whole-machine">>;
|
|
4030
|
+
canOfferDisplay: z.ZodDefault<z.ZodBoolean>;
|
|
4031
|
+
requestsScreenControl: z.ZodDefault<z.ZodBoolean>;
|
|
4032
|
+
workspaceId: z.ZodString;
|
|
4033
|
+
}, z.core.$strip>;
|
|
4034
|
+
type DeviceEnrollmentStartRequest = z.infer<typeof DeviceEnrollmentStartRequest>;
|
|
4035
|
+
declare const DeviceEnrollmentStartResponse: z.ZodObject<{
|
|
4036
|
+
deviceCode: z.ZodString;
|
|
4037
|
+
userCode: z.ZodString;
|
|
4038
|
+
verificationUri: z.ZodString;
|
|
4039
|
+
verificationUriComplete: z.ZodString;
|
|
4040
|
+
intervalSeconds: z.ZodNumber;
|
|
4041
|
+
expiresInSeconds: z.ZodNumber;
|
|
4042
|
+
}, z.core.$strip>;
|
|
4043
|
+
type DeviceEnrollmentStartResponse = z.infer<typeof DeviceEnrollmentStartResponse>;
|
|
4044
|
+
declare const DeviceEnrollmentApproveRequest: z.ZodObject<{
|
|
4045
|
+
userCode: z.ZodString;
|
|
4046
|
+
allowScreenControl: z.ZodDefault<z.ZodBoolean>;
|
|
4047
|
+
}, z.core.$strip>;
|
|
4048
|
+
type DeviceEnrollmentApproveRequest = z.infer<typeof DeviceEnrollmentApproveRequest>;
|
|
4049
|
+
declare const DeviceEnrollmentApproveResponse: z.ZodObject<{
|
|
4050
|
+
approved: z.ZodBoolean;
|
|
4051
|
+
enrollmentId: z.ZodString;
|
|
4052
|
+
sandboxId: z.ZodString;
|
|
4053
|
+
allowScreenControl: z.ZodBoolean;
|
|
4054
|
+
}, z.core.$strip>;
|
|
4055
|
+
type DeviceEnrollmentApproveResponse = z.infer<typeof DeviceEnrollmentApproveResponse>;
|
|
4056
|
+
declare const DeviceEnrollmentPollRequest: z.ZodObject<{
|
|
4057
|
+
deviceCode: z.ZodString;
|
|
4058
|
+
}, z.core.$strip>;
|
|
4059
|
+
type DeviceEnrollmentPollRequest = z.infer<typeof DeviceEnrollmentPollRequest>;
|
|
4060
|
+
declare const DeviceEnrollmentState: z.ZodEnum<{
|
|
4061
|
+
disabled: "disabled";
|
|
4062
|
+
expired: "expired";
|
|
4063
|
+
pending: "pending";
|
|
4064
|
+
authorized: "authorized";
|
|
4065
|
+
denied: "denied";
|
|
4066
|
+
}>;
|
|
4067
|
+
type DeviceEnrollmentState = z.infer<typeof DeviceEnrollmentState>;
|
|
4068
|
+
declare const EnrollmentCredentialsResponse: z.ZodObject<{
|
|
4069
|
+
agentId: z.ZodString;
|
|
4070
|
+
workspaceId: z.ZodString;
|
|
4071
|
+
bearer: z.ZodString;
|
|
4072
|
+
subjectPrefix: z.ZodString;
|
|
4073
|
+
natsUrls: z.ZodArray<z.ZodString>;
|
|
4074
|
+
relayUrl: z.ZodString;
|
|
4075
|
+
relayToken: z.ZodString;
|
|
4076
|
+
natsAccountCreds: z.ZodString;
|
|
4077
|
+
updatePublicKey: z.ZodString;
|
|
4078
|
+
consentedWholeMachine: z.ZodBoolean;
|
|
4079
|
+
consentedScreenControl: z.ZodBoolean;
|
|
4080
|
+
}, z.core.$strip>;
|
|
4081
|
+
type EnrollmentCredentialsResponse = z.infer<typeof EnrollmentCredentialsResponse>;
|
|
4082
|
+
declare const DeviceEnrollmentPollResponse: z.ZodObject<{
|
|
4083
|
+
state: z.ZodEnum<{
|
|
4084
|
+
disabled: "disabled";
|
|
4085
|
+
expired: "expired";
|
|
4086
|
+
pending: "pending";
|
|
4087
|
+
authorized: "authorized";
|
|
4088
|
+
denied: "denied";
|
|
4089
|
+
}>;
|
|
4090
|
+
credentials: z.ZodOptional<z.ZodObject<{
|
|
4091
|
+
agentId: z.ZodString;
|
|
4092
|
+
workspaceId: z.ZodString;
|
|
4093
|
+
bearer: z.ZodString;
|
|
4094
|
+
subjectPrefix: z.ZodString;
|
|
4095
|
+
natsUrls: z.ZodArray<z.ZodString>;
|
|
4096
|
+
relayUrl: z.ZodString;
|
|
4097
|
+
relayToken: z.ZodString;
|
|
4098
|
+
natsAccountCreds: z.ZodString;
|
|
4099
|
+
updatePublicKey: z.ZodString;
|
|
4100
|
+
consentedWholeMachine: z.ZodBoolean;
|
|
4101
|
+
consentedScreenControl: z.ZodBoolean;
|
|
4102
|
+
}, z.core.$strip>>;
|
|
4103
|
+
}, z.core.$strip>;
|
|
4104
|
+
type DeviceEnrollmentPollResponse = z.infer<typeof DeviceEnrollmentPollResponse>;
|
|
4105
|
+
declare const EnrollmentSummary: z.ZodObject<{
|
|
4106
|
+
id: z.ZodString;
|
|
4107
|
+
pubkey: z.ZodString;
|
|
4108
|
+
exposure: z.ZodLiteral<"whole-machine">;
|
|
4109
|
+
hasDisplay: z.ZodBoolean;
|
|
4110
|
+
allowScreenControl: z.ZodBoolean;
|
|
4111
|
+
status: z.ZodEnum<{
|
|
4112
|
+
active: "active";
|
|
4113
|
+
revoked: "revoked";
|
|
4114
|
+
}>;
|
|
4115
|
+
os: z.ZodEnum<{
|
|
4116
|
+
linux: "linux";
|
|
4117
|
+
macos: "macos";
|
|
4118
|
+
windows: "windows";
|
|
4119
|
+
}>;
|
|
4120
|
+
arch: z.ZodString;
|
|
4121
|
+
lastSeenAt: z.ZodNullable<z.ZodString>;
|
|
4122
|
+
createdAt: z.ZodString;
|
|
4123
|
+
revokedAt: z.ZodNullable<z.ZodString>;
|
|
4124
|
+
}, z.core.$strip>;
|
|
4125
|
+
type EnrollmentSummary = z.infer<typeof EnrollmentSummary>;
|
|
4126
|
+
declare const ListEnrollmentsResponse: z.ZodObject<{
|
|
4127
|
+
enrollments: z.ZodArray<z.ZodObject<{
|
|
4128
|
+
id: z.ZodString;
|
|
4129
|
+
pubkey: z.ZodString;
|
|
4130
|
+
exposure: z.ZodLiteral<"whole-machine">;
|
|
4131
|
+
hasDisplay: z.ZodBoolean;
|
|
4132
|
+
allowScreenControl: z.ZodBoolean;
|
|
4133
|
+
status: z.ZodEnum<{
|
|
4134
|
+
active: "active";
|
|
4135
|
+
revoked: "revoked";
|
|
4136
|
+
}>;
|
|
4137
|
+
os: z.ZodEnum<{
|
|
4138
|
+
linux: "linux";
|
|
4139
|
+
macos: "macos";
|
|
4140
|
+
windows: "windows";
|
|
4141
|
+
}>;
|
|
4142
|
+
arch: z.ZodString;
|
|
4143
|
+
lastSeenAt: z.ZodNullable<z.ZodString>;
|
|
4144
|
+
createdAt: z.ZodString;
|
|
4145
|
+
revokedAt: z.ZodNullable<z.ZodString>;
|
|
4146
|
+
}, z.core.$strip>>;
|
|
4147
|
+
}, z.core.$strip>;
|
|
4148
|
+
type ListEnrollmentsResponse = z.infer<typeof ListEnrollmentsResponse>;
|
|
4149
|
+
declare const RevokeEnrollmentResponse: z.ZodObject<{
|
|
4150
|
+
revoked: z.ZodBoolean;
|
|
4151
|
+
}, z.core.$strip>;
|
|
4152
|
+
type RevokeEnrollmentResponse = z.infer<typeof RevokeEnrollmentResponse>;
|
|
4153
|
+
declare const DeviceEnrollmentLookupRequest: z.ZodObject<{
|
|
4154
|
+
userCode: z.ZodString;
|
|
4155
|
+
}, z.core.$strip>;
|
|
4156
|
+
type DeviceEnrollmentLookupRequest = z.infer<typeof DeviceEnrollmentLookupRequest>;
|
|
4157
|
+
declare const DeviceEnrollmentLookupMachine: z.ZodObject<{
|
|
4158
|
+
machineName: z.ZodNullable<z.ZodString>;
|
|
4159
|
+
os: z.ZodEnum<{
|
|
4160
|
+
linux: "linux";
|
|
4161
|
+
macos: "macos";
|
|
4162
|
+
windows: "windows";
|
|
4163
|
+
}>;
|
|
4164
|
+
arch: z.ZodString;
|
|
4165
|
+
canOfferDisplay: z.ZodBoolean;
|
|
4166
|
+
requestsScreenControl: z.ZodBoolean;
|
|
4167
|
+
}, z.core.$strip>;
|
|
4168
|
+
type DeviceEnrollmentLookupMachine = z.infer<typeof DeviceEnrollmentLookupMachine>;
|
|
4169
|
+
declare const DeviceEnrollmentLookupResponse: z.ZodObject<{
|
|
4170
|
+
workspaceId: z.ZodString;
|
|
4171
|
+
userCode: z.ZodString;
|
|
4172
|
+
machine: z.ZodObject<{
|
|
4173
|
+
machineName: z.ZodNullable<z.ZodString>;
|
|
4174
|
+
os: z.ZodEnum<{
|
|
4175
|
+
linux: "linux";
|
|
4176
|
+
macos: "macos";
|
|
4177
|
+
windows: "windows";
|
|
4178
|
+
}>;
|
|
4179
|
+
arch: z.ZodString;
|
|
4180
|
+
canOfferDisplay: z.ZodBoolean;
|
|
4181
|
+
requestsScreenControl: z.ZodBoolean;
|
|
4182
|
+
}, z.core.$strip>;
|
|
4183
|
+
expiresAt: z.ZodString;
|
|
4184
|
+
}, z.core.$strip>;
|
|
4185
|
+
type DeviceEnrollmentLookupResponse = z.infer<typeof DeviceEnrollmentLookupResponse>;
|
|
4186
|
+
declare const DeviceEnrollmentDenyRequest: z.ZodObject<{
|
|
4187
|
+
userCode: z.ZodString;
|
|
4188
|
+
}, z.core.$strip>;
|
|
4189
|
+
type DeviceEnrollmentDenyRequest = z.infer<typeof DeviceEnrollmentDenyRequest>;
|
|
4190
|
+
declare const DeviceEnrollmentDenyResponse: z.ZodObject<{
|
|
4191
|
+
denied: z.ZodBoolean;
|
|
4192
|
+
}, z.core.$strip>;
|
|
4193
|
+
type DeviceEnrollmentDenyResponse = z.infer<typeof DeviceEnrollmentDenyResponse>;
|
|
4194
|
+
declare const MintEnrollTokenRequest: z.ZodObject<{
|
|
4195
|
+
allowScreenControl: z.ZodDefault<z.ZodBoolean>;
|
|
4196
|
+
}, z.core.$strip>;
|
|
4197
|
+
type MintEnrollTokenRequest = z.infer<typeof MintEnrollTokenRequest>;
|
|
4198
|
+
declare const MintEnrollTokenResponse: z.ZodObject<{
|
|
4199
|
+
token: z.ZodString;
|
|
4200
|
+
expiresAt: z.ZodString;
|
|
4201
|
+
expiresInSeconds: z.ZodNumber;
|
|
4202
|
+
}, z.core.$strip>;
|
|
4203
|
+
type MintEnrollTokenResponse = z.infer<typeof MintEnrollTokenResponse>;
|
|
4204
|
+
declare const EnrollTokenExchangeRequest: z.ZodObject<{
|
|
4205
|
+
token: z.ZodString;
|
|
4206
|
+
publicKey: z.ZodString;
|
|
4207
|
+
os: z.ZodDefault<z.ZodEnum<{
|
|
4208
|
+
linux: "linux";
|
|
4209
|
+
macos: "macos";
|
|
4210
|
+
windows: "windows";
|
|
4211
|
+
}>>;
|
|
4212
|
+
arch: z.ZodDefault<z.ZodEnum<{
|
|
4213
|
+
x86_64: "x86_64";
|
|
4214
|
+
aarch64: "aarch64";
|
|
4215
|
+
}>>;
|
|
4216
|
+
machineName: z.ZodOptional<z.ZodString>;
|
|
4217
|
+
exposure: z.ZodDefault<z.ZodLiteral<"whole-machine">>;
|
|
4218
|
+
canOfferDisplay: z.ZodDefault<z.ZodBoolean>;
|
|
4219
|
+
requestsScreenControl: z.ZodDefault<z.ZodBoolean>;
|
|
4220
|
+
}, z.core.$strip>;
|
|
4221
|
+
type EnrollTokenExchangeRequest = z.infer<typeof EnrollTokenExchangeRequest>;
|
|
4222
|
+
declare const EnrollTokenExchangeResponse: z.ZodObject<{
|
|
4223
|
+
credentials: z.ZodObject<{
|
|
4224
|
+
agentId: z.ZodString;
|
|
4225
|
+
workspaceId: z.ZodString;
|
|
4226
|
+
bearer: z.ZodString;
|
|
4227
|
+
subjectPrefix: z.ZodString;
|
|
4228
|
+
natsUrls: z.ZodArray<z.ZodString>;
|
|
4229
|
+
relayUrl: z.ZodString;
|
|
4230
|
+
relayToken: z.ZodString;
|
|
4231
|
+
natsAccountCreds: z.ZodString;
|
|
4232
|
+
updatePublicKey: z.ZodString;
|
|
4233
|
+
consentedWholeMachine: z.ZodBoolean;
|
|
4234
|
+
consentedScreenControl: z.ZodBoolean;
|
|
4235
|
+
}, z.core.$strip>;
|
|
4236
|
+
}, z.core.$strip>;
|
|
4237
|
+
type EnrollTokenExchangeResponse = z.infer<typeof EnrollTokenExchangeResponse>;
|
|
4238
|
+
/**
|
|
4239
|
+
* A point-in-time machine metrics sample as the dashboard reads it. `cpuPct` and
|
|
4240
|
+
* the load averages are 0..N doubles; the byte figures are integers; `gpuUtilPct`
|
|
4241
|
+
* / `gpuMemBytes` are null when no GPU was present at sample time (the wire
|
|
4242
|
+
* contract: absence == not-reported, NEVER a real zero). `runQueue` is the
|
|
4243
|
+
* runnable-count contention signal. `sampledAt` is an ISO-8601 instant.
|
|
4244
|
+
*/
|
|
4245
|
+
declare const MetricSample: z.ZodObject<{
|
|
4246
|
+
cpuPct: z.ZodNumber;
|
|
4247
|
+
load1: z.ZodNumber;
|
|
4248
|
+
load5: z.ZodNumber;
|
|
4249
|
+
load15: z.ZodNumber;
|
|
4250
|
+
memUsedBytes: z.ZodNumber;
|
|
4251
|
+
memTotalBytes: z.ZodNumber;
|
|
4252
|
+
diskUsedBytes: z.ZodNumber;
|
|
4253
|
+
diskTotalBytes: z.ZodNumber;
|
|
4254
|
+
gpuUtilPct: z.ZodNullable<z.ZodNumber>;
|
|
4255
|
+
gpuMemBytes: z.ZodNullable<z.ZodNumber>;
|
|
4256
|
+
runQueue: z.ZodNumber;
|
|
4257
|
+
sampledAt: z.ZodString;
|
|
4258
|
+
}, z.core.$strip>;
|
|
4259
|
+
type MetricSample = z.infer<typeof MetricSample>;
|
|
4260
|
+
/** The derived dashboard state of a machine. The M3 liveness
|
|
4261
|
+
* (online/reconnecting/offline) plus the enrollment-derived consent/display
|
|
4262
|
+
* reasons (consent_required / display_unavailable) and the in-flight device-flow
|
|
4263
|
+
* (enrolling). */
|
|
4264
|
+
declare const MachineState: z.ZodEnum<{
|
|
4265
|
+
consent_required: "consent_required";
|
|
4266
|
+
display_unavailable: "display_unavailable";
|
|
4267
|
+
online: "online";
|
|
4268
|
+
reconnecting: "reconnecting";
|
|
4269
|
+
offline: "offline";
|
|
4270
|
+
enrolling: "enrolling";
|
|
4271
|
+
}>;
|
|
4272
|
+
type MachineState = z.infer<typeof MachineState>;
|
|
4273
|
+
declare const MachineKind: z.ZodEnum<{
|
|
4274
|
+
modal: "modal";
|
|
4275
|
+
selfhosted: "selfhosted";
|
|
4276
|
+
}>;
|
|
4277
|
+
type MachineKind = z.infer<typeof MachineKind>;
|
|
4278
|
+
/**
|
|
4279
|
+
* A machine as the Machines dashboard renders it. The workspace's enrolled
|
|
4280
|
+
* selfhosted machines PLUS the session's synthetic Modal group box
|
|
4281
|
+
* (`isSessionGroup: true`). `active` marks the session's currently-active
|
|
4282
|
+
* routing target. `sharedSessionCount` is the lease refcount (how many sessions
|
|
4283
|
+
* share this whole machine). `metrics` is the latest sample, or null when none
|
|
4284
|
+
* has landed yet (just enrolled / offline before a first heartbeat).
|
|
4285
|
+
*/
|
|
4286
|
+
declare const MachineView: z.ZodObject<{
|
|
4287
|
+
sandboxId: z.ZodString;
|
|
4288
|
+
enrollmentId: z.ZodNullable<z.ZodString>;
|
|
4289
|
+
name: z.ZodString;
|
|
4290
|
+
kind: z.ZodEnum<{
|
|
4291
|
+
modal: "modal";
|
|
4292
|
+
selfhosted: "selfhosted";
|
|
4293
|
+
}>;
|
|
4294
|
+
state: z.ZodEnum<{
|
|
4295
|
+
consent_required: "consent_required";
|
|
4296
|
+
display_unavailable: "display_unavailable";
|
|
4297
|
+
online: "online";
|
|
4298
|
+
reconnecting: "reconnecting";
|
|
4299
|
+
offline: "offline";
|
|
4300
|
+
enrolling: "enrolling";
|
|
4301
|
+
}>;
|
|
4302
|
+
active: z.ZodBoolean;
|
|
4303
|
+
isSessionGroup: z.ZodBoolean;
|
|
4304
|
+
os: z.ZodString;
|
|
4305
|
+
arch: z.ZodString;
|
|
4306
|
+
hasDisplay: z.ZodBoolean;
|
|
4307
|
+
allowScreenControl: z.ZodBoolean;
|
|
4308
|
+
sharedSessionCount: z.ZodNumber;
|
|
4309
|
+
lastSeenAt: z.ZodNullable<z.ZodString>;
|
|
4310
|
+
metrics: z.ZodNullable<z.ZodObject<{
|
|
4311
|
+
cpuPct: z.ZodNumber;
|
|
4312
|
+
load1: z.ZodNumber;
|
|
4313
|
+
load5: z.ZodNumber;
|
|
4314
|
+
load15: z.ZodNumber;
|
|
4315
|
+
memUsedBytes: z.ZodNumber;
|
|
4316
|
+
memTotalBytes: z.ZodNumber;
|
|
4317
|
+
diskUsedBytes: z.ZodNumber;
|
|
4318
|
+
diskTotalBytes: z.ZodNumber;
|
|
4319
|
+
gpuUtilPct: z.ZodNullable<z.ZodNumber>;
|
|
4320
|
+
gpuMemBytes: z.ZodNullable<z.ZodNumber>;
|
|
4321
|
+
runQueue: z.ZodNumber;
|
|
4322
|
+
sampledAt: z.ZodString;
|
|
4323
|
+
}, z.core.$strip>>;
|
|
4324
|
+
}, z.core.$strip>;
|
|
4325
|
+
type MachineView = z.infer<typeof MachineView>;
|
|
4326
|
+
/**
|
|
4327
|
+
* GET /v1/workspaces/:ws/machines — the dashboard list. `activeSandboxId` /
|
|
4328
|
+
* `activeEpoch` echo the session's epoch-fenced active-sandbox pointer (null
|
|
4329
|
+
* activeSandboxId == the session's own group box is active).
|
|
4330
|
+
*/
|
|
4331
|
+
declare const MachinesResponse: z.ZodObject<{
|
|
4332
|
+
activeSandboxId: z.ZodNullable<z.ZodString>;
|
|
4333
|
+
activeEpoch: z.ZodNumber;
|
|
4334
|
+
machines: z.ZodArray<z.ZodObject<{
|
|
4335
|
+
sandboxId: z.ZodString;
|
|
4336
|
+
enrollmentId: z.ZodNullable<z.ZodString>;
|
|
4337
|
+
name: z.ZodString;
|
|
4338
|
+
kind: z.ZodEnum<{
|
|
4339
|
+
modal: "modal";
|
|
4340
|
+
selfhosted: "selfhosted";
|
|
4341
|
+
}>;
|
|
4342
|
+
state: z.ZodEnum<{
|
|
4343
|
+
consent_required: "consent_required";
|
|
4344
|
+
display_unavailable: "display_unavailable";
|
|
4345
|
+
online: "online";
|
|
4346
|
+
reconnecting: "reconnecting";
|
|
4347
|
+
offline: "offline";
|
|
4348
|
+
enrolling: "enrolling";
|
|
4349
|
+
}>;
|
|
4350
|
+
active: z.ZodBoolean;
|
|
4351
|
+
isSessionGroup: z.ZodBoolean;
|
|
4352
|
+
os: z.ZodString;
|
|
4353
|
+
arch: z.ZodString;
|
|
4354
|
+
hasDisplay: z.ZodBoolean;
|
|
4355
|
+
allowScreenControl: z.ZodBoolean;
|
|
4356
|
+
sharedSessionCount: z.ZodNumber;
|
|
4357
|
+
lastSeenAt: z.ZodNullable<z.ZodString>;
|
|
4358
|
+
metrics: z.ZodNullable<z.ZodObject<{
|
|
4359
|
+
cpuPct: z.ZodNumber;
|
|
4360
|
+
load1: z.ZodNumber;
|
|
4361
|
+
load5: z.ZodNumber;
|
|
4362
|
+
load15: z.ZodNumber;
|
|
4363
|
+
memUsedBytes: z.ZodNumber;
|
|
4364
|
+
memTotalBytes: z.ZodNumber;
|
|
4365
|
+
diskUsedBytes: z.ZodNumber;
|
|
4366
|
+
diskTotalBytes: z.ZodNumber;
|
|
4367
|
+
gpuUtilPct: z.ZodNullable<z.ZodNumber>;
|
|
4368
|
+
gpuMemBytes: z.ZodNullable<z.ZodNumber>;
|
|
4369
|
+
runQueue: z.ZodNumber;
|
|
4370
|
+
sampledAt: z.ZodString;
|
|
4371
|
+
}, z.core.$strip>>;
|
|
4372
|
+
}, z.core.$strip>>;
|
|
4373
|
+
}, z.core.$strip>;
|
|
4374
|
+
type MachinesResponse = z.infer<typeof MachinesResponse>;
|
|
4375
|
+
/**
|
|
4376
|
+
* POST /v1/workspaces/:ws/sessions/:sessionId/active-sandbox — the user-
|
|
4377
|
+
* authenticated swap of a session's active sandbox (the same epoch-fenced
|
|
4378
|
+
* mechanic the M7 `sandbox_swap` MCP tool exposes to the agent). `target` is a
|
|
4379
|
+
* `MachinesResponse` machine's `sandboxId`, or "session"/"default" to swap back
|
|
4380
|
+
* to the session's own group box.
|
|
4381
|
+
*/
|
|
4382
|
+
declare const SwapActiveSandboxRequest: z.ZodObject<{
|
|
4383
|
+
target: z.ZodString;
|
|
4384
|
+
}, z.core.$strip>;
|
|
4385
|
+
type SwapActiveSandboxRequest = z.infer<typeof SwapActiveSandboxRequest>;
|
|
4386
|
+
/**
|
|
4387
|
+
* The swap outcome (mirrors the server `FleetSwapResult`). `swapped` is true on a
|
|
4388
|
+
* successful repoint OR a no-op (already pointed there); `reason` carries the
|
|
4389
|
+
* failure detail (unowned/offline target, or a lost epoch fence) when false.
|
|
4390
|
+
*/
|
|
4391
|
+
declare const SwapActiveSandboxResponse: z.ZodObject<{
|
|
4392
|
+
swapped: z.ZodBoolean;
|
|
4393
|
+
activeSandboxId: z.ZodNullable<z.ZodString>;
|
|
4394
|
+
activeEpoch: z.ZodNumber;
|
|
4395
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
4396
|
+
}, z.core.$strip>;
|
|
4397
|
+
type SwapActiveSandboxResponse = z.infer<typeof SwapActiveSandboxResponse>;
|
|
4398
|
+
/**
|
|
4399
|
+
* GET /v1/workspaces/:ws/machines/:enrollmentId/metrics/series?window=1h — the
|
|
4400
|
+
* downsampled (~1/min) history the dashboard time-range reads.
|
|
4401
|
+
*/
|
|
4402
|
+
declare const MachineMetricsSeriesResponse: z.ZodObject<{
|
|
4403
|
+
samples: z.ZodArray<z.ZodObject<{
|
|
4404
|
+
cpuPct: z.ZodNumber;
|
|
4405
|
+
load1: z.ZodNumber;
|
|
4406
|
+
load5: z.ZodNumber;
|
|
4407
|
+
load15: z.ZodNumber;
|
|
4408
|
+
memUsedBytes: z.ZodNumber;
|
|
4409
|
+
memTotalBytes: z.ZodNumber;
|
|
4410
|
+
diskUsedBytes: z.ZodNumber;
|
|
4411
|
+
diskTotalBytes: z.ZodNumber;
|
|
4412
|
+
gpuUtilPct: z.ZodNullable<z.ZodNumber>;
|
|
4413
|
+
gpuMemBytes: z.ZodNullable<z.ZodNumber>;
|
|
4414
|
+
runQueue: z.ZodNumber;
|
|
4415
|
+
sampledAt: z.ZodString;
|
|
4416
|
+
}, z.core.$strip>>;
|
|
4417
|
+
}, z.core.$strip>;
|
|
4418
|
+
type MachineMetricsSeriesResponse = z.infer<typeof MachineMetricsSeriesResponse>;
|
|
3801
4419
|
/**
|
|
3802
4420
|
* A single host-exposed model + the provider that serves it, as surfaced to
|
|
3803
4421
|
* clients (SDK + React composer) by GET /v1/config/client. The wire `api`
|
|
@@ -3887,4 +4505,4 @@ type HealthResponse = {
|
|
|
3887
4505
|
ok: boolean;
|
|
3888
4506
|
};
|
|
3889
4507
|
|
|
3890
|
-
export { AccessContext, AccessGrant, AccountGrant, AccountRole, AcknowledgeStreamRequest, AcknowledgeStreamResponse, AddDocumentRequest, AddWorkspaceMemberRequest, ApiKey, AttachViewerRequest, BillingBalance, BillingMode, CAPABILITY_DESCRIPTORS, CLEARED_RUN_STATE_BLOB, CLEARED_RUN_STATE_MARKER, CapabilityCatalogItem, CapabilityCatalogResponse, type CapabilityDescriptor, CapabilityInstallation, CapabilityInstallationStatus, CapabilityKind, CapabilityPack, CapabilityPackConnector, CapabilityPackConnectorAuthModel, CapabilityPackKnowledge, CapabilityPackScheduledTaskTemplate, CapabilityPackSkill, CapabilityPackSkillFile, CapabilityRuntime, CapabilitySource, CapabilityUnavailableReason, ClearSessionContextRequest, ClientAuthConfig, ClientConfig, ClientModel, ClientSessionEvent, CompactSessionContextRequest, CompactSessionContextResult, CompleteFileUploadResponse, CreateApiKeyRequest, CreateApiKeyResponse, CreateCapabilityCatalogItemRequest, CreateCheckoutRequest, CreateCheckoutResponse, CreateDocumentBaseRequest, CreateFileUploadRequest, CreateFileUploadResponse, CreateScheduledTaskRequest, CreateSessionRequest, CreateSocialConnectionRequest, CreateSocialPostRequest, CreateWorkspaceEnvironmentRequest, CreateWorkspaceRequest, DESKTOP_STREAM_PORT, DelegatedAccessTokenPayload, DiscoverMcpCapabilitiesResponse, Document, DocumentBase, DocumentSearchRequest, DocumentSearchResult, DocumentStatus, EnableCapabilityRequest, EnablePackRequest, EntitlementValue, Entitlements, EntitlementsMode, 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, GitDiffHunk, GitDiffLine, GitDiffLineType, GitDiffRequest, GitDiffResponse, GitFileDiff, GitFileStatus, GitFileStatusCode, GitHubAppManifestCreate, GitHubRepository, GitLogRequest, GitLogResponse, GitShowRequest, GitShowResponse, GitStatusRequest, GitStatusResponse, GoalSpec, type HealthResponse, LimitAction, LimitDecision, ListWorkspaceMembersResponse, ManagedAccount, MarketingDailyAnalysisTaskRequest, PackInstallation, PackInstallationStatus, PageInfo, Permission, type PortExposureKind, ProductAccessMode, PtyCloseRequest, PtyOpenRequest, PtyOpenResponse, PtyResizeRequest, PtyWriteRequest, ReasoningEffort, RecordingAvailablePayload, RecordingCodec, RecordingContentType, RecordingFailedPayload, RecordingFailedReason, RecordingMode, RecordingStartedPayload, RegisterCapabilityPackRequest, ReorderSessionTurnsRequest, RepositoryResourceRef, ResourceRef, ResourceRefConflictError, SandboxBackend, SandboxCapabilityName, SandboxCommandOutputDeltaPayload, SandboxOs, ScheduledTask, ScheduledTaskAgentConfig, ScheduledTaskOverlapPolicy, ScheduledTaskRun, ScheduledTaskRunMode, ScheduledTaskRunStatus, ScheduledTaskScheduleSpec, ScheduledTaskStatus, ScheduledTaskTriggerType, Session, SessionBusMessage, SessionCapabilities, SessionEvent, SessionEventType, SessionGoal, SessionGoalCreatedBy, SessionGoalPausedReason, SessionGoalStatus, SessionStatus, SessionStructuredCapabilities, SessionTurn, SessionTurnSource, SessionTurnStatus, SetWorkspaceEnvironmentVariableRequest, SocialConnection, SocialConnectionStatus, SocialPost, SocialProvider, StaticUsageLimits, StreamClosedPayload, StreamOpenedPayload, StreamRevokedPayload, StreamTokenPayload, StreamUrlRotatedPayload, TERMINAL_STREAM_PORT, TerminalExecRequest, TerminalExecResponse, TerminalPtyExitedPayload, TerminalPtyOutputDeltaPayload, TerminalPtyStartedPayload, ToolRef, TriggerScheduledTaskRequest, UpdateScheduledTaskRequest, UpdateSessionGoalRequest, UpdateSessionRequest, UpdateSessionTurnRequest, UpdateWorkspaceEnvironmentRequest, UpdateWorkspaceMemberRequest, UpdateWorkspaceRequest, UsageEvent, UsageEventType, UsageLimitsMode, ViewerHeartbeatRequest, ViewerHeartbeatResponse, ViewerHolder, Workspace, WorkspaceEnvironment, WorkspaceEnvironmentVariableMetadata, WorkspaceEnvironmentVariableName, WorkspaceMember, WorkspaceRegisteredPack, isClearedRunStateBlob, mergeResourceRefs, mergeToolRefs, paginated, reasoningEffortForMetadata, resourceIdentityKey, signDelegatedAccessToken, signStreamToken, stableJson, verifyDelegatedAccessToken, verifyStreamToken };
|
|
4508
|
+
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, CapabilityCatalogItem, CapabilityCatalogResponse, type CapabilityDescriptor, CapabilityInstallation, CapabilityInstallationStatus, CapabilityKind, CapabilityPack, CapabilityPackConnector, CapabilityPackConnectorAuthModel, CapabilityPackKnowledge, CapabilityPackScheduledTaskTemplate, CapabilityPackSkill, CapabilityPackSkillFile, CapabilityRuntime, CapabilitySource, CapabilityUnavailableReason, ClearSessionContextRequest, ClientAuthConfig, ClientConfig, ClientModel, ClientSessionEvent, CompactSessionContextRequest, CompactSessionContextResult, CompleteFileUploadResponse, type ConnectionCredentialsPort, CreateApiKeyRequest, CreateApiKeyResponse, CreateCapabilityCatalogItemRequest, CreateCheckoutRequest, CreateCheckoutResponse, CreateDocumentBaseRequest, CreateFileUploadRequest, CreateFileUploadResponse, 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, 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, LimitAction, LimitDecision, ListEnrollmentsResponse, ListWorkspaceMembersResponse, MachineKind, MachineMetricsSeriesResponse, MachineState, MachineView, MachinesResponse, ManagedAccount, MarketingDailyAnalysisTaskRequest, MetricSample, MintEnrollTokenRequest, MintEnrollTokenResponse, PackInstallation, PackInstallationStatus, PageInfo, Permission, type PortExposureKind, ProductAccessMode, PtyCloseRequest, PtyOpenRequest, PtyOpenResponse, PtyResizeRequest, PtyWriteRequest, ReasoningEffort, RecordingAvailablePayload, RecordingCodec, RecordingContentType, RecordingFailedPayload, RecordingFailedReason, RecordingMode, RecordingStartedPayload, RegisterCapabilityPackRequest, RelayTokenPayload, ReorderSessionTurnsRequest, RepositoryResourceRef, ResourceRef, ResourceRefConflictError, RevokeEnrollmentResponse, SandboxBackend, SandboxCapabilityName, SandboxCommandOutputDeltaPayload, SandboxOs, type SandboxSecrets, type SandboxSecretsRequest, ScheduledTask, ScheduledTaskAgentConfig, ScheduledTaskOverlapPolicy, ScheduledTaskRun, ScheduledTaskRunMode, ScheduledTaskRunStatus, ScheduledTaskScheduleSpec, ScheduledTaskStatus, ScheduledTaskTriggerType, Session, SessionBusMessage, SessionCapabilities, SessionEvent, SessionEventType, SessionGoal, SessionGoalCreatedBy, SessionGoalPausedReason, SessionGoalStatus, SessionStatus, SessionStructuredCapabilities, SessionTurn, SessionTurnSource, SessionTurnStatus, SetWorkspaceEnvironmentVariableRequest, SocialConnection, SocialConnectionStatus, SocialPost, SocialProvider, StaticUsageLimits, StreamClosedPayload, StreamOpenedPayload, StreamRevokedPayload, StreamTokenPayload, StreamUrlRotatedPayload, SwapActiveSandboxRequest, SwapActiveSandboxResponse, TERMINAL_STREAM_PORT, TerminalExecRequest, TerminalExecResponse, TerminalPtyExitedPayload, TerminalPtyOutputDeltaPayload, TerminalPtyStartedPayload, ToolRef, TriggerScheduledTaskRequest, UpdateScheduledTaskRequest, UpdateSessionGoalRequest, UpdateSessionRequest, UpdateSessionTurnRequest, UpdateWorkspaceEnvironmentRequest, UpdateWorkspaceMemberRequest, UpdateWorkspaceRequest, UsageEvent, UsageEventType, UsageLimitsMode, ViewerHeartbeatRequest, ViewerHeartbeatResponse, ViewerHolder, Workspace, WorkspaceEnvironment, WorkspaceEnvironmentVariableMetadata, WorkspaceEnvironmentVariableName, WorkspaceMember, WorkspaceRegisteredPack, isClearedRunStateBlob, mergeResourceRefs, mergeToolRefs, paginated, reasoningEffortForMetadata, resourceIdentityKey, signDelegatedAccessToken, signEnrollToken, signEnrollmentBearer, signRelayToken, signStreamToken, stableJson, verifyDelegatedAccessToken, verifyEnrollToken, verifyEnrollmentBearer, verifyRelayToken, verifyStreamToken };
|