@opengeni/contracts 2.7.0 → 2.9.2-canary.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/agent-authored-durable-text.d.ts +3 -0
- package/dist/atlassian.js +2 -1
- package/dist/chunk-4IVHBXRI.js +221 -0
- package/dist/chunk-4IVHBXRI.js.map +1 -0
- package/dist/{chunk-ILB4IYNN.js → chunk-AWNGBY5I.js} +210 -246
- package/dist/chunk-AWNGBY5I.js.map +1 -0
- package/dist/company-profile.d.ts +275 -1
- package/dist/connection-authority.js +2 -1
- package/dist/connection-authority.js.map +1 -1
- package/dist/google-drive.js +2 -1
- package/dist/google-drive.js.map +1 -1
- package/dist/index.d.ts +176 -3
- package/dist/index.js +43 -5
- package/dist/managed-auth-session-sets.d.ts +19 -0
- package/dist/managed-auth-session-sets.js +12 -1
- package/dist/managed-auth-session-sets.js.map +1 -1
- package/dist/organization-membership-lifecycle.d.ts +3 -0
- package/dist/permissions.d.ts +1 -0
- package/dist/personal-github.js +2 -1
- package/dist/personal-github.js.map +1 -1
- package/dist/session-titles.d.ts +9 -0
- package/dist/session-titles.js +17 -0
- package/dist/session-titles.js.map +1 -0
- package/package.json +5 -1
- package/src/agent-authored-durable-text.ts +13 -6
- package/src/company-profile.ts +46 -1
- package/src/index.ts +374 -179
- package/src/managed-auth-session-sets.ts +18 -0
- package/src/permissions.ts +1 -0
- package/src/session-titles.ts +12 -5
- package/dist/chunk-ILB4IYNN.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -2370,6 +2370,7 @@ export declare const AccountGrant: z.ZodObject<{
|
|
|
2370
2370
|
"artifacts:read": "artifacts:read";
|
|
2371
2371
|
"billing:manage": "billing:manage";
|
|
2372
2372
|
"billing:read": "billing:read";
|
|
2373
|
+
"capabilities:manage": "capabilities:manage";
|
|
2373
2374
|
"codemode:call": "codemode:call";
|
|
2374
2375
|
"connections:read": "connections:read";
|
|
2375
2376
|
"connections:write": "connections:write";
|
|
@@ -2427,6 +2428,7 @@ export declare const AccessGrant: z.ZodObject<{
|
|
|
2427
2428
|
"artifacts:read": "artifacts:read";
|
|
2428
2429
|
"billing:manage": "billing:manage";
|
|
2429
2430
|
"billing:read": "billing:read";
|
|
2431
|
+
"capabilities:manage": "capabilities:manage";
|
|
2430
2432
|
"codemode:call": "codemode:call";
|
|
2431
2433
|
"connections:read": "connections:read";
|
|
2432
2434
|
"connections:write": "connections:write";
|
|
@@ -2509,6 +2511,7 @@ export declare const AccessContext: z.ZodObject<{
|
|
|
2509
2511
|
"artifacts:read": "artifacts:read";
|
|
2510
2512
|
"billing:manage": "billing:manage";
|
|
2511
2513
|
"billing:read": "billing:read";
|
|
2514
|
+
"capabilities:manage": "capabilities:manage";
|
|
2512
2515
|
"codemode:call": "codemode:call";
|
|
2513
2516
|
"connections:read": "connections:read";
|
|
2514
2517
|
"connections:write": "connections:write";
|
|
@@ -2565,6 +2568,7 @@ export declare const AccessContext: z.ZodObject<{
|
|
|
2565
2568
|
"artifacts:read": "artifacts:read";
|
|
2566
2569
|
"billing:manage": "billing:manage";
|
|
2567
2570
|
"billing:read": "billing:read";
|
|
2571
|
+
"capabilities:manage": "capabilities:manage";
|
|
2568
2572
|
"codemode:call": "codemode:call";
|
|
2569
2573
|
"connections:read": "connections:read";
|
|
2570
2574
|
"connections:write": "connections:write";
|
|
@@ -2638,6 +2642,7 @@ export declare const DelegatedAccessTokenPayload: z.ZodObject<{
|
|
|
2638
2642
|
"artifacts:read": "artifacts:read";
|
|
2639
2643
|
"billing:manage": "billing:manage";
|
|
2640
2644
|
"billing:read": "billing:read";
|
|
2645
|
+
"capabilities:manage": "capabilities:manage";
|
|
2641
2646
|
"codemode:call": "codemode:call";
|
|
2642
2647
|
"connections:read": "connections:read";
|
|
2643
2648
|
"connections:write": "connections:write";
|
|
@@ -2930,6 +2935,46 @@ export declare const CreateWorkspaceRequest: z.ZodObject<{
|
|
|
2930
2935
|
agentInstructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2931
2936
|
}, z.core.$strip>;
|
|
2932
2937
|
export type CreateWorkspaceRequest = z.infer<typeof CreateWorkspaceRequest>;
|
|
2938
|
+
export declare const EnsureWorkspaceRequest: z.ZodObject<{
|
|
2939
|
+
accountId: z.ZodString;
|
|
2940
|
+
externalSource: z.ZodString;
|
|
2941
|
+
externalId: z.ZodString;
|
|
2942
|
+
name: z.ZodString;
|
|
2943
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
2944
|
+
agentInstructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2945
|
+
}, z.core.$strict>;
|
|
2946
|
+
export type EnsureWorkspaceRequest = z.infer<typeof EnsureWorkspaceRequest>;
|
|
2947
|
+
export declare const EnsureWorkspaceResponse: z.ZodObject<{
|
|
2948
|
+
workspace: z.ZodObject<{
|
|
2949
|
+
id: z.ZodString;
|
|
2950
|
+
accountId: z.ZodString;
|
|
2951
|
+
kind: z.ZodEnum<{
|
|
2952
|
+
personal: "personal";
|
|
2953
|
+
shared: "shared";
|
|
2954
|
+
}>;
|
|
2955
|
+
name: z.ZodString;
|
|
2956
|
+
slug: z.ZodNullable<z.ZodString>;
|
|
2957
|
+
externalSource: z.ZodNullable<z.ZodString>;
|
|
2958
|
+
externalId: z.ZodNullable<z.ZodString>;
|
|
2959
|
+
agentInstructions: z.ZodNullable<z.ZodString>;
|
|
2960
|
+
settings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2961
|
+
inferenceControl: z.ZodObject<{
|
|
2962
|
+
state: z.ZodEnum<{
|
|
2963
|
+
active: "active";
|
|
2964
|
+
paused: "paused";
|
|
2965
|
+
}>;
|
|
2966
|
+
revision: z.ZodNumber;
|
|
2967
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
2968
|
+
changedBy: z.ZodNullable<z.ZodString>;
|
|
2969
|
+
changedAt: z.ZodNullable<z.ZodString>;
|
|
2970
|
+
}, z.core.$strip>;
|
|
2971
|
+
defaultRigId: z.ZodNullable<z.ZodString>;
|
|
2972
|
+
createdAt: z.ZodString;
|
|
2973
|
+
updatedAt: z.ZodString;
|
|
2974
|
+
}, z.core.$strip>;
|
|
2975
|
+
created: z.ZodBoolean;
|
|
2976
|
+
}, z.core.$strict>;
|
|
2977
|
+
export type EnsureWorkspaceResponse = z.infer<typeof EnsureWorkspaceResponse>;
|
|
2933
2978
|
export declare const UpdateWorkspaceRequest: z.ZodObject<{
|
|
2934
2979
|
name: z.ZodOptional<z.ZodString>;
|
|
2935
2980
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2951,6 +2996,7 @@ export declare const ApiKey: z.ZodObject<{
|
|
|
2951
2996
|
"artifacts:read": "artifacts:read";
|
|
2952
2997
|
"billing:manage": "billing:manage";
|
|
2953
2998
|
"billing:read": "billing:read";
|
|
2999
|
+
"capabilities:manage": "capabilities:manage";
|
|
2954
3000
|
"codemode:call": "codemode:call";
|
|
2955
3001
|
"connections:read": "connections:read";
|
|
2956
3002
|
"connections:write": "connections:write";
|
|
@@ -3011,6 +3057,7 @@ export declare const CreateApiKeyRequest: z.ZodObject<{
|
|
|
3011
3057
|
"artifacts:read": "artifacts:read";
|
|
3012
3058
|
"billing:manage": "billing:manage";
|
|
3013
3059
|
"billing:read": "billing:read";
|
|
3060
|
+
"capabilities:manage": "capabilities:manage";
|
|
3014
3061
|
"codemode:call": "codemode:call";
|
|
3015
3062
|
"connections:read": "connections:read";
|
|
3016
3063
|
"connections:write": "connections:write";
|
|
@@ -3071,6 +3118,7 @@ export declare const CreateApiKeyResponse: z.ZodObject<{
|
|
|
3071
3118
|
"artifacts:read": "artifacts:read";
|
|
3072
3119
|
"billing:manage": "billing:manage";
|
|
3073
3120
|
"billing:read": "billing:read";
|
|
3121
|
+
"capabilities:manage": "capabilities:manage";
|
|
3074
3122
|
"codemode:call": "codemode:call";
|
|
3075
3123
|
"connections:read": "connections:read";
|
|
3076
3124
|
"connections:write": "connections:write";
|
|
@@ -3121,6 +3169,12 @@ export declare const CreateApiKeyResponse: z.ZodObject<{
|
|
|
3121
3169
|
token: z.ZodString;
|
|
3122
3170
|
}, z.core.$strip>;
|
|
3123
3171
|
export type CreateApiKeyResponse = z.infer<typeof CreateApiKeyResponse>;
|
|
3172
|
+
export declare const CreateOrganizationApiKeyRequest: z.ZodObject<{
|
|
3173
|
+
name: z.ZodString;
|
|
3174
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3175
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
3176
|
+
}, z.core.$strict>;
|
|
3177
|
+
export type CreateOrganizationApiKeyRequest = z.infer<typeof CreateOrganizationApiKeyRequest>;
|
|
3124
3178
|
export declare const WorkspaceMember: z.ZodObject<{
|
|
3125
3179
|
subjectId: z.ZodString;
|
|
3126
3180
|
subjectLabel: z.ZodNullable<z.ZodString>;
|
|
@@ -3133,6 +3187,7 @@ export declare const WorkspaceMember: z.ZodObject<{
|
|
|
3133
3187
|
"artifacts:read": "artifacts:read";
|
|
3134
3188
|
"billing:manage": "billing:manage";
|
|
3135
3189
|
"billing:read": "billing:read";
|
|
3190
|
+
"capabilities:manage": "capabilities:manage";
|
|
3136
3191
|
"codemode:call": "codemode:call";
|
|
3137
3192
|
"connections:read": "connections:read";
|
|
3138
3193
|
"connections:write": "connections:write";
|
|
@@ -3190,6 +3245,7 @@ export declare const ListWorkspaceMembersResponse: z.ZodObject<{
|
|
|
3190
3245
|
"artifacts:read": "artifacts:read";
|
|
3191
3246
|
"billing:manage": "billing:manage";
|
|
3192
3247
|
"billing:read": "billing:read";
|
|
3248
|
+
"capabilities:manage": "capabilities:manage";
|
|
3193
3249
|
"codemode:call": "codemode:call";
|
|
3194
3250
|
"connections:read": "connections:read";
|
|
3195
3251
|
"connections:write": "connections:write";
|
|
@@ -3235,8 +3291,34 @@ export declare const ListWorkspaceMembersResponse: z.ZodObject<{
|
|
|
3235
3291
|
}, z.core.$strip>>;
|
|
3236
3292
|
}, z.core.$strip>;
|
|
3237
3293
|
export type ListWorkspaceMembersResponse = z.infer<typeof ListWorkspaceMembersResponse>;
|
|
3294
|
+
export declare const WorkspaceMemberCandidate: z.ZodObject<{
|
|
3295
|
+
organizationMembershipId: z.ZodString;
|
|
3296
|
+
subjectId: z.ZodString;
|
|
3297
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3298
|
+
email: z.ZodNullable<z.ZodString>;
|
|
3299
|
+
organizationRole: z.ZodEnum<{
|
|
3300
|
+
admin: "admin";
|
|
3301
|
+
member: "member";
|
|
3302
|
+
owner: "owner";
|
|
3303
|
+
}>;
|
|
3304
|
+
}, z.core.$strip>;
|
|
3305
|
+
export type WorkspaceMemberCandidate = z.infer<typeof WorkspaceMemberCandidate>;
|
|
3306
|
+
export declare const ListWorkspaceMemberCandidatesResponse: z.ZodObject<{
|
|
3307
|
+
members: z.ZodArray<z.ZodObject<{
|
|
3308
|
+
organizationMembershipId: z.ZodString;
|
|
3309
|
+
subjectId: z.ZodString;
|
|
3310
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3311
|
+
email: z.ZodNullable<z.ZodString>;
|
|
3312
|
+
organizationRole: z.ZodEnum<{
|
|
3313
|
+
admin: "admin";
|
|
3314
|
+
member: "member";
|
|
3315
|
+
owner: "owner";
|
|
3316
|
+
}>;
|
|
3317
|
+
}, z.core.$strip>>;
|
|
3318
|
+
}, z.core.$strip>;
|
|
3319
|
+
export type ListWorkspaceMemberCandidatesResponse = z.infer<typeof ListWorkspaceMemberCandidatesResponse>;
|
|
3238
3320
|
export declare const AddWorkspaceMemberRequest: z.ZodObject<{
|
|
3239
|
-
|
|
3321
|
+
organizationMembershipId: z.ZodString;
|
|
3240
3322
|
role: z.ZodOptional<z.ZodString>;
|
|
3241
3323
|
permissions: z.ZodArray<z.ZodEnum<{
|
|
3242
3324
|
"account:admin": "account:admin";
|
|
@@ -3246,6 +3328,7 @@ export declare const AddWorkspaceMemberRequest: z.ZodObject<{
|
|
|
3246
3328
|
"artifacts:read": "artifacts:read";
|
|
3247
3329
|
"billing:manage": "billing:manage";
|
|
3248
3330
|
"billing:read": "billing:read";
|
|
3331
|
+
"capabilities:manage": "capabilities:manage";
|
|
3249
3332
|
"codemode:call": "codemode:call";
|
|
3250
3333
|
"connections:read": "connections:read";
|
|
3251
3334
|
"connections:write": "connections:write";
|
|
@@ -3299,6 +3382,7 @@ export declare const UpdateWorkspaceMemberRequest: z.ZodObject<{
|
|
|
3299
3382
|
"artifacts:read": "artifacts:read";
|
|
3300
3383
|
"billing:manage": "billing:manage";
|
|
3301
3384
|
"billing:read": "billing:read";
|
|
3385
|
+
"capabilities:manage": "capabilities:manage";
|
|
3302
3386
|
"codemode:call": "codemode:call";
|
|
3303
3387
|
"connections:read": "connections:read";
|
|
3304
3388
|
"connections:write": "connections:write";
|
|
@@ -3399,6 +3483,7 @@ export declare const ApproveSlackUserLinkAccessRequest: z.ZodObject<{
|
|
|
3399
3483
|
"artifacts:read": "artifacts:read";
|
|
3400
3484
|
"billing:manage": "billing:manage";
|
|
3401
3485
|
"billing:read": "billing:read";
|
|
3486
|
+
"capabilities:manage": "capabilities:manage";
|
|
3402
3487
|
"codemode:call": "codemode:call";
|
|
3403
3488
|
"connections:read": "connections:read";
|
|
3404
3489
|
"connections:write": "connections:write";
|
|
@@ -8488,6 +8573,7 @@ export declare const NewSessionDraftOptions: z.ZodPreprocess<z.ZodObject<{
|
|
|
8488
8573
|
"artifacts:read": "artifacts:read";
|
|
8489
8574
|
"billing:manage": "billing:manage";
|
|
8490
8575
|
"billing:read": "billing:read";
|
|
8576
|
+
"capabilities:manage": "capabilities:manage";
|
|
8491
8577
|
"codemode:call": "codemode:call";
|
|
8492
8578
|
"connections:read": "connections:read";
|
|
8493
8579
|
"connections:write": "connections:write";
|
|
@@ -8791,6 +8877,7 @@ export declare const NewSessionDraft: z.ZodObject<{
|
|
|
8791
8877
|
"artifacts:read": "artifacts:read";
|
|
8792
8878
|
"billing:manage": "billing:manage";
|
|
8793
8879
|
"billing:read": "billing:read";
|
|
8880
|
+
"capabilities:manage": "capabilities:manage";
|
|
8794
8881
|
"codemode:call": "codemode:call";
|
|
8795
8882
|
"connections:read": "connections:read";
|
|
8796
8883
|
"connections:write": "connections:write";
|
|
@@ -9088,6 +9175,7 @@ export declare const SaveNewSessionDraftRequest: z.ZodObject<{
|
|
|
9088
9175
|
"artifacts:read": "artifacts:read";
|
|
9089
9176
|
"billing:manage": "billing:manage";
|
|
9090
9177
|
"billing:read": "billing:read";
|
|
9178
|
+
"capabilities:manage": "capabilities:manage";
|
|
9091
9179
|
"codemode:call": "codemode:call";
|
|
9092
9180
|
"connections:read": "connections:read";
|
|
9093
9181
|
"connections:write": "connections:write";
|
|
@@ -10321,13 +10409,22 @@ export type SessionQueueSnapshot = z.infer<typeof SessionQueueSnapshot>;
|
|
|
10321
10409
|
* every later turn; callers must not synthesize an equivalent transient copy.
|
|
10322
10410
|
*/
|
|
10323
10411
|
export declare function renderSessionSystemUpdateBatch(updates: ReadonlyArray<Pick<SessionSystemUpdate, "id" | "kind" | "classification" | "sourceId" | "summary" | "payload" | "lineage">>): string;
|
|
10324
|
-
export declare
|
|
10412
|
+
export declare const SCHEDULED_OCCURRENCE_TASK_LABEL: "[OpenGeni scheduled task occurrence]";
|
|
10413
|
+
export declare function sessionSystemUpdateBatchHistoryItem(updates: Parameters<typeof renderSessionSystemUpdateBatch>[0], goalSnapshot?: SessionGoalSnapshot, options?: {
|
|
10414
|
+
promoteScheduledOccurrenceToUser?: boolean;
|
|
10415
|
+
}): {
|
|
10325
10416
|
type: "message";
|
|
10326
|
-
role: "system";
|
|
10417
|
+
role: "system" | "user";
|
|
10327
10418
|
content: string;
|
|
10328
10419
|
};
|
|
10329
10420
|
export declare const VariableSetVariableName: z.ZodString;
|
|
10330
10421
|
export type VariableSetVariableName = z.infer<typeof VariableSetVariableName>;
|
|
10422
|
+
export declare const VARIABLE_SET_RESERVED_EXACT_NAMES: readonly ["HOME", "PATH", "SHELL", "USER", "LOGNAME", "TMPDIR", "IFS", "ENV", "BASH_ENV", "NODE_OPTIONS", "PYTHONPATH", "PYTHONSTARTUP", "PERL5OPT", "PERL5LIB", "GH_TOKEN", "GITHUB_TOKEN", "GITLAB_TOKEN", "AZURE_DEVOPS_EXT_PAT", "GIT_ASKPASS", "GIT_TERMINAL_PROMPT"];
|
|
10423
|
+
export declare const VARIABLE_SET_RESERVED_PREFIXES: readonly ["OPENGENI_", "GIT_CONFIG_", "GIT_AUTHOR_", "GIT_COMMITTER_", "LD_", "DYLD_"];
|
|
10424
|
+
export declare function variableSetVariableNameReservation(name: string): {
|
|
10425
|
+
kind: "exact" | "prefix";
|
|
10426
|
+
value: string;
|
|
10427
|
+
} | null;
|
|
10331
10428
|
export declare const VariableSetVariableMetadata: z.ZodObject<{
|
|
10332
10429
|
name: z.ZodString;
|
|
10333
10430
|
version: z.ZodNumber;
|
|
@@ -11532,6 +11629,7 @@ export declare const IncidentTelemetryPreflight: z.ZodObject<{
|
|
|
11532
11629
|
"artifacts:read": "artifacts:read";
|
|
11533
11630
|
"billing:manage": "billing:manage";
|
|
11534
11631
|
"billing:read": "billing:read";
|
|
11632
|
+
"capabilities:manage": "capabilities:manage";
|
|
11535
11633
|
"codemode:call": "codemode:call";
|
|
11536
11634
|
"connections:read": "connections:read";
|
|
11537
11635
|
"connections:write": "connections:write";
|
|
@@ -11862,6 +11960,10 @@ export declare const ScheduledTaskAgentConfig: z.ZodObject<{
|
|
|
11862
11960
|
selfhosted: "selfhosted";
|
|
11863
11961
|
vercel: "vercel";
|
|
11864
11962
|
}>>;
|
|
11963
|
+
machineTarget: z.ZodOptional<z.ZodObject<{
|
|
11964
|
+
targetSandboxId: z.ZodString;
|
|
11965
|
+
workingDir: z.ZodOptional<z.ZodString>;
|
|
11966
|
+
}, z.core.$strict>>;
|
|
11865
11967
|
goal: z.ZodOptional<z.ZodObject<{
|
|
11866
11968
|
text: z.ZodString;
|
|
11867
11969
|
successCriteria: z.ZodOptional<z.ZodString>;
|
|
@@ -12059,6 +12161,7 @@ export declare const ScheduledTaskAgentConfig: z.ZodObject<{
|
|
|
12059
12161
|
"artifacts:read": "artifacts:read";
|
|
12060
12162
|
"billing:manage": "billing:manage";
|
|
12061
12163
|
"billing:read": "billing:read";
|
|
12164
|
+
"capabilities:manage": "capabilities:manage";
|
|
12062
12165
|
"codemode:call": "codemode:call";
|
|
12063
12166
|
"connections:read": "connections:read";
|
|
12064
12167
|
"connections:write": "connections:write";
|
|
@@ -12350,6 +12453,10 @@ export declare const ScheduledTaskAgentConfigInput: z.ZodObject<{
|
|
|
12350
12453
|
selfhosted: "selfhosted";
|
|
12351
12454
|
vercel: "vercel";
|
|
12352
12455
|
}>>;
|
|
12456
|
+
machineTarget: z.ZodOptional<z.ZodObject<{
|
|
12457
|
+
targetSandboxId: z.ZodString;
|
|
12458
|
+
workingDir: z.ZodOptional<z.ZodString>;
|
|
12459
|
+
}, z.core.$strict>>;
|
|
12353
12460
|
goal: z.ZodOptional<z.ZodObject<{
|
|
12354
12461
|
text: z.ZodString;
|
|
12355
12462
|
successCriteria: z.ZodOptional<z.ZodString>;
|
|
@@ -12547,6 +12654,7 @@ export declare const ScheduledTaskAgentConfigInput: z.ZodObject<{
|
|
|
12547
12654
|
"artifacts:read": "artifacts:read";
|
|
12548
12655
|
"billing:manage": "billing:manage";
|
|
12549
12656
|
"billing:read": "billing:read";
|
|
12657
|
+
"capabilities:manage": "capabilities:manage";
|
|
12550
12658
|
"codemode:call": "codemode:call";
|
|
12551
12659
|
"connections:read": "connections:read";
|
|
12552
12660
|
"connections:write": "connections:write";
|
|
@@ -12930,6 +13038,10 @@ export declare const ScheduledTask: z.ZodObject<{
|
|
|
12930
13038
|
selfhosted: "selfhosted";
|
|
12931
13039
|
vercel: "vercel";
|
|
12932
13040
|
}>>;
|
|
13041
|
+
machineTarget: z.ZodOptional<z.ZodObject<{
|
|
13042
|
+
targetSandboxId: z.ZodString;
|
|
13043
|
+
workingDir: z.ZodOptional<z.ZodString>;
|
|
13044
|
+
}, z.core.$strict>>;
|
|
12933
13045
|
goal: z.ZodOptional<z.ZodObject<{
|
|
12934
13046
|
text: z.ZodString;
|
|
12935
13047
|
successCriteria: z.ZodOptional<z.ZodString>;
|
|
@@ -13127,6 +13239,7 @@ export declare const ScheduledTask: z.ZodObject<{
|
|
|
13127
13239
|
"artifacts:read": "artifacts:read";
|
|
13128
13240
|
"billing:manage": "billing:manage";
|
|
13129
13241
|
"billing:read": "billing:read";
|
|
13242
|
+
"capabilities:manage": "capabilities:manage";
|
|
13130
13243
|
"codemode:call": "codemode:call";
|
|
13131
13244
|
"connections:read": "connections:read";
|
|
13132
13245
|
"connections:write": "connections:write";
|
|
@@ -13541,6 +13654,10 @@ export declare const ScheduledTaskRunAcceptedExecution: z.ZodObject<{
|
|
|
13541
13654
|
selfhosted: "selfhosted";
|
|
13542
13655
|
vercel: "vercel";
|
|
13543
13656
|
}>>;
|
|
13657
|
+
machineTarget: z.ZodOptional<z.ZodObject<{
|
|
13658
|
+
targetSandboxId: z.ZodString;
|
|
13659
|
+
workingDir: z.ZodOptional<z.ZodString>;
|
|
13660
|
+
}, z.core.$strict>>;
|
|
13544
13661
|
goal: z.ZodOptional<z.ZodObject<{
|
|
13545
13662
|
text: z.ZodString;
|
|
13546
13663
|
successCriteria: z.ZodOptional<z.ZodString>;
|
|
@@ -13738,6 +13855,7 @@ export declare const ScheduledTaskRunAcceptedExecution: z.ZodObject<{
|
|
|
13738
13855
|
"artifacts:read": "artifacts:read";
|
|
13739
13856
|
"billing:manage": "billing:manage";
|
|
13740
13857
|
"billing:read": "billing:read";
|
|
13858
|
+
"capabilities:manage": "capabilities:manage";
|
|
13741
13859
|
"codemode:call": "codemode:call";
|
|
13742
13860
|
"connections:read": "connections:read";
|
|
13743
13861
|
"connections:write": "connections:write";
|
|
@@ -14182,6 +14300,7 @@ export declare const ScheduledTaskRunAcceptedExecution: z.ZodObject<{
|
|
|
14182
14300
|
"artifacts:read": "artifacts:read";
|
|
14183
14301
|
"billing:manage": "billing:manage";
|
|
14184
14302
|
"billing:read": "billing:read";
|
|
14303
|
+
"capabilities:manage": "capabilities:manage";
|
|
14185
14304
|
"codemode:call": "codemode:call";
|
|
14186
14305
|
"connections:read": "connections:read";
|
|
14187
14306
|
"connections:write": "connections:write";
|
|
@@ -14454,6 +14573,7 @@ export declare const ScheduledTaskRunAcceptedExecution: z.ZodObject<{
|
|
|
14454
14573
|
"artifacts:read": "artifacts:read";
|
|
14455
14574
|
"billing:manage": "billing:manage";
|
|
14456
14575
|
"billing:read": "billing:read";
|
|
14576
|
+
"capabilities:manage": "capabilities:manage";
|
|
14457
14577
|
"codemode:call": "codemode:call";
|
|
14458
14578
|
"connections:read": "connections:read";
|
|
14459
14579
|
"connections:write": "connections:write";
|
|
@@ -15136,6 +15256,10 @@ export declare const CreateScheduledTaskRequest: z.ZodUnion<readonly [z.ZodPipe<
|
|
|
15136
15256
|
selfhosted: "selfhosted";
|
|
15137
15257
|
vercel: "vercel";
|
|
15138
15258
|
}>>;
|
|
15259
|
+
machineTarget: z.ZodOptional<z.ZodObject<{
|
|
15260
|
+
targetSandboxId: z.ZodString;
|
|
15261
|
+
workingDir: z.ZodOptional<z.ZodString>;
|
|
15262
|
+
}, z.core.$strict>>;
|
|
15139
15263
|
goal: z.ZodOptional<z.ZodObject<{
|
|
15140
15264
|
text: z.ZodString;
|
|
15141
15265
|
successCriteria: z.ZodOptional<z.ZodString>;
|
|
@@ -15333,6 +15457,7 @@ export declare const CreateScheduledTaskRequest: z.ZodUnion<readonly [z.ZodPipe<
|
|
|
15333
15457
|
"artifacts:read": "artifacts:read";
|
|
15334
15458
|
"billing:manage": "billing:manage";
|
|
15335
15459
|
"billing:read": "billing:read";
|
|
15460
|
+
"capabilities:manage": "capabilities:manage";
|
|
15336
15461
|
"codemode:call": "codemode:call";
|
|
15337
15462
|
"connections:read": "connections:read";
|
|
15338
15463
|
"connections:write": "connections:write";
|
|
@@ -15743,6 +15868,10 @@ export declare const UpdateScheduledTaskRequest: z.ZodPreprocess<z.ZodObject<{
|
|
|
15743
15868
|
selfhosted: "selfhosted";
|
|
15744
15869
|
vercel: "vercel";
|
|
15745
15870
|
}>>;
|
|
15871
|
+
machineTarget: z.ZodOptional<z.ZodObject<{
|
|
15872
|
+
targetSandboxId: z.ZodString;
|
|
15873
|
+
workingDir: z.ZodOptional<z.ZodString>;
|
|
15874
|
+
}, z.core.$strict>>;
|
|
15746
15875
|
goal: z.ZodOptional<z.ZodObject<{
|
|
15747
15876
|
text: z.ZodString;
|
|
15748
15877
|
successCriteria: z.ZodOptional<z.ZodString>;
|
|
@@ -15940,6 +16069,7 @@ export declare const UpdateScheduledTaskRequest: z.ZodPreprocess<z.ZodObject<{
|
|
|
15940
16069
|
"artifacts:read": "artifacts:read";
|
|
15941
16070
|
"billing:manage": "billing:manage";
|
|
15942
16071
|
"billing:read": "billing:read";
|
|
16072
|
+
"capabilities:manage": "capabilities:manage";
|
|
15943
16073
|
"codemode:call": "codemode:call";
|
|
15944
16074
|
"connections:read": "connections:read";
|
|
15945
16075
|
"connections:write": "connections:write";
|
|
@@ -16426,6 +16556,7 @@ export declare const AutomationSessionTemplate: z.ZodObject<{
|
|
|
16426
16556
|
"artifacts:read": "artifacts:read";
|
|
16427
16557
|
"billing:manage": "billing:manage";
|
|
16428
16558
|
"billing:read": "billing:read";
|
|
16559
|
+
"capabilities:manage": "capabilities:manage";
|
|
16429
16560
|
"codemode:call": "codemode:call";
|
|
16430
16561
|
"connections:read": "connections:read";
|
|
16431
16562
|
"connections:write": "connections:write";
|
|
@@ -16717,6 +16848,7 @@ export declare const AutomationAcceptedExecution: z.ZodObject<{
|
|
|
16717
16848
|
"artifacts:read": "artifacts:read";
|
|
16718
16849
|
"billing:manage": "billing:manage";
|
|
16719
16850
|
"billing:read": "billing:read";
|
|
16851
|
+
"capabilities:manage": "capabilities:manage";
|
|
16720
16852
|
"codemode:call": "codemode:call";
|
|
16721
16853
|
"connections:read": "connections:read";
|
|
16722
16854
|
"connections:write": "connections:write";
|
|
@@ -17034,6 +17166,7 @@ export declare const CreateAutomationTriggerRequest: z.ZodObject<{
|
|
|
17034
17166
|
"artifacts:read": "artifacts:read";
|
|
17035
17167
|
"billing:manage": "billing:manage";
|
|
17036
17168
|
"billing:read": "billing:read";
|
|
17169
|
+
"capabilities:manage": "capabilities:manage";
|
|
17037
17170
|
"codemode:call": "codemode:call";
|
|
17038
17171
|
"connections:read": "connections:read";
|
|
17039
17172
|
"connections:write": "connections:write";
|
|
@@ -17317,6 +17450,7 @@ export declare const UpdateAutomationTriggerRequest: z.ZodObject<{
|
|
|
17317
17450
|
"artifacts:read": "artifacts:read";
|
|
17318
17451
|
"billing:manage": "billing:manage";
|
|
17319
17452
|
"billing:read": "billing:read";
|
|
17453
|
+
"capabilities:manage": "capabilities:manage";
|
|
17320
17454
|
"codemode:call": "codemode:call";
|
|
17321
17455
|
"connections:read": "connections:read";
|
|
17322
17456
|
"connections:write": "connections:write";
|
|
@@ -17602,6 +17736,7 @@ export declare const AutomationTrigger: z.ZodObject<{
|
|
|
17602
17736
|
"artifacts:read": "artifacts:read";
|
|
17603
17737
|
"billing:manage": "billing:manage";
|
|
17604
17738
|
"billing:read": "billing:read";
|
|
17739
|
+
"capabilities:manage": "capabilities:manage";
|
|
17605
17740
|
"codemode:call": "codemode:call";
|
|
17606
17741
|
"connections:read": "connections:read";
|
|
17607
17742
|
"connections:write": "connections:write";
|
|
@@ -17929,6 +18064,7 @@ export declare const CapabilityPackAutomationTemplate: z.ZodObject<{
|
|
|
17929
18064
|
"artifacts:read": "artifacts:read";
|
|
17930
18065
|
"billing:manage": "billing:manage";
|
|
17931
18066
|
"billing:read": "billing:read";
|
|
18067
|
+
"capabilities:manage": "capabilities:manage";
|
|
17932
18068
|
"codemode:call": "codemode:call";
|
|
17933
18069
|
"connections:read": "connections:read";
|
|
17934
18070
|
"connections:write": "connections:write";
|
|
@@ -18498,6 +18634,7 @@ export declare const CapabilityPack: z.ZodPreprocess<z.ZodObject<{
|
|
|
18498
18634
|
"artifacts:read": "artifacts:read";
|
|
18499
18635
|
"billing:manage": "billing:manage";
|
|
18500
18636
|
"billing:read": "billing:read";
|
|
18637
|
+
"capabilities:manage": "capabilities:manage";
|
|
18501
18638
|
"codemode:call": "codemode:call";
|
|
18502
18639
|
"connections:read": "connections:read";
|
|
18503
18640
|
"connections:write": "connections:write";
|
|
@@ -18911,6 +19048,7 @@ export declare const RegisterCapabilityPackRequest: z.ZodPreprocess<z.ZodObject<
|
|
|
18911
19048
|
"artifacts:read": "artifacts:read";
|
|
18912
19049
|
"billing:manage": "billing:manage";
|
|
18913
19050
|
"billing:read": "billing:read";
|
|
19051
|
+
"capabilities:manage": "capabilities:manage";
|
|
18914
19052
|
"codemode:call": "codemode:call";
|
|
18915
19053
|
"connections:read": "connections:read";
|
|
18916
19054
|
"connections:write": "connections:write";
|
|
@@ -19327,6 +19465,7 @@ export declare const WorkspaceRegisteredPack: z.ZodObject<{
|
|
|
19327
19465
|
"artifacts:read": "artifacts:read";
|
|
19328
19466
|
"billing:manage": "billing:manage";
|
|
19329
19467
|
"billing:read": "billing:read";
|
|
19468
|
+
"capabilities:manage": "capabilities:manage";
|
|
19330
19469
|
"codemode:call": "codemode:call";
|
|
19331
19470
|
"connections:read": "connections:read";
|
|
19332
19471
|
"connections:write": "connections:write";
|
|
@@ -19762,6 +19901,7 @@ export declare const PackInstallation: z.ZodObject<{
|
|
|
19762
19901
|
"artifacts:read": "artifacts:read";
|
|
19763
19902
|
"billing:manage": "billing:manage";
|
|
19764
19903
|
"billing:read": "billing:read";
|
|
19904
|
+
"capabilities:manage": "capabilities:manage";
|
|
19765
19905
|
"codemode:call": "codemode:call";
|
|
19766
19906
|
"connections:read": "connections:read";
|
|
19767
19907
|
"connections:write": "connections:write";
|
|
@@ -22773,6 +22913,7 @@ export declare const Session: z.ZodObject<{
|
|
|
22773
22913
|
"artifacts:read": "artifacts:read";
|
|
22774
22914
|
"billing:manage": "billing:manage";
|
|
22775
22915
|
"billing:read": "billing:read";
|
|
22916
|
+
"capabilities:manage": "capabilities:manage";
|
|
22776
22917
|
"codemode:call": "codemode:call";
|
|
22777
22918
|
"connections:read": "connections:read";
|
|
22778
22919
|
"connections:write": "connections:write";
|
|
@@ -23109,6 +23250,7 @@ export declare const Session: z.ZodObject<{
|
|
|
23109
23250
|
pausedDescendants: z.ZodNumber;
|
|
23110
23251
|
failedDescendants: z.ZodNumber;
|
|
23111
23252
|
unreadDescendants: z.ZodOptional<z.ZodNumber>;
|
|
23253
|
+
unreadFailedDescendants: z.ZodOptional<z.ZodNumber>;
|
|
23112
23254
|
activelyWorkingDescendants: z.ZodOptional<z.ZodNumber>;
|
|
23113
23255
|
attentionSince: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23114
23256
|
truncated: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -23325,6 +23467,7 @@ export declare const CreateSessionResponse: z.ZodObject<{
|
|
|
23325
23467
|
"artifacts:read": "artifacts:read";
|
|
23326
23468
|
"billing:manage": "billing:manage";
|
|
23327
23469
|
"billing:read": "billing:read";
|
|
23470
|
+
"capabilities:manage": "capabilities:manage";
|
|
23328
23471
|
"codemode:call": "codemode:call";
|
|
23329
23472
|
"connections:read": "connections:read";
|
|
23330
23473
|
"connections:write": "connections:write";
|
|
@@ -23661,6 +23804,7 @@ export declare const CreateSessionResponse: z.ZodObject<{
|
|
|
23661
23804
|
pausedDescendants: z.ZodNumber;
|
|
23662
23805
|
failedDescendants: z.ZodNumber;
|
|
23663
23806
|
unreadDescendants: z.ZodOptional<z.ZodNumber>;
|
|
23807
|
+
unreadFailedDescendants: z.ZodOptional<z.ZodNumber>;
|
|
23664
23808
|
activelyWorkingDescendants: z.ZodOptional<z.ZodNumber>;
|
|
23665
23809
|
attentionSince: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23666
23810
|
truncated: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -23883,6 +24027,7 @@ export declare const SessionListResponse: z.ZodObject<{
|
|
|
23883
24027
|
"artifacts:read": "artifacts:read";
|
|
23884
24028
|
"billing:manage": "billing:manage";
|
|
23885
24029
|
"billing:read": "billing:read";
|
|
24030
|
+
"capabilities:manage": "capabilities:manage";
|
|
23886
24031
|
"codemode:call": "codemode:call";
|
|
23887
24032
|
"connections:read": "connections:read";
|
|
23888
24033
|
"connections:write": "connections:write";
|
|
@@ -24219,6 +24364,7 @@ export declare const SessionListResponse: z.ZodObject<{
|
|
|
24219
24364
|
pausedDescendants: z.ZodNumber;
|
|
24220
24365
|
failedDescendants: z.ZodNumber;
|
|
24221
24366
|
unreadDescendants: z.ZodOptional<z.ZodNumber>;
|
|
24367
|
+
unreadFailedDescendants: z.ZodOptional<z.ZodNumber>;
|
|
24222
24368
|
activelyWorkingDescendants: z.ZodOptional<z.ZodNumber>;
|
|
24223
24369
|
attentionSince: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24224
24370
|
truncated: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -24430,6 +24576,7 @@ export declare const SessionListResponse: z.ZodObject<{
|
|
|
24430
24576
|
"artifacts:read": "artifacts:read";
|
|
24431
24577
|
"billing:manage": "billing:manage";
|
|
24432
24578
|
"billing:read": "billing:read";
|
|
24579
|
+
"capabilities:manage": "capabilities:manage";
|
|
24433
24580
|
"codemode:call": "codemode:call";
|
|
24434
24581
|
"connections:read": "connections:read";
|
|
24435
24582
|
"connections:write": "connections:write";
|
|
@@ -24766,6 +24913,7 @@ export declare const SessionListResponse: z.ZodObject<{
|
|
|
24766
24913
|
pausedDescendants: z.ZodNumber;
|
|
24767
24914
|
failedDescendants: z.ZodNumber;
|
|
24768
24915
|
unreadDescendants: z.ZodOptional<z.ZodNumber>;
|
|
24916
|
+
unreadFailedDescendants: z.ZodOptional<z.ZodNumber>;
|
|
24769
24917
|
activelyWorkingDescendants: z.ZodOptional<z.ZodNumber>;
|
|
24770
24918
|
attentionSince: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24771
24919
|
truncated: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -24985,6 +25133,7 @@ export declare const SessionLineageResponse: z.ZodObject<{
|
|
|
24985
25133
|
"artifacts:read": "artifacts:read";
|
|
24986
25134
|
"billing:manage": "billing:manage";
|
|
24987
25135
|
"billing:read": "billing:read";
|
|
25136
|
+
"capabilities:manage": "capabilities:manage";
|
|
24988
25137
|
"codemode:call": "codemode:call";
|
|
24989
25138
|
"connections:read": "connections:read";
|
|
24990
25139
|
"connections:write": "connections:write";
|
|
@@ -25321,6 +25470,7 @@ export declare const SessionLineageResponse: z.ZodObject<{
|
|
|
25321
25470
|
pausedDescendants: z.ZodNumber;
|
|
25322
25471
|
failedDescendants: z.ZodNumber;
|
|
25323
25472
|
unreadDescendants: z.ZodOptional<z.ZodNumber>;
|
|
25473
|
+
unreadFailedDescendants: z.ZodOptional<z.ZodNumber>;
|
|
25324
25474
|
activelyWorkingDescendants: z.ZodOptional<z.ZodNumber>;
|
|
25325
25475
|
attentionSince: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25326
25476
|
truncated: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -28161,6 +28311,7 @@ export declare const CreateSessionRequest: z.ZodPreprocess<z.ZodObject<{
|
|
|
28161
28311
|
"artifacts:read": "artifacts:read";
|
|
28162
28312
|
"billing:manage": "billing:manage";
|
|
28163
28313
|
"billing:read": "billing:read";
|
|
28314
|
+
"capabilities:manage": "capabilities:manage";
|
|
28164
28315
|
"codemode:call": "codemode:call";
|
|
28165
28316
|
"connections:read": "connections:read";
|
|
28166
28317
|
"connections:write": "connections:write";
|
|
@@ -29966,6 +30117,10 @@ export declare const ClientAuthConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
29966
30117
|
mode: z.ZodLiteral<"managedSession">;
|
|
29967
30118
|
session: z.ZodLiteral<"cookie">;
|
|
29968
30119
|
emailVerificationRequired: z.ZodDefault<z.ZodBoolean>;
|
|
30120
|
+
socialProviders: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
30121
|
+
github: "github";
|
|
30122
|
+
google: "google";
|
|
30123
|
+
}>>>;
|
|
29969
30124
|
}, z.core.$strip>], "mode">;
|
|
29970
30125
|
export type ClientAuthConfig = z.infer<typeof ClientAuthConfig>;
|
|
29971
30126
|
export declare const CapabilityUnavailableReason: z.ZodEnum<{
|
|
@@ -32367,6 +32522,20 @@ export declare const ClientConfig: z.ZodObject<{
|
|
|
32367
32522
|
none: "none";
|
|
32368
32523
|
xhigh: "xhigh";
|
|
32369
32524
|
}>>;
|
|
32525
|
+
defaultSandboxBackend: z.ZodDefault<z.ZodEnum<{
|
|
32526
|
+
blaxel: "blaxel";
|
|
32527
|
+
cloudflare: "cloudflare";
|
|
32528
|
+
daytona: "daytona";
|
|
32529
|
+
docker: "docker";
|
|
32530
|
+
e2b: "e2b";
|
|
32531
|
+
local: "local";
|
|
32532
|
+
modal: "modal";
|
|
32533
|
+
none: "none";
|
|
32534
|
+
opensandbox: "opensandbox";
|
|
32535
|
+
runloop: "runloop";
|
|
32536
|
+
selfhosted: "selfhosted";
|
|
32537
|
+
vercel: "vercel";
|
|
32538
|
+
}>>;
|
|
32370
32539
|
mcpServers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
32371
32540
|
id: z.ZodString;
|
|
32372
32541
|
name: z.ZodString;
|
|
@@ -32704,6 +32873,10 @@ export declare const ClientConfig: z.ZodObject<{
|
|
|
32704
32873
|
mode: z.ZodLiteral<"managedSession">;
|
|
32705
32874
|
session: z.ZodLiteral<"cookie">;
|
|
32706
32875
|
emailVerificationRequired: z.ZodDefault<z.ZodBoolean>;
|
|
32876
|
+
socialProviders: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
32877
|
+
github: "github";
|
|
32878
|
+
google: "google";
|
|
32879
|
+
}>>>;
|
|
32707
32880
|
}, z.core.$strip>], "mode">>;
|
|
32708
32881
|
analytics: z.ZodDefault<z.ZodObject<{
|
|
32709
32882
|
consentRequired: z.ZodBoolean;
|