@runtypelabs/sdk 9.14.0 → 9.16.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.d.cts CHANGED
@@ -2722,6 +2722,8 @@ interface paths {
2722
2722
  versionId: string;
2723
2723
  versionNumber: number | null;
2724
2724
  }[];
2725
+ /** @description Whether an execution that names no version selector already resolves this agent through its `live` alias. False means a save still changes what runs, so moving production needs a publish; true means `live` is authoritative and moving production is an alias activation. */
2726
+ liveDefault: boolean;
2725
2727
  nextCursor: string | null;
2726
2728
  };
2727
2729
  };
@@ -4547,6 +4549,7 @@ interface paths {
4547
4549
  /** @enum {string} */
4548
4550
  executionMode: "attached" | "detached";
4549
4551
  expiresAt: string | null;
4552
+ externalObservedApprovals: components["schemas"]["ExternalObservedApprovals"];
4550
4553
  finalOutput?: unknown;
4551
4554
  id: string;
4552
4555
  inputMessages?: unknown;
@@ -4874,13 +4877,25 @@ interface paths {
4874
4877
  content: {
4875
4878
  "application/json": {
4876
4879
  toolCalls: {
4880
+ /** @description ISO timestamp derived as startedAt plus executionTimeMs. Null while the call has no recorded duration. */
4881
+ completedAt: string | null;
4877
4882
  createdAt: string;
4878
4883
  errorMessage: string | null;
4879
4884
  executionTimeMs: number | null;
4880
4885
  id: string;
4886
+ /** @description Recorded tool input. Replaced by { truncated: true, preview } when its JSON text exceeds 16 KiB; the per-call detail endpoint always returns the full value. */
4887
+ inputParameters?: unknown;
4888
+ inputTruncated: boolean;
4881
4889
  iteration: number | null;
4882
4890
  model: string | null;
4891
+ /** @description Recorded tool output. Replaced by { truncated: true, preview } when its JSON text exceeds 16 KiB; the per-call detail endpoint always returns the full value. */
4892
+ outputResult?: unknown;
4893
+ outputTruncated: boolean;
4894
+ /** @description ISO timestamp the tool call started. Same instant as createdAt: the row is inserted when the tool starts, then updated in place with its result. */
4895
+ startedAt: string;
4883
4896
  status: string;
4897
+ /** @description The model's own tool-call id (tool_executions.external_tool_call_id), matching the toolCallId a log row carries. Null for a run whose tool rows were written by this API rather than ingested from an external trace. */
4898
+ toolCallId: string | null;
4884
4899
  toolDescription: string | null;
4885
4900
  toolName: string;
4886
4901
  }[];
@@ -5463,6 +5478,131 @@ interface paths {
5463
5478
  patch?: never;
5464
5479
  trace?: never;
5465
5480
  };
5481
+ "/v1/agents/{id}/run-insights": {
5482
+ parameters: {
5483
+ query?: never;
5484
+ header?: never;
5485
+ path?: never;
5486
+ cookie?: never;
5487
+ };
5488
+ /**
5489
+ * Roll up recent runs of an agent
5490
+ * @description Aggregates the agent's most recent runs into per-version and per-tool counts, average tokens and cost, and the attached tools that were never called in the window. Backs the run-detail advice strip; the counts are evidence about a version, not billing figures.
5491
+ */
5492
+ get: {
5493
+ parameters: {
5494
+ query?: {
5495
+ /** @description How many recent runs to roll up (default 50, max 200) */
5496
+ limit?: string;
5497
+ };
5498
+ header?: never;
5499
+ path: {
5500
+ id: string;
5501
+ };
5502
+ cookie?: never;
5503
+ };
5504
+ requestBody?: never;
5505
+ responses: {
5506
+ /** @description Run insights for the agent */
5507
+ 200: {
5508
+ headers: {
5509
+ [name: string]: unknown;
5510
+ };
5511
+ content: {
5512
+ "application/json": {
5513
+ data: {
5514
+ attachedTools: string[];
5515
+ /** @description Runs in the window on that version, the only runs neverCalledTools is judged over */
5516
+ attachedToolsRuns: number;
5517
+ /** @description The version attachedTools was read from; null when the agent has no published version */
5518
+ attachedToolsVersionId: string | null;
5519
+ cost: {
5520
+ avgPerRun: number;
5521
+ } | null;
5522
+ neverCalledTools: string[];
5523
+ tokens: {
5524
+ avgInputPerRun: number;
5525
+ avgPerRun: number;
5526
+ } | null;
5527
+ tools: {
5528
+ calls: number;
5529
+ failedCalls: number;
5530
+ runsUsing: number;
5531
+ toolName: string;
5532
+ }[];
5533
+ versions: {
5534
+ agentVersionId: string | null;
5535
+ failed: number;
5536
+ label: string | null;
5537
+ runs: number;
5538
+ /** @description The immutable version number, for ordering; labels are user-set */
5539
+ versionNumber: number | null;
5540
+ }[];
5541
+ window: {
5542
+ from: string | null;
5543
+ runs: number;
5544
+ to: string | null;
5545
+ };
5546
+ };
5547
+ success: boolean;
5548
+ };
5549
+ };
5550
+ };
5551
+ /** @description Invalid request */
5552
+ 400: {
5553
+ headers: {
5554
+ [name: string]: unknown;
5555
+ };
5556
+ content: {
5557
+ "application/json": components["schemas"]["Error"];
5558
+ };
5559
+ };
5560
+ /** @description Unauthorized */
5561
+ 401: {
5562
+ headers: {
5563
+ [name: string]: unknown;
5564
+ };
5565
+ content: {
5566
+ "application/json": components["schemas"]["Error"];
5567
+ };
5568
+ };
5569
+ /** @description Insufficient permissions */
5570
+ 403: {
5571
+ headers: {
5572
+ [name: string]: unknown;
5573
+ };
5574
+ content: {
5575
+ "application/json": components["schemas"]["Error"];
5576
+ };
5577
+ };
5578
+ /** @description Agent not found */
5579
+ 404: {
5580
+ headers: {
5581
+ [name: string]: unknown;
5582
+ };
5583
+ content: {
5584
+ "application/json": components["schemas"]["Error"];
5585
+ };
5586
+ };
5587
+ /** @description Internal server error */
5588
+ 500: {
5589
+ headers: {
5590
+ [name: string]: unknown;
5591
+ };
5592
+ content: {
5593
+ "application/json": components["schemas"]["Error"];
5594
+ };
5595
+ };
5596
+ };
5597
+ };
5598
+ put?: never;
5599
+ post?: never;
5600
+ delete?: never;
5601
+ options?: never;
5602
+ head?: never;
5603
+ patch?: never;
5604
+ trace?: never;
5605
+ };
5466
5606
  "/v1/agents/{id}/runs": {
5467
5607
  parameters: {
5468
5608
  query?: never;
@@ -25040,7 +25180,7 @@ interface paths {
25040
25180
  content: {
25041
25181
  "application/json": {
25042
25182
  data: {
25043
- /** @description True when part of the window could not be read, so entries are missing: historical (R2 SQL) logs were unavailable, or the recent hot tier failed. Rows the hot tier evicted are served from R2 instead, so an eviction sets this only for the part too recent for R2 to have ingested. Absent on healthy responses. */
25183
+ /** @description True when part of the window could not be read, so entries may be missing. Evicted ordinary rows are recovered from R2 when old enough; receipt-backed recovery remains degraded when source time cannot prove ingestion. Absent on healthy responses. */
25044
25184
  degraded?: boolean;
25045
25185
  entries: {
25046
25186
  [key: string]: unknown;
@@ -25233,7 +25373,7 @@ interface paths {
25233
25373
  byType: {
25234
25374
  [key: string]: number;
25235
25375
  };
25236
- /** @description True when part of the window could not be read, so counts are partial: historical (R2 SQL) counts were unavailable, or the recent hot tier failed. Rows the hot tier evicted are counted from R2 instead, so an eviction sets this only for the part too recent for R2 to have ingested. Absent on healthy responses, which are the only ones cached. */
25376
+ /** @description True when part of the window could not be read, so counts may be partial. Evicted ordinary rows are counted from R2 when old enough; receipt-backed recovery remains degraded when source time cannot prove ingestion. Absent on healthy responses, which are the only ones cached. */
25237
25377
  degraded?: boolean;
25238
25378
  histogram: {
25239
25379
  bucket: string;
@@ -25431,6 +25571,84 @@ interface paths {
25431
25571
  patch?: never;
25432
25572
  trace?: never;
25433
25573
  };
25574
+ "/v1/logs/trace/execution/{executionId}/children": {
25575
+ parameters: {
25576
+ query?: never;
25577
+ header?: never;
25578
+ path?: never;
25579
+ cookie?: never;
25580
+ };
25581
+ /**
25582
+ * List child executions of a run
25583
+ * @description Lists the subagent runs whose `parentExecutionId` is this execution, each keyed back to the tool call that spawned it. Fetch a child tree by passing its `executionId` to the trace route.
25584
+ */
25585
+ get: {
25586
+ parameters: {
25587
+ query?: never;
25588
+ header?: never;
25589
+ path: {
25590
+ /** @description Runtime execution_id / executionSessionId of the parent run */
25591
+ executionId: string;
25592
+ };
25593
+ cookie?: never;
25594
+ };
25595
+ requestBody?: never;
25596
+ responses: {
25597
+ /** @description Child executions returned */
25598
+ 200: {
25599
+ headers: {
25600
+ [name: string]: unknown;
25601
+ };
25602
+ content: {
25603
+ "application/json": {
25604
+ data: {
25605
+ completedAt: string | null;
25606
+ executionId: string;
25607
+ parentToolCallId: string | null;
25608
+ startedAt: string | null;
25609
+ status: string;
25610
+ }[];
25611
+ success: boolean;
25612
+ };
25613
+ };
25614
+ };
25615
+ /** @description Invalid request */
25616
+ 400: {
25617
+ headers: {
25618
+ [name: string]: unknown;
25619
+ };
25620
+ content: {
25621
+ "application/json": components["schemas"]["Error"];
25622
+ };
25623
+ };
25624
+ /** @description Unauthorized */
25625
+ 401: {
25626
+ headers: {
25627
+ [name: string]: unknown;
25628
+ };
25629
+ content: {
25630
+ "application/json": components["schemas"]["Error"];
25631
+ };
25632
+ };
25633
+ /** @description Internal server error */
25634
+ 500: {
25635
+ headers: {
25636
+ [name: string]: unknown;
25637
+ };
25638
+ content: {
25639
+ "application/json": components["schemas"]["Error"];
25640
+ };
25641
+ };
25642
+ };
25643
+ };
25644
+ put?: never;
25645
+ post?: never;
25646
+ delete?: never;
25647
+ options?: never;
25648
+ head?: never;
25649
+ patch?: never;
25650
+ trace?: never;
25651
+ };
25434
25652
  "/v1/messaging/conversations": {
25435
25653
  parameters: {
25436
25654
  query?: never;
@@ -45004,6 +45222,26 @@ interface paths {
45004
45222
  patch?: never;
45005
45223
  trace?: never;
45006
45224
  };
45225
+ "/v1/telemetry/ingest-health": {
45226
+ parameters: {
45227
+ query?: never;
45228
+ header?: never;
45229
+ path?: never;
45230
+ cookie?: never;
45231
+ };
45232
+ /**
45233
+ * Inspect OTLP admission, queryability, and durable recovery debt
45234
+ * @description Owner-scoped delivery receipts retained for 30 days. Lag is acceptance to the first positive query probe, not stream ACK latency or a production SLO guarantee. Idle is not proof of sink health. No transcripts or retained payloads are returned. Requires ANALYTICS:READ or AGENTS:READ; TELEMETRY:WRITE alone is append-only.
45235
+ */
45236
+ get: operations["getOtlpIngestHealth"];
45237
+ put?: never;
45238
+ post?: never;
45239
+ delete?: never;
45240
+ options?: never;
45241
+ head?: never;
45242
+ patch?: never;
45243
+ trace?: never;
45244
+ };
45007
45245
  "/v1/tool-approval-grants": {
45008
45246
  parameters: {
45009
45247
  query?: never;
@@ -49038,6 +49276,12 @@ interface components {
49038
49276
  /** @enum {string} */
49039
49277
  targetType: "flow" | "agent";
49040
49278
  updatedAt: string;
49279
+ /** @description Non-blocking findings about this suite. `AGENT_NOT_DEPLOYED` means the target agent has no runnable `live` version, so a run that names no version selector refuses once the live default is on for the organization. */
49280
+ warnings?: {
49281
+ agentId?: string;
49282
+ code: string;
49283
+ message: string;
49284
+ }[];
49041
49285
  };
49042
49286
  EvalSuiteLatestRun: {
49043
49287
  completedAt: string | null;
@@ -49112,6 +49356,12 @@ interface components {
49112
49356
  /** @enum {string} */
49113
49357
  targetType: "flow" | "agent";
49114
49358
  updatedAt: string;
49359
+ /** @description Non-blocking findings about this suite. `AGENT_NOT_DEPLOYED` means the target agent has no runnable `live` version, so a run that names no version selector refuses once the live default is on for the organization. */
49360
+ warnings?: {
49361
+ agentId?: string;
49362
+ code: string;
49363
+ message: string;
49364
+ }[];
49115
49365
  };
49116
49366
  ExecutionStreamEvent: {
49117
49367
  agentId?: string;
@@ -49690,6 +49940,41 @@ interface components {
49690
49940
  type: "custom";
49691
49941
  value?: unknown;
49692
49942
  };
49943
+ /** @description Read-only approval observations within producer traces. Null means history unavailable; an empty lifecycle list means none observed. Structural history survives ingest-fact expiry and is retained when verbose logging is off. */
49944
+ ExternalObservedApprovals: {
49945
+ /** @enum {string} */
49946
+ availability: "observed";
49947
+ lifecycles: {
49948
+ /** @enum {string} */
49949
+ decision: "requested" | "approved" | "denied" | "conflicted";
49950
+ key: string;
49951
+ observations: {
49952
+ key: string;
49953
+ /** Format: date-time */
49954
+ observedAt?: string;
49955
+ source: {
49956
+ /** @enum {string} */
49957
+ attribute: "cloudflare.agents.tool.approval.state";
49958
+ /** @enum {string} */
49959
+ kind: "cloudflare-agents";
49960
+ spanId: string;
49961
+ traceId: string;
49962
+ };
49963
+ /** @enum {string} */
49964
+ state: "requested" | "approved" | "denied";
49965
+ }[];
49966
+ rawStates: ("requested" | "approved" | "denied")[];
49967
+ /** @enum {boolean} */
49968
+ sourceConflict?: true;
49969
+ toolCallId: string;
49970
+ toolName?: string;
49971
+ toolType?: string;
49972
+ }[];
49973
+ /** @enum {boolean} */
49974
+ truncated?: true;
49975
+ /** @enum {number} */
49976
+ version: 1;
49977
+ } | null;
49693
49978
  FlowEnsureConflict: {
49694
49979
  /** @enum {string} */
49695
49980
  code: "external_modification" | "remote_changed";
@@ -50363,6 +50648,135 @@ interface components {
50363
50648
  headers: never;
50364
50649
  pathItems: never;
50365
50650
  }
50651
+ interface operations {
50652
+ getOtlpIngestHealth: {
50653
+ parameters: {
50654
+ query?: {
50655
+ traceId?: string;
50656
+ };
50657
+ header?: never;
50658
+ path?: never;
50659
+ cookie?: never;
50660
+ };
50661
+ requestBody?: never;
50662
+ responses: {
50663
+ /** @description Admission and observed delivery health */
50664
+ 200: {
50665
+ headers: {
50666
+ [name: string]: unknown;
50667
+ };
50668
+ content: {
50669
+ "application/json": {
50670
+ admission: {
50671
+ activeRequests: number;
50672
+ availableBytes: number;
50673
+ availableRecords: number;
50674
+ maximumConcurrentRequests: number;
50675
+ };
50676
+ errors: {
50677
+ code: string;
50678
+ records: number;
50679
+ }[];
50680
+ lastAcceptedAt: string | null;
50681
+ observedAt: string;
50682
+ receiptHistoryDays: number;
50683
+ /** @enum {string} */
50684
+ status: "idle" | "observing" | "degraded" | "queryable";
50685
+ tiers: {
50686
+ canonical: {
50687
+ confirmed: number;
50688
+ maximumConfirmedLagMs: number | null;
50689
+ oldestPendingAgeMs: number | null;
50690
+ repairs: number;
50691
+ waiting: number;
50692
+ };
50693
+ hot: {
50694
+ confirmed: number;
50695
+ maximumConfirmedLagMs: number | null;
50696
+ oldestPendingAgeMs: number | null;
50697
+ repairs: number;
50698
+ waiting: number;
50699
+ };
50700
+ raw: {
50701
+ confirmed: number;
50702
+ maximumConfirmedLagMs: number | null;
50703
+ oldestPendingAgeMs: number | null;
50704
+ repairs: number;
50705
+ waiting: number;
50706
+ };
50707
+ };
50708
+ totals: {
50709
+ accepted: number;
50710
+ claimConflicts: number;
50711
+ complete: number;
50712
+ deleted: number;
50713
+ exhaustedAttempts: number;
50714
+ expired: number;
50715
+ pending: number;
50716
+ pendingBytes: number;
50717
+ suppressed: number;
50718
+ };
50719
+ trace: {
50720
+ acceptedAt: string;
50721
+ completeness: string;
50722
+ /** @description Receipt counts for this trace only; confirmations require positive tier reads, not stream acknowledgments. */
50723
+ delivery: {
50724
+ accepted: number;
50725
+ canonicalConfirmed: number;
50726
+ complete: number;
50727
+ hotConfirmed: number;
50728
+ pending: number;
50729
+ rawConfirmed: number;
50730
+ };
50731
+ diagnostics: {
50732
+ [key: string]: unknown;
50733
+ };
50734
+ expiresAt: string;
50735
+ revision: number;
50736
+ traceId: string;
50737
+ } | null;
50738
+ };
50739
+ };
50740
+ };
50741
+ /** @description Invalid trace identity */
50742
+ 400: {
50743
+ headers: {
50744
+ [name: string]: unknown;
50745
+ };
50746
+ content: {
50747
+ "application/json": components["schemas"]["Error"];
50748
+ };
50749
+ };
50750
+ /** @description Unauthenticated */
50751
+ 401: {
50752
+ headers: {
50753
+ [name: string]: unknown;
50754
+ };
50755
+ content: {
50756
+ "application/json": components["schemas"]["Error"];
50757
+ };
50758
+ };
50759
+ /** @description Read scope required */
50760
+ 403: {
50761
+ headers: {
50762
+ [name: string]: unknown;
50763
+ };
50764
+ content: {
50765
+ "application/json": components["schemas"]["Error"];
50766
+ };
50767
+ };
50768
+ /** @description Health state temporarily unavailable */
50769
+ 503: {
50770
+ headers: {
50771
+ [name: string]: unknown;
50772
+ };
50773
+ content: {
50774
+ "application/json": components["schemas"]["Error"];
50775
+ };
50776
+ };
50777
+ };
50778
+ };
50779
+ }
50366
50780
 
50367
50781
  /**
50368
50782
  * Hand-maintained, thin aliases over the GENERATED OpenAPI types.
@@ -54603,6 +55017,18 @@ interface EvalSuiteSummary {
54603
55017
  latestRun: EvalSuiteLatestRun | null;
54604
55018
  createdAt: string;
54605
55019
  updatedAt: string;
55020
+ /**
55021
+ * Non-blocking findings about this suite. `AGENT_NOT_DEPLOYED` means the
55022
+ * target agent archived its `live` alias, so a run naming no version
55023
+ * selector refuses once the live default is on for the organization.
55024
+ */
55025
+ warnings?: EvalSuiteWarning[];
55026
+ }
55027
+ /** One non-blocking finding about a suite's target. */
55028
+ interface EvalSuiteWarning {
55029
+ code: string;
55030
+ message: string;
55031
+ agentId?: string;
54606
55032
  }
54607
55033
  /** A persisted test case. */
54608
55034
  interface EvalSuiteCase {
@@ -60423,6 +60849,47 @@ interface AgentAdmissionOptions {
60423
60849
  * byte-identical to one that passes nothing.
60424
60850
  */
60425
60851
  declare function buildAgentAdmissionHeaders(options?: AgentAdmissionOptions): Record<string, string>;
60852
+ /**
60853
+ * Rollup of an agent's recent runs, from `GET /agents/{id}/run-insights`.
60854
+ * Counts are evidence about a version; they are not billing figures.
60855
+ */
60856
+ interface AgentRunInsightsResponse {
60857
+ success: boolean;
60858
+ data: {
60859
+ window: {
60860
+ runs: number;
60861
+ from: string | null;
60862
+ to: string | null;
60863
+ };
60864
+ versions: Array<{
60865
+ agentVersionId: string | null;
60866
+ label: string | null;
60867
+ /** The immutable version number; labels are user-set and never order anything. */
60868
+ versionNumber: number | null;
60869
+ runs: number;
60870
+ failed: number;
60871
+ }>;
60872
+ tools: Array<{
60873
+ toolName: string;
60874
+ calls: number;
60875
+ failedCalls: number;
60876
+ runsUsing: number;
60877
+ }>;
60878
+ attachedTools: string[];
60879
+ /** The version `attachedTools` was read from; null when the agent has no published version. */
60880
+ attachedToolsVersionId: string | null;
60881
+ /** Runs in the window on that version, the only runs `neverCalledTools` is judged over. */
60882
+ attachedToolsRuns: number;
60883
+ neverCalledTools: string[];
60884
+ tokens: {
60885
+ avgPerRun: number;
60886
+ avgInputPerRun: number;
60887
+ } | null;
60888
+ cost: {
60889
+ avgPerRun: number;
60890
+ } | null;
60891
+ };
60892
+ }
60426
60893
  /**
60427
60894
  * Agents endpoint handlers
60428
60895
  */
@@ -60460,6 +60927,13 @@ declare class AgentsEndpoint {
60460
60927
  * Export an agent as a self-contained runtime definition for @runtypelabs/runtime
60461
60928
  */
60462
60929
  exportRuntime(id: string): Promise<any>;
60930
+ /**
60931
+ * Roll up the agent's most recent runs: per-version and per-tool counts,
60932
+ * average tokens and cost, and which attached tools were never called.
60933
+ */
60934
+ runInsights(id: string, params?: {
60935
+ limit?: number;
60936
+ }): Promise<AgentRunInsightsResponse>;
60463
60937
  /**
60464
60938
  * Evaluate a model-proposed runtime tool against a configurable allowlist policy.
60465
60939
  * Useful for local `propose_runtime_tool` handlers before follow-up execution.
@@ -62692,4 +63166,4 @@ declare function getLikelySupportingCandidatePaths(bestCandidatePath: string | u
62692
63166
  declare function getDefaultPlanPath(taskName: string): string;
62693
63167
  declare function sanitizeTaskSlug(taskName: string): string;
62694
63168
 
62695
- export { type AIGrader, type ActivateAgentAliasInput, type ActivateAgentPromotionInput, type Agent, type AgentAdmissionOptions, type AgentAlias, type AgentAliasActivation, type AgentAliasArchiveFailure, type AgentAliasArchived, AgentAliasDependencyError, type AgentAliasList, AgentAliasNotFoundError, AgentAliasPreviewLimitError, AgentAliasRevisionMismatchError, AgentAliasRevisionRequiredError, type AgentAliasTransport, AgentAliasesNamespace, type AgentApprovalCompleteEvent, type AgentApprovalStartEvent, type AgentCompleteEvent, type AgentDefinition, type AgentDefinitionConfig, type AgentDeploymentList, type AgentDeploymentPromotion, type AgentDeploymentReceipt, AgentDeploymentsNamespace, AgentDriftError, type AgentElicitation, type AgentElicitationRequest, AgentEnsureConflictError, type AgentErrorEvent, type AgentEvent, type AgentEventType, type AgentExecuteRequest, type AgentExecuteResponse, type AgentIterationCompleteEvent, type AgentIterationStartEvent, type AgentMediaEvent, type AgentMessage, type AgentPausedEvent, type AgentPingEvent, AgentPromotionError, type AgentPromotionManifest, type AgentPromotionTransport, type AgentPromotionValidation, type AgentPullResult, type AgentReflectionEvent, type AgentRuntimeToolDefinition, type AgentStartEvent, type AgentStreamCallbacks, type AgentStreamEvent, type AgentSubagentConfig, type AgentToolCompleteEvent, type AgentToolDeltaEvent, type AgentToolInputCompleteEvent, type AgentToolInputDeltaEvent, type AgentToolStartEvent, type AgentTurnCompleteEvent, type AgentTurnDeltaEvent, type AgentTurnStartEvent, type AgentVersionDetail, type AgentVersionListItem, type AgentVersionPublishResponse, AgentVersionsEndpoint, type AgentVersionsListResponse, AgentsEndpoint, AgentsNamespace, AnalyticsEndpoint, type ApiClient, type ApiKey, type ApiKeyRequest, type ApiKeyRequestDelivery, type ApiKeyRequestEnvironment, type ApiKeyRequestHandoff, type ApiKeyRequestListParams, type ApiKeyRequestRequester, type ApiKeyRequestStatus, ApiKeyRequestsEndpoint, ApiKeysEndpoint, type ApiResponse, type ApplyGeneratedProposalOptions, type ApplyGeneratedProposalResult, type ArchiveAgentAliasEverywhereResult, type ArchiveAgentAliasInput, type AssetReferenceContentPart, type AsyncExecutionHandle, type AsyncExecutionStatus, type AttachRuntimeToolsOptions, type BaseAgentEvent, BatchBuilder, type BatchClient, type BatchListParams, type BatchOptions, type BatchRequest, type BatchResult, type BatchScheduleConfig, type BatchStatus, BatchesNamespace, BillingEndpoint, type BillingSpendAnalyticsParams, type BindSkillInput, type BuiltInGraderId, type BuiltInTool, type BulkEditCondition, type BulkEditRequest, type BulkEditResponse, type BulkEditResult, type CanonicalDispatchMessageContent, type CanonicalDispatchRequest, type CaseExpected, type CatalogClientToolRef, ChatEndpoint, type CheckGrader, type ClaimApiKeyRequestInput, type ClaimApiKeyRequestResponse, type ClaudeManagedEvalOverrideValues, ClientBatchBuilder, type ClientConfig, type ClientConversation, ClientEvalBuilder, ClientFlowBuilder, type ClientToken, type ClientTokenConfig, type ClientTokenEnvironment, type ClientTokenVersionPin, ClientTokensEndpoint, type ClientToolDefinition, type ClientToolEntry, type ClientWidgetTheme, type CollectionMeta, CollectionsEndpoint, type ConditionalGetResult, type ConditionalStepConfig$1 as ConditionalStepConfig, type ContextErrorHandling, type ContextFallback, ContextTemplatesEndpoint, type Conversation, type ConversationListItem, type ConversationListParams, type ConversationMessage, type ConversationSource, ConversationsEndpoint, type ConversationsListResponse, type CreateApiKeyRequest, type CreateApiKeyRequestInput, type CreateApiKeyRequestResponse, type CreateClientTokenRequest, type CreateClientTokenResponse, type CreateCollectionRequest, type CreateConversationRequest, type CreateEvalSuiteInput, type CreateFlowRequest, type CreateModelConfigRequest, type CreatePromptData, type CreatePromptRequest, type CreateProviderKeyRequest, type CreateRecordRequest, type CreateScheduleRequest, type CreateSecretRequest, type CreateToolRequest, type CurrentBilledSpendResponse, type CurrentBilledSpendSource, type CustomMCPServer, type CustomMCPServerAuth, type CustomToolConfig, DEFAULT_MAX_DETACHED_RECONNECTS, DEFAULT_RECOVERY_AFTER_EMPTY_SESSIONS, DEFAULT_STALL_STOP_AFTER, type DecomposeCriteriaResult, type DefineAgentInput, type DefineEvalCaseInput, type DefineEvalInput, type DefineFlowInput, type DefineProductInput, type DefineSkillInput, type DefineSurfaceInput, type DefineToolInput, type DeployCfSandboxRequest, type DeployCfSandboxResponse, type DeploySandboxRequest, type DeploySandboxResponse, type DetachedReattach, type DetachedReconnectOptions, type DiscoveredModel, type DispatchAgentInput, type DispatchApprovalContinuationResponse, type DispatchApproveRequest, type DispatchApproveResponse, type DispatchClient, type DispatchContinuationRequest, type DispatchContinuationResponse, type DispatchDetachedApprovalResponse, type DispatchDetachedToolOutputResponse, DispatchEndpoint, type DispatchEnvironment, type DispatchEvent, type DispatchFlowInput, type DispatchMessageContent, type DispatchOptions$1 as DispatchOptions, type DispatchRequest, type DispatchResponse, type DispatchResumeJsonResponse, type DispatchResumeRequest, type DispatchResumeResponse, ENSURE_RELEASE_DEPLOY_CONFLICT_MESSAGE, type EndUserUsageQuery, type EndUserUsageResponse, type EnsureAgentConverged, type EnsureAgentOptions, type EnsureAgentPlan, type EnsureAgentResult, type EnsureEvalResult, type EnsureFlowConverged, type EnsureFlowOptions, type EnsureFlowPlan, type EnsureFlowResult, type EnsureFpoOptions, type EnsureFpoResult, type EnsureProductConverged, type EnsureProductOptions, type EnsureProductPlan, type EnsureProductResult, type EnsureSkillConverged, type EnsureSkillOptions, type EnsureSkillPlan, type EnsureSkillResult, type EnsureSurfaceConverged, type EnsureSurfaceOptions, type EnsureSurfacePlan, type EnsureSurfaceResult, type EnsureToolConverged, type EnsureToolOptions, type EnsureToolPlan, type EnsureToolResult, type ErrorHandlingMode, type EvalAgentSelector, type EvalAgentTargetResolution, EvalBuilder, type EvalCaseDefinition, type EvalCaseInput, type EvalCaseProposal, type EvalCaseProposalAccepted, type EvalCaseProposalListResult, type EvalCasesGenerated, type EvalClient, type EvalDefinition, EvalEndpoint, type EvalListParams, type EvalMessage, type EvalOptions, type EvalOverrideValues, type EvalProposalSource, type EvalProposalStatus, type EvalProposedCase, type EvalPullResult, type EvalRecord, type EvalRequest, type EvalResult, type EvalRunCaseScores, type EvalRunConfig, type EvalRunEvidence, type EvalRunScores, EvalRunner, type EvalStatus, type EvalSuiteCase, type EvalSuiteCaseInput, type EvalSuiteCoverage, type EvalSuiteDetail, type EvalSuiteLatestRun, type EvalSuiteListResult, type EvalSuiteRunQueued, type EvalSuiteRunResult, type EvalSuiteSummary, EvalSuitesNamespace, type EvalTarget, EvalsNamespace, type ExecuteToolRequest, type ExecuteToolResponse, type ExecutionCounts, type ExecutionStreamEvent, ExecutionsEndpoint, ExecutionsNamespace, type ExternalAgentContext, type ExternalToolConfig, type FallbackFailEvent, type FallbackStartEvent, type FallbackSuccessEvent, type FallbackTrigger, type FallbackTriggerType, type FallbacksExhaustedEvent, type FallbacksInitiatedEvent, type FetchUrlStepConfig$1 as FetchUrlStepConfig, type FieldFormat, type FileContentPart, type Flow, type FlowAttachment, FlowBuilder, type FlowCompleteEvent, type FlowConfig$1 as FlowConfig, type FlowDefinition, type FlowDefinitionStep, FlowDriftError, FlowEnsureConflictError, type FlowErrorEvent, type FlowFallback, type FlowInlineEvalInput, type FlowListItem, type FlowPausedEvent, type FlowPullResult, FlowResult, type FlowStartEvent, type FlowStep, type FlowStepDefinition, type FlowStepType, FlowStepsEndpoint, type FlowStreamEvent, type FlowSummary, type FlowToolConfig, type FlowValidationClient, type FlowValidationIssue, type FlowValidationResult, type FlowVersionDetail, type FlowVersionListItem, type FlowVersionPublishResponse, FlowVersionsEndpoint, type FlowVersionsListResponse, FlowsEndpoint, FlowsNamespace, type FpoEntityOutcome, type FpoInput, type GenerateEmbeddingStepConfig$1 as GenerateEmbeddingStepConfig, type GenerateEvalCasesInput, type GeneratedRuntimeToolGateDecision, type GeneratedRuntimeToolGateOptions, type GetApiKeyRequestResponse, type GetRecordStepConfig$1 as GetRecordStepConfig, type Gradeable, type GraderConfig, type GraderOutcome, type GraderSeverity, type HealthInsight, type HumanVerdict, type ImageContentPart, type InferCollectionSchemaResponse, type InputDeliveryReceipt, type Integration, type IntegrationTool, IntegrationsEndpoint, type IntegrationsListResponse, type JSONSchema, type JsonArray, type JsonObject, type JsonPrimitive, type JsonValue, LEDGER_ARTIFACT_LINE_PREFIX, LIVE_AGENT_ALIAS, type ListAgentAliasesOptions, type ListAgentDeploymentsOptions, type ListCollectionsResponse, type ListConversationsResponse, type ListParams, type ListRecordsStepConfig$1 as ListRecordsStepConfig, type LocalToolConfig, type LocalToolDefinition, type LocalToolExecutionCompleteEvent, type LocalToolExecutionLoopSnapshotSlice, type LocalToolExecutionStartEvent, type LogEntry, type LogQueryParams, type LogQueryResponse, type LogQueryResult, type LogStatsParams, type LogStatsResponse, type LogStatsResult, LogsEndpoint, type LoopStepConfig$1 as LoopStepConfig, type Message$1 as Message, type MessageContent, type MessageFallback, type Metadata, type MetricDelta, type ModelConfig, ModelConfigsEndpoint, type ModelFallback, type ModelOverride, type ModelUsageDetail, type ModelUsageQueryParams, type ModelUsageResponse, type ModelUsageSummary, type ModelUsageTimeSeries, type OrganizationAgentAlias, type OrganizationAgentAliasList, type PaginationResponse, type PersistedGraderOutcome, type PrepareAgentPromotionInput, type ProductDefinition, ProductDriftError, ProductEnsureConflictError, type ProductPullResult, type ProductionHealthQuery, type ProductionHealthResponse, ProductsNamespace, type PromoteAgentInput, type PromoteAgentResult, type Prompt$1 as Prompt, type PromptErrorHandling, type PromptFallback, type PromptListParams, type PromptStepConfig$1 as PromptStepConfig, PromptsEndpoint, PromptsNamespace, type ProviderApiKey, type ProviderKeyModel, ProviderKeysEndpoint, type PullFpoResult, RUNTYPE_CLIENT_KIND, type ReasoningConfig, type ReasoningContentPart, type ReasoningValue, type RecordCollection, type RecordCollectionWithHistory, type RecordCollections, type RecordConfig$1 as RecordConfig, type RecordCostAggregation, type RecordCostModelBreakdown, type RecordFilter, type RecordFilterCondition, type RecordFilterGroup, type RecordFilterOperator, type RecordListItem, type RecordListParams, type RecordStepResult, type RecordStepResultsParams, type RecordStepResultsResponse, type RecordWriteResponse, RecordsEndpoint, type RetrieveRecordStepConfig$1 as RetrieveRecordStepConfig, type RetryFallback, type RollbackAgentAliasInput, type RunEvalCaseResult, type RunEvalInput, type RunEvalResult, type RunTaskContextBudgetBreakdown, type RunTaskContextCompactionEvent, type RunTaskContextCompactionStrategy, type RunTaskContextNoticeEvent, type RunTaskContextSummaryEntry, type RunTaskContinuation, type RunTaskOffloadRecorder, type RunTaskOnContextCompaction, type RunTaskOnContextNotice, type RunTaskOnSession, type RunTaskOptions, type RunTaskResult, type RunTaskResumeState, type RunTaskSessionSummary, type RunTaskState, type RunTaskStateSlice, type RunTaskStatus, type RunTaskToolTraceSlice, type RuntimeCustomToolConfig, type RuntimeExternalToolConfig, type RuntimeFlowToolConfig, type RuntimeLocalToolConfig, type RuntimeSubagentToolConfig, type RuntimeTool, type RuntimeToolConfig, Runtype, type AgentSkillBinding as RuntypeAgentSkillBinding, RuntypeApiError, RuntypeClient, type ConditionalStepConfig as RuntypeConditionalStepConfig, type RuntypeConfig, type FetchUrlStepConfig as RuntypeFetchUrlStepConfig, RuntypeFlowBuilder, type FlowConfig as RuntypeFlowConfig, type GenerateEmbeddingStepConfig as RuntypeGenerateEmbeddingStepConfig, type GetRecordStepConfig as RuntypeGetRecordStepConfig, type ListRecordsStepConfig as RuntypeListRecordsStepConfig, type LoopStepConfig as RuntypeLoopStepConfig, type Message as RuntypeMessage, type ModelOverride$1 as RuntypeModelOverride, type Prompt as RuntypePrompt, type PromptStepConfig as RuntypePromptStepConfig, type RuntypeRecord, type RecordConfig as RuntypeRecordConfig, type RetrieveRecordStepConfig as RuntypeRetrieveRecordStepConfig, type SearchStepConfig as RuntypeSearchStepConfig, type SendEmailStepConfig as RuntypeSendEmailStepConfig, type SendEventStepConfig as RuntypeSendEventStepConfig, type SendStreamStepConfig as RuntypeSendStreamStepConfig, type SetVariableStepConfig as RuntypeSetVariableStepConfig, type Skill as RuntypeSkill, type SkillCapabilities as RuntypeSkillCapabilities, type SkillFrontmatter as RuntypeSkillFrontmatter, type SkillManifest as RuntypeSkillManifest, type SkillProposal as RuntypeSkillProposal, type SkillRuntypeExtensions as RuntypeSkillRuntypeExtensions, type SkillVersion as RuntypeSkillVersion, type TransformDataStepConfig as RuntypeTransformDataStepConfig, type UpsertFlowConfig as RuntypeUpsertFlowConfig, type UpsertRecordStepConfig as RuntypeUpsertRecordStepConfig, type VectorSearchStepConfig as RuntypeVectorSearchStepConfig, type WaitUntilStepConfig as RuntypeWaitUntilStepConfig, SDK_USER_AGENT, SDK_VERSION, STEP_FIELD_REGISTRY, STEP_TYPE_TO_METHOD, type SandboxDeployEffectivePolicy, type SandboxDeployRetention, type SandboxDeploySleepPolicy, type Schedule, type ScheduleExecutionOptions, type ScheduleListParams, type ScheduleMessage, type ScheduleMessageSet, type ScheduleMessages, type ScheduleMutationResponse, type ScheduleRun, type ScheduleRunNowResponse, type ScheduleStatusResponse, type ScheduleTarget, type ScheduleTrigger, SchedulesEndpoint, type SearchStepConfig$1 as SearchStepConfig, type Secret, type SecretCheckResponse, type SecretDeleteResponse, type SecretSetupUrlRequest, type SecretSetupUrlResponse, SecretsEndpoint, type SelectOrganizationProviderCredentialRequest, type SelectOrganizationProviderCredentialResponse, type SendEmailStepConfig$1 as SendEmailStepConfig, type SendEventStepConfig$1 as SendEventStepConfig, type SendStreamStepConfig$1 as SendStreamStepConfig, type SetVariableStepConfig$1 as SetVariableStepConfig, type SkillDefinition, SkillDriftError, SkillEnsureConflictError, type SkillListPage, type SkillListPagination, type SkillListParams, type SkillManifestInput, type SkillMarkdownInput, type SkillOrigin, type SkillProposalStatus, SkillProposalsNamespace, type SkillPullResult, type SkillStatus, type SkillTrustLevel, type SkillVersionStatus, type SkillWithVersion, type SkillWriteInput, SkillsNamespace, type SlackAppStatusResponse, type SlackInstallRequest, type SlackManifestRequest, type SlackManifestResponse, type SlackOAuthStartRequest, type SlackOAuthStartResponse, type StepCompleteEvent, type StepDeltaEvent, type StepFallback, type StepFieldMeta, type StepStartEvent, type StepWaitingLocalEvent, type StreamCallbacks, type StreamConsumeOptions, type StreamEvent, type StreamEventOf, type SubagentToolConfig, type Surface, type SurfaceDefinition, type SurfaceDefinitionStatus, type SurfaceDefinitionType, SurfaceDriftError, SurfaceEnsureConflictError, type SurfaceListParams, type SurfacePullResult, SurfacesEndpoint, SurfacesNamespace, type TextContentPart, type Tool, type ToolApprovalGrant, ToolApprovalGrantsEndpoint, type ToolConfig, type ToolDefinition, type ToolDefinitionType, ToolDriftError, ToolEnsureConflictError, type ToolPullResult, type ToolWithValidation, type ToolsConfig, ToolsEndpoint, ToolsNamespace, type TransformDataStepConfig$1 as TransformDataStepConfig, type TypedCreateRecordRequest, type TypedRecordListItem, type TypedRecordWriteResponse, TypedRecordsScope, type TypedRuntypeRecord, UNIFIED_EVENTS_QUERY, type UpdateClientTokenRequest, type UpdateCollectionRequest, type UpdateCollectionResponse, type UpdateConversationRequest, type UpdateEvalCaseInput, type UpdateEvalSuiteInput, type UpdateFlowRequest, type UpdatePromptData, type UpdateProviderKeyRequest, type UpdateScheduleRequest, type UpdateSecretRequest, type UpdateToolRequest, type UpdatedFlow, type UpsertFlowConfig$1 as UpsertFlowConfig, type UpsertOptions, type UpsertRecordStepConfig$1 as UpsertRecordStepConfig, type UserProfile, UsersEndpoint, type ValidateAgentPromotionInput, type ValidateExistingRecordsResponse, type VectorSearchStepConfig$1 as VectorSearchStepConfig, type VersionPublishOptions, type VersionType, type WaitUntilStepConfig$1 as WaitUntilStepConfig, type WorkflowCompileDeps, type WorkflowCompletionCriteriaConfig, type WorkflowConfig, type WorkflowConfigFactory, type WorkflowContext, type WorkflowDefinition, type WorkflowHookEntry, type WorkflowHookKind, type WorkflowHookRef, type WorkflowHookSignatures, type WorkflowMilestoneConfig, type WorkflowPhase, type WorkflowPolicyConfig, type WorkflowRecoveryConfig, type WorkflowSlot, type WorkflowStallPolicy, activateAgentPromotion, agentAliasErrorCode, applyGeneratedRuntimeToolProposalToDispatchRequest, attachRuntimeToolsToDispatchRequest, buildAgentAdmissionHeaders, buildEmptySessionNudge, buildExecutionEventsPath, buildGeneratedRuntimeToolGateOutput, buildLedgerOffloadReference, buildObservationMaskMarker, buildPolicyGuidance, buildSendViewOffloadMarker, calledTool, combineAbortSignals, compileWorkflowConfig, completed, computeAgentContentHash, computeEvalContentHash, computeFlowContentHash, computeFpoContentHash, computeProductContentHash, computeSkillContentHash, computeSurfaceContentHash, computeToolContentHash, contains, cost, createAgentEventTranslator, createClient, createExternalTool, createFlowEventTranslator, defaultWorkflow, defaultWorkflowConfig, defineAgent, defineEval, defineFlow, defineFpo, definePlaybook, defineProduct, defineSkill, defineSurface, defineTool, deployWorkflow, ensureDefaultWorkflowHooks, ensureEval, ensureFpo, evaluateGeneratedRuntimeToolProposal, extractDeclaredToolResultChars, gameWorkflow, getDefaultPlanPath, getLikelySupportingCandidatePaths, interpolateWorkflowTemplate, isCatalogClientToolRef, isDiscoveryToolName, isMarathonArtifactPath, isPreservationSensitiveTask, isUnifiedEventType, isWorkflowHookRef, jsonField, judge, judges, latency, length, listWorkflowHooks, matchesExpected, maxToolCalls, noError, normalizeAgentDefinition, normalizeCandidatePath, normalizeFpoDefinition, normalizeProductDefinition, normalizeSkillDefinition, normalizeSurfaceDefinition, normalizeToolDefinition, notCalledTool, notContains, parseFinalBuffer, parseLedgerArtifactRelativePath, parseOffloadedOutputId, parseSSEChunk, prepareAgentPromotion, processStream, promoteAgent, promotionIdempotencyKey, pullEval, pullFpo, ranStep, regex, registerWorkflowHook, resolveStallStopAfter, resolveWorkflowHook, runEvalSuite, sanitizeTaskSlug, shouldInjectEmptySessionNudge, shouldRequestModelEscalation, stepOrder, streamEvents, toolOrder, unregisterWorkflowHook, usedNoTools, validJson, validateAgentPromotion, withDetachedReconnect, withUnifiedEvents };
63169
+ export { type AIGrader, type ActivateAgentAliasInput, type ActivateAgentPromotionInput, type Agent, type AgentAdmissionOptions, type AgentAlias, type AgentAliasActivation, type AgentAliasArchiveFailure, type AgentAliasArchived, AgentAliasDependencyError, type AgentAliasList, AgentAliasNotFoundError, AgentAliasPreviewLimitError, AgentAliasRevisionMismatchError, AgentAliasRevisionRequiredError, type AgentAliasTransport, AgentAliasesNamespace, type AgentApprovalCompleteEvent, type AgentApprovalStartEvent, type AgentCompleteEvent, type AgentDefinition, type AgentDefinitionConfig, type AgentDeploymentList, type AgentDeploymentPromotion, type AgentDeploymentReceipt, AgentDeploymentsNamespace, AgentDriftError, type AgentElicitation, type AgentElicitationRequest, AgentEnsureConflictError, type AgentErrorEvent, type AgentEvent, type AgentEventType, type AgentExecuteRequest, type AgentExecuteResponse, type AgentIterationCompleteEvent, type AgentIterationStartEvent, type AgentMediaEvent, type AgentMessage, type AgentPausedEvent, type AgentPingEvent, AgentPromotionError, type AgentPromotionManifest, type AgentPromotionTransport, type AgentPromotionValidation, type AgentPullResult, type AgentReflectionEvent, type AgentRunInsightsResponse, type AgentRuntimeToolDefinition, type AgentStartEvent, type AgentStreamCallbacks, type AgentStreamEvent, type AgentSubagentConfig, type AgentToolCompleteEvent, type AgentToolDeltaEvent, type AgentToolInputCompleteEvent, type AgentToolInputDeltaEvent, type AgentToolStartEvent, type AgentTurnCompleteEvent, type AgentTurnDeltaEvent, type AgentTurnStartEvent, type AgentVersionDetail, type AgentVersionListItem, type AgentVersionPublishResponse, AgentVersionsEndpoint, type AgentVersionsListResponse, AgentsEndpoint, AgentsNamespace, AnalyticsEndpoint, type ApiClient, type ApiKey, type ApiKeyRequest, type ApiKeyRequestDelivery, type ApiKeyRequestEnvironment, type ApiKeyRequestHandoff, type ApiKeyRequestListParams, type ApiKeyRequestRequester, type ApiKeyRequestStatus, ApiKeyRequestsEndpoint, ApiKeysEndpoint, type ApiResponse, type ApplyGeneratedProposalOptions, type ApplyGeneratedProposalResult, type ArchiveAgentAliasEverywhereResult, type ArchiveAgentAliasInput, type AssetReferenceContentPart, type AsyncExecutionHandle, type AsyncExecutionStatus, type AttachRuntimeToolsOptions, type BaseAgentEvent, BatchBuilder, type BatchClient, type BatchListParams, type BatchOptions, type BatchRequest, type BatchResult, type BatchScheduleConfig, type BatchStatus, BatchesNamespace, BillingEndpoint, type BillingSpendAnalyticsParams, type BindSkillInput, type BuiltInGraderId, type BuiltInTool, type BulkEditCondition, type BulkEditRequest, type BulkEditResponse, type BulkEditResult, type CanonicalDispatchMessageContent, type CanonicalDispatchRequest, type CaseExpected, type CatalogClientToolRef, ChatEndpoint, type CheckGrader, type ClaimApiKeyRequestInput, type ClaimApiKeyRequestResponse, type ClaudeManagedEvalOverrideValues, ClientBatchBuilder, type ClientConfig, type ClientConversation, ClientEvalBuilder, ClientFlowBuilder, type ClientToken, type ClientTokenConfig, type ClientTokenEnvironment, type ClientTokenVersionPin, ClientTokensEndpoint, type ClientToolDefinition, type ClientToolEntry, type ClientWidgetTheme, type CollectionMeta, CollectionsEndpoint, type ConditionalGetResult, type ConditionalStepConfig$1 as ConditionalStepConfig, type ContextErrorHandling, type ContextFallback, ContextTemplatesEndpoint, type Conversation, type ConversationListItem, type ConversationListParams, type ConversationMessage, type ConversationSource, ConversationsEndpoint, type ConversationsListResponse, type CreateApiKeyRequest, type CreateApiKeyRequestInput, type CreateApiKeyRequestResponse, type CreateClientTokenRequest, type CreateClientTokenResponse, type CreateCollectionRequest, type CreateConversationRequest, type CreateEvalSuiteInput, type CreateFlowRequest, type CreateModelConfigRequest, type CreatePromptData, type CreatePromptRequest, type CreateProviderKeyRequest, type CreateRecordRequest, type CreateScheduleRequest, type CreateSecretRequest, type CreateToolRequest, type CurrentBilledSpendResponse, type CurrentBilledSpendSource, type CustomMCPServer, type CustomMCPServerAuth, type CustomToolConfig, DEFAULT_MAX_DETACHED_RECONNECTS, DEFAULT_RECOVERY_AFTER_EMPTY_SESSIONS, DEFAULT_STALL_STOP_AFTER, type DecomposeCriteriaResult, type DefineAgentInput, type DefineEvalCaseInput, type DefineEvalInput, type DefineFlowInput, type DefineProductInput, type DefineSkillInput, type DefineSurfaceInput, type DefineToolInput, type DeployCfSandboxRequest, type DeployCfSandboxResponse, type DeploySandboxRequest, type DeploySandboxResponse, type DetachedReattach, type DetachedReconnectOptions, type DiscoveredModel, type DispatchAgentInput, type DispatchApprovalContinuationResponse, type DispatchApproveRequest, type DispatchApproveResponse, type DispatchClient, type DispatchContinuationRequest, type DispatchContinuationResponse, type DispatchDetachedApprovalResponse, type DispatchDetachedToolOutputResponse, DispatchEndpoint, type DispatchEnvironment, type DispatchEvent, type DispatchFlowInput, type DispatchMessageContent, type DispatchOptions$1 as DispatchOptions, type DispatchRequest, type DispatchResponse, type DispatchResumeJsonResponse, type DispatchResumeRequest, type DispatchResumeResponse, ENSURE_RELEASE_DEPLOY_CONFLICT_MESSAGE, type EndUserUsageQuery, type EndUserUsageResponse, type EnsureAgentConverged, type EnsureAgentOptions, type EnsureAgentPlan, type EnsureAgentResult, type EnsureEvalResult, type EnsureFlowConverged, type EnsureFlowOptions, type EnsureFlowPlan, type EnsureFlowResult, type EnsureFpoOptions, type EnsureFpoResult, type EnsureProductConverged, type EnsureProductOptions, type EnsureProductPlan, type EnsureProductResult, type EnsureSkillConverged, type EnsureSkillOptions, type EnsureSkillPlan, type EnsureSkillResult, type EnsureSurfaceConverged, type EnsureSurfaceOptions, type EnsureSurfacePlan, type EnsureSurfaceResult, type EnsureToolConverged, type EnsureToolOptions, type EnsureToolPlan, type EnsureToolResult, type ErrorHandlingMode, type EvalAgentSelector, type EvalAgentTargetResolution, EvalBuilder, type EvalCaseDefinition, type EvalCaseInput, type EvalCaseProposal, type EvalCaseProposalAccepted, type EvalCaseProposalListResult, type EvalCasesGenerated, type EvalClient, type EvalDefinition, EvalEndpoint, type EvalListParams, type EvalMessage, type EvalOptions, type EvalOverrideValues, type EvalProposalSource, type EvalProposalStatus, type EvalProposedCase, type EvalPullResult, type EvalRecord, type EvalRequest, type EvalResult, type EvalRunCaseScores, type EvalRunConfig, type EvalRunEvidence, type EvalRunScores, EvalRunner, type EvalStatus, type EvalSuiteCase, type EvalSuiteCaseInput, type EvalSuiteCoverage, type EvalSuiteDetail, type EvalSuiteLatestRun, type EvalSuiteListResult, type EvalSuiteRunQueued, type EvalSuiteRunResult, type EvalSuiteSummary, EvalSuitesNamespace, type EvalTarget, EvalsNamespace, type ExecuteToolRequest, type ExecuteToolResponse, type ExecutionCounts, type ExecutionStreamEvent, ExecutionsEndpoint, ExecutionsNamespace, type ExternalAgentContext, type ExternalToolConfig, type FallbackFailEvent, type FallbackStartEvent, type FallbackSuccessEvent, type FallbackTrigger, type FallbackTriggerType, type FallbacksExhaustedEvent, type FallbacksInitiatedEvent, type FetchUrlStepConfig$1 as FetchUrlStepConfig, type FieldFormat, type FileContentPart, type Flow, type FlowAttachment, FlowBuilder, type FlowCompleteEvent, type FlowConfig$1 as FlowConfig, type FlowDefinition, type FlowDefinitionStep, FlowDriftError, FlowEnsureConflictError, type FlowErrorEvent, type FlowFallback, type FlowInlineEvalInput, type FlowListItem, type FlowPausedEvent, type FlowPullResult, FlowResult, type FlowStartEvent, type FlowStep, type FlowStepDefinition, type FlowStepType, FlowStepsEndpoint, type FlowStreamEvent, type FlowSummary, type FlowToolConfig, type FlowValidationClient, type FlowValidationIssue, type FlowValidationResult, type FlowVersionDetail, type FlowVersionListItem, type FlowVersionPublishResponse, FlowVersionsEndpoint, type FlowVersionsListResponse, FlowsEndpoint, FlowsNamespace, type FpoEntityOutcome, type FpoInput, type GenerateEmbeddingStepConfig$1 as GenerateEmbeddingStepConfig, type GenerateEvalCasesInput, type GeneratedRuntimeToolGateDecision, type GeneratedRuntimeToolGateOptions, type GetApiKeyRequestResponse, type GetRecordStepConfig$1 as GetRecordStepConfig, type Gradeable, type GraderConfig, type GraderOutcome, type GraderSeverity, type HealthInsight, type HumanVerdict, type ImageContentPart, type InferCollectionSchemaResponse, type InputDeliveryReceipt, type Integration, type IntegrationTool, IntegrationsEndpoint, type IntegrationsListResponse, type JSONSchema, type JsonArray, type JsonObject, type JsonPrimitive, type JsonValue, LEDGER_ARTIFACT_LINE_PREFIX, LIVE_AGENT_ALIAS, type ListAgentAliasesOptions, type ListAgentDeploymentsOptions, type ListCollectionsResponse, type ListConversationsResponse, type ListParams, type ListRecordsStepConfig$1 as ListRecordsStepConfig, type LocalToolConfig, type LocalToolDefinition, type LocalToolExecutionCompleteEvent, type LocalToolExecutionLoopSnapshotSlice, type LocalToolExecutionStartEvent, type LogEntry, type LogQueryParams, type LogQueryResponse, type LogQueryResult, type LogStatsParams, type LogStatsResponse, type LogStatsResult, LogsEndpoint, type LoopStepConfig$1 as LoopStepConfig, type Message$1 as Message, type MessageContent, type MessageFallback, type Metadata, type MetricDelta, type ModelConfig, ModelConfigsEndpoint, type ModelFallback, type ModelOverride, type ModelUsageDetail, type ModelUsageQueryParams, type ModelUsageResponse, type ModelUsageSummary, type ModelUsageTimeSeries, type OrganizationAgentAlias, type OrganizationAgentAliasList, type PaginationResponse, type PersistedGraderOutcome, type PrepareAgentPromotionInput, type ProductDefinition, ProductDriftError, ProductEnsureConflictError, type ProductPullResult, type ProductionHealthQuery, type ProductionHealthResponse, ProductsNamespace, type PromoteAgentInput, type PromoteAgentResult, type Prompt$1 as Prompt, type PromptErrorHandling, type PromptFallback, type PromptListParams, type PromptStepConfig$1 as PromptStepConfig, PromptsEndpoint, PromptsNamespace, type ProviderApiKey, type ProviderKeyModel, ProviderKeysEndpoint, type PullFpoResult, RUNTYPE_CLIENT_KIND, type ReasoningConfig, type ReasoningContentPart, type ReasoningValue, type RecordCollection, type RecordCollectionWithHistory, type RecordCollections, type RecordConfig$1 as RecordConfig, type RecordCostAggregation, type RecordCostModelBreakdown, type RecordFilter, type RecordFilterCondition, type RecordFilterGroup, type RecordFilterOperator, type RecordListItem, type RecordListParams, type RecordStepResult, type RecordStepResultsParams, type RecordStepResultsResponse, type RecordWriteResponse, RecordsEndpoint, type RetrieveRecordStepConfig$1 as RetrieveRecordStepConfig, type RetryFallback, type RollbackAgentAliasInput, type RunEvalCaseResult, type RunEvalInput, type RunEvalResult, type RunTaskContextBudgetBreakdown, type RunTaskContextCompactionEvent, type RunTaskContextCompactionStrategy, type RunTaskContextNoticeEvent, type RunTaskContextSummaryEntry, type RunTaskContinuation, type RunTaskOffloadRecorder, type RunTaskOnContextCompaction, type RunTaskOnContextNotice, type RunTaskOnSession, type RunTaskOptions, type RunTaskResult, type RunTaskResumeState, type RunTaskSessionSummary, type RunTaskState, type RunTaskStateSlice, type RunTaskStatus, type RunTaskToolTraceSlice, type RuntimeCustomToolConfig, type RuntimeExternalToolConfig, type RuntimeFlowToolConfig, type RuntimeLocalToolConfig, type RuntimeSubagentToolConfig, type RuntimeTool, type RuntimeToolConfig, Runtype, type AgentSkillBinding as RuntypeAgentSkillBinding, RuntypeApiError, RuntypeClient, type ConditionalStepConfig as RuntypeConditionalStepConfig, type RuntypeConfig, type FetchUrlStepConfig as RuntypeFetchUrlStepConfig, RuntypeFlowBuilder, type FlowConfig as RuntypeFlowConfig, type GenerateEmbeddingStepConfig as RuntypeGenerateEmbeddingStepConfig, type GetRecordStepConfig as RuntypeGetRecordStepConfig, type ListRecordsStepConfig as RuntypeListRecordsStepConfig, type LoopStepConfig as RuntypeLoopStepConfig, type Message as RuntypeMessage, type ModelOverride$1 as RuntypeModelOverride, type Prompt as RuntypePrompt, type PromptStepConfig as RuntypePromptStepConfig, type RuntypeRecord, type RecordConfig as RuntypeRecordConfig, type RetrieveRecordStepConfig as RuntypeRetrieveRecordStepConfig, type SearchStepConfig as RuntypeSearchStepConfig, type SendEmailStepConfig as RuntypeSendEmailStepConfig, type SendEventStepConfig as RuntypeSendEventStepConfig, type SendStreamStepConfig as RuntypeSendStreamStepConfig, type SetVariableStepConfig as RuntypeSetVariableStepConfig, type Skill as RuntypeSkill, type SkillCapabilities as RuntypeSkillCapabilities, type SkillFrontmatter as RuntypeSkillFrontmatter, type SkillManifest as RuntypeSkillManifest, type SkillProposal as RuntypeSkillProposal, type SkillRuntypeExtensions as RuntypeSkillRuntypeExtensions, type SkillVersion as RuntypeSkillVersion, type TransformDataStepConfig as RuntypeTransformDataStepConfig, type UpsertFlowConfig as RuntypeUpsertFlowConfig, type UpsertRecordStepConfig as RuntypeUpsertRecordStepConfig, type VectorSearchStepConfig as RuntypeVectorSearchStepConfig, type WaitUntilStepConfig as RuntypeWaitUntilStepConfig, SDK_USER_AGENT, SDK_VERSION, STEP_FIELD_REGISTRY, STEP_TYPE_TO_METHOD, type SandboxDeployEffectivePolicy, type SandboxDeployRetention, type SandboxDeploySleepPolicy, type Schedule, type ScheduleExecutionOptions, type ScheduleListParams, type ScheduleMessage, type ScheduleMessageSet, type ScheduleMessages, type ScheduleMutationResponse, type ScheduleRun, type ScheduleRunNowResponse, type ScheduleStatusResponse, type ScheduleTarget, type ScheduleTrigger, SchedulesEndpoint, type SearchStepConfig$1 as SearchStepConfig, type Secret, type SecretCheckResponse, type SecretDeleteResponse, type SecretSetupUrlRequest, type SecretSetupUrlResponse, SecretsEndpoint, type SelectOrganizationProviderCredentialRequest, type SelectOrganizationProviderCredentialResponse, type SendEmailStepConfig$1 as SendEmailStepConfig, type SendEventStepConfig$1 as SendEventStepConfig, type SendStreamStepConfig$1 as SendStreamStepConfig, type SetVariableStepConfig$1 as SetVariableStepConfig, type SkillDefinition, SkillDriftError, SkillEnsureConflictError, type SkillListPage, type SkillListPagination, type SkillListParams, type SkillManifestInput, type SkillMarkdownInput, type SkillOrigin, type SkillProposalStatus, SkillProposalsNamespace, type SkillPullResult, type SkillStatus, type SkillTrustLevel, type SkillVersionStatus, type SkillWithVersion, type SkillWriteInput, SkillsNamespace, type SlackAppStatusResponse, type SlackInstallRequest, type SlackManifestRequest, type SlackManifestResponse, type SlackOAuthStartRequest, type SlackOAuthStartResponse, type StepCompleteEvent, type StepDeltaEvent, type StepFallback, type StepFieldMeta, type StepStartEvent, type StepWaitingLocalEvent, type StreamCallbacks, type StreamConsumeOptions, type StreamEvent, type StreamEventOf, type SubagentToolConfig, type Surface, type SurfaceDefinition, type SurfaceDefinitionStatus, type SurfaceDefinitionType, SurfaceDriftError, SurfaceEnsureConflictError, type SurfaceListParams, type SurfacePullResult, SurfacesEndpoint, SurfacesNamespace, type TextContentPart, type Tool, type ToolApprovalGrant, ToolApprovalGrantsEndpoint, type ToolConfig, type ToolDefinition, type ToolDefinitionType, ToolDriftError, ToolEnsureConflictError, type ToolPullResult, type ToolWithValidation, type ToolsConfig, ToolsEndpoint, ToolsNamespace, type TransformDataStepConfig$1 as TransformDataStepConfig, type TypedCreateRecordRequest, type TypedRecordListItem, type TypedRecordWriteResponse, TypedRecordsScope, type TypedRuntypeRecord, UNIFIED_EVENTS_QUERY, type UpdateClientTokenRequest, type UpdateCollectionRequest, type UpdateCollectionResponse, type UpdateConversationRequest, type UpdateEvalCaseInput, type UpdateEvalSuiteInput, type UpdateFlowRequest, type UpdatePromptData, type UpdateProviderKeyRequest, type UpdateScheduleRequest, type UpdateSecretRequest, type UpdateToolRequest, type UpdatedFlow, type UpsertFlowConfig$1 as UpsertFlowConfig, type UpsertOptions, type UpsertRecordStepConfig$1 as UpsertRecordStepConfig, type UserProfile, UsersEndpoint, type ValidateAgentPromotionInput, type ValidateExistingRecordsResponse, type VectorSearchStepConfig$1 as VectorSearchStepConfig, type VersionPublishOptions, type VersionType, type WaitUntilStepConfig$1 as WaitUntilStepConfig, type WorkflowCompileDeps, type WorkflowCompletionCriteriaConfig, type WorkflowConfig, type WorkflowConfigFactory, type WorkflowContext, type WorkflowDefinition, type WorkflowHookEntry, type WorkflowHookKind, type WorkflowHookRef, type WorkflowHookSignatures, type WorkflowMilestoneConfig, type WorkflowPhase, type WorkflowPolicyConfig, type WorkflowRecoveryConfig, type WorkflowSlot, type WorkflowStallPolicy, activateAgentPromotion, agentAliasErrorCode, applyGeneratedRuntimeToolProposalToDispatchRequest, attachRuntimeToolsToDispatchRequest, buildAgentAdmissionHeaders, buildEmptySessionNudge, buildExecutionEventsPath, buildGeneratedRuntimeToolGateOutput, buildLedgerOffloadReference, buildObservationMaskMarker, buildPolicyGuidance, buildSendViewOffloadMarker, calledTool, combineAbortSignals, compileWorkflowConfig, completed, computeAgentContentHash, computeEvalContentHash, computeFlowContentHash, computeFpoContentHash, computeProductContentHash, computeSkillContentHash, computeSurfaceContentHash, computeToolContentHash, contains, cost, createAgentEventTranslator, createClient, createExternalTool, createFlowEventTranslator, defaultWorkflow, defaultWorkflowConfig, defineAgent, defineEval, defineFlow, defineFpo, definePlaybook, defineProduct, defineSkill, defineSurface, defineTool, deployWorkflow, ensureDefaultWorkflowHooks, ensureEval, ensureFpo, evaluateGeneratedRuntimeToolProposal, extractDeclaredToolResultChars, gameWorkflow, getDefaultPlanPath, getLikelySupportingCandidatePaths, interpolateWorkflowTemplate, isCatalogClientToolRef, isDiscoveryToolName, isMarathonArtifactPath, isPreservationSensitiveTask, isUnifiedEventType, isWorkflowHookRef, jsonField, judge, judges, latency, length, listWorkflowHooks, matchesExpected, maxToolCalls, noError, normalizeAgentDefinition, normalizeCandidatePath, normalizeFpoDefinition, normalizeProductDefinition, normalizeSkillDefinition, normalizeSurfaceDefinition, normalizeToolDefinition, notCalledTool, notContains, parseFinalBuffer, parseLedgerArtifactRelativePath, parseOffloadedOutputId, parseSSEChunk, prepareAgentPromotion, processStream, promoteAgent, promotionIdempotencyKey, pullEval, pullFpo, ranStep, regex, registerWorkflowHook, resolveStallStopAfter, resolveWorkflowHook, runEvalSuite, sanitizeTaskSlug, shouldInjectEmptySessionNudge, shouldRequestModelEscalation, stepOrder, streamEvents, toolOrder, unregisterWorkflowHook, usedNoTools, validJson, validateAgentPromotion, withDetachedReconnect, withUnifiedEvents };