deepline 0.3.393 → 0.3.395

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.
Files changed (132) hide show
  1. package/dist/bundling-sources/sdk/src/client.ts +30 -162
  2. package/dist/bundling-sources/sdk/src/index.ts +1 -0
  3. package/dist/bundling-sources/sdk/src/plays/play-description.ts +167 -0
  4. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  5. package/dist/bundling-sources/sdk/src/types.ts +1 -0
  6. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +477 -10
  7. package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +5 -1
  8. package/dist/bundling-sources/shared_libs/play-runtime/durable-call-policy.ts +28 -0
  9. package/dist/bundling-sources/shared_libs/play-runtime/freshness-receipt-execution.ts +251 -0
  10. package/dist/bundling-sources/shared_libs/play-runtime/play-runtime-semantics.ts +12 -1
  11. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +10 -0
  12. package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +25 -16
  13. package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +1 -0
  14. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +69 -22
  15. package/dist/bundling-sources/shared_libs/plays/core.ts +1 -1
  16. package/dist/bundling-sources/shared_libs/plays/tool-result-types.ts +18 -0
  17. package/dist/cli/{auth-5PXHA232.mjs → auth-NMQXZRS7.mjs} +4 -4
  18. package/dist/cli/auth-UYCOBAL5.js +39 -0
  19. package/dist/cli/{billing-Z2N7ZAGM.mjs → billing-5MVXZRS6.mjs} +5 -4
  20. package/dist/cli/{billing-JFB2XLSO.js → billing-Z4JTGUU3.js} +76 -75
  21. package/dist/cli/{chunk-2HAD745V.js → chunk-36ML3YKA.js} +241 -349
  22. package/dist/cli/{chunk-RKMB3N7K.mjs → chunk-3HU47EGZ.mjs} +48 -9
  23. package/dist/cli/{chunk-6I73X254.mjs → chunk-3HWALOL2.mjs} +1 -1
  24. package/dist/cli/{chunk-4PT2VA3A.mjs → chunk-3TRY7KAC.mjs} +2 -2
  25. package/dist/cli/{chunk-5PRVMXKB.mjs → chunk-47M6HPGP.mjs} +1 -1
  26. package/dist/cli/{chunk-VIWE6WRK.js → chunk-4KLCLLTO.js} +267 -255
  27. package/dist/cli/{chunk-CDFH2DYL.js → chunk-56IFFVIB.js} +4 -4
  28. package/dist/cli/chunk-5VCZ3WRH.mjs +129 -0
  29. package/dist/cli/{chunk-LMMEAMA7.mjs → chunk-6D7A2FSL.mjs} +1 -1
  30. package/dist/cli/{chunk-7HR7BGZL.mjs → chunk-7MVWUXOD.mjs} +3 -3
  31. package/dist/cli/{chunk-2LGC4EFT.mjs → chunk-7XAM7KDW.mjs} +3 -3
  32. package/dist/cli/{chunk-HLEESTCH.mjs → chunk-BLYL3KOC.mjs} +1 -1
  33. package/dist/cli/{chunk-LZPCDB7U.mjs → chunk-BON3DRC6.mjs} +1 -1
  34. package/dist/cli/chunk-DRM3CMHL.js +129 -0
  35. package/dist/cli/{chunk-STNYIMIV.mjs → chunk-EFLQHJZ6.mjs} +6 -6
  36. package/dist/cli/{chunk-Q26LUSQ2.mjs → chunk-G4IWGRMK.mjs} +23 -131
  37. package/dist/cli/{chunk-M7Y7JYZX.js → chunk-HRWUQJ4K.js} +6 -6
  38. package/dist/cli/{chunk-OXNOAD6Y.js → chunk-K5T3EN6D.js} +26 -26
  39. package/dist/cli/{chunk-PWSWAN7Q.js → chunk-KB4SDX5S.js} +48 -9
  40. package/dist/cli/{chunk-4XX6443T.js → chunk-LZLBR2SF.js} +59 -59
  41. package/dist/cli/{chunk-MS6GUPBB.js → chunk-MH73HMPV.js} +3 -3
  42. package/dist/cli/{chunk-AARX5L4B.js → chunk-MYIBHORT.js} +2 -2
  43. package/dist/cli/{chunk-5KWKZIQR.mjs → chunk-OCSG6X67.mjs} +4 -4
  44. package/dist/cli/{chunk-PTDECJGP.js → chunk-PZ5BZ76S.js} +50 -50
  45. package/dist/cli/{chunk-L2SYLGRP.js → chunk-R4XZO6Z5.js} +8 -8
  46. package/dist/cli/{chunk-RWHWF5ZJ.js → chunk-TO2MWPGR.js} +1 -1
  47. package/dist/cli/{chunk-W4WOMXR3.js → chunk-UCXK2DS4.js} +15 -15
  48. package/dist/cli/{chunk-Z3OOZM5L.js → chunk-UKU6JM3S.js} +8 -8
  49. package/dist/cli/{chunk-4TCT77UF.js → chunk-URWF7NGQ.js} +6 -1
  50. package/dist/cli/{chunk-VIQJIX2P.js → chunk-VYLJJQ7Y.js} +65 -65
  51. package/dist/cli/{chunk-KIYU2TGL.mjs → chunk-WCCKMLHL.mjs} +2 -2
  52. package/dist/cli/{chunk-UOGZUA24.mjs → chunk-XMAPE2KH.mjs} +27 -15
  53. package/dist/cli/{chunk-PQSA443V.mjs → chunk-ZI2ZNDJK.mjs} +6 -1
  54. package/dist/cli/{chunk-FQ6VHPW4.mjs → chunk-ZWH2TFA7.mjs} +2 -2
  55. package/dist/cli/command-docs.js +2 -2
  56. package/dist/cli/command-docs.mjs +1 -1
  57. package/dist/cli/{csv-P3Z3YE7H.js → csv-HTS5ZYQ4.js} +12 -12
  58. package/dist/cli/{csv-KJWZHKCH.mjs → csv-SVOD5UBH.mjs} +3 -3
  59. package/dist/cli/{db-NUZGJNQC.js → db-7AP4P52N.js} +30 -29
  60. package/dist/cli/{db-NCM4CQIS.mjs → db-7QLNI3Q4.mjs} +5 -4
  61. package/dist/cli/{describe-WT6MM2GO.mjs → describe-DBRY5BNK.mjs} +12 -11
  62. package/dist/cli/{describe-YGSEN5WC.js → describe-YKOE54ZO.js} +22 -21
  63. package/dist/cli/{executions-PCOLHN7Q.js → executions-GRQXTB2P.js} +7 -6
  64. package/dist/cli/{executions-XS2IPJ4W.mjs → executions-QNZTPNG4.mjs} +5 -4
  65. package/dist/cli/{feedback-CCLTS5SV.mjs → feedback-JMCSR624.mjs} +3 -3
  66. package/dist/cli/{feedback-4MSH7TFU.js → feedback-ZOLA2KY7.js} +7 -7
  67. package/dist/cli/git-EJQLRK27.js +23 -0
  68. package/dist/cli/{git-K2DHPMPC.mjs → git-LJGL2IHS.mjs} +4 -4
  69. package/dist/cli/index.js +98 -98
  70. package/dist/cli/index.mjs +43 -43
  71. package/dist/cli/{legacy-noops-B5S4AR3P.mjs → legacy-noops-F23PKVBN.mjs} +4 -4
  72. package/dist/cli/{legacy-noops-GPNOPFXV.js → legacy-noops-YSCIR2SD.js} +7 -7
  73. package/dist/cli/{monitors-JLMAIPRG.mjs → monitors-S4LOEL7W.mjs} +5 -4
  74. package/dist/cli/{monitors-ZAWD7NSN.js → monitors-WMZ6HJZX.js} +86 -85
  75. package/dist/cli/{org-P2KN4CES.js → org-PFHM5ZLY.js} +65 -64
  76. package/dist/cli/{org-T3JTHP4G.mjs → org-U3WA2NQM.mjs} +5 -4
  77. package/dist/cli/{play-NK6BLRGL.mjs → play-AGSECQFN.mjs} +10 -9
  78. package/dist/cli/play-BR2LWGXK.js +159 -0
  79. package/dist/cli/{providers-3NQRA7IT.mjs → providers-QBBRFBOH.mjs} +5 -4
  80. package/dist/cli/{providers-5QRZN3DT.js → providers-XYMHLKCA.js} +8 -7
  81. package/dist/cli/{quickstart-PIA2JGPV.mjs → quickstart-5JTDGISY.mjs} +3 -3
  82. package/dist/cli/{quickstart-R7NUZGNW.js → quickstart-IYGD6ZY3.js} +5 -5
  83. package/dist/cli/{search-AIDIIGLY.mjs → search-X6W6GRHS.mjs} +6 -5
  84. package/dist/cli/search-ZVSYH5GY.js +28 -0
  85. package/dist/cli/{secrets-OQNHL45O.mjs → secrets-N55B67H6.mjs} +5 -4
  86. package/dist/cli/{secrets-BT3PGMWN.js → secrets-UHG6OQFD.js} +14 -13
  87. package/dist/cli/{sessions-EYXWOSWK.js → sessions-57L5MGHN.js} +5 -5
  88. package/dist/cli/{sessions-SF7WJPJP.mjs → sessions-JTRSTDSS.mjs} +4 -4
  89. package/dist/cli/{settings-BA3GHBOD.js → settings-ATX4U5AS.js} +75 -74
  90. package/dist/cli/{settings-Y57JTFDD.mjs → settings-Q24HRAQI.mjs} +8 -7
  91. package/dist/cli/{setup-7GR5GBHA.mjs → setup-77ZWLVHT.mjs} +6 -6
  92. package/dist/cli/{setup-RERXYC66.js → setup-EJCNOUCE.js} +41 -41
  93. package/dist/cli/skills-SPXUBLII.js +28 -0
  94. package/dist/cli/{skills-SJWIQAV5.mjs → skills-XIS5AWQI.mjs} +4 -4
  95. package/dist/cli/tools-DBHUUZJX.js +42 -0
  96. package/dist/cli/{tools-ZF3JXPNL.mjs → tools-WCKLYEGQ.mjs} +8 -7
  97. package/dist/cli/{update-FFFYQAOJ.mjs → update-UT5WANMV.mjs} +6 -6
  98. package/dist/cli/update-VSNFXRHJ.js +28 -0
  99. package/dist/cli/{workflow-SZJVQH4T.js → workflow-226QYUN2.js} +16 -15
  100. package/dist/cli/{workflow-XVFEEGAS.mjs → workflow-ZMX3L4ML.mjs} +6 -5
  101. package/dist/{client-mCE88hC4.d.ts → client-CivP-PAI.d.ts} +22 -13
  102. package/dist/{client-DU5dtHDy.d.mts → client-hdFtwhTm.d.mts} +22 -13
  103. package/dist/{compiler-manifest-DE4RdAiY.d.ts → compiler-manifest-DLxUY5kI.d.mts} +65 -11
  104. package/dist/{compiler-manifest-DE4RdAiY.d.mts → compiler-manifest-DLxUY5kI.d.ts} +65 -11
  105. package/dist/{index-Bi-f7HFT.d.ts → index-B_GM9E3q.d.ts} +1 -1
  106. package/dist/{index-BI6nWgaV.d.mts → index-SCb0NvDb.d.mts} +1 -1
  107. package/dist/index.d.mts +5 -5
  108. package/dist/index.d.ts +5 -5
  109. package/dist/index.js +8 -7
  110. package/dist/index.mjs +5 -4
  111. package/dist/install-integrity.json +92 -84
  112. package/dist/plays/bundle-play-file.d.mts +3 -3
  113. package/dist/plays/bundle-play-file.d.ts +3 -3
  114. package/dist/plays/bundle-play-file.mjs +2 -2
  115. package/dist/plays/play-description.d.mts +6 -0
  116. package/dist/plays/play-description.d.ts +6 -0
  117. package/dist/plays/play-description.js +9 -0
  118. package/dist/plays/play-description.mjs +9 -0
  119. package/dist/plays/run-request.d.mts +2 -2
  120. package/dist/plays/run-request.d.ts +2 -2
  121. package/dist/release.d.mts +1 -1
  122. package/dist/release.d.ts +1 -1
  123. package/dist/release.js +2 -2
  124. package/dist/release.mjs +1 -1
  125. package/package.json +6 -1
  126. package/dist/cli/auth-P3MVDTXM.js +0 -39
  127. package/dist/cli/git-RNM45FX4.js +0 -23
  128. package/dist/cli/play-PDXR6JFB.js +0 -158
  129. package/dist/cli/search-QRWL7MFM.js +0 -27
  130. package/dist/cli/skills-V7EY75HB.js +0 -28
  131. package/dist/cli/tools-H5HLBCHH.js +0 -41
  132. package/dist/cli/update-472HA3LT.js +0 -28
