@constal/sdk 2.0.0 → 2.2.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.
@@ -32,6 +32,8 @@ interface IntegrationContext {
32
32
  readonly config: unknown;
33
33
  secret(slot: string): Promise<IntegrationSecret>;
34
34
  state: IntegrationState;
35
+ /** Load one content-addressed artifact already admitted to this Resource invocation. */
36
+ load(ref: Ref, maximumBytes: number): Promise<ArrayBuffer>;
35
37
  store(bytes: ArrayBuffer | string): Promise<Ref>;
36
38
  audit(record: unknown): void;
37
39
  egress(request: IntegrationEgressRequest): Promise<IntegrationEgressResponse>;
@@ -1228,6 +1230,15 @@ declare function analyticsEvent<Dimension extends string, Metric extends string>
1228
1230
 
1229
1231
  interface CreateSandboxOptions {
1230
1232
  image?: SandboxImage;
1233
+ resetImage?: boolean;
1234
+ }
1235
+ /**
1236
+ * Optional immutable identity for a prepared image. Cache keys are supplied as
1237
+ * full SHA-256 digests so a SandboxPool can safely scope and reuse an image
1238
+ * without interpreting an Agent's environment manifest.
1239
+ */
1240
+ interface CreateSandboxImageOptions {
1241
+ cacheKey?: string;
1231
1242
  }
1232
1243
  interface SandboxExecInput {
1233
1244
  cmd: string;
@@ -1269,6 +1280,7 @@ interface SandboxMutationResult {
1269
1280
  interface SandboxImage {
1270
1281
  readonly id: string;
1271
1282
  readonly pool: SandboxPool;
1283
+ readonly cacheKey: string | null;
1272
1284
  delete(opts?: InvokeOpts): Promise<void>;
1273
1285
  }
1274
1286
  /** Mutable, Agent/Session-scoped workspace backed by a VM or container provider. */
@@ -1292,7 +1304,9 @@ interface Sandbox {
1292
1304
  interface SandboxPool {
1293
1305
  readonly resource: CRN;
1294
1306
  /** Capture an immutable image from a sandbox owned by this pool. */
1295
- createImage(sandbox: Sandbox, opts?: InvokeOpts): Promise<SandboxImage>;
1307
+ createImage(sandbox: Sandbox, options?: CreateSandboxImageOptions, opts?: InvokeOpts): Promise<SandboxImage>;
1308
+ /** Resolve an Agent-owned prepared image by its immutable environment digest. */
1309
+ resolveImage(cacheKey: string, opts?: InvokeOpts): Promise<SandboxImage | null>;
1296
1310
  /** Register a logical Agent/Session sandbox; provider compute is allocated by its first work operation. */
1297
1311
  createSandbox(agent: CRN, session: string, options?: CreateSandboxOptions, opts?: InvokeOpts): Promise<Sandbox>;
1298
1312
  }
@@ -1515,12 +1529,24 @@ interface SpawnOpts {
1515
1529
  budget?: SpawnBudget;
1516
1530
  attenuation?: SpawnAttenuation;
1517
1531
  }
1532
+ /** Bounded, non-secret content that a Channel or UI may present while a Run is suspended. */
1533
+ interface AwaitPresentation {
1534
+ object: "constal.await.presentation";
1535
+ version: 1;
1536
+ kind: string;
1537
+ title: string;
1538
+ /** GitHub-flavored Markdown. */
1539
+ body: string;
1540
+ metadata?: Record<string, string | number | boolean | null>;
1541
+ }
1518
1542
  interface AwaitOpts<T> {
1519
1543
  timeout?: number;
1520
1544
  onTimeout?: T;
1521
1545
  schema?: object;
1522
1546
  maxBytes?: number;
1523
1547
  afterRun?: "ignore" | "message";
1548
+ /** Explicitly public presentation; never include Credential material or private evidence. */
1549
+ presentation?: AwaitPresentation;
1524
1550
  }
1525
1551
  interface Handle<T> extends PromiseLike<T> {
1526
1552
  readonly id: string;
@@ -1622,6 +1648,8 @@ interface TurnSpec {
1622
1648
  objective?: unknown;
1623
1649
  context?: unknown;
1624
1650
  tools?: string[];
1651
+ /** Require one of the offered Tools for this model generation. */
1652
+ toolChoice?: "auto" | "required";
1625
1653
  gate?: TurnGate;
1626
1654
  model?: string;
1627
1655
  stream?: boolean;
@@ -1957,6 +1985,12 @@ interface CanonicalEventDraft<T = unknown> {
1957
1985
  occurredAt?: number;
1958
1986
  deliver?: DeliveryMode;
1959
1987
  }
1988
+ interface IgnoredChannelEvent {
1989
+ ignored: true;
1990
+ reason: string;
1991
+ response: ChannelResponse;
1992
+ }
1993
+ type ChannelReceiveResult<T = unknown> = CanonicalEventDraft<T> | IgnoredChannelEvent;
1960
1994
  interface DispatchResult<T = unknown> {
1961
1995
  event: CanonicalEvent;
1962
1996
  runId: string;
@@ -1976,6 +2010,8 @@ interface ChannelContext {
1976
2010
  channel: CRN;
1977
2011
  principal: Principal;
1978
2012
  invocationId: string;
2013
+ /** Immutable deployment-authored Channel configuration pinned for this invocation. */
2014
+ config: unknown;
1979
2015
  resources: Record<string, CRN>;
1980
2016
  analytics: AnalyticsClient;
1981
2017
  invoke<T>(resource: CRN, op: string, args: unknown, opts?: {
@@ -2010,7 +2046,7 @@ interface ChannelAlarmResult<Delivery = unknown> {
2010
2046
  interface ChannelProtocol<Input = unknown, Output = unknown, Delivery = Output> {
2011
2047
  id: string;
2012
2048
  version: string;
2013
- receive(request: ChannelRequest, context: ChannelContext): Promise<CanonicalEventDraft<Input>> | CanonicalEventDraft<Input>;
2049
+ receive(request: ChannelRequest, context: ChannelContext): Promise<ChannelReceiveResult<Input>> | ChannelReceiveResult<Input>;
2014
2050
  respond(result: DispatchResult<Output>, context: ChannelContext): Promise<ChannelResponse> | ChannelResponse;
2015
2051
  send?(message: ChannelMessage<Delivery>, context: ChannelContext): Promise<DeliveryReceipt> | DeliveryReceipt;
2016
2052
  alarm?(alarm: ChannelAlarm, context: ChannelContext): Promise<ChannelAlarmResult<Delivery> | void> | ChannelAlarmResult<Delivery> | void;
@@ -2137,6 +2173,746 @@ interface UiHandler {
2137
2173
  declare function uiBundleManifest(value: unknown, execution: UiExecution["mode"]): UiBundleManifest;
2138
2174
  declare function uiBundle(value: unknown, execution: UiExecution["mode"]): UiBundle;
2139
2175
 
2176
+ type SetupStepStatus = "pending" | "current" | "complete" | "blocked";
2177
+ type SetupWorkflowStatus = "active" | "blocked" | "complete" | "cancelled";
2178
+ interface SetupStepSummary {
2179
+ id: string;
2180
+ label: string;
2181
+ status: SetupStepStatus;
2182
+ optional?: boolean;
2183
+ }
2184
+ interface SetupAction {
2185
+ id: string;
2186
+ label: string;
2187
+ intent: "primary" | "secondary" | "danger";
2188
+ }
2189
+ interface SetupPanelBase {
2190
+ id: string;
2191
+ title: string;
2192
+ description: string;
2193
+ actions: SetupAction[];
2194
+ }
2195
+ interface SetupFormPanel extends SetupPanelBase {
2196
+ kind: "form";
2197
+ schema: object;
2198
+ initialValues?: Record<string, unknown>;
2199
+ }
2200
+ interface SetupCredentialInteractionPanel extends SetupPanelBase {
2201
+ kind: "credential-interaction";
2202
+ provider: string;
2203
+ credentialId: string;
2204
+ operation: "connect" | "reauthorize" | "manage";
2205
+ }
2206
+ interface SetupReviewPanel extends SetupPanelBase {
2207
+ kind: "review";
2208
+ sections: Array<{
2209
+ id: string;
2210
+ title: string;
2211
+ rows: Array<{
2212
+ label: string;
2213
+ value: string;
2214
+ tone?: "default" | "muted" | "warning";
2215
+ }>;
2216
+ }>;
2217
+ }
2218
+ interface SetupProgressPanel extends SetupPanelBase {
2219
+ kind: "progress";
2220
+ progress: Array<{
2221
+ id: string;
2222
+ label: string;
2223
+ status: "pending" | "running" | "complete" | "failed";
2224
+ detail?: string;
2225
+ }>;
2226
+ }
2227
+ interface SetupTerminalPanel extends SetupPanelBase {
2228
+ kind: "complete" | "blocked";
2229
+ summary: string;
2230
+ details?: Array<{
2231
+ label: string;
2232
+ value: string;
2233
+ }>;
2234
+ }
2235
+ type SetupPanel = SetupFormPanel | SetupCredentialInteractionPanel | SetupReviewPanel | SetupProgressPanel | SetupTerminalPanel;
2236
+ interface SetupScreen {
2237
+ object: "constal.setup.screen";
2238
+ version: 1;
2239
+ workflow: {
2240
+ id: string;
2241
+ version: string;
2242
+ targetAgent: string;
2243
+ };
2244
+ revision: number;
2245
+ status: SetupWorkflowStatus;
2246
+ title: string;
2247
+ description: string;
2248
+ steps: SetupStepSummary[];
2249
+ current: SetupPanel;
2250
+ waitLabel: string | null;
2251
+ }
2252
+ interface SetupSubmission {
2253
+ object: "constal.setup.submission";
2254
+ version: 1;
2255
+ workflow: string;
2256
+ revision: number;
2257
+ step: string;
2258
+ action: string;
2259
+ values?: Record<string, unknown>;
2260
+ }
2261
+ /** Validates the bounded presentation artifact consumed by trusted Console renderers. */
2262
+ declare function setupScreen(value: unknown): SetupScreen;
2263
+ /** Validates one response against the exact open screen revision and form schema. */
2264
+ declare function setupSubmission(value: unknown, screen: SetupScreen): SetupSubmission;
2265
+ /** Await options for the exact screen. Runtime wait resolution remains the authority and replay fence. */
2266
+ declare function setupAwait(screen: SetupScreen): AwaitOpts<SetupSubmission>;
2267
+ /** A deterministic latest-screen projection for Console discovery and reload. */
2268
+ declare function setupScreenView(id?: string): ViewDef<SetupScreen | null, Fact>;
2269
+
2270
+ declare const CONSTAL_API_CAPABILITY: "constal.api";
2271
+ declare const CONSTAL_API_VERSION: "1";
2272
+ declare const CONSTAL_API_OPERATIONS: readonly ["describe", "query", "get", "relations", "explainPolicy", "plan", "apply", "observe"];
2273
+ type ConstalApiRisk = "read" | "low" | "material" | "destructive" | "financial" | "secret";
2274
+ interface ConstalApiObjectRef {
2275
+ kind: string;
2276
+ id: string;
2277
+ crn: CRN | null;
2278
+ hash: Hash | null;
2279
+ namespace: string | null;
2280
+ version?: string | null;
2281
+ }
2282
+ interface ConstalApiChangePlanRequest {
2283
+ objective: string;
2284
+ operations: Array<{
2285
+ id?: string;
2286
+ operation: string;
2287
+ target?: string;
2288
+ input: unknown;
2289
+ expectedCurrentHash?: Hash | null;
2290
+ dependsOn?: string[];
2291
+ }>;
2292
+ validateOnly?: boolean;
2293
+ }
2294
+ interface ConstalApiPlannedOperation {
2295
+ id: string;
2296
+ operation: string;
2297
+ target: ConstalApiObjectRef;
2298
+ input: unknown;
2299
+ inputHash: Hash;
2300
+ expectedCurrentHash: Hash | null;
2301
+ dependsOn: string[];
2302
+ effect: EffectClass;
2303
+ recovery: Recovery;
2304
+ risk: ConstalApiRisk;
2305
+ idempotencyKey: string;
2306
+ }
2307
+ interface ConstalApiChangePlan {
2308
+ object: "constal.change-plan";
2309
+ id: string;
2310
+ hash: Hash;
2311
+ catalogRevision: Hash;
2312
+ tenant: string;
2313
+ principal: CRN;
2314
+ authorityHash: Hash;
2315
+ createdAt: number;
2316
+ expiresAt: number;
2317
+ objective: string;
2318
+ operations: ConstalApiPlannedOperation[];
2319
+ diff: Array<{
2320
+ operation: string;
2321
+ target: ConstalApiObjectRef;
2322
+ before: unknown;
2323
+ after: unknown;
2324
+ }>;
2325
+ impact: {
2326
+ resources: ConstalApiObjectRef[];
2327
+ policies: ConstalApiObjectRef[];
2328
+ bindings: ConstalApiObjectRef[];
2329
+ };
2330
+ estimatedCost: {
2331
+ currency: "USD";
2332
+ microUsd: number;
2333
+ basis: string;
2334
+ } | null;
2335
+ approvals: Array<{
2336
+ operation: string;
2337
+ reason: string;
2338
+ risk: ConstalApiRisk;
2339
+ }>;
2340
+ validation: Array<{
2341
+ id: string;
2342
+ status: "passed" | "failed" | "pending";
2343
+ detail: string;
2344
+ }>;
2345
+ rollback: {
2346
+ supported: boolean;
2347
+ operations: string[];
2348
+ reason: string | null;
2349
+ } | null;
2350
+ warnings: string[];
2351
+ }
2352
+ interface ConstalApiChangePlanRef {
2353
+ id: string;
2354
+ hash: Hash;
2355
+ }
2356
+ interface ConstalApiApplyRequest {
2357
+ plan: ConstalApiChangePlanRef;
2358
+ eventId: string;
2359
+ }
2360
+ interface ConstalApiOperationReceipt {
2361
+ operation: string;
2362
+ step: string;
2363
+ state: "pending" | "succeeded" | "failed" | "outcome-unknown" | "skipped";
2364
+ target: ConstalApiObjectRef;
2365
+ result: unknown;
2366
+ error: ConstalApiError | null;
2367
+ startedAt: number;
2368
+ completedAt: number;
2369
+ }
2370
+ interface ConstalApiChangeReceipt {
2371
+ object: "constal.change-receipt";
2372
+ id: string;
2373
+ plan: {
2374
+ id: string;
2375
+ hash: Hash;
2376
+ };
2377
+ eventId: string;
2378
+ state: "pending" | "succeeded" | "partially-succeeded" | "failed" | "cancelled" | "outcome-unknown";
2379
+ operations: ConstalApiOperationReceipt[];
2380
+ createdAt: number;
2381
+ updatedAt: number;
2382
+ }
2383
+ interface ConstalApiError {
2384
+ object: "constal.api.error";
2385
+ code: string;
2386
+ message: string;
2387
+ operation?: string;
2388
+ target?: string;
2389
+ retryable: boolean;
2390
+ requestId: string;
2391
+ evidence?: ConstalApiObjectRef[];
2392
+ details?: unknown;
2393
+ }
2394
+ /** Shared schemas pinned into the Resource catalog and Agent Tools. */
2395
+ declare const CONSTAL_API_OPERATION_SCHEMAS: {
2396
+ readonly describe: {
2397
+ readonly type: "object";
2398
+ readonly additionalProperties: false;
2399
+ readonly properties: {
2400
+ readonly domains: {
2401
+ readonly type: "array";
2402
+ readonly maxItems: 128;
2403
+ readonly items: {
2404
+ readonly type: "string";
2405
+ readonly minLength: 1;
2406
+ readonly maxLength: 256;
2407
+ };
2408
+ };
2409
+ readonly kinds: {
2410
+ readonly type: "array";
2411
+ readonly maxItems: 128;
2412
+ readonly items: {
2413
+ readonly type: "string";
2414
+ readonly minLength: 1;
2415
+ readonly maxLength: 256;
2416
+ };
2417
+ };
2418
+ readonly operations: {
2419
+ readonly type: "array";
2420
+ readonly maxItems: 128;
2421
+ readonly items: {
2422
+ readonly type: "string";
2423
+ readonly minLength: 1;
2424
+ readonly maxLength: 256;
2425
+ };
2426
+ };
2427
+ readonly include: {
2428
+ readonly type: "array";
2429
+ readonly maxItems: 5;
2430
+ readonly uniqueItems: true;
2431
+ readonly items: {
2432
+ readonly enum: readonly ["objects", "operations", "relations", "schemas", "docs"];
2433
+ };
2434
+ };
2435
+ readonly cursor: {
2436
+ readonly type: "string";
2437
+ readonly maxLength: 4096;
2438
+ };
2439
+ readonly limit: {
2440
+ readonly type: "integer";
2441
+ readonly minimum: 1;
2442
+ readonly maximum: 200;
2443
+ };
2444
+ };
2445
+ };
2446
+ readonly query: {
2447
+ readonly type: "object";
2448
+ readonly required: readonly ["kind", "scope"];
2449
+ readonly additionalProperties: false;
2450
+ readonly properties: {
2451
+ readonly kind: {
2452
+ readonly type: "string";
2453
+ readonly minLength: 1;
2454
+ readonly maxLength: 128;
2455
+ readonly pattern: "^[A-Za-z][A-Za-z0-9._-]{0,127}$";
2456
+ };
2457
+ readonly scope: {
2458
+ readonly anyOf: readonly [{
2459
+ readonly type: "object";
2460
+ readonly required: readonly ["kind", "namespace"];
2461
+ readonly additionalProperties: false;
2462
+ readonly properties: {
2463
+ readonly kind: {
2464
+ readonly const: "namespace";
2465
+ };
2466
+ readonly namespace: {
2467
+ readonly type: "string";
2468
+ readonly minLength: 1;
2469
+ readonly maxLength: 128;
2470
+ readonly pattern: "^[A-Za-z][A-Za-z0-9._-]{0,127}$";
2471
+ };
2472
+ };
2473
+ }, {
2474
+ readonly type: "object";
2475
+ readonly required: readonly ["kind"];
2476
+ readonly additionalProperties: false;
2477
+ readonly properties: {
2478
+ readonly kind: {
2479
+ readonly const: "tenant";
2480
+ };
2481
+ };
2482
+ }];
2483
+ };
2484
+ readonly filter: {
2485
+ readonly type: "object";
2486
+ };
2487
+ readonly search: {
2488
+ readonly type: "string";
2489
+ readonly maxLength: 512;
2490
+ };
2491
+ readonly order: {
2492
+ readonly type: "array";
2493
+ readonly maxItems: 8;
2494
+ readonly items: {
2495
+ readonly type: "object";
2496
+ readonly required: readonly ["field", "direction"];
2497
+ readonly additionalProperties: false;
2498
+ readonly properties: {
2499
+ readonly field: {
2500
+ readonly type: "string";
2501
+ readonly minLength: 1;
2502
+ readonly maxLength: 128;
2503
+ readonly pattern: "^[A-Za-z][A-Za-z0-9._-]{0,127}$";
2504
+ };
2505
+ readonly direction: {
2506
+ readonly enum: readonly ["ascending", "descending"];
2507
+ };
2508
+ };
2509
+ };
2510
+ };
2511
+ readonly fields: {
2512
+ readonly type: "array";
2513
+ readonly maxItems: 128;
2514
+ readonly items: {
2515
+ readonly type: "string";
2516
+ readonly minLength: 1;
2517
+ readonly maxLength: 256;
2518
+ };
2519
+ };
2520
+ readonly limit: {
2521
+ readonly type: "integer";
2522
+ readonly minimum: 1;
2523
+ readonly maximum: 200;
2524
+ };
2525
+ readonly cursor: {
2526
+ readonly type: "string";
2527
+ readonly maxLength: 4096;
2528
+ };
2529
+ readonly asOf: {
2530
+ readonly type: "integer";
2531
+ readonly minimum: 0;
2532
+ };
2533
+ readonly range: {
2534
+ readonly type: "object";
2535
+ readonly required: readonly ["start", "end"];
2536
+ readonly additionalProperties: false;
2537
+ readonly properties: {
2538
+ readonly start: {
2539
+ readonly type: "integer";
2540
+ readonly minimum: 0;
2541
+ };
2542
+ readonly end: {
2543
+ readonly type: "integer";
2544
+ readonly minimum: 0;
2545
+ };
2546
+ };
2547
+ };
2548
+ };
2549
+ };
2550
+ readonly get: {
2551
+ readonly type: "object";
2552
+ readonly required: readonly ["ref"];
2553
+ readonly additionalProperties: false;
2554
+ readonly properties: {
2555
+ readonly ref: {
2556
+ readonly anyOf: readonly [{
2557
+ readonly type: "object";
2558
+ readonly additionalProperties: false;
2559
+ readonly properties: {
2560
+ readonly kind: {
2561
+ readonly type: "string";
2562
+ readonly maxLength: 128;
2563
+ };
2564
+ readonly id: {
2565
+ readonly type: "string";
2566
+ readonly maxLength: 512;
2567
+ };
2568
+ readonly crn: {
2569
+ readonly type: readonly ["string", "null"];
2570
+ readonly maxLength: 2048;
2571
+ };
2572
+ readonly hash: {
2573
+ readonly anyOf: readonly [{
2574
+ readonly type: "null";
2575
+ }, {
2576
+ readonly type: "string";
2577
+ readonly pattern: "^[a-f0-9]{64}$";
2578
+ }];
2579
+ };
2580
+ readonly namespace: {
2581
+ readonly type: readonly ["string", "null"];
2582
+ readonly maxLength: 128;
2583
+ };
2584
+ readonly version: {
2585
+ readonly type: readonly ["string", "null"];
2586
+ readonly maxLength: 128;
2587
+ };
2588
+ };
2589
+ }, {
2590
+ readonly type: "object";
2591
+ readonly required: readonly ["crn"];
2592
+ readonly additionalProperties: false;
2593
+ readonly properties: {
2594
+ readonly crn: {
2595
+ readonly type: "string";
2596
+ readonly minLength: 1;
2597
+ readonly maxLength: 2048;
2598
+ };
2599
+ readonly hash: {
2600
+ readonly type: "string";
2601
+ readonly pattern: "^[a-f0-9]{64}$";
2602
+ };
2603
+ };
2604
+ }];
2605
+ };
2606
+ readonly fields: {
2607
+ readonly type: "array";
2608
+ readonly maxItems: 128;
2609
+ readonly items: {
2610
+ readonly type: "string";
2611
+ readonly minLength: 1;
2612
+ readonly maxLength: 256;
2613
+ };
2614
+ };
2615
+ readonly page: {
2616
+ readonly type: "object";
2617
+ readonly additionalProperties: false;
2618
+ readonly properties: {
2619
+ readonly cursor: {
2620
+ readonly type: "string";
2621
+ readonly maxLength: 4096;
2622
+ };
2623
+ readonly limit: {
2624
+ readonly type: "integer";
2625
+ readonly minimum: 1;
2626
+ readonly maximum: 500;
2627
+ };
2628
+ };
2629
+ };
2630
+ };
2631
+ };
2632
+ readonly relations: {
2633
+ readonly type: "object";
2634
+ readonly required: readonly ["start"];
2635
+ readonly additionalProperties: false;
2636
+ readonly properties: {
2637
+ readonly start: {
2638
+ readonly anyOf: readonly [{
2639
+ readonly type: "object";
2640
+ readonly additionalProperties: false;
2641
+ readonly properties: {
2642
+ readonly kind: {
2643
+ readonly type: "string";
2644
+ readonly maxLength: 128;
2645
+ };
2646
+ readonly id: {
2647
+ readonly type: "string";
2648
+ readonly maxLength: 512;
2649
+ };
2650
+ readonly crn: {
2651
+ readonly type: readonly ["string", "null"];
2652
+ readonly maxLength: 2048;
2653
+ };
2654
+ readonly hash: {
2655
+ readonly anyOf: readonly [{
2656
+ readonly type: "null";
2657
+ }, {
2658
+ readonly type: "string";
2659
+ readonly pattern: "^[a-f0-9]{64}$";
2660
+ }];
2661
+ };
2662
+ readonly namespace: {
2663
+ readonly type: readonly ["string", "null"];
2664
+ readonly maxLength: 128;
2665
+ };
2666
+ readonly version: {
2667
+ readonly type: readonly ["string", "null"];
2668
+ readonly maxLength: 128;
2669
+ };
2670
+ };
2671
+ }, {
2672
+ readonly type: "object";
2673
+ readonly required: readonly ["crn"];
2674
+ readonly additionalProperties: false;
2675
+ readonly properties: {
2676
+ readonly crn: {
2677
+ readonly type: "string";
2678
+ readonly minLength: 1;
2679
+ readonly maxLength: 2048;
2680
+ };
2681
+ readonly hash: {
2682
+ readonly type: "string";
2683
+ readonly pattern: "^[a-f0-9]{64}$";
2684
+ };
2685
+ };
2686
+ }];
2687
+ };
2688
+ readonly direction: {
2689
+ readonly enum: readonly ["outgoing", "incoming", "both"];
2690
+ };
2691
+ readonly types: {
2692
+ readonly type: "array";
2693
+ readonly maxItems: 128;
2694
+ readonly items: {
2695
+ readonly type: "string";
2696
+ readonly minLength: 1;
2697
+ readonly maxLength: 256;
2698
+ };
2699
+ };
2700
+ readonly depth: {
2701
+ readonly type: "integer";
2702
+ readonly minimum: 1;
2703
+ readonly maximum: 3;
2704
+ };
2705
+ readonly limit: {
2706
+ readonly type: "integer";
2707
+ readonly minimum: 1;
2708
+ readonly maximum: 200;
2709
+ };
2710
+ readonly cursor: {
2711
+ readonly type: "string";
2712
+ readonly maxLength: 4096;
2713
+ };
2714
+ };
2715
+ };
2716
+ readonly explainPolicy: {
2717
+ readonly type: "object";
2718
+ readonly required: readonly ["action", "resource"];
2719
+ readonly additionalProperties: false;
2720
+ readonly properties: {
2721
+ readonly principal: {
2722
+ readonly anyOf: readonly [{
2723
+ readonly type: "string";
2724
+ readonly maxLength: 2048;
2725
+ }, {
2726
+ readonly type: "object";
2727
+ readonly required: readonly ["roles", "scopes"];
2728
+ readonly additionalProperties: false;
2729
+ readonly properties: {
2730
+ readonly name: {
2731
+ readonly type: "string";
2732
+ readonly maxLength: 2048;
2733
+ };
2734
+ readonly roles: {
2735
+ readonly type: "array";
2736
+ readonly maxItems: 64;
2737
+ readonly uniqueItems: true;
2738
+ readonly items: {
2739
+ readonly type: "string";
2740
+ readonly minLength: 1;
2741
+ readonly maxLength: 2048;
2742
+ };
2743
+ };
2744
+ readonly scopes: {
2745
+ readonly type: "array";
2746
+ readonly maxItems: 256;
2747
+ readonly uniqueItems: true;
2748
+ readonly items: {
2749
+ readonly type: "string";
2750
+ readonly pattern: "^(?:\\*|[a-z][a-z0-9-]{0,63}:(?:[a-z][a-z0-9-]{0,63}|\\*))$";
2751
+ };
2752
+ };
2753
+ };
2754
+ }];
2755
+ };
2756
+ readonly action: {
2757
+ readonly type: "string";
2758
+ readonly pattern: string;
2759
+ };
2760
+ readonly resource: {
2761
+ readonly type: "string";
2762
+ readonly minLength: 1;
2763
+ readonly maxLength: 2048;
2764
+ };
2765
+ readonly context: {
2766
+ readonly type: "object";
2767
+ };
2768
+ readonly arguments: {};
2769
+ readonly at: {
2770
+ readonly type: "object";
2771
+ readonly required: readonly ["run"];
2772
+ readonly additionalProperties: false;
2773
+ readonly properties: {
2774
+ readonly run: {
2775
+ readonly type: "object";
2776
+ readonly required: readonly ["namespace", "agent", "session", "run"];
2777
+ readonly additionalProperties: false;
2778
+ readonly properties: {
2779
+ readonly namespace: {
2780
+ readonly type: "string";
2781
+ readonly minLength: 1;
2782
+ readonly maxLength: 128;
2783
+ readonly pattern: "^[A-Za-z][A-Za-z0-9._-]{0,127}$";
2784
+ };
2785
+ readonly agent: {
2786
+ readonly type: "string";
2787
+ readonly minLength: 1;
2788
+ readonly maxLength: 63;
2789
+ readonly pattern: "^[a-z0-9][a-z0-9-]{0,62}$";
2790
+ };
2791
+ readonly session: {
2792
+ readonly type: "string";
2793
+ readonly minLength: 1;
2794
+ readonly maxLength: 256;
2795
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~:-]{0,255}$";
2796
+ };
2797
+ readonly run: {
2798
+ readonly type: "string";
2799
+ readonly minLength: 1;
2800
+ readonly maxLength: 256;
2801
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~:-]{0,255}$";
2802
+ };
2803
+ };
2804
+ };
2805
+ };
2806
+ };
2807
+ };
2808
+ };
2809
+ readonly plan: {
2810
+ readonly type: "object";
2811
+ readonly required: readonly ["objective", "operations"];
2812
+ readonly additionalProperties: false;
2813
+ readonly properties: {
2814
+ readonly objective: {
2815
+ readonly type: "string";
2816
+ readonly minLength: 1;
2817
+ readonly maxLength: 8192;
2818
+ };
2819
+ readonly validateOnly: {
2820
+ readonly type: "boolean";
2821
+ };
2822
+ readonly operations: {
2823
+ readonly type: "array";
2824
+ readonly minItems: 1;
2825
+ readonly maxItems: 64;
2826
+ readonly items: {
2827
+ readonly type: "object";
2828
+ readonly required: readonly ["operation", "input"];
2829
+ readonly additionalProperties: false;
2830
+ readonly properties: {
2831
+ readonly id: {
2832
+ readonly type: "string";
2833
+ readonly minLength: 1;
2834
+ readonly maxLength: 256;
2835
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~:-]{0,255}$";
2836
+ };
2837
+ readonly operation: {
2838
+ readonly type: "string";
2839
+ readonly minLength: 1;
2840
+ readonly maxLength: 128;
2841
+ readonly pattern: "^[A-Za-z][A-Za-z0-9._-]{0,127}$";
2842
+ };
2843
+ readonly target: {
2844
+ readonly type: "string";
2845
+ readonly maxLength: 2048;
2846
+ };
2847
+ readonly input: {};
2848
+ readonly expectedCurrentHash: {
2849
+ readonly anyOf: readonly [{
2850
+ readonly type: "null";
2851
+ }, {
2852
+ readonly type: "string";
2853
+ readonly pattern: "^[a-f0-9]{64}$";
2854
+ }];
2855
+ };
2856
+ readonly dependsOn: {
2857
+ readonly type: "array";
2858
+ readonly maxItems: 64;
2859
+ readonly items: {
2860
+ readonly type: "string";
2861
+ readonly minLength: 1;
2862
+ readonly maxLength: 256;
2863
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~:-]{0,255}$";
2864
+ };
2865
+ };
2866
+ };
2867
+ };
2868
+ };
2869
+ };
2870
+ };
2871
+ readonly apply: {
2872
+ readonly type: "object";
2873
+ readonly required: readonly ["plan", "eventId"];
2874
+ readonly additionalProperties: false;
2875
+ readonly properties: {
2876
+ readonly plan: {
2877
+ readonly type: "object";
2878
+ readonly required: readonly ["id", "hash"];
2879
+ readonly additionalProperties: false;
2880
+ readonly properties: {
2881
+ readonly id: {
2882
+ readonly type: "string";
2883
+ readonly minLength: 1;
2884
+ readonly maxLength: 256;
2885
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~:-]{0,255}$";
2886
+ };
2887
+ readonly hash: {
2888
+ readonly type: "string";
2889
+ readonly pattern: "^[a-f0-9]{64}$";
2890
+ };
2891
+ };
2892
+ };
2893
+ readonly eventId: {
2894
+ readonly type: "string";
2895
+ readonly minLength: 1;
2896
+ readonly maxLength: 256;
2897
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~:-]{0,255}$";
2898
+ };
2899
+ };
2900
+ };
2901
+ readonly observe: {
2902
+ readonly type: "object";
2903
+ readonly required: readonly ["id"];
2904
+ readonly additionalProperties: false;
2905
+ readonly properties: {
2906
+ readonly id: {
2907
+ readonly type: "string";
2908
+ readonly minLength: 1;
2909
+ readonly maxLength: 256;
2910
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~:-]{0,255}$";
2911
+ };
2912
+ };
2913
+ };
2914
+ };
2915
+
2140
2916
  interface PolicyDefinition {
2141
2917
  id: string;
2142
2918
  version: string;
@@ -2254,6 +3030,27 @@ declare const WEB_SEARCH_ARGUMENT_SCHEMA: {
2254
3030
  readonly pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$";
2255
3031
  readonly description: "Optional earliest publication date in YYYY-MM-DD form.";
2256
3032
  };
3033
+ readonly searchDepth: {
3034
+ readonly type: "string";
3035
+ readonly enum: readonly ["basic", "advanced"];
3036
+ readonly description: "Provider search depth when supported.";
3037
+ };
3038
+ readonly includeAnswer: {
3039
+ readonly type: "boolean";
3040
+ readonly description: "Request a provider-synthesized answer when supported.";
3041
+ };
3042
+ readonly includeRawContent: {
3043
+ readonly type: "boolean";
3044
+ readonly description: "Include bounded raw source content when supported.";
3045
+ };
3046
+ readonly includeImages: {
3047
+ readonly type: "boolean";
3048
+ readonly description: "Include relevant image results when supported.";
3049
+ };
3050
+ readonly includeImageDescriptions: {
3051
+ readonly type: "boolean";
3052
+ readonly description: "Include image descriptions when supported.";
3053
+ };
2257
3054
  };
2258
3055
  };
2259
3056
  declare const webFetch: CatalogTool;
@@ -2342,10 +3139,14 @@ interface MemoryRememberArgs {
2342
3139
  id?: string;
2343
3140
  content: string;
2344
3141
  metadata?: Record<string, unknown>;
3142
+ /** Optional host-derived subpartition within the already authenticated Memory owner partition. */
3143
+ scope?: string;
2345
3144
  }
2346
3145
  interface MemorySearchArgs {
2347
3146
  query: string;
2348
3147
  limit?: number;
3148
+ /** Must match the host-derived scope used while remembering records. */
3149
+ scope?: string;
2349
3150
  }
2350
3151
  interface MemoryGetArgs {
2351
3152
  id: string;
@@ -2551,6 +3352,7 @@ declare function credentialProviderSetupMetadata(value: unknown, slots: string[]
2551
3352
  declare function credentialProvider<C>(definition: CredentialProviderDefinition<C>): CredentialProviderPackage<C>;
2552
3353
 
2553
3354
  type ModelGatewayProtocol = "anthropic" | "openai";
3355
+ type RawModelProtocol = ModelGatewayProtocol | "bedrock";
2554
3356
  interface ModelTool {
2555
3357
  name: string;
2556
3358
  version?: string;
@@ -2564,10 +3366,17 @@ interface ModelInvocationArgs {
2564
3366
  objective?: unknown;
2565
3367
  context?: unknown;
2566
3368
  tools?: ModelTool[];
3369
+ /** Constrain whether an offered Tool must be selected for this generation. */
3370
+ toolChoice?: "auto" | "required";
2567
3371
  feedback?: string[];
2568
3372
  maxOutputTokens?: number;
2569
3373
  temperature?: number;
2570
3374
  stream?: boolean;
3375
+ /** Host-adapter escape hatch for a qualified upstream SDK wire request. Credentials and the selected model remain platform-owned. */
3376
+ rawProtocol?: {
3377
+ protocol: RawModelProtocol;
3378
+ request: Record<string, unknown>;
3379
+ };
2571
3380
  }
2572
3381
  interface ModelCredentialHeader {
2573
3382
  slot: string;
@@ -2784,5 +3593,5 @@ declare class SessionDeleted extends Error {
2784
3593
  constructor(session: string);
2785
3594
  }
2786
3595
 
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 };
3596
+ 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 };
3597
+ 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 };