@opengeni/contracts 2.9.2 → 2.11.1-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/atlassian.js +11 -11
- package/dist/{chunk-AWNGBY5I.js → chunk-6HOHS44G.js} +230 -29
- package/dist/chunk-6HOHS44G.js.map +1 -0
- package/dist/{chunk-4IVHBXRI.js → chunk-7ABONTXE.js} +42 -2
- package/dist/chunk-7ABONTXE.js.map +1 -0
- package/dist/{chunk-7RMTKFJW.js → chunk-7Q6HPDY2.js} +8 -8
- package/dist/{chunk-N6GRVXAJ.js → chunk-NPBM4QSK.js} +2 -2
- package/dist/connection-authority.js +11 -11
- package/dist/editable-artifact-codec-registry.js +2 -2
- package/dist/editable-artifact-live.js +2 -2
- package/dist/editable-artifact-serialized-commit.js +3 -3
- package/dist/editable-artifacts.js +13 -13
- package/dist/github-repository-contracts.d.ts +36 -0
- package/dist/github-repository-contracts.js +59 -0
- package/dist/github-repository-contracts.js.map +1 -0
- package/dist/github-repository.d.ts +14 -0
- package/dist/github-repository.js +36 -0
- package/dist/github-repository.js.map +1 -0
- package/dist/google-drive.js +12 -12
- package/dist/index.d.ts +492 -17
- package/dist/index.js +191 -135
- package/dist/model-picker-order.d.ts +23 -0
- package/dist/model-picker-order.js +42 -0
- package/dist/model-picker-order.js.map +1 -0
- package/dist/organization-membership-lifecycle.d.ts +17 -0
- package/dist/personal-github.js +11 -11
- package/dist/session-titles.d.ts +35 -0
- package/dist/session-titles.js +9 -3
- package/dist/workspace-learning-policy.d.ts +1 -1
- package/package.json +13 -1
- package/src/github-repository-contracts.ts +85 -0
- package/src/github-repository.ts +59 -0
- package/src/index.ts +336 -49
- package/src/model-picker-order.ts +87 -0
- package/src/organization-membership-lifecycle.ts +20 -0
- package/src/session-titles.ts +100 -0
- package/src/workspace-learning-policy.ts +4 -3
- package/dist/chunk-4IVHBXRI.js.map +0 -1
- package/dist/chunk-AWNGBY5I.js.map +0 -1
- /package/dist/{chunk-7RMTKFJW.js.map → chunk-7Q6HPDY2.js.map} +0 -0
- /package/dist/{chunk-N6GRVXAJ.js.map → chunk-NPBM4QSK.js.map} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -2023,7 +2023,7 @@ export declare const WorkspaceSettingsSchema: z.ZodObject<{
|
|
|
2023
2023
|
}, z.core.$strip>>;
|
|
2024
2024
|
}, z.core.$loose>;
|
|
2025
2025
|
export type WorkspaceSettings = z.infer<typeof WorkspaceSettingsSchema>;
|
|
2026
|
-
export declare function resolveWorkspaceMemoryEnabled(settings
|
|
2026
|
+
export declare function resolveWorkspaceMemoryEnabled(settings?: unknown): boolean;
|
|
2027
2027
|
/** Explicit defaults for new chats/schedules, or null for deployment defaults. */
|
|
2028
2028
|
export declare function resolveWorkspaceSessionDefaults(settings: unknown): WorkspaceSessionDefaults | null;
|
|
2029
2029
|
/** Exact capability defaults for new sessions, or null for deployment defaults. */
|
|
@@ -2315,6 +2315,130 @@ export declare const UpdateWorkspaceModelPolicyRequest: z.ZodObject<{
|
|
|
2315
2315
|
allowedModels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
2316
2316
|
}, z.core.$strip>;
|
|
2317
2317
|
export type UpdateWorkspaceModelPolicyRequest = z.infer<typeof UpdateWorkspaceModelPolicyRequest>;
|
|
2318
|
+
export declare const WORKSPACE_GATEWAY_CUSTOM_MODEL_UPSTREAM_ID_MAX_LENGTH = 238;
|
|
2319
|
+
export declare const CreateWorkspaceGatewayCustomModelRequest: z.ZodObject<{
|
|
2320
|
+
operationId: z.ZodString;
|
|
2321
|
+
upstreamModelId: z.ZodString;
|
|
2322
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2323
|
+
}, z.core.$strict>;
|
|
2324
|
+
export type CreateWorkspaceGatewayCustomModelRequest = z.infer<typeof CreateWorkspaceGatewayCustomModelRequest>;
|
|
2325
|
+
export declare const DeleteWorkspaceGatewayCustomModelRequest: z.ZodObject<{
|
|
2326
|
+
expectedVersion: z.ZodNumber;
|
|
2327
|
+
operationId: z.ZodString;
|
|
2328
|
+
}, z.core.$strict>;
|
|
2329
|
+
export type DeleteWorkspaceGatewayCustomModelRequest = z.infer<typeof DeleteWorkspaceGatewayCustomModelRequest>;
|
|
2330
|
+
export declare const WorkspaceGatewayCustomModel: z.ZodObject<{
|
|
2331
|
+
id: z.ZodString;
|
|
2332
|
+
upstreamModelId: z.ZodString;
|
|
2333
|
+
label: z.ZodNullable<z.ZodString>;
|
|
2334
|
+
version: z.ZodNumber;
|
|
2335
|
+
createdAt: z.ZodString;
|
|
2336
|
+
updatedAt: z.ZodString;
|
|
2337
|
+
}, z.core.$strip>;
|
|
2338
|
+
export type WorkspaceGatewayCustomModel = z.infer<typeof WorkspaceGatewayCustomModel>;
|
|
2339
|
+
export declare const WorkspaceGatewayCustomModelsResponse: z.ZodObject<{
|
|
2340
|
+
models: z.ZodArray<z.ZodObject<{
|
|
2341
|
+
id: z.ZodString;
|
|
2342
|
+
upstreamModelId: z.ZodString;
|
|
2343
|
+
label: z.ZodNullable<z.ZodString>;
|
|
2344
|
+
version: z.ZodNumber;
|
|
2345
|
+
createdAt: z.ZodString;
|
|
2346
|
+
updatedAt: z.ZodString;
|
|
2347
|
+
}, z.core.$strip>>;
|
|
2348
|
+
}, z.core.$strip>;
|
|
2349
|
+
export type WorkspaceGatewayCustomModelsResponse = z.infer<typeof WorkspaceGatewayCustomModelsResponse>;
|
|
2350
|
+
export declare const CreateWorkspaceOpenRouterCustomModelRequest: z.ZodObject<{
|
|
2351
|
+
operationId: z.ZodString;
|
|
2352
|
+
upstreamModelId: z.ZodString;
|
|
2353
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2354
|
+
}, z.core.$strict>;
|
|
2355
|
+
export type CreateWorkspaceOpenRouterCustomModelRequest = z.infer<typeof CreateWorkspaceOpenRouterCustomModelRequest>;
|
|
2356
|
+
export declare const DeleteWorkspaceOpenRouterCustomModelRequest: z.ZodObject<{
|
|
2357
|
+
expectedVersion: z.ZodNumber;
|
|
2358
|
+
operationId: z.ZodString;
|
|
2359
|
+
}, z.core.$strict>;
|
|
2360
|
+
export type DeleteWorkspaceOpenRouterCustomModelRequest = z.infer<typeof DeleteWorkspaceOpenRouterCustomModelRequest>;
|
|
2361
|
+
export declare const WorkspaceOpenRouterCustomModel: z.ZodObject<{
|
|
2362
|
+
id: z.ZodString;
|
|
2363
|
+
upstreamModelId: z.ZodString;
|
|
2364
|
+
label: z.ZodNullable<z.ZodString>;
|
|
2365
|
+
version: z.ZodNumber;
|
|
2366
|
+
createdAt: z.ZodString;
|
|
2367
|
+
updatedAt: z.ZodString;
|
|
2368
|
+
}, z.core.$strip>;
|
|
2369
|
+
export type WorkspaceOpenRouterCustomModel = z.infer<typeof WorkspaceOpenRouterCustomModel>;
|
|
2370
|
+
export declare const WorkspaceOpenRouterCustomModelsResponse: z.ZodObject<{
|
|
2371
|
+
models: z.ZodArray<z.ZodObject<{
|
|
2372
|
+
id: z.ZodString;
|
|
2373
|
+
upstreamModelId: z.ZodString;
|
|
2374
|
+
label: z.ZodNullable<z.ZodString>;
|
|
2375
|
+
version: z.ZodNumber;
|
|
2376
|
+
createdAt: z.ZodString;
|
|
2377
|
+
updatedAt: z.ZodString;
|
|
2378
|
+
}, z.core.$strip>>;
|
|
2379
|
+
}, z.core.$strip>;
|
|
2380
|
+
export type WorkspaceOpenRouterCustomModelsResponse = z.infer<typeof WorkspaceOpenRouterCustomModelsResponse>;
|
|
2381
|
+
export declare const CreateOrganizationProviderCustomModelRequest: z.ZodObject<{
|
|
2382
|
+
operationId: z.ZodString;
|
|
2383
|
+
upstreamModelId: z.ZodString;
|
|
2384
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2385
|
+
}, z.core.$strict>;
|
|
2386
|
+
export type CreateOrganizationProviderCustomModelRequest = z.infer<typeof CreateOrganizationProviderCustomModelRequest>;
|
|
2387
|
+
export declare const DeleteOrganizationProviderCustomModelRequest: z.ZodObject<{
|
|
2388
|
+
expectedVersion: z.ZodNumber;
|
|
2389
|
+
operationId: z.ZodString;
|
|
2390
|
+
}, z.core.$strict>;
|
|
2391
|
+
export type DeleteOrganizationProviderCustomModelRequest = z.infer<typeof DeleteOrganizationProviderCustomModelRequest>;
|
|
2392
|
+
export declare const OrganizationProviderCustomModel: z.ZodObject<{
|
|
2393
|
+
id: z.ZodString;
|
|
2394
|
+
upstreamModelId: z.ZodString;
|
|
2395
|
+
label: z.ZodNullable<z.ZodString>;
|
|
2396
|
+
version: z.ZodNumber;
|
|
2397
|
+
createdAt: z.ZodString;
|
|
2398
|
+
updatedAt: z.ZodString;
|
|
2399
|
+
}, z.core.$strip>;
|
|
2400
|
+
export type OrganizationProviderCustomModel = z.infer<typeof OrganizationProviderCustomModel>;
|
|
2401
|
+
export declare const OrganizationProviderCustomModelsResponse: z.ZodObject<{
|
|
2402
|
+
models: z.ZodArray<z.ZodObject<{
|
|
2403
|
+
id: z.ZodString;
|
|
2404
|
+
upstreamModelId: z.ZodString;
|
|
2405
|
+
label: z.ZodNullable<z.ZodString>;
|
|
2406
|
+
version: z.ZodNumber;
|
|
2407
|
+
createdAt: z.ZodString;
|
|
2408
|
+
updatedAt: z.ZodString;
|
|
2409
|
+
}, z.core.$strip>>;
|
|
2410
|
+
}, z.core.$strip>;
|
|
2411
|
+
export type OrganizationProviderCustomModelsResponse = z.infer<typeof OrganizationProviderCustomModelsResponse>;
|
|
2412
|
+
export declare const OrganizationModelProviderKind: z.ZodEnum<{
|
|
2413
|
+
openrouter: "openrouter";
|
|
2414
|
+
vercel_gateway: "vercel_gateway";
|
|
2415
|
+
}>;
|
|
2416
|
+
export type OrganizationModelProviderKind = z.infer<typeof OrganizationModelProviderKind>;
|
|
2417
|
+
export declare const OrganizationModelProviderConnectionResponse: z.ZodObject<{
|
|
2418
|
+
providerKind: z.ZodEnum<{
|
|
2419
|
+
openrouter: "openrouter";
|
|
2420
|
+
vercel_gateway: "vercel_gateway";
|
|
2421
|
+
}>;
|
|
2422
|
+
status: z.ZodEnum<{
|
|
2423
|
+
active: "active";
|
|
2424
|
+
revoked: "revoked";
|
|
2425
|
+
}>;
|
|
2426
|
+
version: z.ZodNumber;
|
|
2427
|
+
createdAt: z.ZodString;
|
|
2428
|
+
updatedAt: z.ZodString;
|
|
2429
|
+
}, z.core.$strip>;
|
|
2430
|
+
export type OrganizationModelProviderConnectionResponse = z.infer<typeof OrganizationModelProviderConnectionResponse>;
|
|
2431
|
+
export declare const UpsertOrganizationModelProviderConnectionRequest: z.ZodObject<{
|
|
2432
|
+
operationId: z.ZodString;
|
|
2433
|
+
expectedVersion: z.ZodOptional<z.ZodNumber>;
|
|
2434
|
+
apiKey: z.ZodString;
|
|
2435
|
+
}, z.core.$strict>;
|
|
2436
|
+
export type UpsertOrganizationModelProviderConnectionRequest = z.infer<typeof UpsertOrganizationModelProviderConnectionRequest>;
|
|
2437
|
+
export declare const RevokeOrganizationModelProviderConnectionRequest: z.ZodObject<{
|
|
2438
|
+
operationId: z.ZodString;
|
|
2439
|
+
expectedVersion: z.ZodNumber;
|
|
2440
|
+
}, z.core.$strict>;
|
|
2441
|
+
export type RevokeOrganizationModelProviderConnectionRequest = z.infer<typeof RevokeOrganizationModelProviderConnectionRequest>;
|
|
2318
2442
|
/** Reserved creator/initiator id used only by legacy-row migration defaults. */
|
|
2319
2443
|
export declare const UNATTRIBUTED_LEGACY_INITIATOR_SUBJECT_ID: "unattributed-legacy";
|
|
2320
2444
|
/**
|
|
@@ -3714,6 +3838,8 @@ export declare const InsightsModelUsageRow: z.ZodObject<{
|
|
|
3714
3838
|
creditUsd: z.ZodNumber;
|
|
3715
3839
|
estimatedProviderUsd: z.ZodNumber;
|
|
3716
3840
|
estimatedProviderCostKnownCalls: z.ZodNumber;
|
|
3841
|
+
equivalentCreditUsd: z.ZodNumber;
|
|
3842
|
+
equivalentCreditCostKnownCalls: z.ZodNumber;
|
|
3717
3843
|
}, z.core.$strip>;
|
|
3718
3844
|
export type InsightsModelUsageRow = z.infer<typeof InsightsModelUsageRow>;
|
|
3719
3845
|
export declare const InsightsSeriesPoint: z.ZodObject<{
|
|
@@ -3721,6 +3847,8 @@ export declare const InsightsSeriesPoint: z.ZodObject<{
|
|
|
3721
3847
|
modelCostUsd: z.ZodNumber;
|
|
3722
3848
|
estimatedProviderUsd: z.ZodNumber;
|
|
3723
3849
|
estimatedProviderCostKnownCalls: z.ZodNumber;
|
|
3850
|
+
equivalentCreditUsd: z.ZodNumber;
|
|
3851
|
+
equivalentCreditCostKnownCalls: z.ZodNumber;
|
|
3724
3852
|
warmSeconds: z.ZodNumber;
|
|
3725
3853
|
inputTokens: z.ZodNumber;
|
|
3726
3854
|
outputTokens: z.ZodNumber;
|
|
@@ -3755,6 +3883,8 @@ export declare const InsightsSpendDriver: z.ZodObject<{
|
|
|
3755
3883
|
creditUsd: z.ZodNumber;
|
|
3756
3884
|
estimatedProviderUsd: z.ZodNumber;
|
|
3757
3885
|
estimatedProviderCostKnownCalls: z.ZodNumber;
|
|
3886
|
+
equivalentCreditUsd: z.ZodNumber;
|
|
3887
|
+
equivalentCreditCostKnownCalls: z.ZodNumber;
|
|
3758
3888
|
tokens: z.ZodNumber;
|
|
3759
3889
|
cacheHitPct: z.ZodNumber;
|
|
3760
3890
|
pctOfCreditUsd: z.ZodNumber;
|
|
@@ -3807,6 +3937,8 @@ export declare const InsightsScheduleRow: z.ZodObject<{
|
|
|
3807
3937
|
creditUsd: z.ZodNullable<z.ZodNumber>;
|
|
3808
3938
|
estimatedProviderUsd: z.ZodNullable<z.ZodNumber>;
|
|
3809
3939
|
estimatedProviderCostKnownCalls: z.ZodNullable<z.ZodNumber>;
|
|
3940
|
+
equivalentCreditUsd: z.ZodNullable<z.ZodNumber>;
|
|
3941
|
+
equivalentCreditCostKnownCalls: z.ZodNullable<z.ZodNumber>;
|
|
3810
3942
|
tokens: z.ZodNullable<z.ZodNumber>;
|
|
3811
3943
|
cacheHitPct: z.ZodNullable<z.ZodNumber>;
|
|
3812
3944
|
billing: z.ZodNullable<z.ZodEnum<{
|
|
@@ -3837,6 +3969,7 @@ export declare const InsightsModelCallRow: z.ZodObject<{
|
|
|
3837
3969
|
totalTokens: z.ZodNullable<z.ZodNumber>;
|
|
3838
3970
|
creditUsd: z.ZodNumber;
|
|
3839
3971
|
estimatedProviderUsd: z.ZodNullable<z.ZodNumber>;
|
|
3972
|
+
equivalentCreditUsd: z.ZodNullable<z.ZodNumber>;
|
|
3840
3973
|
pricingSource: z.ZodNullable<z.ZodEnum<{
|
|
3841
3974
|
configured_list_price: "configured_list_price";
|
|
3842
3975
|
gateway_reported: "gateway_reported";
|
|
@@ -3879,6 +4012,8 @@ export declare const WorkspaceInsightsSnapshot: z.ZodObject<{
|
|
|
3879
4012
|
creditUsd: z.ZodNumber;
|
|
3880
4013
|
estimatedProviderUsd: z.ZodNumber;
|
|
3881
4014
|
estimatedProviderCostKnownCalls: z.ZodNumber;
|
|
4015
|
+
equivalentCreditUsd: z.ZodNumber;
|
|
4016
|
+
equivalentCreditCostKnownCalls: z.ZodNumber;
|
|
3882
4017
|
}, z.core.$strip>>;
|
|
3883
4018
|
facets: z.ZodArray<z.ZodObject<{
|
|
3884
4019
|
provider: z.ZodString;
|
|
@@ -3889,6 +4024,8 @@ export declare const WorkspaceInsightsSnapshot: z.ZodObject<{
|
|
|
3889
4024
|
modelCostUsd: z.ZodNumber;
|
|
3890
4025
|
estimatedProviderUsd: z.ZodNumber;
|
|
3891
4026
|
estimatedProviderCostKnownCalls: z.ZodNumber;
|
|
4027
|
+
equivalentCreditUsd: z.ZodNumber;
|
|
4028
|
+
equivalentCreditCostKnownCalls: z.ZodNumber;
|
|
3892
4029
|
warmSeconds: z.ZodNumber;
|
|
3893
4030
|
inputTokens: z.ZodNumber;
|
|
3894
4031
|
outputTokens: z.ZodNumber;
|
|
@@ -3916,6 +4053,8 @@ export declare const WorkspaceInsightsSnapshot: z.ZodObject<{
|
|
|
3916
4053
|
creditUsd: z.ZodNumber;
|
|
3917
4054
|
estimatedProviderUsd: z.ZodNumber;
|
|
3918
4055
|
estimatedProviderCostKnownCalls: z.ZodNumber;
|
|
4056
|
+
equivalentCreditUsd: z.ZodNumber;
|
|
4057
|
+
equivalentCreditCostKnownCalls: z.ZodNumber;
|
|
3919
4058
|
tokens: z.ZodNumber;
|
|
3920
4059
|
cacheHitPct: z.ZodNumber;
|
|
3921
4060
|
pctOfCreditUsd: z.ZodNumber;
|
|
@@ -3929,6 +4068,8 @@ export declare const WorkspaceInsightsSnapshot: z.ZodObject<{
|
|
|
3929
4068
|
creditUsd: z.ZodNullable<z.ZodNumber>;
|
|
3930
4069
|
estimatedProviderUsd: z.ZodNullable<z.ZodNumber>;
|
|
3931
4070
|
estimatedProviderCostKnownCalls: z.ZodNullable<z.ZodNumber>;
|
|
4071
|
+
equivalentCreditUsd: z.ZodNullable<z.ZodNumber>;
|
|
4072
|
+
equivalentCreditCostKnownCalls: z.ZodNullable<z.ZodNumber>;
|
|
3932
4073
|
tokens: z.ZodNullable<z.ZodNumber>;
|
|
3933
4074
|
cacheHitPct: z.ZodNullable<z.ZodNumber>;
|
|
3934
4075
|
billing: z.ZodNullable<z.ZodEnum<{
|
|
@@ -3958,6 +4099,7 @@ export declare const WorkspaceInsightsSnapshot: z.ZodObject<{
|
|
|
3958
4099
|
totalTokens: z.ZodNullable<z.ZodNumber>;
|
|
3959
4100
|
creditUsd: z.ZodNumber;
|
|
3960
4101
|
estimatedProviderUsd: z.ZodNullable<z.ZodNumber>;
|
|
4102
|
+
equivalentCreditUsd: z.ZodNullable<z.ZodNumber>;
|
|
3961
4103
|
pricingSource: z.ZodNullable<z.ZodEnum<{
|
|
3962
4104
|
configured_list_price: "configured_list_price";
|
|
3963
4105
|
gateway_reported: "gateway_reported";
|
|
@@ -4030,6 +4172,10 @@ export declare const WorkspaceInsightsSnapshot: z.ZodObject<{
|
|
|
4030
4172
|
priorEstimatedProviderUsd: z.ZodNumber;
|
|
4031
4173
|
estimatedProviderCostKnownCalls: z.ZodNumber;
|
|
4032
4174
|
priorEstimatedProviderCostKnownCalls: z.ZodNumber;
|
|
4175
|
+
equivalentCreditUsd: z.ZodNumber;
|
|
4176
|
+
priorEquivalentCreditUsd: z.ZodNumber;
|
|
4177
|
+
equivalentCreditCostKnownCalls: z.ZodNumber;
|
|
4178
|
+
priorEquivalentCreditCostKnownCalls: z.ZodNumber;
|
|
4033
4179
|
modelCalls: z.ZodNumber;
|
|
4034
4180
|
priorInputTokens: z.ZodNumber;
|
|
4035
4181
|
priorTotalTokens: z.ZodNumber;
|
|
@@ -4087,6 +4233,8 @@ export declare const WorkspaceInsightsResponse: z.ZodObject<{
|
|
|
4087
4233
|
creditUsd: z.ZodNumber;
|
|
4088
4234
|
estimatedProviderUsd: z.ZodNumber;
|
|
4089
4235
|
estimatedProviderCostKnownCalls: z.ZodNumber;
|
|
4236
|
+
equivalentCreditUsd: z.ZodNumber;
|
|
4237
|
+
equivalentCreditCostKnownCalls: z.ZodNumber;
|
|
4090
4238
|
}, z.core.$strip>>;
|
|
4091
4239
|
facets: z.ZodArray<z.ZodObject<{
|
|
4092
4240
|
provider: z.ZodString;
|
|
@@ -4097,6 +4245,8 @@ export declare const WorkspaceInsightsResponse: z.ZodObject<{
|
|
|
4097
4245
|
modelCostUsd: z.ZodNumber;
|
|
4098
4246
|
estimatedProviderUsd: z.ZodNumber;
|
|
4099
4247
|
estimatedProviderCostKnownCalls: z.ZodNumber;
|
|
4248
|
+
equivalentCreditUsd: z.ZodNumber;
|
|
4249
|
+
equivalentCreditCostKnownCalls: z.ZodNumber;
|
|
4100
4250
|
warmSeconds: z.ZodNumber;
|
|
4101
4251
|
inputTokens: z.ZodNumber;
|
|
4102
4252
|
outputTokens: z.ZodNumber;
|
|
@@ -4124,6 +4274,8 @@ export declare const WorkspaceInsightsResponse: z.ZodObject<{
|
|
|
4124
4274
|
creditUsd: z.ZodNumber;
|
|
4125
4275
|
estimatedProviderUsd: z.ZodNumber;
|
|
4126
4276
|
estimatedProviderCostKnownCalls: z.ZodNumber;
|
|
4277
|
+
equivalentCreditUsd: z.ZodNumber;
|
|
4278
|
+
equivalentCreditCostKnownCalls: z.ZodNumber;
|
|
4127
4279
|
tokens: z.ZodNumber;
|
|
4128
4280
|
cacheHitPct: z.ZodNumber;
|
|
4129
4281
|
pctOfCreditUsd: z.ZodNumber;
|
|
@@ -4137,6 +4289,8 @@ export declare const WorkspaceInsightsResponse: z.ZodObject<{
|
|
|
4137
4289
|
creditUsd: z.ZodNullable<z.ZodNumber>;
|
|
4138
4290
|
estimatedProviderUsd: z.ZodNullable<z.ZodNumber>;
|
|
4139
4291
|
estimatedProviderCostKnownCalls: z.ZodNullable<z.ZodNumber>;
|
|
4292
|
+
equivalentCreditUsd: z.ZodNullable<z.ZodNumber>;
|
|
4293
|
+
equivalentCreditCostKnownCalls: z.ZodNullable<z.ZodNumber>;
|
|
4140
4294
|
tokens: z.ZodNullable<z.ZodNumber>;
|
|
4141
4295
|
cacheHitPct: z.ZodNullable<z.ZodNumber>;
|
|
4142
4296
|
billing: z.ZodNullable<z.ZodEnum<{
|
|
@@ -4166,6 +4320,7 @@ export declare const WorkspaceInsightsResponse: z.ZodObject<{
|
|
|
4166
4320
|
totalTokens: z.ZodNullable<z.ZodNumber>;
|
|
4167
4321
|
creditUsd: z.ZodNumber;
|
|
4168
4322
|
estimatedProviderUsd: z.ZodNullable<z.ZodNumber>;
|
|
4323
|
+
equivalentCreditUsd: z.ZodNullable<z.ZodNumber>;
|
|
4169
4324
|
pricingSource: z.ZodNullable<z.ZodEnum<{
|
|
4170
4325
|
configured_list_price: "configured_list_price";
|
|
4171
4326
|
gateway_reported: "gateway_reported";
|
|
@@ -4238,6 +4393,10 @@ export declare const WorkspaceInsightsResponse: z.ZodObject<{
|
|
|
4238
4393
|
priorEstimatedProviderUsd: z.ZodNumber;
|
|
4239
4394
|
estimatedProviderCostKnownCalls: z.ZodNumber;
|
|
4240
4395
|
priorEstimatedProviderCostKnownCalls: z.ZodNumber;
|
|
4396
|
+
equivalentCreditUsd: z.ZodNumber;
|
|
4397
|
+
priorEquivalentCreditUsd: z.ZodNumber;
|
|
4398
|
+
equivalentCreditCostKnownCalls: z.ZodNumber;
|
|
4399
|
+
priorEquivalentCreditCostKnownCalls: z.ZodNumber;
|
|
4241
4400
|
modelCalls: z.ZodNumber;
|
|
4242
4401
|
priorInputTokens: z.ZodNumber;
|
|
4243
4402
|
priorTotalTokens: z.ZodNumber;
|
|
@@ -4514,6 +4673,7 @@ export declare const McpConnectionResourceScope: z.ZodObject<{
|
|
|
4514
4673
|
export type McpConnectionResourceScope = z.infer<typeof McpConnectionResourceScope>;
|
|
4515
4674
|
export declare const McpServerConnectionRef: z.ZodObject<{
|
|
4516
4675
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
4676
|
+
authoritySource: z.ZodOptional<z.ZodLiteral<"host">>;
|
|
4517
4677
|
provider: z.ZodOptional<z.ZodString>;
|
|
4518
4678
|
providerDomain: z.ZodString;
|
|
4519
4679
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
@@ -4859,6 +5019,13 @@ export type GitHubUserRepositoryAccess = GitHubRepository & {
|
|
|
4859
5019
|
export type GitHubUserInstallationAccess = GitHubInstallationSummary & {
|
|
4860
5020
|
repositories: GitHubUserRepositoryAccess[];
|
|
4861
5021
|
};
|
|
5022
|
+
export type GitHubAppRepositoryBranchPage = {
|
|
5023
|
+
installationId: number;
|
|
5024
|
+
repositoryId: number;
|
|
5025
|
+
defaultBranch: string;
|
|
5026
|
+
branches: string[];
|
|
5027
|
+
nextPage: number | null;
|
|
5028
|
+
};
|
|
4862
5029
|
export type GitHubAppApiPort = {
|
|
4863
5030
|
/**
|
|
4864
5031
|
* Exchange one fresh GitHub user-authorization code and prove current
|
|
@@ -4894,6 +5061,18 @@ export type GitHubAppApiPort = {
|
|
|
4894
5061
|
listRepositories?: (input: {
|
|
4895
5062
|
installationIds?: number[];
|
|
4896
5063
|
}) => Promise<GitHubRepository[]>;
|
|
5064
|
+
/**
|
|
5065
|
+
* List one bounded page of branch suggestions for one exact repository.
|
|
5066
|
+
* Implementations must keep the provider credential server-side and scope
|
|
5067
|
+
* it to exactly `repositoryId`; the caller separately rechecks the durable
|
|
5068
|
+
* workspace binding immediately before and after this provider request.
|
|
5069
|
+
*/
|
|
5070
|
+
listRepositoryBranches?: (input: {
|
|
5071
|
+
installationId: number;
|
|
5072
|
+
repositoryId: number;
|
|
5073
|
+
page: number;
|
|
5074
|
+
limit: number;
|
|
5075
|
+
}) => Promise<GitHubAppRepositoryBranchPage>;
|
|
4897
5076
|
};
|
|
4898
5077
|
export declare const BillingBalance: z.ZodObject<{
|
|
4899
5078
|
accountId: z.ZodString;
|
|
@@ -6351,6 +6530,7 @@ export declare const SessionMcpServerInput: z.ZodObject<{
|
|
|
6351
6530
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
6352
6531
|
connectionRef: z.ZodOptional<z.ZodObject<{
|
|
6353
6532
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
6533
|
+
authoritySource: z.ZodOptional<z.ZodLiteral<"host">>;
|
|
6354
6534
|
provider: z.ZodOptional<z.ZodString>;
|
|
6355
6535
|
providerDomain: z.ZodString;
|
|
6356
6536
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
@@ -6386,6 +6566,7 @@ export declare const SessionMcpServerMetadata: z.ZodObject<{
|
|
|
6386
6566
|
requireApproval: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string[], string[]>>]>>;
|
|
6387
6567
|
connectionRef: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
6388
6568
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
6569
|
+
authoritySource: z.ZodOptional<z.ZodLiteral<"host">>;
|
|
6389
6570
|
provider: z.ZodOptional<z.ZodString>;
|
|
6390
6571
|
providerDomain: z.ZodString;
|
|
6391
6572
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
@@ -6421,6 +6602,7 @@ export declare const UpdateSessionMcpApprovalPolicyResponse: z.ZodObject<{
|
|
|
6421
6602
|
requireApproval: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string[], string[]>>]>>;
|
|
6422
6603
|
connectionRef: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
6423
6604
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
6605
|
+
authoritySource: z.ZodOptional<z.ZodLiteral<"host">>;
|
|
6424
6606
|
provider: z.ZodOptional<z.ZodString>;
|
|
6425
6607
|
providerDomain: z.ZodString;
|
|
6426
6608
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
@@ -14121,6 +14303,7 @@ export declare const ScheduledTaskRunAcceptedExecution: z.ZodObject<{
|
|
|
14121
14303
|
priority: "priority";
|
|
14122
14304
|
standard: "standard";
|
|
14123
14305
|
}>;
|
|
14306
|
+
turnExecutionPolicy: z.ZodOptional<z.ZodUnknown>;
|
|
14124
14307
|
resolvedSandboxBackend: z.ZodEnum<{
|
|
14125
14308
|
blaxel: "blaxel";
|
|
14126
14309
|
cloudflare: "cloudflare";
|
|
@@ -18219,29 +18402,71 @@ export type CapabilityPackSkillFile = z.infer<typeof CapabilityPackSkillFile>;
|
|
|
18219
18402
|
export declare const CapabilityPackSkill: z.ZodObject<{
|
|
18220
18403
|
name: z.ZodString;
|
|
18221
18404
|
description: z.ZodOptional<z.ZodString>;
|
|
18405
|
+
activationMode: z.ZodOptional<z.ZodEnum<{
|
|
18406
|
+
session_selected: "session_selected";
|
|
18407
|
+
workspace_managed: "workspace_managed";
|
|
18408
|
+
}>>;
|
|
18222
18409
|
files: z.ZodArray<z.ZodObject<{
|
|
18223
18410
|
path: z.ZodString;
|
|
18224
18411
|
content: z.ZodString;
|
|
18225
18412
|
}, z.core.$strip>>;
|
|
18226
18413
|
}, z.core.$strip>;
|
|
18227
18414
|
export type CapabilityPackSkill = z.infer<typeof CapabilityPackSkill>;
|
|
18228
|
-
export declare const SessionSkill: z.ZodObject<{
|
|
18415
|
+
export declare const SessionSkill: z.ZodPipe<z.ZodObject<{
|
|
18229
18416
|
name: z.ZodString;
|
|
18230
18417
|
description: z.ZodOptional<z.ZodString>;
|
|
18418
|
+
activationMode: z.ZodOptional<z.ZodEnum<{
|
|
18419
|
+
session_selected: "session_selected";
|
|
18420
|
+
workspace_managed: "workspace_managed";
|
|
18421
|
+
}>>;
|
|
18231
18422
|
files: z.ZodArray<z.ZodObject<{
|
|
18232
18423
|
path: z.ZodString;
|
|
18233
18424
|
content: z.ZodString;
|
|
18234
18425
|
}, z.core.$strip>>;
|
|
18235
|
-
}, z.core.$strip
|
|
18426
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
18427
|
+
name: string;
|
|
18428
|
+
description?: string | undefined;
|
|
18429
|
+
files: {
|
|
18430
|
+
path: string;
|
|
18431
|
+
content: string;
|
|
18432
|
+
}[];
|
|
18433
|
+
}, {
|
|
18434
|
+
name: string;
|
|
18435
|
+
description?: string | undefined;
|
|
18436
|
+
activationMode?: "session_selected" | "workspace_managed" | undefined;
|
|
18437
|
+
files: {
|
|
18438
|
+
path: string;
|
|
18439
|
+
content: string;
|
|
18440
|
+
}[];
|
|
18441
|
+
}>>;
|
|
18236
18442
|
export type SessionSkill = z.infer<typeof SessionSkill>;
|
|
18237
|
-
export declare const SessionSkills: z.ZodPipe<z.ZodArray<z.ZodObject<{
|
|
18443
|
+
export declare const SessionSkills: z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
18238
18444
|
name: z.ZodString;
|
|
18239
18445
|
description: z.ZodOptional<z.ZodString>;
|
|
18446
|
+
activationMode: z.ZodOptional<z.ZodEnum<{
|
|
18447
|
+
session_selected: "session_selected";
|
|
18448
|
+
workspace_managed: "workspace_managed";
|
|
18449
|
+
}>>;
|
|
18240
18450
|
files: z.ZodArray<z.ZodObject<{
|
|
18241
18451
|
path: z.ZodString;
|
|
18242
18452
|
content: z.ZodString;
|
|
18243
18453
|
}, z.core.$strip>>;
|
|
18244
|
-
}, z.core.$strip
|
|
18454
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
18455
|
+
name: string;
|
|
18456
|
+
description?: string | undefined;
|
|
18457
|
+
files: {
|
|
18458
|
+
path: string;
|
|
18459
|
+
content: string;
|
|
18460
|
+
}[];
|
|
18461
|
+
}, {
|
|
18462
|
+
name: string;
|
|
18463
|
+
description?: string | undefined;
|
|
18464
|
+
activationMode?: "session_selected" | "workspace_managed" | undefined;
|
|
18465
|
+
files: {
|
|
18466
|
+
path: string;
|
|
18467
|
+
content: string;
|
|
18468
|
+
}[];
|
|
18469
|
+
}>>>, z.ZodTransform<{
|
|
18245
18470
|
name: string;
|
|
18246
18471
|
description?: string | undefined;
|
|
18247
18472
|
files: {
|
|
@@ -18316,6 +18541,10 @@ export declare const CapabilityPack: z.ZodPreprocess<z.ZodObject<{
|
|
|
18316
18541
|
skills: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
18317
18542
|
name: z.ZodString;
|
|
18318
18543
|
description: z.ZodOptional<z.ZodString>;
|
|
18544
|
+
activationMode: z.ZodOptional<z.ZodEnum<{
|
|
18545
|
+
session_selected: "session_selected";
|
|
18546
|
+
workspace_managed: "workspace_managed";
|
|
18547
|
+
}>>;
|
|
18319
18548
|
files: z.ZodArray<z.ZodObject<{
|
|
18320
18549
|
path: z.ZodString;
|
|
18321
18550
|
content: z.ZodString;
|
|
@@ -18730,6 +18959,10 @@ export declare const RegisterCapabilityPackRequest: z.ZodPreprocess<z.ZodObject<
|
|
|
18730
18959
|
skills: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
18731
18960
|
name: z.ZodString;
|
|
18732
18961
|
description: z.ZodOptional<z.ZodString>;
|
|
18962
|
+
activationMode: z.ZodOptional<z.ZodEnum<{
|
|
18963
|
+
session_selected: "session_selected";
|
|
18964
|
+
workspace_managed: "workspace_managed";
|
|
18965
|
+
}>>;
|
|
18733
18966
|
files: z.ZodArray<z.ZodObject<{
|
|
18734
18967
|
path: z.ZodString;
|
|
18735
18968
|
content: z.ZodString;
|
|
@@ -19147,6 +19380,10 @@ export declare const WorkspaceRegisteredPack: z.ZodObject<{
|
|
|
19147
19380
|
skills: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
19148
19381
|
name: z.ZodString;
|
|
19149
19382
|
description: z.ZodOptional<z.ZodString>;
|
|
19383
|
+
activationMode: z.ZodOptional<z.ZodEnum<{
|
|
19384
|
+
session_selected: "session_selected";
|
|
19385
|
+
workspace_managed: "workspace_managed";
|
|
19386
|
+
}>>;
|
|
19150
19387
|
files: z.ZodArray<z.ZodObject<{
|
|
19151
19388
|
path: z.ZodString;
|
|
19152
19389
|
content: z.ZodString;
|
|
@@ -19583,6 +19820,10 @@ export declare const PackInstallation: z.ZodObject<{
|
|
|
19583
19820
|
skills: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
19584
19821
|
name: z.ZodString;
|
|
19585
19822
|
description: z.ZodOptional<z.ZodString>;
|
|
19823
|
+
activationMode: z.ZodOptional<z.ZodEnum<{
|
|
19824
|
+
session_selected: "session_selected";
|
|
19825
|
+
workspace_managed: "workspace_managed";
|
|
19826
|
+
}>>;
|
|
19586
19827
|
files: z.ZodArray<z.ZodObject<{
|
|
19587
19828
|
path: z.ZodString;
|
|
19588
19829
|
content: z.ZodString;
|
|
@@ -20565,6 +20806,10 @@ export declare function comparePersonalSlackCanonicalConnections(left: PersonalS
|
|
|
20565
20806
|
export declare function selectCanonicalPersonalSlackConnection<T extends PersonalSlackCanonicalConnection>(connections: readonly T[]): T | null;
|
|
20566
20807
|
export declare const ConnectionCredentialBundle: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
20567
20808
|
export type ConnectionCredentialBundle = z.infer<typeof ConnectionCredentialBundle>;
|
|
20809
|
+
export declare const VERCEL_AI_GATEWAY_CREDENTIAL_OPERATION_ID_METADATA_KEY: "vercelAiGatewayCredentialOperationId";
|
|
20810
|
+
export declare const VERCEL_AI_GATEWAY_CREDENTIAL_OPERATION_DIGEST_METADATA_KEY: "vercelAiGatewayCredentialOperationDigest";
|
|
20811
|
+
export declare const OPENROUTER_CREDENTIAL_OPERATION_ID_METADATA_KEY: "openRouterCredentialOperationId";
|
|
20812
|
+
export declare const OPENROUTER_CREDENTIAL_OPERATION_DIGEST_METADATA_KEY: "openRouterCredentialOperationDigest";
|
|
20568
20813
|
export declare const CreateConnectionRequest: z.ZodObject<{
|
|
20569
20814
|
providerDomain: z.ZodString;
|
|
20570
20815
|
kind: z.ZodEnum<{
|
|
@@ -20582,6 +20827,7 @@ export declare const CreateConnectionRequest: z.ZodObject<{
|
|
|
20582
20827
|
grantedScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
20583
20828
|
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20584
20829
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
20830
|
+
operationId: z.ZodOptional<z.ZodString>;
|
|
20585
20831
|
}, z.core.$strip>;
|
|
20586
20832
|
export type CreateConnectionRequest = z.infer<typeof CreateConnectionRequest>;
|
|
20587
20833
|
export declare const OpenGeniSlackBotInstallRequest: z.ZodObject<{
|
|
@@ -20683,6 +20929,8 @@ export declare const UpdateConnectionRequest: z.ZodObject<{
|
|
|
20683
20929
|
grantedScopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
20684
20930
|
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20685
20931
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
20932
|
+
expectedVersion: z.ZodOptional<z.ZodNumber>;
|
|
20933
|
+
operationId: z.ZodOptional<z.ZodString>;
|
|
20686
20934
|
}, z.core.$strip>;
|
|
20687
20935
|
export type UpdateConnectionRequest = z.infer<typeof UpdateConnectionRequest>;
|
|
20688
20936
|
export declare const ConnectionResponse: z.ZodObject<{
|
|
@@ -21041,6 +21289,7 @@ export declare const CapabilityCatalogItem: z.ZodObject<{
|
|
|
21041
21289
|
enabledReason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
21042
21290
|
connectionRef: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
21043
21291
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
21292
|
+
authoritySource: z.ZodOptional<z.ZodLiteral<"host">>;
|
|
21044
21293
|
providerDomain: z.ZodString;
|
|
21045
21294
|
kind: z.ZodString;
|
|
21046
21295
|
subjectScope: z.ZodOptional<z.ZodEnum<{
|
|
@@ -21110,6 +21359,7 @@ export declare const EnableCapabilityRequest: z.ZodObject<{
|
|
|
21110
21359
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
21111
21360
|
connectionRef: z.ZodOptional<z.ZodObject<{
|
|
21112
21361
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
21362
|
+
authoritySource: z.ZodOptional<z.ZodLiteral<"host">>;
|
|
21113
21363
|
provider: z.ZodOptional<z.ZodString>;
|
|
21114
21364
|
providerDomain: z.ZodString;
|
|
21115
21365
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
@@ -21242,6 +21492,7 @@ export declare const CapabilityCatalogResponse: z.ZodObject<{
|
|
|
21242
21492
|
enabledReason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
21243
21493
|
connectionRef: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
21244
21494
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
21495
|
+
authoritySource: z.ZodOptional<z.ZodLiteral<"host">>;
|
|
21245
21496
|
providerDomain: z.ZodString;
|
|
21246
21497
|
kind: z.ZodString;
|
|
21247
21498
|
subjectScope: z.ZodOptional<z.ZodEnum<{
|
|
@@ -21386,6 +21637,7 @@ export declare const DiscoverMcpCapabilitiesResponse: z.ZodObject<{
|
|
|
21386
21637
|
enabledReason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
21387
21638
|
connectionRef: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
21388
21639
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
21640
|
+
authoritySource: z.ZodOptional<z.ZodLiteral<"host">>;
|
|
21389
21641
|
providerDomain: z.ZodString;
|
|
21390
21642
|
kind: z.ZodString;
|
|
21391
21643
|
subjectScope: z.ZodOptional<z.ZodEnum<{
|
|
@@ -22769,14 +23021,33 @@ export declare const Session: z.ZodObject<{
|
|
|
22769
23021
|
fileId: z.ZodString;
|
|
22770
23022
|
mountPath: z.ZodOptional<z.ZodString>;
|
|
22771
23023
|
}, z.core.$strip>], "kind">>;
|
|
22772
|
-
skills: z.ZodDefault<z.ZodPipe<z.ZodArray<z.ZodObject<{
|
|
23024
|
+
skills: z.ZodDefault<z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
22773
23025
|
name: z.ZodString;
|
|
22774
23026
|
description: z.ZodOptional<z.ZodString>;
|
|
23027
|
+
activationMode: z.ZodOptional<z.ZodEnum<{
|
|
23028
|
+
session_selected: "session_selected";
|
|
23029
|
+
workspace_managed: "workspace_managed";
|
|
23030
|
+
}>>;
|
|
22775
23031
|
files: z.ZodArray<z.ZodObject<{
|
|
22776
23032
|
path: z.ZodString;
|
|
22777
23033
|
content: z.ZodString;
|
|
22778
23034
|
}, z.core.$strip>>;
|
|
22779
|
-
}, z.core.$strip
|
|
23035
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
23036
|
+
name: string;
|
|
23037
|
+
description?: string | undefined;
|
|
23038
|
+
files: {
|
|
23039
|
+
path: string;
|
|
23040
|
+
content: string;
|
|
23041
|
+
}[];
|
|
23042
|
+
}, {
|
|
23043
|
+
name: string;
|
|
23044
|
+
description?: string | undefined;
|
|
23045
|
+
activationMode?: "session_selected" | "workspace_managed" | undefined;
|
|
23046
|
+
files: {
|
|
23047
|
+
path: string;
|
|
23048
|
+
content: string;
|
|
23049
|
+
}[];
|
|
23050
|
+
}>>>, z.ZodTransform<{
|
|
22780
23051
|
name: string;
|
|
22781
23052
|
description?: string | undefined;
|
|
22782
23053
|
files: {
|
|
@@ -23110,6 +23381,7 @@ export declare const Session: z.ZodObject<{
|
|
|
23110
23381
|
requireApproval: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string[], string[]>>]>>;
|
|
23111
23382
|
connectionRef: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
23112
23383
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
23384
|
+
authoritySource: z.ZodOptional<z.ZodLiteral<"host">>;
|
|
23113
23385
|
provider: z.ZodOptional<z.ZodString>;
|
|
23114
23386
|
providerDomain: z.ZodString;
|
|
23115
23387
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
@@ -23323,14 +23595,33 @@ export declare const CreateSessionResponse: z.ZodObject<{
|
|
|
23323
23595
|
fileId: z.ZodString;
|
|
23324
23596
|
mountPath: z.ZodOptional<z.ZodString>;
|
|
23325
23597
|
}, z.core.$strip>], "kind">>;
|
|
23326
|
-
skills: z.ZodDefault<z.ZodPipe<z.ZodArray<z.ZodObject<{
|
|
23598
|
+
skills: z.ZodDefault<z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
23327
23599
|
name: z.ZodString;
|
|
23328
23600
|
description: z.ZodOptional<z.ZodString>;
|
|
23601
|
+
activationMode: z.ZodOptional<z.ZodEnum<{
|
|
23602
|
+
session_selected: "session_selected";
|
|
23603
|
+
workspace_managed: "workspace_managed";
|
|
23604
|
+
}>>;
|
|
23329
23605
|
files: z.ZodArray<z.ZodObject<{
|
|
23330
23606
|
path: z.ZodString;
|
|
23331
23607
|
content: z.ZodString;
|
|
23332
23608
|
}, z.core.$strip>>;
|
|
23333
|
-
}, z.core.$strip
|
|
23609
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
23610
|
+
name: string;
|
|
23611
|
+
description?: string | undefined;
|
|
23612
|
+
files: {
|
|
23613
|
+
path: string;
|
|
23614
|
+
content: string;
|
|
23615
|
+
}[];
|
|
23616
|
+
}, {
|
|
23617
|
+
name: string;
|
|
23618
|
+
description?: string | undefined;
|
|
23619
|
+
activationMode?: "session_selected" | "workspace_managed" | undefined;
|
|
23620
|
+
files: {
|
|
23621
|
+
path: string;
|
|
23622
|
+
content: string;
|
|
23623
|
+
}[];
|
|
23624
|
+
}>>>, z.ZodTransform<{
|
|
23334
23625
|
name: string;
|
|
23335
23626
|
description?: string | undefined;
|
|
23336
23627
|
files: {
|
|
@@ -23664,6 +23955,7 @@ export declare const CreateSessionResponse: z.ZodObject<{
|
|
|
23664
23955
|
requireApproval: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string[], string[]>>]>>;
|
|
23665
23956
|
connectionRef: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
23666
23957
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
23958
|
+
authoritySource: z.ZodOptional<z.ZodLiteral<"host">>;
|
|
23667
23959
|
provider: z.ZodOptional<z.ZodString>;
|
|
23668
23960
|
providerDomain: z.ZodString;
|
|
23669
23961
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
@@ -23883,14 +24175,33 @@ export declare const SessionListResponse: z.ZodObject<{
|
|
|
23883
24175
|
fileId: z.ZodString;
|
|
23884
24176
|
mountPath: z.ZodOptional<z.ZodString>;
|
|
23885
24177
|
}, z.core.$strip>], "kind">>;
|
|
23886
|
-
skills: z.ZodDefault<z.ZodPipe<z.ZodArray<z.ZodObject<{
|
|
24178
|
+
skills: z.ZodDefault<z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
23887
24179
|
name: z.ZodString;
|
|
23888
24180
|
description: z.ZodOptional<z.ZodString>;
|
|
24181
|
+
activationMode: z.ZodOptional<z.ZodEnum<{
|
|
24182
|
+
session_selected: "session_selected";
|
|
24183
|
+
workspace_managed: "workspace_managed";
|
|
24184
|
+
}>>;
|
|
23889
24185
|
files: z.ZodArray<z.ZodObject<{
|
|
23890
24186
|
path: z.ZodString;
|
|
23891
24187
|
content: z.ZodString;
|
|
23892
24188
|
}, z.core.$strip>>;
|
|
23893
|
-
}, z.core.$strip
|
|
24189
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
24190
|
+
name: string;
|
|
24191
|
+
description?: string | undefined;
|
|
24192
|
+
files: {
|
|
24193
|
+
path: string;
|
|
24194
|
+
content: string;
|
|
24195
|
+
}[];
|
|
24196
|
+
}, {
|
|
24197
|
+
name: string;
|
|
24198
|
+
description?: string | undefined;
|
|
24199
|
+
activationMode?: "session_selected" | "workspace_managed" | undefined;
|
|
24200
|
+
files: {
|
|
24201
|
+
path: string;
|
|
24202
|
+
content: string;
|
|
24203
|
+
}[];
|
|
24204
|
+
}>>>, z.ZodTransform<{
|
|
23894
24205
|
name: string;
|
|
23895
24206
|
description?: string | undefined;
|
|
23896
24207
|
files: {
|
|
@@ -24224,6 +24535,7 @@ export declare const SessionListResponse: z.ZodObject<{
|
|
|
24224
24535
|
requireApproval: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string[], string[]>>]>>;
|
|
24225
24536
|
connectionRef: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
24226
24537
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
24538
|
+
authoritySource: z.ZodOptional<z.ZodLiteral<"host">>;
|
|
24227
24539
|
provider: z.ZodOptional<z.ZodString>;
|
|
24228
24540
|
providerDomain: z.ZodString;
|
|
24229
24541
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
@@ -24432,14 +24744,33 @@ export declare const SessionListResponse: z.ZodObject<{
|
|
|
24432
24744
|
fileId: z.ZodString;
|
|
24433
24745
|
mountPath: z.ZodOptional<z.ZodString>;
|
|
24434
24746
|
}, z.core.$strip>], "kind">>;
|
|
24435
|
-
skills: z.ZodDefault<z.ZodPipe<z.ZodArray<z.ZodObject<{
|
|
24747
|
+
skills: z.ZodDefault<z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
24436
24748
|
name: z.ZodString;
|
|
24437
24749
|
description: z.ZodOptional<z.ZodString>;
|
|
24750
|
+
activationMode: z.ZodOptional<z.ZodEnum<{
|
|
24751
|
+
session_selected: "session_selected";
|
|
24752
|
+
workspace_managed: "workspace_managed";
|
|
24753
|
+
}>>;
|
|
24438
24754
|
files: z.ZodArray<z.ZodObject<{
|
|
24439
24755
|
path: z.ZodString;
|
|
24440
24756
|
content: z.ZodString;
|
|
24441
24757
|
}, z.core.$strip>>;
|
|
24442
|
-
}, z.core.$strip
|
|
24758
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
24759
|
+
name: string;
|
|
24760
|
+
description?: string | undefined;
|
|
24761
|
+
files: {
|
|
24762
|
+
path: string;
|
|
24763
|
+
content: string;
|
|
24764
|
+
}[];
|
|
24765
|
+
}, {
|
|
24766
|
+
name: string;
|
|
24767
|
+
description?: string | undefined;
|
|
24768
|
+
activationMode?: "session_selected" | "workspace_managed" | undefined;
|
|
24769
|
+
files: {
|
|
24770
|
+
path: string;
|
|
24771
|
+
content: string;
|
|
24772
|
+
}[];
|
|
24773
|
+
}>>>, z.ZodTransform<{
|
|
24443
24774
|
name: string;
|
|
24444
24775
|
description?: string | undefined;
|
|
24445
24776
|
files: {
|
|
@@ -24773,6 +25104,7 @@ export declare const SessionListResponse: z.ZodObject<{
|
|
|
24773
25104
|
requireApproval: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string[], string[]>>]>>;
|
|
24774
25105
|
connectionRef: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
24775
25106
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
25107
|
+
authoritySource: z.ZodOptional<z.ZodLiteral<"host">>;
|
|
24776
25108
|
provider: z.ZodOptional<z.ZodString>;
|
|
24777
25109
|
providerDomain: z.ZodString;
|
|
24778
25110
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
@@ -24989,14 +25321,33 @@ export declare const SessionLineageResponse: z.ZodObject<{
|
|
|
24989
25321
|
fileId: z.ZodString;
|
|
24990
25322
|
mountPath: z.ZodOptional<z.ZodString>;
|
|
24991
25323
|
}, z.core.$strip>], "kind">>;
|
|
24992
|
-
skills: z.ZodDefault<z.ZodPipe<z.ZodArray<z.ZodObject<{
|
|
25324
|
+
skills: z.ZodDefault<z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
24993
25325
|
name: z.ZodString;
|
|
24994
25326
|
description: z.ZodOptional<z.ZodString>;
|
|
25327
|
+
activationMode: z.ZodOptional<z.ZodEnum<{
|
|
25328
|
+
session_selected: "session_selected";
|
|
25329
|
+
workspace_managed: "workspace_managed";
|
|
25330
|
+
}>>;
|
|
24995
25331
|
files: z.ZodArray<z.ZodObject<{
|
|
24996
25332
|
path: z.ZodString;
|
|
24997
25333
|
content: z.ZodString;
|
|
24998
25334
|
}, z.core.$strip>>;
|
|
24999
|
-
}, z.core.$strip
|
|
25335
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
25336
|
+
name: string;
|
|
25337
|
+
description?: string | undefined;
|
|
25338
|
+
files: {
|
|
25339
|
+
path: string;
|
|
25340
|
+
content: string;
|
|
25341
|
+
}[];
|
|
25342
|
+
}, {
|
|
25343
|
+
name: string;
|
|
25344
|
+
description?: string | undefined;
|
|
25345
|
+
activationMode?: "session_selected" | "workspace_managed" | undefined;
|
|
25346
|
+
files: {
|
|
25347
|
+
path: string;
|
|
25348
|
+
content: string;
|
|
25349
|
+
}[];
|
|
25350
|
+
}>>>, z.ZodTransform<{
|
|
25000
25351
|
name: string;
|
|
25001
25352
|
description?: string | undefined;
|
|
25002
25353
|
files: {
|
|
@@ -25330,6 +25681,7 @@ export declare const SessionLineageResponse: z.ZodObject<{
|
|
|
25330
25681
|
requireApproval: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string[], string[]>>]>>;
|
|
25331
25682
|
connectionRef: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
25332
25683
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
25684
|
+
authoritySource: z.ZodOptional<z.ZodLiteral<"host">>;
|
|
25333
25685
|
provider: z.ZodOptional<z.ZodString>;
|
|
25334
25686
|
providerDomain: z.ZodString;
|
|
25335
25687
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
@@ -25673,12 +26025,23 @@ export declare function resolveSessionEventTypeFilters(input: ResolveSessionEven
|
|
|
25673
26025
|
includeTypes: SessionEventType[];
|
|
25674
26026
|
excludeTypes: SessionEventType[];
|
|
25675
26027
|
};
|
|
26028
|
+
export declare const ToolAuthNeededReason: z.ZodEnum<{
|
|
26029
|
+
expired: "expired";
|
|
26030
|
+
insufficient_scope: "insufficient_scope";
|
|
26031
|
+
missing_connection: "missing_connection";
|
|
26032
|
+
personal_authority_unavailable: "personal_authority_unavailable";
|
|
26033
|
+
refresh_failed: "refresh_failed";
|
|
26034
|
+
resource_scope_unavailable: "resource_scope_unavailable";
|
|
26035
|
+
unsupported_auth: "unsupported_auth";
|
|
26036
|
+
}>;
|
|
26037
|
+
export type ToolAuthNeededReason = z.infer<typeof ToolAuthNeededReason>;
|
|
25676
26038
|
export declare const ToolAuthNeededPayload: z.ZodObject<{
|
|
25677
26039
|
serverId: z.ZodString;
|
|
25678
26040
|
toolName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25679
26041
|
providerDomain: z.ZodString;
|
|
25680
26042
|
provider: z.ZodOptional<z.ZodString>;
|
|
25681
26043
|
connectionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26044
|
+
authoritySource: z.ZodOptional<z.ZodLiteral<"host">>;
|
|
25682
26045
|
reason: z.ZodEnum<{
|
|
25683
26046
|
expired: "expired";
|
|
25684
26047
|
insufficient_scope: "insufficient_scope";
|
|
@@ -25688,6 +26051,15 @@ export declare const ToolAuthNeededPayload: z.ZodObject<{
|
|
|
25688
26051
|
resource_scope_unavailable: "resource_scope_unavailable";
|
|
25689
26052
|
unsupported_auth: "unsupported_auth";
|
|
25690
26053
|
}>;
|
|
26054
|
+
hostReason: z.ZodOptional<z.ZodEnum<{
|
|
26055
|
+
expired: "expired";
|
|
26056
|
+
insufficient_scope: "insufficient_scope";
|
|
26057
|
+
missing_connection: "missing_connection";
|
|
26058
|
+
personal_authority_unavailable: "personal_authority_unavailable";
|
|
26059
|
+
refresh_failed: "refresh_failed";
|
|
26060
|
+
resource_scope_unavailable: "resource_scope_unavailable";
|
|
26061
|
+
unsupported_auth: "unsupported_auth";
|
|
26062
|
+
}>>;
|
|
25691
26063
|
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
25692
26064
|
resource: z.ZodOptional<z.ZodString>;
|
|
25693
26065
|
selectedResources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -27245,6 +27617,7 @@ export declare const SessionEvent: z.ZodObject<{
|
|
|
27245
27617
|
workspaceId: z.ZodString;
|
|
27246
27618
|
sessionId: z.ZodString;
|
|
27247
27619
|
sequence: z.ZodNumber;
|
|
27620
|
+
coveredThrough: z.ZodOptional<z.ZodNumber>;
|
|
27248
27621
|
type: z.ZodEnum<{
|
|
27249
27622
|
"agent.message.completed": "agent.message.completed";
|
|
27250
27623
|
"agent.message.delta": "agent.message.delta";
|
|
@@ -27464,6 +27837,7 @@ export declare const HostSessionEvent: z.ZodObject<{
|
|
|
27464
27837
|
workspaceId: z.ZodString;
|
|
27465
27838
|
sessionId: z.ZodString;
|
|
27466
27839
|
sequence: z.ZodNumber;
|
|
27840
|
+
coveredThrough: z.ZodOptional<z.ZodNumber>;
|
|
27467
27841
|
payload: z.ZodDefault<z.ZodUnknown>;
|
|
27468
27842
|
occurredAt: z.ZodString;
|
|
27469
27843
|
turnId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -27528,6 +27902,7 @@ export declare const HostEventExport: z.ZodObject<{
|
|
|
27528
27902
|
workspaceId: z.ZodString;
|
|
27529
27903
|
sessionId: z.ZodString;
|
|
27530
27904
|
sequence: z.ZodNumber;
|
|
27905
|
+
coveredThrough: z.ZodOptional<z.ZodNumber>;
|
|
27531
27906
|
payload: z.ZodDefault<z.ZodUnknown>;
|
|
27532
27907
|
occurredAt: z.ZodString;
|
|
27533
27908
|
turnId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -27621,6 +27996,7 @@ export declare const HostEventExportBatch: z.ZodObject<{
|
|
|
27621
27996
|
workspaceId: z.ZodString;
|
|
27622
27997
|
sessionId: z.ZodString;
|
|
27623
27998
|
sequence: z.ZodNumber;
|
|
27999
|
+
coveredThrough: z.ZodOptional<z.ZodNumber>;
|
|
27624
28000
|
payload: z.ZodDefault<z.ZodUnknown>;
|
|
27625
28001
|
occurredAt: z.ZodString;
|
|
27626
28002
|
turnId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -28223,14 +28599,33 @@ export declare const CreateSessionRequest: z.ZodPreprocess<z.ZodObject<{
|
|
|
28223
28599
|
fileId: z.ZodString;
|
|
28224
28600
|
mountPath: z.ZodOptional<z.ZodString>;
|
|
28225
28601
|
}, z.core.$strip>], "kind">>>;
|
|
28226
|
-
skills: z.ZodDefault<z.ZodPipe<z.ZodArray<z.ZodObject<{
|
|
28602
|
+
skills: z.ZodDefault<z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
28227
28603
|
name: z.ZodString;
|
|
28228
28604
|
description: z.ZodOptional<z.ZodString>;
|
|
28605
|
+
activationMode: z.ZodOptional<z.ZodEnum<{
|
|
28606
|
+
session_selected: "session_selected";
|
|
28607
|
+
workspace_managed: "workspace_managed";
|
|
28608
|
+
}>>;
|
|
28229
28609
|
files: z.ZodArray<z.ZodObject<{
|
|
28230
28610
|
path: z.ZodString;
|
|
28231
28611
|
content: z.ZodString;
|
|
28232
28612
|
}, z.core.$strip>>;
|
|
28233
|
-
}, z.core.$strip
|
|
28613
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
28614
|
+
name: string;
|
|
28615
|
+
description?: string | undefined;
|
|
28616
|
+
files: {
|
|
28617
|
+
path: string;
|
|
28618
|
+
content: string;
|
|
28619
|
+
}[];
|
|
28620
|
+
}, {
|
|
28621
|
+
name: string;
|
|
28622
|
+
description?: string | undefined;
|
|
28623
|
+
activationMode?: "session_selected" | "workspace_managed" | undefined;
|
|
28624
|
+
files: {
|
|
28625
|
+
path: string;
|
|
28626
|
+
content: string;
|
|
28627
|
+
}[];
|
|
28628
|
+
}>>>, z.ZodTransform<{
|
|
28234
28629
|
name: string;
|
|
28235
28630
|
description?: string | undefined;
|
|
28236
28631
|
files: {
|
|
@@ -28245,6 +28640,7 @@ export declare const CreateSessionRequest: z.ZodPreprocess<z.ZodObject<{
|
|
|
28245
28640
|
content: string;
|
|
28246
28641
|
}[];
|
|
28247
28642
|
}[]>>>;
|
|
28643
|
+
installedSkillIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
28248
28644
|
tools: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
28249
28645
|
kind: z.ZodLiteral<"mcp">;
|
|
28250
28646
|
id: z.ZodString;
|
|
@@ -28510,6 +28906,7 @@ export declare const CreateSessionRequest: z.ZodPreprocess<z.ZodObject<{
|
|
|
28510
28906
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
28511
28907
|
connectionRef: z.ZodOptional<z.ZodObject<{
|
|
28512
28908
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
28909
|
+
authoritySource: z.ZodOptional<z.ZodLiteral<"host">>;
|
|
28513
28910
|
provider: z.ZodOptional<z.ZodString>;
|
|
28514
28911
|
providerDomain: z.ZodString;
|
|
28515
28912
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
@@ -29131,6 +29528,7 @@ export declare const SteerSessionMessageResponse: z.ZodObject<{
|
|
|
29131
29528
|
workspaceId: z.ZodString;
|
|
29132
29529
|
sessionId: z.ZodString;
|
|
29133
29530
|
sequence: z.ZodNumber;
|
|
29531
|
+
coveredThrough: z.ZodOptional<z.ZodNumber>;
|
|
29134
29532
|
type: z.ZodEnum<{
|
|
29135
29533
|
"agent.message.completed": "agent.message.completed";
|
|
29136
29534
|
"agent.message.delta": "agent.message.delta";
|
|
@@ -29454,6 +29852,7 @@ export declare const SubmitComposerDraftResponse: z.ZodObject<{
|
|
|
29454
29852
|
workspaceId: z.ZodString;
|
|
29455
29853
|
sessionId: z.ZodString;
|
|
29456
29854
|
sequence: z.ZodNumber;
|
|
29855
|
+
coveredThrough: z.ZodOptional<z.ZodNumber>;
|
|
29457
29856
|
type: z.ZodEnum<{
|
|
29458
29857
|
"agent.message.completed": "agent.message.completed";
|
|
29459
29858
|
"agent.message.delta": "agent.message.delta";
|
|
@@ -29855,6 +30254,7 @@ export declare const SessionBusMessage: z.ZodObject<{
|
|
|
29855
30254
|
workspaceId: z.ZodString;
|
|
29856
30255
|
sessionId: z.ZodString;
|
|
29857
30256
|
sequence: z.ZodNumber;
|
|
30257
|
+
coveredThrough: z.ZodOptional<z.ZodNumber>;
|
|
29858
30258
|
type: z.ZodEnum<{
|
|
29859
30259
|
"agent.message.completed": "agent.message.completed";
|
|
29860
30260
|
"agent.message.delta": "agent.message.delta";
|
|
@@ -31333,12 +31733,16 @@ export declare const ModelCredentialSourceV1: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
31333
31733
|
}, z.core.$strict>, z.ZodObject<{
|
|
31334
31734
|
kind: z.ZodLiteral<"workspace_connection">;
|
|
31335
31735
|
mechanism: z.ZodLiteral<"api_key">;
|
|
31736
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
31737
|
+
kind: z.ZodLiteral<"organization_connection">;
|
|
31738
|
+
mechanism: z.ZodLiteral<"api_key">;
|
|
31336
31739
|
}, z.core.$strict>]>;
|
|
31337
31740
|
export type ModelCredentialSourceV1 = z.infer<typeof ModelCredentialSourceV1>;
|
|
31338
31741
|
export declare const ModelBillingAttributionV1: z.ZodObject<{
|
|
31339
31742
|
upstreamPayer: z.ZodEnum<{
|
|
31340
31743
|
connected_subscription: "connected_subscription";
|
|
31341
31744
|
deployment: "deployment";
|
|
31745
|
+
organization: "organization";
|
|
31342
31746
|
workspace: "workspace";
|
|
31343
31747
|
}>;
|
|
31344
31748
|
metering: z.ZodEnum<{
|
|
@@ -31347,6 +31751,14 @@ export declare const ModelBillingAttributionV1: z.ZodObject<{
|
|
|
31347
31751
|
}>;
|
|
31348
31752
|
}, z.core.$strict>;
|
|
31349
31753
|
export type ModelBillingAttributionV1 = z.infer<typeof ModelBillingAttributionV1>;
|
|
31754
|
+
export declare const ModelCostClassV1: z.ZodEnum<{
|
|
31755
|
+
credits: "credits";
|
|
31756
|
+
free: "free";
|
|
31757
|
+
organization: "organization";
|
|
31758
|
+
subscription: "subscription";
|
|
31759
|
+
workspace: "workspace";
|
|
31760
|
+
}>;
|
|
31761
|
+
export type ModelCostClassV1 = z.infer<typeof ModelCostClassV1>;
|
|
31350
31762
|
export declare const TURN_EXECUTION_POLICY_METADATA_KEY: "turnExecutionPolicyV1";
|
|
31351
31763
|
export declare const TurnExecutionModelSourceV1: z.ZodEnum<{
|
|
31352
31764
|
continuation: "continuation";
|
|
@@ -31437,6 +31849,9 @@ export declare const TurnExecutionPolicyV1: z.ZodObject<{
|
|
|
31437
31849
|
}, z.core.$strict>, z.ZodObject<{
|
|
31438
31850
|
kind: z.ZodLiteral<"workspace_connection">;
|
|
31439
31851
|
mechanism: z.ZodLiteral<"api_key">;
|
|
31852
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
31853
|
+
kind: z.ZodLiteral<"organization_connection">;
|
|
31854
|
+
mechanism: z.ZodLiteral<"api_key">;
|
|
31440
31855
|
}, z.core.$strict>]>, z.ZodObject<{
|
|
31441
31856
|
kind: z.ZodLiteral<"deployment">;
|
|
31442
31857
|
mechanism: z.ZodLiteral<"none">;
|
|
@@ -31445,6 +31860,7 @@ export declare const TurnExecutionPolicyV1: z.ZodObject<{
|
|
|
31445
31860
|
upstreamPayer: z.ZodEnum<{
|
|
31446
31861
|
connected_subscription: "connected_subscription";
|
|
31447
31862
|
deployment: "deployment";
|
|
31863
|
+
organization: "organization";
|
|
31448
31864
|
workspace: "workspace";
|
|
31449
31865
|
}>;
|
|
31450
31866
|
metering: z.ZodEnum<{
|
|
@@ -31479,6 +31895,7 @@ export declare function turnExecutionPolicyAuditMetadata(policy: TurnExecutionPo
|
|
|
31479
31895
|
export declare const ModelPricingV1: z.ZodObject<{
|
|
31480
31896
|
inputMicrosPerMillionTokens: z.ZodNumber;
|
|
31481
31897
|
cachedInputMicrosPerMillionTokens: z.ZodOptional<z.ZodNumber>;
|
|
31898
|
+
cacheWriteMicrosPerMillionTokens: z.ZodOptional<z.ZodNumber>;
|
|
31482
31899
|
outputMicrosPerMillionTokens: z.ZodNumber;
|
|
31483
31900
|
marginBps: z.ZodOptional<z.ZodNumber>;
|
|
31484
31901
|
}, z.core.$strip>;
|
|
@@ -31487,6 +31904,7 @@ export declare const ModelPricingScheduleV1: z.ZodObject<{
|
|
|
31487
31904
|
default: z.ZodObject<{
|
|
31488
31905
|
inputMicrosPerMillionTokens: z.ZodNumber;
|
|
31489
31906
|
cachedInputMicrosPerMillionTokens: z.ZodOptional<z.ZodNumber>;
|
|
31907
|
+
cacheWriteMicrosPerMillionTokens: z.ZodOptional<z.ZodNumber>;
|
|
31490
31908
|
outputMicrosPerMillionTokens: z.ZodNumber;
|
|
31491
31909
|
marginBps: z.ZodOptional<z.ZodNumber>;
|
|
31492
31910
|
}, z.core.$strip>;
|
|
@@ -31495,6 +31913,7 @@ export declare const ModelPricingScheduleV1: z.ZodObject<{
|
|
|
31495
31913
|
pricing: z.ZodObject<{
|
|
31496
31914
|
inputMicrosPerMillionTokens: z.ZodNumber;
|
|
31497
31915
|
cachedInputMicrosPerMillionTokens: z.ZodOptional<z.ZodNumber>;
|
|
31916
|
+
cacheWriteMicrosPerMillionTokens: z.ZodOptional<z.ZodNumber>;
|
|
31498
31917
|
outputMicrosPerMillionTokens: z.ZodNumber;
|
|
31499
31918
|
marginBps: z.ZodOptional<z.ZodNumber>;
|
|
31500
31919
|
}, z.core.$strip>;
|
|
@@ -31521,6 +31940,7 @@ export declare const ClientModel: z.ZodObject<{
|
|
|
31521
31940
|
source: z.ZodOptional<z.ZodEnum<{
|
|
31522
31941
|
codex: "codex";
|
|
31523
31942
|
opengeni: "opengeni";
|
|
31943
|
+
openrouter: "openrouter";
|
|
31524
31944
|
supergrok: "supergrok";
|
|
31525
31945
|
workspace_gateway: "workspace_gateway";
|
|
31526
31946
|
}>>;
|
|
@@ -31555,11 +31975,15 @@ export declare const ClientModel: z.ZodObject<{
|
|
|
31555
31975
|
}, z.core.$strict>, z.ZodObject<{
|
|
31556
31976
|
kind: z.ZodLiteral<"workspace_connection">;
|
|
31557
31977
|
mechanism: z.ZodLiteral<"api_key">;
|
|
31978
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
31979
|
+
kind: z.ZodLiteral<"organization_connection">;
|
|
31980
|
+
mechanism: z.ZodLiteral<"api_key">;
|
|
31558
31981
|
}, z.core.$strict>]>>;
|
|
31559
31982
|
billing: z.ZodOptional<z.ZodObject<{
|
|
31560
31983
|
upstreamPayer: z.ZodEnum<{
|
|
31561
31984
|
connected_subscription: "connected_subscription";
|
|
31562
31985
|
deployment: "deployment";
|
|
31986
|
+
organization: "organization";
|
|
31563
31987
|
workspace: "workspace";
|
|
31564
31988
|
}>;
|
|
31565
31989
|
metering: z.ZodEnum<{
|
|
@@ -31567,6 +31991,13 @@ export declare const ClientModel: z.ZodObject<{
|
|
|
31567
31991
|
opengeni_credits: "opengeni_credits";
|
|
31568
31992
|
}>;
|
|
31569
31993
|
}, z.core.$strict>>;
|
|
31994
|
+
cost: z.ZodOptional<z.ZodEnum<{
|
|
31995
|
+
credits: "credits";
|
|
31996
|
+
free: "free";
|
|
31997
|
+
organization: "organization";
|
|
31998
|
+
subscription: "subscription";
|
|
31999
|
+
workspace: "workspace";
|
|
32000
|
+
}>>;
|
|
31570
32001
|
capabilities: z.ZodOptional<z.ZodObject<{
|
|
31571
32002
|
reasoning: z.ZodObject<{
|
|
31572
32003
|
upstream: z.ZodEnum<{
|
|
@@ -31706,6 +32137,7 @@ export declare const ClientModel: z.ZodObject<{
|
|
|
31706
32137
|
default: z.ZodObject<{
|
|
31707
32138
|
inputMicrosPerMillionTokens: z.ZodNumber;
|
|
31708
32139
|
cachedInputMicrosPerMillionTokens: z.ZodOptional<z.ZodNumber>;
|
|
32140
|
+
cacheWriteMicrosPerMillionTokens: z.ZodOptional<z.ZodNumber>;
|
|
31709
32141
|
outputMicrosPerMillionTokens: z.ZodNumber;
|
|
31710
32142
|
marginBps: z.ZodOptional<z.ZodNumber>;
|
|
31711
32143
|
}, z.core.$strip>;
|
|
@@ -31714,6 +32146,7 @@ export declare const ClientModel: z.ZodObject<{
|
|
|
31714
32146
|
pricing: z.ZodObject<{
|
|
31715
32147
|
inputMicrosPerMillionTokens: z.ZodNumber;
|
|
31716
32148
|
cachedInputMicrosPerMillionTokens: z.ZodOptional<z.ZodNumber>;
|
|
32149
|
+
cacheWriteMicrosPerMillionTokens: z.ZodOptional<z.ZodNumber>;
|
|
31717
32150
|
outputMicrosPerMillionTokens: z.ZodNumber;
|
|
31718
32151
|
marginBps: z.ZodOptional<z.ZodNumber>;
|
|
31719
32152
|
}, z.core.$strip>;
|
|
@@ -31776,6 +32209,7 @@ export declare const WorkspaceModelCatalogModel: z.ZodObject<{
|
|
|
31776
32209
|
source: z.ZodOptional<z.ZodEnum<{
|
|
31777
32210
|
codex: "codex";
|
|
31778
32211
|
opengeni: "opengeni";
|
|
32212
|
+
openrouter: "openrouter";
|
|
31779
32213
|
supergrok: "supergrok";
|
|
31780
32214
|
workspace_gateway: "workspace_gateway";
|
|
31781
32215
|
}>>;
|
|
@@ -31810,11 +32244,15 @@ export declare const WorkspaceModelCatalogModel: z.ZodObject<{
|
|
|
31810
32244
|
}, z.core.$strict>, z.ZodObject<{
|
|
31811
32245
|
kind: z.ZodLiteral<"workspace_connection">;
|
|
31812
32246
|
mechanism: z.ZodLiteral<"api_key">;
|
|
32247
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
32248
|
+
kind: z.ZodLiteral<"organization_connection">;
|
|
32249
|
+
mechanism: z.ZodLiteral<"api_key">;
|
|
31813
32250
|
}, z.core.$strict>]>>;
|
|
31814
32251
|
billing: z.ZodOptional<z.ZodObject<{
|
|
31815
32252
|
upstreamPayer: z.ZodEnum<{
|
|
31816
32253
|
connected_subscription: "connected_subscription";
|
|
31817
32254
|
deployment: "deployment";
|
|
32255
|
+
organization: "organization";
|
|
31818
32256
|
workspace: "workspace";
|
|
31819
32257
|
}>;
|
|
31820
32258
|
metering: z.ZodEnum<{
|
|
@@ -31822,6 +32260,13 @@ export declare const WorkspaceModelCatalogModel: z.ZodObject<{
|
|
|
31822
32260
|
opengeni_credits: "opengeni_credits";
|
|
31823
32261
|
}>;
|
|
31824
32262
|
}, z.core.$strict>>;
|
|
32263
|
+
cost: z.ZodOptional<z.ZodEnum<{
|
|
32264
|
+
credits: "credits";
|
|
32265
|
+
free: "free";
|
|
32266
|
+
organization: "organization";
|
|
32267
|
+
subscription: "subscription";
|
|
32268
|
+
workspace: "workspace";
|
|
32269
|
+
}>>;
|
|
31825
32270
|
capabilities: z.ZodOptional<z.ZodObject<{
|
|
31826
32271
|
reasoning: z.ZodObject<{
|
|
31827
32272
|
upstream: z.ZodEnum<{
|
|
@@ -31961,6 +32406,7 @@ export declare const WorkspaceModelCatalogModel: z.ZodObject<{
|
|
|
31961
32406
|
default: z.ZodObject<{
|
|
31962
32407
|
inputMicrosPerMillionTokens: z.ZodNumber;
|
|
31963
32408
|
cachedInputMicrosPerMillionTokens: z.ZodOptional<z.ZodNumber>;
|
|
32409
|
+
cacheWriteMicrosPerMillionTokens: z.ZodOptional<z.ZodNumber>;
|
|
31964
32410
|
outputMicrosPerMillionTokens: z.ZodNumber;
|
|
31965
32411
|
marginBps: z.ZodOptional<z.ZodNumber>;
|
|
31966
32412
|
}, z.core.$strip>;
|
|
@@ -31969,6 +32415,7 @@ export declare const WorkspaceModelCatalogModel: z.ZodObject<{
|
|
|
31969
32415
|
pricing: z.ZodObject<{
|
|
31970
32416
|
inputMicrosPerMillionTokens: z.ZodNumber;
|
|
31971
32417
|
cachedInputMicrosPerMillionTokens: z.ZodOptional<z.ZodNumber>;
|
|
32418
|
+
cacheWriteMicrosPerMillionTokens: z.ZodOptional<z.ZodNumber>;
|
|
31972
32419
|
outputMicrosPerMillionTokens: z.ZodNumber;
|
|
31973
32420
|
marginBps: z.ZodOptional<z.ZodNumber>;
|
|
31974
32421
|
}, z.core.$strip>;
|
|
@@ -32031,6 +32478,7 @@ export declare const WorkspaceModelCatalogResponse: z.ZodObject<{
|
|
|
32031
32478
|
source: z.ZodOptional<z.ZodEnum<{
|
|
32032
32479
|
codex: "codex";
|
|
32033
32480
|
opengeni: "opengeni";
|
|
32481
|
+
openrouter: "openrouter";
|
|
32034
32482
|
supergrok: "supergrok";
|
|
32035
32483
|
workspace_gateway: "workspace_gateway";
|
|
32036
32484
|
}>>;
|
|
@@ -32065,11 +32513,15 @@ export declare const WorkspaceModelCatalogResponse: z.ZodObject<{
|
|
|
32065
32513
|
}, z.core.$strict>, z.ZodObject<{
|
|
32066
32514
|
kind: z.ZodLiteral<"workspace_connection">;
|
|
32067
32515
|
mechanism: z.ZodLiteral<"api_key">;
|
|
32516
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
32517
|
+
kind: z.ZodLiteral<"organization_connection">;
|
|
32518
|
+
mechanism: z.ZodLiteral<"api_key">;
|
|
32068
32519
|
}, z.core.$strict>]>>;
|
|
32069
32520
|
billing: z.ZodOptional<z.ZodObject<{
|
|
32070
32521
|
upstreamPayer: z.ZodEnum<{
|
|
32071
32522
|
connected_subscription: "connected_subscription";
|
|
32072
32523
|
deployment: "deployment";
|
|
32524
|
+
organization: "organization";
|
|
32073
32525
|
workspace: "workspace";
|
|
32074
32526
|
}>;
|
|
32075
32527
|
metering: z.ZodEnum<{
|
|
@@ -32077,6 +32529,13 @@ export declare const WorkspaceModelCatalogResponse: z.ZodObject<{
|
|
|
32077
32529
|
opengeni_credits: "opengeni_credits";
|
|
32078
32530
|
}>;
|
|
32079
32531
|
}, z.core.$strict>>;
|
|
32532
|
+
cost: z.ZodOptional<z.ZodEnum<{
|
|
32533
|
+
credits: "credits";
|
|
32534
|
+
free: "free";
|
|
32535
|
+
organization: "organization";
|
|
32536
|
+
subscription: "subscription";
|
|
32537
|
+
workspace: "workspace";
|
|
32538
|
+
}>>;
|
|
32080
32539
|
capabilities: z.ZodOptional<z.ZodObject<{
|
|
32081
32540
|
reasoning: z.ZodObject<{
|
|
32082
32541
|
upstream: z.ZodEnum<{
|
|
@@ -32216,6 +32675,7 @@ export declare const WorkspaceModelCatalogResponse: z.ZodObject<{
|
|
|
32216
32675
|
default: z.ZodObject<{
|
|
32217
32676
|
inputMicrosPerMillionTokens: z.ZodNumber;
|
|
32218
32677
|
cachedInputMicrosPerMillionTokens: z.ZodOptional<z.ZodNumber>;
|
|
32678
|
+
cacheWriteMicrosPerMillionTokens: z.ZodOptional<z.ZodNumber>;
|
|
32219
32679
|
outputMicrosPerMillionTokens: z.ZodNumber;
|
|
32220
32680
|
marginBps: z.ZodOptional<z.ZodNumber>;
|
|
32221
32681
|
}, z.core.$strip>;
|
|
@@ -32224,6 +32684,7 @@ export declare const WorkspaceModelCatalogResponse: z.ZodObject<{
|
|
|
32224
32684
|
pricing: z.ZodObject<{
|
|
32225
32685
|
inputMicrosPerMillionTokens: z.ZodNumber;
|
|
32226
32686
|
cachedInputMicrosPerMillionTokens: z.ZodOptional<z.ZodNumber>;
|
|
32687
|
+
cacheWriteMicrosPerMillionTokens: z.ZodOptional<z.ZodNumber>;
|
|
32227
32688
|
outputMicrosPerMillionTokens: z.ZodNumber;
|
|
32228
32689
|
marginBps: z.ZodOptional<z.ZodNumber>;
|
|
32229
32690
|
}, z.core.$strip>;
|
|
@@ -32304,6 +32765,7 @@ export declare const ClientConfig: z.ZodObject<{
|
|
|
32304
32765
|
source: z.ZodOptional<z.ZodEnum<{
|
|
32305
32766
|
codex: "codex";
|
|
32306
32767
|
opengeni: "opengeni";
|
|
32768
|
+
openrouter: "openrouter";
|
|
32307
32769
|
supergrok: "supergrok";
|
|
32308
32770
|
workspace_gateway: "workspace_gateway";
|
|
32309
32771
|
}>>;
|
|
@@ -32338,11 +32800,15 @@ export declare const ClientConfig: z.ZodObject<{
|
|
|
32338
32800
|
}, z.core.$strict>, z.ZodObject<{
|
|
32339
32801
|
kind: z.ZodLiteral<"workspace_connection">;
|
|
32340
32802
|
mechanism: z.ZodLiteral<"api_key">;
|
|
32803
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
32804
|
+
kind: z.ZodLiteral<"organization_connection">;
|
|
32805
|
+
mechanism: z.ZodLiteral<"api_key">;
|
|
32341
32806
|
}, z.core.$strict>]>>;
|
|
32342
32807
|
billing: z.ZodOptional<z.ZodObject<{
|
|
32343
32808
|
upstreamPayer: z.ZodEnum<{
|
|
32344
32809
|
connected_subscription: "connected_subscription";
|
|
32345
32810
|
deployment: "deployment";
|
|
32811
|
+
organization: "organization";
|
|
32346
32812
|
workspace: "workspace";
|
|
32347
32813
|
}>;
|
|
32348
32814
|
metering: z.ZodEnum<{
|
|
@@ -32350,6 +32816,13 @@ export declare const ClientConfig: z.ZodObject<{
|
|
|
32350
32816
|
opengeni_credits: "opengeni_credits";
|
|
32351
32817
|
}>;
|
|
32352
32818
|
}, z.core.$strict>>;
|
|
32819
|
+
cost: z.ZodOptional<z.ZodEnum<{
|
|
32820
|
+
credits: "credits";
|
|
32821
|
+
free: "free";
|
|
32822
|
+
organization: "organization";
|
|
32823
|
+
subscription: "subscription";
|
|
32824
|
+
workspace: "workspace";
|
|
32825
|
+
}>>;
|
|
32353
32826
|
capabilities: z.ZodOptional<z.ZodObject<{
|
|
32354
32827
|
reasoning: z.ZodObject<{
|
|
32355
32828
|
upstream: z.ZodEnum<{
|
|
@@ -32489,6 +32962,7 @@ export declare const ClientConfig: z.ZodObject<{
|
|
|
32489
32962
|
default: z.ZodObject<{
|
|
32490
32963
|
inputMicrosPerMillionTokens: z.ZodNumber;
|
|
32491
32964
|
cachedInputMicrosPerMillionTokens: z.ZodOptional<z.ZodNumber>;
|
|
32965
|
+
cacheWriteMicrosPerMillionTokens: z.ZodOptional<z.ZodNumber>;
|
|
32492
32966
|
outputMicrosPerMillionTokens: z.ZodNumber;
|
|
32493
32967
|
marginBps: z.ZodOptional<z.ZodNumber>;
|
|
32494
32968
|
}, z.core.$strip>;
|
|
@@ -32497,6 +32971,7 @@ export declare const ClientConfig: z.ZodObject<{
|
|
|
32497
32971
|
pricing: z.ZodObject<{
|
|
32498
32972
|
inputMicrosPerMillionTokens: z.ZodNumber;
|
|
32499
32973
|
cachedInputMicrosPerMillionTokens: z.ZodOptional<z.ZodNumber>;
|
|
32974
|
+
cacheWriteMicrosPerMillionTokens: z.ZodOptional<z.ZodNumber>;
|
|
32500
32975
|
outputMicrosPerMillionTokens: z.ZodNumber;
|
|
32501
32976
|
marginBps: z.ZodOptional<z.ZodNumber>;
|
|
32502
32977
|
}, z.core.$strip>;
|