deepline 0.3.327 → 0.3.329

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 (123) hide show
  1. package/dist/bundling-sources/sdk/src/index.ts +1 -0
  2. package/dist/bundling-sources/sdk/src/play.ts +55 -45
  3. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  4. package/dist/bundling-sources/sdk/src/types.ts +16 -0
  5. package/dist/bundling-sources/shared_libs/observability/queue-health.ts +9 -0
  6. package/dist/bundling-sources/shared_libs/observability/queue-item-connectors.ts +1 -0
  7. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +31 -15
  8. package/dist/bundling-sources/shared_libs/play-runtime/play-runtime-semantics.ts +22 -4
  9. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +29 -11
  10. package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +145 -19
  11. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +37 -10
  12. package/dist/bundling-sources/shared_libs/plays/dataset.ts +3 -0
  13. package/dist/bundling-sources/shared_libs/plays/tool-result-types.ts +59 -10
  14. package/dist/bundling-sources/shared_libs/security/secret-redaction.ts +4 -0
  15. package/dist/cli/{auth-EBBDOKNV.mjs → auth-MFFVOITR.mjs} +4 -4
  16. package/dist/cli/auth-W2MQM6GQ.js +31 -0
  17. package/dist/cli/{billing-IM2QUFX4.mjs → billing-LRBHWLIQ.mjs} +30 -16
  18. package/dist/cli/{billing-6AAB7WPJ.js → billing-V4Y4OVQ7.js} +96 -82
  19. package/dist/cli/{chunk-D6GD5AVN.mjs → chunk-3RZJ3GEG.mjs} +135 -5
  20. package/dist/cli/{chunk-MOP6D7Z5.js → chunk-4FLEXYUC.js} +141 -11
  21. package/dist/cli/{chunk-DSDX6EUW.js → chunk-75ZOTF3K.js} +15 -15
  22. package/dist/cli/{chunk-ZOFARJWH.mjs → chunk-7T6DX5RK.mjs} +21 -14
  23. package/dist/cli/{chunk-3MXRNPBN.js → chunk-AD23W4S5.js} +1 -1
  24. package/dist/cli/{chunk-F45425TB.mjs → chunk-EROOAI5G.mjs} +1 -1
  25. package/dist/cli/{chunk-REP2MYBI.mjs → chunk-ERU2OR6F.mjs} +2 -2
  26. package/dist/cli/{chunk-YIY74KUF.mjs → chunk-EV4QJE4J.mjs} +1 -1
  27. package/dist/cli/{chunk-CCRQ2VGJ.mjs → chunk-FK7PW6BP.mjs} +1 -1
  28. package/dist/cli/{chunk-2HKPAZVJ.js → chunk-FKKNYKDY.js} +14 -3
  29. package/dist/cli/{chunk-G5774EFF.mjs → chunk-GCNER3HV.mjs} +1 -1
  30. package/dist/cli/{chunk-4ZARCCPT.js → chunk-GY2EEO2Y.js} +9 -9
  31. package/dist/cli/{chunk-HOWQKN6J.mjs → chunk-HI7TAWFS.mjs} +79 -26
  32. package/dist/cli/{chunk-RSEVBSFE.mjs → chunk-HVPRQGF4.mjs} +1 -1
  33. package/dist/cli/{chunk-CISKBOXD.js → chunk-J2E5R2VH.js} +60 -60
  34. package/dist/cli/{chunk-7RCJDAJX.js → chunk-KHZQFFOQ.js} +2 -2
  35. package/dist/cli/{chunk-DVV4FPS7.mjs → chunk-MFQQINUY.mjs} +2 -2
  36. package/dist/cli/{chunk-DCAU6PND.mjs → chunk-MO2XSC5I.mjs} +4 -4
  37. package/dist/cli/{chunk-KP7W5NO6.mjs → chunk-NTVTZAVZ.mjs} +13 -2
  38. package/dist/cli/{chunk-HZZJR2GV.js → chunk-OUTIWGKY.js} +26 -26
  39. package/dist/cli/{chunk-QZAP5VOS.mjs → chunk-OZGU7P2S.mjs} +1 -1
  40. package/dist/cli/{chunk-A5SKM3GL.mjs → chunk-SJV5MTOJ.mjs} +1 -1
  41. package/dist/cli/{chunk-UROXKPND.js → chunk-U2N4CYT7.js} +6 -6
  42. package/dist/cli/{chunk-4TO56P22.js → chunk-U4CTHVN7.js} +255 -248
  43. package/dist/cli/{chunk-AGH6YP2T.js → chunk-UQV5M6HN.js} +3 -3
  44. package/dist/cli/{chunk-DM3SHV6U.js → chunk-VDIHLKGG.js} +4 -4
  45. package/dist/cli/{chunk-77RAV5XX.js → chunk-VLDLJZ75.js} +48 -48
  46. package/dist/cli/{chunk-NWIJLTRL.js → chunk-XRYKLK56.js} +119 -66
  47. package/dist/cli/{chunk-3ITDKXNC.mjs → chunk-YNSCELIJ.mjs} +2 -2
  48. package/dist/cli/{chunk-TAGHNT5P.js → chunk-ZXGUYTIT.js} +6 -6
  49. package/dist/cli/client-5AIFBLKQ.js +20 -0
  50. package/dist/cli/{client-JCMSACT4.mjs → client-BNLD775D.mjs} +3 -3
  51. package/dist/cli/{csv-NPMWVM5D.mjs → csv-7MVQECWG.mjs} +3 -3
  52. package/dist/cli/{csv-OILKDKUX.js → csv-ZT6ZRQ3Z.js} +12 -12
  53. package/dist/cli/{db-AZUAOWPQ.mjs → db-ABLWLMX5.mjs} +4 -4
  54. package/dist/cli/{db-MNDRYYEX.js → db-C4BMZXJK.js} +29 -29
  55. package/dist/cli/{describe-KJWOHMKC.mjs → describe-XWOWAR32.mjs} +10 -10
  56. package/dist/cli/{describe-QENLDLM2.js → describe-YALVN4WH.js} +17 -17
  57. package/dist/cli/{executions-QZNQWF6F.mjs → executions-7IZVKQ3O.mjs} +4 -4
  58. package/dist/cli/{executions-P36UHBPG.js → executions-U4TNRP26.js} +6 -6
  59. package/dist/cli/{feedback-RQ6HSZSG.mjs → feedback-GO5XPEKY.mjs} +3 -3
  60. package/dist/cli/{feedback-K4UGTLFD.js → feedback-NWMRT5W4.js} +6 -6
  61. package/dist/cli/{git-PBRMCBMI.mjs → git-R53WS4WA.mjs} +4 -4
  62. package/dist/cli/git-YWRLAOBY.js +23 -0
  63. package/dist/cli/index.js +95 -80
  64. package/dist/cli/index.mjs +54 -39
  65. package/dist/cli/{legacy-noops-G7GWJ5UC.mjs → legacy-noops-6QAZW7WJ.mjs} +4 -4
  66. package/dist/cli/{legacy-noops-X74FM35Q.js → legacy-noops-NJWM53DE.js} +7 -7
  67. package/dist/cli/{monitors-VKURX3YM.js → monitors-2I2MYAPS.js} +85 -85
  68. package/dist/cli/{monitors-KL2MCR57.mjs → monitors-2N4BRU5M.mjs} +4 -4
  69. package/dist/cli/{org-DT53KTNW.mjs → org-D3RHK2Q7.mjs} +4 -4
  70. package/dist/cli/{org-ZYXJDC44.js → org-XVNAE2JV.js} +60 -60
  71. package/dist/cli/{play-WIJGQYTB.mjs → play-L7MYJZ65.mjs} +9 -9
  72. package/dist/cli/play-OYRHI7G3.js +153 -0
  73. package/dist/cli/{providers-GRTW4TXX.js → providers-5BTDAZHN.js} +7 -7
  74. package/dist/cli/{providers-GYGKGS2J.mjs → providers-YM4E7WZD.mjs} +4 -4
  75. package/dist/cli/{quickstart-WB26543C.js → quickstart-5A3FHAH3.js} +5 -5
  76. package/dist/cli/{quickstart-XF3M2M2S.mjs → quickstart-ARPLJOLH.mjs} +3 -3
  77. package/dist/cli/{search-ANJLTOF2.mjs → search-KKJEVV27.mjs} +5 -5
  78. package/dist/cli/search-VE3O3ZEM.js +26 -0
  79. package/dist/cli/{secrets-D6UR5CTW.mjs → secrets-DGRJ4DO5.mjs} +4 -4
  80. package/dist/cli/{secrets-5KBUGMTK.js → secrets-DVPVCSZD.js} +13 -13
  81. package/dist/cli/{sessions-S7N4JEWK.mjs → sessions-56EHXLZD.mjs} +4 -4
  82. package/dist/cli/{sessions-46PXFULL.js → sessions-VG4ATQ5Y.js} +5 -5
  83. package/dist/cli/{settings-V6U3SRTH.mjs → settings-4U5XG7QI.mjs} +7 -7
  84. package/dist/cli/{settings-KMNBITSU.js → settings-BLOTIW2G.js} +74 -74
  85. package/dist/cli/{setup-4K5FY6AU.js → setup-L7AMAXCH.js} +41 -41
  86. package/dist/cli/{setup-OGITSLTN.mjs → setup-RHJAHPOR.mjs} +6 -6
  87. package/dist/cli/skills-QB4OQGGP.js +28 -0
  88. package/dist/cli/{skills-AXWAYPBY.mjs → skills-VU55YFCI.mjs} +4 -4
  89. package/dist/cli/tools-2CPFYNK7.js +40 -0
  90. package/dist/cli/{tools-LJCY6B23.mjs → tools-JS3YIDOH.mjs} +7 -6
  91. package/dist/cli/{update-DDR5XIUB.mjs → update-EHI5QUXM.mjs} +6 -6
  92. package/dist/cli/update-WXP24GU5.js +28 -0
  93. package/dist/cli/{workflow-PRNCVANQ.mjs → workflow-BITLTLRF.mjs} +5 -5
  94. package/dist/cli/{workflow-7CTCDWL3.js → workflow-NE4SYRAT.js} +15 -15
  95. package/dist/{client-wiWPZhnI.d.mts → client-D5XOQKsA.d.mts} +20 -1
  96. package/dist/{client-DHq8dJ56.d.ts → client-l-IoLh8Z.d.ts} +20 -1
  97. package/dist/{compiler-manifest-9TkZ_ykI.d.mts → compiler-manifest-82q4jtfQ.d.mts} +44 -17
  98. package/dist/{compiler-manifest-9TkZ_ykI.d.ts → compiler-manifest-82q4jtfQ.d.ts} +44 -17
  99. package/dist/{index-B-5_Xhud.d.mts → index-BPbW2XHF.d.mts} +1 -1
  100. package/dist/{index-ykksoEyR.d.ts → index-k0rquHIm.d.ts} +1 -1
  101. package/dist/index.d.mts +14 -8
  102. package/dist/index.d.ts +14 -8
  103. package/dist/index.js +194 -69
  104. package/dist/index.mjs +162 -37
  105. package/dist/install-integrity.json +84 -84
  106. package/dist/plays/bundle-play-file.d.mts +3 -3
  107. package/dist/plays/bundle-play-file.d.ts +3 -3
  108. package/dist/plays/bundle-play-file.mjs +2 -2
  109. package/dist/plays/run-request.d.mts +2 -2
  110. package/dist/plays/run-request.d.ts +2 -2
  111. package/dist/release.d.mts +1 -1
  112. package/dist/release.d.ts +1 -1
  113. package/dist/release.js +2 -2
  114. package/dist/release.mjs +1 -1
  115. package/package.json +2 -1
  116. package/dist/cli/auth-67YOPQ6M.js +0 -31
  117. package/dist/cli/client-7LZCG4VD.js +0 -20
  118. package/dist/cli/git-RPFH3NJ2.js +0 -23
  119. package/dist/cli/play-BUQV47E2.js +0 -153
  120. package/dist/cli/search-CR2GZLCM.js +0 -26
  121. package/dist/cli/skills-4FP2MZKL.js +0 -28
  122. package/dist/cli/tools-7YZPH6WC.js +0 -39
  123. package/dist/cli/update-3VUOW6AP.js +0 -28
@@ -1,6 +1,6 @@
1
1
  /// <reference path="./text-imports.d.ts" />
2
2
  import { z } from 'zod';
3
- import { g as PlayCompilerManifest, ai as ToolResultBilling } from './compiler-manifest-9TkZ_ykI.mjs';
3
+ import { g as PlayCompilerManifest, aj as ToolResultBilling } from './compiler-manifest-82q4jtfQ.mjs';
4
4
  import { MonitorFleetDefinition } from './monitor-fleet-contract.mjs';
5
5
 
6
6
  declare const playPathSchema: z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
