deepline 0.3.421 → 0.3.423

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 (149) hide show
  1. package/dist/bundling-sources/sdk/src/client.ts +2 -2
  2. package/dist/bundling-sources/sdk/src/index.ts +2 -0
  3. package/dist/bundling-sources/sdk/src/play.ts +227 -184
  4. package/dist/bundling-sources/sdk/src/plays/local-file-discovery.ts +9 -2
  5. package/dist/bundling-sources/sdk/src/plays/local-play-execution.ts +1 -1
  6. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  7. package/dist/bundling-sources/sdk/src/tool-calls.ts +3 -1
  8. package/dist/bundling-sources/sdk/src/types.ts +5 -5
  9. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +6 -6
  10. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +37 -36
  11. package/dist/bundling-sources/shared_libs/plays/bundling/index.ts +179 -38
  12. package/dist/bundling-sources/shared_libs/plays/dataset.ts +2 -2
  13. package/dist/bundling-sources/shared_libs/plays/docflow.ts +4 -0
  14. package/dist/bundling-sources/shared_libs/plays/fetch-http-error.ts +1 -1
  15. package/dist/bundling-sources/shared_libs/plays/local-file-discovery.ts +12 -4
  16. package/dist/bundling-sources/shared_libs/plays/play-exports.ts +27 -5
  17. package/dist/bundling-sources/shared_libs/plays/script-entry.ts +992 -0
  18. package/dist/bundling-sources/shared_libs/plays/source-authoring-edition.ts +63 -0
  19. package/dist/bundling-sources/shared_libs/plays/tool-result-types.ts +8 -4
  20. package/dist/bundling-sources/shared_libs/plays/ts-ast.ts +2 -0
  21. package/dist/cli/{auth-56JTC4Q7.mjs → auth-L7Q53QKK.mjs} +4 -4
  22. package/dist/cli/auth-SUNY477Y.js +40 -0
  23. package/dist/cli/{billing-ZXOOZEUW.mjs → billing-IH7AKDR2.mjs} +4 -4
  24. package/dist/cli/{billing-C5LR6FA7.js → billing-QNP6YGI2.js} +73 -73
  25. package/dist/cli/{chunk-AARWVK4C.mjs → chunk-2BQUML3X.mjs} +792 -69
  26. package/dist/cli/{chunk-7SRVIWGT.js → chunk-2F5ULM2F.js} +1 -1
  27. package/dist/cli/{chunk-HP5FD2LI.js → chunk-2U3AMRHF.js} +8 -8
  28. package/dist/cli/{chunk-ERFN2QY4.mjs → chunk-3DNKFH2G.mjs} +1 -1
  29. package/dist/cli/{chunk-5F6W5NWV.mjs → chunk-44US3EL2.mjs} +5 -5
  30. package/dist/cli/{chunk-6UKY4LBW.js → chunk-4WT5RISA.js} +20 -20
  31. package/dist/cli/{chunk-QJV2ALPN.js → chunk-5DGR3TB6.js} +2 -2
  32. package/dist/cli/{chunk-UCI4QROZ.mjs → chunk-6FFORGD2.mjs} +2 -2
  33. package/dist/cli/{chunk-ZSVWCV3G.mjs → chunk-ARTGL3FM.mjs} +1 -1
  34. package/dist/cli/{chunk-FB5H5OOH.js → chunk-AVOBDFQ5.js} +11 -11
  35. package/dist/cli/{chunk-2WOVAVJ3.js → chunk-DRK6FYJU.js} +26 -26
  36. package/dist/cli/{chunk-63ILLN5H.mjs → chunk-DS7Y7X26.mjs} +2 -2
  37. package/dist/cli/{chunk-CTNA5QY2.mjs → chunk-EER67G2B.mjs} +43 -28
  38. package/dist/cli/{chunk-GIJ47TAV.js → chunk-EWWWOKX2.js} +6 -6
  39. package/dist/cli/{chunk-5E55HHW3.mjs → chunk-FJRFSBWO.mjs} +4 -4
  40. package/dist/cli/{chunk-27GJKC5Q.js → chunk-GXOQRZXG.js} +2 -2
  41. package/dist/cli/{chunk-RURYN2BE.mjs → chunk-H662SHPT.mjs} +28 -27
  42. package/dist/cli/{chunk-PKBPSMOT.js → chunk-INFLI36H.js} +43 -28
  43. package/dist/cli/{chunk-RJLFCJ23.mjs → chunk-IW5QK3K6.mjs} +3 -3
  44. package/dist/cli/{chunk-SPLOMS4N.mjs → chunk-JDAXVQV7.mjs} +1 -1
  45. package/dist/cli/{chunk-4PG4ARL2.mjs → chunk-KPKU53YO.mjs} +1 -1
  46. package/dist/cli/{chunk-IMZ56EOH.mjs → chunk-LXTSVUZN.mjs} +2 -2
  47. package/dist/cli/{chunk-F4V4JJED.mjs → chunk-MHG3NND4.mjs} +3 -3
  48. package/dist/cli/{chunk-IHG7UAHD.mjs → chunk-MLJBCS3E.mjs} +32 -13
  49. package/dist/cli/{chunk-5KYK4DGY.js → chunk-MMI2DXCW.js} +8 -8
  50. package/dist/cli/{chunk-VEYAPBS4.js → chunk-NA6SGG7X.js} +260 -259
  51. package/dist/cli/{chunk-AZGJNNNE.mjs → chunk-NFIZ5YED.mjs} +2 -2
  52. package/dist/cli/{chunk-WR4M5VWK.js → chunk-OMWO2JLC.js} +52 -52
  53. package/dist/cli/{chunk-EKQH4IUU.mjs → chunk-OPI7UCQG.mjs} +1 -1
  54. package/dist/cli/{chunk-2XKDLS5P.js → chunk-OZLMMMZH.js} +6 -6
  55. package/dist/cli/{chunk-ZLPT2RZ5.mjs → chunk-PH4BP6KM.mjs} +2 -2
  56. package/dist/cli/{chunk-NSJRLP7R.js → chunk-PQ4G6MKI.js} +16 -16
  57. package/dist/cli/{chunk-4NS4EZHN.mjs → chunk-QN6DG4JO.mjs} +2 -2
  58. package/dist/cli/{chunk-VC3E5HFO.mjs → chunk-QWJJMQNE.mjs} +1 -1
  59. package/dist/cli/{chunk-GEJDBXXM.js → chunk-QWRHGGUH.js} +1 -1
  60. package/dist/cli/{chunk-AD47BXN2.js → chunk-R2QWSSAG.js} +8 -8
  61. package/dist/cli/{chunk-JJQLBZEW.js → chunk-RAL75ND3.js} +2 -2
  62. package/dist/cli/{chunk-QADCFSGH.js → chunk-RDIN3NKA.js} +17 -17
  63. package/dist/cli/{chunk-7TSF7E3B.mjs → chunk-S6KG7JCR.mjs} +2 -2
  64. package/dist/cli/{chunk-BQR6UN3C.js → chunk-VUYUI35Q.js} +32 -13
  65. package/dist/cli/{chunk-C25ZYL6U.js → chunk-W42SSVM7.js} +4 -4
  66. package/dist/cli/{chunk-ZZBXD5VX.js → chunk-WJO7KIFT.js} +50 -50
  67. package/dist/cli/{chunk-VYLZS7X4.mjs → chunk-XSERB7H2.mjs} +1 -1
  68. package/dist/cli/{chunk-4I26IVFC.js → chunk-YCHR57TD.js} +35 -35
  69. package/dist/cli/{chunk-OQQOXSYA.js → chunk-YHRS6XTB.js} +845 -122
  70. package/dist/cli/{chunk-ZOL3CIKN.mjs → chunk-YNT7PJND.mjs} +3 -3
  71. package/dist/cli/command-docs.js +2 -2
  72. package/dist/cli/command-docs.mjs +1 -1
  73. package/dist/cli/{csv-EJ4QRLA2.mjs → csv-5KW7M6ZS.mjs} +3 -3
  74. package/dist/cli/{csv-G6H3U4XV.js → csv-GF7VRES5.js} +12 -12
  75. package/dist/cli/{db-WKQFXUWI.js → db-AEDXKB4F.js} +26 -26
  76. package/dist/cli/{db-PBIIALJ5.mjs → db-NN4JQAC4.mjs} +5 -5
  77. package/dist/cli/{describe-ZCU36ES2.js → describe-5RLXW332.js} +24 -24
  78. package/dist/cli/{describe-DMRK4UNO.mjs → describe-RX6VROHQ.mjs} +16 -16
  79. package/dist/cli/describe-core.d.mts +2 -2
  80. package/dist/cli/describe-core.d.ts +2 -2
  81. package/dist/cli/describe-core.js +4 -4
  82. package/dist/cli/describe-core.mjs +3 -3
  83. package/dist/cli/{executions-JAHW6GMA.mjs → executions-EJZ34VUB.mjs} +4 -4
  84. package/dist/cli/{executions-SBA3UYMH.js → executions-PGIGFDDS.js} +6 -6
  85. package/dist/cli/{feedback-PKBUYHMD.mjs → feedback-6MWOKE7H.mjs} +3 -3
  86. package/dist/cli/{feedback-QAE4V2NY.js → feedback-L2ODMANV.js} +7 -7
  87. package/dist/cli/git-2ZDCRTBD.js +24 -0
  88. package/dist/cli/{git-GAO3SJAQ.mjs → git-456RF3AT.mjs} +4 -4
  89. package/dist/cli/index.js +135 -135
  90. package/dist/cli/index.mjs +37 -37
  91. package/dist/cli/{legacy-noops-JCMVW5BL.js → legacy-noops-MDPB3MIS.js} +7 -7
  92. package/dist/cli/{legacy-noops-5PY2ZZF3.mjs → legacy-noops-ZPRBXQDE.mjs} +4 -4
  93. package/dist/cli/{monitors-YPS4LPDG.js → monitors-TXKR5XYW.js} +86 -86
  94. package/dist/cli/{monitors-GVYAZRMB.mjs → monitors-ZLP6A7FT.mjs} +6 -6
  95. package/dist/cli/{org-OBVAU6K7.js → org-73SQ3AT2.js} +64 -64
  96. package/dist/cli/{org-R7AKPKUB.mjs → org-YZ62BIGM.mjs} +4 -4
  97. package/dist/cli/{play-MTHQQHR6.js → play-M75EBXEV.js} +606 -567
  98. package/dist/cli/{play-3LFM2SV2.mjs → play-VCYQKCKF.mjs} +113 -74
  99. package/dist/cli/{providers-CTIROUI3.js → providers-GIINJPWQ.js} +7 -7
  100. package/dist/cli/{providers-IRICPDKU.mjs → providers-JLA6LST3.mjs} +4 -4
  101. package/dist/cli/{quickstart-5FBQVZ5B.mjs → quickstart-AHCU75GG.mjs} +3 -3
  102. package/dist/cli/{quickstart-OZDVFNF2.js → quickstart-HHHLYCHT.js} +5 -5
  103. package/dist/cli/{search-FYM47QFU.mjs → search-5GACUIAX.mjs} +5 -5
  104. package/dist/cli/search-W2PGBXQO.js +30 -0
  105. package/dist/cli/{secrets-43GJUDAE.js → secrets-PI7IPCOE.js} +13 -13
  106. package/dist/cli/{secrets-ENBXU3O3.mjs → secrets-S2NBKAEN.mjs} +4 -4
  107. package/dist/cli/{sessions-RXX5IHG6.js → sessions-BK4CSRFS.js} +5 -5
  108. package/dist/cli/{sessions-7IQJOH5Z.mjs → sessions-IBKYGTBD.mjs} +4 -4
  109. package/dist/cli/{settings-Z2CWWV7P.js → settings-2G7TUDM7.js} +75 -75
  110. package/dist/cli/{settings-EZGDTS3K.mjs → settings-JY6UN4KO.mjs} +8 -8
  111. package/dist/cli/{setup-N5UMUBBV.mjs → setup-HS5X3OSN.mjs} +7 -7
  112. package/dist/cli/{setup-2ON3TUXP.js → setup-R424FIBF.js} +42 -42
  113. package/dist/cli/skills-M3RZAN4A.js +29 -0
  114. package/dist/cli/{skills-4MR2Z2M5.mjs → skills-UIBUDTGN.mjs} +5 -5
  115. package/dist/cli/tools-K2GII2PA.js +44 -0
  116. package/dist/cli/{tools-MCEIWE3I.mjs → tools-SB4FREB6.mjs} +15 -15
  117. package/dist/cli/update-C2ORJRXN.js +31 -0
  118. package/dist/cli/{update-2JDBGLTX.mjs → update-NJSUE2YU.mjs} +7 -7
  119. package/dist/cli/{workflow-7DNBY4WJ.js → workflow-3AZWZ4J3.js} +19 -19
  120. package/dist/cli/{workflow-7UDXYU5Y.mjs → workflow-HBG76XYX.mjs} +9 -9
  121. package/dist/{client-CCWIUnk7.d.mts → client-BTUOYGID.d.mts} +10 -9
  122. package/dist/{client-vHqBm-OL.d.ts → client-C668iUhZ.d.ts} +10 -9
  123. package/dist/{compiler-manifest-lzWpbV3w.d.ts → compiler-manifest-DaFuA1ki.d.mts} +35 -32
  124. package/dist/{compiler-manifest-lzWpbV3w.d.mts → compiler-manifest-DaFuA1ki.d.ts} +35 -32
  125. package/dist/{index-CtNK-0nI.d.mts → index-0yS9ihly.d.mts} +10 -3
  126. package/dist/{index-C8Cy-YTm.d.ts → index-CRAScKPg.d.ts} +10 -3
  127. package/dist/index.d.mts +120 -150
  128. package/dist/index.d.ts +120 -150
  129. package/dist/index.js +77 -12
  130. package/dist/index.mjs +74 -9
  131. package/dist/install-integrity.json +99 -98
  132. package/dist/plays/bundle-play-file.d.mts +3 -3
  133. package/dist/plays/bundle-play-file.d.ts +3 -3
  134. package/dist/plays/bundle-play-file.mjs +1 -1
  135. package/dist/plays/play-description.d.mts +2 -2
  136. package/dist/plays/play-description.d.ts +2 -2
  137. package/dist/plays/run-request.d.mts +2 -2
  138. package/dist/plays/run-request.d.ts +2 -2
  139. package/dist/release.d.mts +1 -1
  140. package/dist/release.d.ts +1 -1
  141. package/dist/release.js +2 -2
  142. package/dist/release.mjs +1 -1
  143. package/package.json +1 -1
  144. package/dist/cli/auth-ZQMAF7W5.js +0 -40
  145. package/dist/cli/git-54INNT33.js +0 -24
  146. package/dist/cli/search-XIKHDZJ3.js +0 -30
  147. package/dist/cli/skills-2WIHNEOS.js +0 -29
  148. package/dist/cli/tools-YUUSOKYX.js +0 -44
  149. package/dist/cli/update-PWX4MJ3R.js +0 -31
