@runtypelabs/sdk 11.3.1 → 11.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1475,6 +1475,10 @@ var FlowBuilder = class {
1475
1475
  memorySummary(config) {
1476
1476
  return this.addRawStep("memory-summary", config);
1477
1477
  }
1478
+ /** Add an extract step: typed fields read out of text and images by an extraction model. */
1479
+ extract(config) {
1480
+ return this.addRawStep("extract", config);
1481
+ }
1478
1482
  /**
1479
1483
  * Attach a subagent runtime tool to the most recent prompt step.
1480
1484
  *
@@ -10639,6 +10643,10 @@ var RuntypeFlowBuilder = class {
10639
10643
  memorySummary(config) {
10640
10644
  return this.addRawStep("memory-summary", config);
10641
10645
  }
10646
+ /** Add an extract step: typed fields read out of text and images by an extraction model. */
10647
+ extract(config) {
10648
+ return this.addRawStep("extract", config);
10649
+ }
10642
10650
  /**
10643
10651
  * Set a run condition (when predicate) on the last added step.
10644
10652
  * If the expression evaluates to falsy at runtime, the step is skipped.
@@ -14610,7 +14618,7 @@ function transformQueryParams(params) {
14610
14618
  }
14611
14619
  //#endregion
14612
14620
  //#region src/version.ts
14613
- const SDK_VERSION = "11.3.1";
14621
+ const SDK_VERSION = "11.4.0";
14614
14622
  /**
14615
14623
  * Canonical client identity the API uses for attribution
14616
14624
  * (`detectActorSource` in apps/api/src/lib/audit-log.ts keys `'sdk'` off the
@@ -14650,6 +14658,10 @@ var RuntypeClient = class {
14650
14658
  async listDecisionModels() {
14651
14659
  return this.get("/decision-models");
14652
14660
  }
14661
+ /** List supported extraction models; spending policy is checked at execution. */
14662
+ async listExtractionModels() {
14663
+ return this.get("/extraction-models");
14664
+ }
14653
14665
  constructor(config = {}) {
14654
14666
  const baseUrl = config.baseUrl || "https://api.runtype.com";
14655
14667
  this.apiVersion = config.apiVersion || "v1";
@@ -16788,6 +16800,45 @@ const STEP_FIELD_REGISTRY = {
16788
16800
  key: "defaultValue",
16789
16801
  format: "value"
16790
16802
  }
16803
+ ],
16804
+ extract: [
16805
+ {
16806
+ key: "model",
16807
+ format: "json"
16808
+ },
16809
+ {
16810
+ key: "state",
16811
+ format: "template"
16812
+ },
16813
+ {
16814
+ key: "images",
16815
+ format: "value"
16816
+ },
16817
+ {
16818
+ key: "fields",
16819
+ format: "value"
16820
+ },
16821
+ {
16822
+ key: "referenceDate",
16823
+ format: "json"
16824
+ },
16825
+ {
16826
+ key: "options",
16827
+ format: "value"
16828
+ },
16829
+ {
16830
+ key: "outputVariable",
16831
+ format: "json"
16832
+ },
16833
+ {
16834
+ key: "errorHandling",
16835
+ format: "value",
16836
+ skipDefault: "fail"
16837
+ },
16838
+ {
16839
+ key: "defaultValue",
16840
+ format: "value"
16841
+ }
16791
16842
  ]
16792
16843
  };