@@ -1472,6 +1472,25 @@ interface ToolPricingSummary {
1472
1472
  summary: string | null;
1473
1473
  /** Additional user-facing pricing notes. */
1474
1474
  details: string[];
1475
+ /** Estimated prices for listed single-unit configurations, not a charge ceiling. */
1476
+ estimatedRange?: {
1477
+ minCreditsPerUnit: number;
1478
+ maxCreditsPerUnit: number;
1479
+ scope: string;
1480
+ configurations: {
1481
+ name: string;
1482
+ creditsPerUnit: number;
1483
+ }[];
1484
+ };
1485
+ /** Historical customer charge, not a guaranteed rate or provider tariff. */
1486
+ observedReference?: {
1487
+ creditsPerCall: number;
1488
+ usdPerCall: number | null;
1489
+ source: 'observed';
1490
+ observedAt: string;
1491
+ sampleSize: number;
1492
+ inputMode: string;
1493
+ };
1475
1494
  }
1476
1495
  /** A discoverable provider, returned by {@link DeeplineClient.listProviders}. */
1477
1496
  interface ProviderDefinition {
@@ -1,6 +1,6 @@
1
1
  /// <reference path="./text-imports.d.ts" />
2
2
  import { z } from 'zod';
3
- import { g as PlayCompilerManifest, ai as ToolResultBilling } from './compiler-manifest-9TkZ_ykI.js';
3
+ import { g as PlayCompilerManifest, aj as ToolResultBilling } from './compiler-manifest-82q4jtfQ.js';
4
4
  import { MonitorFleetDefinition } from './monitor-fleet-contract.js';
5
5
 
6
6
  declare const playPathSchema: z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
@@ -1472,6 +1472,25 @@ interface ToolPricingSummary {
1472
1472
  summary: string | null;
1473
1473
  /** Additional user-facing pricing notes. */
1474
1474
  details: string[];
1475
+ /** Estimated prices for listed single-unit configurations, not a charge ceiling. */
1476
+ estimatedRange?: {
1477
+ minCreditsPerUnit: number;
1478
+ maxCreditsPerUnit: number;
1479
+ scope: string;
1480
+ configurations: {
1481
+ name: string;
1482
+ creditsPerUnit: number;
1483
+ }[];
1484
+ };
1485
+ /** Historical customer charge, not a guaranteed rate or provider tariff. */
1486
+ observedReference?: {
1487
+ creditsPerCall: number;
1488
+ usdPerCall: number | null;
1489
+ source: 'observed';
1490
+ observedAt: string;
1491
+ sampleSize: number;
1492
+ inputMode: string;
1493
+ };
1475
1494
  }
1476
1495
  /** A discoverable provider, returned by {@link DeeplineClient.listProviders}. */
1477
1496
  interface ProviderDefinition {
@@ -615,6 +615,9 @@ interface PlayDataset<T> extends AsyncIterable<T> {
615
615
  * Explicit escape hatch for bounded result sets.
616
616
  * Large datasets should flow by handle through Neon-backed storage, not
617
617
  * through worker memory as giant arrays.
618
+ * No argument loads the complete current handle within the memory cap or
619
+ * throws. A numeric limit loads only a prefix, not proof of completeness.
620
+ * Materializing a tool-result list does not fetch more provider pages.
618
621
  */
619
622
  materialize(options?: number | PlayDatasetMaterializeOptions): Promise<T[]>;
620
623
  toJSON(): {
@@ -696,8 +699,33 @@ type ToolResultTargetAccessor<T = unknown> = ToolResultTargetMetadata & {
696
699
  };
697
700
  type ToolResultListAccessor<T = Record<string, unknown>, TKey extends string = string> = Omit<ToolResultListMetadata, 'keys'> & {
698
701
  keys: Partial<Record<TKey, string>> & Record<string, string>;
702
+ /**
703
+ * Editions 1–9: dataset handle, not a JavaScript array. Edition 10 uses
704
+ * BasicToolResultListAccessor instead; its .get() returns an ordinary array.
705
+ * Pass it to ctx.dataset, use first() or async iteration, or await
706
+ * get().materialize() for the complete current list within the memory cap.
707
+ * materialize(n) and peek(n) return a prefix; none fetch provider pages.
708
+ */
699
709
  get(): PlayDataset<T>;
700
710
  };
711
+ /** Edition-10 getter: ordinary data, not a dataset or a promise. */
712
+ type BasicToolResultListAccessor<T = Record<string, unknown>, TKey extends string = string> = Omit<ToolResultListAccessor<T, TKey>, 'get'> & {
713
+ /** Complete resident response list. Throws for a lazy or incomplete list. */
714
+ get(): T[];
715
+ };
716
+ type BasicToolExecuteResultBase<TResult = unknown, TMeta = Record<string, unknown>> = Omit<ToolExecuteResultBase<TResult, TMeta>, 'extractedLists'> & {
717
+ extractedLists: Record<string, BasicToolResultListAccessor>;
718
+ };
719
+ type BasicToolExecuteResultAccessors<TExtracted extends Record<string, unknown> = Partial<DeeplineGetterValueMap>, TLists extends Record<string, Record<string, unknown>> = Record<string, Record<string, unknown>>> = {
720
+ extractedValues: {
721
+ [K in keyof TExtracted]: ToolResultTargetAccessor<TExtracted[K]>;
722
+ };
723
+ extractedLists: {
724
+ [K in keyof TLists]: BasicToolResultListAccessor<TLists[K]>;
725
+ };
726
+ };
727
+ /** Public source-SDK result for new Plays; receipts retain the canonical form. */
728
+ type BasicToolExecuteResult<TResult = unknown, TMeta = Record<string, unknown>, TExtracted extends Record<string, unknown> = Partial<DeeplineGetterValueMap>, TLists extends Record<string, Record<string, unknown>> = Record<string, Record<string, unknown>>> = BasicToolExecuteResultBase<TResult, TMeta> & BasicToolExecuteResultAccessors<TExtracted, TLists>;
701
729
  type ToolResponseEnvelope<TData = unknown, TMeta = Record<string, unknown>> = {
702
730
  /** @deprecated Use declared getters or toolResponse.rawV2. */
703
731
  raw: TData;
@@ -746,23 +774,22 @@ type ToolExecuteResultAccessors<TExtracted extends Record<string, unknown> = Par
746
774
  /**
747
775
  * Canonical result returned by Deepline tool execution.
748
776
  *
749
- * The top-level object is Deepline-owned execution metadata and semantic
750
- * extraction state. The canonical provider response lives under
751
- * `toolResponse.rawV2`. Response metadata lives under `toolResponse.meta`. Semantic single-value
752
- * getters live under `extractedValues.<name>.get()`, and list getters live
753
- * under `extractedLists.<name>.get()`.
777
+ * Provider data: `toolResponse.rawV2`; metadata: `toolResponse.meta`.
778
+ * Single-value getters: `extractedValues.<name>.get()`; lists: `extractedLists.<name>.get()`.
754
779
  *
755
- * Use extractors first when a tool contract exposes them. Use list getters for
756
- * row-shaped data. Use `toolResponse.rawV2` for provider-specific fields or
757
- * debugging. Inspect the observed response before selecting a nested field;
758
- * provider envelopes are preserved, including pagination and sibling resources.
759
- * This is parsed, scrubbed data, not the original HTTP bytes or headers.
780
+ * Prefer declared getters. New Plays (edition 10) receive ordinary arrays from
781
+ * list `.get()` synchronously; persist explicitly with ctx.dataset. Lazy or
782
+ * incomplete lists throw: use readList(result, path) for explicit dataset access.
783
+ * Provider pagination requires a separate request; getters never fetch it.
784
+ * Historical editions 1–9 retain PlayDataset getters and async materialize/peek;
785
+ * missing getters never mean empty results. Inspect rawV2 for debugging: parsed,
786
+ * scrubbed envelopes, pagination and siblings, not HTTP bytes or headers.
760
787
  *
761
788
  * @sdkReference runtime 200
762
789
  */
763
790
  type ToolExecuteResult<TResult = unknown, TMeta = Record<string, unknown>, TExtracted extends Record<string, unknown> = Partial<DeeplineGetterValueMap>, TLists extends Record<string, Record<string, unknown>> = Record<string, Record<string, unknown>>> = ToolExecuteResultBase<TResult, TMeta> & ToolExecuteResultAccessors<TExtracted, TLists>;
764
791
 
765
- declare const SUPPORTED_PLAY_AUTHORING_CONTRACT_EDITIONS: readonly [1, 2, 3, 4, 5, 6, 7, 8, 9];
792
+ declare const SUPPORTED_PLAY_AUTHORING_CONTRACT_EDITIONS: readonly [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
766
793
  type PlayAuthoringContractEdition = (typeof SUPPORTED_PLAY_AUTHORING_CONTRACT_EDITIONS)[number];
767
794
  type PlaySqlListenerOperation = 'INSERT' | 'UPDATE' | 'DELETE';
768
795
  type PlayStandardWebhookHeaderFamily = 'standard' | 'svix';
@@ -1235,7 +1262,7 @@ type PlayAuthoringRunScope = {
1235
1262
  readonly id: string;
1236
1263
  };
1237
1264
  /** The complete customer-authored `ctx` Interface shared by every Adapter. */
1238
- interface PlayAuthoringRuntimeContext {
1265
+ interface PlayAuthoringRuntimeContext<TListGetter extends 'dataset' | 'array' = 'dataset'> {
1239
1266
  /**
1240
1267
  * Load a staged CSV file as a durable dataset handle.
1241
1268
  * @sdkReference runtime 040 ctx.csv(path, options)
@@ -1245,7 +1272,7 @@ interface PlayAuthoringRuntimeContext {
1245
1272
  * Create a persisted row dataset and define durable output columns.
1246
1273
  * @sdkReference runtime 060 ctx.dataset(key, items)
1247
1274
  */
1248
- dataset<TSource extends PlayDatasetInput<object>>(key: string, items: TSource): PlayAuthoringDatasetBuilder<PlayDatasetRow<TSource> & object, PlayDatasetRow<TSource> & object, PlayAuthoringRuntimeContext>;
1275
+ dataset<TSource extends PlayDatasetInput<object>>(key: string, items: TSource): PlayAuthoringDatasetBuilder<PlayDatasetRow<TSource> & object, PlayDatasetRow<TSource> & object, PlayAuthoringRuntimeContext<TListGetter>>;
1249
1276
  /** @deprecated `ctx.map(...)` was replaced by `ctx.dataset(...)`. */
1250
1277
  map<TSource extends PlayDatasetInput<object>>(key: string, items: TSource, options?: PlayAuthoringDatasetDefinitionOptions<PlayDatasetRow<TSource> & object>): never;
1251
1278
  /**
@@ -1258,7 +1285,7 @@ interface PlayAuthoringRuntimeContext {
1258
1285
  * Execute a provider tool through the terminal-result cache contract.
1259
1286
  * @sdkReference runtime 150 ctx.tools.execute(request)
1260
1287
  */
1261
- execute<TOutput = PlayLooseObject>(request: PlayToolExecutionRequest): Promise<ToolExecuteResult<TOutput>>;
1288
+ execute<TOutput = PlayLooseObject>(request: PlayToolExecutionRequest): Promise<TListGetter extends 'array' ? BasicToolExecuteResult<TOutput> : ToolExecuteResult<TOutput>>;
1262
1289
  };
1263
1290
  customerDb: {
1264
1291
  query<TRow extends object = Record<string, unknown>>(statement: PlaySqlQuery | string, options?: PlayAuthoringCustomerDbQueryOptions): Promise<TRow[]>;
@@ -1266,12 +1293,12 @@ interface PlayAuthoringRuntimeContext {
1266
1293
  /** Shorthand for one managed tool call. */
1267
1294
  tool<TOutput = PlayLooseObject>(key: string, toolId: string, input: Record<string, unknown>, options?: {
1268
1295
  description?: string;
1269
- }): Promise<ToolExecuteResult<TOutput>>;
1296
+ }): Promise<TListGetter extends 'array' ? BasicToolExecuteResult<TOutput> : ToolExecuteResult<TOutput>>;
1270
1297
  /**
1271
1298
  * Execute one reusable step program against a scalar input.
1272
1299
  * @sdkReference runtime 180 ctx.runSteps(program, input, options)
1273
1300
  */
1274
- runSteps<TInput extends Record<string, unknown>, TOutput>(program: PlayAuthoringRunnableStepProgram<TOutput, PlayAuthoringRuntimeContext> & {
1301
+ runSteps<TInput extends Record<string, unknown>, TOutput>(program: PlayAuthoringRunnableStepProgram<TOutput, PlayAuthoringRuntimeContext<TListGetter>> & {
1275
1302
  readonly __inputType?: (input: TInput) => void;
1276
1303
  }, input: TInput, options?: PlayAuthoringRunStepsOptions): Promise<TOutput>;
1277
1304
  /**
@@ -3283,4 +3310,4 @@ type PlayCompilerManifest = {
3283
3310
  authoringContract?: AdmittedPlayAuthoringContract;
3284
3311
  };
3285
3312
 
3286
- export { type DeeplineGetterValue as $, type AsyncPlayRunRef as A, type PlayAuthoringCallOptions as B, type PlayAuthoringFetchResponse as C, type PlayAuthoringInputContract as D, type PlayRunId as E, type PlayAuthoringStepProgramStep as F, type PlayAuthoringRuntimeStepOptions as G, type PlaySqlListenerDeclaration as H, type PlaySqlListenerEvent as I, type PlaySqlListenerOperation as J, type PlaySqlQuery as K, type PlayAuthoringStepOptions as L, type PlayAuthoringStepProgram as M, type PlayAuthoringStepProgramResolver as N, type PlayAuthoringStepResolver as O, PLAY_ARTIFACT_KINDS as P, type PlayToolExecutionRequest as Q, type PlayAuthoringStepProgramOptions as R, DeeplineError as S, type ToolExecuteResult as T, ToolExecutionError as U, type ToolExecutionErrorOptions as V, CtxFetchHttpError as W, DEEPLINE_EXTRACTOR_TARGETS as X, DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS as Y, type DeeplineEmailStatusGetterValue as Z, type DeeplineExtractorTarget as _, type PlayArtifactCompatibility as a, type DeeplineGetterValueMap as a0, JOB_CHANGE_STATUS_VALUES as a1, type JobChangeStatus as a2, PHONE_STATUS_VALUES as a3, type PhoneStatus as a4, type PlayDataset as a5, type PlayDatasetInput as a6, type PreviousCell as a7, ProviderTransientError as a8, type ProviderTransientErrorCategory as a9, type ProviderUnavailableError as aa, type ProviderUnavailableReason as ab, type ToolExecutionErrorCategory as ac, type ToolExecutionErrorOrigin as ad, type ToolExecutionFailureV1 as ae, type ToolExecutionNetworkKind as af, type ToolExecutionNetworkScope as ag, type ToolExecutionPublicDetails as ah, type ToolResultBilling as ai, getProviderUnavailableReason as aj, isDeeplineExtractorTarget as ak, isProviderUnavailable as al, isProviderWaterfallUnavailableError as am, type PlayBundleArtifact as b, type PlayImportPolicy as c, type PlayPackageImport as d, type PlayRuntimeFeature as e, type PlaySandboxRuntimeDeclaration as f, type PlayCompilerManifest as g, type PlayArtifactKind as h, type PlayAuthoringColumnMap as i, type PlayAuthoringColumnResolver as j, type PlayAuthoringRuntimeContext as k, type PlayAuthoringConditionalStepResolver as l, type PlayAuthoringCsvInput as m, type PlayAuthoringCsvOptions as n, type PlayAuthoringDatasetBuilder as o, type PlayAuthoringDatasetColumnDefinition as p, type PlayAuthoringDatasetColumnRunInput as q, type PlayAuthoringReferenceLike as r, type PlayReturnObject as s, type PlayAuthoringDefineConfig as t, type PlayAuthoringDefinedPlay as u, type PlayAuthoringFetchOptions as v, type PlayAuthoringFileInput as w, type PlayAuthoringAsyncCallOptions as x, type PlayAuthoringBindings as y, type PlayAuthoringCallExecution as z };
3313
+ export { type DeeplineEmailStatusGetterValue as $, type AsyncPlayRunRef as A, type BasicToolExecuteResult as B, type PlayAuthoringCallExecution as C, type PlayAuthoringCallOptions as D, type PlayAuthoringFetchResponse as E, type PlayAuthoringInputContract as F, type PlayRunId as G, type PlayAuthoringStepProgramStep as H, type PlayAuthoringRuntimeStepOptions as I, type PlaySqlListenerDeclaration as J, type PlaySqlListenerEvent as K, type PlaySqlListenerOperation as L, type PlaySqlQuery as M, type PlayAuthoringStepOptions as N, type PlayAuthoringStepProgram as O, PLAY_ARTIFACT_KINDS as P, type PlayAuthoringStepProgramResolver as Q, type PlayAuthoringStepResolver as R, type PlayToolExecutionRequest as S, type ToolExecuteResult as T, type PlayAuthoringStepProgramOptions as U, DeeplineError as V, ToolExecutionError as W, type ToolExecutionErrorOptions as X, CtxFetchHttpError as Y, DEEPLINE_EXTRACTOR_TARGETS as Z, DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS as _, type PlayArtifactCompatibility as a, type DeeplineExtractorTarget as a0, type DeeplineGetterValue as a1, type DeeplineGetterValueMap as a2, JOB_CHANGE_STATUS_VALUES as a3, type JobChangeStatus as a4, PHONE_STATUS_VALUES as a5, type PhoneStatus as a6, type PlayDatasetInput as a7, type PreviousCell as a8, ProviderTransientError as a9, type ProviderTransientErrorCategory as aa, type ProviderUnavailableError as ab, type ProviderUnavailableReason as ac, type ToolExecutionErrorCategory as ad, type ToolExecutionErrorOrigin as ae, type ToolExecutionFailureV1 as af, type ToolExecutionNetworkKind as ag, type ToolExecutionNetworkScope as ah, type ToolExecutionPublicDetails as ai, type ToolResultBilling as aj, getProviderUnavailableReason as ak, isDeeplineExtractorTarget as al, isProviderUnavailable as am, isProviderWaterfallUnavailableError as an, type PlayBundleArtifact as b, type PlayImportPolicy as c, type PlayPackageImport as d, type PlayRuntimeFeature as e, type PlaySandboxRuntimeDeclaration as f, type PlayCompilerManifest as g, type PlayArtifactKind as h, type PlayDataset as i, type PlayAuthoringColumnMap as j, type PlayAuthoringColumnResolver as k, type PlayAuthoringRuntimeContext as l, type PlayAuthoringConditionalStepResolver as m, type PlayAuthoringCsvInput as n, type PlayAuthoringCsvOptions as o, type PlayAuthoringDatasetBuilder as p, type PlayAuthoringDatasetColumnDefinition as q, type PlayAuthoringDatasetColumnRunInput as r, type PlayAuthoringReferenceLike as s, type PlayReturnObject as t, type PlayAuthoringDefineConfig as u, type PlayAuthoringDefinedPlay as v, type PlayAuthoringFetchOptions as w, type PlayAuthoringFileInput as x, type PlayAuthoringAsyncCallOptions as y, type PlayAuthoringBindings as z };
@@ -615,6 +615,9 @@ interface PlayDataset<T> extends AsyncIterable<T> {
615
615
  * Explicit escape hatch for bounded result sets.
616
616
  * Large datasets should flow by handle through Neon-backed storage, not
617
617
  * through worker memory as giant arrays.
618
+ * No argument loads the complete current handle within the memory cap or
619
+ * throws. A numeric limit loads only a prefix, not proof of completeness.
620
+ * Materializing a tool-result list does not fetch more provider pages.
618
621
  */
619
622
  materialize(options?: number | PlayDatasetMaterializeOptions): Promise<T[]>;
620
623
  toJSON(): {
@@ -696,8 +699,33 @@ type ToolResultTargetAccessor<T = unknown> = ToolResultTargetMetadata & {
696
699
  };
697
700
  type ToolResultListAccessor<T = Record<string, unknown>, TKey extends string = string> = Omit<ToolResultListMetadata, 'keys'> & {
698
701
  keys: Partial<Record<TKey, string>> & Record<string, string>;
702
+ /**
703
+ * Editions 1–9: dataset handle, not a JavaScript array. Edition 10 uses
704
+ * BasicToolResultListAccessor instead; its .get() returns an ordinary array.
705
+ * Pass it to ctx.dataset, use first() or async iteration, or await
706
+ * get().materialize() for the complete current list within the memory cap.
707
+ * materialize(n) and peek(n) return a prefix; none fetch provider pages.
708
+ */
699
709
  get(): PlayDataset<T>;
700
710
  };
711
+ /** Edition-10 getter: ordinary data, not a dataset or a promise. */
712
+ type BasicToolResultListAccessor<T = Record<string, unknown>, TKey extends string = string> = Omit<ToolResultListAccessor<T, TKey>, 'get'> & {
713
+ /** Complete resident response list. Throws for a lazy or incomplete list. */
714
+ get(): T[];
715
+ };
716
+ type BasicToolExecuteResultBase<TResult = unknown, TMeta = Record<string, unknown>> = Omit<ToolExecuteResultBase<TResult, TMeta>, 'extractedLists'> & {
717
+ extractedLists: Record<string, BasicToolResultListAccessor>;
718
+ };
719
+ type BasicToolExecuteResultAccessors<TExtracted extends Record<string, unknown> = Partial<DeeplineGetterValueMap>, TLists extends Record<string, Record<string, unknown>> = Record<string, Record<string, unknown>>> = {
720
+ extractedValues: {
721
+ [K in keyof TExtracted]: ToolResultTargetAccessor<TExtracted[K]>;
722
+ };
723
+ extractedLists: {
724
+ [K in keyof TLists]: BasicToolResultListAccessor<TLists[K]>;
725
+ };
726
+ };
727
+ /** Public source-SDK result for new Plays; receipts retain the canonical form. */
728
+ type BasicToolExecuteResult<TResult = unknown, TMeta = Record<string, unknown>, TExtracted extends Record<string, unknown> = Partial<DeeplineGetterValueMap>, TLists extends Record<string, Record<string, unknown>> = Record<string, Record<string, unknown>>> = BasicToolExecuteResultBase<TResult, TMeta> & BasicToolExecuteResultAccessors<TExtracted, TLists>;
701
729
  type ToolResponseEnvelope<TData = unknown, TMeta = Record<string, unknown>> = {
702
730
  /** @deprecated Use declared getters or toolResponse.rawV2. */
703
731
  raw: TData;
@@ -746,23 +774,22 @@ type ToolExecuteResultAccessors<TExtracted extends Record<string, unknown> = Par
746
774
  /**
747
775
  * Canonical result returned by Deepline tool execution.
748
776
  *
749
- * The top-level object is Deepline-owned execution metadata and semantic
750
- * extraction state. The canonical provider response lives under
751
- * `toolResponse.rawV2`. Response metadata lives under `toolResponse.meta`. Semantic single-value
752
- * getters live under `extractedValues.<name>.get()`, and list getters live
753
- * under `extractedLists.<name>.get()`.
777
+ * Provider data: `toolResponse.rawV2`; metadata: `toolResponse.meta`.
778
+ * Single-value getters: `extractedValues.<name>.get()`; lists: `extractedLists.<name>.get()`.
754
779
  *
755
- * Use extractors first when a tool contract exposes them. Use list getters for
756
- * row-shaped data. Use `toolResponse.rawV2` for provider-specific fields or
757
- * debugging. Inspect the observed response before selecting a nested field;
758
- * provider envelopes are preserved, including pagination and sibling resources.
759
- * This is parsed, scrubbed data, not the original HTTP bytes or headers.
780
+ * Prefer declared getters. New Plays (edition 10) receive ordinary arrays from
781
+ * list `.get()` synchronously; persist explicitly with ctx.dataset. Lazy or
782
+ * incomplete lists throw: use readList(result, path) for explicit dataset access.
783
+ * Provider pagination requires a separate request; getters never fetch it.
784
+ * Historical editions 1–9 retain PlayDataset getters and async materialize/peek;
785
+ * missing getters never mean empty results. Inspect rawV2 for debugging: parsed,
786
+ * scrubbed envelopes, pagination and siblings, not HTTP bytes or headers.
760
787
  *
761
788
  * @sdkReference runtime 200
762
789
  */
763
790
  type ToolExecuteResult<TResult = unknown, TMeta = Record<string, unknown>, TExtracted extends Record<string, unknown> = Partial<DeeplineGetterValueMap>, TLists extends Record<string, Record<string, unknown>> = Record<string, Record<string, unknown>>> = ToolExecuteResultBase<TResult, TMeta> & ToolExecuteResultAccessors<TExtracted, TLists>;
764
791
 
765
- declare const SUPPORTED_PLAY_AUTHORING_CONTRACT_EDITIONS: readonly [1, 2, 3, 4, 5, 6, 7, 8, 9];
792
+ declare const SUPPORTED_PLAY_AUTHORING_CONTRACT_EDITIONS: readonly [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
766
793
  type PlayAuthoringContractEdition = (typeof SUPPORTED_PLAY_AUTHORING_CONTRACT_EDITIONS)[number];
767
794
  type PlaySqlListenerOperation = 'INSERT' | 'UPDATE' | 'DELETE';
768
795
  type PlayStandardWebhookHeaderFamily = 'standard' | 'svix';
@@ -1235,7 +1262,7 @@ type PlayAuthoringRunScope = {
1235
1262
  readonly id: string;
1236
1263
  };
1237
1264
  /** The complete customer-authored `ctx` Interface shared by every Adapter. */
1238
- interface PlayAuthoringRuntimeContext {
1265
+ interface PlayAuthoringRuntimeContext<TListGetter extends 'dataset' | 'array' = 'dataset'> {
1239
1266
  /**
1240
1267
  * Load a staged CSV file as a durable dataset handle.
1241
1268
  * @sdkReference runtime 040 ctx.csv(path, options)
@@ -1245,7 +1272,7 @@ interface PlayAuthoringRuntimeContext {
1245
1272
  * Create a persisted row dataset and define durable output columns.
1246
1273
  * @sdkReference runtime 060 ctx.dataset(key, items)
1247
1274
  */
1248
- dataset<TSource extends PlayDatasetInput<object>>(key: string, items: TSource): PlayAuthoringDatasetBuilder<PlayDatasetRow<TSource> & object, PlayDatasetRow<TSource> & object, PlayAuthoringRuntimeContext>;
1275
+ dataset<TSource extends PlayDatasetInput<object>>(key: string, items: TSource): PlayAuthoringDatasetBuilder<PlayDatasetRow<TSource> & object, PlayDatasetRow<TSource> & object, PlayAuthoringRuntimeContext<TListGetter>>;
1249
1276
  /** @deprecated `ctx.map(...)` was replaced by `ctx.dataset(...)`. */
1250
1277
  map<TSource extends PlayDatasetInput<object>>(key: string, items: TSource, options?: PlayAuthoringDatasetDefinitionOptions<PlayDatasetRow<TSource> & object>): never;
1251
1278
  /**
@@ -1258,7 +1285,7 @@ interface PlayAuthoringRuntimeContext {
1258
1285
  * Execute a provider tool through the terminal-result cache contract.
1259
1286
  * @sdkReference runtime 150 ctx.tools.execute(request)
1260
1287
  */
1261
- execute<TOutput = PlayLooseObject>(request: PlayToolExecutionRequest): Promise<ToolExecuteResult<TOutput>>;
1288
+ execute<TOutput = PlayLooseObject>(request: PlayToolExecutionRequest): Promise<TListGetter extends 'array' ? BasicToolExecuteResult<TOutput> : ToolExecuteResult<TOutput>>;
1262
1289
  };
1263
1290
  customerDb: {
1264
1291
  query<TRow extends object = Record<string, unknown>>(statement: PlaySqlQuery | string, options?: PlayAuthoringCustomerDbQueryOptions): Promise<TRow[]>;
@@ -1266,12 +1293,12 @@ interface PlayAuthoringRuntimeContext {
1266
1293
  /** Shorthand for one managed tool call. */
1267
1294
  tool<TOutput = PlayLooseObject>(key: string, toolId: string, input: Record<string, unknown>, options?: {
1268
1295
  description?: string;
1269
- }): Promise<ToolExecuteResult<TOutput>>;
1296
+ }): Promise<TListGetter extends 'array' ? BasicToolExecuteResult<TOutput> : ToolExecuteResult<TOutput>>;
1270
1297
  /**
1271
1298
  * Execute one reusable step program against a scalar input.
1272
1299
  * @sdkReference runtime 180 ctx.runSteps(program, input, options)
1273
1300
  */
1274
- runSteps<TInput extends Record<string, unknown>, TOutput>(program: PlayAuthoringRunnableStepProgram<TOutput, PlayAuthoringRuntimeContext> & {
1301
+ runSteps<TInput extends Record<string, unknown>, TOutput>(program: PlayAuthoringRunnableStepProgram<TOutput, PlayAuthoringRuntimeContext<TListGetter>> & {
1275
1302
  readonly __inputType?: (input: TInput) => void;
1276
1303
  }, input: TInput, options?: PlayAuthoringRunStepsOptions): Promise<TOutput>;
1277
1304
  /**
@@ -3283,4 +3310,4 @@ type PlayCompilerManifest = {
3283
3310
  authoringContract?: AdmittedPlayAuthoringContract;
3284
3311
  };
3285
3312
 
3286
- export { type DeeplineGetterValue as $, type AsyncPlayRunRef as A, type PlayAuthoringCallOptions as B, type PlayAuthoringFetchResponse as C, type PlayAuthoringInputContract as D, type PlayRunId as E, type PlayAuthoringStepProgramStep as F, type PlayAuthoringRuntimeStepOptions as G, type PlaySqlListenerDeclaration as H, type PlaySqlListenerEvent as I, type PlaySqlListenerOperation as J, type PlaySqlQuery as K, type PlayAuthoringStepOptions as L, type PlayAuthoringStepProgram as M, type PlayAuthoringStepProgramResolver as N, type PlayAuthoringStepResolver as O, PLAY_ARTIFACT_KINDS as P, type PlayToolExecutionRequest as Q, type PlayAuthoringStepProgramOptions as R, DeeplineError as S, type ToolExecuteResult as T, ToolExecutionError as U, type ToolExecutionErrorOptions as V, CtxFetchHttpError as W, DEEPLINE_EXTRACTOR_TARGETS as X, DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS as Y, type DeeplineEmailStatusGetterValue as Z, type DeeplineExtractorTarget as _, type PlayArtifactCompatibility as a, type DeeplineGetterValueMap as a0, JOB_CHANGE_STATUS_VALUES as a1, type JobChangeStatus as a2, PHONE_STATUS_VALUES as a3, type PhoneStatus as a4, type PlayDataset as a5, type PlayDatasetInput as a6, type PreviousCell as a7, ProviderTransientError as a8, type ProviderTransientErrorCategory as a9, type ProviderUnavailableError as aa, type ProviderUnavailableReason as ab, type ToolExecutionErrorCategory as ac, type ToolExecutionErrorOrigin as ad, type ToolExecutionFailureV1 as ae, type ToolExecutionNetworkKind as af, type ToolExecutionNetworkScope as ag, type ToolExecutionPublicDetails as ah, type ToolResultBilling as ai, getProviderUnavailableReason as aj, isDeeplineExtractorTarget as ak, isProviderUnavailable as al, isProviderWaterfallUnavailableError as am, type PlayBundleArtifact as b, type PlayImportPolicy as c, type PlayPackageImport as d, type PlayRuntimeFeature as e, type PlaySandboxRuntimeDeclaration as f, type PlayCompilerManifest as g, type PlayArtifactKind as h, type PlayAuthoringColumnMap as i, type PlayAuthoringColumnResolver as j, type PlayAuthoringRuntimeContext as k, type PlayAuthoringConditionalStepResolver as l, type PlayAuthoringCsvInput as m, type PlayAuthoringCsvOptions as n, type PlayAuthoringDatasetBuilder as o, type PlayAuthoringDatasetColumnDefinition as p, type PlayAuthoringDatasetColumnRunInput as q, type PlayAuthoringReferenceLike as r, type PlayReturnObject as s, type PlayAuthoringDefineConfig as t, type PlayAuthoringDefinedPlay as u, type PlayAuthoringFetchOptions as v, type PlayAuthoringFileInput as w, type PlayAuthoringAsyncCallOptions as x, type PlayAuthoringBindings as y, type PlayAuthoringCallExecution as z };
3313
+ export { type DeeplineEmailStatusGetterValue as $, type AsyncPlayRunRef as A, type BasicToolExecuteResult as B, type PlayAuthoringCallExecution as C, type PlayAuthoringCallOptions as D, type PlayAuthoringFetchResponse as E, type PlayAuthoringInputContract as F, type PlayRunId as G, type PlayAuthoringStepProgramStep as H, type PlayAuthoringRuntimeStepOptions as I, type PlaySqlListenerDeclaration as J, type PlaySqlListenerEvent as K, type PlaySqlListenerOperation as L, type PlaySqlQuery as M, type PlayAuthoringStepOptions as N, type PlayAuthoringStepProgram as O, PLAY_ARTIFACT_KINDS as P, type PlayAuthoringStepProgramResolver as Q, type PlayAuthoringStepResolver as R, type PlayToolExecutionRequest as S, type ToolExecuteResult as T, type PlayAuthoringStepProgramOptions as U, DeeplineError as V, ToolExecutionError as W, type ToolExecutionErrorOptions as X, CtxFetchHttpError as Y, DEEPLINE_EXTRACTOR_TARGETS as Z, DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS as _, type PlayArtifactCompatibility as a, type DeeplineExtractorTarget as a0, type DeeplineGetterValue as a1, type DeeplineGetterValueMap as a2, JOB_CHANGE_STATUS_VALUES as a3, type JobChangeStatus as a4, PHONE_STATUS_VALUES as a5, type PhoneStatus as a6, type PlayDatasetInput as a7, type PreviousCell as a8, ProviderTransientError as a9, type ProviderTransientErrorCategory as aa, type ProviderUnavailableError as ab, type ProviderUnavailableReason as ac, type ToolExecutionErrorCategory as ad, type ToolExecutionErrorOrigin as ae, type ToolExecutionFailureV1 as af, type ToolExecutionNetworkKind as ag, type ToolExecutionNetworkScope as ah, type ToolExecutionPublicDetails as ai, type ToolResultBilling as aj, getProviderUnavailableReason as ak, isDeeplineExtractorTarget as al, isProviderUnavailable as am, isProviderWaterfallUnavailableError as an, type PlayBundleArtifact as b, type PlayImportPolicy as c, type PlayPackageImport as d, type PlayRuntimeFeature as e, type PlaySandboxRuntimeDeclaration as f, type PlayCompilerManifest as g, type PlayArtifactKind as h, type PlayDataset as i, type PlayAuthoringColumnMap as j, type PlayAuthoringColumnResolver as k, type PlayAuthoringRuntimeContext as l, type PlayAuthoringConditionalStepResolver as m, type PlayAuthoringCsvInput as n, type PlayAuthoringCsvOptions as o, type PlayAuthoringDatasetBuilder as p, type PlayAuthoringDatasetColumnDefinition as q, type PlayAuthoringDatasetColumnRunInput as r, type PlayAuthoringReferenceLike as s, type PlayReturnObject as t, type PlayAuthoringDefineConfig as u, type PlayAuthoringDefinedPlay as v, type PlayAuthoringFetchOptions as w, type PlayAuthoringFileInput as x, type PlayAuthoringAsyncCallOptions as y, type PlayAuthoringBindings as z };
@@ -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-9TkZ_ykI.mjs';
2
+ import { b as PlayBundleArtifact, f as PlaySandboxRuntimeDeclaration, g as PlayCompilerManifest, h as PlayArtifactKind } from './compiler-manifest-82q4jtfQ.mjs';
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-9TkZ_ykI.js';
2
+ import { b as PlayBundleArtifact, f as PlaySandboxRuntimeDeclaration, g as PlayCompilerManifest, h as PlayArtifactKind } from './compiler-manifest-82q4jtfQ.js';
3
3
 
4
4
  type ImportedPlayDependency = {
5
5
  filePath: string;
package/dist/index.d.mts CHANGED
@@ -1,14 +1,20 @@
1
1
  /// <reference path="./text-imports.d.ts" />
2
- import { D as DeeplineClientOptions, B as BillingNamespace, T as ToolDefinition, a as ToolMetadata, E as ExecuteToolRawOptions, b as ExecutionRecovery, c as ExecutionByKeyResult, P as PlayListItem, d as PlayDetail, e as PlayRunListItem, f as PlayRevisionSummary, g as PublishPlayVersionResult, C as ClearPlayHistoryResult, h as PlayStatus, S as StopPlayRunResult, i as DeeplineClient, R as ResolvedConfig } from './client-wiWPZhnI.mjs';
3
- export { j as BillingCreditPool, k as BillingInvoiceEntry, l as BillingInvoicesResult, m as BillingPaymentMethodSummary, n as BillingRecentUsageEntry, o as BillingSubscriptionCancelResult, p as BillingSubscriptionStatus, q as BillingTopUpReceipt, r as BillingTopUpResult, s as BillingUsageEvent, t as BillingUsageOptions, u as BillingUsageResult, v as ChildRunSummary, w as ClearPlayHistoryRequest, x as CreateNotificationGroupInput, y as CreateNotificationGroupResult, z as CustomerDbQueryOptions, A as CustomerDbQueryPlan, F as CustomerDbQueryResult, G as DEEPLINE_TOOL_CATEGORIES, H as DbNamespace, I as DeeplineToolCategory, J as IngestionStorageRepairResult, L as LegacyMonitorStatusFilter, K as LiveEventEnvelope, M as MONITOR_JOB_PHASES, N as MONITOR_JOB_RECONCILIATION_STATES, O as MONITOR_JOB_STATES, Q as MonitorBatchNamespace, U as MonitorCheckResult, V as MonitorDefinition, W as MonitorDeleteResult, X as MonitorDependents, Y as MonitorDeployResult, Z as MonitorDetail, _ as MonitorFleetDeactivateOptions, $ as MonitorFleetGetOptions, a0 as MonitorFleetReactivateOptions, a1 as MonitorFleetResult, a2 as MonitorFleetStatus, a3 as MonitorFleetSyncOptions, a4 as MonitorFleetWaitOptions, a5 as MonitorFleetsNamespace, a6 as MonitorJobDeployOptions, a7 as MonitorJobLogsOptions, a8 as MonitorJobPhase, a9 as MonitorJobReconciliationState, aa as MonitorJobResult, ab as MonitorJobState, ac as MonitorJobWaitOptions, ad as MonitorJobsNamespace, ae as MonitorListEntry, af as MonitorPayload, ag as MonitorReactivateResult, ah as MonitorSpec, ai as MonitorState, aj as MonitorStateFilter, ak as MonitorUpdateChangeSummary, al as MonitorUpdateResult, am as MonitorsAccessStatus, an as MonitorsAvailableOptions, ao as MonitorsAvailableResult, ap as MonitorsListOptions, aq as MonitorsListResult, ar as MonitorsNamespace, as as NormalizedRunEventQuery, at as PLAY_BOOTSTRAP_COMPANY_FIELDS, au as PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY, av as PLAY_BOOTSTRAP_CONTACT_FIELDS, aw as PLAY_BOOTSTRAP_FINDER_KINDS, ax as PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER, ay as PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY, az as PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER, aA as PLAY_BOOTSTRAP_SOURCE_KINDS, aB as PLAY_BOOTSTRAP_STAGE_KINDS, aC as PLAY_BOOTSTRAP_TEMPLATES, aD as PlayActivityObservation, aE as PlayActivityState, aF as PlayActivityTarget, aG as PlayBootstrapEntityKind, aH as PlayBootstrapFinderKind, aI as PlayCostEstimate, aJ as PlayCronTriggerConfig, aK as PlayLiveEvent, aL as PlayPath, aM as PlayRunActionPackage, aN as PlayRunActivityProjection, aO as PlayRunDatasetActions, aP as PlayRunPackage, aQ as PlayRunResult, aR as PlayRunStart, aS as PlaySettings, aT as PlaySettingsPatch, aU as PlaySettingsPathsPage, aV as PlaySettingsResult, aW as PlaySheetRow, aX as PlaySheetRowsResult, aY as PlayTriggerConfigUpdate, aZ as PlayTriggerConfigUpdateResult, a_ as PlayTriggerConfigView, a$ as PlayWebhookAuthConfig, b0 as PlayWebhookTriggerConfig, b1 as PlaysActivityResponse, b2 as PlaysListOptions, b3 as PlaysListPage, b4 as PublishPlayVersionRequest, b5 as RerunOptions, b6 as RerunPlayRunResult, b7 as RunChildrenPage, b8 as RunEventCountResult, b9 as RunEventField, ba as RunEventFieldDescriptor, bb as RunEventFieldOperators, bc as RunEventFieldsResult, bd as RunEventGroupValue, be as RunEventMeasure, bf as RunEventQueryCriteria, bg as RunEventQueryEvent, bh as RunEventQueryInputError, bi as RunEventQueryOptions, bj as RunEventQueryPage, bk as RunEventQueryRetention, bl as RunEventScalar, bm as RunEventSummaryOptions, bn as RunEventSummaryResult, bo as RunEventWhere, bp as RunLifecycleStatus, bq as RunToolReceiptResult, br as RunToolReceiptsResponse, bs as RunsChildrenOptions, bt as RunsEventPayload, bu as RunsEventSearchEntry, bv as RunsEventSearchOptions, bw as RunsEventSearchResult, bx as RunsEventsCountResult, by as RunsEventsCriteria, bz as RunsEventsFieldsOptions, bA as RunsEventsListOptions, bB as RunsEventsListResult, bC as RunsEventsNamespace, bD as RunsEventsSummaryOptions, bE as RunsEventsSummaryResult, bF as RunsHistoryItem, bG as RunsHistoryOptions, bH as RunsHistoryPage, bI as RunsListOptions, bJ as RunsListPage, bK as RunsLogCriteria, bL as RunsLogsCountResult, bM as RunsLogsNamespace, bN as RunsLogsOptions, bO as RunsLogsQueryOptions, bP as RunsLogsQueryResult, bQ as RunsLogsResult, bR as RunsLogsSummaryOptions, bS as RunsLogsSummaryResult, bT as RunsNamespace, bU as RunsTailOptions, bV as RunsWatchOptions, bW as SearchOptions, bX as SearchResult, bY as SearchResultItem, bZ as SearchType, b_ as StartPlayRunRequest, b$ as StopAllCandidate, c0 as StopAllPlayRunsDryRunResult, c1 as StopAllPlayRunsResult, c2 as StopAllPlayRunsStopResult, c3 as StopAllRunsOptions, c4 as ToolExecution, c5 as ToolSearchOptions, c6 as ToolSearchResult, c7 as WorkspaceCreateResult, c8 as WorkspacesNamespace, c9 as defineMonitor, ca as formatPlayBootstrapFinderKinds, cb as formatPlayBootstrapFinderKindsForSentence, cc as formatPlayBootstrapTemplates, cd as isPlayBootstrapFinderKind, ce as isPlayBootstrapTemplate, cf as isStopAllPlayRunsDryRunResult, cg as planCustomerDbQuery } from './client-wiWPZhnI.mjs';
4
- import { A as AsyncPlayRunRef$1, i as PlayAuthoringColumnMap, j as PlayAuthoringColumnResolver, k as PlayAuthoringRuntimeContext, l as PlayAuthoringConditionalStepResolver, m as PlayAuthoringCsvInput, n as PlayAuthoringCsvOptions, o as PlayAuthoringDatasetBuilder, p as PlayAuthoringDatasetColumnDefinition, q as PlayAuthoringDatasetColumnRunInput, T as ToolExecuteResult, r as PlayAuthoringReferenceLike, s as PlayReturnObject$1, t as PlayAuthoringDefineConfig, u as PlayAuthoringDefinedPlay, v as PlayAuthoringFetchOptions, w as PlayAuthoringFileInput, x as PlayAuthoringAsyncCallOptions, y as PlayAuthoringBindings, z as PlayAuthoringCallExecution, B as PlayAuthoringCallOptions, C as PlayAuthoringFetchResponse, D as PlayAuthoringInputContract, E as PlayRunId$1, F as PlayAuthoringStepProgramStep, G as PlayAuthoringRuntimeStepOptions, H as PlaySqlListenerDeclaration, I as PlaySqlListenerEvent, J as PlaySqlListenerOperation, K as PlaySqlQuery, L as PlayAuthoringStepOptions, M as PlayAuthoringStepProgram, N as PlayAuthoringStepProgramResolver, O as PlayAuthoringStepResolver, Q as PlayToolExecutionRequest, R as PlayAuthoringStepProgramOptions, S as DeeplineError, U as ToolExecutionError, V as ToolExecutionErrorOptions } from './compiler-manifest-9TkZ_ykI.mjs';
5
- export { W as CtxFetchHttpError, X as DEEPLINE_EXTRACTOR_TARGETS, Y as DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS, Z as DeeplineEmailStatusGetterValue, _ as DeeplineExtractorTarget, $ as DeeplineGetterValue, a0 as DeeplineGetterValueMap, a1 as JOB_CHANGE_STATUS_VALUES, a2 as JobChangeStatus, a3 as PHONE_STATUS_VALUES, a4 as PhoneStatus, a5 as PlayDataset, a6 as PlayDatasetInput, a7 as PreviousCell, a8 as ProviderTransientError, a9 as ProviderTransientErrorCategory, aa as ProviderUnavailableError, ab as ProviderUnavailableReason, ac as ToolExecutionErrorCategory, ad as ToolExecutionErrorOrigin, ae as ToolExecutionFailureV1, af as ToolExecutionNetworkKind, ag as ToolExecutionNetworkScope, ah as ToolExecutionPublicDetails, ai as ToolResultBilling, aj as getProviderUnavailableReason, ak as isDeeplineExtractorTarget, al as isProviderUnavailable, am as isProviderWaterfallUnavailableError } from './compiler-manifest-9TkZ_ykI.mjs';
6
- import { b as BundledPlayFileSuccess } from './index-B-5_Xhud.mjs';
2
+ import { D as DeeplineClientOptions, B as BillingNamespace, T as ToolDefinition, a as ToolMetadata, E as ExecuteToolRawOptions, b as ExecutionRecovery, c as ExecutionByKeyResult, P as PlayListItem, d as PlayDetail, e as PlayRunListItem, f as PlayRevisionSummary, g as PublishPlayVersionResult, C as ClearPlayHistoryResult, h as PlayStatus, S as StopPlayRunResult, i as DeeplineClient, R as ResolvedConfig } from './client-D5XOQKsA.mjs';
3
+ export { j as BillingCreditPool, k as BillingInvoiceEntry, l as BillingInvoicesResult, m as BillingPaymentMethodSummary, n as BillingRecentUsageEntry, o as BillingSubscriptionCancelResult, p as BillingSubscriptionStatus, q as BillingTopUpReceipt, r as BillingTopUpResult, s as BillingUsageEvent, t as BillingUsageOptions, u as BillingUsageResult, v as ChildRunSummary, w as ClearPlayHistoryRequest, x as CreateNotificationGroupInput, y as CreateNotificationGroupResult, z as CustomerDbQueryOptions, A as CustomerDbQueryPlan, F as CustomerDbQueryResult, G as DEEPLINE_TOOL_CATEGORIES, H as DbNamespace, I as DeeplineToolCategory, J as IngestionStorageRepairResult, L as LegacyMonitorStatusFilter, K as LiveEventEnvelope, M as MONITOR_JOB_PHASES, N as MONITOR_JOB_RECONCILIATION_STATES, O as MONITOR_JOB_STATES, Q as MonitorBatchNamespace, U as MonitorCheckResult, V as MonitorDefinition, W as MonitorDeleteResult, X as MonitorDependents, Y as MonitorDeployResult, Z as MonitorDetail, _ as MonitorFleetDeactivateOptions, $ as MonitorFleetGetOptions, a0 as MonitorFleetReactivateOptions, a1 as MonitorFleetResult, a2 as MonitorFleetStatus, a3 as MonitorFleetSyncOptions, a4 as MonitorFleetWaitOptions, a5 as MonitorFleetsNamespace, a6 as MonitorJobDeployOptions, a7 as MonitorJobLogsOptions, a8 as MonitorJobPhase, a9 as MonitorJobReconciliationState, aa as MonitorJobResult, ab as MonitorJobState, ac as MonitorJobWaitOptions, ad as MonitorJobsNamespace, ae as MonitorListEntry, af as MonitorPayload, ag as MonitorReactivateResult, ah as MonitorSpec, ai as MonitorState, aj as MonitorStateFilter, ak as MonitorUpdateChangeSummary, al as MonitorUpdateResult, am as MonitorsAccessStatus, an as MonitorsAvailableOptions, ao as MonitorsAvailableResult, ap as MonitorsListOptions, aq as MonitorsListResult, ar as MonitorsNamespace, as as NormalizedRunEventQuery, at as PLAY_BOOTSTRAP_COMPANY_FIELDS, au as PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY, av as PLAY_BOOTSTRAP_CONTACT_FIELDS, aw as PLAY_BOOTSTRAP_FINDER_KINDS, ax as PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER, ay as PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY, az as PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER, aA as PLAY_BOOTSTRAP_SOURCE_KINDS, aB as PLAY_BOOTSTRAP_STAGE_KINDS, aC as PLAY_BOOTSTRAP_TEMPLATES, aD as PlayActivityObservation, aE as PlayActivityState, aF as PlayActivityTarget, aG as PlayBootstrapEntityKind, aH as PlayBootstrapFinderKind, aI as PlayCostEstimate, aJ as PlayCronTriggerConfig, aK as PlayLiveEvent, aL as PlayPath, aM as PlayRunActionPackage, aN as PlayRunActivityProjection, aO as PlayRunDatasetActions, aP as PlayRunPackage, aQ as PlayRunResult, aR as PlayRunStart, aS as PlaySettings, aT as PlaySettingsPatch, aU as PlaySettingsPathsPage, aV as PlaySettingsResult, aW as PlaySheetRow, aX as PlaySheetRowsResult, aY as PlayTriggerConfigUpdate, aZ as PlayTriggerConfigUpdateResult, a_ as PlayTriggerConfigView, a$ as PlayWebhookAuthConfig, b0 as PlayWebhookTriggerConfig, b1 as PlaysActivityResponse, b2 as PlaysListOptions, b3 as PlaysListPage, b4 as PublishPlayVersionRequest, b5 as RerunOptions, b6 as RerunPlayRunResult, b7 as RunChildrenPage, b8 as RunEventCountResult, b9 as RunEventField, ba as RunEventFieldDescriptor, bb as RunEventFieldOperators, bc as RunEventFieldsResult, bd as RunEventGroupValue, be as RunEventMeasure, bf as RunEventQueryCriteria, bg as RunEventQueryEvent, bh as RunEventQueryInputError, bi as RunEventQueryOptions, bj as RunEventQueryPage, bk as RunEventQueryRetention, bl as RunEventScalar, bm as RunEventSummaryOptions, bn as RunEventSummaryResult, bo as RunEventWhere, bp as RunLifecycleStatus, bq as RunToolReceiptResult, br as RunToolReceiptsResponse, bs as RunsChildrenOptions, bt as RunsEventPayload, bu as RunsEventSearchEntry, bv as RunsEventSearchOptions, bw as RunsEventSearchResult, bx as RunsEventsCountResult, by as RunsEventsCriteria, bz as RunsEventsFieldsOptions, bA as RunsEventsListOptions, bB as RunsEventsListResult, bC as RunsEventsNamespace, bD as RunsEventsSummaryOptions, bE as RunsEventsSummaryResult, bF as RunsHistoryItem, bG as RunsHistoryOptions, bH as RunsHistoryPage, bI as RunsListOptions, bJ as RunsListPage, bK as RunsLogCriteria, bL as RunsLogsCountResult, bM as RunsLogsNamespace, bN as RunsLogsOptions, bO as RunsLogsQueryOptions, bP as RunsLogsQueryResult, bQ as RunsLogsResult, bR as RunsLogsSummaryOptions, bS as RunsLogsSummaryResult, bT as RunsNamespace, bU as RunsTailOptions, bV as RunsWatchOptions, bW as SearchOptions, bX as SearchResult, bY as SearchResultItem, bZ as SearchType, b_ as StartPlayRunRequest, b$ as StopAllCandidate, c0 as StopAllPlayRunsDryRunResult, c1 as StopAllPlayRunsResult, c2 as StopAllPlayRunsStopResult, c3 as StopAllRunsOptions, c4 as ToolExecution, c5 as ToolSearchOptions, c6 as ToolSearchResult, c7 as WorkspaceCreateResult, c8 as WorkspacesNamespace, c9 as defineMonitor, ca as formatPlayBootstrapFinderKinds, cb as formatPlayBootstrapFinderKindsForSentence, cc as formatPlayBootstrapTemplates, cd as isPlayBootstrapFinderKind, ce as isPlayBootstrapTemplate, cf as isStopAllPlayRunsDryRunResult, cg as planCustomerDbQuery } from './client-D5XOQKsA.mjs';
4
+ import { T as ToolExecuteResult, B as BasicToolExecuteResult, i as PlayDataset, A as AsyncPlayRunRef$1, j as PlayAuthoringColumnMap, k as PlayAuthoringColumnResolver, l as PlayAuthoringRuntimeContext, m as PlayAuthoringConditionalStepResolver, n as PlayAuthoringCsvInput, o as PlayAuthoringCsvOptions, p as PlayAuthoringDatasetBuilder, q as PlayAuthoringDatasetColumnDefinition, r as PlayAuthoringDatasetColumnRunInput, s as PlayAuthoringReferenceLike, t as PlayReturnObject$1, u as PlayAuthoringDefineConfig, v as PlayAuthoringDefinedPlay, w as PlayAuthoringFetchOptions, x as PlayAuthoringFileInput, y as PlayAuthoringAsyncCallOptions, z as PlayAuthoringBindings, C as PlayAuthoringCallExecution, D as PlayAuthoringCallOptions, E as PlayAuthoringFetchResponse, F as PlayAuthoringInputContract, G as PlayRunId$1, H as PlayAuthoringStepProgramStep, I as PlayAuthoringRuntimeStepOptions, J as PlaySqlListenerDeclaration, K as PlaySqlListenerEvent, L as PlaySqlListenerOperation, M as PlaySqlQuery, N as PlayAuthoringStepOptions, O as PlayAuthoringStepProgram, Q as PlayAuthoringStepProgramResolver, R as PlayAuthoringStepResolver, S as PlayToolExecutionRequest, U as PlayAuthoringStepProgramOptions, V as DeeplineError, W as ToolExecutionError, X as ToolExecutionErrorOptions } from './compiler-manifest-82q4jtfQ.mjs';
5
+ export { Y as CtxFetchHttpError, Z as DEEPLINE_EXTRACTOR_TARGETS, _ as DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS, $ as DeeplineEmailStatusGetterValue, a0 as DeeplineExtractorTarget, a1 as DeeplineGetterValue, a2 as DeeplineGetterValueMap, a3 as JOB_CHANGE_STATUS_VALUES, a4 as JobChangeStatus, a5 as PHONE_STATUS_VALUES, a6 as PhoneStatus, a7 as PlayDatasetInput, a8 as PreviousCell, a9 as ProviderTransientError, aa as ProviderTransientErrorCategory, ab as ProviderUnavailableError, ac as ProviderUnavailableReason, ad as ToolExecutionErrorCategory, ae as ToolExecutionErrorOrigin, af as ToolExecutionFailureV1, ag as ToolExecutionNetworkKind, ah as ToolExecutionNetworkScope, ai as ToolExecutionPublicDetails, aj as ToolResultBilling, ak as getProviderUnavailableReason, al as isDeeplineExtractorTarget, am as isProviderUnavailable, an as isProviderWaterfallUnavailableError } from './compiler-manifest-82q4jtfQ.mjs';
6
+ import { b as BundledPlayFileSuccess } from './index-BPbW2XHF.mjs';
7
7
  export { BatchMonitorInput, MonitorInputIssue, MonitorSpec as MonitorInputSpec, lintMonitorBatchInput, lintMonitorSpecTemplate, renderMonitorSpecTemplate } from './monitor-input-contract.mjs';
8
8
  export { AdmittedMonitorFleetAuthoringContract, MONITOR_FLEET_AUTHORING_CONTRACT_CHANGELOG, MONITOR_FLEET_AUTHORING_CONTRACT_EDITION, MONITOR_FLEET_DOCUMENTATION, MONITOR_FLEET_FRONTIER_MAX_ROWS, MONITOR_FLEET_MAX_MEMBERS, MonitorFleetAuthoringContractEdition, MonitorFleetAuthoringContractResult, MonitorFleetColumn, MonitorFleetContractIssue, MonitorFleetDefinition, MonitorFleetExpression, MonitorFleetTemplate, admitMonitorFleetAuthoringContract, defineMonitorFleet, fleetColumn, fleetKey, lintMonitorFleetInput, validateMonitorFleetDefinition } from './monitor-fleet-contract.mjs';
9
9
  import 'zod';
10
10
  import '@sinclair/typebox';
11
11
 
12
+ /**
13
+ * Read array rows out of a tool result — by selector paths, else the first
14
+ * declared list accessor. Companion to {@link readValue} for `extractList`.
15
+ */
16
+ declare function readList(result: ToolExecuteResult | BasicToolExecuteResult, selector?: readonly string[] | string): PlayDataset<Record<string, unknown>> | Record<string, unknown>[];
17
+
12
18
  type PlayCallExecution = PlayAuthoringCallExecution;
13
19
  type PlayCallOptions = PlayAuthoringCallOptions;
14
20
  type RuntimeStepOptions = PlayAuthoringRuntimeStepOptions;
@@ -202,7 +208,7 @@ type CsvOptions = PlayAuthoringCsvOptions;
202
208
  * });
203
209
  * ```
204
210
  */
205
- type DeeplinePlayRuntimeContext = PlayAuthoringRuntimeContext;
211
+ type DeeplinePlayRuntimeContext = PlayAuthoringRuntimeContext<'array'>;
206
212
  /**
207
213
  * Handle to a Play execution: inspect status, stream logs, await output, or cancel.
208
214
  * Like `deepline plays run` and `POST /api/v2/plays/run`, it returns a run id first.
@@ -376,7 +382,7 @@ type DeeplineToolsNamespace = {
376
382
  */
377
383
  execute(toolId: string, input: Record<string, unknown>, options?: DeeplineToolCallOptions): Promise<DeeplineToolExecuteResult>;
378
384
  };
379
- type DeeplineToolExecuteResult = ToolExecuteResult & {
385
+ type DeeplineToolExecuteResult = BasicToolExecuteResult & {
380
386
  /** Stable key used to recover this direct tool execution, when enabled. */
381
387
  idempotencyKey?: string;
382
388
  executionRecovery?: ExecutionRecovery;
@@ -1055,4 +1061,4 @@ declare function writeCsvOutputFile(rows: Array<Record<string, unknown>>, stem:
1055
1061
  */
1056
1062
  declare function extractSummaryFields(payload: unknown): Record<string, Scalar>;
1057
1063
 
1058
- export { type AsyncPlayRunRef, AuthError, BillingNamespace, ClearPlayHistoryResult, type ColumnMap, type ColumnResolver, type ConditionalStepResolver, ConfigError, type CsvInput, type CsvOptions, CustomerDbQueryOutcomeUnknownError, type DatasetBuilder, type DatasetColumnDefinition, type DatasetColumnRunInput, Deepline, DeeplineClient, DeeplineClientOptions, DeeplineContext, DeeplineError, type DeeplineExecutionsNamespace, type DeeplineNamedPlay, type DeeplinePlayRuntimeContext, type DeeplinePlaysNamespace, type DeeplineToolCallOptions, type DeeplineToolExecuteResult, type DeeplineToolsNamespace, type DefinePlayConfig, type DefinedPlay, ExecutionByKeyResult, ExecutionRecovery, type FetchOptions, type FileInput, type LocalPlayGraph, PROD_URL, type PlayAsyncCallOptions, type PlayBindings, type PlayCallExecution, type PlayCallOptions, type PlayFetchResponse, type PlayInputContract, type PlayJob, PlayListItem, type PlayReferenceLike, PlayRevisionSummary, type PlayRunId, PlayStatus, type PlayStepProgramStep, type PrebuiltPlayRef, PublishPlayVersionResult, RateLimitError, ResolvedConfig, RunObserveTransportUnavailableError, type RuntimeStepOptions, SDK_API_CONTRACT, SDK_VERSION, type SqlListenerDeclaration, type SqlListenerEvent, type SqlListenerOperation, type SqlQuery, type StepOptions, type StepProgram, type StepProgramResolver, type StepResolver, StopPlayRunResult, ToolDefinition, ToolExecuteResult, ToolExecutionError, ToolExecutionErrorOptions, type ToolExecutionRequest, ToolMetadata, ToolRateLimitError, defineInput, definePlay, defineWorkflow, extractSummaryFields, getDefinedPlayMetadata, pinLocalPlayImports, planLocalPlayExecution, resolveConfig, runIf, steps, tryConvertToList, writeCsvOutputFile, writeJsonOutputFile };
1064
+ export { type AsyncPlayRunRef, AuthError, BillingNamespace, ClearPlayHistoryResult, type ColumnMap, type ColumnResolver, type ConditionalStepResolver, ConfigError, type CsvInput, type CsvOptions, CustomerDbQueryOutcomeUnknownError, type DatasetBuilder, type DatasetColumnDefinition, type DatasetColumnRunInput, Deepline, DeeplineClient, DeeplineClientOptions, DeeplineContext, DeeplineError, type DeeplineExecutionsNamespace, type DeeplineNamedPlay, type DeeplinePlayRuntimeContext, type DeeplinePlaysNamespace, type DeeplineToolCallOptions, type DeeplineToolExecuteResult, type DeeplineToolsNamespace, type DefinePlayConfig, type DefinedPlay, ExecutionByKeyResult, ExecutionRecovery, type FetchOptions, type FileInput, type LocalPlayGraph, PROD_URL, type PlayAsyncCallOptions, type PlayBindings, type PlayCallExecution, type PlayCallOptions, PlayDataset, type PlayFetchResponse, type PlayInputContract, type PlayJob, PlayListItem, type PlayReferenceLike, PlayRevisionSummary, type PlayRunId, PlayStatus, type PlayStepProgramStep, type PrebuiltPlayRef, PublishPlayVersionResult, RateLimitError, ResolvedConfig, RunObserveTransportUnavailableError, type RuntimeStepOptions, SDK_API_CONTRACT, SDK_VERSION, type SqlListenerDeclaration, type SqlListenerEvent, type SqlListenerOperation, type SqlQuery, type StepOptions, type StepProgram, type StepProgramResolver, type StepResolver, StopPlayRunResult, ToolDefinition, BasicToolExecuteResult as ToolExecuteResult, ToolExecutionError, ToolExecutionErrorOptions, type ToolExecutionRequest, ToolMetadata, ToolRateLimitError, defineInput, definePlay, defineWorkflow, extractSummaryFields, getDefinedPlayMetadata, pinLocalPlayImports, planLocalPlayExecution, readList, resolveConfig, runIf, steps, tryConvertToList, writeCsvOutputFile, writeJsonOutputFile };
package/dist/index.d.ts CHANGED
@@ -1,14 +1,20 @@
1
1
  /// <reference path="./text-imports.d.ts" />
2
- import { D as DeeplineClientOptions, B as BillingNamespace, T as ToolDefinition, a as ToolMetadata, E as ExecuteToolRawOptions, b as ExecutionRecovery, c as ExecutionByKeyResult, P as PlayListItem, d as PlayDetail, e as PlayRunListItem, f as PlayRevisionSummary, g as PublishPlayVersionResult, C as ClearPlayHistoryResult, h as PlayStatus, S as StopPlayRunResult, i as DeeplineClient, R as ResolvedConfig } from './client-DHq8dJ56.js';
3
- export { j as BillingCreditPool, k as BillingInvoiceEntry, l as BillingInvoicesResult, m as BillingPaymentMethodSummary, n as BillingRecentUsageEntry, o as BillingSubscriptionCancelResult, p as BillingSubscriptionStatus, q as BillingTopUpReceipt, r as BillingTopUpResult, s as BillingUsageEvent, t as BillingUsageOptions, u as BillingUsageResult, v as ChildRunSummary, w as ClearPlayHistoryRequest, x as CreateNotificationGroupInput, y as CreateNotificationGroupResult, z as CustomerDbQueryOptions, A as CustomerDbQueryPlan, F as CustomerDbQueryResult, G as DEEPLINE_TOOL_CATEGORIES, H as DbNamespace, I as DeeplineToolCategory, J as IngestionStorageRepairResult, L as LegacyMonitorStatusFilter, K as LiveEventEnvelope, M as MONITOR_JOB_PHASES, N as MONITOR_JOB_RECONCILIATION_STATES, O as MONITOR_JOB_STATES, Q as MonitorBatchNamespace, U as MonitorCheckResult, V as MonitorDefinition, W as MonitorDeleteResult, X as MonitorDependents, Y as MonitorDeployResult, Z as MonitorDetail, _ as MonitorFleetDeactivateOptions, $ as MonitorFleetGetOptions, a0 as MonitorFleetReactivateOptions, a1 as MonitorFleetResult, a2 as MonitorFleetStatus, a3 as MonitorFleetSyncOptions, a4 as MonitorFleetWaitOptions, a5 as MonitorFleetsNamespace, a6 as MonitorJobDeployOptions, a7 as MonitorJobLogsOptions, a8 as MonitorJobPhase, a9 as MonitorJobReconciliationState, aa as MonitorJobResult, ab as MonitorJobState, ac as MonitorJobWaitOptions, ad as MonitorJobsNamespace, ae as MonitorListEntry, af as MonitorPayload, ag as MonitorReactivateResult, ah as MonitorSpec, ai as MonitorState, aj as MonitorStateFilter, ak as MonitorUpdateChangeSummary, al as MonitorUpdateResult, am as MonitorsAccessStatus, an as MonitorsAvailableOptions, ao as MonitorsAvailableResult, ap as MonitorsListOptions, aq as MonitorsListResult, ar as MonitorsNamespace, as as NormalizedRunEventQuery, at as PLAY_BOOTSTRAP_COMPANY_FIELDS, au as PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY, av as PLAY_BOOTSTRAP_CONTACT_FIELDS, aw as PLAY_BOOTSTRAP_FINDER_KINDS, ax as PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER, ay as PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY, az as PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER, aA as PLAY_BOOTSTRAP_SOURCE_KINDS, aB as PLAY_BOOTSTRAP_STAGE_KINDS, aC as PLAY_BOOTSTRAP_TEMPLATES, aD as PlayActivityObservation, aE as PlayActivityState, aF as PlayActivityTarget, aG as PlayBootstrapEntityKind, aH as PlayBootstrapFinderKind, aI as PlayCostEstimate, aJ as PlayCronTriggerConfig, aK as PlayLiveEvent, aL as PlayPath, aM as PlayRunActionPackage, aN as PlayRunActivityProjection, aO as PlayRunDatasetActions, aP as PlayRunPackage, aQ as PlayRunResult, aR as PlayRunStart, aS as PlaySettings, aT as PlaySettingsPatch, aU as PlaySettingsPathsPage, aV as PlaySettingsResult, aW as PlaySheetRow, aX as PlaySheetRowsResult, aY as PlayTriggerConfigUpdate, aZ as PlayTriggerConfigUpdateResult, a_ as PlayTriggerConfigView, a$ as PlayWebhookAuthConfig, b0 as PlayWebhookTriggerConfig, b1 as PlaysActivityResponse, b2 as PlaysListOptions, b3 as PlaysListPage, b4 as PublishPlayVersionRequest, b5 as RerunOptions, b6 as RerunPlayRunResult, b7 as RunChildrenPage, b8 as RunEventCountResult, b9 as RunEventField, ba as RunEventFieldDescriptor, bb as RunEventFieldOperators, bc as RunEventFieldsResult, bd as RunEventGroupValue, be as RunEventMeasure, bf as RunEventQueryCriteria, bg as RunEventQueryEvent, bh as RunEventQueryInputError, bi as RunEventQueryOptions, bj as RunEventQueryPage, bk as RunEventQueryRetention, bl as RunEventScalar, bm as RunEventSummaryOptions, bn as RunEventSummaryResult, bo as RunEventWhere, bp as RunLifecycleStatus, bq as RunToolReceiptResult, br as RunToolReceiptsResponse, bs as RunsChildrenOptions, bt as RunsEventPayload, bu as RunsEventSearchEntry, bv as RunsEventSearchOptions, bw as RunsEventSearchResult, bx as RunsEventsCountResult, by as RunsEventsCriteria, bz as RunsEventsFieldsOptions, bA as RunsEventsListOptions, bB as RunsEventsListResult, bC as RunsEventsNamespace, bD as RunsEventsSummaryOptions, bE as RunsEventsSummaryResult, bF as RunsHistoryItem, bG as RunsHistoryOptions, bH as RunsHistoryPage, bI as RunsListOptions, bJ as RunsListPage, bK as RunsLogCriteria, bL as RunsLogsCountResult, bM as RunsLogsNamespace, bN as RunsLogsOptions, bO as RunsLogsQueryOptions, bP as RunsLogsQueryResult, bQ as RunsLogsResult, bR as RunsLogsSummaryOptions, bS as RunsLogsSummaryResult, bT as RunsNamespace, bU as RunsTailOptions, bV as RunsWatchOptions, bW as SearchOptions, bX as SearchResult, bY as SearchResultItem, bZ as SearchType, b_ as StartPlayRunRequest, b$ as StopAllCandidate, c0 as StopAllPlayRunsDryRunResult, c1 as StopAllPlayRunsResult, c2 as StopAllPlayRunsStopResult, c3 as StopAllRunsOptions, c4 as ToolExecution, c5 as ToolSearchOptions, c6 as ToolSearchResult, c7 as WorkspaceCreateResult, c8 as WorkspacesNamespace, c9 as defineMonitor, ca as formatPlayBootstrapFinderKinds, cb as formatPlayBootstrapFinderKindsForSentence, cc as formatPlayBootstrapTemplates, cd as isPlayBootstrapFinderKind, ce as isPlayBootstrapTemplate, cf as isStopAllPlayRunsDryRunResult, cg as planCustomerDbQuery } from './client-DHq8dJ56.js';
4
- import { A as AsyncPlayRunRef$1, i as PlayAuthoringColumnMap, j as PlayAuthoringColumnResolver, k as PlayAuthoringRuntimeContext, l as PlayAuthoringConditionalStepResolver, m as PlayAuthoringCsvInput, n as PlayAuthoringCsvOptions, o as PlayAuthoringDatasetBuilder, p as PlayAuthoringDatasetColumnDefinition, q as PlayAuthoringDatasetColumnRunInput, T as ToolExecuteResult, r as PlayAuthoringReferenceLike, s as PlayReturnObject$1, t as PlayAuthoringDefineConfig, u as PlayAuthoringDefinedPlay, v as PlayAuthoringFetchOptions, w as PlayAuthoringFileInput, x as PlayAuthoringAsyncCallOptions, y as PlayAuthoringBindings, z as PlayAuthoringCallExecution, B as PlayAuthoringCallOptions, C as PlayAuthoringFetchResponse, D as PlayAuthoringInputContract, E as PlayRunId$1, F as PlayAuthoringStepProgramStep, G as PlayAuthoringRuntimeStepOptions, H as PlaySqlListenerDeclaration, I as PlaySqlListenerEvent, J as PlaySqlListenerOperation, K as PlaySqlQuery, L as PlayAuthoringStepOptions, M as PlayAuthoringStepProgram, N as PlayAuthoringStepProgramResolver, O as PlayAuthoringStepResolver, Q as PlayToolExecutionRequest, R as PlayAuthoringStepProgramOptions, S as DeeplineError, U as ToolExecutionError, V as ToolExecutionErrorOptions } from './compiler-manifest-9TkZ_ykI.js';
5
- export { W as CtxFetchHttpError, X as DEEPLINE_EXTRACTOR_TARGETS, Y as DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS, Z as DeeplineEmailStatusGetterValue, _ as DeeplineExtractorTarget, $ as DeeplineGetterValue, a0 as DeeplineGetterValueMap, a1 as JOB_CHANGE_STATUS_VALUES, a2 as JobChangeStatus, a3 as PHONE_STATUS_VALUES, a4 as PhoneStatus, a5 as PlayDataset, a6 as PlayDatasetInput, a7 as PreviousCell, a8 as ProviderTransientError, a9 as ProviderTransientErrorCategory, aa as ProviderUnavailableError, ab as ProviderUnavailableReason, ac as ToolExecutionErrorCategory, ad as ToolExecutionErrorOrigin, ae as ToolExecutionFailureV1, af as ToolExecutionNetworkKind, ag as ToolExecutionNetworkScope, ah as ToolExecutionPublicDetails, ai as ToolResultBilling, aj as getProviderUnavailableReason, ak as isDeeplineExtractorTarget, al as isProviderUnavailable, am as isProviderWaterfallUnavailableError } from './compiler-manifest-9TkZ_ykI.js';
6
- import { b as BundledPlayFileSuccess } from './index-ykksoEyR.js';
2
+ import { D as DeeplineClientOptions, B as BillingNamespace, T as ToolDefinition, a as ToolMetadata, E as ExecuteToolRawOptions, b as ExecutionRecovery, c as ExecutionByKeyResult, P as PlayListItem, d as PlayDetail, e as PlayRunListItem, f as PlayRevisionSummary, g as PublishPlayVersionResult, C as ClearPlayHistoryResult, h as PlayStatus, S as StopPlayRunResult, i as DeeplineClient, R as ResolvedConfig } from './client-l-IoLh8Z.js';
3
+ export { j as BillingCreditPool, k as BillingInvoiceEntry, l as BillingInvoicesResult, m as BillingPaymentMethodSummary, n as BillingRecentUsageEntry, o as BillingSubscriptionCancelResult, p as BillingSubscriptionStatus, q as BillingTopUpReceipt, r as BillingTopUpResult, s as BillingUsageEvent, t as BillingUsageOptions, u as BillingUsageResult, v as ChildRunSummary, w as ClearPlayHistoryRequest, x as CreateNotificationGroupInput, y as CreateNotificationGroupResult, z as CustomerDbQueryOptions, A as CustomerDbQueryPlan, F as CustomerDbQueryResult, G as DEEPLINE_TOOL_CATEGORIES, H as DbNamespace, I as DeeplineToolCategory, J as IngestionStorageRepairResult, L as LegacyMonitorStatusFilter, K as LiveEventEnvelope, M as MONITOR_JOB_PHASES, N as MONITOR_JOB_RECONCILIATION_STATES, O as MONITOR_JOB_STATES, Q as MonitorBatchNamespace, U as MonitorCheckResult, V as MonitorDefinition, W as MonitorDeleteResult, X as MonitorDependents, Y as MonitorDeployResult, Z as MonitorDetail, _ as MonitorFleetDeactivateOptions, $ as MonitorFleetGetOptions, a0 as MonitorFleetReactivateOptions, a1 as MonitorFleetResult, a2 as MonitorFleetStatus, a3 as MonitorFleetSyncOptions, a4 as MonitorFleetWaitOptions, a5 as MonitorFleetsNamespace, a6 as MonitorJobDeployOptions, a7 as MonitorJobLogsOptions, a8 as MonitorJobPhase, a9 as MonitorJobReconciliationState, aa as MonitorJobResult, ab as MonitorJobState, ac as MonitorJobWaitOptions, ad as MonitorJobsNamespace, ae as MonitorListEntry, af as MonitorPayload, ag as MonitorReactivateResult, ah as MonitorSpec, ai as MonitorState, aj as MonitorStateFilter, ak as MonitorUpdateChangeSummary, al as MonitorUpdateResult, am as MonitorsAccessStatus, an as MonitorsAvailableOptions, ao as MonitorsAvailableResult, ap as MonitorsListOptions, aq as MonitorsListResult, ar as MonitorsNamespace, as as NormalizedRunEventQuery, at as PLAY_BOOTSTRAP_COMPANY_FIELDS, au as PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY, av as PLAY_BOOTSTRAP_CONTACT_FIELDS, aw as PLAY_BOOTSTRAP_FINDER_KINDS, ax as PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER, ay as PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY, az as PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER, aA as PLAY_BOOTSTRAP_SOURCE_KINDS, aB as PLAY_BOOTSTRAP_STAGE_KINDS, aC as PLAY_BOOTSTRAP_TEMPLATES, aD as PlayActivityObservation, aE as PlayActivityState, aF as PlayActivityTarget, aG as PlayBootstrapEntityKind, aH as PlayBootstrapFinderKind, aI as PlayCostEstimate, aJ as PlayCronTriggerConfig, aK as PlayLiveEvent, aL as PlayPath, aM as PlayRunActionPackage, aN as PlayRunActivityProjection, aO as PlayRunDatasetActions, aP as PlayRunPackage, aQ as PlayRunResult, aR as PlayRunStart, aS as PlaySettings, aT as PlaySettingsPatch, aU as PlaySettingsPathsPage, aV as PlaySettingsResult, aW as PlaySheetRow, aX as PlaySheetRowsResult, aY as PlayTriggerConfigUpdate, aZ as PlayTriggerConfigUpdateResult, a_ as PlayTriggerConfigView, a$ as PlayWebhookAuthConfig, b0 as PlayWebhookTriggerConfig, b1 as PlaysActivityResponse, b2 as PlaysListOptions, b3 as PlaysListPage, b4 as PublishPlayVersionRequest, b5 as RerunOptions, b6 as RerunPlayRunResult, b7 as RunChildrenPage, b8 as RunEventCountResult, b9 as RunEventField, ba as RunEventFieldDescriptor, bb as RunEventFieldOperators, bc as RunEventFieldsResult, bd as RunEventGroupValue, be as RunEventMeasure, bf as RunEventQueryCriteria, bg as RunEventQueryEvent, bh as RunEventQueryInputError, bi as RunEventQueryOptions, bj as RunEventQueryPage, bk as RunEventQueryRetention, bl as RunEventScalar, bm as RunEventSummaryOptions, bn as RunEventSummaryResult, bo as RunEventWhere, bp as RunLifecycleStatus, bq as RunToolReceiptResult, br as RunToolReceiptsResponse, bs as RunsChildrenOptions, bt as RunsEventPayload, bu as RunsEventSearchEntry, bv as RunsEventSearchOptions, bw as RunsEventSearchResult, bx as RunsEventsCountResult, by as RunsEventsCriteria, bz as RunsEventsFieldsOptions, bA as RunsEventsListOptions, bB as RunsEventsListResult, bC as RunsEventsNamespace, bD as RunsEventsSummaryOptions, bE as RunsEventsSummaryResult, bF as RunsHistoryItem, bG as RunsHistoryOptions, bH as RunsHistoryPage, bI as RunsListOptions, bJ as RunsListPage, bK as RunsLogCriteria, bL as RunsLogsCountResult, bM as RunsLogsNamespace, bN as RunsLogsOptions, bO as RunsLogsQueryOptions, bP as RunsLogsQueryResult, bQ as RunsLogsResult, bR as RunsLogsSummaryOptions, bS as RunsLogsSummaryResult, bT as RunsNamespace, bU as RunsTailOptions, bV as RunsWatchOptions, bW as SearchOptions, bX as SearchResult, bY as SearchResultItem, bZ as SearchType, b_ as StartPlayRunRequest, b$ as StopAllCandidate, c0 as StopAllPlayRunsDryRunResult, c1 as StopAllPlayRunsResult, c2 as StopAllPlayRunsStopResult, c3 as StopAllRunsOptions, c4 as ToolExecution, c5 as ToolSearchOptions, c6 as ToolSearchResult, c7 as WorkspaceCreateResult, c8 as WorkspacesNamespace, c9 as defineMonitor, ca as formatPlayBootstrapFinderKinds, cb as formatPlayBootstrapFinderKindsForSentence, cc as formatPlayBootstrapTemplates, cd as isPlayBootstrapFinderKind, ce as isPlayBootstrapTemplate, cf as isStopAllPlayRunsDryRunResult, cg as planCustomerDbQuery } from './client-l-IoLh8Z.js';
4
+ import { T as ToolExecuteResult, B as BasicToolExecuteResult, i as PlayDataset, A as AsyncPlayRunRef$1, j as PlayAuthoringColumnMap, k as PlayAuthoringColumnResolver, l as PlayAuthoringRuntimeContext, m as PlayAuthoringConditionalStepResolver, n as PlayAuthoringCsvInput, o as PlayAuthoringCsvOptions, p as PlayAuthoringDatasetBuilder, q as PlayAuthoringDatasetColumnDefinition, r as PlayAuthoringDatasetColumnRunInput, s as PlayAuthoringReferenceLike, t as PlayReturnObject$1, u as PlayAuthoringDefineConfig, v as PlayAuthoringDefinedPlay, w as PlayAuthoringFetchOptions, x as PlayAuthoringFileInput, y as PlayAuthoringAsyncCallOptions, z as PlayAuthoringBindings, C as PlayAuthoringCallExecution, D as PlayAuthoringCallOptions, E as PlayAuthoringFetchResponse, F as PlayAuthoringInputContract, G as PlayRunId$1, H as PlayAuthoringStepProgramStep, I as PlayAuthoringRuntimeStepOptions, J as PlaySqlListenerDeclaration, K as PlaySqlListenerEvent, L as PlaySqlListenerOperation, M as PlaySqlQuery, N as PlayAuthoringStepOptions, O as PlayAuthoringStepProgram, Q as PlayAuthoringStepProgramResolver, R as PlayAuthoringStepResolver, S as PlayToolExecutionRequest, U as PlayAuthoringStepProgramOptions, V as DeeplineError, W as ToolExecutionError, X as ToolExecutionErrorOptions } from './compiler-manifest-82q4jtfQ.js';
5
+ export { Y as CtxFetchHttpError, Z as DEEPLINE_EXTRACTOR_TARGETS, _ as DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS, $ as DeeplineEmailStatusGetterValue, a0 as DeeplineExtractorTarget, a1 as DeeplineGetterValue, a2 as DeeplineGetterValueMap, a3 as JOB_CHANGE_STATUS_VALUES, a4 as JobChangeStatus, a5 as PHONE_STATUS_VALUES, a6 as PhoneStatus, a7 as PlayDatasetInput, a8 as PreviousCell, a9 as ProviderTransientError, aa as ProviderTransientErrorCategory, ab as ProviderUnavailableError, ac as ProviderUnavailableReason, ad as ToolExecutionErrorCategory, ae as ToolExecutionErrorOrigin, af as ToolExecutionFailureV1, ag as ToolExecutionNetworkKind, ah as ToolExecutionNetworkScope, ai as ToolExecutionPublicDetails, aj as ToolResultBilling, ak as getProviderUnavailableReason, al as isDeeplineExtractorTarget, am as isProviderUnavailable, an as isProviderWaterfallUnavailableError } from './compiler-manifest-82q4jtfQ.js';
6
+ import { b as BundledPlayFileSuccess } from './index-k0rquHIm.js';
7
7
  export { BatchMonitorInput, MonitorInputIssue, MonitorSpec as MonitorInputSpec, lintMonitorBatchInput, lintMonitorSpecTemplate, renderMonitorSpecTemplate } from './monitor-input-contract.js';
8
8
  export { AdmittedMonitorFleetAuthoringContract, MONITOR_FLEET_AUTHORING_CONTRACT_CHANGELOG, MONITOR_FLEET_AUTHORING_CONTRACT_EDITION, MONITOR_FLEET_DOCUMENTATION, MONITOR_FLEET_FRONTIER_MAX_ROWS, MONITOR_FLEET_MAX_MEMBERS, MonitorFleetAuthoringContractEdition, MonitorFleetAuthoringContractResult, MonitorFleetColumn, MonitorFleetContractIssue, MonitorFleetDefinition, MonitorFleetExpression, MonitorFleetTemplate, admitMonitorFleetAuthoringContract, defineMonitorFleet, fleetColumn, fleetKey, lintMonitorFleetInput, validateMonitorFleetDefinition } from './monitor-fleet-contract.js';
9
9
  import 'zod';
10
10
  import '@sinclair/typebox';
11
11
 
12
+ /**
13
+ * Read array rows out of a tool result — by selector paths, else the first
14
+ * declared list accessor. Companion to {@link readValue} for `extractList`.
15
+ */
16
+ declare function readList(result: ToolExecuteResult | BasicToolExecuteResult, selector?: readonly string[] | string): PlayDataset<Record<string, unknown>> | Record<string, unknown>[];
17
+
12
18
  type PlayCallExecution = PlayAuthoringCallExecution;
13
19
  type PlayCallOptions = PlayAuthoringCallOptions;
14
20
  type RuntimeStepOptions = PlayAuthoringRuntimeStepOptions;
@@ -202,7 +208,7 @@ type CsvOptions = PlayAuthoringCsvOptions;
202
208
  * });
203
209
  * ```
204
210
  */
205
- type DeeplinePlayRuntimeContext = PlayAuthoringRuntimeContext;
211
+ type DeeplinePlayRuntimeContext = PlayAuthoringRuntimeContext<'array'>;
206
212
  /**
207
213
  * Handle to a Play execution: inspect status, stream logs, await output, or cancel.
208
214
  * Like `deepline plays run` and `POST /api/v2/plays/run`, it returns a run id first.
@@ -376,7 +382,7 @@ type DeeplineToolsNamespace = {
376
382
  */
377
383
  execute(toolId: string, input: Record<string, unknown>, options?: DeeplineToolCallOptions): Promise<DeeplineToolExecuteResult>;
378
384
  };
379
- type DeeplineToolExecuteResult = ToolExecuteResult & {
385
+ type DeeplineToolExecuteResult = BasicToolExecuteResult & {
380
386
  /** Stable key used to recover this direct tool execution, when enabled. */
381
387
  idempotencyKey?: string;
382
388
  executionRecovery?: ExecutionRecovery;
@@ -1055,4 +1061,4 @@ declare function writeCsvOutputFile(rows: Array<Record<string, unknown>>, stem:
1055
1061
  */
1056
1062
  declare function extractSummaryFields(payload: unknown): Record<string, Scalar>;
1057
1063
 
1058
- export { type AsyncPlayRunRef, AuthError, BillingNamespace, ClearPlayHistoryResult, type ColumnMap, type ColumnResolver, type ConditionalStepResolver, ConfigError, type CsvInput, type CsvOptions, CustomerDbQueryOutcomeUnknownError, type DatasetBuilder, type DatasetColumnDefinition, type DatasetColumnRunInput, Deepline, DeeplineClient, DeeplineClientOptions, DeeplineContext, DeeplineError, type DeeplineExecutionsNamespace, type DeeplineNamedPlay, type DeeplinePlayRuntimeContext, type DeeplinePlaysNamespace, type DeeplineToolCallOptions, type DeeplineToolExecuteResult, type DeeplineToolsNamespace, type DefinePlayConfig, type DefinedPlay, ExecutionByKeyResult, ExecutionRecovery, type FetchOptions, type FileInput, type LocalPlayGraph, PROD_URL, type PlayAsyncCallOptions, type PlayBindings, type PlayCallExecution, type PlayCallOptions, type PlayFetchResponse, type PlayInputContract, type PlayJob, PlayListItem, type PlayReferenceLike, PlayRevisionSummary, type PlayRunId, PlayStatus, type PlayStepProgramStep, type PrebuiltPlayRef, PublishPlayVersionResult, RateLimitError, ResolvedConfig, RunObserveTransportUnavailableError, type RuntimeStepOptions, SDK_API_CONTRACT, SDK_VERSION, type SqlListenerDeclaration, type SqlListenerEvent, type SqlListenerOperation, type SqlQuery, type StepOptions, type StepProgram, type StepProgramResolver, type StepResolver, StopPlayRunResult, ToolDefinition, ToolExecuteResult, ToolExecutionError, ToolExecutionErrorOptions, type ToolExecutionRequest, ToolMetadata, ToolRateLimitError, defineInput, definePlay, defineWorkflow, extractSummaryFields, getDefinedPlayMetadata, pinLocalPlayImports, planLocalPlayExecution, resolveConfig, runIf, steps, tryConvertToList, writeCsvOutputFile, writeJsonOutputFile };
1064
+ export { type AsyncPlayRunRef, AuthError, BillingNamespace, ClearPlayHistoryResult, type ColumnMap, type ColumnResolver, type ConditionalStepResolver, ConfigError, type CsvInput, type CsvOptions, CustomerDbQueryOutcomeUnknownError, type DatasetBuilder, type DatasetColumnDefinition, type DatasetColumnRunInput, Deepline, DeeplineClient, DeeplineClientOptions, DeeplineContext, DeeplineError, type DeeplineExecutionsNamespace, type DeeplineNamedPlay, type DeeplinePlayRuntimeContext, type DeeplinePlaysNamespace, type DeeplineToolCallOptions, type DeeplineToolExecuteResult, type DeeplineToolsNamespace, type DefinePlayConfig, type DefinedPlay, ExecutionByKeyResult, ExecutionRecovery, type FetchOptions, type FileInput, type LocalPlayGraph, PROD_URL, type PlayAsyncCallOptions, type PlayBindings, type PlayCallExecution, type PlayCallOptions, PlayDataset, type PlayFetchResponse, type PlayInputContract, type PlayJob, PlayListItem, type PlayReferenceLike, PlayRevisionSummary, type PlayRunId, PlayStatus, type PlayStepProgramStep, type PrebuiltPlayRef, PublishPlayVersionResult, RateLimitError, ResolvedConfig, RunObserveTransportUnavailableError, type RuntimeStepOptions, SDK_API_CONTRACT, SDK_VERSION, type SqlListenerDeclaration, type SqlListenerEvent, type SqlListenerOperation, type SqlQuery, type StepOptions, type StepProgram, type StepProgramResolver, type StepResolver, StopPlayRunResult, ToolDefinition, BasicToolExecuteResult as ToolExecuteResult, ToolExecutionError, ToolExecutionErrorOptions, type ToolExecutionRequest, ToolMetadata, ToolRateLimitError, defineInput, definePlay, defineWorkflow, extractSummaryFields, getDefinedPlayMetadata, pinLocalPlayImports, planLocalPlayExecution, readList, resolveConfig, runIf, steps, tryConvertToList, writeCsvOutputFile, writeJsonOutputFile };