package/dist/index.js CHANGED
@@ -8,7 +8,7 @@ var _chunkHGFFYVXNjs = require('./cli/chunk-HGFFYVXN.js');
8
8
 
9
9
 
10
10
 
11
- var _chunkGEJDBXXMjs = require('./cli/chunk-GEJDBXXM.js');
11
+ var _chunkQWRHGGUHjs = require('./cli/chunk-QWRHGGUH.js');
12
12
 
13
13
 
14
14
 
@@ -30,7 +30,7 @@ var _chunkVKKVSFRDjs = require('./cli/chunk-VKKVSFRD.js');
30
30
 
31
31
 
32
32
 
33
- var _chunkFB5H5OOHjs = require('./cli/chunk-FB5H5OOH.js');
33
+ var _chunkAVOBDFQ5js = require('./cli/chunk-AVOBDFQ5.js');
34
34
 
35
35
 
36
36
  var _chunkE4CABWXLjs = require('./cli/chunk-E4CABWXL.js');
@@ -64,7 +64,7 @@ var _chunkIF75RD6Ujs = require('./cli/chunk-IF75RD6U.js');
64
64
 
65
65
 
66
66
 
67
- var _chunkC25ZYL6Ujs = require('./cli/chunk-C25ZYL6U.js');
67
+ var _chunkW42SSVM7js = require('./cli/chunk-W42SSVM7.js');
68
68
 
