deepline 0.3.422 → 0.3.424

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 (156) hide show
  1. package/dist/bundling-sources/sdk/src/client.ts +15 -8
  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/monitors/fleets/verdict.ts +11 -1
  10. package/dist/bundling-sources/shared_libs/monitors/inventory-reconciliation.ts +38 -4
  11. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-batch-operation.ts +12 -0
  12. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-control-plane-capability.ts +25 -0
  13. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-errors.ts +10 -0
  14. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-identity-claims.ts +201 -0
  15. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-state.ts +42 -5
  16. package/dist/bundling-sources/shared_libs/monitors/provider-webhook-monitor-runtime.ts +5 -0
  17. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +37 -36
  18. package/dist/bundling-sources/shared_libs/plays/bundling/index.ts +179 -38
  19. package/dist/bundling-sources/shared_libs/plays/dataset.ts +2 -2
  20. package/dist/bundling-sources/shared_libs/plays/docflow.ts +4 -0
  21. package/dist/bundling-sources/shared_libs/plays/fetch-http-error.ts +1 -1
  22. package/dist/bundling-sources/shared_libs/plays/local-file-discovery.ts +12 -4
  23. package/dist/bundling-sources/shared_libs/plays/play-exports.ts +27 -5
  24. package/dist/bundling-sources/shared_libs/plays/script-entry.ts +992 -0
  25. package/dist/bundling-sources/shared_libs/plays/source-authoring-edition.ts +63 -0
  26. package/dist/bundling-sources/shared_libs/plays/tool-result-types.ts +8 -4
  27. package/dist/bundling-sources/shared_libs/plays/ts-ast.ts +2 -0
  28. package/dist/cli/auth-MN7MWTFR.js +40 -0
  29. package/dist/cli/{auth-DMLBSXLV.mjs → auth-QITAQMHF.mjs} +4 -4
  30. package/dist/cli/{billing-IFGFPGJV.js → billing-N5AOFDSU.js} +73 -73
  31. package/dist/cli/{billing-SEXKROBQ.mjs → billing-UX2GH5L2.mjs} +4 -4
  32. package/dist/cli/{chunk-BL3LY54Y.js → chunk-22XGRO2M.js} +8 -8
  33. package/dist/cli/{chunk-AARWVK4C.mjs → chunk-2BQUML3X.mjs} +792 -69
  34. package/dist/cli/{chunk-ERFN2QY4.mjs → chunk-3DNKFH2G.mjs} +1 -1
  35. package/dist/cli/{chunk-QNBHQM5R.mjs → chunk-3FQUUVN2.mjs} +1 -1
  36. package/dist/cli/{chunk-4CAVSRQH.mjs → chunk-3O7KATMQ.mjs} +1 -1
  37. package/dist/cli/{chunk-S4KGXRCV.js → chunk-3VB5DQ7Y.js} +20 -20
  38. package/dist/cli/{chunk-VT6WJ26Y.mjs → chunk-5MD5I4MM.mjs} +1 -1
  39. package/dist/cli/{chunk-W74RDGRL.mjs → chunk-5OBCPN2C.mjs} +2 -2
  40. package/dist/cli/{chunk-LXRDHISW.js → chunk-5YLEB4CL.js} +8 -8
  41. package/dist/cli/{chunk-2JKQORUX.mjs → chunk-7KNBC4RJ.mjs} +2 -2
  42. package/dist/cli/{chunk-MLP4CAY7.mjs → chunk-7VC7STG5.mjs} +4 -4
  43. package/dist/cli/{chunk-KBJP3UAU.js → chunk-7W4N6VRE.js} +35 -35
  44. package/dist/cli/{chunk-3CE3WGKP.mjs → chunk-7Y5M5YE3.mjs} +2 -2
  45. package/dist/cli/{chunk-V4RAH5D6.js → chunk-CJD5QKYK.js} +26 -26
  46. package/dist/cli/{chunk-AYM2KZN3.js → chunk-DD6MM6WX.js} +6 -6
  47. package/dist/cli/{chunk-63ILLN5H.mjs → chunk-DS7Y7X26.mjs} +2 -2
  48. package/dist/cli/{chunk-CTNA5QY2.mjs → chunk-EER67G2B.mjs} +43 -28
  49. package/dist/cli/{chunk-OZHPZCAU.js → chunk-F3MMA7JY.js} +52 -52
  50. package/dist/cli/{chunk-CO3VMH33.mjs → chunk-FJ5U2IZY.mjs} +28 -27
  51. package/dist/cli/{chunk-27GJKC5Q.js → chunk-GXOQRZXG.js} +2 -2
  52. package/dist/cli/{chunk-AXDEH2AM.mjs → chunk-HBW6PEVG.mjs} +2 -2
  53. package/dist/cli/{chunk-PKBPSMOT.js → chunk-INFLI36H.js} +43 -28
  54. package/dist/cli/{chunk-4PG4ARL2.mjs → chunk-KPKU53YO.mjs} +1 -1
  55. package/dist/cli/{chunk-2LVM22ZU.js → chunk-LSZZVHQP.js} +2 -2
  56. package/dist/cli/{chunk-IMZ56EOH.mjs → chunk-LXTSVUZN.mjs} +2 -2
  57. package/dist/cli/{chunk-WGO2DY4L.js → chunk-M2VXDQI2.js} +11 -11
  58. package/dist/cli/{chunk-7OJEYJ6G.mjs → chunk-M67UCQKW.mjs} +3 -3
  59. package/dist/cli/{chunk-KXPIFC5S.mjs → chunk-MFXQVT7P.mjs} +3 -3
  60. package/dist/cli/{chunk-IHG7UAHD.mjs → chunk-MLJBCS3E.mjs} +32 -13
  61. package/dist/cli/{chunk-4EV2FKBI.js → chunk-OSNDC3VF.js} +16 -16
  62. package/dist/cli/{chunk-PXO253DP.mjs → chunk-OWWFCA7A.mjs} +1 -1
  63. package/dist/cli/{chunk-VRI3ABTK.js → chunk-PNGJIAJ3.js} +50 -50
  64. package/dist/cli/{chunk-HCYNAIHZ.js → chunk-QP5ATTMC.js} +4 -4
  65. package/dist/cli/{chunk-GEJDBXXM.js → chunk-QWRHGGUH.js} +1 -1
  66. package/dist/cli/{chunk-AD47BXN2.js → chunk-R2QWSSAG.js} +8 -8
  67. package/dist/cli/{chunk-QADCFSGH.js → chunk-RDIN3NKA.js} +17 -17
  68. package/dist/cli/{chunk-JRSULUPQ.js → chunk-RISEING7.js} +2 -2
  69. package/dist/cli/{chunk-M6SXXFMT.mjs → chunk-UOZCQPD4.mjs} +2 -2
  70. package/dist/cli/{chunk-TP26TAAF.mjs → chunk-UPH6UNUI.mjs} +1 -1
  71. package/dist/cli/{chunk-UQQRMCOL.js → chunk-UTF57UBW.js} +6 -6
  72. package/dist/cli/{chunk-FEKJENBB.mjs → chunk-VC5NKF4B.mjs} +3 -3
  73. package/dist/cli/{chunk-BQR6UN3C.js → chunk-VUYUI35Q.js} +32 -13
  74. package/dist/cli/{chunk-WP7T4BPE.js → chunk-YA3LMTLU.js} +1 -1
  75. package/dist/cli/{chunk-OQQOXSYA.js → chunk-YHRS6XTB.js} +845 -122
  76. package/dist/cli/{chunk-K4X472AT.js → chunk-YMASNIC5.js} +260 -259
  77. package/dist/cli/{chunk-SDCIROIS.mjs → chunk-ZMU2DDID.mjs} +5 -5
  78. package/dist/cli/command-docs.js +2 -2
  79. package/dist/cli/command-docs.mjs +1 -1
  80. package/dist/cli/{csv-J7UVP4KB.mjs → csv-NM5IHLVM.mjs} +3 -3
  81. package/dist/cli/{csv-Y4YWZSLB.js → csv-RL53NPRV.js} +12 -12
  82. package/dist/cli/{db-CQ6NHMLG.mjs → db-FZTIS4QG.mjs} +5 -5
  83. package/dist/cli/{db-SVFCM6YZ.js → db-RJCFUM2J.js} +26 -26
  84. package/dist/cli/{describe-FSDW6LTN.js → describe-A2MGAI3Y.js} +24 -24
  85. package/dist/cli/{describe-Y65BU7ZY.mjs → describe-T77IEILZ.mjs} +16 -16
  86. package/dist/cli/describe-core.d.mts +2 -2
  87. package/dist/cli/describe-core.d.ts +2 -2
  88. package/dist/cli/describe-core.js +4 -4
  89. package/dist/cli/describe-core.mjs +3 -3
  90. package/dist/cli/{executions-IW762OIJ.mjs → executions-AMQK53QX.mjs} +4 -4
  91. package/dist/cli/{executions-SJIKBRHT.js → executions-R6UPRZ5N.js} +6 -6
  92. package/dist/cli/{feedback-VMJIWAMT.mjs → feedback-BA5ZHVCZ.mjs} +3 -3
  93. package/dist/cli/{feedback-RCYSUOB3.js → feedback-JFT536KI.js} +7 -7
  94. package/dist/cli/{git-Q2WY3K6X.mjs → git-5ONARXFO.mjs} +4 -4
  95. package/dist/cli/git-NHQR3NKF.js +24 -0
  96. package/dist/cli/index.js +135 -135
  97. package/dist/cli/index.mjs +37 -37
  98. package/dist/cli/{legacy-noops-JVEE2VHK.mjs → legacy-noops-7J4K6QUX.mjs} +4 -4
  99. package/dist/cli/{legacy-noops-U4YPPYXU.js → legacy-noops-WT7M7WYD.js} +7 -7
  100. package/dist/cli/{monitors-AY4KQRTC.mjs → monitors-N3WDXW7H.mjs} +19 -13
  101. package/dist/cli/{monitors-BMAOQ37R.js → monitors-YH6PKEIW.js} +99 -93
  102. package/dist/cli/{org-ME4X6HWH.mjs → org-2V5ELSYS.mjs} +4 -4
  103. package/dist/cli/{org-G5IURX74.js → org-KGYHMT5P.js} +64 -64
  104. package/dist/cli/{play-X5GSZOKZ.js → play-2JOQQRZI.js} +606 -567
  105. package/dist/cli/{play-WLYU7WQL.mjs → play-CL2LCBAF.mjs} +113 -74
  106. package/dist/cli/{providers-2LBMNB7B.mjs → providers-I7EEPWNW.mjs} +4 -4
  107. package/dist/cli/{providers-AHEUVD3R.js → providers-VIP6MCWC.js} +7 -7
  108. package/dist/cli/{quickstart-DP2SKLIG.js → quickstart-33WC2KWE.js} +5 -5
  109. package/dist/cli/{quickstart-DBLYGHJP.mjs → quickstart-VRBKQODE.mjs} +3 -3
  110. package/dist/cli/{search-YKJHY3ZJ.mjs → search-7TDSKXOO.mjs} +5 -5
  111. package/dist/cli/search-A6RZZ4LK.js +30 -0
  112. package/dist/cli/{secrets-ECLARBO6.mjs → secrets-DGLCIN7Y.mjs} +4 -4
  113. package/dist/cli/{secrets-2P3I3OEZ.js → secrets-TQH5FXAC.js} +13 -13
  114. package/dist/cli/{sessions-MC4ZCTSN.js → sessions-4D4UDPIS.js} +5 -5
  115. package/dist/cli/{sessions-3GDFID7R.mjs → sessions-D6QGKQ2G.mjs} +4 -4
  116. package/dist/cli/{settings-RTPJXMOA.mjs → settings-6HVXBCVR.mjs} +8 -8
  117. package/dist/cli/{settings-7SVR2OVL.js → settings-V3QRG4AO.js} +75 -75
  118. package/dist/cli/{setup-4WLIJX36.js → setup-6WP7D5I3.js} +42 -42
  119. package/dist/cli/{setup-OKAZZGAW.mjs → setup-CSJ3HSL7.mjs} +7 -7
  120. package/dist/cli/{skills-2CVL6RG5.mjs → skills-2MTWP4PS.mjs} +5 -5
  121. package/dist/cli/skills-QOYOARZT.js +29 -0
  122. package/dist/cli/{tools-KAFHP6J4.mjs → tools-GAR3BWB6.mjs} +15 -15
  123. package/dist/cli/tools-MGEKAIOU.js +44 -0
  124. package/dist/cli/update-HMZCLFLZ.js +31 -0
  125. package/dist/cli/{update-3ZV3W7I4.mjs → update-XV3WV3MU.mjs} +7 -7
  126. package/dist/cli/{workflow-DKSUNZXE.mjs → workflow-DTZAWSB2.mjs} +9 -9
  127. package/dist/cli/{workflow-GULDFFP3.js → workflow-WNE7ORMT.js} +19 -19
  128. package/dist/{client-CCWIUnk7.d.mts → client-BcfFWD4Z.d.mts} +19 -15
  129. package/dist/{client-vHqBm-OL.d.ts → client-DH-fmT69.d.ts} +19 -15
  130. package/dist/{compiler-manifest-lzWpbV3w.d.mts → compiler-manifest-DaFuA1ki.d.mts} +35 -32
  131. package/dist/{compiler-manifest-lzWpbV3w.d.ts → compiler-manifest-DaFuA1ki.d.ts} +35 -32
  132. package/dist/{index-CtNK-0nI.d.mts → index-0yS9ihly.d.mts} +10 -3
  133. package/dist/{index-C8Cy-YTm.d.ts → index-CRAScKPg.d.ts} +10 -3
  134. package/dist/index.d.mts +120 -150
  135. package/dist/index.d.ts +120 -150
  136. package/dist/index.js +77 -12
  137. package/dist/index.mjs +74 -9
  138. package/dist/install-integrity.json +99 -98
  139. package/dist/plays/bundle-play-file.d.mts +3 -3
  140. package/dist/plays/bundle-play-file.d.ts +3 -3
  141. package/dist/plays/bundle-play-file.mjs +1 -1
  142. package/dist/plays/play-description.d.mts +2 -2
  143. package/dist/plays/play-description.d.ts +2 -2
  144. package/dist/plays/run-request.d.mts +2 -2
  145. package/dist/plays/run-request.d.ts +2 -2
  146. package/dist/release.d.mts +1 -1
  147. package/dist/release.d.ts +1 -1
  148. package/dist/release.js +2 -2
  149. package/dist/release.mjs +1 -1
  150. package/package.json +1 -1
  151. package/dist/cli/auth-HD5AM2WM.js +0 -40
  152. package/dist/cli/git-JAW3UEGA.js +0 -24
  153. package/dist/cli/search-4K3VSDS5.js +0 -30
  154. package/dist/cli/skills-ZNSQOXO2.js +0 -29
  155. package/dist/cli/tools-W4U4FT3R.js +0 -44
  156. package/dist/cli/update-IE2FPLB5.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 _chunkWGO2DY4Ljs = require('./cli/chunk-WGO2DY4L.js');