16793
16844
  /**
@@ -16825,7 +16876,8 @@ const STEP_TYPE_TO_METHOD = {
16825
16876
  "generate-pdf": "generatePdf",
16826
16877
  "save-memory": "saveMemory",
16827
16878
  "recall-memory": "recallMemory",
16828
- "memory-summary": "memorySummary"
16879
+ "memory-summary": "memorySummary",
16880
+ extract: "extract"
16829
16881
  };
16830
16882
  //#endregion
16831
16883
  exports.AgentAliasDependencyError = AgentAliasDependencyError;
package/dist/index.d.cts CHANGED
@@ -21537,6 +21537,26 @@ interface paths {
21537
21537
  patch?: never;
21538
21538
  trace?: never;
21539
21539
  };
21540
+ "/v1/extraction-models": {
21541
+ parameters: {
21542
+ query?: never;
21543
+ header?: never;
21544
+ path?: never;
21545
+ cookie?: never;
21546
+ };
21547
+ /**
21548
+ * List extraction models
21549
+ * @description List supported extraction models, their native routes, field and image limits, pricing and credential requirements. An extraction model reads typed field values out of text and images with no generated tokens; it runs the `extract` flow step. This static catalog does not verify account eligibility or spending readiness; execution performs those checks. These models are not chat models.
21550
+ */
21551
+ get: operations["listExtractionModels"];
21552
+ put?: never;
21553
+ post?: never;
21554
+ delete?: never;
21555
+ options?: never;
21556
+ head?: never;
21557
+ patch?: never;
21558
+ trace?: never;
21559
+ };
21540
21560
  "/v1/feedback": {
21541
21561
  parameters: {
21542
21562
  query?: never;
@@ -22678,7 +22698,7 @@ interface paths {
22678
22698
  name: string;
22679
22699
  order?: number;
22680
22700
  /** @enum {string} */
22681
- type: "prompt" | "crawl" | "fetch-url" | "retrieve-record" | "get-record" | "list-records" | "api-call" | "transform-data" | "template" | "conditional" | "loop" | "set-variable" | "upsert-record" | "send-email" | "send-event" | "send-stream" | "update-record" | "search" | "generate-embedding" | "vector-search" | "tool-call" | "wait-until" | "paginate-api" | "store-vector" | "execute-agent" | "store-asset" | "generate-pdf" | "save-memory" | "recall-memory" | "memory-summary";
22701
+ type: "prompt" | "crawl" | "fetch-url" | "retrieve-record" | "get-record" | "list-records" | "api-call" | "transform-data" | "template" | "conditional" | "loop" | "set-variable" | "upsert-record" | "send-email" | "send-event" | "send-stream" | "update-record" | "search" | "generate-embedding" | "vector-search" | "tool-call" | "wait-until" | "paginate-api" | "store-vector" | "execute-agent" | "store-asset" | "generate-pdf" | "save-memory" | "recall-memory" | "memory-summary" | "extract";
22682
22702
  when?: string;
22683
22703
  }[];
22684
22704
  name: string;
@@ -22690,7 +22710,7 @@ interface paths {
22690
22710
  name: string;
22691
22711
  order?: number;
22692
22712
  /** @enum {string} */
22693
- type: "prompt" | "crawl" | "fetch-url" | "retrieve-record" | "get-record" | "list-records" | "api-call" | "transform-data" | "template" | "conditional" | "loop" | "set-variable" | "upsert-record" | "send-email" | "send-event" | "send-stream" | "update-record" | "search" | "generate-embedding" | "vector-search" | "tool-call" | "wait-until" | "paginate-api" | "store-vector" | "execute-agent" | "store-asset" | "generate-pdf" | "save-memory" | "recall-memory" | "memory-summary";
22713
+ type: "prompt" | "crawl" | "fetch-url" | "retrieve-record" | "get-record" | "list-records" | "api-call" | "transform-data" | "template" | "conditional" | "loop" | "set-variable" | "upsert-record" | "send-email" | "send-event" | "send-stream" | "update-record" | "search" | "generate-embedding" | "vector-search" | "tool-call" | "wait-until" | "paginate-api" | "store-vector" | "execute-agent" | "store-asset" | "generate-pdf" | "save-memory" | "recall-memory" | "memory-summary" | "extract";
22694
22714
  when?: string;
22695
22715
  }[];
22696
22716
  };
@@ -23095,7 +23115,7 @@ interface paths {
23095
23115
  name: string;
23096
23116
  order?: number;
23097
23117
  /** @enum {string} */
23098
- type: "prompt" | "crawl" | "fetch-url" | "retrieve-record" | "get-record" | "list-records" | "api-call" | "transform-data" | "template" | "conditional" | "loop" | "set-variable" | "upsert-record" | "send-email" | "send-event" | "send-stream" | "update-record" | "search" | "generate-embedding" | "vector-search" | "tool-call" | "wait-until" | "paginate-api" | "store-vector" | "execute-agent" | "store-asset" | "generate-pdf" | "save-memory" | "recall-memory" | "memory-summary";
23118
+ type: "prompt" | "crawl" | "fetch-url" | "retrieve-record" | "get-record" | "list-records" | "api-call" | "transform-data" | "template" | "conditional" | "loop" | "set-variable" | "upsert-record" | "send-email" | "send-event" | "send-stream" | "update-record" | "search" | "generate-embedding" | "vector-search" | "tool-call" | "wait-until" | "paginate-api" | "store-vector" | "execute-agent" | "store-asset" | "generate-pdf" | "save-memory" | "recall-memory" | "memory-summary" | "extract";
23099
23119
  when?: string;
23100
23120
  }[];
23101
23121
  name?: string;
@@ -46289,6 +46309,124 @@ interface paths {
46289
46309
  patch?: never;
46290
46310
  trace?: never;
46291
46311
  };
46312
+ "/v1/runtime/extractions": {
46313
+ parameters: {
46314
+ query?: never;
46315
+ header?: never;
46316
+ path?: never;
46317
+ cookie?: never;
46318
+ };
46319
+ get?: never;
46320
+ put?: never;
46321
+ /**
46322
+ * Extract typed fields (hosted ExtractionProvider)
46323
+ * @description The runtime-family extraction contract consumed by `@runtypelabs/runtime`’s HostedExtractionProvider, so a self-hosted runtime on platform or hybrid keys runs the `extract` step through Runtype with a Self-hosted Runtime key (`RUNTIME:EXECUTE`). Billed and recorded like an extract flow step. Requires an Enterprise plan: ineligible accounts receive 403 (code `BYOC_PLAN_REQUIRED`).
46324
+ */
46325
+ post: {
46326
+ parameters: {
46327
+ query?: never;
46328
+ header?: never;
46329
+ path?: never;
46330
+ cookie?: never;
46331
+ };
46332
+ requestBody?: {
46333
+ content: {
46334
+ "application/json": components["schemas"]["RuntimeExtractionRequest"];
46335
+ };
46336
+ };
46337
+ responses: {
46338
+ /** @description The values, answers and extraction metadata */
46339
+ 200: {
46340
+ headers: {
46341
+ [name: string]: unknown;
46342
+ };
46343
+ content: {
46344
+ "application/json": components["schemas"]["RuntimeExtractionResponse"];
46345
+ };
46346
+ };
46347
+ /** @description Invalid state, fields or images (see `code`) */
46348
+ 400: {
46349
+ headers: {
46350
+ [name: string]: unknown;
46351
+ };
46352
+ content: {
46353
+ "application/json": components["schemas"]["Error"] & {
46354
+ /** @description Stable code for a caller-fixable failure, e.g. EXTRACTION_FIELDS_INVALID or EXTRACTION_MODEL_UNKNOWN. */
46355
+ code?: string;
46356
+ details?: {
46357
+ [key: string]: unknown;
46358
+ };
46359
+ };
46360
+ };
46361
+ };
46362
+ /** @description Unauthorized */
46363
+ 401: {
46364
+ headers: {
46365
+ [name: string]: unknown;
46366
+ };
46367
+ content: {
46368
+ "application/json": components["schemas"]["Error"];
46369
+ };
46370
+ };
46371
+ /** @description Monthly spend limit exceeded */
46372
+ 402: {
46373
+ headers: {
46374
+ [name: string]: unknown;
46375
+ };
46376
+ content: {
46377
+ "application/json": components["schemas"]["Error"];
46378
+ };
46379
+ };
46380
+ /** @description Not an API key, the key lacks an execute permission, or the account is not on an Enterprise plan (code `BYOC_PLAN_REQUIRED`) */
46381
+ 403: {
46382
+ headers: {
46383
+ [name: string]: unknown;
46384
+ };
46385
+ content: {
46386
+ "application/json": components["schemas"]["Error"];
46387
+ };
46388
+ };
46389
+ /** @description The extraction model is not served or cannot be funded (see `code`) */
46390
+ 422: {
46391
+ headers: {
46392
+ [name: string]: unknown;
46393
+ };
46394
+ content: {
46395
+ "application/json": components["schemas"]["Error"] & {
46396
+ /** @description Stable code for a caller-fixable failure, e.g. EXTRACTION_FIELDS_INVALID or EXTRACTION_MODEL_UNKNOWN. */
46397
+ code?: string;
46398
+ details?: {
46399
+ [key: string]: unknown;
46400
+ };
46401
+ };
46402
+ };
46403
+ };
46404
+ /** @description Daily execution limit or rate limit exceeded */
46405
+ 429: {
46406
+ headers: {
46407
+ [name: string]: unknown;
46408
+ };
46409
+ content: {
46410
+ "application/json": components["schemas"]["Error"];
46411
+ };
46412
+ };
46413
+ /** @description Extraction failed */
46414
+ 500: {
46415
+ headers: {
46416
+ [name: string]: unknown;
46417
+ };
46418
+ content: {
46419
+ "application/json": components["schemas"]["Error"];
46420
+ };
46421
+ };
46422
+ };
46423
+ };
46424
+ delete?: never;
46425
+ options?: never;
46426
+ head?: never;
46427
+ patch?: never;
46428
+ trace?: never;
46429
+ };
46292
46430
  "/v1/runtime/judgments": {
46293
46431
  parameters: {
46294
46432
  query?: never;
@@ -60906,6 +61044,35 @@ interface components {
60906
61044
  /** @enum {number} */
60907
61045
  version: 1;
60908
61046
  } | null;
61047
+ ExtractionModel: {
61048
+ contextWindow: number;
61049
+ credentialRequirements: {
61050
+ organizationCredentialSupported: boolean;
61051
+ platformFundingSupported: boolean;
61052
+ /** @enum {string} */
61053
+ provider: "platform";
61054
+ };
61055
+ description: string;
61056
+ docsUrl: string;
61057
+ id: string;
61058
+ maxImageBytes: number;
61059
+ maxImages: number;
61060
+ maxTotalImageBytes: number;
61061
+ name: string;
61062
+ passTokens: number;
61063
+ platformFunding: boolean;
61064
+ pricing: {
61065
+ inputPer1MTokens: number;
61066
+ inputPerToken: string;
61067
+ outputPer1MTokens: number;
61068
+ outputPerToken: string;
61069
+ };
61070
+ /** @enum {string} */
61071
+ provider: "cloudflare";
61072
+ providerModelId: string;
61073
+ /** @enum {string} */
61074
+ route: "cloudflare-workers-ai";
61075
+ };
60909
61076
  FlowEnsureConflict: {
60910
61077
  /** @enum {string} */
60911
61078
  code: "external_modification" | "remote_changed";
@@ -62004,6 +62171,59 @@ interface components {
62004
62171
  /** @description Skill slug; the agent loads it as `skill:<slug>`. */
62005
62172
  slug: string;
62006
62173
  };
62174
+ RuntimeExtractionMetadata: {
62175
+ /** @description Provider rates, before margin. */
62176
+ estimatedCostUsd?: number;
62177
+ /** @enum {string} */
62178
+ keySource: "user" | "platform";
62179
+ provider: string;
62180
+ requestedModel: string;
62181
+ resolvedModelId: string | null;
62182
+ route: string;
62183
+ usage: {
62184
+ inputTokens: number;
62185
+ outputTokens: number;
62186
+ passes?: number;
62187
+ reported: boolean;
62188
+ };
62189
+ };
62190
+ RuntimeExtractionRequest: {
62191
+ /** @description The self-hosted execution asking, recorded on the extraction telemetry. */
62192
+ executionId?: string;
62193
+ /** @description Field name to field spec, each `{ type: "text" | "number" | "date" | "time" | "datetime" | "duration" | "list" | "estimate" | "forecast", instructions?, ... }`. Refused with `EXTRACTION_FIELDS_INVALID` and one sentence per problem. */
62194
+ fields: {
62195
+ [key: string]: unknown;
62196
+ };
62197
+ /** @description Up to the model limit of embedded images: data: URLs or `{ contentType, base64 }`. Remote URLs are refused. */
62198
+ images?: unknown[];
62199
+ /** @description Extraction model id; defaults to the platform default. */
62200
+ model?: string;
62201
+ options?: {
62202
+ includeQuantiles?: boolean;
62203
+ returnStateText?: boolean;
62204
+ };
62205
+ /** @description ISO date anchoring dates written without a year. */
62206
+ referenceDate?: string;
62207
+ /** @description The text to read. Never echoed in errors or logs. */
62208
+ state: string;
62209
+ stepId?: string;
62210
+ };
62211
+ RuntimeExtractionResponse: {
62212
+ /** @description One answer per field: value, confidence, pNull, span(s) and estimate intervals. */
62213
+ answers: {
62214
+ [key: string]: unknown;
62215
+ };
62216
+ extraction: components["schemas"]["RuntimeExtractionMetadata"];
62217
+ model: string;
62218
+ truncated: boolean;
62219
+ usage: {
62220
+ [key: string]: unknown;
62221
+ };
62222
+ /** @description One value per field; null when the input does not determine it. */
62223
+ values: {
62224
+ [key: string]: unknown;
62225
+ };
62226
+ };
62007
62227
  RuntimeHostDependency: {
62008
62228
  interface: string;
62009
62229
  /** @enum {string} */
@@ -62725,6 +62945,37 @@ interface operations {
62725
62945
  };
62726
62946
  };
62727
62947
  };
62948
+ listExtractionModels: {
62949
+ parameters: {
62950
+ query?: never;
62951
+ header?: never;
62952
+ path?: never;
62953
+ cookie?: never;
62954
+ };
62955
+ requestBody?: never;
62956
+ responses: {
62957
+ /** @description Supported extraction model catalog. */
62958
+ 200: {
62959
+ headers: {
62960
+ [name: string]: unknown;
62961
+ };
62962
+ content: {
62963
+ "application/json": {
62964
+ models: components["schemas"]["ExtractionModel"][];
62965
+ };
62966
+ };
62967
+ };
62968
+ /** @description Unauthorized */
62969
+ 401: {
62970
+ headers: {
62971
+ [name: string]: unknown;
62972
+ };
62973
+ content: {
62974
+ "application/json": components["schemas"]["Error"];
62975
+ };
62976
+ };
62977
+ };
62978
+ };
62728
62979
  getOtlpIngestHealth: {
62729
62980
  parameters: {
62730
62981
  query?: {
@@ -64523,6 +64774,8 @@ export declare class FlowBuilder {
64523
64774
  recallMemory(config: RawStepMethodConfig$1): this;
64524
64775
  /** Add a memory-summary step. */
64525
64776
  memorySummary(config: RawStepMethodConfig$1): this;
64777
+ /** Add an extract step: typed fields read out of text and images by an extraction model. */
64778
+ extract(config: RawStepMethodConfig$1): this;
64526
64779
  /**
64527
64780
  * Attach a subagent runtime tool to the most recent prompt step.
64528
64781
  *
@@ -71393,6 +71646,8 @@ export declare class RuntypeFlowBuilder {
71393
71646
  recallMemory(config: RawStepMethodConfig): this;
71394
71647
  /** Add a memory-summary step. */
71395
71648
  memorySummary(config: RawStepMethodConfig): this;
71649
+ /** Add an extract step: typed fields read out of text and images by an extraction model. */
71650
+ extract(config: RawStepMethodConfig): this;
71396
71651
  /**
71397
71652
  * Set a run condition (when predicate) on the last added step.
71398
71653
  * If the expression evaluates to falsy at runtime, the step is skipped.
@@ -75116,6 +75371,49 @@ interface DecisionModelCatalog {
75116
75371
  models: DecisionModelCatalogEntry[];
75117
75372
  }
75118
75373
  //#endregion
75374
+ //#region ../shared/dist/index-DxcjM9ZR.d.ts
75375
+ //#endregion
75376
+ //#region src/extraction/models.d.ts
75377
+ type ExtractionModelProvider = 'cloudflare';
75378
+ type ExtractionModelRoute = 'cloudflare-workers-ai';
75379
+ interface ExtractionModelPricing {
75380
+ readonly inputPerToken: string;
75381
+ readonly outputPerToken: string;
75382
+ readonly inputPer1MTokens: number;
75383
+ readonly outputPer1MTokens: number;
75384
+ }
75385
+ /** Limits describe what Runtype sends, not every capability of the upstream model. */
75386
+ interface ExtractionModelDescriptor {
75387
+ readonly id: string;
75388
+ readonly name: string;
75389
+ readonly provider: ExtractionModelProvider;
75390
+ readonly route: ExtractionModelRoute;
75391
+ readonly providerModelId: string;
75392
+ readonly description: string;
75393
+ readonly contextWindow: number;
75394
+ /** Tokens one pass holds; fields beyond it are split across parallel passes server-side. */
75395
+ readonly passTokens: number;
75396
+ readonly maxImages: number;
75397
+ readonly maxImageBytes: number;
75398
+ readonly maxTotalImageBytes: number;
75399
+ readonly pricing: ExtractionModelPricing;
75400
+ readonly platformFunding: boolean;
75401
+ readonly docsUrl: string;
75402
+ }
75403
+ //#endregion
75404
+ //#region src/extraction-models.d.ts
75405
+ /** Supported model capabilities, not the calling organization's spending readiness. */
75406
+ type ExtractionModelCatalogEntry = ExtractionModelDescriptor & {
75407
+ credentialRequirements: {
75408
+ provider: 'platform';
75409
+ organizationCredentialSupported: boolean;
75410
+ platformFundingSupported: boolean;
75411
+ };
75412
+ };
75413
+ interface ExtractionModelCatalog {
75414
+ models: ExtractionModelCatalogEntry[];
75415
+ }
75416
+ //#endregion
75119
75417
  //#region src/simulation-tool-memory-types.d.ts
75120
75418
  /** How one tool call was answered: the rung of the response ladder that served it. */
75121
75419
  type SimulationServedBy = 'live' | 'recorded' | 'transformed' | 'composite' | 'synthesized' | 'stub' | 'fault';
@@ -75631,6 +75929,8 @@ type ConditionalGetResult<T> = {
75631
75929
  export declare class RuntypeClient implements ApiClient {
75632
75930
  /** List supported decision models; credentials and spending policy are checked at execution. */
75633
75931
  listDecisionModels(): Promise<DecisionModelCatalog>;
75932
+ /** List supported extraction models; spending policy is checked at execution. */
75933
+ listExtractionModels(): Promise<ExtractionModelCatalog>;
75634
75934
  private baseUrl;
75635
75935
  private apiVersion;
75636
75936
  private timeout;
@@ -76854,6 +77154,7 @@ export declare const STEP_FIELD_REGISTRY: {
76854
77154
  readonly 'save-memory': readonly StepFieldMeta[];
76855
77155
  readonly 'recall-memory': readonly StepFieldMeta[];
76856
77156
  readonly 'memory-summary': readonly StepFieldMeta[];
77157
+ readonly extract: readonly StepFieldMeta[];
76857
77158
  };
76858
77159
  /**
76859
77160
  * Maps every step type to its FlowBuilder method name. Covers all known step
@@ -76891,6 +77192,7 @@ export declare const STEP_TYPE_TO_METHOD: {
76891
77192
  readonly 'save-memory': 'saveMemory';
76892
77193
  readonly 'recall-memory': 'recallMemory';
76893
77194
  readonly 'memory-summary': 'memorySummary';
77195
+ readonly extract: 'extract';
76894
77196
  };
76895
77197
  //#endregion
76896
77198
  //#region src/workflows/hook-registry.d.ts
@@ -77156,5 +77458,5 @@ export declare function getLikelySupportingCandidatePaths(bestCandidatePath: str
77156
77458
  export declare function getDefaultPlanPath(taskName: string): string;
77157
77459
  export declare function sanitizeTaskSlug(taskName: string): string;
77158
77460
  //#endregion
77159
- export type { A2AHandlerOptions, A2ARunInput, A2ATextMessage, AIGrader, ActivateAgentAliasInput, ActivateAgentPromotionInput, AgentAlias, AgentAliasActivation, AgentAliasArchiveFailure, AgentAliasArchived, AgentAliasList, AgentAliasTransport, AgentCapabilityChange, AgentCapabilityDeclaration, AgentDefinition, AgentDefinitionConfig, AgentDeploymentList, AgentDeploymentPromotion, AgentDeploymentReceipt, AgentPromotionManifest, AgentPromotionTransport, AgentPromotionValidation, AgentPullResult, AgentSkillBinding, AgentSkillBindingChange, AgentStreamEvent, ApiKeyRequest, ApiKeyRequestDelivery, ApiKeyRequestEnvironment, ApiKeyRequestHandoff, ApiKeyRequestListParams, ApiKeyRequestRequester, ApiKeyRequestStatus, ApplyGeneratedProposalOptions, ApplyGeneratedProposalResult, ArchiveAgentAliasEverywhereResult, ArchiveAgentAliasInput, AttachRuntimeToolsOptions, BatchClient, BatchListParams, BatchOptions, BatchRequest, BatchResult, BatchScheduleConfig, BatchStatus, BindSkillInput, BuiltInGraderId, CaseExpected, CheckGrader, ClaimApiKeyRequestInput, ClaimApiKeyRequestResponse, ClientConversation, ClientToken, ClientTokenConfig, ClientTokenDefinition, ClientTokenEnvironment, ClientTokenVersionPin, ClientWidgetTheme, CollectionPullResult, CollectionSchemaChange, ConditionalGetResult, ConditionalStepConfig, ContextErrorHandling, ContextFallback, CreateApiKeyRequestInput, CreateApiKeyRequestResponse, CreateClientTokenRequest, CreateClientTokenResponse, CreateEvalSuiteInput, CreatePromptData, DecisionModelCatalog, DecisionModelCatalogEntry, DecomposeCriteriaResult, DefineAgentInput, DefineEvalCaseInput, DefineEvalInput, DefineFlowInput, DefineProductInput, DefineScheduleInput, DefineSkillInput, DefineSurfaceInput, DefineToolInput, DetachedReattach, DetachedReconnectOptions, DispatchClient, DispatchEvent, DispatchOptions, EnsureAgentConverged, EnsureAgentOptions, EnsureAgentPlan, EnsureAgentResult, EnsureClientTokenConverged, EnsureClientTokenOptions, EnsureClientTokenPlan, EnsureClientTokenResult, EnsureCollectionConverged, EnsureCollectionOptions, EnsureCollectionPlan, EnsureCollectionResult, EnsureEvalApplyOptions, EnsureEvalOptions, EnsureEvalPlan, EnsureEvalResult, EnsureFlowConverged, EnsureFlowOptions, EnsureFlowPlan, EnsureFlowResult, EnsureFpoOptions, EnsureFpoResult, EnsureProductConverged, EnsureProductOptions, EnsureProductPlan, EnsureProductResult, EnsureQuestionSetConverged, EnsureQuestionSetOptions, EnsureQuestionSetPlan, EnsureQuestionSetResult, EnsureScheduleConverged, EnsureScheduleOptions, EnsureSchedulePlan, EnsureScheduleResult, EnsureSkillConverged, EnsureSkillOptions, EnsureSkillPlan, EnsureSkillResult, EnsureSurfaceConverged, EnsureSurfaceOptions, EnsureSurfacePlan, EnsureSurfaceResult, EnsureToolConverged, EnsureToolOptions, EnsureToolPlan, EnsureToolResult, ErrorHandlingMode, EvalAgentSelector, EvalAgentTargetResolution, EvalCaseDefinition, EvalCaseInput, EvalCaseProposal, EvalCaseProposalAccepted, EvalCaseProposalListResult, EvalCasesGenerated, EvalClient, EvalDefinition, EvalEndUserIdentity, EvalIdentityDefaults, EvalListParams, EvalMessage, EvalOptions, EvalProposalSource, EvalProposalStatus, EvalProposedCase, EvalPullResult, EvalRecord, EvalRequest, EvalResult, EvalRunCaseScores, EvalRunConfig, EvalRunEvidence, EvalRunScores, EvalStatus, EvalSuiteCase, EvalSuiteCaseInput, EvalSuiteCoverage, EvalSuiteDetail, EvalSuiteLatestRun, EvalSuiteListResult, EvalSuiteRunQueued, EvalSuiteRunResult, EvalSuiteSummary, EvalTarget, EvalTenantIdentity, ExecutionStreamEvent, ExecutionTerminalOutcome, ExportSimulationDesignBriefResponse, FallbackFailEvent, FallbackStartEvent, FallbackSuccessEvent, FallbackTrigger, FallbackTriggerType, FallbacksExhaustedEvent, FallbacksInitiatedEvent, FetchUrlStepConfig, FieldFormat, FlowCompleteEvent, FlowConfig, FlowDefinition, FlowDefinitionStep, FlowErrorEvent, FlowFallback, FlowInlineEvalInput, FlowPausedEvent, FlowPullResult, FlowStartEvent, FlowStreamEvent, FlowSummary, FlowValidationClient, FlowValidationIssue, FlowValidationResult, FpoEntityOutcome, FpoInput, GenerateEmbeddingStepConfig, GenerateEvalCasesInput, GeneratedRuntimeToolGateDecision, GeneratedRuntimeToolGateOptions, GetApiKeyRequestResponse, GetRecordStepConfig, GetSimulationEpisodeResponse, Gradeable, GraderConfig, GraderOutcome, GraderSeverity, HumanVerdict, JudgeAttemptDiagnostic, JudgeDiagnostics, JudgeParseError, ListAgentAliasesOptions, ListAgentDeploymentsOptions, ListConversationsResponse, ListRecordsStepConfig, ListSimulationEpisodesParams, ListSimulationEpisodesResponse, ListSimulationToolExchangesParams, ListSimulationToolExchangesResponse, LoopStepConfig, ManagedDeploymentAccepted, ManagedDeploymentCapability, ManagedDeploymentConfig, ManagedDeploymentCredentialAuthority, ManagedDeploymentDefinition, ManagedDeploymentDesiredSpec, ManagedDeploymentHealth, ManagedDeploymentLanguage, ManagedDeploymentProfileIdentity, ManagedDeploymentResource, ManagedDeploymentRetention, ManagedDeploymentRuntimeProfile, ManagedDeploymentSleepPolicy, ManagedDeploymentUpdateOptions, ManagedDeploymentWriteOptions, ManagedDeploymentWriteRequest, Message, MessageFallback, ModelFallback, ModelOverride, OrganizationAgentAlias, OrganizationAgentAliasList, PersistedGraderOutcome, PrepareAgentPromotionInput, PreviewSimulationVariantRequest, PreviewSimulationVariantResponse, ProductDefinition, ProductPullResult, PromoteAgentInput, PromoteAgentResult, PromptErrorHandling, PromptFallback, PromptListParams, PromptStepConfig, PullFpoResult, QuestionSetDefinition, QuestionSetPullResult, RecordCollectionDefinition, RecordCollectionValidationMode, RecordConfig, RecordFilter, RecordFilterCondition, RecordFilterGroup, RecordFilterOperator, RetrieveRecordStepConfig, RetryFallback, RollbackAgentAliasInput, RunEvalCaseResult, RunEvalInput, RunEvalResult, RunListParams, RunListResponse, RunListRow, AgentSkillBinding$1 as RuntypeAgentSkillBinding, ConditionalStepConfig$1 as RuntypeConditionalStepConfig, RuntypeConfig, FetchUrlStepConfig$1 as RuntypeFetchUrlStepConfig, FlowConfig$1 as RuntypeFlowConfig, GenerateEmbeddingStepConfig$1 as RuntypeGenerateEmbeddingStepConfig, GetRecordStepConfig$1 as RuntypeGetRecordStepConfig, ListRecordsStepConfig$1 as RuntypeListRecordsStepConfig, LoopStepConfig$1 as RuntypeLoopStepConfig, Message$1 as RuntypeMessage, ModelOverride$1 as RuntypeModelOverride, Prompt$1 as RuntypePrompt, PromptStepConfig$1 as RuntypePromptStepConfig, RecordConfig$1 as RuntypeRecordConfig, RetrieveRecordStepConfig$1 as RuntypeRetrieveRecordStepConfig, SearchStepConfig as RuntypeSearchStepConfig, SendEmailStepConfig as RuntypeSendEmailStepConfig, SendEventStepConfig as RuntypeSendEventStepConfig, SendStreamStepConfig as RuntypeSendStreamStepConfig, SetVariableStepConfig as RuntypeSetVariableStepConfig, Skill as RuntypeSkill, SkillBindingWithAgent as RuntypeSkillBindingWithAgent, SkillCapabilities as RuntypeSkillCapabilities, SkillFrontmatter as RuntypeSkillFrontmatter, SkillManifest as RuntypeSkillManifest, SkillProposal as RuntypeSkillProposal, SkillRuntypeExtensions as RuntypeSkillRuntypeExtensions, SkillVersion as RuntypeSkillVersion, TransformDataStepConfig as RuntypeTransformDataStepConfig, UpsertFlowConfig as RuntypeUpsertFlowConfig, UpsertRecordStepConfig as RuntypeUpsertRecordStepConfig, VectorSearchStepConfig as RuntypeVectorSearchStepConfig, WaitUntilStepConfig as RuntypeWaitUntilStepConfig, ScheduleDefinition, ScheduleDefinitionMessage, ScheduleEnsureTransport, SchedulePullResult, SearchStepConfig$1 as SearchStepConfig, SendEmailStepConfig$1 as SendEmailStepConfig, SendEventStepConfig$1 as SendEventStepConfig, SendStreamStepConfig$1 as SendStreamStepConfig, SetVariableStepConfig$1 as SetVariableStepConfig, SimulationDesignBrief, SimulationEpisode, SimulationEpisodeMetrics, SimulationEpisodeScore, SimulationEpisodeStatus, SimulationEpisodeTranscript, SimulationServedBy, SimulationServedByCounts, SimulationTermination, SimulationToolCallFacts, SimulationToolExchange, SimulationToolProfile, SimulationTranscriptMessage, SimulationTurnLayerFacts, SkillDefinition, SkillListPage, SkillListPagination, SkillListParams, SkillManifestInput, SkillMarkdownInput, SkillOrigin, SkillProposalStatus, SkillPullResult, SkillStatus, SkillTrustLevel, SkillVersionStatus, SkillWithVersion, SkillWriteInput, StepCompleteEvent, StepDeltaEvent, StepFallback, StepFieldMeta, StepStartEvent, StepWaitingLocalEvent, StreamCallbacks, StreamConsumeOptions, StreamEvent, StreamEventOf, SurfaceDefinition, SurfaceDefinitionStatus, SurfaceDefinitionType, SurfacePullResult, ToolDefinition, ToolDefinitionType, ToolPullResult, TransformDataStepConfig$1 as TransformDataStepConfig, UpdateClientTokenRequest, UpdateEvalCaseInput, UpdateEvalSuiteInput, UpdatePromptData, UpdateSimulationTargetRequest, UpdateSimulationVariantRequest, UploadSimulationToolExchangesRequest, UploadedSimulationToolExchange, UpsertFlowConfig$1 as UpsertFlowConfig, UpsertRecordStepConfig$1 as UpsertRecordStepConfig, ValidateAgentPromotionInput, VectorSearchStepConfig$1 as VectorSearchStepConfig, WaitUntilStepConfig$1 as WaitUntilStepConfig, WorkflowCompileDeps, WorkflowCompletionCriteriaConfig, WorkflowConfig, WorkflowConfigFactory, WorkflowHookEntry, WorkflowHookKind, WorkflowHookRef, WorkflowHookSignatures, WorkflowMilestoneConfig, WorkflowPolicyConfig, WorkflowRecoveryConfig, WorkflowSlot };
77461
+ export type { A2AHandlerOptions, A2ARunInput, A2ATextMessage, AIGrader, ActivateAgentAliasInput, ActivateAgentPromotionInput, AgentAlias, AgentAliasActivation, AgentAliasArchiveFailure, AgentAliasArchived, AgentAliasList, AgentAliasTransport, AgentCapabilityChange, AgentCapabilityDeclaration, AgentDefinition, AgentDefinitionConfig, AgentDeploymentList, AgentDeploymentPromotion, AgentDeploymentReceipt, AgentPromotionManifest, AgentPromotionTransport, AgentPromotionValidation, AgentPullResult, AgentSkillBinding, AgentSkillBindingChange, AgentStreamEvent, ApiKeyRequest, ApiKeyRequestDelivery, ApiKeyRequestEnvironment, ApiKeyRequestHandoff, ApiKeyRequestListParams, ApiKeyRequestRequester, ApiKeyRequestStatus, ApplyGeneratedProposalOptions, ApplyGeneratedProposalResult, ArchiveAgentAliasEverywhereResult, ArchiveAgentAliasInput, AttachRuntimeToolsOptions, BatchClient, BatchListParams, BatchOptions, BatchRequest, BatchResult, BatchScheduleConfig, BatchStatus, BindSkillInput, BuiltInGraderId, CaseExpected, CheckGrader, ClaimApiKeyRequestInput, ClaimApiKeyRequestResponse, ClientConversation, ClientToken, ClientTokenConfig, ClientTokenDefinition, ClientTokenEnvironment, ClientTokenVersionPin, ClientWidgetTheme, CollectionPullResult, CollectionSchemaChange, ConditionalGetResult, ConditionalStepConfig, ContextErrorHandling, ContextFallback, CreateApiKeyRequestInput, CreateApiKeyRequestResponse, CreateClientTokenRequest, CreateClientTokenResponse, CreateEvalSuiteInput, CreatePromptData, DecisionModelCatalog, DecisionModelCatalogEntry, DecomposeCriteriaResult, DefineAgentInput, DefineEvalCaseInput, DefineEvalInput, DefineFlowInput, DefineProductInput, DefineScheduleInput, DefineSkillInput, DefineSurfaceInput, DefineToolInput, DetachedReattach, DetachedReconnectOptions, DispatchClient, DispatchEvent, DispatchOptions, EnsureAgentConverged, EnsureAgentOptions, EnsureAgentPlan, EnsureAgentResult, EnsureClientTokenConverged, EnsureClientTokenOptions, EnsureClientTokenPlan, EnsureClientTokenResult, EnsureCollectionConverged, EnsureCollectionOptions, EnsureCollectionPlan, EnsureCollectionResult, EnsureEvalApplyOptions, EnsureEvalOptions, EnsureEvalPlan, EnsureEvalResult, EnsureFlowConverged, EnsureFlowOptions, EnsureFlowPlan, EnsureFlowResult, EnsureFpoOptions, EnsureFpoResult, EnsureProductConverged, EnsureProductOptions, EnsureProductPlan, EnsureProductResult, EnsureQuestionSetConverged, EnsureQuestionSetOptions, EnsureQuestionSetPlan, EnsureQuestionSetResult, EnsureScheduleConverged, EnsureScheduleOptions, EnsureSchedulePlan, EnsureScheduleResult, EnsureSkillConverged, EnsureSkillOptions, EnsureSkillPlan, EnsureSkillResult, EnsureSurfaceConverged, EnsureSurfaceOptions, EnsureSurfacePlan, EnsureSurfaceResult, EnsureToolConverged, EnsureToolOptions, EnsureToolPlan, EnsureToolResult, ErrorHandlingMode, EvalAgentSelector, EvalAgentTargetResolution, EvalCaseDefinition, EvalCaseInput, EvalCaseProposal, EvalCaseProposalAccepted, EvalCaseProposalListResult, EvalCasesGenerated, EvalClient, EvalDefinition, EvalEndUserIdentity, EvalIdentityDefaults, EvalListParams, EvalMessage, EvalOptions, EvalProposalSource, EvalProposalStatus, EvalProposedCase, EvalPullResult, EvalRecord, EvalRequest, EvalResult, EvalRunCaseScores, EvalRunConfig, EvalRunEvidence, EvalRunScores, EvalStatus, EvalSuiteCase, EvalSuiteCaseInput, EvalSuiteCoverage, EvalSuiteDetail, EvalSuiteLatestRun, EvalSuiteListResult, EvalSuiteRunQueued, EvalSuiteRunResult, EvalSuiteSummary, EvalTarget, EvalTenantIdentity, ExecutionStreamEvent, ExecutionTerminalOutcome, ExportSimulationDesignBriefResponse, ExtractionModelCatalog, ExtractionModelCatalogEntry, FallbackFailEvent, FallbackStartEvent, FallbackSuccessEvent, FallbackTrigger, FallbackTriggerType, FallbacksExhaustedEvent, FallbacksInitiatedEvent, FetchUrlStepConfig, FieldFormat, FlowCompleteEvent, FlowConfig, FlowDefinition, FlowDefinitionStep, FlowErrorEvent, FlowFallback, FlowInlineEvalInput, FlowPausedEvent, FlowPullResult, FlowStartEvent, FlowStreamEvent, FlowSummary, FlowValidationClient, FlowValidationIssue, FlowValidationResult, FpoEntityOutcome, FpoInput, GenerateEmbeddingStepConfig, GenerateEvalCasesInput, GeneratedRuntimeToolGateDecision, GeneratedRuntimeToolGateOptions, GetApiKeyRequestResponse, GetRecordStepConfig, GetSimulationEpisodeResponse, Gradeable, GraderConfig, GraderOutcome, GraderSeverity, HumanVerdict, JudgeAttemptDiagnostic, JudgeDiagnostics, JudgeParseError, ListAgentAliasesOptions, ListAgentDeploymentsOptions, ListConversationsResponse, ListRecordsStepConfig, ListSimulationEpisodesParams, ListSimulationEpisodesResponse, ListSimulationToolExchangesParams, ListSimulationToolExchangesResponse, LoopStepConfig, ManagedDeploymentAccepted, ManagedDeploymentCapability, ManagedDeploymentConfig, ManagedDeploymentCredentialAuthority, ManagedDeploymentDefinition, ManagedDeploymentDesiredSpec, ManagedDeploymentHealth, ManagedDeploymentLanguage, ManagedDeploymentProfileIdentity, ManagedDeploymentResource, ManagedDeploymentRetention, ManagedDeploymentRuntimeProfile, ManagedDeploymentSleepPolicy, ManagedDeploymentUpdateOptions, ManagedDeploymentWriteOptions, ManagedDeploymentWriteRequest, Message, MessageFallback, ModelFallback, ModelOverride, OrganizationAgentAlias, OrganizationAgentAliasList, PersistedGraderOutcome, PrepareAgentPromotionInput, PreviewSimulationVariantRequest, PreviewSimulationVariantResponse, ProductDefinition, ProductPullResult, PromoteAgentInput, PromoteAgentResult, PromptErrorHandling, PromptFallback, PromptListParams, PromptStepConfig, PullFpoResult, QuestionSetDefinition, QuestionSetPullResult, RecordCollectionDefinition, RecordCollectionValidationMode, RecordConfig, RecordFilter, RecordFilterCondition, RecordFilterGroup, RecordFilterOperator, RetrieveRecordStepConfig, RetryFallback, RollbackAgentAliasInput, RunEvalCaseResult, RunEvalInput, RunEvalResult, RunListParams, RunListResponse, RunListRow, AgentSkillBinding$1 as RuntypeAgentSkillBinding, ConditionalStepConfig$1 as RuntypeConditionalStepConfig, RuntypeConfig, FetchUrlStepConfig$1 as RuntypeFetchUrlStepConfig, FlowConfig$1 as RuntypeFlowConfig, GenerateEmbeddingStepConfig$1 as RuntypeGenerateEmbeddingStepConfig, GetRecordStepConfig$1 as RuntypeGetRecordStepConfig, ListRecordsStepConfig$1 as RuntypeListRecordsStepConfig, LoopStepConfig$1 as RuntypeLoopStepConfig, Message$1 as RuntypeMessage, ModelOverride$1 as RuntypeModelOverride, Prompt$1 as RuntypePrompt, PromptStepConfig$1 as RuntypePromptStepConfig, RecordConfig$1 as RuntypeRecordConfig, RetrieveRecordStepConfig$1 as RuntypeRetrieveRecordStepConfig, SearchStepConfig as RuntypeSearchStepConfig, SendEmailStepConfig as RuntypeSendEmailStepConfig, SendEventStepConfig as RuntypeSendEventStepConfig, SendStreamStepConfig as RuntypeSendStreamStepConfig, SetVariableStepConfig as RuntypeSetVariableStepConfig, Skill as RuntypeSkill, SkillBindingWithAgent as RuntypeSkillBindingWithAgent, SkillCapabilities as RuntypeSkillCapabilities, SkillFrontmatter as RuntypeSkillFrontmatter, SkillManifest as RuntypeSkillManifest, SkillProposal as RuntypeSkillProposal, SkillRuntypeExtensions as RuntypeSkillRuntypeExtensions, SkillVersion as RuntypeSkillVersion, TransformDataStepConfig as RuntypeTransformDataStepConfig, UpsertFlowConfig as RuntypeUpsertFlowConfig, UpsertRecordStepConfig as RuntypeUpsertRecordStepConfig, VectorSearchStepConfig as RuntypeVectorSearchStepConfig, WaitUntilStepConfig as RuntypeWaitUntilStepConfig, ScheduleDefinition, ScheduleDefinitionMessage, ScheduleEnsureTransport, SchedulePullResult, SearchStepConfig$1 as SearchStepConfig, SendEmailStepConfig$1 as SendEmailStepConfig, SendEventStepConfig$1 as SendEventStepConfig, SendStreamStepConfig$1 as SendStreamStepConfig, SetVariableStepConfig$1 as SetVariableStepConfig, SimulationDesignBrief, SimulationEpisode, SimulationEpisodeMetrics, SimulationEpisodeScore, SimulationEpisodeStatus, SimulationEpisodeTranscript, SimulationServedBy, SimulationServedByCounts, SimulationTermination, SimulationToolCallFacts, SimulationToolExchange, SimulationToolProfile, SimulationTranscriptMessage, SimulationTurnLayerFacts, SkillDefinition, SkillListPage, SkillListPagination, SkillListParams, SkillManifestInput, SkillMarkdownInput, SkillOrigin, SkillProposalStatus, SkillPullResult, SkillStatus, SkillTrustLevel, SkillVersionStatus, SkillWithVersion, SkillWriteInput, StepCompleteEvent, StepDeltaEvent, StepFallback, StepFieldMeta, StepStartEvent, StepWaitingLocalEvent, StreamCallbacks, StreamConsumeOptions, StreamEvent, StreamEventOf, SurfaceDefinition, SurfaceDefinitionStatus, SurfaceDefinitionType, SurfacePullResult, ToolDefinition, ToolDefinitionType, ToolPullResult, TransformDataStepConfig$1 as TransformDataStepConfig, UpdateClientTokenRequest, UpdateEvalCaseInput, UpdateEvalSuiteInput, UpdatePromptData, UpdateSimulationTargetRequest, UpdateSimulationVariantRequest, UploadSimulationToolExchangesRequest, UploadedSimulationToolExchange, UpsertFlowConfig$1 as UpsertFlowConfig, UpsertRecordStepConfig$1 as UpsertRecordStepConfig, ValidateAgentPromotionInput, VectorSearchStepConfig$1 as VectorSearchStepConfig, WaitUntilStepConfig$1 as WaitUntilStepConfig, WorkflowCompileDeps, WorkflowCompletionCriteriaConfig, WorkflowConfig, WorkflowConfigFactory, WorkflowHookEntry, WorkflowHookKind, WorkflowHookRef, WorkflowHookSignatures, WorkflowMilestoneConfig, WorkflowPolicyConfig, WorkflowRecoveryConfig, WorkflowSlot };
77160
77462
  export {}
package/dist/index.d.ts CHANGED
@@ -21537,6 +21537,26 @@ interface paths {
21537
21537
  patch?: never;
21538
21538
  trace?: never;
21539
21539
  };
21540
+ "/v1/extraction-models": {
21541
+ parameters: {
21542
+ query?: never;
21543
+ header?: never;
21544
+ path?: never;
21545
+ cookie?: never;
21546
+ };
21547
+ /**
21548
+ * List extraction models
21549
+ * @description List supported extraction models, their native routes, field and image limits, pricing and credential requirements. An extraction model reads typed field values out of text and images with no generated tokens; it runs the `extract` flow step. This static catalog does not verify account eligibility or spending readiness; execution performs those checks. These models are not chat models.
21550
+ */
21551
+ get: operations["listExtractionModels"];
21552
+ put?: never;
21553
+ post?: never;
21554
+ delete?: never;
21555
+ options?: never;
21556
+ head?: never;
21557
+ patch?: never;
21558
+ trace?: never;
21559
+ };
21540
21560
  "/v1/feedback": {
21541
21561
  parameters: {
21542
21562
  query?: never;
@@ -22678,7 +22698,7 @@ interface paths {
22678
22698
  name: string;
22679
22699
  order?: number;
22680
22700
  /** @enum {string} */
22681
- type: "prompt" | "crawl" | "fetch-url" | "retrieve-record" | "get-record" | "list-records" | "api-call" | "transform-data" | "template" | "conditional" | "loop" | "set-variable" | "upsert-record" | "send-email" | "send-event" | "send-stream" | "update-record" | "search" | "generate-embedding" | "vector-search" | "tool-call" | "wait-until" | "paginate-api" | "store-vector" | "execute-agent" | "store-asset" | "generate-pdf" | "save-memory" | "recall-memory" | "memory-summary";
22701
+ type: "prompt" | "crawl" | "fetch-url" | "retrieve-record" | "get-record" | "list-records" | "api-call" | "transform-data" | "template" | "conditional" | "loop" | "set-variable" | "upsert-record" | "send-email" | "send-event" | "send-stream" | "update-record" | "search" | "generate-embedding" | "vector-search" | "tool-call" | "wait-until" | "paginate-api" | "store-vector" | "execute-agent" | "store-asset" | "generate-pdf" | "save-memory" | "recall-memory" | "memory-summary" | "extract";
22682
22702
  when?: string;
22683
22703
  }[];
22684
22704
  name: string;
@@ -22690,7 +22710,7 @@ interface paths {
22690
22710
  name: string;
22691
22711
  order?: number;
22692
22712
  /** @enum {string} */
22693
- type: "prompt" | "crawl" | "fetch-url" | "retrieve-record" | "get-record" | "list-records" | "api-call" | "transform-data" | "template" | "conditional" | "loop" | "set-variable" | "upsert-record" | "send-email" | "send-event" | "send-stream" | "update-record" | "search" | "generate-embedding" | "vector-search" | "tool-call" | "wait-until" | "paginate-api" | "store-vector" | "execute-agent" | "store-asset" | "generate-pdf" | "save-memory" | "recall-memory" | "memory-summary";
22713
+ type: "prompt" | "crawl" | "fetch-url" | "retrieve-record" | "get-record" | "list-records" | "api-call" | "transform-data" | "template" | "conditional" | "loop" | "set-variable" | "upsert-record" | "send-email" | "send-event" | "send-stream" | "update-record" | "search" | "generate-embedding" | "vector-search" | "tool-call" | "wait-until" | "paginate-api" | "store-vector" | "execute-agent" | "store-asset" | "generate-pdf" | "save-memory" | "recall-memory" | "memory-summary" | "extract";
22694
22714
  when?: string;
22695
22715
  }[];
22696
22716
  };
@@ -23095,7 +23115,7 @@ interface paths {
23095
23115
  name: string;
23096
23116
  order?: number;
23097
23117
  /** @enum {string} */
23098
- type: "prompt" | "crawl" | "fetch-url" | "retrieve-record" | "get-record" | "list-records" | "api-call" | "transform-data" | "template" | "conditional" | "loop" | "set-variable" | "upsert-record" | "send-email" | "send-event" | "send-stream" | "update-record" | "search" | "generate-embedding" | "vector-search" | "tool-call" | "wait-until" | "paginate-api" | "store-vector" | "execute-agent" | "store-asset" | "generate-pdf" | "save-memory" | "recall-memory" | "memory-summary";
23118
+ type: "prompt" | "crawl" | "fetch-url" | "retrieve-record" | "get-record" | "list-records" | "api-call" | "transform-data" | "template" | "conditional" | "loop" | "set-variable" | "upsert-record" | "send-email" | "send-event" | "send-stream" | "update-record" | "search" | "generate-embedding" | "vector-search" | "tool-call" | "wait-until" | "paginate-api" | "store-vector" | "execute-agent" | "store-asset" | "generate-pdf" | "save-memory" | "recall-memory" | "memory-summary" | "extract";
23099
23119
  when?: string;
23100
23120
  }[];
23101
23121
  name?: string;
@@ -46289,6 +46309,124 @@ interface paths {
46289
46309
  patch?: never;
46290
46310
  trace?: never;
46291
46311
  };
46312
+ "/v1/runtime/extractions": {
46313
+ parameters: {
46314
+ query?: never;
46315
+ header?: never;
46316
+ path?: never;
46317
+ cookie?: never;
46318
+ };
46319
+ get?: never;
46320
+ put?: never;
46321
+ /**
46322
+ * Extract typed fields (hosted ExtractionProvider)
46323
+ * @description The runtime-family extraction contract consumed by `@runtypelabs/runtime`’s HostedExtractionProvider, so a self-hosted runtime on platform or hybrid keys runs the `extract` step through Runtype with a Self-hosted Runtime key (`RUNTIME:EXECUTE`). Billed and recorded like an extract flow step. Requires an Enterprise plan: ineligible accounts receive 403 (code `BYOC_PLAN_REQUIRED`).
46324
+ */
46325
+ post: {
46326
+ parameters: {
46327
+ query?: never;
46328
+ header?: never;
46329
+ path?: never;
46330
+ cookie?: never;
46331
+ };
46332
+ requestBody?: {
46333
+ content: {
46334
+ "application/json": components["schemas"]["RuntimeExtractionRequest"];
46335
+ };
46336
+ };
46337
+ responses: {
46338
+ /** @description The values, answers and extraction metadata */
46339
+ 200: {
46340
+ headers: {
46341
+ [name: string]: unknown;
46342
+ };
46343
+ content: {
46344
+ "application/json": components["schemas"]["RuntimeExtractionResponse"];
46345
+ };
46346
+ };
46347
+ /** @description Invalid state, fields or images (see `code`) */
46348
+ 400: {
46349
+ headers: {
46350
+ [name: string]: unknown;
46351
+ };
46352
+ content: {
46353
+ "application/json": components["schemas"]["Error"] & {
46354
+ /** @description Stable code for a caller-fixable failure, e.g. EXTRACTION_FIELDS_INVALID or EXTRACTION_MODEL_UNKNOWN. */
46355
+ code?: string;
46356
+ details?: {
46357
+ [key: string]: unknown;
46358
+ };
46359
+ };
46360
+ };
46361
+ };
46362
+ /** @description Unauthorized */
46363
+ 401: {
46364
+ headers: {
46365
+ [name: string]: unknown;
46366
+ };
46367
+ content: {
46368
+ "application/json": components["schemas"]["Error"];
46369
+ };
46370
+ };
46371
+ /** @description Monthly spend limit exceeded */
46372
+ 402: {
46373
+ headers: {
46374
+ [name: string]: unknown;
46375
+ };
46376
+ content: {
46377
+ "application/json": components["schemas"]["Error"];
46378
+ };
46379
+ };
46380
+ /** @description Not an API key, the key lacks an execute permission, or the account is not on an Enterprise plan (code `BYOC_PLAN_REQUIRED`) */
46381
+ 403: {
46382
+ headers: {
46383
+ [name: string]: unknown;
46384
+ };
46385
+ content: {
46386
+ "application/json": components["schemas"]["Error"];
46387
+ };
46388
+ };
46389
+ /** @description The extraction model is not served or cannot be funded (see `code`) */
46390
+ 422: {
46391
+ headers: {
46392
+ [name: string]: unknown;
46393
+ };
46394
+ content: {
46395
+ "application/json": components["schemas"]["Error"] & {
46396
+ /** @description Stable code for a caller-fixable failure, e.g. EXTRACTION_FIELDS_INVALID or EXTRACTION_MODEL_UNKNOWN. */
46397
+ code?: string;
46398
+ details?: {
46399
+ [key: string]: unknown;
46400
+ };
46401
+ };
46402
+ };
46403
+ };
46404
+ /** @description Daily execution limit or rate limit exceeded */
46405
+ 429: {
46406
+ headers: {
46407
+ [name: string]: unknown;
46408
+ };
46409
+ content: {
46410
+ "application/json": components["schemas"]["Error"];
46411
+ };
46412
+ };
46413
+ /** @description Extraction failed */
46414
+ 500: {
46415
+ headers: {
46416
+ [name: string]: unknown;
46417
+ };
46418
+ content: {
46419
+ "application/json": components["schemas"]["Error"];
46420
+ };
46421
+ };
46422
+ };
46423
+ };
46424
+ delete?: never;
46425
+ options?: never;
46426
+ head?: never;
46427
+ patch?: never;
46428
+ trace?: never;
46429
+ };
46292
46430
  "/v1/runtime/judgments": {
46293
46431
  parameters: {
46294
46432
  query?: never;
@@ -60906,6 +61044,35 @@ interface components {
60906
61044
  /** @enum {number} */
60907
61045
  version: 1;
60908
61046
  } | null;
61047
+ ExtractionModel: {
61048
+ contextWindow: number;
61049
+ credentialRequirements: {
61050
+ organizationCredentialSupported: boolean;
61051
+ platformFundingSupported: boolean;
61052
+ /** @enum {string} */
61053
+ provider: "platform";
61054
+ };
61055
+ description: string;
61056
+ docsUrl: string;
61057
+ id: string;
61058
+ maxImageBytes: number;
61059
+ maxImages: number;
61060
+ maxTotalImageBytes: number;
61061
+ name: string;
61062
+ passTokens: number;
61063
+ platformFunding: boolean;
61064
+ pricing: {
61065
+ inputPer1MTokens: number;
61066
+ inputPerToken: string;
61067
+ outputPer1MTokens: number;
61068
+ outputPerToken: string;
61069
+ };
61070
+ /** @enum {string} */
61071
+ provider: "cloudflare";
61072
+ providerModelId: string;
61073
+ /** @enum {string} */
61074
+ route: "cloudflare-workers-ai";
61075
+ };
60909
61076
  FlowEnsureConflict: {
60910
61077
  /** @enum {string} */
60911
61078
  code: "external_modification" | "remote_changed";
@@ -62004,6 +62171,59 @@ interface components {
62004
62171
  /** @description Skill slug; the agent loads it as `skill:<slug>`. */
62005
62172
  slug: string;
62006
62173
  };
62174
+ RuntimeExtractionMetadata: {
62175
+ /** @description Provider rates, before margin. */
62176
+ estimatedCostUsd?: number;
62177
+ /** @enum {string} */
62178
+ keySource: "user" | "platform";
62179
+ provider: string;
62180
+ requestedModel: string;
62181
+ resolvedModelId: string | null;
62182
+ route: string;
62183
+ usage: {
62184
+ inputTokens: number;
62185
+ outputTokens: number;
62186
+ passes?: number;
62187
+ reported: boolean;
62188
+ };
62189
+ };
62190
+ RuntimeExtractionRequest: {
62191
+ /** @description The self-hosted execution asking, recorded on the extraction telemetry. */
62192
+ executionId?: string;
62193
+ /** @description Field name to field spec, each `{ type: "text" | "number" | "date" | "time" | "datetime" | "duration" | "list" | "estimate" | "forecast", instructions?, ... }`. Refused with `EXTRACTION_FIELDS_INVALID` and one sentence per problem. */
62194
+ fields: {
62195
+ [key: string]: unknown;
62196
+ };
62197
+ /** @description Up to the model limit of embedded images: data: URLs or `{ contentType, base64 }`. Remote URLs are refused. */
62198
+ images?: unknown[];
62199
+ /** @description Extraction model id; defaults to the platform default. */
62200
+ model?: string;
62201
+ options?: {
62202
+ includeQuantiles?: boolean;
62203
+ returnStateText?: boolean;
62204
+ };
62205
+ /** @description ISO date anchoring dates written without a year. */
62206
+ referenceDate?: string;
62207
+ /** @description The text to read. Never echoed in errors or logs. */
62208
+ state: string;
62209
+ stepId?: string;
62210
+ };
62211
+ RuntimeExtractionResponse: {
62212
+ /** @description One answer per field: value, confidence, pNull, span(s) and estimate intervals. */
62213
+ answers: {
62214
+ [key: string]: unknown;
62215
+ };
62216
+ extraction: components["schemas"]["RuntimeExtractionMetadata"];
62217
+ model: string;
62218
+ truncated: boolean;
62219
+ usage: {
62220
+ [key: string]: unknown;
62221
+ };
62222
+ /** @description One value per field; null when the input does not determine it. */
62223
+ values: {
62224
+ [key: string]: unknown;
62225
+ };
62226
+ };
62007
62227
  RuntimeHostDependency: {
62008
62228
  interface: string;
62009
62229
  /** @enum {string} */
@@ -62725,6 +62945,37 @@ interface operations {
62725
62945
  };
62726
62946
  };
62727
62947
  };
62948
+ listExtractionModels: {
62949
+ parameters: {
62950
+ query?: never;
62951
+ header?: never;
62952
+ path?: never;
62953
+ cookie?: never;
62954
+ };
62955
+ requestBody?: never;
62956
+ responses: {
62957
+ /** @description Supported extraction model catalog. */
62958
+ 200: {
62959
+ headers: {
62960
+ [name: string]: unknown;
62961
+ };
62962
+ content: {
62963
+ "application/json": {
62964
+ models: components["schemas"]["ExtractionModel"][];
62965
+ };
62966
+ };
62967
+ };
62968
+ /** @description Unauthorized */
62969
+ 401: {
62970
+ headers: {
62971
+ [name: string]: unknown;
62972
+ };
62973
+ content: {
62974
+ "application/json": components["schemas"]["Error"];
62975
+ };
62976
+ };
62977
+ };
62978
+ };
62728
62979
  getOtlpIngestHealth: {
62729
62980
  parameters: {
62730
62981
  query?: {
@@ -64523,6 +64774,8 @@ export declare class FlowBuilder {
64523
64774
  recallMemory(config: RawStepMethodConfig$1): this;
64524
64775
  /** Add a memory-summary step. */
64525
64776
  memorySummary(config: RawStepMethodConfig$1): this;
64777
+ /** Add an extract step: typed fields read out of text and images by an extraction model. */
64778
+ extract(config: RawStepMethodConfig$1): this;
64526
64779
  /**
64527
64780
  * Attach a subagent runtime tool to the most recent prompt step.
64528
64781
  *
@@ -71393,6 +71646,8 @@ export declare class RuntypeFlowBuilder {
71393
71646
  recallMemory(config: RawStepMethodConfig): this;
71394
71647
  /** Add a memory-summary step. */
71395
71648
  memorySummary(config: RawStepMethodConfig): this;
71649
+ /** Add an extract step: typed fields read out of text and images by an extraction model. */
71650
+ extract(config: RawStepMethodConfig): this;
71396
71651
  /**
71397
71652
  * Set a run condition (when predicate) on the last added step.
71398
71653
  * If the expression evaluates to falsy at runtime, the step is skipped.
@@ -75116,6 +75371,49 @@ interface DecisionModelCatalog {
75116
75371
  models: DecisionModelCatalogEntry[];
75117
75372
  }
75118
75373
  //#endregion
75374
+ //#region ../shared/dist/index-DxcjM9ZR.d.ts
75375
+ //#endregion
75376
+ //#region src/extraction/models.d.ts
75377
+ type ExtractionModelProvider = 'cloudflare';
75378
+ type ExtractionModelRoute = 'cloudflare-workers-ai';
75379
+ interface ExtractionModelPricing {
75380
+ readonly inputPerToken: string;
75381
+ readonly outputPerToken: string;
75382
+ readonly inputPer1MTokens: number;
75383
+ readonly outputPer1MTokens: number;
75384
+ }
75385
+ /** Limits describe what Runtype sends, not every capability of the upstream model. */
75386
+ interface ExtractionModelDescriptor {
75387
+ readonly id: string;
75388
+ readonly name: string;
75389
+ readonly provider: ExtractionModelProvider;
75390
+ readonly route: ExtractionModelRoute;
75391
+ readonly providerModelId: string;
75392
+ readonly description: string;
75393
+ readonly contextWindow: number;
75394
+ /** Tokens one pass holds; fields beyond it are split across parallel passes server-side. */
75395
+ readonly passTokens: number;
75396
+ readonly maxImages: number;
75397
+ readonly maxImageBytes: number;
75398
+ readonly maxTotalImageBytes: number;
75399
+ readonly pricing: ExtractionModelPricing;
75400
+ readonly platformFunding: boolean;
75401
+ readonly docsUrl: string;
75402
+ }
75403
+ //#endregion
75404
+ //#region src/extraction-models.d.ts
75405
+ /** Supported model capabilities, not the calling organization's spending readiness. */
75406
+ type ExtractionModelCatalogEntry = ExtractionModelDescriptor & {
75407
+ credentialRequirements: {
75408
+ provider: 'platform';
75409
+ organizationCredentialSupported: boolean;
75410
+ platformFundingSupported: boolean;
75411
+ };
75412
+ };
75413
+ interface ExtractionModelCatalog {
75414
+ models: ExtractionModelCatalogEntry[];
75415
+ }
75416
+ //#endregion
75119
75417
  //#region src/simulation-tool-memory-types.d.ts
75120
75418
  /** How one tool call was answered: the rung of the response ladder that served it. */
75121
75419
  type SimulationServedBy = 'live' | 'recorded' | 'transformed' | 'composite' | 'synthesized' | 'stub' | 'fault';
@@ -75631,6 +75929,8 @@ type ConditionalGetResult<T> = {
75631
75929
  export declare class RuntypeClient implements ApiClient {
75632
75930
  /** List supported decision models; credentials and spending policy are checked at execution. */
75633
75931
  listDecisionModels(): Promise<DecisionModelCatalog>;
75932
+ /** List supported extraction models; spending policy is checked at execution. */
75933
+ listExtractionModels(): Promise<ExtractionModelCatalog>;
75634
75934
  private baseUrl;
75635
75935
  private apiVersion;
75636
75936
  private timeout;
@@ -76854,6 +77154,7 @@ export declare const STEP_FIELD_REGISTRY: {
76854
77154
  readonly 'save-memory': readonly StepFieldMeta[];
76855
77155
  readonly 'recall-memory': readonly StepFieldMeta[];
76856
77156
  readonly 'memory-summary': readonly StepFieldMeta[];
77157
+ readonly extract: readonly StepFieldMeta[];
76857
77158
  };
76858
77159
  /**
76859
77160
  * Maps every step type to its FlowBuilder method name. Covers all known step
@@ -76891,6 +77192,7 @@ export declare const STEP_TYPE_TO_METHOD: {
76891
77192
  readonly 'save-memory': 'saveMemory';
76892
77193
  readonly 'recall-memory': 'recallMemory';
76893
77194
  readonly 'memory-summary': 'memorySummary';
77195
+ readonly extract: 'extract';
76894
77196
  };
76895
77197
  //#endregion
76896
77198
  //#region src/workflows/hook-registry.d.ts
@@ -77156,5 +77458,5 @@ export declare function getLikelySupportingCandidatePaths(bestCandidatePath: str
77156
77458
  export declare function getDefaultPlanPath(taskName: string): string;
77157
77459
  export declare function sanitizeTaskSlug(taskName: string): string;
77158
77460
  //#endregion
77159
- export type { A2AHandlerOptions, A2ARunInput, A2ATextMessage, AIGrader, ActivateAgentAliasInput, ActivateAgentPromotionInput, AgentAlias, AgentAliasActivation, AgentAliasArchiveFailure, AgentAliasArchived, AgentAliasList, AgentAliasTransport, AgentCapabilityChange, AgentCapabilityDeclaration, AgentDefinition, AgentDefinitionConfig, AgentDeploymentList, AgentDeploymentPromotion, AgentDeploymentReceipt, AgentPromotionManifest, AgentPromotionTransport, AgentPromotionValidation, AgentPullResult, AgentSkillBinding, AgentSkillBindingChange, AgentStreamEvent, ApiKeyRequest, ApiKeyRequestDelivery, ApiKeyRequestEnvironment, ApiKeyRequestHandoff, ApiKeyRequestListParams, ApiKeyRequestRequester, ApiKeyRequestStatus, ApplyGeneratedProposalOptions, ApplyGeneratedProposalResult, ArchiveAgentAliasEverywhereResult, ArchiveAgentAliasInput, AttachRuntimeToolsOptions, BatchClient, BatchListParams, BatchOptions, BatchRequest, BatchResult, BatchScheduleConfig, BatchStatus, BindSkillInput, BuiltInGraderId, CaseExpected, CheckGrader, ClaimApiKeyRequestInput, ClaimApiKeyRequestResponse, ClientConversation, ClientToken, ClientTokenConfig, ClientTokenDefinition, ClientTokenEnvironment, ClientTokenVersionPin, ClientWidgetTheme, CollectionPullResult, CollectionSchemaChange, ConditionalGetResult, ConditionalStepConfig, ContextErrorHandling, ContextFallback, CreateApiKeyRequestInput, CreateApiKeyRequestResponse, CreateClientTokenRequest, CreateClientTokenResponse, CreateEvalSuiteInput, CreatePromptData, DecisionModelCatalog, DecisionModelCatalogEntry, DecomposeCriteriaResult, DefineAgentInput, DefineEvalCaseInput, DefineEvalInput, DefineFlowInput, DefineProductInput, DefineScheduleInput, DefineSkillInput, DefineSurfaceInput, DefineToolInput, DetachedReattach, DetachedReconnectOptions, DispatchClient, DispatchEvent, DispatchOptions, EnsureAgentConverged, EnsureAgentOptions, EnsureAgentPlan, EnsureAgentResult, EnsureClientTokenConverged, EnsureClientTokenOptions, EnsureClientTokenPlan, EnsureClientTokenResult, EnsureCollectionConverged, EnsureCollectionOptions, EnsureCollectionPlan, EnsureCollectionResult, EnsureEvalApplyOptions, EnsureEvalOptions, EnsureEvalPlan, EnsureEvalResult, EnsureFlowConverged, EnsureFlowOptions, EnsureFlowPlan, EnsureFlowResult, EnsureFpoOptions, EnsureFpoResult, EnsureProductConverged, EnsureProductOptions, EnsureProductPlan, EnsureProductResult, EnsureQuestionSetConverged, EnsureQuestionSetOptions, EnsureQuestionSetPlan, EnsureQuestionSetResult, EnsureScheduleConverged, EnsureScheduleOptions, EnsureSchedulePlan, EnsureScheduleResult, EnsureSkillConverged, EnsureSkillOptions, EnsureSkillPlan, EnsureSkillResult, EnsureSurfaceConverged, EnsureSurfaceOptions, EnsureSurfacePlan, EnsureSurfaceResult, EnsureToolConverged, EnsureToolOptions, EnsureToolPlan, EnsureToolResult, ErrorHandlingMode, EvalAgentSelector, EvalAgentTargetResolution, EvalCaseDefinition, EvalCaseInput, EvalCaseProposal, EvalCaseProposalAccepted, EvalCaseProposalListResult, EvalCasesGenerated, EvalClient, EvalDefinition, EvalEndUserIdentity, EvalIdentityDefaults, EvalListParams, EvalMessage, EvalOptions, EvalProposalSource, EvalProposalStatus, EvalProposedCase, EvalPullResult, EvalRecord, EvalRequest, EvalResult, EvalRunCaseScores, EvalRunConfig, EvalRunEvidence, EvalRunScores, EvalStatus, EvalSuiteCase, EvalSuiteCaseInput, EvalSuiteCoverage, EvalSuiteDetail, EvalSuiteLatestRun, EvalSuiteListResult, EvalSuiteRunQueued, EvalSuiteRunResult, EvalSuiteSummary, EvalTarget, EvalTenantIdentity, ExecutionStreamEvent, ExecutionTerminalOutcome, ExportSimulationDesignBriefResponse, FallbackFailEvent, FallbackStartEvent, FallbackSuccessEvent, FallbackTrigger, FallbackTriggerType, FallbacksExhaustedEvent, FallbacksInitiatedEvent, FetchUrlStepConfig, FieldFormat, FlowCompleteEvent, FlowConfig, FlowDefinition, FlowDefinitionStep, FlowErrorEvent, FlowFallback, FlowInlineEvalInput, FlowPausedEvent, FlowPullResult, FlowStartEvent, FlowStreamEvent, FlowSummary, FlowValidationClient, FlowValidationIssue, FlowValidationResult, FpoEntityOutcome, FpoInput, GenerateEmbeddingStepConfig, GenerateEvalCasesInput, GeneratedRuntimeToolGateDecision, GeneratedRuntimeToolGateOptions, GetApiKeyRequestResponse, GetRecordStepConfig, GetSimulationEpisodeResponse, Gradeable, GraderConfig, GraderOutcome, GraderSeverity, HumanVerdict, JudgeAttemptDiagnostic, JudgeDiagnostics, JudgeParseError, ListAgentAliasesOptions, ListAgentDeploymentsOptions, ListConversationsResponse, ListRecordsStepConfig, ListSimulationEpisodesParams, ListSimulationEpisodesResponse, ListSimulationToolExchangesParams, ListSimulationToolExchangesResponse, LoopStepConfig, ManagedDeploymentAccepted, ManagedDeploymentCapability, ManagedDeploymentConfig, ManagedDeploymentCredentialAuthority, ManagedDeploymentDefinition, ManagedDeploymentDesiredSpec, ManagedDeploymentHealth, ManagedDeploymentLanguage, ManagedDeploymentProfileIdentity, ManagedDeploymentResource, ManagedDeploymentRetention, ManagedDeploymentRuntimeProfile, ManagedDeploymentSleepPolicy, ManagedDeploymentUpdateOptions, ManagedDeploymentWriteOptions, ManagedDeploymentWriteRequest, Message, MessageFallback, ModelFallback, ModelOverride, OrganizationAgentAlias, OrganizationAgentAliasList, PersistedGraderOutcome, PrepareAgentPromotionInput, PreviewSimulationVariantRequest, PreviewSimulationVariantResponse, ProductDefinition, ProductPullResult, PromoteAgentInput, PromoteAgentResult, PromptErrorHandling, PromptFallback, PromptListParams, PromptStepConfig, PullFpoResult, QuestionSetDefinition, QuestionSetPullResult, RecordCollectionDefinition, RecordCollectionValidationMode, RecordConfig, RecordFilter, RecordFilterCondition, RecordFilterGroup, RecordFilterOperator, RetrieveRecordStepConfig, RetryFallback, RollbackAgentAliasInput, RunEvalCaseResult, RunEvalInput, RunEvalResult, RunListParams, RunListResponse, RunListRow, AgentSkillBinding$1 as RuntypeAgentSkillBinding, ConditionalStepConfig$1 as RuntypeConditionalStepConfig, RuntypeConfig, FetchUrlStepConfig$1 as RuntypeFetchUrlStepConfig, FlowConfig$1 as RuntypeFlowConfig, GenerateEmbeddingStepConfig$1 as RuntypeGenerateEmbeddingStepConfig, GetRecordStepConfig$1 as RuntypeGetRecordStepConfig, ListRecordsStepConfig$1 as RuntypeListRecordsStepConfig, LoopStepConfig$1 as RuntypeLoopStepConfig, Message$1 as RuntypeMessage, ModelOverride$1 as RuntypeModelOverride, Prompt$1 as RuntypePrompt, PromptStepConfig$1 as RuntypePromptStepConfig, RecordConfig$1 as RuntypeRecordConfig, RetrieveRecordStepConfig$1 as RuntypeRetrieveRecordStepConfig, SearchStepConfig as RuntypeSearchStepConfig, SendEmailStepConfig as RuntypeSendEmailStepConfig, SendEventStepConfig as RuntypeSendEventStepConfig, SendStreamStepConfig as RuntypeSendStreamStepConfig, SetVariableStepConfig as RuntypeSetVariableStepConfig, Skill as RuntypeSkill, SkillBindingWithAgent as RuntypeSkillBindingWithAgent, SkillCapabilities as RuntypeSkillCapabilities, SkillFrontmatter as RuntypeSkillFrontmatter, SkillManifest as RuntypeSkillManifest, SkillProposal as RuntypeSkillProposal, SkillRuntypeExtensions as RuntypeSkillRuntypeExtensions, SkillVersion as RuntypeSkillVersion, TransformDataStepConfig as RuntypeTransformDataStepConfig, UpsertFlowConfig as RuntypeUpsertFlowConfig, UpsertRecordStepConfig as RuntypeUpsertRecordStepConfig, VectorSearchStepConfig as RuntypeVectorSearchStepConfig, WaitUntilStepConfig as RuntypeWaitUntilStepConfig, ScheduleDefinition, ScheduleDefinitionMessage, ScheduleEnsureTransport, SchedulePullResult, SearchStepConfig$1 as SearchStepConfig, SendEmailStepConfig$1 as SendEmailStepConfig, SendEventStepConfig$1 as SendEventStepConfig, SendStreamStepConfig$1 as SendStreamStepConfig, SetVariableStepConfig$1 as SetVariableStepConfig, SimulationDesignBrief, SimulationEpisode, SimulationEpisodeMetrics, SimulationEpisodeScore, SimulationEpisodeStatus, SimulationEpisodeTranscript, SimulationServedBy, SimulationServedByCounts, SimulationTermination, SimulationToolCallFacts, SimulationToolExchange, SimulationToolProfile, SimulationTranscriptMessage, SimulationTurnLayerFacts, SkillDefinition, SkillListPage, SkillListPagination, SkillListParams, SkillManifestInput, SkillMarkdownInput, SkillOrigin, SkillProposalStatus, SkillPullResult, SkillStatus, SkillTrustLevel, SkillVersionStatus, SkillWithVersion, SkillWriteInput, StepCompleteEvent, StepDeltaEvent, StepFallback, StepFieldMeta, StepStartEvent, StepWaitingLocalEvent, StreamCallbacks, StreamConsumeOptions, StreamEvent, StreamEventOf, SurfaceDefinition, SurfaceDefinitionStatus, SurfaceDefinitionType, SurfacePullResult, ToolDefinition, ToolDefinitionType, ToolPullResult, TransformDataStepConfig$1 as TransformDataStepConfig, UpdateClientTokenRequest, UpdateEvalCaseInput, UpdateEvalSuiteInput, UpdatePromptData, UpdateSimulationTargetRequest, UpdateSimulationVariantRequest, UploadSimulationToolExchangesRequest, UploadedSimulationToolExchange, UpsertFlowConfig$1 as UpsertFlowConfig, UpsertRecordStepConfig$1 as UpsertRecordStepConfig, ValidateAgentPromotionInput, VectorSearchStepConfig$1 as VectorSearchStepConfig, WaitUntilStepConfig$1 as WaitUntilStepConfig, WorkflowCompileDeps, WorkflowCompletionCriteriaConfig, WorkflowConfig, WorkflowConfigFactory, WorkflowHookEntry, WorkflowHookKind, WorkflowHookRef, WorkflowHookSignatures, WorkflowMilestoneConfig, WorkflowPolicyConfig, WorkflowRecoveryConfig, WorkflowSlot };
77461
+ export type { A2AHandlerOptions, A2ARunInput, A2ATextMessage, AIGrader, ActivateAgentAliasInput, ActivateAgentPromotionInput, AgentAlias, AgentAliasActivation, AgentAliasArchiveFailure, AgentAliasArchived, AgentAliasList, AgentAliasTransport, AgentCapabilityChange, AgentCapabilityDeclaration, AgentDefinition, AgentDefinitionConfig, AgentDeploymentList, AgentDeploymentPromotion, AgentDeploymentReceipt, AgentPromotionManifest, AgentPromotionTransport, AgentPromotionValidation, AgentPullResult, AgentSkillBinding, AgentSkillBindingChange, AgentStreamEvent, ApiKeyRequest, ApiKeyRequestDelivery, ApiKeyRequestEnvironment, ApiKeyRequestHandoff, ApiKeyRequestListParams, ApiKeyRequestRequester, ApiKeyRequestStatus, ApplyGeneratedProposalOptions, ApplyGeneratedProposalResult, ArchiveAgentAliasEverywhereResult, ArchiveAgentAliasInput, AttachRuntimeToolsOptions, BatchClient, BatchListParams, BatchOptions, BatchRequest, BatchResult, BatchScheduleConfig, BatchStatus, BindSkillInput, BuiltInGraderId, CaseExpected, CheckGrader, ClaimApiKeyRequestInput, ClaimApiKeyRequestResponse, ClientConversation, ClientToken, ClientTokenConfig, ClientTokenDefinition, ClientTokenEnvironment, ClientTokenVersionPin, ClientWidgetTheme, CollectionPullResult, CollectionSchemaChange, ConditionalGetResult, ConditionalStepConfig, ContextErrorHandling, ContextFallback, CreateApiKeyRequestInput, CreateApiKeyRequestResponse, CreateClientTokenRequest, CreateClientTokenResponse, CreateEvalSuiteInput, CreatePromptData, DecisionModelCatalog, DecisionModelCatalogEntry, DecomposeCriteriaResult, DefineAgentInput, DefineEvalCaseInput, DefineEvalInput, DefineFlowInput, DefineProductInput, DefineScheduleInput, DefineSkillInput, DefineSurfaceInput, DefineToolInput, DetachedReattach, DetachedReconnectOptions, DispatchClient, DispatchEvent, DispatchOptions, EnsureAgentConverged, EnsureAgentOptions, EnsureAgentPlan, EnsureAgentResult, EnsureClientTokenConverged, EnsureClientTokenOptions, EnsureClientTokenPlan, EnsureClientTokenResult, EnsureCollectionConverged, EnsureCollectionOptions, EnsureCollectionPlan, EnsureCollectionResult, EnsureEvalApplyOptions, EnsureEvalOptions, EnsureEvalPlan, EnsureEvalResult, EnsureFlowConverged, EnsureFlowOptions, EnsureFlowPlan, EnsureFlowResult, EnsureFpoOptions, EnsureFpoResult, EnsureProductConverged, EnsureProductOptions, EnsureProductPlan, EnsureProductResult, EnsureQuestionSetConverged, EnsureQuestionSetOptions, EnsureQuestionSetPlan, EnsureQuestionSetResult, EnsureScheduleConverged, EnsureScheduleOptions, EnsureSchedulePlan, EnsureScheduleResult, EnsureSkillConverged, EnsureSkillOptions, EnsureSkillPlan, EnsureSkillResult, EnsureSurfaceConverged, EnsureSurfaceOptions, EnsureSurfacePlan, EnsureSurfaceResult, EnsureToolConverged, EnsureToolOptions, EnsureToolPlan, EnsureToolResult, ErrorHandlingMode, EvalAgentSelector, EvalAgentTargetResolution, EvalCaseDefinition, EvalCaseInput, EvalCaseProposal, EvalCaseProposalAccepted, EvalCaseProposalListResult, EvalCasesGenerated, EvalClient, EvalDefinition, EvalEndUserIdentity, EvalIdentityDefaults, EvalListParams, EvalMessage, EvalOptions, EvalProposalSource, EvalProposalStatus, EvalProposedCase, EvalPullResult, EvalRecord, EvalRequest, EvalResult, EvalRunCaseScores, EvalRunConfig, EvalRunEvidence, EvalRunScores, EvalStatus, EvalSuiteCase, EvalSuiteCaseInput, EvalSuiteCoverage, EvalSuiteDetail, EvalSuiteLatestRun, EvalSuiteListResult, EvalSuiteRunQueued, EvalSuiteRunResult, EvalSuiteSummary, EvalTarget, EvalTenantIdentity, ExecutionStreamEvent, ExecutionTerminalOutcome, ExportSimulationDesignBriefResponse, ExtractionModelCatalog, ExtractionModelCatalogEntry, FallbackFailEvent, FallbackStartEvent, FallbackSuccessEvent, FallbackTrigger, FallbackTriggerType, FallbacksExhaustedEvent, FallbacksInitiatedEvent, FetchUrlStepConfig, FieldFormat, FlowCompleteEvent, FlowConfig, FlowDefinition, FlowDefinitionStep, FlowErrorEvent, FlowFallback, FlowInlineEvalInput, FlowPausedEvent, FlowPullResult, FlowStartEvent, FlowStreamEvent, FlowSummary, FlowValidationClient, FlowValidationIssue, FlowValidationResult, FpoEntityOutcome, FpoInput, GenerateEmbeddingStepConfig, GenerateEvalCasesInput, GeneratedRuntimeToolGateDecision, GeneratedRuntimeToolGateOptions, GetApiKeyRequestResponse, GetRecordStepConfig, GetSimulationEpisodeResponse, Gradeable, GraderConfig, GraderOutcome, GraderSeverity, HumanVerdict, JudgeAttemptDiagnostic, JudgeDiagnostics, JudgeParseError, ListAgentAliasesOptions, ListAgentDeploymentsOptions, ListConversationsResponse, ListRecordsStepConfig, ListSimulationEpisodesParams, ListSimulationEpisodesResponse, ListSimulationToolExchangesParams, ListSimulationToolExchangesResponse, LoopStepConfig, ManagedDeploymentAccepted, ManagedDeploymentCapability, ManagedDeploymentConfig, ManagedDeploymentCredentialAuthority, ManagedDeploymentDefinition, ManagedDeploymentDesiredSpec, ManagedDeploymentHealth, ManagedDeploymentLanguage, ManagedDeploymentProfileIdentity, ManagedDeploymentResource, ManagedDeploymentRetention, ManagedDeploymentRuntimeProfile, ManagedDeploymentSleepPolicy, ManagedDeploymentUpdateOptions, ManagedDeploymentWriteOptions, ManagedDeploymentWriteRequest, Message, MessageFallback, ModelFallback, ModelOverride, OrganizationAgentAlias, OrganizationAgentAliasList, PersistedGraderOutcome, PrepareAgentPromotionInput, PreviewSimulationVariantRequest, PreviewSimulationVariantResponse, ProductDefinition, ProductPullResult, PromoteAgentInput, PromoteAgentResult, PromptErrorHandling, PromptFallback, PromptListParams, PromptStepConfig, PullFpoResult, QuestionSetDefinition, QuestionSetPullResult, RecordCollectionDefinition, RecordCollectionValidationMode, RecordConfig, RecordFilter, RecordFilterCondition, RecordFilterGroup, RecordFilterOperator, RetrieveRecordStepConfig, RetryFallback, RollbackAgentAliasInput, RunEvalCaseResult, RunEvalInput, RunEvalResult, RunListParams, RunListResponse, RunListRow, AgentSkillBinding$1 as RuntypeAgentSkillBinding, ConditionalStepConfig$1 as RuntypeConditionalStepConfig, RuntypeConfig, FetchUrlStepConfig$1 as RuntypeFetchUrlStepConfig, FlowConfig$1 as RuntypeFlowConfig, GenerateEmbeddingStepConfig$1 as RuntypeGenerateEmbeddingStepConfig, GetRecordStepConfig$1 as RuntypeGetRecordStepConfig, ListRecordsStepConfig$1 as RuntypeListRecordsStepConfig, LoopStepConfig$1 as RuntypeLoopStepConfig, Message$1 as RuntypeMessage, ModelOverride$1 as RuntypeModelOverride, Prompt$1 as RuntypePrompt, PromptStepConfig$1 as RuntypePromptStepConfig, RecordConfig$1 as RuntypeRecordConfig, RetrieveRecordStepConfig$1 as RuntypeRetrieveRecordStepConfig, SearchStepConfig as RuntypeSearchStepConfig, SendEmailStepConfig as RuntypeSendEmailStepConfig, SendEventStepConfig as RuntypeSendEventStepConfig, SendStreamStepConfig as RuntypeSendStreamStepConfig, SetVariableStepConfig as RuntypeSetVariableStepConfig, Skill as RuntypeSkill, SkillBindingWithAgent as RuntypeSkillBindingWithAgent, SkillCapabilities as RuntypeSkillCapabilities, SkillFrontmatter as RuntypeSkillFrontmatter, SkillManifest as RuntypeSkillManifest, SkillProposal as RuntypeSkillProposal, SkillRuntypeExtensions as RuntypeSkillRuntypeExtensions, SkillVersion as RuntypeSkillVersion, TransformDataStepConfig as RuntypeTransformDataStepConfig, UpsertFlowConfig as RuntypeUpsertFlowConfig, UpsertRecordStepConfig as RuntypeUpsertRecordStepConfig, VectorSearchStepConfig as RuntypeVectorSearchStepConfig, WaitUntilStepConfig as RuntypeWaitUntilStepConfig, ScheduleDefinition, ScheduleDefinitionMessage, ScheduleEnsureTransport, SchedulePullResult, SearchStepConfig$1 as SearchStepConfig, SendEmailStepConfig$1 as SendEmailStepConfig, SendEventStepConfig$1 as SendEventStepConfig, SendStreamStepConfig$1 as SendStreamStepConfig, SetVariableStepConfig$1 as SetVariableStepConfig, SimulationDesignBrief, SimulationEpisode, SimulationEpisodeMetrics, SimulationEpisodeScore, SimulationEpisodeStatus, SimulationEpisodeTranscript, SimulationServedBy, SimulationServedByCounts, SimulationTermination, SimulationToolCallFacts, SimulationToolExchange, SimulationToolProfile, SimulationTranscriptMessage, SimulationTurnLayerFacts, SkillDefinition, SkillListPage, SkillListPagination, SkillListParams, SkillManifestInput, SkillMarkdownInput, SkillOrigin, SkillProposalStatus, SkillPullResult, SkillStatus, SkillTrustLevel, SkillVersionStatus, SkillWithVersion, SkillWriteInput, StepCompleteEvent, StepDeltaEvent, StepFallback, StepFieldMeta, StepStartEvent, StepWaitingLocalEvent, StreamCallbacks, StreamConsumeOptions, StreamEvent, StreamEventOf, SurfaceDefinition, SurfaceDefinitionStatus, SurfaceDefinitionType, SurfacePullResult, ToolDefinition, ToolDefinitionType, ToolPullResult, TransformDataStepConfig$1 as TransformDataStepConfig, UpdateClientTokenRequest, UpdateEvalCaseInput, UpdateEvalSuiteInput, UpdatePromptData, UpdateSimulationTargetRequest, UpdateSimulationVariantRequest, UploadSimulationToolExchangesRequest, UploadedSimulationToolExchange, UpsertFlowConfig$1 as UpsertFlowConfig, UpsertRecordStepConfig$1 as UpsertRecordStepConfig, ValidateAgentPromotionInput, VectorSearchStepConfig$1 as VectorSearchStepConfig, WaitUntilStepConfig$1 as WaitUntilStepConfig, WorkflowCompileDeps, WorkflowCompletionCriteriaConfig, WorkflowConfig, WorkflowConfigFactory, WorkflowHookEntry, WorkflowHookKind, WorkflowHookRef, WorkflowHookSignatures, WorkflowMilestoneConfig, WorkflowPolicyConfig, WorkflowRecoveryConfig, WorkflowSlot };
77160
77462
  export {}
package/dist/index.mjs CHANGED
@@ -1474,6 +1474,10 @@ var FlowBuilder = class {
1474
1474
  memorySummary(config) {
1475
1475
  return this.addRawStep("memory-summary", config);
1476
1476
  }
1477
+ /** Add an extract step: typed fields read out of text and images by an extraction model. */
1478
+ extract(config) {
1479
+ return this.addRawStep("extract", config);
1480
+ }
1477
1481
  /**
1478
1482
  * Attach a subagent runtime tool to the most recent prompt step.
1479
1483
  *
@@ -10638,6 +10642,10 @@ var RuntypeFlowBuilder = class {
10638
10642
  memorySummary(config) {
10639
10643
  return this.addRawStep("memory-summary", config);
10640
10644
  }
10645
+ /** Add an extract step: typed fields read out of text and images by an extraction model. */
10646
+ extract(config) {
10647
+ return this.addRawStep("extract", config);
10648
+ }
10641
10649
  /**
10642
10650
  * Set a run condition (when predicate) on the last added step.
10643
10651
  * If the expression evaluates to falsy at runtime, the step is skipped.
@@ -14609,7 +14617,7 @@ function transformQueryParams(params) {
14609
14617
  }
14610
14618
  //#endregion
14611
14619
  //#region src/version.ts
14612
- const SDK_VERSION = "11.3.1";
14620
+ const SDK_VERSION = "11.4.0";
14613
14621
  /**
14614
14622
  * Canonical client identity the API uses for attribution
14615
14623
  * (`detectActorSource` in apps/api/src/lib/audit-log.ts keys `'sdk'` off the
@@ -14649,6 +14657,10 @@ var RuntypeClient = class {
14649
14657
  async listDecisionModels() {
14650
14658
  return this.get("/decision-models");
14651
14659
  }
14660
+ /** List supported extraction models; spending policy is checked at execution. */
14661
+ async listExtractionModels() {
14662
+ return this.get("/extraction-models");
14663
+ }
14652
14664
  constructor(config = {}) {
14653
14665
  const baseUrl = config.baseUrl || "https://api.runtype.com";
14654
14666
  this.apiVersion = config.apiVersion || "v1";
@@ -16787,6 +16799,45 @@ const STEP_FIELD_REGISTRY = {
16787
16799
  key: "defaultValue",
16788
16800
  format: "value"
16789
16801
  }
16802
+ ],
16803
+ extract: [
16804
+ {
16805
+ key: "model",
16806
+ format: "json"
16807
+ },
16808
+ {
16809
+ key: "state",
16810
+ format: "template"
16811
+ },
16812
+ {
16813
+ key: "images",
16814
+ format: "value"
16815
+ },
16816
+ {
16817
+ key: "fields",
16818
+ format: "value"
16819
+ },
16820
+ {
16821
+ key: "referenceDate",
16822
+ format: "json"
16823
+ },
16824
+ {
16825
+ key: "options",
16826
+ format: "value"
16827
+ },
16828
+ {
16829
+ key: "outputVariable",
16830
+ format: "json"
16831
+ },
16832
+ {
16833
+ key: "errorHandling",
16834
+ format: "value",
16835
+ skipDefault: "fail"
16836
+ },
16837
+ {
16838
+ key: "defaultValue",
16839
+ format: "value"
16840
+ }
16790
16841
  ]
16791
16842
  };
16792
16843
  /**
@@ -16824,7 +16875,8 @@ const STEP_TYPE_TO_METHOD = {
16824
16875
  "generate-pdf": "generatePdf",
16825
16876
  "save-memory": "saveMemory",
16826
16877
  "recall-memory": "recallMemory",
16827
- "memory-summary": "memorySummary"
16878
+ "memory-summary": "memorySummary",
16879
+ extract: "extract"
16828
16880
  };
16829
16881
  //#endregion
16830
16882
  export { AgentAliasDependencyError, AgentAliasNotFoundError, AgentAliasRevisionMismatchError, AgentAliasRevisionRequiredError, AgentAliasesNamespace, AgentDeploymentsNamespace, AgentDriftError, AgentEnsureConflictError, AgentPromotionError, AgentVersionsEndpoint, AgentsEndpoint, AgentsNamespace, AnalyticsEndpoint, ApiKeyRequestsEndpoint, ApiKeysEndpoint, BatchBuilder, BatchesNamespace, BillingEndpoint, ChatEndpoint, ClientBatchBuilder, ClientEvalBuilder, ClientFlowBuilder, ClientTokenDriftError, ClientTokenEnsureError, ClientTokensEndpoint, ClientTokensNamespace, CollectionDriftError, CollectionEnsureConflictError, CollectionsEndpoint, ContextTemplatesEndpoint, ConversationsEndpoint, DEFAULT_MAX_DETACHED_RECONNECTS, DEFAULT_RECOVERY_AFTER_EMPTY_SESSIONS, DEFAULT_STALL_STOP_AFTER, DispatchEndpoint, ENSURE_RELEASE_DEPLOY_CONFLICT_MESSAGE, EvalBuilder, EvalDriftError, EvalEndpoint, EvalEnsureConflictError, EvalRunner, EvalSuitesNamespace, EvalsNamespace, ExecutionsEndpoint, ExecutionsNamespace, FlowBuilder, FlowDriftError, FlowEnsureConflictError, FlowResult, FlowStepsEndpoint, FlowVersionsEndpoint, FlowsEndpoint, FlowsNamespace, FpoDriftError, IntegrationsEndpoint, LEDGER_ARTIFACT_LINE_PREFIX, LIVE_AGENT_ALIAS, LogsEndpoint, ModelConfigsEndpoint, ProductDriftError, ProductEnsureConflictError, ProductsNamespace, PromptsEndpoint, PromptsNamespace, ProviderKeysEndpoint, QuestionSetDriftError, QuestionSetEnsureConflictError, QuestionSetsNamespace, RUNTYPE_CLIENT_KIND, RecordsEndpoint, RunsNamespace, Runtype, RuntypeApiError, RuntypeClient, RuntypeFlowBuilder, SDK_USER_AGENT, SDK_VERSION, STEP_FIELD_REGISTRY, STEP_TYPE_TO_METHOD, SandboxDeploymentsNamespace, ScheduleDriftError, ScheduleEnsureConflictError, SchedulesEndpoint, SecretsEndpoint, SimulationsEndpoint, SkillDriftError, SkillEnsureConflictError, SkillProposalsNamespace, SkillsNamespace, SurfaceDriftError, SurfaceEnsureConflictError, SurfacesEndpoint, SurfacesNamespace, ToolApprovalGrantsEndpoint, ToolDriftError, ToolEnsureConflictError, ToolsEndpoint, ToolsNamespace, TypedRecordsScope, UNIFIED_EVENTS_QUERY, UsersEndpoint, activateAgentPromotion, agentAliasErrorCode, applyGeneratedRuntimeToolProposalToDispatchRequest, attachRuntimeToolsToDispatchRequest, buildAgentAdmissionHeaders, buildEmptySessionNudge, buildExecutionEventsPath, buildGeneratedRuntimeToolGateOutput, buildLedgerOffloadReference, buildObservationMaskMarker, buildPolicyGuidance, buildSendViewOffloadMarker, calledTool, combineAbortSignals, compileWorkflowConfig, completed, computeAgentContentHash, computeEvalContentHash, computeFlowContentHash, computeFpoContentHash, computeProductContentHash, computeQuestionSetContentHash, computeRecordCollectionContentHash, computeScheduleContentHash, computeScheduleDefinitionHash, computeSkillContentHash, computeSurfaceContentHash, computeToolContentHash, contains, cost, createA2AHandler, createAgentEventTranslator, createClient, createExternalTool, createFlowEventTranslator, defaultWorkflow, defaultWorkflowConfig, defineAgent, defineEval, defineFlow, defineFpo, definePlaybook, defineProduct, defineQuestionSet, defineSchedule, defineSkill, defineSurface, defineTool, deployWorkflow, ensureDefaultWorkflowHooks, ensureEval, ensureFpo, ensureSchedule, evaluateGeneratedRuntimeToolProposal, extractDeclaredToolResultChars, fpoPlanHasDrift, gameWorkflow, getDefaultPlanPath, getLikelySupportingCandidatePaths, interpolateWorkflowTemplate, isBuiltinToolExecuteResponse, isCatalogClientToolRef, isDiscoveryToolName, isMarathonArtifactPath, isPreservationSensitiveTask, isUnifiedEventType, isWorkflowHookRef, jsonField, judge, judges, latency, length, listWorkflowHooks, matchesExpected, maxToolCalls, noError, normalizeAgentDefinition, normalizeCandidatePath, normalizeFpoDefinition, normalizeProductDefinition, normalizeQuestionSetDefinition, normalizeRecordCollectionDefinition, normalizeScheduleContent, normalizeSkillDefinition, normalizeSurfaceDefinition, normalizeToolDefinition, notCalledTool, notContains, parseFinalBuffer, parseLedgerArtifactRelativePath, parseOffloadedOutputId, parseSSEChunk, prepareAgentPromotion, processStream, promoteAgent, promotionIdempotencyKey, pullEval, pullFpo, pullSchedule, ranStep, regex, registerWorkflowHook, resolveStallStopAfter, resolveWorkflowHook, runEvalSuite, sanitizeTaskSlug, shouldInjectEmptySessionNudge, shouldRequestModelEscalation, stepOrder, streamEvents, toolOrder, unregisterWorkflowHook, usedNoTools, validJson, validateAgentPromotion, withDetachedReconnect, withUnifiedEvents };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runtypelabs/sdk",
3
- "version": "11.3.1",
3
+ "version": "11.4.0",
4
4
  "type": "module",
5
5
  "description": "TypeScript SDK for the Runtype API with fluent methods. Use it to quickly realize AI products, agents, and workflows.",
6
6
  "main": "dist/index.cjs",
@@ -24,7 +24,7 @@
24
24
  ],
25
25
  "dependencies": {},
26
26
  "devDependencies": {
27
- "@runtypelabs/shared": "3.90.0",
27
+ "@runtypelabs/shared": "3.91.0",
28
28
  "openapi-typescript": "^7.13.0",
29
29
  "tsdown": "^0.23.0",
30
30
  "typescript": "^6.0.3",