69
69
 
70
70
 
@@ -81,10 +81,13 @@ require('./cli/chunk-XNYIZMNQ.js');
81
81
 
82
82
 
83
83
  var _chunkPPDBRJRWjs = require('./cli/chunk-PPDBRJRW.js');
84
- require('./cli/chunk-7SRVIWGT.js');
84
+ require('./cli/chunk-2F5ULM2F.js');
85
85
  require('./cli/chunk-OG64RBAC.js');
86
86
  require('./cli/chunk-COGTRVWW.js');
87
87
 
88
+ // src/play.ts
89
+ var _async_hooks = require('async_hooks');
90
+
88
91
  // ../plays/dataset.ts
89
92
  var PLAY_DATASET_BRAND = Symbol.for("deepline.play.dataset");
90
93
  var NODE_INSPECT_CUSTOM = Symbol.for("nodejs.util.inspect.custom");
@@ -1558,6 +1561,65 @@ function createPlayInputContract(schema) {
1558
1561
  }
1559
1562
 
1560
1563
  // src/play.ts
1564
+ var scriptRuns = new (0, _async_hooks.AsyncLocalStorage)();
1565
+ var latestScriptRun = null;
1566
+ var scriptCalls = {
1567
+ // Read statically before the run; nothing to do while it executes.
1568
+ config: () => () => void 0,
1569
+ input: (run) => () => run.input,
1570
+ // Returns the value so an `$output` diagram node observes the result.
1571
+ output: (run) => (result) => run.result = playResult(result, "deepline.output(...)")
1572
+ };
1573
+ async function runScriptPlay(context, input, body) {
1574
+ const run = { context, input, result: null };
1575
+ if (!scriptRuns.getStore()) latestScriptRun = run;
1576
+ const returned = await scriptRuns.run(run, body);
1577
+ if (returned !== void 0)
1578
+ return playResult(returned, "A play's return value");
1579
+ return _nullishCoalesce(run.result, () => ( {}));
1580
+ }
1581
+ function playResult(value, source) {
1582
+ const prototype = value !== null && typeof value === "object" ? Object.getPrototypeOf(value) : void 0;
1583
+ if (prototype !== Object.prototype && prototype !== null) {
1584
+ throw new Error(
1585
+ `${source} must be a plain object, such as { company }; got ${Array.isArray(value) ? "an array" : value === null ? "null" : typeof value}.`
1586
+ );
1587
+ }
1588
+ return value;
1589
+ }
1590
+ var deepline = new Proxy({}, {
1591
+ get(_target, property) {
1592
+ if (typeof property !== "string" || property === "then") return void 0;
1593
+ if (property === "config") return scriptCalls.config();
1594
+ const run = scriptRuns.getStore();
1595
+ if (!run) {
1596
+ if (!latestScriptRun) {
1597
+ throw new Error(
1598
+ `deepline.${property} is only available while a play runs. Run the file with: deepline plays run <file>.play.ts`
1599
+ );
1600
+ }
1601
+ if (Object.hasOwn(scriptCalls, property)) {
1602
+ throw new Error(
1603
+ `deepline.${property}() belongs in the play's own code, not in a callback the runtime calls later.`
1604
+ );
1605
+ }
1606
+ return contextMember(latestScriptRun.context, property);
1607
+ }
1608
+ if (run.result !== null) {
1609
+ throw new Error(
1610
+ `deepline.${property} was called after deepline.output(...). Return the play's result from its function instead: return { ... }.`
1611
+ );
1612
+ }
1613
+ if (Object.hasOwn(scriptCalls, property)) {
1614
+ return scriptCalls[property](run);
1615
+ }
1616
+ return contextMember(run.context, property);
1617
+ }
1618
+ });
1619
+ function contextMember(context, property) {
1620
+ const value = Reflect.get(context, property);
1621
+ return typeof value === "function" ? value.bind(context) : value;
1622
+ }
1561
1623
  var DeeplineConditionalStepResolver = (_class2 = class _DeeplineConditionalStepResolver {
1562
1624
  constructor(when, run, elseValue) {;_class2.prototype.__init2.call(this);
1563
1625
  this.when = when;
@@ -1717,7 +1779,7 @@ var DeeplineContext = class {
1717
1779
  * @param options - Optional SDK client configuration.
1718
1780
  */
1719
1781
  constructor(options) {
1720
- this.client = new (0, _chunkFB5H5OOHjs.DeeplineClient)(options);
1782
+ this.client = new (0, _chunkAVOBDFQ5js.DeeplineClient)(options);
1721
1783
  }
1722
1784
  /**
1723
1785
  * Tool operations namespace.
@@ -1760,7 +1822,7 @@ var DeeplineContext = class {
1760
1822
  * Play discovery and named-play handles.
1761
1823
  *
1762
1824
  * Use `plays.list()` for discovery and `plays.get(name)` when you prefer a
1763
- * namespace spelling over `ctx.play(name)`.
1825
+ * namespace spelling over `play(name)`.
1764
1826
  */
1765
1827
  get plays() {
1766
1828
  return {
@@ -1773,7 +1835,7 @@ var DeeplineContext = class {
1773
1835
  *
1774
1836
  * Known prebuilts are exposed by camel-cased aliases. Any other property is
1775
1837
  * converted into `prebuilt/<property>` so callers can pass the reference to
1776
- * `ctx.runPlay(...)`.
1838
+ * `deepline.runPlay(...)` inside a play.
1777
1839
  */
1778
1840
  get prebuilt() {
1779
1841
  const explicit = {
@@ -1821,7 +1883,7 @@ var DeeplineContext = class {
1821
1883
  *
1822
1884
  * @example
1823
1885
  * ```typescript
1824
- * const play = ctx.play<{ domain: string }>('email-waterfall');
1886
+ * const play = client.play<{ domain: string }>('email-waterfall');
1825
1887
  * const job = await play.run({ domain: 'stripe.com' });
1826
1888
  * const result = await job.get();
1827
1889
  * ```
@@ -1832,8 +1894,8 @@ var DeeplineContext = class {
1832
1894
  /**
1833
1895
  * Run a named or prebuilt play and wait for its output.
1834
1896
  *
1835
- * This is the high-level SDK equivalent of `ctx.play(name).runSync(input)`.
1836
- * Inside a Play, prefer `ctx.runPlay(key, playRef, input, options)`.
1897
+ * This is the high-level SDK equivalent of `client.play(name).runSync(input)`.
1898
+ * Inside a play, use `deepline.runPlay(key, playRef, input, options)`.
1837
1899
  * The runtime checkpoints the child run under a stable key.
1838
1900
  *
1839
1901
  * @param playOrRef - Play name or prebuilt/reference object.
@@ -2213,7 +2275,7 @@ function definePlay(nameOrConfig, maybeFn, maybeBindings) {
2213
2275
  writable: false
2214
2276
  });
2215
2277
  const handle = createNamedPlayHandle(
2216
- () => _chunkFB5H5OOHjs.createPlayClient.call(void 0, ),
2278
+ () => _chunkAVOBDFQ5js.createPlayClient.call(void 0, ),
2217
2279
  name
2218
2280
  );
2219
2281
  for (const key of [
@@ -2374,4 +2436,7 @@ var DEEPLINE_TOOL_CATEGORIES = [
2374
2436
 
2375
2437
 
2376
2438
 
2377
- exports.AuthError = _chunkNPBJI7REjs.AuthError; exports.ConfigError = _chunkNPBJI7REjs.ConfigError; exports.CtxFetchAmbiguousWriteError = _chunkVKKVSFRDjs.CtxFetchAmbiguousWriteError; exports.CtxFetchHttpError = _chunkVKKVSFRDjs.CtxFetchHttpError; exports.CustomerDbQueryOutcomeUnknownError = _chunkNPBJI7REjs.CustomerDbQueryOutcomeUnknownError; exports.DEEPLINE_EXTRACTOR_TARGETS = _chunkNA4T3B62js.DEEPLINE_EXTRACTOR_TARGETS; exports.DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS = _chunkNA4T3B62js.DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS; exports.DEEPLINE_TOOL_CATEGORIES = DEEPLINE_TOOL_CATEGORIES; exports.Deepline = Deepline; exports.DeeplineClient = _chunkFB5H5OOHjs.DeeplineClient; exports.DeeplineContext = DeeplineContext; exports.DeeplineError = _chunkPPDBRJRWjs.DeeplineError; exports.JOB_CHANGE_STATUS_VALUES = _chunkNA4T3B62js.JOB_CHANGE_STATUS_VALUES; exports.MONITOR_FLEET_AUTHORING_CONTRACT_CHANGELOG = _chunkC374C22Yjs.MONITOR_FLEET_AUTHORING_CONTRACT_CHANGELOG; exports.MONITOR_FLEET_AUTHORING_CONTRACT_EDITION = _chunkC374C22Yjs.MONITOR_FLEET_AUTHORING_CONTRACT_EDITION; exports.MONITOR_FLEET_DOCUMENTATION = _chunkC374C22Yjs.MONITOR_FLEET_DOCUMENTATION; exports.MONITOR_FLEET_FRONTIER_MAX_ROWS = _chunkC374C22Yjs.MONITOR_FLEET_FRONTIER_MAX_ROWS; exports.MONITOR_FLEET_MAX_MEMBERS = _chunkC374C22Yjs.MONITOR_FLEET_MAX_MEMBERS; exports.MONITOR_JOB_PHASES = _chunkFB5H5OOHjs.MONITOR_JOB_PHASES; exports.MONITOR_JOB_RECONCILIATION_STATES = _chunkFB5H5OOHjs.MONITOR_JOB_RECONCILIATION_STATES; exports.MONITOR_JOB_STATES = _chunkFB5H5OOHjs.MONITOR_JOB_STATES; exports.PHONE_STATUS_VALUES = _chunkNA4T3B62js.PHONE_STATUS_VALUES; exports.PROD_URL = _chunkC25ZYL6Ujs.PROD_URL; exports.ProviderTransientError = _chunkPPDBRJRWjs.ProviderTransientError; exports.RateLimitError = _chunkNPBJI7REjs.RateLimitError; exports.RunEventQueryInputError = _chunkFB5H5OOHjs.RunEventQueryInputError; exports.RunObserveTransportUnavailableError = RunObserveTransportUnavailableError; exports.SDK_API_CONTRACT = _chunkC25ZYL6Ujs.SDK_API_CONTRACT; exports.SDK_VERSION = _chunkC25ZYL6Ujs.SDK_VERSION; exports.ToolExecutionError = _chunkPPDBRJRWjs.ToolExecutionError; exports.ToolRateLimitError = _chunkNPBJI7REjs.ToolRateLimitError; exports.admitMonitorFleetAuthoringContract = _chunkC374C22Yjs.admitMonitorFleetAuthoringContract; exports.defineInput = defineInput; exports.defineMonitor = defineMonitor; exports.defineMonitorFleet = _chunkC374C22Yjs.defineMonitorFleet; exports.definePlay = definePlay; exports.defineWorkflow = defineWorkflow; exports.extractSummaryFields = _chunkHGFFYVXNjs.extractSummaryFields; exports.fleetColumn = _chunkC374C22Yjs.fleetColumn; exports.fleetKey = _chunkC374C22Yjs.fleetKey; exports.getDefinedPlayMetadata = getDefinedPlayMetadata; exports.getProviderUnavailableReason = _chunkPPDBRJRWjs.getProviderUnavailableReason; exports.isDeeplineExtractorTarget = _chunkNA4T3B62js.isDeeplineExtractorTarget; exports.isProviderUnavailable = _chunkPPDBRJRWjs.isProviderUnavailable; exports.isProviderWaterfallUnavailableError = _chunkPPDBRJRWjs.isProviderWaterfallUnavailableError; exports.isStopAllPlayRunsDryRunResult = _chunkFB5H5OOHjs.isStopAllPlayRunsDryRunResult; exports.lintMonitorBatchInput = _chunkIF75RD6Ujs.lintMonitorBatchInput; exports.lintMonitorFleetInput = _chunkC374C22Yjs.lintMonitorFleetInput; exports.lintMonitorSpecTemplate = _chunkIF75RD6Ujs.lintMonitorSpecTemplate; exports.pinLocalPlayImports = _chunkGEJDBXXMjs.pinLocalPlayImports; exports.planCustomerDbQuery = _chunkFB5H5OOHjs.planCustomerDbQuery; exports.planLocalPlayExecution = _chunkGEJDBXXMjs.planLocalPlayExecution; exports.readList = readList; exports.renderMonitorSpecTemplate = _chunkIF75RD6Ujs.renderMonitorSpecTemplate; exports.resolveConfig = _chunkC25ZYL6Ujs.resolveConfig; exports.runIf = runIf; exports.steps = steps; exports.tryConvertToList = _chunkHGFFYVXNjs.tryConvertToList; exports.validateMonitorFleetDefinition = _chunkC374C22Yjs.validateMonitorFleetDefinition; exports.writeCsvOutputFile = _chunkHGFFYVXNjs.writeCsvOutputFile; exports.writeJsonOutputFile = _chunkHGFFYVXNjs.writeJsonOutputFile;
2439
+
2440
+
2441
+
2442
+ exports.AuthError = _chunkNPBJI7REjs.AuthError; exports.ConfigError = _chunkNPBJI7REjs.ConfigError; exports.CtxFetchAmbiguousWriteError = _chunkVKKVSFRDjs.CtxFetchAmbiguousWriteError; exports.CtxFetchHttpError = _chunkVKKVSFRDjs.CtxFetchHttpError; exports.CustomerDbQueryOutcomeUnknownError = _chunkNPBJI7REjs.CustomerDbQueryOutcomeUnknownError; exports.DEEPLINE_EXTRACTOR_TARGETS = _chunkNA4T3B62js.DEEPLINE_EXTRACTOR_TARGETS; exports.DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS = _chunkNA4T3B62js.DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS; exports.DEEPLINE_TOOL_CATEGORIES = DEEPLINE_TOOL_CATEGORIES; exports.Deepline = Deepline; exports.DeeplineClient = _chunkAVOBDFQ5js.DeeplineClient; exports.DeeplineContext = DeeplineContext; exports.DeeplineError = _chunkPPDBRJRWjs.DeeplineError; exports.JOB_CHANGE_STATUS_VALUES = _chunkNA4T3B62js.JOB_CHANGE_STATUS_VALUES; exports.MONITOR_FLEET_AUTHORING_CONTRACT_CHANGELOG = _chunkC374C22Yjs.MONITOR_FLEET_AUTHORING_CONTRACT_CHANGELOG; exports.MONITOR_FLEET_AUTHORING_CONTRACT_EDITION = _chunkC374C22Yjs.MONITOR_FLEET_AUTHORING_CONTRACT_EDITION; exports.MONITOR_FLEET_DOCUMENTATION = _chunkC374C22Yjs.MONITOR_FLEET_DOCUMENTATION; exports.MONITOR_FLEET_FRONTIER_MAX_ROWS = _chunkC374C22Yjs.MONITOR_FLEET_FRONTIER_MAX_ROWS; exports.MONITOR_FLEET_MAX_MEMBERS = _chunkC374C22Yjs.MONITOR_FLEET_MAX_MEMBERS; exports.MONITOR_JOB_PHASES = _chunkAVOBDFQ5js.MONITOR_JOB_PHASES; exports.MONITOR_JOB_RECONCILIATION_STATES = _chunkAVOBDFQ5js.MONITOR_JOB_RECONCILIATION_STATES; exports.MONITOR_JOB_STATES = _chunkAVOBDFQ5js.MONITOR_JOB_STATES; exports.PHONE_STATUS_VALUES = _chunkNA4T3B62js.PHONE_STATUS_VALUES; exports.PROD_URL = _chunkW42SSVM7js.PROD_URL; exports.ProviderTransientError = _chunkPPDBRJRWjs.ProviderTransientError; exports.RateLimitError = _chunkNPBJI7REjs.RateLimitError; exports.RunEventQueryInputError = _chunkAVOBDFQ5js.RunEventQueryInputError; exports.RunObserveTransportUnavailableError = RunObserveTransportUnavailableError; exports.SDK_API_CONTRACT = _chunkW42SSVM7js.SDK_API_CONTRACT; exports.SDK_VERSION = _chunkW42SSVM7js.SDK_VERSION; exports.ToolExecutionError = _chunkPPDBRJRWjs.ToolExecutionError; exports.ToolRateLimitError = _chunkNPBJI7REjs.ToolRateLimitError; exports.admitMonitorFleetAuthoringContract = _chunkC374C22Yjs.admitMonitorFleetAuthoringContract; exports.deepline = deepline; exports.default = deepline; exports.defineInput = defineInput; exports.defineMonitor = defineMonitor; exports.defineMonitorFleet = _chunkC374C22Yjs.defineMonitorFleet; exports.definePlay = definePlay; exports.defineWorkflow = defineWorkflow; exports.extractSummaryFields = _chunkHGFFYVXNjs.extractSummaryFields; exports.fleetColumn = _chunkC374C22Yjs.fleetColumn; exports.fleetKey = _chunkC374C22Yjs.fleetKey; exports.getDefinedPlayMetadata = getDefinedPlayMetadata; exports.getProviderUnavailableReason = _chunkPPDBRJRWjs.getProviderUnavailableReason; exports.isDeeplineExtractorTarget = _chunkNA4T3B62js.isDeeplineExtractorTarget; exports.isProviderUnavailable = _chunkPPDBRJRWjs.isProviderUnavailable; exports.isProviderWaterfallUnavailableError = _chunkPPDBRJRWjs.isProviderWaterfallUnavailableError; exports.isStopAllPlayRunsDryRunResult = _chunkAVOBDFQ5js.isStopAllPlayRunsDryRunResult; exports.lintMonitorBatchInput = _chunkIF75RD6Ujs.lintMonitorBatchInput; exports.lintMonitorFleetInput = _chunkC374C22Yjs.lintMonitorFleetInput; exports.lintMonitorSpecTemplate = _chunkIF75RD6Ujs.lintMonitorSpecTemplate; exports.pinLocalPlayImports = _chunkQWRHGGUHjs.pinLocalPlayImports; exports.planCustomerDbQuery = _chunkAVOBDFQ5js.planCustomerDbQuery; exports.planLocalPlayExecution = _chunkQWRHGGUHjs.planLocalPlayExecution; exports.readList = readList; exports.renderMonitorSpecTemplate = _chunkIF75RD6Ujs.renderMonitorSpecTemplate; exports.resolveConfig = _chunkW42SSVM7js.resolveConfig; exports.runIf = runIf; exports.runScriptPlay = runScriptPlay; exports.steps = steps; exports.tryConvertToList = _chunkHGFFYVXNjs.tryConvertToList; exports.validateMonitorFleetDefinition = _chunkC374C22Yjs.validateMonitorFleetDefinition; exports.writeCsvOutputFile = _chunkHGFFYVXNjs.writeCsvOutputFile; exports.writeJsonOutputFile = _chunkHGFFYVXNjs.writeJsonOutputFile;
package/dist/index.mjs CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  pinLocalPlayImports,
10
10
  planLocalPlayExecution
11
- } from "./cli/chunk-ERFN2QY4.mjs";
11
+ } from "./cli/chunk-3DNKFH2G.mjs";
12
12
  import {
13
13
  DEEPLINE_EXTRACTOR_TARGETS,
14
14
  DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS,
@@ -30,7 +30,7 @@ import {
30
30
  createPlayClient,
31
31
  isStopAllPlayRunsDryRunResult,
32
32
  planCustomerDbQuery
33
- } from "./cli/chunk-UCI4QROZ.mjs";
33
+ } from "./cli/chunk-6FFORGD2.mjs";
34
34
  import {
35
35
  legacyRawFromToolResponseRawV2
36
36
  } from "./cli/chunk-L2VKAASU.mjs";
@@ -64,7 +64,7 @@ import {
64
64
  SDK_API_CONTRACT,
65
65
  SDK_VERSION,
66
66
  resolveConfig
67
- } from "./cli/chunk-VYLZS7X4.mjs";
67
+ } from "./cli/chunk-XSERB7H2.mjs";
68
68
  import {
69
69
  AuthError,
70
70
  ConfigError,
@@ -81,10 +81,13 @@ import {
81
81
  isProviderUnavailable,
82
82
  isProviderWaterfallUnavailableError
83
83
  } from "./cli/chunk-E4IXDAZI.mjs";
84
- import "./cli/chunk-SPLOMS4N.mjs";
84
+ import "./cli/chunk-JDAXVQV7.mjs";
85
85
  import "./cli/chunk-WZYKRD7T.mjs";
86
86
  import "./cli/chunk-KRD6H754.mjs";
87
87
 
88
+ // src/play.ts
89
+ import { AsyncLocalStorage } from "async_hooks";
90
+
88
91
  // ../plays/dataset.ts
89
92
  var PLAY_DATASET_BRAND = Symbol.for("deepline.play.dataset");
90
93
  var NODE_INSPECT_CUSTOM = Symbol.for("nodejs.util.inspect.custom");
@@ -1558,6 +1561,65 @@ function createPlayInputContract(schema) {
1558
1561
  }
1559
1562
 
1560
1563
  // src/play.ts
1564
+ var scriptRuns = new AsyncLocalStorage();
1565
+ var latestScriptRun = null;
1566
+ var scriptCalls = {
1567
+ // Read statically before the run; nothing to do while it executes.
1568
+ config: () => () => void 0,
1569
+ input: (run) => () => run.input,
1570
+ // Returns the value so an `$output` diagram node observes the result.
1571
+ output: (run) => (result) => run.result = playResult(result, "deepline.output(...)")
1572
+ };
1573
+ async function runScriptPlay(context, input, body) {
1574
+ const run = { context, input, result: null };
1575
+ if (!scriptRuns.getStore()) latestScriptRun = run;
1576
+ const returned = await scriptRuns.run(run, body);
1577
+ if (returned !== void 0)
1578
+ return playResult(returned, "A play's return value");
1579
+ return run.result ?? {};
1580
+ }
1581
+ function playResult(value, source) {
1582
+ const prototype = value !== null && typeof value === "object" ? Object.getPrototypeOf(value) : void 0;
1583
+ if (prototype !== Object.prototype && prototype !== null) {
1584
+ throw new Error(
1585
+ `${source} must be a plain object, such as { company }; got ${Array.isArray(value) ? "an array" : value === null ? "null" : typeof value}.`
1586
+ );
1587
+ }
1588
+ return value;
1589
+ }
1590
+ var deepline = new Proxy({}, {
1591
+ get(_target, property) {
1592
+ if (typeof property !== "string" || property === "then") return void 0;
1593
+ if (property === "config") return scriptCalls.config();
1594
+ const run = scriptRuns.getStore();
1595
+ if (!run) {
1596
+ if (!latestScriptRun) {
1597
+ throw new Error(
1598
+ `deepline.${property} is only available while a play runs. Run the file with: deepline plays run <file>.play.ts`
1599
+ );
1600
+ }
1601
+ if (Object.hasOwn(scriptCalls, property)) {
1602
+ throw new Error(
1603
+ `deepline.${property}() belongs in the play's own code, not in a callback the runtime calls later.`
1604
+ );
1605
+ }
1606
+ return contextMember(latestScriptRun.context, property);
1607
+ }
1608
+ if (run.result !== null) {
1609
+ throw new Error(
1610
+ `deepline.${property} was called after deepline.output(...). Return the play's result from its function instead: return { ... }.`
1611
+ );
1612
+ }
1613
+ if (Object.hasOwn(scriptCalls, property)) {
1614
+ return scriptCalls[property](run);
1615
+ }
1616
+ return contextMember(run.context, property);
1617
+ }
1618
+ });
1619
+ function contextMember(context, property) {
1620
+ const value = Reflect.get(context, property);
1621
+ return typeof value === "function" ? value.bind(context) : value;
1622
+ }
1561
1623
  var DeeplineConditionalStepResolver = class _DeeplineConditionalStepResolver {
1562
1624
  constructor(when, run, elseValue) {
1563
1625
  this.when = when;
@@ -1760,7 +1822,7 @@ var DeeplineContext = class {
1760
1822
  * Play discovery and named-play handles.
1761
1823
  *
1762
1824
  * Use `plays.list()` for discovery and `plays.get(name)` when you prefer a
1763
- * namespace spelling over `ctx.play(name)`.
1825
+ * namespace spelling over `play(name)`.
1764
1826
  */
1765
1827
  get plays() {
1766
1828
  return {
@@ -1773,7 +1835,7 @@ var DeeplineContext = class {
1773
1835
  *
1774
1836
  * Known prebuilts are exposed by camel-cased aliases. Any other property is
1775
1837
  * converted into `prebuilt/<property>` so callers can pass the reference to
1776
- * `ctx.runPlay(...)`.
1838
+ * `deepline.runPlay(...)` inside a play.
1777
1839
  */
1778
1840
  get prebuilt() {
1779
1841
  const explicit = {
@@ -1821,7 +1883,7 @@ var DeeplineContext = class {
1821
1883
  *
1822
1884
  * @example
1823
1885
  * ```typescript
1824
- * const play = ctx.play<{ domain: string }>('email-waterfall');
1886
+ * const play = client.play<{ domain: string }>('email-waterfall');
1825
1887
  * const job = await play.run({ domain: 'stripe.com' });
1826
1888
  * const result = await job.get();
1827
1889
  * ```
@@ -1832,8 +1894,8 @@ var DeeplineContext = class {
1832
1894
  /**
1833
1895
  * Run a named or prebuilt play and wait for its output.
1834
1896
  *
1835
- * This is the high-level SDK equivalent of `ctx.play(name).runSync(input)`.
1836
- * Inside a Play, prefer `ctx.runPlay(key, playRef, input, options)`.
1897
+ * This is the high-level SDK equivalent of `client.play(name).runSync(input)`.
1898
+ * Inside a play, use `deepline.runPlay(key, playRef, input, options)`.
1837
1899
  * The runtime checkpoints the child run under a stable key.
1838
1900
  *
1839
1901
  * @param playOrRef - Play name or prebuilt/reference object.
@@ -2345,6 +2407,8 @@ export {
2345
2407
  ToolExecutionError,
2346
2408
  ToolRateLimitError,
2347
2409
  admitMonitorFleetAuthoringContract,
2410
+ deepline,
2411
+ deepline as default,
2348
2412
  defineInput,
2349
2413
  defineMonitor,
2350
2414
  defineMonitorFleet,
@@ -2369,6 +2433,7 @@ export {
2369
2433
  renderMonitorSpecTemplate,
2370
2434
  resolveConfig,
2371
2435
  runIf,
2436
+ runScriptPlay,
2372
2437
  steps,
2373
2438
  tryConvertToList,
2374
2439
  validateMonitorFleetDefinition,
@@ -560,6 +560,7 @@
560
560
  "dist/bundling-sources/shared_libs/plays/runtime-constraints.ts",
561
561
  "dist/bundling-sources/shared_libs/plays/runtime-validation.ts",
562
562
  "dist/bundling-sources/shared_libs/plays/sandbox-runtime-limits.ts",
563
+ "dist/bundling-sources/shared_libs/plays/script-entry.ts",
563
564
  "dist/bundling-sources/shared_libs/plays/secret-guardrails.ts",
564
565
  "dist/bundling-sources/shared_libs/plays/secrets/errors.ts",
565
566
  "dist/bundling-sources/shared_libs/plays/settings-contract.ts",
@@ -620,175 +621,175 @@
620
621
  "dist/bundling-sources/shared_libs/security/secret-redaction.ts",
621
622
  "dist/bundling-sources/shared_libs/security/slack-sanitize.ts",
622
623
  "dist/bundling-sources/shared_libs/tool-execution-error.ts",
623
- "dist/cli/auth-56JTC4Q7.mjs",
624
- "dist/cli/auth-ZQMAF7W5.js",
625
- "dist/cli/billing-C5LR6FA7.js",
626
- "dist/cli/billing-ZXOOZEUW.mjs",
627
- "dist/cli/chunk-27GJKC5Q.js",
624
+ "dist/cli/auth-L7Q53QKK.mjs",
625
+ "dist/cli/auth-SUNY477Y.js",
626
+ "dist/cli/billing-IH7AKDR2.mjs",
627
+ "dist/cli/billing-QNP6YGI2.js",
628
+ "dist/cli/chunk-2BQUML3X.mjs",
629
+ "dist/cli/chunk-2F5ULM2F.js",
628
630
  "dist/cli/chunk-2H4EY7KH.js",
629
- "dist/cli/chunk-2WOVAVJ3.js",
630
- "dist/cli/chunk-2XKDLS5P.js",
631
+ "dist/cli/chunk-2U3AMRHF.js",
632
+ "dist/cli/chunk-3DNKFH2G.mjs",
631
633
  "dist/cli/chunk-3KC45UVF.js",
632
634
  "dist/cli/chunk-3XX5TEA4.js",
633
- "dist/cli/chunk-4I26IVFC.js",
635
+ "dist/cli/chunk-44US3EL2.mjs",
634
636
  "dist/cli/chunk-4MBOJQPL.mjs",
635
- "dist/cli/chunk-4NS4EZHN.mjs",
636
- "dist/cli/chunk-4PG4ARL2.mjs",
637
- "dist/cli/chunk-5E55HHW3.mjs",
638
- "dist/cli/chunk-5F6W5NWV.mjs",
639
- "dist/cli/chunk-5KYK4DGY.js",
640
- "dist/cli/chunk-63ILLN5H.mjs",
641
- "dist/cli/chunk-6UKY4LBW.js",
642
- "dist/cli/chunk-7SRVIWGT.js",
643
- "dist/cli/chunk-7TSF7E3B.mjs",
644
- "dist/cli/chunk-AARWVK4C.mjs",
645
- "dist/cli/chunk-AD47BXN2.js",
637
+ "dist/cli/chunk-4WT5RISA.js",
638
+ "dist/cli/chunk-5DGR3TB6.js",
639
+ "dist/cli/chunk-6FFORGD2.mjs",
646
640
  "dist/cli/chunk-AID3OYVJ.js",
647
- "dist/cli/chunk-AZGJNNNE.mjs",
648
- "dist/cli/chunk-BQR6UN3C.js",
649
- "dist/cli/chunk-C25ZYL6U.js",
641
+ "dist/cli/chunk-ARTGL3FM.mjs",
642
+ "dist/cli/chunk-AVOBDFQ5.js",
650
643
  "dist/cli/chunk-C374C22Y.js",
651
644
  "dist/cli/chunk-COGTRVWW.js",
652
- "dist/cli/chunk-CTNA5QY2.mjs",
653
645
  "dist/cli/chunk-DLIRSHV6.mjs",
646
+ "dist/cli/chunk-DRK6FYJU.js",
647
+ "dist/cli/chunk-DS7Y7X26.mjs",
654
648
  "dist/cli/chunk-E4CABWXL.js",
655
649
  "dist/cli/chunk-E4IXDAZI.mjs",
656
650
  "dist/cli/chunk-EBU7LQ64.js",
651
+ "dist/cli/chunk-EER67G2B.mjs",
657
652
  "dist/cli/chunk-EIMG75BT.mjs",
658
- "dist/cli/chunk-EKQH4IUU.mjs",
659
- "dist/cli/chunk-ERFN2QY4.mjs",
653
+ "dist/cli/chunk-EWWWOKX2.js",
660
654
  "dist/cli/chunk-EXMLR72R.mjs",
661
- "dist/cli/chunk-F4V4JJED.mjs",
662
- "dist/cli/chunk-FB5H5OOH.js",
663
655
  "dist/cli/chunk-FIVKWNMT.mjs",
656
+ "dist/cli/chunk-FJRFSBWO.mjs",
664
657
  "dist/cli/chunk-FR2ILQ4G.mjs",
665
- "dist/cli/chunk-GEJDBXXM.js",
666
- "dist/cli/chunk-GIJ47TAV.js",
658
+ "dist/cli/chunk-GXOQRZXG.js",
659
+ "dist/cli/chunk-H662SHPT.mjs",
667
660
  "dist/cli/chunk-H7HIDGZ7.mjs",
668
661
  "dist/cli/chunk-HGFFYVXN.js",
669
- "dist/cli/chunk-HP5FD2LI.js",
670
662
  "dist/cli/chunk-I5YZLGMG.js",
671
663
  "dist/cli/chunk-IF75RD6U.js",
672
- "dist/cli/chunk-IHG7UAHD.mjs",
673
- "dist/cli/chunk-IMZ56EOH.mjs",
664
+ "dist/cli/chunk-INFLI36H.js",
674
665
  "dist/cli/chunk-ITOFSXIU.mjs",
666
+ "dist/cli/chunk-IW5QK3K6.mjs",
675
667
  "dist/cli/chunk-J33TSWO5.js",
676
- "dist/cli/chunk-JJQLBZEW.js",
668
+ "dist/cli/chunk-JDAXVQV7.mjs",
677
669
  "dist/cli/chunk-KCC3FKIW.mjs",
670
+ "dist/cli/chunk-KPKU53YO.mjs",
678
671
  "dist/cli/chunk-KRD6H754.mjs",
679
672
  "dist/cli/chunk-KXMNM4AQ.js",
680
673
  "dist/cli/chunk-L2VKAASU.mjs",
681
674
  "dist/cli/chunk-LJ5747UC.mjs",
675
+ "dist/cli/chunk-LXTSVUZN.mjs",
682
676
  "dist/cli/chunk-MAMVGOSC.mjs",
677
+ "dist/cli/chunk-MHG3NND4.mjs",
683
678
  "dist/cli/chunk-MI6ZP7XI.mjs",
679
+ "dist/cli/chunk-MLJBCS3E.mjs",
680
+ "dist/cli/chunk-MMI2DXCW.js",
684
681
  "dist/cli/chunk-NA4T3B62.js",
682
+ "dist/cli/chunk-NA6SGG7X.js",
683
+ "dist/cli/chunk-NFIZ5YED.mjs",
685
684
  "dist/cli/chunk-NPBJI7RE.js",
686
- "dist/cli/chunk-NSJRLP7R.js",
687
685
  "dist/cli/chunk-NUX2QHNC.mjs",
688
686
  "dist/cli/chunk-OG64RBAC.js",
689
- "dist/cli/chunk-OQQOXSYA.js",
687
+ "dist/cli/chunk-OMWO2JLC.js",
688
+ "dist/cli/chunk-OPI7UCQG.mjs",
690
689
  "dist/cli/chunk-OVDNJAJN.mjs",
691
- "dist/cli/chunk-PKBPSMOT.js",
690
+ "dist/cli/chunk-OZLMMMZH.js",
691
+ "dist/cli/chunk-PH4BP6KM.mjs",
692
692
  "dist/cli/chunk-PPDBRJRW.js",
693
- "dist/cli/chunk-QADCFSGH.js",
694
- "dist/cli/chunk-QJV2ALPN.js",
693
+ "dist/cli/chunk-PQ4G6MKI.js",
694
+ "dist/cli/chunk-QN6DG4JO.mjs",
695
+ "dist/cli/chunk-QWJJMQNE.mjs",
696
+ "dist/cli/chunk-QWRHGGUH.js",
697
+ "dist/cli/chunk-R2QWSSAG.js",
695
698
  "dist/cli/chunk-R4RG4FV5.mjs",
696
- "dist/cli/chunk-RJLFCJ23.mjs",
697
- "dist/cli/chunk-RURYN2BE.mjs",
698
- "dist/cli/chunk-SPLOMS4N.mjs",
699
+ "dist/cli/chunk-RAL75ND3.js",
700
+ "dist/cli/chunk-RDIN3NKA.js",
701
+ "dist/cli/chunk-S6KG7JCR.mjs",
699
702
  "dist/cli/chunk-TXZVVBQZ.mjs",
700
703
  "dist/cli/chunk-UBKA33KY.mjs",
701
- "dist/cli/chunk-UCI4QROZ.mjs",
702
704
  "dist/cli/chunk-UNEMDKXN.js",
703
- "dist/cli/chunk-VC3E5HFO.mjs",
704
- "dist/cli/chunk-VEYAPBS4.js",
705
705
  "dist/cli/chunk-VKKVSFRD.js",
706
- "dist/cli/chunk-VYLZS7X4.mjs",
706
+ "dist/cli/chunk-VUYUI35Q.js",
707
+ "dist/cli/chunk-W42SSVM7.js",
707
708
  "dist/cli/chunk-WIYWSYDS.mjs",
708
- "dist/cli/chunk-WR4M5VWK.js",
709
+ "dist/cli/chunk-WJO7KIFT.js",
709
710
  "dist/cli/chunk-WU4U6VSB.js",
710
711
  "dist/cli/chunk-WZYKRD7T.mjs",
711
712
  "dist/cli/chunk-XDVT3GOM.js",
712
713
  "dist/cli/chunk-XNYIZMNQ.js",
714
+ "dist/cli/chunk-XSERB7H2.mjs",
715
+ "dist/cli/chunk-YCHR57TD.js",
716
+ "dist/cli/chunk-YHRS6XTB.js",
717
+ "dist/cli/chunk-YNT7PJND.mjs",
713
718
  "dist/cli/chunk-ZCALLYF6.mjs",
714
- "dist/cli/chunk-ZLPT2RZ5.mjs",
715
719
  "dist/cli/chunk-ZM2YPJQJ.js",
716
- "dist/cli/chunk-ZOL3CIKN.mjs",
717
- "dist/cli/chunk-ZSVWCV3G.mjs",
718
- "dist/cli/chunk-ZZBXD5VX.js",
719
720
  "dist/cli/command-docs.d.mts",
720
721
  "dist/cli/command-docs.d.ts",
721
722
  "dist/cli/command-docs.js",
722
723
  "dist/cli/command-docs.mjs",
723
- "dist/cli/csv-EJ4QRLA2.mjs",
724
- "dist/cli/csv-G6H3U4XV.js",
725
- "dist/cli/db-PBIIALJ5.mjs",
726
- "dist/cli/db-WKQFXUWI.js",
724
+ "dist/cli/csv-5KW7M6ZS.mjs",
725
+ "dist/cli/csv-GF7VRES5.js",
726
+ "dist/cli/db-AEDXKB4F.js",
727
+ "dist/cli/db-NN4JQAC4.mjs",
728
+ "dist/cli/describe-5RLXW332.js",
727
729
  "dist/cli/describe-core.d.mts",
728
730
  "dist/cli/describe-core.d.ts",
729
731
  "dist/cli/describe-core.js",
730
732
  "dist/cli/describe-core.mjs",
731
- "dist/cli/describe-DMRK4UNO.mjs",
732
- "dist/cli/describe-ZCU36ES2.js",
733
- "dist/cli/executions-JAHW6GMA.mjs",
734
- "dist/cli/executions-SBA3UYMH.js",
735
- "dist/cli/feedback-PKBUYHMD.mjs",
736
- "dist/cli/feedback-QAE4V2NY.js",
733
+ "dist/cli/describe-RX6VROHQ.mjs",
734
+ "dist/cli/executions-EJZ34VUB.mjs",
735
+ "dist/cli/executions-PGIGFDDS.js",
736
+ "dist/cli/feedback-6MWOKE7H.mjs",
737
+ "dist/cli/feedback-L2ODMANV.js",
737
738
  "dist/cli/getting-started.d.mts",
738
739
  "dist/cli/getting-started.d.ts",
739
740
  "dist/cli/getting-started.js",
740
741
  "dist/cli/getting-started.mjs",
741
- "dist/cli/git-54INNT33.js",
742
- "dist/cli/git-GAO3SJAQ.mjs",
742
+ "dist/cli/git-2ZDCRTBD.js",
743
+ "dist/cli/git-456RF3AT.mjs",
743
744
  "dist/cli/index.d.mts",
744
745
  "dist/cli/index.d.ts",
745
746
  "dist/cli/index.js",
746
747
  "dist/cli/index.mjs",
747
- "dist/cli/legacy-noops-5PY2ZZF3.mjs",
748
- "dist/cli/legacy-noops-JCMVW5BL.js",
749
- "dist/cli/monitors-GVYAZRMB.mjs",
750
- "dist/cli/monitors-YPS4LPDG.js",
751
- "dist/cli/org-OBVAU6K7.js",
752
- "dist/cli/org-R7AKPKUB.mjs",
753
- "dist/cli/play-3LFM2SV2.mjs",
754
- "dist/cli/play-MTHQQHR6.js",
755
- "dist/cli/providers-CTIROUI3.js",
756
- "dist/cli/providers-IRICPDKU.mjs",
748
+ "dist/cli/legacy-noops-MDPB3MIS.js",
749
+ "dist/cli/legacy-noops-ZPRBXQDE.mjs",
750
+ "dist/cli/monitors-TXKR5XYW.js",
751
+ "dist/cli/monitors-ZLP6A7FT.mjs",
752
+ "dist/cli/org-73SQ3AT2.js",
753
+ "dist/cli/org-YZ62BIGM.mjs",
754
+ "dist/cli/play-M75EBXEV.js",
755
+ "dist/cli/play-VCYQKCKF.mjs",
756
+ "dist/cli/providers-GIINJPWQ.js",
757
+ "dist/cli/providers-JLA6LST3.mjs",
757
758
  "dist/cli/proxy-env-NWUIGWS3.mjs",
758
759
  "dist/cli/proxy-env-ZV2WZFAT.js",
759
- "dist/cli/quickstart-5FBQVZ5B.mjs",
760
- "dist/cli/quickstart-OZDVFNF2.js",
760
+ "dist/cli/quickstart-AHCU75GG.mjs",
761
+ "dist/cli/quickstart-HHHLYCHT.js",
761
762
  "dist/cli/run-identity-G257GQED.js",
762
763
  "dist/cli/run-identity-MRNCEGV2.mjs",
763
- "dist/cli/search-FYM47QFU.mjs",
764
- "dist/cli/search-XIKHDZJ3.js",
765
- "dist/cli/secrets-43GJUDAE.js",
766
- "dist/cli/secrets-ENBXU3O3.mjs",
767
- "dist/cli/sessions-7IQJOH5Z.mjs",
768
- "dist/cli/sessions-RXX5IHG6.js",
769
- "dist/cli/settings-EZGDTS3K.mjs",
770
- "dist/cli/settings-Z2CWWV7P.js",
771
- "dist/cli/setup-2ON3TUXP.js",
772
- "dist/cli/setup-N5UMUBBV.mjs",
773
- "dist/cli/skills-2WIHNEOS.js",
774
- "dist/cli/skills-4MR2Z2M5.mjs",
764
+ "dist/cli/search-5GACUIAX.mjs",
765
+ "dist/cli/search-W2PGBXQO.js",
766
+ "dist/cli/secrets-PI7IPCOE.js",
767
+ "dist/cli/secrets-S2NBKAEN.mjs",
768
+ "dist/cli/sessions-BK4CSRFS.js",
769
+ "dist/cli/sessions-IBKYGTBD.mjs",
770
+ "dist/cli/settings-2G7TUDM7.js",
771
+ "dist/cli/settings-JY6UN4KO.mjs",
772
+ "dist/cli/setup-HS5X3OSN.mjs",
773
+ "dist/cli/setup-R424FIBF.js",
774
+ "dist/cli/skills-M3RZAN4A.js",
775
+ "dist/cli/skills-UIBUDTGN.mjs",
775
776
  "dist/cli/text-imports.d.ts",
776
- "dist/cli/tools-MCEIWE3I.mjs",
777
- "dist/cli/tools-YUUSOKYX.js",
778
- "dist/cli/update-2JDBGLTX.mjs",
779
- "dist/cli/update-PWX4MJ3R.js",
780
- "dist/cli/workflow-7DNBY4WJ.js",
781
- "dist/cli/workflow-7UDXYU5Y.mjs",
782
- "dist/client-CCWIUnk7.d.mts",
783
- "dist/client-vHqBm-OL.d.ts",
784
- "dist/compiler-manifest-lzWpbV3w.d.mts",
785
- "dist/compiler-manifest-lzWpbV3w.d.ts",
777
+ "dist/cli/tools-K2GII2PA.js",
778
+ "dist/cli/tools-SB4FREB6.mjs",
779
+ "dist/cli/update-C2ORJRXN.js",
780
+ "dist/cli/update-NJSUE2YU.mjs",
781
+ "dist/cli/workflow-3AZWZ4J3.js",
782
+ "dist/cli/workflow-HBG76XYX.mjs",
783
+ "dist/client-BTUOYGID.d.mts",
784
+ "dist/client-C668iUhZ.d.ts",
785
+ "dist/compiler-manifest-DaFuA1ki.d.mts",
786
+ "dist/compiler-manifest-DaFuA1ki.d.ts",
786
787
  "dist/helpers.d.mts",
787
788
  "dist/helpers.d.ts",
788
789
  "dist/helpers.js",
789
790
  "dist/helpers.mjs",
790
- "dist/index-C8Cy-YTm.d.ts",
791
- "dist/index-CtNK-0nI.d.mts",
791
+ "dist/index-0yS9ihly.d.mts",
792
+ "dist/index-CRAScKPg.d.ts",
792
793
  "dist/index.d.mts",
793
794
  "dist/index.d.ts",
794
795
  "dist/index.js",
@@ -1,7 +1,7 @@
1
1
  /// <reference path="./text-imports.d.ts" />
2
- import { B as BundledPlayFileResult, a as BundlePlayFileOptions, P as PlayBundlingAdapter } from '../index-CtNK-0nI.mjs';
3
- export { b as BundledPlayFileSuccess, I as ImportedPlayDependency, c as PlayLocalFileDiscoveryError, d as PlayLocalFileReference, e as extractDefinedPlayName } from '../index-CtNK-0nI.mjs';
4
- export { P as PLAY_ARTIFACT_KINDS, a as PlayArtifactCompatibility, b as PlayBundleArtifact, c as PlayImportPolicy, d as PlayPackageImport, e as PlayRuntimeFeature } from '../compiler-manifest-lzWpbV3w.mjs';
2
+ import { B as BundledPlayFileResult, a as BundlePlayFileOptions, P as PlayBundlingAdapter } from '../index-0yS9ihly.mjs';
3
+ export { b as BundledPlayFileSuccess, I as ImportedPlayDependency, c as PlayLocalFileDiscoveryError, d as PlayLocalFileReference, e as extractDefinedPlayName } from '../index-0yS9ihly.mjs';
4
+ export { P as PLAY_ARTIFACT_KINDS, a as PlayArtifactCompatibility, b as PlayBundleArtifact, c as PlayImportPolicy, d as PlayPackageImport, e as PlayRuntimeFeature } from '../compiler-manifest-DaFuA1ki.mjs';
5
5
  import '@sinclair/typebox';
6
6
 
7
7
  declare function createSdkPlayBundlingAdapter(): PlayBundlingAdapter;
@@ -1,7 +1,7 @@
1
1
  /// <reference path="./text-imports.d.ts" />
2
- import { B as BundledPlayFileResult, a as BundlePlayFileOptions, P as PlayBundlingAdapter } from '../index-C8Cy-YTm.js';
3
- export { b as BundledPlayFileSuccess, I as ImportedPlayDependency, c as PlayLocalFileDiscoveryError, d as PlayLocalFileReference, e as extractDefinedPlayName } from '../index-C8Cy-YTm.js';
4
- export { P as PLAY_ARTIFACT_KINDS, a as PlayArtifactCompatibility, b as PlayBundleArtifact, c as PlayImportPolicy, d as PlayPackageImport, e as PlayRuntimeFeature } from '../compiler-manifest-lzWpbV3w.js';
2
+ import { B as BundledPlayFileResult, a as BundlePlayFileOptions, P as PlayBundlingAdapter } from '../index-CRAScKPg.js';
3
+ export { b as BundledPlayFileSuccess, I as ImportedPlayDependency, c as PlayLocalFileDiscoveryError, d as PlayLocalFileReference, e as extractDefinedPlayName } from '../index-CRAScKPg.js';
4
+ export { P as PLAY_ARTIFACT_KINDS, a as PlayArtifactCompatibility, b as PlayBundleArtifact, c as PlayImportPolicy, d as PlayPackageImport, e as PlayRuntimeFeature } from '../compiler-manifest-DaFuA1ki.js';
5
5
  import '@sinclair/typebox';
6
6
 
7
7
  declare function createSdkPlayBundlingAdapter(): PlayBundlingAdapter;