@@ -1,5 +1,5 @@
1
1
  /// <reference path="./text-imports.d.ts" />
2
- import { g as PlayCompilerManifest, ak as ToolResultBilling, Y as BillingEntitlements } from './compiler-manifest-DE4RdAiY.js';
2
+ import { g as PlayCompilerManifest, ak as ToolResultBilling, Y as BillingEntitlements } from './compiler-manifest-DLxUY5kI.js';
3
3
  import { z } from 'zod';
4
4
  import { MonitorFleetDefinition } from './monitor-fleet-contract.js';
5
5
 
@@ -3010,6 +3010,7 @@ interface PlayDescription {
3010
3010
  aliases: string[];
3011
3011
  inputSchema?: Record<string, unknown> | null;
3012
3012
  outputSchema?: Record<string, unknown> | null;
3013
+ /** The compiled pipeline; only when `describePlay(name, { pipeline: true })` asks. */
3013
3014
  staticPipeline?: Record<string, unknown> | null;
3014
3015
  csvInput?: Record<string, unknown> | null;
3015
3016
  rowOutputSchema?: Record<string, unknown> | null;
@@ -3535,6 +3536,21 @@ interface UpdateSharePageRequest {
3535
3536
  seoIndexing?: 'index' | 'noindex';
3536
3537
  }
3537
3538
 
3539
+ /**
3540
+ * The description `deepline describe` and `plays describe` show for a Play,
3541
+ * derived from its definition. The server computes it (`?view=description`)
3542
+ * so a describe reads kilobytes; the SDK computes the same thing from a full
3543
+ * definition when it asks for the compiled pipeline or talks to an older API.
3544
+ */
3545
+ type PlayDescriptionOptions = {
3546
+ /** Field names only, in place of the full input and output schemas. */
3547
+ compact?: boolean;
3548
+ /** Include the compiled pipeline. It can be hundreds of kilobytes. */
3549
+ pipeline?: boolean;
3550
+ };
3551
+ declare function describePlayListItem(play: PlayListItem, options?: PlayDescriptionOptions): PlayDescription;
3552
+ declare function describePlayDetail(detail: PlayDetail, options?: PlayDescriptionOptions): PlayDescription;
3553
+
3538
3554
  type CustomerDbQueryOptions = {
3539
3555
  sql: string;
3540
3556
  maxRows?: number;
@@ -6150,13 +6166,6 @@ declare class DeeplineClient {
6150
6166
  constructor(options?: DeeplineClientOptions);
6151
6167
  /** The resolved base URL this client is targeting (e.g. `"http://localhost:3000"`). */
6152
6168
  get baseUrl(): string;
6153
- private compactSchema;
6154
- private schemaMetadata;
6155
- private playRunCommand;
6156
- private starterPlayPath;
6157
- private playCloneEditStarter;
6158
- private summarizePlayListItem;
6159
- private summarizePlayDetail;
6160
6169
  /** List secret metadata visible to the current workspace. */
6161
6170
  listSecrets(): Promise<PlaySecretMetadata[]>;
6162
6171
  /**
@@ -7097,11 +7106,11 @@ declare class DeeplineClient {
7097
7106
  * Get a normalized play description suitable for agents and CLIs.
7098
7107
  *
7099
7108
  * The description includes runnable examples, input/output summaries, clone
7100
- * guidance, revision state, and latest run metadata when available.
7109
+ * guidance, revision state, and latest run metadata when available. Pass
7110
+ * `{ pipeline: true }` to include the compiled pipeline, which can be
7111
+ * hundreds of kilobytes and is otherwise left out.
7101
7112
  */
7102
- describePlay(name: string, options?: {
7103
- compact?: boolean;
7104
- }): Promise<PlayDescription>;
7113
+ describePlay(name: string, options?: PlayDescriptionOptions): Promise<PlayDescription>;
7105
7114
  /**
7106
7115
  * Clear run history and durable sheet/result data for a play without deleting
7107
7116
  * the play definition or revisions.
@@ -7497,4 +7506,4 @@ declare class DeeplineClient {
7497
7506
  }>;
7498
7507
  }
7499
7508
 
7500
- export { type MonitorDetail as $, type CreateNotificationGroupResult as A, type BillingNamespace as B, type ClearPlayHistoryResult as C, type DeeplineClientOptions as D, type ExecuteToolRawOptions as E, type CustomerDbQueryOptions as F, type CustomerDbQueryPlan as G, type CustomerDbQueryResult as H, DEEPLINE_TOOL_CATEGORIES as I, type DbNamespace as J, type DeeplineToolCategory as K, type IngestionStorageRepairResult as L, type LegacyMonitorStatusFilter as M, type LiveEventEnvelope as N, MONITOR_JOB_PHASES as O, type PlayListItem as P, MONITOR_JOB_RECONCILIATION_STATES as Q, type ResolvedConfig as R, type StopPlayRunResult as S, type ToolDefinition as T, MONITOR_JOB_STATES as U, type MonitorBatchNamespace as V, type MonitorCheckResult as W, type MonitorDefinition as X, type MonitorDeleteResult as Y, type MonitorDependents as Z, type MonitorDeployResult as _, type ToolMetadata as a, type RunEventCountResult as a$, type MonitorFleetDeactivateOptions as a0, type MonitorFleetGetOptions as a1, type MonitorFleetReactivateOptions as a2, type MonitorFleetResult as a3, type MonitorFleetStatus as a4, type MonitorFleetSyncOptions as a5, type MonitorFleetWaitOptions as a6, type MonitorFleetsNamespace as a7, type MonitorJobDeployOptions as a8, type MonitorJobLogsOptions as a9, type PlayLiveEvent as aA, type PlayPath as aB, type PlayRunActionPackage as aC, type PlayRunActivityProjection as aD, type PlayRunDatasetActions as aE, type PlayRunPackage as aF, type PlayRunResult as aG, type PlayRunRowHistoryOptions as aH, type PlayRunStart as aI, type PlaySettings as aJ, type PlaySettingsPatch as aK, type PlaySettingsPathsPage as aL, type PlaySettingsResult as aM, type PlaySheetRow as aN, type PlaySheetRowsResult as aO, type PlayTriggerConfigUpdate as aP, type PlayTriggerConfigUpdateResult as aQ, type PlayTriggerConfigView as aR, type PlayWebhookAuthConfig as aS, type PlayWebhookTriggerConfig as aT, type PlaysActivityResponse as aU, type PlaysListOptions as aV, type PlaysListPage as aW, type PublishPlayVersionRequest as aX, type RerunOptions as aY, type RerunPlayRunResult as aZ, type RunChildrenPage as a_, type MonitorJobPhase as aa, type MonitorJobReconciliationState as ab, type MonitorJobResult as ac, type MonitorJobState as ad, type MonitorJobWaitOptions as ae, type MonitorJobsNamespace as af, type MonitorListEntry as ag, type MonitorPayload as ah, type MonitorReactivateResult as ai, type MonitorSpec as aj, type MonitorState as ak, type MonitorStateFilter as al, type MonitorUpdateChangeSummary as am, type MonitorUpdateResult as an, type MonitorsAccessStatus as ao, type MonitorsAvailableOptions as ap, type MonitorsAvailableResult as aq, type MonitorsListOptions as ar, type MonitorsListResult as as, type MonitorsNamespace as at, type NormalizedRunEventQuery as au, type PlayActivityObservation as av, type PlayActivityState as aw, type PlayActivityTarget as ax, type PlayCostEstimate as ay, type PlayCronTriggerConfig as az, type ExecutionRecovery as b, type ToolSearchResult as b$, type RunEventField as b0, type RunEventFieldDescriptor as b1, type RunEventFieldOperators as b2, type RunEventFieldsResult as b3, type RunEventGroupValue as b4, type RunEventMeasure as b5, type RunEventQueryCriteria as b6, type RunEventQueryEvent as b7, RunEventQueryInputError as b8, type RunEventQueryOptions as b9, type RunsListPage as bA, type RunsLogCriteria as bB, type RunsLogsCountResult as bC, type RunsLogsNamespace as bD, type RunsLogsOptions as bE, type RunsLogsQueryOptions as bF, type RunsLogsQueryResult as bG, type RunsLogsResult as bH, type RunsLogsSummaryOptions as bI, type RunsLogsSummaryResult as bJ, type RunsNamespace as bK, type RunsTailOptions as bL, type RunsWatchOptions as bM, type SearchOptions as bN, type SearchResult as bO, type SearchResultItem as bP, type SearchType as bQ, type StartPlayRunRequest as bR, type StopAllCandidate as bS, type StopAllPlayRunsDryRunResult as bT, type StopAllPlayRunsResult as bU, type StopAllPlayRunsStopResult as bV, type StopAllRunsOptions as bW, type ToolExecution as bX, type ToolRequestCondition as bY, type ToolRequestWarningRule as bZ, type ToolSearchOptions as b_, type RunEventQueryPage as ba, type RunEventQueryRetention as bb, type RunEventScalar as bc, type RunEventSummaryOptions as bd, type RunEventSummaryResult as be, type RunEventWhere as bf, type RunLifecycleStatus as bg, type RunToolReceiptResult as bh, type RunToolReceiptsResponse as bi, type RunsChildrenOptions as bj, type RunsEventPayload as bk, type RunsEventSearchEntry as bl, type RunsEventSearchOptions as bm, type RunsEventSearchResult as bn, type RunsEventsCountResult as bo, type RunsEventsCriteria as bp, type RunsEventsFieldsOptions as bq, type RunsEventsListOptions as br, type RunsEventsListResult as bs, type RunsEventsNamespace as bt, type RunsEventsSummaryOptions as bu, type RunsEventsSummaryResult as bv, type RunsHistoryItem as bw, type RunsHistoryOptions as bx, type RunsHistoryPage as by, type RunsListOptions as bz, type ExecutionByKeyResult as c, type WorkspaceCreateResult as c0, type WorkspacesNamespace as c1, defineMonitor as c2, isStopAllPlayRunsDryRunResult as c3, planCustomerDbQuery as c4, CSV_DATA_INPUT_KEY as c5, type FileInputBinding as c6, type LocalFileInput as c7, type MintStagedFileUpload as c8, PLAY_FILES_STAGE_MINT_PATH as c9, webStagedFileCodec as cA, PLAY_FILES_STAGE_PATH as ca, PLAY_RUN_START_PATH as cb, PLAY_RUN_START_STREAM_PATH as cc, type PlayRunHttp as cd, type ResolvedStartPlayRunRequest as ce, STAGE_LEGACY_MULTIPART_MAX_BYTES as cf, type StagedFileCodec as cg, type StagedFileInputs as ch, type StagedFileUpload as ci, buildNamedPlayRunRequest as cj, buildPlayRunStartBody as ck, createSessionPlayRunHttp as cl, createStagedFileUpload as cm, fileInputBindingsFromPlaySchema as cn, fileInputBindingsFromStaticPipeline as co, getDottedInputValue as cp, isPlayRunPackage as cq, mintStagedPlayFileUploads as cr, normalizePlayRunStart as cs, playRunFileInputBindings as ct, preparePlayRunAdmission as cu, setDottedInputValue as cv, stageFileInputs as cw, stagePlayFiles as cx, stagedFileContentType as cy, startPlayRun as cz, type PlayDetail as d, type PlayRunListItem as e, type PlayRevisionSummary as f, type PublishPlayVersionResult as g, type PlayStatus as h, DeeplineClient as i, type BillingCreditPool as j, type BillingInvoiceEntry as k, type BillingInvoicesResult as l, type BillingPaymentMethodSummary as m, type BillingQuoteRequest as n, type BillingQuoteResult as o, type BillingRecentUsageEntry as p, type BillingSubscriptionCancelResult as q, type BillingSubscriptionStatus as r, type BillingTopUpReceipt as s, type BillingTopUpResult as t, type BillingUsageEvent as u, type BillingUsageOptions as v, type BillingUsageResult as w, type ChildRunSummary as x, type ClearPlayHistoryRequest as y, type CreateNotificationGroupInput as z };
7509
+ export { type MonitorDetail as $, type CreateNotificationGroupResult as A, type BillingNamespace as B, type ClearPlayHistoryResult as C, type DeeplineClientOptions as D, type ExecuteToolRawOptions as E, type CustomerDbQueryOptions as F, type CustomerDbQueryPlan as G, type CustomerDbQueryResult as H, DEEPLINE_TOOL_CATEGORIES as I, type DbNamespace as J, type DeeplineToolCategory as K, type IngestionStorageRepairResult as L, type LegacyMonitorStatusFilter as M, type LiveEventEnvelope as N, MONITOR_JOB_PHASES as O, type PlayListItem as P, MONITOR_JOB_RECONCILIATION_STATES as Q, type ResolvedConfig as R, type StopPlayRunResult as S, type ToolDefinition as T, MONITOR_JOB_STATES as U, type MonitorBatchNamespace as V, type MonitorCheckResult as W, type MonitorDefinition as X, type MonitorDeleteResult as Y, type MonitorDependents as Z, type MonitorDeployResult as _, type ToolMetadata as a, type RunChildrenPage as a$, type MonitorFleetDeactivateOptions as a0, type MonitorFleetGetOptions as a1, type MonitorFleetReactivateOptions as a2, type MonitorFleetResult as a3, type MonitorFleetStatus as a4, type MonitorFleetSyncOptions as a5, type MonitorFleetWaitOptions as a6, type MonitorFleetsNamespace as a7, type MonitorJobDeployOptions as a8, type MonitorJobLogsOptions as a9, type PlayDescriptionOptions as aA, type PlayLiveEvent as aB, type PlayPath as aC, type PlayRunActionPackage as aD, type PlayRunActivityProjection as aE, type PlayRunDatasetActions as aF, type PlayRunPackage as aG, type PlayRunResult as aH, type PlayRunRowHistoryOptions as aI, type PlayRunStart as aJ, type PlaySettings as aK, type PlaySettingsPatch as aL, type PlaySettingsPathsPage as aM, type PlaySettingsResult as aN, type PlaySheetRow as aO, type PlaySheetRowsResult as aP, type PlayTriggerConfigUpdate as aQ, type PlayTriggerConfigUpdateResult as aR, type PlayTriggerConfigView as aS, type PlayWebhookAuthConfig as aT, type PlayWebhookTriggerConfig as aU, type PlaysActivityResponse as aV, type PlaysListOptions as aW, type PlaysListPage as aX, type PublishPlayVersionRequest as aY, type RerunOptions as aZ, type RerunPlayRunResult as a_, type MonitorJobPhase as aa, type MonitorJobReconciliationState as ab, type MonitorJobResult as ac, type MonitorJobState as ad, type MonitorJobWaitOptions as ae, type MonitorJobsNamespace as af, type MonitorListEntry as ag, type MonitorPayload as ah, type MonitorReactivateResult as ai, type MonitorSpec as aj, type MonitorState as ak, type MonitorStateFilter as al, type MonitorUpdateChangeSummary as am, type MonitorUpdateResult as an, type MonitorsAccessStatus as ao, type MonitorsAvailableOptions as ap, type MonitorsAvailableResult as aq, type MonitorsListOptions as ar, type MonitorsListResult as as, type MonitorsNamespace as at, type NormalizedRunEventQuery as au, type PlayActivityObservation as av, type PlayActivityState as aw, type PlayActivityTarget as ax, type PlayCostEstimate as ay, type PlayCronTriggerConfig as az, type ExecutionRecovery as b, type ToolSearchOptions as b$, type RunEventCountResult as b0, type RunEventField as b1, type RunEventFieldDescriptor as b2, type RunEventFieldOperators as b3, type RunEventFieldsResult as b4, type RunEventGroupValue as b5, type RunEventMeasure as b6, type RunEventQueryCriteria as b7, type RunEventQueryEvent as b8, RunEventQueryInputError as b9, type RunsListOptions as bA, type RunsListPage as bB, type RunsLogCriteria as bC, type RunsLogsCountResult as bD, type RunsLogsNamespace as bE, type RunsLogsOptions as bF, type RunsLogsQueryOptions as bG, type RunsLogsQueryResult as bH, type RunsLogsResult as bI, type RunsLogsSummaryOptions as bJ, type RunsLogsSummaryResult as bK, type RunsNamespace as bL, type RunsTailOptions as bM, type RunsWatchOptions as bN, type SearchOptions as bO, type SearchResult as bP, type SearchResultItem as bQ, type SearchType as bR, type StartPlayRunRequest as bS, type StopAllCandidate as bT, type StopAllPlayRunsDryRunResult as bU, type StopAllPlayRunsResult as bV, type StopAllPlayRunsStopResult as bW, type StopAllRunsOptions as bX, type ToolExecution as bY, type ToolRequestCondition as bZ, type ToolRequestWarningRule as b_, type RunEventQueryOptions as ba, type RunEventQueryPage as bb, type RunEventQueryRetention as bc, type RunEventScalar as bd, type RunEventSummaryOptions as be, type RunEventSummaryResult as bf, type RunEventWhere as bg, type RunLifecycleStatus as bh, type RunToolReceiptResult as bi, type RunToolReceiptsResponse as bj, type RunsChildrenOptions as bk, type RunsEventPayload as bl, type RunsEventSearchEntry as bm, type RunsEventSearchOptions as bn, type RunsEventSearchResult as bo, type RunsEventsCountResult as bp, type RunsEventsCriteria as bq, type RunsEventsFieldsOptions as br, type RunsEventsListOptions as bs, type RunsEventsListResult as bt, type RunsEventsNamespace as bu, type RunsEventsSummaryOptions as bv, type RunsEventsSummaryResult as bw, type RunsHistoryItem as bx, type RunsHistoryOptions as by, type RunsHistoryPage as bz, type ExecutionByKeyResult as c, type ToolSearchResult as c0, type WorkspaceCreateResult as c1, type WorkspacesNamespace as c2, defineMonitor as c3, isStopAllPlayRunsDryRunResult as c4, planCustomerDbQuery as c5, type PlayDescription as c6, describePlayDetail as c7, describePlayListItem as c8, CSV_DATA_INPUT_KEY as c9, stageFileInputs as cA, stagePlayFiles as cB, stagedFileContentType as cC, startPlayRun as cD, webStagedFileCodec as cE, type FileInputBinding as ca, type LocalFileInput as cb, type MintStagedFileUpload as cc, PLAY_FILES_STAGE_MINT_PATH as cd, PLAY_FILES_STAGE_PATH as ce, PLAY_RUN_START_PATH as cf, PLAY_RUN_START_STREAM_PATH as cg, type PlayRunHttp as ch, type ResolvedStartPlayRunRequest as ci, STAGE_LEGACY_MULTIPART_MAX_BYTES as cj, type StagedFileCodec as ck, type StagedFileInputs as cl, type StagedFileUpload as cm, buildNamedPlayRunRequest as cn, buildPlayRunStartBody as co, createSessionPlayRunHttp as cp, createStagedFileUpload as cq, fileInputBindingsFromPlaySchema as cr, fileInputBindingsFromStaticPipeline as cs, getDottedInputValue as ct, isPlayRunPackage as cu, mintStagedPlayFileUploads as cv, normalizePlayRunStart as cw, playRunFileInputBindings as cx, preparePlayRunAdmission as cy, setDottedInputValue as cz, type PlayDetail as d, type PlayRunListItem as e, type PlayRevisionSummary as f, type PublishPlayVersionResult as g, type PlayStatus as h, DeeplineClient as i, type BillingCreditPool as j, type BillingInvoiceEntry as k, type BillingInvoicesResult as l, type BillingPaymentMethodSummary as m, type BillingQuoteRequest as n, type BillingQuoteResult as o, type BillingRecentUsageEntry as p, type BillingSubscriptionCancelResult as q, type BillingSubscriptionStatus as r, type BillingTopUpReceipt as s, type BillingTopUpResult as t, type BillingUsageEvent as u, type BillingUsageOptions as v, type BillingUsageResult as w, type ChildRunSummary as x, type ClearPlayHistoryRequest as y, type CreateNotificationGroupInput as z };
@@ -1,5 +1,5 @@
1
1
  /// <reference path="./text-imports.d.ts" />
2
- import { g as PlayCompilerManifest, ak as ToolResultBilling, Y as BillingEntitlements } from './compiler-manifest-DE4RdAiY.mjs';
2
+ import { g as PlayCompilerManifest, ak as ToolResultBilling, Y as BillingEntitlements } from './compiler-manifest-DLxUY5kI.mjs';
3
3
  import { z } from 'zod';
4
4
  import { MonitorFleetDefinition } from './monitor-fleet-contract.mjs';
5
5
 
@@ -3010,6 +3010,7 @@ interface PlayDescription {
3010
3010
  aliases: string[];
3011
3011
  inputSchema?: Record<string, unknown> | null;
3012
3012
  outputSchema?: Record<string, unknown> | null;
3013
+ /** The compiled pipeline; only when `describePlay(name, { pipeline: true })` asks. */
3013
3014
  staticPipeline?: Record<string, unknown> | null;
3014
3015
  csvInput?: Record<string, unknown> | null;
3015
3016
  rowOutputSchema?: Record<string, unknown> | null;
@@ -3535,6 +3536,21 @@ interface UpdateSharePageRequest {
3535
3536
  seoIndexing?: 'index' | 'noindex';
3536
3537
  }
3537
3538
 
3539
+ /**
3540
+ * The description `deepline describe` and `plays describe` show for a Play,
3541
+ * derived from its definition. The server computes it (`?view=description`)
3542
+ * so a describe reads kilobytes; the SDK computes the same thing from a full
3543
+ * definition when it asks for the compiled pipeline or talks to an older API.
3544
+ */
3545
+ type PlayDescriptionOptions = {
3546
+ /** Field names only, in place of the full input and output schemas. */
3547
+ compact?: boolean;
3548
+ /** Include the compiled pipeline. It can be hundreds of kilobytes. */
3549
+ pipeline?: boolean;
3550
+ };
3551
+ declare function describePlayListItem(play: PlayListItem, options?: PlayDescriptionOptions): PlayDescription;
3552
+ declare function describePlayDetail(detail: PlayDetail, options?: PlayDescriptionOptions): PlayDescription;
3553
+
3538
3554
  type CustomerDbQueryOptions = {
3539
3555
  sql: string;
3540
3556
  maxRows?: number;
@@ -6150,13 +6166,6 @@ declare class DeeplineClient {
6150
6166
  constructor(options?: DeeplineClientOptions);
6151
6167
  /** The resolved base URL this client is targeting (e.g. `"http://localhost:3000"`). */
6152
6168
  get baseUrl(): string;
6153
- private compactSchema;
6154
- private schemaMetadata;
6155
- private playRunCommand;
6156
- private starterPlayPath;
6157
- private playCloneEditStarter;
6158
- private summarizePlayListItem;
6159
- private summarizePlayDetail;
6160
6169
  /** List secret metadata visible to the current workspace. */
6161
6170
  listSecrets(): Promise<PlaySecretMetadata[]>;
6162
6171
  /**
@@ -7097,11 +7106,11 @@ declare class DeeplineClient {
7097
7106
  * Get a normalized play description suitable for agents and CLIs.
7098
7107
  *
7099
7108
  * The description includes runnable examples, input/output summaries, clone
7100
- * guidance, revision state, and latest run metadata when available.
7109
+ * guidance, revision state, and latest run metadata when available. Pass
7110
+ * `{ pipeline: true }` to include the compiled pipeline, which can be
7111
+ * hundreds of kilobytes and is otherwise left out.
7101
7112
  */
7102
- describePlay(name: string, options?: {
7103
- compact?: boolean;
7104
- }): Promise<PlayDescription>;
7113
+ describePlay(name: string, options?: PlayDescriptionOptions): Promise<PlayDescription>;
7105
7114
  /**
7106
7115
  * Clear run history and durable sheet/result data for a play without deleting
7107
7116
  * the play definition or revisions.
@@ -7497,4 +7506,4 @@ declare class DeeplineClient {
7497
7506
  }>;
7498
7507
  }
7499
7508
 
7500
- export { type MonitorDetail as $, type CreateNotificationGroupResult as A, type BillingNamespace as B, type ClearPlayHistoryResult as C, type DeeplineClientOptions as D, type ExecuteToolRawOptions as E, type CustomerDbQueryOptions as F, type CustomerDbQueryPlan as G, type CustomerDbQueryResult as H, DEEPLINE_TOOL_CATEGORIES as I, type DbNamespace as J, type DeeplineToolCategory as K, type IngestionStorageRepairResult as L, type LegacyMonitorStatusFilter as M, type LiveEventEnvelope as N, MONITOR_JOB_PHASES as O, type PlayListItem as P, MONITOR_JOB_RECONCILIATION_STATES as Q, type ResolvedConfig as R, type StopPlayRunResult as S, type ToolDefinition as T, MONITOR_JOB_STATES as U, type MonitorBatchNamespace as V, type MonitorCheckResult as W, type MonitorDefinition as X, type MonitorDeleteResult as Y, type MonitorDependents as Z, type MonitorDeployResult as _, type ToolMetadata as a, type RunEventCountResult as a$, type MonitorFleetDeactivateOptions as a0, type MonitorFleetGetOptions as a1, type MonitorFleetReactivateOptions as a2, type MonitorFleetResult as a3, type MonitorFleetStatus as a4, type MonitorFleetSyncOptions as a5, type MonitorFleetWaitOptions as a6, type MonitorFleetsNamespace as a7, type MonitorJobDeployOptions as a8, type MonitorJobLogsOptions as a9, type PlayLiveEvent as aA, type PlayPath as aB, type PlayRunActionPackage as aC, type PlayRunActivityProjection as aD, type PlayRunDatasetActions as aE, type PlayRunPackage as aF, type PlayRunResult as aG, type PlayRunRowHistoryOptions as aH, type PlayRunStart as aI, type PlaySettings as aJ, type PlaySettingsPatch as aK, type PlaySettingsPathsPage as aL, type PlaySettingsResult as aM, type PlaySheetRow as aN, type PlaySheetRowsResult as aO, type PlayTriggerConfigUpdate as aP, type PlayTriggerConfigUpdateResult as aQ, type PlayTriggerConfigView as aR, type PlayWebhookAuthConfig as aS, type PlayWebhookTriggerConfig as aT, type PlaysActivityResponse as aU, type PlaysListOptions as aV, type PlaysListPage as aW, type PublishPlayVersionRequest as aX, type RerunOptions as aY, type RerunPlayRunResult as aZ, type RunChildrenPage as a_, type MonitorJobPhase as aa, type MonitorJobReconciliationState as ab, type MonitorJobResult as ac, type MonitorJobState as ad, type MonitorJobWaitOptions as ae, type MonitorJobsNamespace as af, type MonitorListEntry as ag, type MonitorPayload as ah, type MonitorReactivateResult as ai, type MonitorSpec as aj, type MonitorState as ak, type MonitorStateFilter as al, type MonitorUpdateChangeSummary as am, type MonitorUpdateResult as an, type MonitorsAccessStatus as ao, type MonitorsAvailableOptions as ap, type MonitorsAvailableResult as aq, type MonitorsListOptions as ar, type MonitorsListResult as as, type MonitorsNamespace as at, type NormalizedRunEventQuery as au, type PlayActivityObservation as av, type PlayActivityState as aw, type PlayActivityTarget as ax, type PlayCostEstimate as ay, type PlayCronTriggerConfig as az, type ExecutionRecovery as b, type ToolSearchResult as b$, type RunEventField as b0, type RunEventFieldDescriptor as b1, type RunEventFieldOperators as b2, type RunEventFieldsResult as b3, type RunEventGroupValue as b4, type RunEventMeasure as b5, type RunEventQueryCriteria as b6, type RunEventQueryEvent as b7, RunEventQueryInputError as b8, type RunEventQueryOptions as b9, type RunsListPage as bA, type RunsLogCriteria as bB, type RunsLogsCountResult as bC, type RunsLogsNamespace as bD, type RunsLogsOptions as bE, type RunsLogsQueryOptions as bF, type RunsLogsQueryResult as bG, type RunsLogsResult as bH, type RunsLogsSummaryOptions as bI, type RunsLogsSummaryResult as bJ, type RunsNamespace as bK, type RunsTailOptions as bL, type RunsWatchOptions as bM, type SearchOptions as bN, type SearchResult as bO, type SearchResultItem as bP, type SearchType as bQ, type StartPlayRunRequest as bR, type StopAllCandidate as bS, type StopAllPlayRunsDryRunResult as bT, type StopAllPlayRunsResult as bU, type StopAllPlayRunsStopResult as bV, type StopAllRunsOptions as bW, type ToolExecution as bX, type ToolRequestCondition as bY, type ToolRequestWarningRule as bZ, type ToolSearchOptions as b_, type RunEventQueryPage as ba, type RunEventQueryRetention as bb, type RunEventScalar as bc, type RunEventSummaryOptions as bd, type RunEventSummaryResult as be, type RunEventWhere as bf, type RunLifecycleStatus as bg, type RunToolReceiptResult as bh, type RunToolReceiptsResponse as bi, type RunsChildrenOptions as bj, type RunsEventPayload as bk, type RunsEventSearchEntry as bl, type RunsEventSearchOptions as bm, type RunsEventSearchResult as bn, type RunsEventsCountResult as bo, type RunsEventsCriteria as bp, type RunsEventsFieldsOptions as bq, type RunsEventsListOptions as br, type RunsEventsListResult as bs, type RunsEventsNamespace as bt, type RunsEventsSummaryOptions as bu, type RunsEventsSummaryResult as bv, type RunsHistoryItem as bw, type RunsHistoryOptions as bx, type RunsHistoryPage as by, type RunsListOptions as bz, type ExecutionByKeyResult as c, type WorkspaceCreateResult as c0, type WorkspacesNamespace as c1, defineMonitor as c2, isStopAllPlayRunsDryRunResult as c3, planCustomerDbQuery as c4, CSV_DATA_INPUT_KEY as c5, type FileInputBinding as c6, type LocalFileInput as c7, type MintStagedFileUpload as c8, PLAY_FILES_STAGE_MINT_PATH as c9, webStagedFileCodec as cA, PLAY_FILES_STAGE_PATH as ca, PLAY_RUN_START_PATH as cb, PLAY_RUN_START_STREAM_PATH as cc, type PlayRunHttp as cd, type ResolvedStartPlayRunRequest as ce, STAGE_LEGACY_MULTIPART_MAX_BYTES as cf, type StagedFileCodec as cg, type StagedFileInputs as ch, type StagedFileUpload as ci, buildNamedPlayRunRequest as cj, buildPlayRunStartBody as ck, createSessionPlayRunHttp as cl, createStagedFileUpload as cm, fileInputBindingsFromPlaySchema as cn, fileInputBindingsFromStaticPipeline as co, getDottedInputValue as cp, isPlayRunPackage as cq, mintStagedPlayFileUploads as cr, normalizePlayRunStart as cs, playRunFileInputBindings as ct, preparePlayRunAdmission as cu, setDottedInputValue as cv, stageFileInputs as cw, stagePlayFiles as cx, stagedFileContentType as cy, startPlayRun as cz, type PlayDetail as d, type PlayRunListItem as e, type PlayRevisionSummary as f, type PublishPlayVersionResult as g, type PlayStatus as h, DeeplineClient as i, type BillingCreditPool as j, type BillingInvoiceEntry as k, type BillingInvoicesResult as l, type BillingPaymentMethodSummary as m, type BillingQuoteRequest as n, type BillingQuoteResult as o, type BillingRecentUsageEntry as p, type BillingSubscriptionCancelResult as q, type BillingSubscriptionStatus as r, type BillingTopUpReceipt as s, type BillingTopUpResult as t, type BillingUsageEvent as u, type BillingUsageOptions as v, type BillingUsageResult as w, type ChildRunSummary as x, type ClearPlayHistoryRequest as y, type CreateNotificationGroupInput as z };
7509
+ export { type MonitorDetail as $, type CreateNotificationGroupResult as A, type BillingNamespace as B, type ClearPlayHistoryResult as C, type DeeplineClientOptions as D, type ExecuteToolRawOptions as E, type CustomerDbQueryOptions as F, type CustomerDbQueryPlan as G, type CustomerDbQueryResult as H, DEEPLINE_TOOL_CATEGORIES as I, type DbNamespace as J, type DeeplineToolCategory as K, type IngestionStorageRepairResult as L, type LegacyMonitorStatusFilter as M, type LiveEventEnvelope as N, MONITOR_JOB_PHASES as O, type PlayListItem as P, MONITOR_JOB_RECONCILIATION_STATES as Q, type ResolvedConfig as R, type StopPlayRunResult as S, type ToolDefinition as T, MONITOR_JOB_STATES as U, type MonitorBatchNamespace as V, type MonitorCheckResult as W, type MonitorDefinition as X, type MonitorDeleteResult as Y, type MonitorDependents as Z, type MonitorDeployResult as _, type ToolMetadata as a, type RunChildrenPage as a$, type MonitorFleetDeactivateOptions as a0, type MonitorFleetGetOptions as a1, type MonitorFleetReactivateOptions as a2, type MonitorFleetResult as a3, type MonitorFleetStatus as a4, type MonitorFleetSyncOptions as a5, type MonitorFleetWaitOptions as a6, type MonitorFleetsNamespace as a7, type MonitorJobDeployOptions as a8, type MonitorJobLogsOptions as a9, type PlayDescriptionOptions as aA, type PlayLiveEvent as aB, type PlayPath as aC, type PlayRunActionPackage as aD, type PlayRunActivityProjection as aE, type PlayRunDatasetActions as aF, type PlayRunPackage as aG, type PlayRunResult as aH, type PlayRunRowHistoryOptions as aI, type PlayRunStart as aJ, type PlaySettings as aK, type PlaySettingsPatch as aL, type PlaySettingsPathsPage as aM, type PlaySettingsResult as aN, type PlaySheetRow as aO, type PlaySheetRowsResult as aP, type PlayTriggerConfigUpdate as aQ, type PlayTriggerConfigUpdateResult as aR, type PlayTriggerConfigView as aS, type PlayWebhookAuthConfig as aT, type PlayWebhookTriggerConfig as aU, type PlaysActivityResponse as aV, type PlaysListOptions as aW, type PlaysListPage as aX, type PublishPlayVersionRequest as aY, type RerunOptions as aZ, type RerunPlayRunResult as a_, type MonitorJobPhase as aa, type MonitorJobReconciliationState as ab, type MonitorJobResult as ac, type MonitorJobState as ad, type MonitorJobWaitOptions as ae, type MonitorJobsNamespace as af, type MonitorListEntry as ag, type MonitorPayload as ah, type MonitorReactivateResult as ai, type MonitorSpec as aj, type MonitorState as ak, type MonitorStateFilter as al, type MonitorUpdateChangeSummary as am, type MonitorUpdateResult as an, type MonitorsAccessStatus as ao, type MonitorsAvailableOptions as ap, type MonitorsAvailableResult as aq, type MonitorsListOptions as ar, type MonitorsListResult as as, type MonitorsNamespace as at, type NormalizedRunEventQuery as au, type PlayActivityObservation as av, type PlayActivityState as aw, type PlayActivityTarget as ax, type PlayCostEstimate as ay, type PlayCronTriggerConfig as az, type ExecutionRecovery as b, type ToolSearchOptions as b$, type RunEventCountResult as b0, type RunEventField as b1, type RunEventFieldDescriptor as b2, type RunEventFieldOperators as b3, type RunEventFieldsResult as b4, type RunEventGroupValue as b5, type RunEventMeasure as b6, type RunEventQueryCriteria as b7, type RunEventQueryEvent as b8, RunEventQueryInputError as b9, type RunsListOptions as bA, type RunsListPage as bB, type RunsLogCriteria as bC, type RunsLogsCountResult as bD, type RunsLogsNamespace as bE, type RunsLogsOptions as bF, type RunsLogsQueryOptions as bG, type RunsLogsQueryResult as bH, type RunsLogsResult as bI, type RunsLogsSummaryOptions as bJ, type RunsLogsSummaryResult as bK, type RunsNamespace as bL, type RunsTailOptions as bM, type RunsWatchOptions as bN, type SearchOptions as bO, type SearchResult as bP, type SearchResultItem as bQ, type SearchType as bR, type StartPlayRunRequest as bS, type StopAllCandidate as bT, type StopAllPlayRunsDryRunResult as bU, type StopAllPlayRunsResult as bV, type StopAllPlayRunsStopResult as bW, type StopAllRunsOptions as bX, type ToolExecution as bY, type ToolRequestCondition as bZ, type ToolRequestWarningRule as b_, type RunEventQueryOptions as ba, type RunEventQueryPage as bb, type RunEventQueryRetention as bc, type RunEventScalar as bd, type RunEventSummaryOptions as be, type RunEventSummaryResult as bf, type RunEventWhere as bg, type RunLifecycleStatus as bh, type RunToolReceiptResult as bi, type RunToolReceiptsResponse as bj, type RunsChildrenOptions as bk, type RunsEventPayload as bl, type RunsEventSearchEntry as bm, type RunsEventSearchOptions as bn, type RunsEventSearchResult as bo, type RunsEventsCountResult as bp, type RunsEventsCriteria as bq, type RunsEventsFieldsOptions as br, type RunsEventsListOptions as bs, type RunsEventsListResult as bt, type RunsEventsNamespace as bu, type RunsEventsSummaryOptions as bv, type RunsEventsSummaryResult as bw, type RunsHistoryItem as bx, type RunsHistoryOptions as by, type RunsHistoryPage as bz, type ExecutionByKeyResult as c, type ToolSearchResult as c0, type WorkspaceCreateResult as c1, type WorkspacesNamespace as c2, defineMonitor as c3, isStopAllPlayRunsDryRunResult as c4, planCustomerDbQuery as c5, type PlayDescription as c6, describePlayDetail as c7, describePlayListItem as c8, CSV_DATA_INPUT_KEY as c9, stageFileInputs as cA, stagePlayFiles as cB, stagedFileContentType as cC, startPlayRun as cD, webStagedFileCodec as cE, type FileInputBinding as ca, type LocalFileInput as cb, type MintStagedFileUpload as cc, PLAY_FILES_STAGE_MINT_PATH as cd, PLAY_FILES_STAGE_PATH as ce, PLAY_RUN_START_PATH as cf, PLAY_RUN_START_STREAM_PATH as cg, type PlayRunHttp as ch, type ResolvedStartPlayRunRequest as ci, STAGE_LEGACY_MULTIPART_MAX_BYTES as cj, type StagedFileCodec as ck, type StagedFileInputs as cl, type StagedFileUpload as cm, buildNamedPlayRunRequest as cn, buildPlayRunStartBody as co, createSessionPlayRunHttp as cp, createStagedFileUpload as cq, fileInputBindingsFromPlaySchema as cr, fileInputBindingsFromStaticPipeline as cs, getDottedInputValue as ct, isPlayRunPackage as cu, mintStagedPlayFileUploads as cv, normalizePlayRunStart as cw, playRunFileInputBindings as cx, preparePlayRunAdmission as cy, setDottedInputValue as cz, type PlayDetail as d, type PlayRunListItem as e, type PlayRevisionSummary as f, type PublishPlayVersionResult as g, type PlayStatus as h, DeeplineClient as i, type BillingCreditPool as j, type BillingInvoiceEntry as k, type BillingInvoicesResult as l, type BillingPaymentMethodSummary as m, type BillingQuoteRequest as n, type BillingQuoteResult as o, type BillingRecentUsageEntry as p, type BillingSubscriptionCancelResult as q, type BillingSubscriptionStatus as r, type BillingTopUpReceipt as s, type BillingTopUpResult as t, type BillingUsageEvent as u, type BillingUsageOptions as v, type BillingUsageResult as w, type ChildRunSummary as x, type ClearPlayHistoryRequest as y, type CreateNotificationGroupInput as z };
@@ -713,6 +713,19 @@ type ToolResultExecutionMetadata = {
713
713
  /** Canonical saved result identity; receiptKey may name a transport alias. */
714
714
  resultReceiptKey?: string;
715
715
  attachedToReceiptKey?: string;
716
+ /** Freshness and operation recovery are independent of provider idempotency. */
717
+ freshness?: CallFreshnessMetadata;
718
+ /** Time the live result completed, retained unchanged through recovery. */
719
+ completedAt?: number;
720
+ };
721
+ type CallFreshnessMetadata = {
722
+ requestedStaleAfterSeconds: number | null;
723
+ effectiveStaleAfterSeconds: number | null;
724
+ source: 'executed' | 'operation_recovery' | 'reusable_result' | 'live_observation';
725
+ resultAgeMs: number;
726
+ completedAt: number;
727
+ operationReceiptKey?: string;
728
+ unavailableReason?: string;
716
729
  };
717
730
  type ToolResultTargetMetadata = {
718
731
  value: unknown;
@@ -1096,7 +1109,7 @@ type PlayAuthoringStepOptions<Row, Value = unknown> = {
1096
1109
  /** Legacy error-recompute flag accepted for older authored Plays. */
1097
1110
  readonly recomputeOnError?: boolean;
1098
1111
  /** Legacy cell staleness metadata accepted for older authored Plays. */
1099
- readonly staleAfterSeconds?: number;
1112
+ readonly staleAfterSeconds?: DurableCallStaleAfterSeconds;
1100
1113
  };
1101
1114
  /** Explicitly mark a step program as a provider fallback waterfall. */
1102
1115
  type PlayAuthoringStepProgramOptions = {
@@ -1123,7 +1136,7 @@ type PlayAuthoringStepProgramStep<TContext> = {
1123
1136
  readonly name: string;
1124
1137
  readonly recompute?: boolean;
1125
1138
  readonly recomputeOnError?: boolean;
1126
- readonly staleAfterSeconds?: number;
1139
+ readonly staleAfterSeconds?: DurableCallStaleAfterSeconds;
1127
1140
  readonly resolver: PlayAuthoringStepResolver<Record<string, unknown>, unknown, TContext> | PlayAuthoringConditionalStepResolver<Record<string, unknown>, unknown, TContext> | PlayAuthoringStepProgramResolver<Record<string, unknown>, unknown, TContext>;
1128
1141
  };
1129
1142
  type PlayAuthoringColumnResolver<Row, Value, TContext> = PlayAuthoringStepResolver<Row, Value, TContext> | PlayAuthoringConditionalStepResolver<Row, Value, TContext> | PlayAuthoringRunnableStepProgram<Value, TContext>;
@@ -1134,7 +1147,7 @@ type PlayAuthoringDatasetDefinitionOptions<InputRow extends object> = {
1134
1147
  type PlayAuthoringDatasetRunOptions<InputRow extends object> = {
1135
1148
  description?: string;
1136
1149
  key?: PlayAuthoringDatasetRowKey<InputRow>;
1137
- /** CSV defaults to source row identity. Use key only for intentional deduplication. */
1150
+ /** Edition 11 CSVs always use source-row identity; key-based deduplication remains for non-CSV inputs and earlier editions. */
1138
1151
  rowIdentity?: 'source_row' | 'key';
1139
1152
  onRowError?: 'isolate' | 'fail';
1140
1153
  mode?: 'upsert' | 'net_new';
@@ -1226,8 +1239,10 @@ type PlayAuthoringRuntimeStepOptions = {
1226
1239
  /**
1227
1240
  * Durable freshness for one `ctx.fetch` call. The key identifies the request;
1228
1241
  * `staleAfterSeconds` controls when that completed request may be reused across
1229
- * Play runs. Omit it (or pass `null`) to reuse indefinitely, pass `0` to
1230
- * execute on every new run, or pass a positive number of seconds for a TTL.
1242
+ * Play runs. Edition 11 requires an explicit choice: `null` reuses indefinitely,
1243
+ * `0` executes on every new run, and a positive whole number sets the maximum
1244
+ * result age. Retained results are supported only for read methods (GET, HEAD,
1245
+ * OPTIONS); mutating methods require `0`. Transient calls do not retain results.
1231
1246
  *
1232
1247
  * Use this for polling or periodically refreshing one external resource. It
1233
1248
  * does not change dataset row identity.
@@ -1235,7 +1250,7 @@ type PlayAuthoringRuntimeStepOptions = {
1235
1250
  */
1236
1251
  type PlayAuthoringFetchOptions = {
1237
1252
  staleAfterSeconds?: DurableCallStaleAfterSeconds;
1238
- /** Run through Deepline's guarded outbound path without retaining a response receipt or checkpoint. Use this for short-lived credential exchanges or other response data that should stay in the running Play only. */
1253
+ /** Run through Deepline's guarded outbound path without retaining a response receipt or checkpoint. Edition 11 permits transient fetches only for GET, HEAD, and OPTIONS. */
1239
1254
  transient?: boolean;
1240
1255
  };
1241
1256
  /**
@@ -1291,6 +1306,8 @@ declare class CtxFetchHttpError extends Error {
1291
1306
  constructor(response: PlayAuthoringFetchResponse);
1292
1307
  }
1293
1308
  type PlayAuthoringCustomerDbQueryOptions = {
1309
+ id?: string;
1310
+ staleAfterSeconds?: 0;
1294
1311
  maxRows?: number;
1295
1312
  timeoutMs?: number;
1296
1313
  };
@@ -1346,6 +1363,7 @@ interface PlayAuthoringRuntimeContext<TListGetter extends 'dataset' | 'array' =
1346
1363
  /** Shorthand for one managed tool call. */
1347
1364
  tool<TOutput = PlayLooseObject>(key: string, toolId: string, input: Record<string, unknown>, options?: {
1348
1365
  description?: string;
1366
+ staleAfterSeconds?: DurableCallStaleAfterSeconds;
1349
1367
  }): Promise<TListGetter extends 'array' ? BasicToolExecuteResult<TOutput> : ToolExecuteResult<TOutput>>;
1350
1368
  /**
1351
1369
  * Execute one reusable step program against a scalar input.
@@ -1360,7 +1378,7 @@ interface PlayAuthoringRuntimeContext<TListGetter extends 'dataset' | 'array' =
1360
1378
  */
1361
1379
  step<T>(id: string, run: () => T | Promise<T>, options?: PlayAuthoringRuntimeStepOptions): Promise<T>;
1362
1380
  /**
1363
- * Execute a guarded HTTP request. By default, completed responses are durably reused; `staleAfterSeconds` governs only that completed call receipt, never dataset/request identity. Failed requests do not publish completed cache entries. A headers timeout leaves an upstream write's outcome unknown and does not establish whether its body was sent. The transport does not automatically retry that timed-out write, but a later invocation can execute it again. Mutating requests require provider-supported idempotency with the same key retained across retries and replay. Deadlines are platform-controlled; callers may cancel through `init.signal`. Pass `{ transient: true }` for short-lived credential exchanges or other response data that must not be retained in a receipt or checkpoint. Edition 5+ throws `CtxFetchHttpError` for non-2xx; catch it only when the Play intentionally recovers, otherwise let it fail the Play. Editions 1–4 retain their previous response projections.
1381
+ * Execute a guarded HTTP request. Edition 11 requires an explicit freshness choice; only GET, HEAD, and OPTIONS can retain completed responses. Mutating methods must use `staleAfterSeconds: 0`; the choice governs only the completed call receipt, never dataset/request identity. Failed requests do not publish completed cache entries. A headers timeout leaves an upstream write's outcome unknown and does not establish whether its body was sent. The transport does not automatically retry that timed-out write, but a later invocation can execute it again. Mutating requests require provider-supported idempotency with the same key retained across retries and replay. Deadlines are platform-controlled; callers may cancel through `init.signal`. Pass `{ transient: true }` only on GET, HEAD, and OPTIONS when the response must not be retained in a receipt or checkpoint; edition 11 rejects transient writes. Edition 5+ throws `CtxFetchHttpError` for non-2xx; catch it only when the Play intentionally recovers, otherwise let it fail the Play. Editions 1–4 retain their previous response projections.
1364
1382
  *
1365
1383
  * @sdkReference runtime 170 ctx.fetch(key, url, init)
1366
1384
  */
@@ -2035,7 +2053,7 @@ declare const PLAY_AUTHORING_FIELD_REGISTRY: {
2035
2053
  readonly required: false;
2036
2054
  readonly resolution: "runtime-allowed";
2037
2055
  readonly issueCode: "play_authoring_durable_policy_invalid";
2038
- readonly description: "`0` always executes; `null`/omitted never expires; a positive integer is a TTL in seconds.";
2056
+ readonly description: string;
2039
2057
  readonly errorMessage: "staleAfterSeconds must be null, 0 (always execute), or a positive whole number of seconds.";
2040
2058
  };
2041
2059
  readonly 'ctx.tools.execute.id': {
@@ -2321,7 +2339,7 @@ declare const PLAY_AUTHORING_FIELD_REGISTRY: {
2321
2339
  readonly required: false;
2322
2340
  readonly resolution: "static-when-present";
2323
2341
  readonly issueCode: "play_authoring_dataset_option_invalid";
2324
- readonly description: "Select source_row to process every input occurrence. CSV datasets default to source_row in edition 11; earlier editions retain key identity. Select key only to intentionally deduplicate business keys.";
2342
+ readonly description: "Edition 11 CSV inputs always use source-row occurrence identity, even with rowIdentity: key; key-based deduplication remains available for non-CSV inputs and editions 1–10.";
2325
2343
  readonly errorMessage: "ctx.dataset run rowIdentity must be \"source_row\" or \"key\".";
2326
2344
  };
2327
2345
  readonly 'ctx.dataset.run.onRowError': {
@@ -2429,7 +2447,7 @@ declare const PLAY_AUTHORING_FIELD_REGISTRY: {
2429
2447
  readonly required: false;
2430
2448
  readonly resolution: "runtime-dynamic";
2431
2449
  readonly issueCode: "play_authoring_durable_policy_invalid";
2432
- readonly description: "Checkpoint freshness: null/omitted never expires, 0 always executes.";
2450
+ readonly description: string;
2433
2451
  readonly errorMessage: "staleAfterSeconds must be null, 0 (always execute), or a positive whole number of seconds.";
2434
2452
  };
2435
2453
  readonly 'ctx.fetch.key': {
@@ -2466,7 +2484,7 @@ declare const PLAY_AUTHORING_FIELD_REGISTRY: {
2466
2484
  readonly required: false;
2467
2485
  readonly resolution: "runtime-dynamic";
2468
2486
  readonly issueCode: "play_authoring_durable_policy_invalid";
2469
- readonly description: "Fetch freshness: null/omitted never expires, 0 always executes.";
2487
+ readonly description: string;
2470
2488
  readonly errorMessage: "staleAfterSeconds must be null, 0 (always execute), or a positive whole number of seconds.";
2471
2489
  };
2472
2490
  readonly 'ctx.runPlay.key': {
@@ -2725,6 +2743,42 @@ declare const PLAY_AUTHORING_FIELD_REGISTRY: {
2725
2743
  readonly description: "One non-empty Customer DB SQL string; the deprecated SqlQuery object is accepted only without parameter values.";
2726
2744
  readonly errorMessage: "ctx.customerDb.query statement must be a non-empty SQL string. Deprecated SqlQuery objects cannot contain parameter values.";
2727
2745
  };
2746
+ readonly 'ctx.customerDb.query.options.id': {
2747
+ readonly schema: _sinclair_typebox.TString;
2748
+ readonly fixtures: {
2749
+ readonly valid: "customer-report-read";
2750
+ readonly invalid: "";
2751
+ readonly absent: undefined;
2752
+ readonly unresolved: {
2753
+ readonly expression: "operationId";
2754
+ };
2755
+ readonly edition1: "query";
2756
+ };
2757
+ readonly referenceType: "string";
2758
+ readonly required: true;
2759
+ readonly resolution: "runtime-dynamic";
2760
+ readonly issueCode: "play_authoring_tool_request_invalid";
2761
+ readonly description: "Stable operation identity for Customer DB query recovery.";
2762
+ readonly errorMessage: "ctx.customerDb.query options.id must be a non-empty stable string.";
2763
+ };
2764
+ readonly 'ctx.customerDb.query.options.staleAfterSeconds': {
2765
+ readonly schema: _sinclair_typebox.TLiteral<0>;
2766
+ readonly fixtures: {
2767
+ readonly valid: 0;
2768
+ readonly invalid: 1;
2769
+ readonly absent: undefined;
2770
+ readonly unresolved: {
2771
+ readonly expression: "ttl";
2772
+ };
2773
+ readonly edition1: 0;
2774
+ };
2775
+ readonly referenceType: "number | null";
2776
+ readonly required: false;
2777
+ readonly resolution: "runtime-dynamic";
2778
+ readonly issueCode: "play_authoring_durable_policy_invalid";
2779
+ readonly description: "Customer DB queries always execute with freshness 0.";
2780
+ readonly errorMessage: "Customer DB queries must use staleAfterSeconds: 0.";
2781
+ };
2728
2782
  readonly 'ctx.customerDb.query.options.maxRows': {
2729
2783
  readonly schema: _sinclair_typebox.TInteger;
2730
2784
  readonly fixtures: {
@@ -713,6 +713,19 @@ type ToolResultExecutionMetadata = {
713
713
  /** Canonical saved result identity; receiptKey may name a transport alias. */
714
714
  resultReceiptKey?: string;
715
715
  attachedToReceiptKey?: string;
716
+ /** Freshness and operation recovery are independent of provider idempotency. */
717
+ freshness?: CallFreshnessMetadata;
718
+ /** Time the live result completed, retained unchanged through recovery. */
719
+ completedAt?: number;
720
+ };
721
+ type CallFreshnessMetadata = {
722
+ requestedStaleAfterSeconds: number | null;
723
+ effectiveStaleAfterSeconds: number | null;
724
+ source: 'executed' | 'operation_recovery' | 'reusable_result' | 'live_observation';
725
+ resultAgeMs: number;
726
+ completedAt: number;
727
+ operationReceiptKey?: string;
728
+ unavailableReason?: string;
716
729
  };
717
730
  type ToolResultTargetMetadata = {
718
731
  value: unknown;
@@ -1096,7 +1109,7 @@ type PlayAuthoringStepOptions<Row, Value = unknown> = {
1096
1109
  /** Legacy error-recompute flag accepted for older authored Plays. */
1097
1110
  readonly recomputeOnError?: boolean;
1098
1111
  /** Legacy cell staleness metadata accepted for older authored Plays. */
1099
- readonly staleAfterSeconds?: number;
1112
+ readonly staleAfterSeconds?: DurableCallStaleAfterSeconds;
1100
1113
  };
1101
1114
  /** Explicitly mark a step program as a provider fallback waterfall. */
1102
1115
  type PlayAuthoringStepProgramOptions = {
@@ -1123,7 +1136,7 @@ type PlayAuthoringStepProgramStep<TContext> = {
1123
1136
  readonly name: string;
1124
1137
  readonly recompute?: boolean;
1125
1138
  readonly recomputeOnError?: boolean;
1126
- readonly staleAfterSeconds?: number;
1139
+ readonly staleAfterSeconds?: DurableCallStaleAfterSeconds;
1127
1140
  readonly resolver: PlayAuthoringStepResolver<Record<string, unknown>, unknown, TContext> | PlayAuthoringConditionalStepResolver<Record<string, unknown>, unknown, TContext> | PlayAuthoringStepProgramResolver<Record<string, unknown>, unknown, TContext>;
1128
1141
  };
1129
1142
  type PlayAuthoringColumnResolver<Row, Value, TContext> = PlayAuthoringStepResolver<Row, Value, TContext> | PlayAuthoringConditionalStepResolver<Row, Value, TContext> | PlayAuthoringRunnableStepProgram<Value, TContext>;
@@ -1134,7 +1147,7 @@ type PlayAuthoringDatasetDefinitionOptions<InputRow extends object> = {
1134
1147
  type PlayAuthoringDatasetRunOptions<InputRow extends object> = {
1135
1148
  description?: string;
1136
1149
  key?: PlayAuthoringDatasetRowKey<InputRow>;
1137
- /** CSV defaults to source row identity. Use key only for intentional deduplication. */
1150
+ /** Edition 11 CSVs always use source-row identity; key-based deduplication remains for non-CSV inputs and earlier editions. */
1138
1151
  rowIdentity?: 'source_row' | 'key';
1139
1152
  onRowError?: 'isolate' | 'fail';
1140
1153
  mode?: 'upsert' | 'net_new';
@@ -1226,8 +1239,10 @@ type PlayAuthoringRuntimeStepOptions = {
1226
1239
  /**
1227
1240
  * Durable freshness for one `ctx.fetch` call. The key identifies the request;
1228
1241
  * `staleAfterSeconds` controls when that completed request may be reused across
1229
- * Play runs. Omit it (or pass `null`) to reuse indefinitely, pass `0` to
1230
- * execute on every new run, or pass a positive number of seconds for a TTL.
1242
+ * Play runs. Edition 11 requires an explicit choice: `null` reuses indefinitely,
1243
+ * `0` executes on every new run, and a positive whole number sets the maximum
1244
+ * result age. Retained results are supported only for read methods (GET, HEAD,
1245
+ * OPTIONS); mutating methods require `0`. Transient calls do not retain results.
1231
1246
  *
1232
1247
  * Use this for polling or periodically refreshing one external resource. It
1233
1248
  * does not change dataset row identity.
@@ -1235,7 +1250,7 @@ type PlayAuthoringRuntimeStepOptions = {
1235
1250
  */
1236
1251
  type PlayAuthoringFetchOptions = {
1237
1252
  staleAfterSeconds?: DurableCallStaleAfterSeconds;
1238
- /** Run through Deepline's guarded outbound path without retaining a response receipt or checkpoint. Use this for short-lived credential exchanges or other response data that should stay in the running Play only. */
1253
+ /** Run through Deepline's guarded outbound path without retaining a response receipt or checkpoint. Edition 11 permits transient fetches only for GET, HEAD, and OPTIONS. */
1239
1254
  transient?: boolean;
1240
1255
  };
1241
1256
  /**
@@ -1291,6 +1306,8 @@ declare class CtxFetchHttpError extends Error {
1291
1306
  constructor(response: PlayAuthoringFetchResponse);
1292
1307
  }
1293
1308
  type PlayAuthoringCustomerDbQueryOptions = {
1309
+ id?: string;
1310
+ staleAfterSeconds?: 0;
1294
1311
  maxRows?: number;
1295
1312
  timeoutMs?: number;
1296
1313
  };
@@ -1346,6 +1363,7 @@ interface PlayAuthoringRuntimeContext<TListGetter extends 'dataset' | 'array' =
1346
1363
  /** Shorthand for one managed tool call. */
1347
1364
  tool<TOutput = PlayLooseObject>(key: string, toolId: string, input: Record<string, unknown>, options?: {
1348
1365
  description?: string;
1366
+ staleAfterSeconds?: DurableCallStaleAfterSeconds;
1349
1367
  }): Promise<TListGetter extends 'array' ? BasicToolExecuteResult<TOutput> : ToolExecuteResult<TOutput>>;
1350
1368
  /**
1351
1369
  * Execute one reusable step program against a scalar input.
@@ -1360,7 +1378,7 @@ interface PlayAuthoringRuntimeContext<TListGetter extends 'dataset' | 'array' =
1360
1378
  */
1361
1379
  step<T>(id: string, run: () => T | Promise<T>, options?: PlayAuthoringRuntimeStepOptions): Promise<T>;
1362
1380
  /**
1363
- * Execute a guarded HTTP request. By default, completed responses are durably reused; `staleAfterSeconds` governs only that completed call receipt, never dataset/request identity. Failed requests do not publish completed cache entries. A headers timeout leaves an upstream write's outcome unknown and does not establish whether its body was sent. The transport does not automatically retry that timed-out write, but a later invocation can execute it again. Mutating requests require provider-supported idempotency with the same key retained across retries and replay. Deadlines are platform-controlled; callers may cancel through `init.signal`. Pass `{ transient: true }` for short-lived credential exchanges or other response data that must not be retained in a receipt or checkpoint. Edition 5+ throws `CtxFetchHttpError` for non-2xx; catch it only when the Play intentionally recovers, otherwise let it fail the Play. Editions 1–4 retain their previous response projections.
1381
+ * Execute a guarded HTTP request. Edition 11 requires an explicit freshness choice; only GET, HEAD, and OPTIONS can retain completed responses. Mutating methods must use `staleAfterSeconds: 0`; the choice governs only the completed call receipt, never dataset/request identity. Failed requests do not publish completed cache entries. A headers timeout leaves an upstream write's outcome unknown and does not establish whether its body was sent. The transport does not automatically retry that timed-out write, but a later invocation can execute it again. Mutating requests require provider-supported idempotency with the same key retained across retries and replay. Deadlines are platform-controlled; callers may cancel through `init.signal`. Pass `{ transient: true }` only on GET, HEAD, and OPTIONS when the response must not be retained in a receipt or checkpoint; edition 11 rejects transient writes. Edition 5+ throws `CtxFetchHttpError` for non-2xx; catch it only when the Play intentionally recovers, otherwise let it fail the Play. Editions 1–4 retain their previous response projections.
1364
1382
  *
1365
1383
  * @sdkReference runtime 170 ctx.fetch(key, url, init)
1366
1384
  */
@@ -2035,7 +2053,7 @@ declare const PLAY_AUTHORING_FIELD_REGISTRY: {
2035
2053
  readonly required: false;
2036
2054
  readonly resolution: "runtime-allowed";
2037
2055
  readonly issueCode: "play_authoring_durable_policy_invalid";
2038
- readonly description: "`0` always executes; `null`/omitted never expires; a positive integer is a TTL in seconds.";
2056
+ readonly description: string;
2039
2057
  readonly errorMessage: "staleAfterSeconds must be null, 0 (always execute), or a positive whole number of seconds.";
2040
2058
  };
2041
2059
  readonly 'ctx.tools.execute.id': {
@@ -2321,7 +2339,7 @@ declare const PLAY_AUTHORING_FIELD_REGISTRY: {
2321
2339
  readonly required: false;
2322
2340
  readonly resolution: "static-when-present";
2323
2341
  readonly issueCode: "play_authoring_dataset_option_invalid";
2324
- readonly description: "Select source_row to process every input occurrence. CSV datasets default to source_row in edition 11; earlier editions retain key identity. Select key only to intentionally deduplicate business keys.";
2342
+ readonly description: "Edition 11 CSV inputs always use source-row occurrence identity, even with rowIdentity: key; key-based deduplication remains available for non-CSV inputs and editions 1–10.";
2325
2343
  readonly errorMessage: "ctx.dataset run rowIdentity must be \"source_row\" or \"key\".";
2326
2344
  };
2327
2345
  readonly 'ctx.dataset.run.onRowError': {
@@ -2429,7 +2447,7 @@ declare const PLAY_AUTHORING_FIELD_REGISTRY: {
2429
2447
  readonly required: false;
2430
2448
  readonly resolution: "runtime-dynamic";
2431
2449
  readonly issueCode: "play_authoring_durable_policy_invalid";
2432
- readonly description: "Checkpoint freshness: null/omitted never expires, 0 always executes.";
2450
+ readonly description: string;
2433
2451
  readonly errorMessage: "staleAfterSeconds must be null, 0 (always execute), or a positive whole number of seconds.";
2434
2452
  };
2435
2453
  readonly 'ctx.fetch.key': {
@@ -2466,7 +2484,7 @@ declare const PLAY_AUTHORING_FIELD_REGISTRY: {
2466
2484
  readonly required: false;
2467
2485
  readonly resolution: "runtime-dynamic";
2468
2486
  readonly issueCode: "play_authoring_durable_policy_invalid";
2469
- readonly description: "Fetch freshness: null/omitted never expires, 0 always executes.";
2487
+ readonly description: string;
2470
2488
  readonly errorMessage: "staleAfterSeconds must be null, 0 (always execute), or a positive whole number of seconds.";
2471
2489
  };
2472
2490
  readonly 'ctx.runPlay.key': {
@@ -2725,6 +2743,42 @@ declare const PLAY_AUTHORING_FIELD_REGISTRY: {
2725
2743
  readonly description: "One non-empty Customer DB SQL string; the deprecated SqlQuery object is accepted only without parameter values.";
2726
2744
  readonly errorMessage: "ctx.customerDb.query statement must be a non-empty SQL string. Deprecated SqlQuery objects cannot contain parameter values.";
2727
2745
  };
2746
+ readonly 'ctx.customerDb.query.options.id': {
2747
+ readonly schema: _sinclair_typebox.TString;
2748
+ readonly fixtures: {
2749
+ readonly valid: "customer-report-read";
2750
+ readonly invalid: "";
2751
+ readonly absent: undefined;
2752
+ readonly unresolved: {
2753
+ readonly expression: "operationId";
2754
+ };
2755
+ readonly edition1: "query";
2756
+ };
2757
+ readonly referenceType: "string";
2758
+ readonly required: true;
2759
+ readonly resolution: "runtime-dynamic";
2760
+ readonly issueCode: "play_authoring_tool_request_invalid";
2761
+ readonly description: "Stable operation identity for Customer DB query recovery.";
2762
+ readonly errorMessage: "ctx.customerDb.query options.id must be a non-empty stable string.";
2763
+ };
2764
+ readonly 'ctx.customerDb.query.options.staleAfterSeconds': {
2765
+ readonly schema: _sinclair_typebox.TLiteral<0>;
2766
+ readonly fixtures: {
2767
+ readonly valid: 0;
2768
+ readonly invalid: 1;
2769
+ readonly absent: undefined;
2770
+ readonly unresolved: {
2771
+ readonly expression: "ttl";
2772
+ };
2773
+ readonly edition1: 0;
2774
+ };
2775
+ readonly referenceType: "number | null";
2776
+ readonly required: false;
2777
+ readonly resolution: "runtime-dynamic";
2778
+ readonly issueCode: "play_authoring_durable_policy_invalid";
2779
+ readonly description: "Customer DB queries always execute with freshness 0.";
2780
+ readonly errorMessage: "Customer DB queries must use staleAfterSeconds: 0.";
2781
+ };
2728
2782
  readonly 'ctx.customerDb.query.options.maxRows': {
2729
2783
  readonly schema: _sinclair_typebox.TInteger;
2730
2784
  readonly fixtures: {
@@ -1,5 +1,5 @@
1
1
  /// <reference path="./text-imports.d.ts" />
2
- import { b as PlayBundleArtifact, f as PlaySandboxRuntimeDeclaration, g as PlayCompilerManifest, h as PlayArtifactKind } from './compiler-manifest-DE4RdAiY.js';
2
+ import { b as PlayBundleArtifact, f as PlaySandboxRuntimeDeclaration, g as PlayCompilerManifest, h as PlayArtifactKind } from './compiler-manifest-DLxUY5kI.js';
3
3
 
4
4
  type ImportedPlayDependency = {
5
5
  filePath: string;
@@ -1,5 +1,5 @@
1
1
  /// <reference path="./text-imports.d.ts" />
2
- import { b as PlayBundleArtifact, f as PlaySandboxRuntimeDeclaration, g as PlayCompilerManifest, h as PlayArtifactKind } from './compiler-manifest-DE4RdAiY.mjs';
2
+ import { b as PlayBundleArtifact, f as PlaySandboxRuntimeDeclaration, g as PlayCompilerManifest, h as PlayArtifactKind } from './compiler-manifest-DLxUY5kI.mjs';
3
3
 
4
4
  type ImportedPlayDependency = {
5
5
  filePath: string;