@constal/sdk 2.0.0 → 2.1.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.
@@ -1228,6 +1228,15 @@ declare function analyticsEvent<Dimension extends string, Metric extends string>
1228
1228
 
1229
1229
  interface CreateSandboxOptions {
1230
1230
  image?: SandboxImage;
1231
+ resetImage?: boolean;
1232
+ }
1233
+ /**
1234
+ * Optional immutable identity for a prepared image. Cache keys are supplied as
1235
+ * full SHA-256 digests so a SandboxPool can safely scope and reuse an image
1236
+ * without interpreting an Agent's environment manifest.
1237
+ */
1238
+ interface CreateSandboxImageOptions {
1239
+ cacheKey?: string;
1231
1240
  }
1232
1241
  interface SandboxExecInput {
1233
1242
  cmd: string;
@@ -1269,6 +1278,7 @@ interface SandboxMutationResult {
1269
1278
  interface SandboxImage {
1270
1279
  readonly id: string;
1271
1280
  readonly pool: SandboxPool;
1281
+ readonly cacheKey: string | null;
1272
1282
  delete(opts?: InvokeOpts): Promise<void>;
1273
1283
  }
1274
1284
  /** Mutable, Agent/Session-scoped workspace backed by a VM or container provider. */
@@ -1292,7 +1302,9 @@ interface Sandbox {
1292
1302
  interface SandboxPool {
1293
1303
  readonly resource: CRN;
1294
1304
  /** Capture an immutable image from a sandbox owned by this pool. */
1295
- createImage(sandbox: Sandbox, opts?: InvokeOpts): Promise<SandboxImage>;
1305
+ createImage(sandbox: Sandbox, options?: CreateSandboxImageOptions, opts?: InvokeOpts): Promise<SandboxImage>;
1306
+ /** Resolve an Agent-owned prepared image by its immutable environment digest. */
1307
+ resolveImage(cacheKey: string, opts?: InvokeOpts): Promise<SandboxImage | null>;
1296
1308
  /** Register a logical Agent/Session sandbox; provider compute is allocated by its first work operation. */
1297
1309
  createSandbox(agent: CRN, session: string, options?: CreateSandboxOptions, opts?: InvokeOpts): Promise<Sandbox>;
1298
1310
  }
@@ -1515,12 +1527,24 @@ interface SpawnOpts {
1515
1527
  budget?: SpawnBudget;
1516
1528
  attenuation?: SpawnAttenuation;
1517
1529
  }
1530
+ /** Bounded, non-secret content that a Channel or UI may present while a Run is suspended. */
1531
+ interface AwaitPresentation {
1532
+ object: "constal.await.presentation";
1533
+ version: 1;
1534
+ kind: string;
1535
+ title: string;
1536
+ /** GitHub-flavored Markdown. */
1537
+ body: string;
1538
+ metadata?: Record<string, string | number | boolean | null>;
1539
+ }
1518
1540
  interface AwaitOpts<T> {
1519
1541
  timeout?: number;
1520
1542
  onTimeout?: T;
1521
1543
  schema?: object;
1522
1544
  maxBytes?: number;
1523
1545
  afterRun?: "ignore" | "message";
1546
+ /** Explicitly public presentation; never include Credential material or private evidence. */
1547
+ presentation?: AwaitPresentation;
1524
1548
  }
1525
1549
  interface Handle<T> extends PromiseLike<T> {
1526
1550
  readonly id: string;
@@ -1622,6 +1646,8 @@ interface TurnSpec {
1622
1646
  objective?: unknown;
1623
1647
  context?: unknown;
1624
1648
  tools?: string[];
1649
+ /** Require one of the offered Tools for this model generation. */
1650
+ toolChoice?: "auto" | "required";
1625
1651
  gate?: TurnGate;
1626
1652
  model?: string;
1627
1653
  stream?: boolean;
@@ -1957,6 +1983,12 @@ interface CanonicalEventDraft<T = unknown> {
1957
1983
  occurredAt?: number;
1958
1984
  deliver?: DeliveryMode;
1959
1985
  }
1986
+ interface IgnoredChannelEvent {
1987
+ ignored: true;
1988
+ reason: string;
1989
+ response: ChannelResponse;
1990
+ }
1991
+ type ChannelReceiveResult<T = unknown> = CanonicalEventDraft<T> | IgnoredChannelEvent;
1960
1992
  interface DispatchResult<T = unknown> {
1961
1993
  event: CanonicalEvent;
1962
1994
  runId: string;
@@ -1976,6 +2008,8 @@ interface ChannelContext {
1976
2008
  channel: CRN;
1977
2009
  principal: Principal;
1978
2010
  invocationId: string;
2011
+ /** Immutable deployment-authored Channel configuration pinned for this invocation. */
2012
+ config: unknown;
1979
2013
  resources: Record<string, CRN>;
1980
2014
  analytics: AnalyticsClient;
1981
2015
  invoke<T>(resource: CRN, op: string, args: unknown, opts?: {
@@ -2010,7 +2044,7 @@ interface ChannelAlarmResult<Delivery = unknown> {
2010
2044
  interface ChannelProtocol<Input = unknown, Output = unknown, Delivery = Output> {
2011
2045
  id: string;
2012
2046
  version: string;
2013
- receive(request: ChannelRequest, context: ChannelContext): Promise<CanonicalEventDraft<Input>> | CanonicalEventDraft<Input>;
2047
+ receive(request: ChannelRequest, context: ChannelContext): Promise<ChannelReceiveResult<Input>> | ChannelReceiveResult<Input>;
2014
2048
  respond(result: DispatchResult<Output>, context: ChannelContext): Promise<ChannelResponse> | ChannelResponse;
2015
2049
  send?(message: ChannelMessage<Delivery>, context: ChannelContext): Promise<DeliveryReceipt> | DeliveryReceipt;
2016
2050
  alarm?(alarm: ChannelAlarm, context: ChannelContext): Promise<ChannelAlarmResult<Delivery> | void> | ChannelAlarmResult<Delivery> | void;
@@ -2137,6 +2171,746 @@ interface UiHandler {
2137
2171
  declare function uiBundleManifest(value: unknown, execution: UiExecution["mode"]): UiBundleManifest;
2138
2172
  declare function uiBundle(value: unknown, execution: UiExecution["mode"]): UiBundle;
2139
2173
 
2174
+ type SetupStepStatus = "pending" | "current" | "complete" | "blocked";
2175
+ type SetupWorkflowStatus = "active" | "blocked" | "complete" | "cancelled";
2176
+ interface SetupStepSummary {
2177
+ id: string;
2178
+ label: string;
2179
+ status: SetupStepStatus;
2180
+ optional?: boolean;
2181
+ }
2182
+ interface SetupAction {
2183
+ id: string;
2184
+ label: string;
2185
+ intent: "primary" | "secondary" | "danger";
2186
+ }
2187
+ interface SetupPanelBase {
2188
+ id: string;
2189
+ title: string;
2190
+ description: string;
2191
+ actions: SetupAction[];
2192
+ }
2193
+ interface SetupFormPanel extends SetupPanelBase {
2194
+ kind: "form";
2195
+ schema: object;
2196
+ initialValues?: Record<string, unknown>;
2197
+ }
2198
+ interface SetupCredentialInteractionPanel extends SetupPanelBase {
2199
+ kind: "credential-interaction";
2200
+ provider: string;
2201
+ credentialId: string;
2202
+ operation: "connect" | "reauthorize" | "manage";
2203
+ }
2204
+ interface SetupReviewPanel extends SetupPanelBase {
2205
+ kind: "review";
2206
+ sections: Array<{
2207
+ id: string;
2208
+ title: string;
2209
+ rows: Array<{
2210
+ label: string;
2211
+ value: string;
2212
+ tone?: "default" | "muted" | "warning";
2213
+ }>;
2214
+ }>;
2215
+ }
2216
+ interface SetupProgressPanel extends SetupPanelBase {
2217
+ kind: "progress";
2218
+ progress: Array<{
2219
+ id: string;
2220
+ label: string;
2221
+ status: "pending" | "running" | "complete" | "failed";
2222
+ detail?: string;
2223
+ }>;
2224
+ }
2225
+ interface SetupTerminalPanel extends SetupPanelBase {
2226
+ kind: "complete" | "blocked";
2227
+ summary: string;
2228
+ details?: Array<{
2229
+ label: string;
2230
+ value: string;
2231
+ }>;
2232
+ }
2233
+ type SetupPanel = SetupFormPanel | SetupCredentialInteractionPanel | SetupReviewPanel | SetupProgressPanel | SetupTerminalPanel;
2234
+ interface SetupScreen {
2235
+ object: "constal.setup.screen";
2236
+ version: 1;
2237
+ workflow: {
2238
+ id: string;
2239
+ version: string;
2240
+ targetAgent: string;
2241
+ };
2242
+ revision: number;
2243
+ status: SetupWorkflowStatus;
2244
+ title: string;
2245
+ description: string;
2246
+ steps: SetupStepSummary[];
2247
+ current: SetupPanel;
2248
+ waitLabel: string | null;
2249
+ }
2250
+ interface SetupSubmission {
2251
+ object: "constal.setup.submission";
2252
+ version: 1;
2253
+ workflow: string;
2254
+ revision: number;
2255
+ step: string;
2256
+ action: string;
2257
+ values?: Record<string, unknown>;
2258
+ }
2259
+ /** Validates the bounded presentation artifact consumed by trusted Console renderers. */
2260
+ declare function setupScreen(value: unknown): SetupScreen;
2261
+ /** Validates one response against the exact open screen revision and form schema. */
2262
+ declare function setupSubmission(value: unknown, screen: SetupScreen): SetupSubmission;
2263
+ /** Await options for the exact screen. Runtime wait resolution remains the authority and replay fence. */
2264
+ declare function setupAwait(screen: SetupScreen): AwaitOpts<SetupSubmission>;
2265
+ /** A deterministic latest-screen projection for Console discovery and reload. */
2266
+ declare function setupScreenView(id?: string): ViewDef<SetupScreen | null, Fact>;
2267
+
2268
+ declare const CONSTAL_API_CAPABILITY: "constal.api";
2269
+ declare const CONSTAL_API_VERSION: "1";
2270
+ declare const CONSTAL_API_OPERATIONS: readonly ["describe", "query", "get", "relations", "explainPolicy", "plan", "apply", "observe"];
2271
+ type ConstalApiRisk = "read" | "low" | "material" | "destructive" | "financial" | "secret";
2272
+ interface ConstalApiObjectRef {
2273
+ kind: string;
2274
+ id: string;
2275
+ crn: CRN | null;
2276
+ hash: Hash | null;
2277
+ namespace: string | null;
2278
+ version?: string | null;
2279
+ }
2280
+ interface ConstalApiChangePlanRequest {
2281
+ objective: string;
2282
+ operations: Array<{
2283
+ id?: string;
2284
+ operation: string;
2285
+ target?: string;
2286
+ input: unknown;
2287
+ expectedCurrentHash?: Hash | null;
2288
+ dependsOn?: string[];
2289
+ }>;
2290
+ validateOnly?: boolean;
2291
+ }
2292
+ interface ConstalApiPlannedOperation {
2293
+ id: string;
2294
+ operation: string;
2295
+ target: ConstalApiObjectRef;
2296
+ input: unknown;
2297
+ inputHash: Hash;
2298
+ expectedCurrentHash: Hash | null;
2299
+ dependsOn: string[];
2300
+ effect: EffectClass;
2301
+ recovery: Recovery;
2302
+ risk: ConstalApiRisk;
2303
+ idempotencyKey: string;
2304
+ }
2305
+ interface ConstalApiChangePlan {
2306
+ object: "constal.change-plan";
2307
+ id: string;
2308
+ hash: Hash;
2309
+ catalogRevision: Hash;
2310
+ tenant: string;
2311
+ principal: CRN;
2312
+ authorityHash: Hash;
2313
+ createdAt: number;
2314
+ expiresAt: number;
2315
+ objective: string;
2316
+ operations: ConstalApiPlannedOperation[];
2317
+ diff: Array<{
2318
+ operation: string;
2319
+ target: ConstalApiObjectRef;
2320
+ before: unknown;
2321
+ after: unknown;
2322
+ }>;
2323
+ impact: {
2324
+ resources: ConstalApiObjectRef[];
2325
+ policies: ConstalApiObjectRef[];
2326
+ bindings: ConstalApiObjectRef[];
2327
+ };
2328
+ estimatedCost: {
2329
+ currency: "USD";
2330
+ microUsd: number;
2331
+ basis: string;
2332
+ } | null;
2333
+ approvals: Array<{
2334
+ operation: string;
2335
+ reason: string;
2336
+ risk: ConstalApiRisk;
2337
+ }>;
2338
+ validation: Array<{
2339
+ id: string;
2340
+ status: "passed" | "failed" | "pending";
2341
+ detail: string;
2342
+ }>;
2343
+ rollback: {
2344
+ supported: boolean;
2345
+ operations: string[];
2346
+ reason: string | null;
2347
+ } | null;
2348
+ warnings: string[];
2349
+ }
2350
+ interface ConstalApiChangePlanRef {
2351
+ id: string;
2352
+ hash: Hash;
2353
+ }
2354
+ interface ConstalApiApplyRequest {
2355
+ plan: ConstalApiChangePlanRef;
2356
+ eventId: string;
2357
+ }
2358
+ interface ConstalApiOperationReceipt {
2359
+ operation: string;
2360
+ step: string;
2361
+ state: "pending" | "succeeded" | "failed" | "outcome-unknown" | "skipped";
2362
+ target: ConstalApiObjectRef;
2363
+ result: unknown;
2364
+ error: ConstalApiError | null;
2365
+ startedAt: number;
2366
+ completedAt: number;
2367
+ }
2368
+ interface ConstalApiChangeReceipt {
2369
+ object: "constal.change-receipt";
2370
+ id: string;
2371
+ plan: {
2372
+ id: string;
2373
+ hash: Hash;
2374
+ };
2375
+ eventId: string;
2376
+ state: "pending" | "succeeded" | "partially-succeeded" | "failed" | "cancelled" | "outcome-unknown";
2377
+ operations: ConstalApiOperationReceipt[];
2378
+ createdAt: number;
2379
+ updatedAt: number;
2380
+ }
2381
+ interface ConstalApiError {
2382
+ object: "constal.api.error";
2383
+ code: string;
2384
+ message: string;
2385
+ operation?: string;
2386
+ target?: string;
2387
+ retryable: boolean;
2388
+ requestId: string;
2389
+ evidence?: ConstalApiObjectRef[];
2390
+ details?: unknown;
2391
+ }
2392
+ /** Shared schemas pinned into the Resource catalog and Agent Tools. */
2393
+ declare const CONSTAL_API_OPERATION_SCHEMAS: {
2394
+ readonly describe: {
2395
+ readonly type: "object";
2396
+ readonly additionalProperties: false;
2397
+ readonly properties: {
2398
+ readonly domains: {
2399
+ readonly type: "array";
2400
+ readonly maxItems: 128;
2401
+ readonly items: {
2402
+ readonly type: "string";
2403
+ readonly minLength: 1;
2404
+ readonly maxLength: 256;
2405
+ };
2406
+ };
2407
+ readonly kinds: {
2408
+ readonly type: "array";
2409
+ readonly maxItems: 128;
2410
+ readonly items: {
2411
+ readonly type: "string";
2412
+ readonly minLength: 1;
2413
+ readonly maxLength: 256;
2414
+ };
2415
+ };
2416
+ readonly operations: {
2417
+ readonly type: "array";
2418
+ readonly maxItems: 128;
2419
+ readonly items: {
2420
+ readonly type: "string";
2421
+ readonly minLength: 1;
2422
+ readonly maxLength: 256;
2423
+ };
2424
+ };
2425
+ readonly include: {
2426
+ readonly type: "array";
2427
+ readonly maxItems: 5;
2428
+ readonly uniqueItems: true;
2429
+ readonly items: {
2430
+ readonly enum: readonly ["objects", "operations", "relations", "schemas", "docs"];
2431
+ };
2432
+ };
2433
+ readonly cursor: {
2434
+ readonly type: "string";
2435
+ readonly maxLength: 4096;
2436
+ };
2437
+ readonly limit: {
2438
+ readonly type: "integer";
2439
+ readonly minimum: 1;
2440
+ readonly maximum: 200;
2441
+ };
2442
+ };
2443
+ };
2444
+ readonly query: {
2445
+ readonly type: "object";
2446
+ readonly required: readonly ["kind", "scope"];
2447
+ readonly additionalProperties: false;
2448
+ readonly properties: {
2449
+ readonly kind: {
2450
+ readonly type: "string";
2451
+ readonly minLength: 1;
2452
+ readonly maxLength: 128;
2453
+ readonly pattern: "^[A-Za-z][A-Za-z0-9._-]{0,127}$";
2454
+ };
2455
+ readonly scope: {
2456
+ readonly anyOf: readonly [{
2457
+ readonly type: "object";
2458
+ readonly required: readonly ["kind", "namespace"];
2459
+ readonly additionalProperties: false;
2460
+ readonly properties: {
2461
+ readonly kind: {
2462
+ readonly const: "namespace";
2463
+ };
2464
+ readonly namespace: {
2465
+ readonly type: "string";
2466
+ readonly minLength: 1;
2467
+ readonly maxLength: 128;
2468
+ readonly pattern: "^[A-Za-z][A-Za-z0-9._-]{0,127}$";
2469
+ };
2470
+ };
2471
+ }, {
2472
+ readonly type: "object";
2473
+ readonly required: readonly ["kind"];
2474
+ readonly additionalProperties: false;
2475
+ readonly properties: {
2476
+ readonly kind: {
2477
+ readonly const: "tenant";
2478
+ };
2479
+ };
2480
+ }];
2481
+ };
2482
+ readonly filter: {
2483
+ readonly type: "object";
2484
+ };
2485
+ readonly search: {
2486
+ readonly type: "string";
2487
+ readonly maxLength: 512;
2488
+ };
2489
+ readonly order: {
2490
+ readonly type: "array";
2491
+ readonly maxItems: 8;
2492
+ readonly items: {
2493
+ readonly type: "object";
2494
+ readonly required: readonly ["field", "direction"];
2495
+ readonly additionalProperties: false;
2496
+ readonly properties: {
2497
+ readonly field: {
2498
+ readonly type: "string";
2499
+ readonly minLength: 1;
2500
+ readonly maxLength: 128;
2501
+ readonly pattern: "^[A-Za-z][A-Za-z0-9._-]{0,127}$";
2502
+ };
2503
+ readonly direction: {
2504
+ readonly enum: readonly ["ascending", "descending"];
2505
+ };
2506
+ };
2507
+ };
2508
+ };
2509
+ readonly fields: {
2510
+ readonly type: "array";
2511
+ readonly maxItems: 128;
2512
+ readonly items: {
2513
+ readonly type: "string";
2514
+ readonly minLength: 1;
2515
+ readonly maxLength: 256;
2516
+ };
2517
+ };
2518
+ readonly limit: {
2519
+ readonly type: "integer";
2520
+ readonly minimum: 1;
2521
+ readonly maximum: 200;
2522
+ };
2523
+ readonly cursor: {
2524
+ readonly type: "string";
2525
+ readonly maxLength: 4096;
2526
+ };
2527
+ readonly asOf: {
2528
+ readonly type: "integer";
2529
+ readonly minimum: 0;
2530
+ };
2531
+ readonly range: {
2532
+ readonly type: "object";
2533
+ readonly required: readonly ["start", "end"];
2534
+ readonly additionalProperties: false;
2535
+ readonly properties: {
2536
+ readonly start: {
2537
+ readonly type: "integer";
2538
+ readonly minimum: 0;
2539
+ };
2540
+ readonly end: {
2541
+ readonly type: "integer";
2542
+ readonly minimum: 0;
2543
+ };
2544
+ };
2545
+ };
2546
+ };
2547
+ };
2548
+ readonly get: {
2549
+ readonly type: "object";
2550
+ readonly required: readonly ["ref"];
2551
+ readonly additionalProperties: false;
2552
+ readonly properties: {
2553
+ readonly ref: {
2554
+ readonly anyOf: readonly [{
2555
+ readonly type: "object";
2556
+ readonly additionalProperties: false;
2557
+ readonly properties: {
2558
+ readonly kind: {
2559
+ readonly type: "string";
2560
+ readonly maxLength: 128;
2561
+ };
2562
+ readonly id: {
2563
+ readonly type: "string";
2564
+ readonly maxLength: 512;
2565
+ };
2566
+ readonly crn: {
2567
+ readonly type: readonly ["string", "null"];
2568
+ readonly maxLength: 2048;
2569
+ };
2570
+ readonly hash: {
2571
+ readonly anyOf: readonly [{
2572
+ readonly type: "null";
2573
+ }, {
2574
+ readonly type: "string";
2575
+ readonly pattern: "^[a-f0-9]{64}$";
2576
+ }];
2577
+ };
2578
+ readonly namespace: {
2579
+ readonly type: readonly ["string", "null"];
2580
+ readonly maxLength: 128;
2581
+ };
2582
+ readonly version: {
2583
+ readonly type: readonly ["string", "null"];
2584
+ readonly maxLength: 128;
2585
+ };
2586
+ };
2587
+ }, {
2588
+ readonly type: "object";
2589
+ readonly required: readonly ["crn"];
2590
+ readonly additionalProperties: false;
2591
+ readonly properties: {
2592
+ readonly crn: {
2593
+ readonly type: "string";
2594
+ readonly minLength: 1;
2595
+ readonly maxLength: 2048;
2596
+ };
2597
+ readonly hash: {
2598
+ readonly type: "string";
2599
+ readonly pattern: "^[a-f0-9]{64}$";
2600
+ };
2601
+ };
2602
+ }];
2603
+ };
2604
+ readonly fields: {
2605
+ readonly type: "array";
2606
+ readonly maxItems: 128;
2607
+ readonly items: {
2608
+ readonly type: "string";
2609
+ readonly minLength: 1;
2610
+ readonly maxLength: 256;
2611
+ };
2612
+ };
2613
+ readonly page: {
2614
+ readonly type: "object";
2615
+ readonly additionalProperties: false;
2616
+ readonly properties: {
2617
+ readonly cursor: {
2618
+ readonly type: "string";
2619
+ readonly maxLength: 4096;
2620
+ };
2621
+ readonly limit: {
2622
+ readonly type: "integer";
2623
+ readonly minimum: 1;
2624
+ readonly maximum: 500;
2625
+ };
2626
+ };
2627
+ };
2628
+ };
2629
+ };
2630
+ readonly relations: {
2631
+ readonly type: "object";
2632
+ readonly required: readonly ["start"];
2633
+ readonly additionalProperties: false;
2634
+ readonly properties: {
2635
+ readonly start: {
2636
+ readonly anyOf: readonly [{
2637
+ readonly type: "object";
2638
+ readonly additionalProperties: false;
2639
+ readonly properties: {
2640
+ readonly kind: {
2641
+ readonly type: "string";
2642
+ readonly maxLength: 128;
2643
+ };
2644
+ readonly id: {
2645
+ readonly type: "string";
2646
+ readonly maxLength: 512;
2647
+ };
2648
+ readonly crn: {
2649
+ readonly type: readonly ["string", "null"];
2650
+ readonly maxLength: 2048;
2651
+ };
2652
+ readonly hash: {
2653
+ readonly anyOf: readonly [{
2654
+ readonly type: "null";
2655
+ }, {
2656
+ readonly type: "string";
2657
+ readonly pattern: "^[a-f0-9]{64}$";
2658
+ }];
2659
+ };
2660
+ readonly namespace: {
2661
+ readonly type: readonly ["string", "null"];
2662
+ readonly maxLength: 128;
2663
+ };
2664
+ readonly version: {
2665
+ readonly type: readonly ["string", "null"];
2666
+ readonly maxLength: 128;
2667
+ };
2668
+ };
2669
+ }, {
2670
+ readonly type: "object";
2671
+ readonly required: readonly ["crn"];
2672
+ readonly additionalProperties: false;
2673
+ readonly properties: {
2674
+ readonly crn: {
2675
+ readonly type: "string";
2676
+ readonly minLength: 1;
2677
+ readonly maxLength: 2048;
2678
+ };
2679
+ readonly hash: {
2680
+ readonly type: "string";
2681
+ readonly pattern: "^[a-f0-9]{64}$";
2682
+ };
2683
+ };
2684
+ }];
2685
+ };
2686
+ readonly direction: {
2687
+ readonly enum: readonly ["outgoing", "incoming", "both"];
2688
+ };
2689
+ readonly types: {
2690
+ readonly type: "array";
2691
+ readonly maxItems: 128;
2692
+ readonly items: {
2693
+ readonly type: "string";
2694
+ readonly minLength: 1;
2695
+ readonly maxLength: 256;
2696
+ };
2697
+ };
2698
+ readonly depth: {
2699
+ readonly type: "integer";
2700
+ readonly minimum: 1;
2701
+ readonly maximum: 3;
2702
+ };
2703
+ readonly limit: {
2704
+ readonly type: "integer";
2705
+ readonly minimum: 1;
2706
+ readonly maximum: 200;
2707
+ };
2708
+ readonly cursor: {
2709
+ readonly type: "string";
2710
+ readonly maxLength: 4096;
2711
+ };
2712
+ };
2713
+ };
2714
+ readonly explainPolicy: {
2715
+ readonly type: "object";
2716
+ readonly required: readonly ["action", "resource"];
2717
+ readonly additionalProperties: false;
2718
+ readonly properties: {
2719
+ readonly principal: {
2720
+ readonly anyOf: readonly [{
2721
+ readonly type: "string";
2722
+ readonly maxLength: 2048;
2723
+ }, {
2724
+ readonly type: "object";
2725
+ readonly required: readonly ["roles", "scopes"];
2726
+ readonly additionalProperties: false;
2727
+ readonly properties: {
2728
+ readonly name: {
2729
+ readonly type: "string";
2730
+ readonly maxLength: 2048;
2731
+ };
2732
+ readonly roles: {
2733
+ readonly type: "array";
2734
+ readonly maxItems: 64;
2735
+ readonly uniqueItems: true;
2736
+ readonly items: {
2737
+ readonly type: "string";
2738
+ readonly minLength: 1;
2739
+ readonly maxLength: 2048;
2740
+ };
2741
+ };
2742
+ readonly scopes: {
2743
+ readonly type: "array";
2744
+ readonly maxItems: 256;
2745
+ readonly uniqueItems: true;
2746
+ readonly items: {
2747
+ readonly type: "string";
2748
+ readonly pattern: "^(?:\\*|[a-z][a-z0-9-]{0,63}:(?:[a-z][a-z0-9-]{0,63}|\\*))$";
2749
+ };
2750
+ };
2751
+ };
2752
+ }];
2753
+ };
2754
+ readonly action: {
2755
+ readonly type: "string";
2756
+ readonly pattern: string;
2757
+ };
2758
+ readonly resource: {
2759
+ readonly type: "string";
2760
+ readonly minLength: 1;
2761
+ readonly maxLength: 2048;
2762
+ };
2763
+ readonly context: {
2764
+ readonly type: "object";
2765
+ };
2766
+ readonly arguments: {};
2767
+ readonly at: {
2768
+ readonly type: "object";
2769
+ readonly required: readonly ["run"];
2770
+ readonly additionalProperties: false;
2771
+ readonly properties: {
2772
+ readonly run: {
2773
+ readonly type: "object";
2774
+ readonly required: readonly ["namespace", "agent", "session", "run"];
2775
+ readonly additionalProperties: false;
2776
+ readonly properties: {
2777
+ readonly namespace: {
2778
+ readonly type: "string";
2779
+ readonly minLength: 1;
2780
+ readonly maxLength: 128;
2781
+ readonly pattern: "^[A-Za-z][A-Za-z0-9._-]{0,127}$";
2782
+ };
2783
+ readonly agent: {
2784
+ readonly type: "string";
2785
+ readonly minLength: 1;
2786
+ readonly maxLength: 63;
2787
+ readonly pattern: "^[a-z0-9][a-z0-9-]{0,62}$";
2788
+ };
2789
+ readonly session: {
2790
+ readonly type: "string";
2791
+ readonly minLength: 1;
2792
+ readonly maxLength: 256;
2793
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~:-]{0,255}$";
2794
+ };
2795
+ readonly run: {
2796
+ readonly type: "string";
2797
+ readonly minLength: 1;
2798
+ readonly maxLength: 256;
2799
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~:-]{0,255}$";
2800
+ };
2801
+ };
2802
+ };
2803
+ };
2804
+ };
2805
+ };
2806
+ };
2807
+ readonly plan: {
2808
+ readonly type: "object";
2809
+ readonly required: readonly ["objective", "operations"];
2810
+ readonly additionalProperties: false;
2811
+ readonly properties: {
2812
+ readonly objective: {
2813
+ readonly type: "string";
2814
+ readonly minLength: 1;
2815
+ readonly maxLength: 8192;
2816
+ };
2817
+ readonly validateOnly: {
2818
+ readonly type: "boolean";
2819
+ };
2820
+ readonly operations: {
2821
+ readonly type: "array";
2822
+ readonly minItems: 1;
2823
+ readonly maxItems: 64;
2824
+ readonly items: {
2825
+ readonly type: "object";
2826
+ readonly required: readonly ["operation", "input"];
2827
+ readonly additionalProperties: false;
2828
+ readonly properties: {
2829
+ readonly id: {
2830
+ readonly type: "string";
2831
+ readonly minLength: 1;
2832
+ readonly maxLength: 256;
2833
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~:-]{0,255}$";
2834
+ };
2835
+ readonly operation: {
2836
+ readonly type: "string";
2837
+ readonly minLength: 1;
2838
+ readonly maxLength: 128;
2839
+ readonly pattern: "^[A-Za-z][A-Za-z0-9._-]{0,127}$";
2840
+ };
2841
+ readonly target: {
2842
+ readonly type: "string";
2843
+ readonly maxLength: 2048;
2844
+ };
2845
+ readonly input: {};
2846
+ readonly expectedCurrentHash: {
2847
+ readonly anyOf: readonly [{
2848
+ readonly type: "null";
2849
+ }, {
2850
+ readonly type: "string";
2851
+ readonly pattern: "^[a-f0-9]{64}$";
2852
+ }];
2853
+ };
2854
+ readonly dependsOn: {
2855
+ readonly type: "array";
2856
+ readonly maxItems: 64;
2857
+ readonly items: {
2858
+ readonly type: "string";
2859
+ readonly minLength: 1;
2860
+ readonly maxLength: 256;
2861
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~:-]{0,255}$";
2862
+ };
2863
+ };
2864
+ };
2865
+ };
2866
+ };
2867
+ };
2868
+ };
2869
+ readonly apply: {
2870
+ readonly type: "object";
2871
+ readonly required: readonly ["plan", "eventId"];
2872
+ readonly additionalProperties: false;
2873
+ readonly properties: {
2874
+ readonly plan: {
2875
+ readonly type: "object";
2876
+ readonly required: readonly ["id", "hash"];
2877
+ readonly additionalProperties: false;
2878
+ readonly properties: {
2879
+ readonly id: {
2880
+ readonly type: "string";
2881
+ readonly minLength: 1;
2882
+ readonly maxLength: 256;
2883
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~:-]{0,255}$";
2884
+ };
2885
+ readonly hash: {
2886
+ readonly type: "string";
2887
+ readonly pattern: "^[a-f0-9]{64}$";
2888
+ };
2889
+ };
2890
+ };
2891
+ readonly eventId: {
2892
+ readonly type: "string";
2893
+ readonly minLength: 1;
2894
+ readonly maxLength: 256;
2895
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~:-]{0,255}$";
2896
+ };
2897
+ };
2898
+ };
2899
+ readonly observe: {
2900
+ readonly type: "object";
2901
+ readonly required: readonly ["id"];
2902
+ readonly additionalProperties: false;
2903
+ readonly properties: {
2904
+ readonly id: {
2905
+ readonly type: "string";
2906
+ readonly minLength: 1;
2907
+ readonly maxLength: 256;
2908
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~:-]{0,255}$";
2909
+ };
2910
+ };
2911
+ };
2912
+ };
2913
+
2140
2914
  interface PolicyDefinition {
2141
2915
  id: string;
2142
2916
  version: string;
@@ -2254,6 +3028,27 @@ declare const WEB_SEARCH_ARGUMENT_SCHEMA: {
2254
3028
  readonly pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$";
2255
3029
  readonly description: "Optional earliest publication date in YYYY-MM-DD form.";
2256
3030
  };
3031
+ readonly searchDepth: {
3032
+ readonly type: "string";
3033
+ readonly enum: readonly ["basic", "advanced"];
3034
+ readonly description: "Provider search depth when supported.";
3035
+ };
3036
+ readonly includeAnswer: {
3037
+ readonly type: "boolean";
3038
+ readonly description: "Request a provider-synthesized answer when supported.";
3039
+ };
3040
+ readonly includeRawContent: {
3041
+ readonly type: "boolean";
3042
+ readonly description: "Include bounded raw source content when supported.";
3043
+ };
3044
+ readonly includeImages: {
3045
+ readonly type: "boolean";
3046
+ readonly description: "Include relevant image results when supported.";
3047
+ };
3048
+ readonly includeImageDescriptions: {
3049
+ readonly type: "boolean";
3050
+ readonly description: "Include image descriptions when supported.";
3051
+ };
2257
3052
  };
2258
3053
  };
2259
3054
  declare const webFetch: CatalogTool;
@@ -2342,10 +3137,14 @@ interface MemoryRememberArgs {
2342
3137
  id?: string;
2343
3138
  content: string;
2344
3139
  metadata?: Record<string, unknown>;
3140
+ /** Optional host-derived subpartition within the already authenticated Memory owner partition. */
3141
+ scope?: string;
2345
3142
  }
2346
3143
  interface MemorySearchArgs {
2347
3144
  query: string;
2348
3145
  limit?: number;
3146
+ /** Must match the host-derived scope used while remembering records. */
3147
+ scope?: string;
2349
3148
  }
2350
3149
  interface MemoryGetArgs {
2351
3150
  id: string;
@@ -2551,6 +3350,7 @@ declare function credentialProviderSetupMetadata(value: unknown, slots: string[]
2551
3350
  declare function credentialProvider<C>(definition: CredentialProviderDefinition<C>): CredentialProviderPackage<C>;
2552
3351
 
2553
3352
  type ModelGatewayProtocol = "anthropic" | "openai";
3353
+ type RawModelProtocol = ModelGatewayProtocol | "bedrock";
2554
3354
  interface ModelTool {
2555
3355
  name: string;
2556
3356
  version?: string;
@@ -2564,10 +3364,17 @@ interface ModelInvocationArgs {
2564
3364
  objective?: unknown;
2565
3365
  context?: unknown;
2566
3366
  tools?: ModelTool[];
3367
+ /** Constrain whether an offered Tool must be selected for this generation. */
3368
+ toolChoice?: "auto" | "required";
2567
3369
  feedback?: string[];
2568
3370
  maxOutputTokens?: number;
2569
3371
  temperature?: number;
2570
3372
  stream?: boolean;
3373
+ /** Host-adapter escape hatch for a qualified upstream SDK wire request. Credentials and the selected model remain platform-owned. */
3374
+ rawProtocol?: {
3375
+ protocol: RawModelProtocol;
3376
+ request: Record<string, unknown>;
3377
+ };
2571
3378
  }
2572
3379
  interface ModelCredentialHeader {
2573
3380
  slot: string;
@@ -2784,5 +3591,5 @@ declare class SessionDeleted extends Error {
2784
3591
  constructor(session: string);
2785
3592
  }
2786
3593
 
2787
- export { AfterYield, ApiError, CommitConflict, CommitGateRejected, CredentialRevoked, CredentialUnavailable, DirectNetworkDenied, EffectCeilingExceeded, GateExhausted, IntegrationRequestNotSent, LeaseLost, MCP_CLIENT_CAPABILITY, MEMORY_OPERATION_DECLARATIONS, MODEL_CHECKPOINT_IMPORT_CAPABILITY, MODEL_COMPLETION_CAPABILITY, NondeterministicReplay, OutcomeUnknown, PolicyConstraintFailed, PolicyDecisionFailed, ResourceDisabled, ResourceInvalid, ResourceUnbound, RollbackTargetInvalid, SessionDeleted, SpawnCardinality, SwallowedYield, TRAINING_PROVIDER_CAPABILITY, TerminalIntegrationFailure, ToolUnavailable, UI_BUNDLE_BOUNDS, UnknownTool, WEB_FETCH_ARGUMENT_SCHEMA, WEB_SEARCH_ARGUMENT_SCHEMA, action, actionPattern, agent, agentResourceBinding, analyticsEvent, approximateTokens, authProvider, authProviderName, bindingName, bucketFor, canonicalJson, capabilityContractRef, casTool, channel, checkpointArtifactRef, checkpointDeploymentRequest, checkpointImportMetadata, checkpointImportRequest, codeScorerIR, credentialInteractionAction, credentialInteractionEvent, credentialInteractionResult, credentialName, credentialProvider, credentialProviderConfigSchema, credentialProviderName, credentialProviderSetupMetadata, credentialRotationDefaults, customerTenantName, cutBatches, cutPartitions, datasetName, evaluateCodeScorer, evaluatePolicyDefinition, gateway, gatewayModelOffer, gatewayPackageMetadata, hash, hashValue, integrationEgressPolicy, labelSelector, matchesAction, matchesLabelSelector, matchesResource, memoryStoreBinding, modelAdvertisedPricing, modelControls, modelGatewayBinding, modelGatewayEndpoint, modelLimit, modelPrompt, modelProtocolRequest, modelProtocolResult, murmur3_32, normalizeModelGatewayConfig, normalizeSandboxNetworkPolicy, opTool, opTools, parseResourceName, policy, policyName, renderTrainingCompletion, resolveGatewayEgress, resourceContractRef, resourceCredentialBinding, resourceLabelMap, resourceName, resourceNeed, resourcePattern, resourceSelector, sandboxControls, sandboxLimit, scopedBindingKey, scopedCredentialRef, scopedResourceRef, scorerName, sha256Hex, stageOutput, startTrainingRequest, subtask, tableDescribe, tableQuery, trainingProvider, trainingProviderMetadata, trainingRecipe, uiBundle, uiBundleManifest, uiLimit, uiName, validateBatchSpec, validateFoldFn, validateJsonSchema, validateJsonSchemaDefinition, validatePartitionFn, validatePartitionSpec, validateStageOutputSpec, validateTool, validateView, webFetch, webSearch };
2788
- export type { Action, ActionPattern, Actor, AdmissionLimitConstraint, AdmissionLimitInput, AdmissionLimitScope, AdmissionLimitWindow, Agent, AgentDef, AgentDeployPolicy, AnalyticsClient, AnalyticsDimensionValue, AnalyticsEventDefinition, AnalyticsIntent, AnalyticsValues, AuthProvider, AuthProviderCRN, AuthProviderContext, AuthProviderRequest, AuthProviderResult, AwaitOpts, BatchSpec, BindingCRN, BindingOwnerScope, BranchRef, CRN, CRNKind, CanonicalEvent, CanonicalEventDraft, CapabilityContractRef, CapabilityGrant, CapabilityRef, CaptureCaseRequest, CaseRow, CatalogTool, Channel, ChannelAlarm, ChannelAlarmResult, ChannelContext, ChannelMessage, ChannelProtocol, ChannelRequest, ChannelResponse, CheckpointDeploymentRequest, CheckpointImportMetadata, CheckpointImportRequest, CodeScoreResult, CodeScorerIR, CodeScorerRule, CommitOpts, CompareSuitesRequest, Compensation, ConnectionCancelRequest, ConnectionIdentity, ConnectionOperation, ConnectionRecoveryRequest, ConnectionRecoveryResult, ConnectionRequest, ConnectionUsageReport, ControlEvent, Cost, CreateSandboxOptions, CredentialCRN, CredentialDestroyResult, CredentialInteractionAction, CredentialInteractionAdvanceRequest, CredentialInteractionEvent, CredentialInteractionPrimaryAction, CredentialInteractionProof, CredentialInteractionResult, CredentialInteractionStartRequest, CredentialMaterialRequest, CredentialMintRequest, CredentialMintResult, CredentialProviderCRN, CredentialProviderContext, CredentialProviderCredentialSlotSetup, CredentialProviderDefinition, CredentialProviderPackage, CredentialProviderPackageMetadata, CredentialProviderSecretInput, CredentialProviderSetupMetadata, CredentialVerifyResult, Ctx, CustomerTenantCRN, DataManifest, DatasetCRN, DatasetDraft, DatasetRef, DelegatedGrant, DelegationCeiling, DeliveryMode, DeliveryReceipt, DispatchResult, EffectClass, EvalComparison, EvalDivergence, EvalMode, EvalSubject, EvalSubjectSource, EventBase, Fact, FactRef, FileEntry, FixedMemoryStoreRef, FixedModelGatewayRef, FoldFn, GateEvidence, GateResult, GateVerdict, GatewayCancelRequest, GatewayConfigEgressBinding, GatewayContext, GatewayCredentialSlotSetup, GatewayDefinition, GatewayDiscoverySetup, GatewayModelOffer, GatewayOperation, GatewayPackage, GatewayPackageMetadata, GatewayRecoveryRequest, GatewayRecoveryResult, GatewayRequest, GovernanceContractRef, Handle, HandleOutcome, Hash, HistoryView, IngressRequest, IngressTarget, IntegrationContext, IntegrationEgressPolicy, IntegrationEgressRequest, IntegrationEgressResponse, IntegrationEgressRule, IntegrationSecret, IntegrationState, InvokableKind, InvokeOpts, JsonScalar, JsonValue, LabelRequest, LabelSelector, LabelSelectorOperator, LabelSelectorRequirement, LedgerAddress, LedgerEvent, ManifestIndexPage, MapFact, MapOpts, MemoryDeleteArgs, MemoryGetArgs, MemoryRecord, MemoryRememberArgs, MemorySearchArgs, MemorySearchHit, MemoryStoreBinding, Mode, ModelAdvertisedPricing, ModelCredentialHeader, ModelGatewayBinding, ModelGatewayConfig, ModelGatewayProtocol, ModelGovernanceControls, ModelGovernanceMeter, ModelInvocationArgs, ModelInvocationResult, ModelTechnicalCapabilities, ModelTool, NormalizedModelGatewayConfig, Out, Over, PartitionFn, PartitionSpec, Partitioning, PolicyCRN, PolicyConstraint, PolicyContextValue, PolicyDefinition, PolicyInput, PolicyInvocationOrigin, PolicyOutcome, Principal, PrincipalKind, Provenance, Recovery, ReduceFact, ReduceOpts, Ref, RequestLabelRequest, ResourceContractRef, ResourceControlsConstraint, ResourceCredentialBinding, ResourceKind, ResourceName, ResourceNameParts, ResourceNeed, ResourcePattern, ResourceSelector, RollbackReport, RunIdentityView, RunInfo, RunStatusDetail, RunSuiteRequest, Sandbox, SandboxCommandResult, SandboxExecInput, SandboxFileResult, SandboxGovernanceControls, SandboxGovernanceMeter, SandboxImage, SandboxMutationResult, SandboxNetworkMode, SandboxNetworkPolicy, SandboxPool, ScopedBindingKey, ScopedCredentialRef, ScopedMemoryStoreRef, ScopedModelGatewayRef, ScopedResourceRef, ScoreRequest, ScorerApplies, ScorerCRN, ScorerDef, ScorerEvaluation, ScorerKind, ScorerRef, ScorerVerdictIntent, SetEvalBaselineRequest, SortField, SpawnAttenuation, SpawnBudget, SpawnOpts, SqlFold, StageInfo, StageOutputSpec, StartTrainingRequest, SteerEvent, SuiteFact, TableAggregate, TableDescribeArgs, TableFilter, TableFilterOperation, TableOrder, TableQueryArgs, TableQueryPlan, TableQueryResult, TableScalar, TableSnapshotDescription, Task, Tier, Tool, ToolCallRecord, TrainingJobFact, TrainingJobReference, TrainingJobState, TrainingJobStatus, TrainingMethod, TrainingModelOffer, TrainingProviderDefinition, TrainingProviderMetadata, TrainingProviderPin, TrainingRecipe, TrainingResumePoint, TrainingUsageUnits, TurnDraft, TurnGate, TurnRecord, TurnSpec, UiAccess, UiBundle, UiBundleManifest, UiCRN, UiCapability, UiExecution, UiGovernanceMeter, UiHandler, UiResource, UiRuntimeContext, UiSource, UiSqlResult, UiState, UpstreamPayer, Verdict, VerdictSamplingMode, ViewDef, WaitResolvedEvent };
3594
+ export { AfterYield, ApiError, CONSTAL_API_CAPABILITY, CONSTAL_API_OPERATIONS, CONSTAL_API_OPERATION_SCHEMAS, CONSTAL_API_VERSION, CommitConflict, CommitGateRejected, CredentialRevoked, CredentialUnavailable, DirectNetworkDenied, EffectCeilingExceeded, GateExhausted, IntegrationRequestNotSent, LeaseLost, MCP_CLIENT_CAPABILITY, MEMORY_OPERATION_DECLARATIONS, MODEL_CHECKPOINT_IMPORT_CAPABILITY, MODEL_COMPLETION_CAPABILITY, NondeterministicReplay, OutcomeUnknown, PolicyConstraintFailed, PolicyDecisionFailed, ResourceDisabled, ResourceInvalid, ResourceUnbound, RollbackTargetInvalid, SessionDeleted, SpawnCardinality, SwallowedYield, TRAINING_PROVIDER_CAPABILITY, TerminalIntegrationFailure, ToolUnavailable, UI_BUNDLE_BOUNDS, UnknownTool, WEB_FETCH_ARGUMENT_SCHEMA, WEB_SEARCH_ARGUMENT_SCHEMA, action, actionPattern, agent, agentResourceBinding, analyticsEvent, approximateTokens, authProvider, authProviderName, bindingName, bucketFor, canonicalJson, capabilityContractRef, casTool, channel, checkpointArtifactRef, checkpointDeploymentRequest, checkpointImportMetadata, checkpointImportRequest, codeScorerIR, credentialInteractionAction, credentialInteractionEvent, credentialInteractionResult, credentialName, credentialProvider, credentialProviderConfigSchema, credentialProviderName, credentialProviderSetupMetadata, credentialRotationDefaults, customerTenantName, cutBatches, cutPartitions, datasetName, evaluateCodeScorer, evaluatePolicyDefinition, gateway, gatewayModelOffer, gatewayPackageMetadata, hash, hashValue, integrationEgressPolicy, labelSelector, matchesAction, matchesLabelSelector, matchesResource, memoryStoreBinding, modelAdvertisedPricing, modelControls, modelGatewayBinding, modelGatewayEndpoint, modelLimit, modelPrompt, modelProtocolRequest, modelProtocolResult, murmur3_32, normalizeModelGatewayConfig, normalizeSandboxNetworkPolicy, opTool, opTools, parseResourceName, policy, policyName, renderTrainingCompletion, resolveGatewayEgress, resourceContractRef, resourceCredentialBinding, resourceLabelMap, resourceName, resourceNeed, resourcePattern, resourceSelector, sandboxControls, sandboxLimit, scopedBindingKey, scopedCredentialRef, scopedResourceRef, scorerName, setupAwait, setupScreen, setupScreenView, setupSubmission, sha256Hex, stageOutput, startTrainingRequest, subtask, tableDescribe, tableQuery, trainingProvider, trainingProviderMetadata, trainingRecipe, uiBundle, uiBundleManifest, uiLimit, uiName, validateBatchSpec, validateFoldFn, validateJsonSchema, validateJsonSchemaDefinition, validatePartitionFn, validatePartitionSpec, validateStageOutputSpec, validateTool, validateView, webFetch, webSearch };
3595
+ export type { Action, ActionPattern, Actor, AdmissionLimitConstraint, AdmissionLimitInput, AdmissionLimitScope, AdmissionLimitWindow, Agent, AgentDef, AgentDeployPolicy, AnalyticsClient, AnalyticsDimensionValue, AnalyticsEventDefinition, AnalyticsIntent, AnalyticsValues, AuthProvider, AuthProviderCRN, AuthProviderContext, AuthProviderRequest, AuthProviderResult, AwaitOpts, AwaitPresentation, BatchSpec, BindingCRN, BindingOwnerScope, BranchRef, CRN, CRNKind, CanonicalEvent, CanonicalEventDraft, CapabilityContractRef, CapabilityGrant, CapabilityRef, CaptureCaseRequest, CaseRow, CatalogTool, Channel, ChannelAlarm, ChannelAlarmResult, ChannelContext, ChannelMessage, ChannelProtocol, ChannelReceiveResult, ChannelRequest, ChannelResponse, CheckpointDeploymentRequest, CheckpointImportMetadata, CheckpointImportRequest, CodeScoreResult, CodeScorerIR, CodeScorerRule, CommitOpts, CompareSuitesRequest, Compensation, ConnectionCancelRequest, ConnectionIdentity, ConnectionOperation, ConnectionRecoveryRequest, ConnectionRecoveryResult, ConnectionRequest, ConnectionUsageReport, ConstalApiApplyRequest, ConstalApiChangePlan, ConstalApiChangePlanRef, ConstalApiChangePlanRequest, ConstalApiChangeReceipt, ConstalApiOperationReceipt, ControlEvent, Cost, CreateSandboxImageOptions, CreateSandboxOptions, CredentialCRN, CredentialDestroyResult, CredentialInteractionAction, CredentialInteractionAdvanceRequest, CredentialInteractionEvent, CredentialInteractionPrimaryAction, CredentialInteractionProof, CredentialInteractionResult, CredentialInteractionStartRequest, CredentialMaterialRequest, CredentialMintRequest, CredentialMintResult, CredentialProviderCRN, CredentialProviderContext, CredentialProviderCredentialSlotSetup, CredentialProviderDefinition, CredentialProviderPackage, CredentialProviderPackageMetadata, CredentialProviderSecretInput, CredentialProviderSetupMetadata, CredentialVerifyResult, Ctx, CustomerTenantCRN, DataManifest, DatasetCRN, DatasetDraft, DatasetRef, DelegatedGrant, DelegationCeiling, DeliveryMode, DeliveryReceipt, DispatchResult, EffectClass, EvalComparison, EvalDivergence, EvalMode, EvalSubject, EvalSubjectSource, EventBase, Fact, FactRef, FileEntry, FixedMemoryStoreRef, FixedModelGatewayRef, FoldFn, GateEvidence, GateResult, GateVerdict, GatewayCancelRequest, GatewayConfigEgressBinding, GatewayContext, GatewayCredentialSlotSetup, GatewayDefinition, GatewayDiscoverySetup, GatewayModelOffer, GatewayOperation, GatewayPackage, GatewayPackageMetadata, GatewayRecoveryRequest, GatewayRecoveryResult, GatewayRequest, GovernanceContractRef, Handle, HandleOutcome, Hash, HistoryView, IgnoredChannelEvent, IngressRequest, IngressTarget, IntegrationContext, IntegrationEgressPolicy, IntegrationEgressRequest, IntegrationEgressResponse, IntegrationEgressRule, IntegrationSecret, IntegrationState, InvokableKind, InvokeOpts, JsonScalar, JsonValue, LabelRequest, LabelSelector, LabelSelectorOperator, LabelSelectorRequirement, LedgerAddress, LedgerEvent, ManifestIndexPage, MapFact, MapOpts, MemoryDeleteArgs, MemoryGetArgs, MemoryRecord, MemoryRememberArgs, MemorySearchArgs, MemorySearchHit, MemoryStoreBinding, Mode, ModelAdvertisedPricing, ModelCredentialHeader, ModelGatewayBinding, ModelGatewayConfig, ModelGatewayProtocol, ModelGovernanceControls, ModelGovernanceMeter, ModelInvocationArgs, ModelInvocationResult, ModelTechnicalCapabilities, ModelTool, NormalizedModelGatewayConfig, Out, Over, PartitionFn, PartitionSpec, Partitioning, PolicyCRN, PolicyConstraint, PolicyContextValue, PolicyDefinition, PolicyInput, PolicyInvocationOrigin, PolicyOutcome, Principal, PrincipalKind, Provenance, RawModelProtocol, Recovery, ReduceFact, ReduceOpts, Ref, RequestLabelRequest, ResourceContractRef, ResourceControlsConstraint, ResourceCredentialBinding, ResourceKind, ResourceName, ResourceNameParts, ResourceNeed, ResourcePattern, ResourceSelector, RollbackReport, RunIdentityView, RunInfo, RunStatusDetail, RunSuiteRequest, Sandbox, SandboxCommandResult, SandboxExecInput, SandboxFileResult, SandboxGovernanceControls, SandboxGovernanceMeter, SandboxImage, SandboxMutationResult, SandboxNetworkMode, SandboxNetworkPolicy, SandboxPool, ScopedBindingKey, ScopedCredentialRef, ScopedMemoryStoreRef, ScopedModelGatewayRef, ScopedResourceRef, ScoreRequest, ScorerApplies, ScorerCRN, ScorerDef, ScorerEvaluation, ScorerKind, ScorerRef, ScorerVerdictIntent, SetEvalBaselineRequest, SetupAction, SetupCredentialInteractionPanel, SetupFormPanel, SetupPanel, SetupProgressPanel, SetupReviewPanel, SetupScreen, SetupStepStatus, SetupStepSummary, SetupSubmission, SetupTerminalPanel, SetupWorkflowStatus, SortField, SpawnAttenuation, SpawnBudget, SpawnOpts, SqlFold, StageInfo, StageOutputSpec, StartTrainingRequest, SteerEvent, SuiteFact, TableAggregate, TableDescribeArgs, TableFilter, TableFilterOperation, TableOrder, TableQueryArgs, TableQueryPlan, TableQueryResult, TableScalar, TableSnapshotDescription, Task, Tier, Tool, ToolCallRecord, TrainingJobFact, TrainingJobReference, TrainingJobState, TrainingJobStatus, TrainingMethod, TrainingModelOffer, TrainingProviderDefinition, TrainingProviderMetadata, TrainingProviderPin, TrainingRecipe, TrainingResumePoint, TrainingUsageUnits, TurnDraft, TurnGate, TurnRecord, TurnSpec, UiAccess, UiBundle, UiBundleManifest, UiCRN, UiCapability, UiExecution, UiGovernanceMeter, UiHandler, UiResource, UiRuntimeContext, UiSource, UiSqlResult, UiState, UpstreamPayer, Verdict, VerdictSamplingMode, ViewDef, WaitResolvedEvent };