33
+ var _chunkM2VXDQI2js = require('./cli/chunk-M2VXDQI2.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 _chunkHCYNAIHZjs = require('./cli/chunk-HCYNAIHZ.js');
67
+ var _chunkQP5ATTMCjs = require('./cli/chunk-QP5ATTMC.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-WP7T4BPE.js');
84
+ require('./cli/chunk-YA3LMTLU.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, _chunkWGO2DY4Ljs.DeeplineClient)(options);
1782
+ this.client = new (0, _chunkM2VXDQI2js.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
- () => _chunkWGO2DY4Ljs.createPlayClient.call(void 0, ),
2278
+ () => _chunkM2VXDQI2js.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 = _chunkWGO2DY4Ljs.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 = _chunkWGO2DY4Ljs.MONITOR_JOB_PHASES; exports.MONITOR_JOB_RECONCILIATION_STATES = _chunkWGO2DY4Ljs.MONITOR_JOB_RECONCILIATION_STATES; exports.MONITOR_JOB_STATES = _chunkWGO2DY4Ljs.MONITOR_JOB_STATES; exports.PHONE_STATUS_VALUES = _chunkNA4T3B62js.PHONE_STATUS_VALUES; exports.PROD_URL = _chunkHCYNAIHZjs.PROD_URL; exports.ProviderTransientError = _chunkPPDBRJRWjs.ProviderTransientError; exports.RateLimitError = _chunkNPBJI7REjs.RateLimitError; exports.RunEventQueryInputError = _chunkWGO2DY4Ljs.RunEventQueryInputError; exports.RunObserveTransportUnavailableError = RunObserveTransportUnavailableError; exports.SDK_API_CONTRACT = _chunkHCYNAIHZjs.SDK_API_CONTRACT; exports.SDK_VERSION = _chunkHCYNAIHZjs.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 = _chunkWGO2DY4Ljs.isStopAllPlayRunsDryRunResult; exports.lintMonitorBatchInput = _chunkIF75RD6Ujs.lintMonitorBatchInput; exports.lintMonitorFleetInput = _chunkC374C22Yjs.lintMonitorFleetInput; exports.lintMonitorSpecTemplate = _chunkIF75RD6Ujs.lintMonitorSpecTemplate; exports.pinLocalPlayImports = _chunkGEJDBXXMjs.pinLocalPlayImports; exports.planCustomerDbQuery = _chunkWGO2DY4Ljs.planCustomerDbQuery; exports.planLocalPlayExecution = _chunkGEJDBXXMjs.planLocalPlayExecution; exports.readList = readList; exports.renderMonitorSpecTemplate = _chunkIF75RD6Ujs.renderMonitorSpecTemplate; exports.resolveConfig = _chunkHCYNAIHZjs.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 = _chunkM2VXDQI2js.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 = _chunkM2VXDQI2js.MONITOR_JOB_PHASES; exports.MONITOR_JOB_RECONCILIATION_STATES = _chunkM2VXDQI2js.MONITOR_JOB_RECONCILIATION_STATES; exports.MONITOR_JOB_STATES = _chunkM2VXDQI2js.MONITOR_JOB_STATES; exports.PHONE_STATUS_VALUES = _chunkNA4T3B62js.PHONE_STATUS_VALUES; exports.PROD_URL = _chunkQP5ATTMCjs.PROD_URL; exports.ProviderTransientError = _chunkPPDBRJRWjs.ProviderTransientError; exports.RateLimitError = _chunkNPBJI7REjs.RateLimitError; exports.RunEventQueryInputError = _chunkM2VXDQI2js.RunEventQueryInputError; exports.RunObserveTransportUnavailableError = RunObserveTransportUnavailableError; exports.SDK_API_CONTRACT = _chunkQP5ATTMCjs.SDK_API_CONTRACT; exports.SDK_VERSION = _chunkQP5ATTMCjs.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 = _chunkM2VXDQI2js.isStopAllPlayRunsDryRunResult; exports.lintMonitorBatchInput = _chunkIF75RD6Ujs.lintMonitorBatchInput; exports.lintMonitorFleetInput = _chunkC374C22Yjs.lintMonitorFleetInput; exports.lintMonitorSpecTemplate = _chunkIF75RD6Ujs.lintMonitorSpecTemplate; exports.pinLocalPlayImports = _chunkQWRHGGUHjs.pinLocalPlayImports; exports.planCustomerDbQuery = _chunkM2VXDQI2js.planCustomerDbQuery; exports.planLocalPlayExecution = _chunkQWRHGGUHjs.planLocalPlayExecution; exports.readList = readList; exports.renderMonitorSpecTemplate = _chunkIF75RD6Ujs.renderMonitorSpecTemplate; exports.resolveConfig = _chunkQP5ATTMCjs.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-2JKQORUX.mjs";
33
+ } from "./cli/chunk-7KNBC4RJ.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-PXO253DP.mjs";
67
+ } from "./cli/chunk-OWWFCA7A.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-VT6WJ26Y.mjs";
84
+ import "./cli/chunk-5MD5I4MM.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-DMLBSXLV.mjs",
624
- "dist/cli/auth-HD5AM2WM.js",
625
- "dist/cli/billing-IFGFPGJV.js",
626
- "dist/cli/billing-SEXKROBQ.mjs",
627
- "dist/cli/chunk-27GJKC5Q.js",
624
+ "dist/cli/auth-MN7MWTFR.js",
625
+ "dist/cli/auth-QITAQMHF.mjs",
626
+ "dist/cli/billing-N5AOFDSU.js",
627
+ "dist/cli/billing-UX2GH5L2.mjs",
628
+ "dist/cli/chunk-22XGRO2M.js",
629
+ "dist/cli/chunk-2BQUML3X.mjs",
628
630
  "dist/cli/chunk-2H4EY7KH.js",
629
- "dist/cli/chunk-2JKQORUX.mjs",
630
- "dist/cli/chunk-2LVM22ZU.js",
631
- "dist/cli/chunk-3CE3WGKP.mjs",
631
+ "dist/cli/chunk-3DNKFH2G.mjs",
632
+ "dist/cli/chunk-3FQUUVN2.mjs",
632
633
  "dist/cli/chunk-3KC45UVF.js",
634
+ "dist/cli/chunk-3O7KATMQ.mjs",
635
+ "dist/cli/chunk-3VB5DQ7Y.js",
633
636
  "dist/cli/chunk-3XX5TEA4.js",
634
- "dist/cli/chunk-4CAVSRQH.mjs",
635
- "dist/cli/chunk-4EV2FKBI.js",
636
637
  "dist/cli/chunk-4MBOJQPL.mjs",
637
- "dist/cli/chunk-4PG4ARL2.mjs",
638
- "dist/cli/chunk-63ILLN5H.mjs",
639
- "dist/cli/chunk-7OJEYJ6G.mjs",
640
- "dist/cli/chunk-AARWVK4C.mjs",
641
- "dist/cli/chunk-AD47BXN2.js",
638
+ "dist/cli/chunk-5MD5I4MM.mjs",
639
+ "dist/cli/chunk-5OBCPN2C.mjs",
640
+ "dist/cli/chunk-5YLEB4CL.js",
641
+ "dist/cli/chunk-7KNBC4RJ.mjs",
642
+ "dist/cli/chunk-7VC7STG5.mjs",
643
+ "dist/cli/chunk-7W4N6VRE.js",
644
+ "dist/cli/chunk-7Y5M5YE3.mjs",
642
645
  "dist/cli/chunk-AID3OYVJ.js",
643
- "dist/cli/chunk-AXDEH2AM.mjs",
644
- "dist/cli/chunk-AYM2KZN3.js",
645
- "dist/cli/chunk-BL3LY54Y.js",
646
- "dist/cli/chunk-BQR6UN3C.js",
647
646
  "dist/cli/chunk-C374C22Y.js",
648
- "dist/cli/chunk-CO3VMH33.mjs",
647
+ "dist/cli/chunk-CJD5QKYK.js",
649
648
  "dist/cli/chunk-COGTRVWW.js",
650
- "dist/cli/chunk-CTNA5QY2.mjs",
649
+ "dist/cli/chunk-DD6MM6WX.js",
651
650
  "dist/cli/chunk-DLIRSHV6.mjs",
651
+ "dist/cli/chunk-DS7Y7X26.mjs",
652
652
  "dist/cli/chunk-E4CABWXL.js",
653
653
  "dist/cli/chunk-E4IXDAZI.mjs",
654
654
  "dist/cli/chunk-EBU7LQ64.js",
655
+ "dist/cli/chunk-EER67G2B.mjs",
655
656
  "dist/cli/chunk-EIMG75BT.mjs",
656
- "dist/cli/chunk-ERFN2QY4.mjs",
657
657
  "dist/cli/chunk-EXMLR72R.mjs",
658
- "dist/cli/chunk-FEKJENBB.mjs",
658
+ "dist/cli/chunk-F3MMA7JY.js",
659
659
  "dist/cli/chunk-FIVKWNMT.mjs",
660
+ "dist/cli/chunk-FJ5U2IZY.mjs",
660
661
  "dist/cli/chunk-FR2ILQ4G.mjs",
661
- "dist/cli/chunk-GEJDBXXM.js",
662
+ "dist/cli/chunk-GXOQRZXG.js",
662
663
  "dist/cli/chunk-H7HIDGZ7.mjs",
663
- "dist/cli/chunk-HCYNAIHZ.js",
664
+ "dist/cli/chunk-HBW6PEVG.mjs",
664
665
  "dist/cli/chunk-HGFFYVXN.js",
665
666
  "dist/cli/chunk-I5YZLGMG.js",
666
667
  "dist/cli/chunk-IF75RD6U.js",
667
- "dist/cli/chunk-IHG7UAHD.mjs",
668
- "dist/cli/chunk-IMZ56EOH.mjs",
668
+ "dist/cli/chunk-INFLI36H.js",
669
669
  "dist/cli/chunk-ITOFSXIU.mjs",
670
670
  "dist/cli/chunk-J33TSWO5.js",
671
- "dist/cli/chunk-JRSULUPQ.js",
672
- "dist/cli/chunk-K4X472AT.js",
673
- "dist/cli/chunk-KBJP3UAU.js",
674
671
  "dist/cli/chunk-KCC3FKIW.mjs",
672
+ "dist/cli/chunk-KPKU53YO.mjs",
675
673
  "dist/cli/chunk-KRD6H754.mjs",
676
674
  "dist/cli/chunk-KXMNM4AQ.js",
677
- "dist/cli/chunk-KXPIFC5S.mjs",
678
675
  "dist/cli/chunk-L2VKAASU.mjs",
679
676
  "dist/cli/chunk-LJ5747UC.mjs",
680
- "dist/cli/chunk-LXRDHISW.js",
681
- "dist/cli/chunk-M6SXXFMT.mjs",
677
+ "dist/cli/chunk-LSZZVHQP.js",
678
+ "dist/cli/chunk-LXTSVUZN.mjs",
679
+ "dist/cli/chunk-M2VXDQI2.js",
680
+ "dist/cli/chunk-M67UCQKW.mjs",
682
681
  "dist/cli/chunk-MAMVGOSC.mjs",
682
+ "dist/cli/chunk-MFXQVT7P.mjs",
683
683
  "dist/cli/chunk-MI6ZP7XI.mjs",
684
- "dist/cli/chunk-MLP4CAY7.mjs",
684
+ "dist/cli/chunk-MLJBCS3E.mjs",
685
685
  "dist/cli/chunk-NA4T3B62.js",
686
686
  "dist/cli/chunk-NPBJI7RE.js",
687
687
  "dist/cli/chunk-NUX2QHNC.mjs",
688
688
  "dist/cli/chunk-OG64RBAC.js",
689
- "dist/cli/chunk-OQQOXSYA.js",
689
+ "dist/cli/chunk-OSNDC3VF.js",
690
690
  "dist/cli/chunk-OVDNJAJN.mjs",
691
- "dist/cli/chunk-OZHPZCAU.js",
692
- "dist/cli/chunk-PKBPSMOT.js",
691
+ "dist/cli/chunk-OWWFCA7A.mjs",
692
+ "dist/cli/chunk-PNGJIAJ3.js",
693
693
  "dist/cli/chunk-PPDBRJRW.js",
694
- "dist/cli/chunk-PXO253DP.mjs",
695
- "dist/cli/chunk-QADCFSGH.js",
696
- "dist/cli/chunk-QNBHQM5R.mjs",
694
+ "dist/cli/chunk-QP5ATTMC.js",
695
+ "dist/cli/chunk-QWRHGGUH.js",
696
+ "dist/cli/chunk-R2QWSSAG.js",
697
697
  "dist/cli/chunk-R4RG4FV5.mjs",
698
- "dist/cli/chunk-S4KGXRCV.js",
699
- "dist/cli/chunk-SDCIROIS.mjs",
700
- "dist/cli/chunk-TP26TAAF.mjs",
698
+ "dist/cli/chunk-RDIN3NKA.js",
699
+ "dist/cli/chunk-RISEING7.js",
701
700
  "dist/cli/chunk-TXZVVBQZ.mjs",
702
701
  "dist/cli/chunk-UBKA33KY.mjs",
703
702
  "dist/cli/chunk-UNEMDKXN.js",
704
- "dist/cli/chunk-UQQRMCOL.js",
705
- "dist/cli/chunk-V4RAH5D6.js",
703
+ "dist/cli/chunk-UOZCQPD4.mjs",
704
+ "dist/cli/chunk-UPH6UNUI.mjs",
705
+ "dist/cli/chunk-UTF57UBW.js",
706
+ "dist/cli/chunk-VC5NKF4B.mjs",
706
707
  "dist/cli/chunk-VKKVSFRD.js",
707
- "dist/cli/chunk-VRI3ABTK.js",
708
- "dist/cli/chunk-VT6WJ26Y.mjs",
709
- "dist/cli/chunk-W74RDGRL.mjs",
710
- "dist/cli/chunk-WGO2DY4L.js",
708
+ "dist/cli/chunk-VUYUI35Q.js",
711
709
  "dist/cli/chunk-WIYWSYDS.mjs",
712
- "dist/cli/chunk-WP7T4BPE.js",
713
710
  "dist/cli/chunk-WU4U6VSB.js",
714
711
  "dist/cli/chunk-WZYKRD7T.mjs",
715
712
  "dist/cli/chunk-XDVT3GOM.js",
716
713
  "dist/cli/chunk-XNYIZMNQ.js",
714
+ "dist/cli/chunk-YA3LMTLU.js",
715
+ "dist/cli/chunk-YHRS6XTB.js",
716
+ "dist/cli/chunk-YMASNIC5.js",
717
717
  "dist/cli/chunk-ZCALLYF6.mjs",
718
718
  "dist/cli/chunk-ZM2YPJQJ.js",
719
+ "dist/cli/chunk-ZMU2DDID.mjs",
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-J7UVP4KB.mjs",
724
- "dist/cli/csv-Y4YWZSLB.js",
725
- "dist/cli/db-CQ6NHMLG.mjs",
726
- "dist/cli/db-SVFCM6YZ.js",
724
+ "dist/cli/csv-NM5IHLVM.mjs",
725
+ "dist/cli/csv-RL53NPRV.js",
726
+ "dist/cli/db-FZTIS4QG.mjs",
727
+ "dist/cli/db-RJCFUM2J.js",
728
+ "dist/cli/describe-A2MGAI3Y.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-FSDW6LTN.js",
732
- "dist/cli/describe-Y65BU7ZY.mjs",
733
- "dist/cli/executions-IW762OIJ.mjs",
734
- "dist/cli/executions-SJIKBRHT.js",
735
- "dist/cli/feedback-RCYSUOB3.js",
736
- "dist/cli/feedback-VMJIWAMT.mjs",
733
+ "dist/cli/describe-T77IEILZ.mjs",
734
+ "dist/cli/executions-AMQK53QX.mjs",
735
+ "dist/cli/executions-R6UPRZ5N.js",
736
+ "dist/cli/feedback-BA5ZHVCZ.mjs",
737
+ "dist/cli/feedback-JFT536KI.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-JAW3UEGA.js",
742
- "dist/cli/git-Q2WY3K6X.mjs",
742
+ "dist/cli/git-5ONARXFO.mjs",
743
+ "dist/cli/git-NHQR3NKF.js",
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-JVEE2VHK.mjs",
748
- "dist/cli/legacy-noops-U4YPPYXU.js",
749
- "dist/cli/monitors-AY4KQRTC.mjs",
750
- "dist/cli/monitors-BMAOQ37R.js",
751
- "dist/cli/org-G5IURX74.js",
752
- "dist/cli/org-ME4X6HWH.mjs",
753
- "dist/cli/play-WLYU7WQL.mjs",
754
- "dist/cli/play-X5GSZOKZ.js",
755
- "dist/cli/providers-2LBMNB7B.mjs",
756
- "dist/cli/providers-AHEUVD3R.js",
748
+ "dist/cli/legacy-noops-7J4K6QUX.mjs",
749
+ "dist/cli/legacy-noops-WT7M7WYD.js",
750
+ "dist/cli/monitors-N3WDXW7H.mjs",
751
+ "dist/cli/monitors-YH6PKEIW.js",
752
+ "dist/cli/org-2V5ELSYS.mjs",
753
+ "dist/cli/org-KGYHMT5P.js",
754
+ "dist/cli/play-2JOQQRZI.js",
755
+ "dist/cli/play-CL2LCBAF.mjs",
756
+ "dist/cli/providers-I7EEPWNW.mjs",
757
+ "dist/cli/providers-VIP6MCWC.js",
757
758
  "dist/cli/proxy-env-NWUIGWS3.mjs",
758
759
  "dist/cli/proxy-env-ZV2WZFAT.js",
759
- "dist/cli/quickstart-DBLYGHJP.mjs",
760
- "dist/cli/quickstart-DP2SKLIG.js",
760
+ "dist/cli/quickstart-33WC2KWE.js",
761
+ "dist/cli/quickstart-VRBKQODE.mjs",
761
762
  "dist/cli/run-identity-G257GQED.js",
762
763
  "dist/cli/run-identity-MRNCEGV2.mjs",
763
- "dist/cli/search-4K3VSDS5.js",
764
- "dist/cli/search-YKJHY3ZJ.mjs",
765
- "dist/cli/secrets-2P3I3OEZ.js",
766
- "dist/cli/secrets-ECLARBO6.mjs",
767
- "dist/cli/sessions-3GDFID7R.mjs",
768
- "dist/cli/sessions-MC4ZCTSN.js",
769
- "dist/cli/settings-7SVR2OVL.js",
770
- "dist/cli/settings-RTPJXMOA.mjs",
771
- "dist/cli/setup-4WLIJX36.js",
772
- "dist/cli/setup-OKAZZGAW.mjs",
773
- "dist/cli/skills-2CVL6RG5.mjs",
774
- "dist/cli/skills-ZNSQOXO2.js",
764
+ "dist/cli/search-7TDSKXOO.mjs",
765
+ "dist/cli/search-A6RZZ4LK.js",
766
+ "dist/cli/secrets-DGLCIN7Y.mjs",
767
+ "dist/cli/secrets-TQH5FXAC.js",
768
+ "dist/cli/sessions-4D4UDPIS.js",
769
+ "dist/cli/sessions-D6QGKQ2G.mjs",
770
+ "dist/cli/settings-6HVXBCVR.mjs",
771
+ "dist/cli/settings-V3QRG4AO.js",
772
+ "dist/cli/setup-6WP7D5I3.js",
773
+ "dist/cli/setup-CSJ3HSL7.mjs",
774
+ "dist/cli/skills-2MTWP4PS.mjs",
775
+ "dist/cli/skills-QOYOARZT.js",
775
776
  "dist/cli/text-imports.d.ts",
776
- "dist/cli/tools-KAFHP6J4.mjs",
777
- "dist/cli/tools-W4U4FT3R.js",
778
- "dist/cli/update-3ZV3W7I4.mjs",
779
- "dist/cli/update-IE2FPLB5.js",
780
- "dist/cli/workflow-DKSUNZXE.mjs",
781
- "dist/cli/workflow-GULDFFP3.js",
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-GAR3BWB6.mjs",
778
+ "dist/cli/tools-MGEKAIOU.js",
779
+ "dist/cli/update-HMZCLFLZ.js",
780
+ "dist/cli/update-XV3WV3MU.mjs",
781
+ "dist/cli/workflow-DTZAWSB2.mjs",
782
+ "dist/cli/workflow-WNE7ORMT.js",
783
+ "dist/client-BcfFWD4Z.d.mts",
784
+ "dist/client-DH-fmT69.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;