deepline 0.3.581 → 0.3.583

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 (147) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +4 -4
  3. package/dist/bundling-sources/shared_libs/observability/scheduled-work-manual.ts +1 -0
  4. package/dist/bundling-sources/shared_libs/play-runtime/internal-bootstrap-token.ts +14 -0
  5. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/early-sandbox.ts +53 -6
  6. package/dist/bundling-sources/shared_libs/play-runtime/runtime-operation-contract.ts +14 -0
  7. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +69 -0
  8. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/early-sandbox-lane.ts +33 -4
  9. package/dist/cli/{agents-VDQSVDSM.mjs → agents-G344SPW2.mjs} +68 -4
  10. package/dist/cli/{agents-UDTRMWPA.js → agents-ZPDXVPEE.js} +95 -31
  11. package/dist/cli/{auth-SRN5FXUQ.mjs → auth-V66RP2A6.mjs} +5 -5
  12. package/dist/cli/auth-VU6VIPVY.js +44 -0
  13. package/dist/cli/{billing-PR2SIEJM.mjs → billing-BTMGZJCR.mjs} +9 -9
  14. package/dist/cli/{billing-HGHIOFSA.js → billing-ROYUQF67.js} +105 -105
  15. package/dist/cli/{chunk-7VOSQARZ.js → chunk-23LYXVI4.js} +6 -6
  16. package/dist/cli/{chunk-JQK42HZQ.js → chunk-2D5YISAL.js} +2 -2
  17. package/dist/cli/{chunk-RA3BWUTD.mjs → chunk-2QIVGZKS.mjs} +5 -5
  18. package/dist/cli/{chunk-WS5ZX4RB.mjs → chunk-43MKV6E4.mjs} +3 -3
  19. package/dist/cli/{chunk-5XVDZVCR.js → chunk-6GYGMWQV.js} +8 -8
  20. package/dist/cli/{chunk-KDITCSPN.mjs → chunk-6S3OAJCJ.mjs} +19 -0
  21. package/dist/cli/{chunk-EHTD65FE.mjs → chunk-72MEXMSH.mjs} +1 -1
  22. package/dist/cli/{chunk-CN4MXBZ3.js → chunk-73IZARR5.js} +13 -13
  23. package/dist/cli/{chunk-ULU4MEXN.mjs → chunk-7AFTLM74.mjs} +2 -2
  24. package/dist/cli/{chunk-VTPMBOHZ.mjs → chunk-ACS6BYE5.mjs} +2 -2
  25. package/dist/cli/{chunk-MSCYYFLY.js → chunk-AHQDUMDM.js} +20 -20
  26. package/dist/cli/{chunk-CDIMI54H.mjs → chunk-AXKFZIXC.mjs} +2 -2
  27. package/dist/cli/{chunk-2MIJMDGF.mjs → chunk-AXOQ2FMS.mjs} +1 -1
  28. package/dist/cli/{chunk-6U3THMRI.js → chunk-BUMCOVBP.js} +5 -5
  29. package/dist/cli/{chunk-ZTKLJADJ.mjs → chunk-C233ZRNX.mjs} +4 -4
  30. package/dist/cli/{chunk-INRXX4SX.js → chunk-C7UCDL2K.js} +41 -41
  31. package/dist/cli/{chunk-ZAKNDIK7.js → chunk-CCC3NIYB.js} +9 -9
  32. package/dist/cli/{chunk-N5VJVVVV.mjs → chunk-DNYFNOWG.mjs} +5 -5
  33. package/dist/cli/{chunk-VVENTTSA.mjs → chunk-EHV52KUV.mjs} +1 -1
  34. package/dist/cli/{chunk-WCNJSZHC.mjs → chunk-GFX6CDAB.mjs} +5 -5
  35. package/dist/cli/{chunk-J6ITN2X6.js → chunk-GQHZV7EQ.js} +7 -7
  36. package/dist/cli/{chunk-SNYH4QY2.js → chunk-H4BYWEV5.js} +4 -4
  37. package/dist/cli/{chunk-DZMQV5FL.mjs → chunk-H7F3ROT3.mjs} +2 -2
  38. package/dist/cli/{chunk-3FMGBMT3.mjs → chunk-HOGRT5X6.mjs} +1 -1
  39. package/dist/cli/{chunk-LJZESBNY.js → chunk-HYT5B2NL.js} +2 -2
  40. package/dist/cli/{chunk-INXRW5AF.mjs → chunk-J54DMFV5.mjs} +2 -2
  41. package/dist/cli/{chunk-OVJWDFIL.mjs → chunk-JQT3SHXL.mjs} +1 -1
  42. package/dist/cli/{chunk-46EBSUZF.mjs → chunk-K6GDSCFL.mjs} +3 -3
  43. package/dist/cli/{chunk-YTPXKG4C.mjs → chunk-KSXBLXLV.mjs} +1 -1
  44. package/dist/cli/{chunk-Y36SQMSN.js → chunk-LHD3HOYN.js} +19 -0
  45. package/dist/cli/{chunk-WVFDPC4K.mjs → chunk-LVJAHM2I.mjs} +3 -3
  46. package/dist/cli/{chunk-CNRPE3AE.js → chunk-MEAWK5G7.js} +53 -53
  47. package/dist/cli/{chunk-3LP7J63L.js → chunk-MFPHCUHK.js} +5 -5
  48. package/dist/cli/{chunk-ALXIC5U5.mjs → chunk-N5RCXI3M.mjs} +5 -5
  49. package/dist/cli/{chunk-E5ITZIWK.js → chunk-N5XRUZRS.js} +16 -16
  50. package/dist/cli/{chunk-BDNQDWGI.mjs → chunk-P2YNTAGL.mjs} +2 -2
  51. package/dist/cli/{chunk-E2EGQNOS.js → chunk-PGUK5VPC.js} +2 -2
  52. package/dist/cli/{chunk-VWPM4OIC.js → chunk-PULU5YGX.js} +20 -20
  53. package/dist/cli/{chunk-P5ZZY4RM.mjs → chunk-PVDP3AZY.mjs} +4 -4
  54. package/dist/cli/{chunk-PLGJG5FX.js → chunk-QGOHEJVJ.js} +5 -5
  55. package/dist/cli/{chunk-BQL34VOQ.js → chunk-QPN662ZP.js} +100 -100
  56. package/dist/cli/{chunk-KO6OLYSD.js → chunk-RO2LTLJA.js} +48 -48
  57. package/dist/cli/{chunk-VNW454PP.mjs → chunk-ROWROMXD.mjs} +1 -1
  58. package/dist/cli/{chunk-Z3MJX3PP.mjs → chunk-U6BTY4WS.mjs} +1 -1
  59. package/dist/cli/{chunk-FXSDDEAR.js → chunk-VH45GV3T.js} +1 -1
  60. package/dist/cli/{chunk-2RLMHWXW.js → chunk-VXDKL434.js} +3 -3
  61. package/dist/cli/{chunk-SZ76UE7C.mjs → chunk-VXEZKZU4.mjs} +11 -11
  62. package/dist/cli/{chunk-A4IOPFEJ.js → chunk-W3ECB7GC.js} +3 -3
  63. package/dist/cli/{chunk-E5O4CMHZ.mjs → chunk-W5WLWRKL.mjs} +2 -2
  64. package/dist/cli/{chunk-O5FIWG2O.js → chunk-WAZR72D5.js} +26 -26
  65. package/dist/cli/{chunk-VJR4CKYJ.js → chunk-WUVDJSZE.js} +23 -23
  66. package/dist/cli/{chunk-BULUFFST.js → chunk-YRNWA2IL.js} +15 -15
  67. package/dist/cli/{chunk-IT3F7P6O.js → chunk-ZFJNIZHI.js} +10 -10
  68. package/dist/cli/{chunk-3I6GA5QW.mjs → chunk-ZHIJA4MW.mjs} +1 -1
  69. package/dist/cli/command-docs.js +2 -2
  70. package/dist/cli/command-docs.mjs +1 -1
  71. package/dist/cli/concurrent-runs-help-6WUNDV77.js +22 -0
  72. package/dist/cli/{concurrent-runs-help-Z27MIIH3.mjs → concurrent-runs-help-A2Y33OQ5.mjs} +6 -6
  73. package/dist/cli/{csv-4YFTMVWQ.mjs → csv-PS74WVXE.mjs} +4 -4
  74. package/dist/cli/{csv-4TP36F5O.js → csv-TKSR2LFV.js} +13 -13
  75. package/dist/cli/{db-U5KR6SYI.mjs → db-EXLBRZ7K.mjs} +6 -6
  76. package/dist/cli/{db-L5EGGO72.js → db-R6GOM4VC.js} +27 -27
  77. package/dist/cli/describe-CA2FL2OS.js +50 -0
  78. package/dist/cli/{describe-LZXXSQ26.mjs → describe-JJBXFPVQ.mjs} +18 -18
  79. package/dist/cli/{executions-VZKRFDGM.js → executions-474U7R3Y.js} +8 -8
  80. package/dist/cli/{executions-ZWEC5DDR.mjs → executions-5PEODJQG.mjs} +6 -6
  81. package/dist/cli/{feedback-HXQTHXEZ.mjs → feedback-QUQVRDBD.mjs} +6 -6
  82. package/dist/cli/{feedback-BTJIJCQF.js → feedback-URTCAOXP.js} +14 -14
  83. package/dist/cli/{git-P6A45MMT.mjs → git-AQF23KKU.mjs} +5 -5
  84. package/dist/cli/git-WJ4V2B4T.js +26 -0
  85. package/dist/cli/index.js +148 -148
  86. package/dist/cli/index.mjs +47 -47
  87. package/dist/cli/{integrations-4POM2CJ3.mjs → integrations-5POBI72U.mjs} +7 -7
  88. package/dist/cli/{integrations-VSJQBRFS.js → integrations-NMFOOSS4.js} +29 -29
  89. package/dist/cli/{legacy-noops-I65MIKH2.mjs → legacy-noops-6YVCOSFO.mjs} +6 -6
  90. package/dist/cli/{legacy-noops-QOJGSGVO.js → legacy-noops-V75T5LHV.js} +9 -9
  91. package/dist/cli/{mcp-TGY6SRAC.mjs → mcp-7WEYQ5V7.mjs} +4 -4
  92. package/dist/cli/{mcp-WTKBSLSD.js → mcp-N6GYXCUQ.js} +24 -24
  93. package/dist/cli/{monitors-TLWVEXW6.js → monitors-HW4H4PE5.js} +100 -100
  94. package/dist/cli/{monitors-E2ENT4RY.mjs → monitors-TAK4M5Y4.mjs} +7 -7
  95. package/dist/cli/{org-J2LGW5ZR.mjs → org-3C2RN36N.mjs} +6 -6
  96. package/dist/cli/{org-PZPJJU7K.js → org-FULXOXNE.js} +121 -121
  97. package/dist/cli/{outcomes-TMJDASU5.mjs → outcomes-4KRZL6OL.mjs} +6 -6
  98. package/dist/cli/{outcomes-Z6ZNBJ3U.js → outcomes-O3HDQWGN.js} +14 -14
  99. package/dist/cli/{play-ZOOC57X4.js → play-HA4RGX7T.js} +336 -336
  100. package/dist/cli/{play-S3Z24HUS.mjs → play-ZTRWUODW.mjs} +19 -19
  101. package/dist/cli/{providers-O4Y2YBS7.js → providers-DXMKWBZN.js} +9 -9
  102. package/dist/cli/{providers-ETD6YLFL.mjs → providers-FAKWWJE2.mjs} +6 -6
  103. package/dist/cli/{quickstart-NZALIRBP.js → quickstart-MA74UPNI.js} +6 -6
  104. package/dist/cli/{quickstart-QZX32Y5T.mjs → quickstart-YWGBTW77.mjs} +4 -4
  105. package/dist/cli/{run-5UXSWJ7N.js → run-4DXSGXRB.js} +44 -44
  106. package/dist/cli/{run-HCVBRE2P.mjs → run-QHCYMSBP.mjs} +23 -23
  107. package/dist/cli/{search-Z247K76U.mjs → search-N4ZOK5XX.mjs} +7 -7
  108. package/dist/cli/search-V765JH2H.js +32 -0
  109. package/dist/cli/{search-output-XFKEGUJA.js → search-output-D5VAC52B.js} +6 -6
  110. package/dist/cli/{search-output-XCJI3XRA.mjs → search-output-F2OYLVK2.mjs} +4 -4
  111. package/dist/cli/{secrets-VUQLTUTM.js → secrets-3KETOTDS.js} +15 -15
  112. package/dist/cli/{secrets-7JZXHLRU.mjs → secrets-LD4FVAQI.mjs} +6 -6
  113. package/dist/cli/{sessions-UNGJ342N.mjs → sessions-LPLI4Z4O.mjs} +6 -6
  114. package/dist/cli/sessions-XC65OMDS.js +23 -0
  115. package/dist/cli/{settings-67TIT4MZ.mjs → settings-NCGPJG3Z.mjs} +12 -12
  116. package/dist/cli/{settings-WG5YNHC5.js → settings-NFBTCOMB.js} +85 -85
  117. package/dist/cli/{setup-IYUNW5ZP.js → setup-ATBSUSH4.js} +49 -49
  118. package/dist/cli/{setup-KMAAJOZM.mjs → setup-NH6MRYXZ.mjs} +9 -9
  119. package/dist/cli/skills-4NQBTGOL.js +37 -0
  120. package/dist/cli/{skills-UVS4DODN.mjs → skills-ITPBPIXD.mjs} +7 -7
  121. package/dist/cli/{tools-B42JY4BX.mjs → tools-2XZPR65V.mjs} +17 -17
  122. package/dist/cli/tools-ZVOFATX2.js +57 -0
  123. package/dist/cli/update-QME3KPOP.js +37 -0
  124. package/dist/cli/{update-EBYZZ7BW.mjs → update-VFB22FWO.mjs} +9 -9
  125. package/dist/cli/{views-QK3AFD2D.mjs → views-MRN3HWTG.mjs} +6 -6
  126. package/dist/cli/{views-DOUEKLEV.js → views-WJUZOQM2.js} +21 -21
  127. package/dist/cli/{workflow-UBJPGRKF.mjs → workflow-A6P7YV5W.mjs} +42 -18
  128. package/dist/cli/{workflow-TAKT2T7A.js → workflow-Q4JFBTVH.js} +53 -29
  129. package/dist/index.js +9 -9
  130. package/dist/index.mjs +6 -6
  131. package/dist/install-integrity.json +116 -116
  132. package/dist/release.d.mts +1 -1
  133. package/dist/release.d.ts +1 -1
  134. package/dist/release.js +2 -2
  135. package/dist/release.mjs +1 -1
  136. package/dist/server.js +5 -5
  137. package/dist/server.mjs +3 -3
  138. package/package.json +1 -1
  139. package/dist/cli/auth-UYQHRHYR.js +0 -44
  140. package/dist/cli/concurrent-runs-help-QWDTLZUX.js +0 -22
  141. package/dist/cli/describe-G3SUS76P.js +0 -50
  142. package/dist/cli/git-QU673DBV.js +0 -26
  143. package/dist/cli/search-T3SLR55O.js +0 -32
  144. package/dist/cli/sessions-GHW2H7N2.js +0 -23
  145. package/dist/cli/skills-JVLCEUBF.js +0 -37
  146. package/dist/cli/tools-ETA3BJNM.js +0 -57
  147. package/dist/cli/update-XZEBQCEY.js +0 -37
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-BDNQDWGI.mjs";
4
- import "./chunk-3I6GA5QW.mjs";
3
+ } from "./chunk-P2YNTAGL.mjs";
4
+ import "./chunk-ZHIJA4MW.mjs";
5
5
  import "./chunk-FZHMNK6F.mjs";
6
6
  import "./chunk-5TYLSS4Q.mjs";
7
7
  import "./chunk-PSX3WHIH.mjs";
8
8
  import {
9
9
  printCommandEnvelope
10
- } from "./chunk-ULU4MEXN.mjs";
10
+ } from "./chunk-7AFTLM74.mjs";
11
11
  import {
12
12
  cliFeatureEnabled
13
- } from "./chunk-Z3MJX3PP.mjs";
14
- import "./chunk-2MIJMDGF.mjs";
13
+ } from "./chunk-U6BTY4WS.mjs";
14
+ import "./chunk-AXOQ2FMS.mjs";
15
15
  import "./chunk-ASB47RXJ.mjs";
16
16
  import "./chunk-DLIRSHV6.mjs";
17
17
  import "./chunk-Z3A2S3QM.mjs";
18
18
  import "./chunk-2MGZAI54.mjs";
19
- import "./chunk-VVENTTSA.mjs";
19
+ import "./chunk-EHV52KUV.mjs";
20
20
  import "./chunk-WZYKRD7T.mjs";
21
21
  import "./chunk-KRD6H754.mjs";
22
22
 
@@ -1,22 +1,22 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunk3LP7J63Ljs = require('./chunk-3LP7J63L.js');
4
- require('./chunk-5XVDZVCR.js');
3
+ var _chunkMFPHCUHKjs = require('./chunk-MFPHCUHK.js');
4
+ require('./chunk-6GYGMWQV.js');
5
5
  require('./chunk-4WAM6TLD.js');
6
6
  require('./chunk-MJTVX4QK.js');
7
7
  require('./chunk-PMH4GLMD.js');
8
8
 
9
9
 
10
- var _chunkVWPM4OICjs = require('./chunk-VWPM4OIC.js');
10
+ var _chunkPULU5YGXjs = require('./chunk-PULU5YGX.js');
11
11
 
12
12
 
13
- var _chunk2RLMHWXWjs = require('./chunk-2RLMHWXW.js');
14
- require('./chunk-SNYH4QY2.js');
13
+ var _chunkVXDKL434js = require('./chunk-VXDKL434.js');
14
+ require('./chunk-H4BYWEV5.js');
15
15
  require('./chunk-6VLFQZK6.js');
16
16
  require('./chunk-XNYIZMNQ.js');
17
17
  require('./chunk-LFQJW4S2.js');
18
18
  require('./chunk-CFJFUVX2.js');
19
- require('./chunk-FXSDDEAR.js');
19
+ require('./chunk-VH45GV3T.js');
20
20
  require('./chunk-OG64RBAC.js');
21
21
  require('./chunk-COGTRVWW.js');
22
22
 
@@ -24,7 +24,7 @@ require('./chunk-COGTRVWW.js');
24
24
  var _promises = require('fs/promises');
25
25
  var VIEWS_FEATURE = "views";
26
26
  function print(command, json, data, lines) {
27
- _chunkVWPM4OICjs.printCommandEnvelope.call(void 0,
27
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0,
28
28
  { command, ...data, render: { sections: [{ title: command, lines }] } },
29
29
  { json: Boolean(json), text: `${lines.join("\n")}
30
30
  ` }
@@ -69,7 +69,7 @@ function viewLines(view) {
69
69
  ];
70
70
  }
71
71
  function registerViewsCommands(program) {
72
- const views = program.command("views", { hidden: !_chunk2RLMHWXWjs.cliFeatureEnabled.call(void 0, VIEWS_FEATURE) }).description(
72
+ const views = program.command("views", { hidden: !_chunkVXDKL434js.cliFeatureEnabled.call(void 0, VIEWS_FEATURE) }).description(
73
73
  "Show what a Play returns at a fixed URL on views.deepline.com."
74
74
  ).addHelpText(
75
75
  "after",
@@ -82,7 +82,7 @@ Examples:
82
82
  );
83
83
  views.command("list").description("List this org's views.").option("--cursor <cursor>", "Continue from a previous page of results").option("--limit <n>", "Results per request, up to 100", Number).option("--json", "Emit raw JSON response").action(
84
84
  async (options) => run(async () => {
85
- const result = await new (0, _chunk3LP7J63Ljs.DeeplineClient)().listViews({
85
+ const result = await new (0, _chunkMFPHCUHKjs.DeeplineClient)().listViews({
86
86
  cursor: options.cursor,
87
87
  limit: options.limit
88
88
  });
@@ -97,7 +97,7 @@ Examples:
97
97
  );
98
98
  views.command("get <id>").description("Show one view and what you may do with it.").option("--json", "Emit raw JSON response").action(
99
99
  async (id, options) => run(async () => {
100
- const view = await new (0, _chunk3LP7J63Ljs.DeeplineClient)().getView(id);
100
+ const view = await new (0, _chunkMFPHCUHKjs.DeeplineClient)().getView(id);
101
101
  print("views get", options.json, view, [
102
102
  ...viewLines(view),
103
103
  ` saved input ${JSON.stringify(view.input)}`
@@ -116,7 +116,7 @@ Examples:
116
116
  `
117
117
  ).action(
118
118
  async (options) => run(async () => {
119
- const view = await new (0, _chunk3LP7J63Ljs.DeeplineClient)().createView({
119
+ const view = await new (0, _chunkMFPHCUHKjs.DeeplineClient)().createView({
120
120
  name: options.name,
121
121
  play: options.play,
122
122
  ...options.input !== void 0 ? {
@@ -152,13 +152,13 @@ Examples:
152
152
  if (Object.keys(fields).length === 0) {
153
153
  throw new Error("Nothing to change. See: deepline views edit --help");
154
154
  }
155
- const view = await new (0, _chunk3LP7J63Ljs.DeeplineClient)().updateView(id, fields);
155
+ const view = await new (0, _chunkMFPHCUHKjs.DeeplineClient)().updateView(id, fields);
156
156
  print("views edit", options.json, view, viewLines(view));
157
157
  })
158
158
  );
159
159
  views.command("runs <id>").description("List runs of the view's Play, newest first.").option("--limit <n>", "Runs to list, up to 100", Number).option("--json", "Emit raw JSON response").action(
160
160
  async (id, options) => run(async () => {
161
- const result = await new (0, _chunk3LP7J63Ljs.DeeplineClient)().listViewRuns(id, {
161
+ const result = await new (0, _chunkMFPHCUHKjs.DeeplineClient)().listViewRuns(id, {
162
162
  limit: options.limit
163
163
  });
164
164
  print("views runs", options.json, result, [
@@ -177,7 +177,7 @@ Examples:
177
177
  ).option("--json", "Emit raw JSON response").action(
178
178
  async (id, options) => run(async () => {
179
179
  const input = options.input !== void 0 ? await readJsonOption(options.input, "--input") : void 0;
180
- const started = await new (0, _chunk3LP7J63Ljs.DeeplineClient)().refreshView(id, input);
180
+ const started = await new (0, _chunkMFPHCUHKjs.DeeplineClient)().refreshView(id, input);
181
181
  print("views refresh", options.json, started, [
182
182
  `Started run ${started.workflowId}.`,
183
183
  `Watch it: deepline runs get ${started.workflowId}`
@@ -196,7 +196,7 @@ Examples:
196
196
  "Use either --embed-origin or --clear-embed-origins."
197
197
  );
198
198
  }
199
- const view = await new (0, _chunk3LP7J63Ljs.DeeplineClient)().setViewAccess(
199
+ const view = await new (0, _chunkMFPHCUHKjs.DeeplineClient)().setViewAccess(
200
200
  id,
201
201
  parseViewAccess(access),
202
202
  {
@@ -218,7 +218,7 @@ Examples:
218
218
  "List a view's share links. Their URLs are shown only once, when created."
219
219
  ).option("--json", "Emit raw JSON response").action(
220
220
  async (id, options) => run(async () => {
221
- const result = await new (0, _chunk3LP7J63Ljs.DeeplineClient)().listViewShareLinks(id);
221
+ const result = await new (0, _chunkMFPHCUHKjs.DeeplineClient)().listViewShareLinks(id);
222
222
  print(
223
223
  "views links list",
224
224
  options.json,
@@ -238,7 +238,7 @@ Examples:
238
238
  ).option("--json", "Emit raw JSON response").action(
239
239
  async (id, options) => run(async () => {
240
240
  const emails = options.email ? String(options.email).split(",").map((email) => email.trim()).filter(Boolean) : void 0;
241
- const link = await new (0, _chunk3LP7J63Ljs.DeeplineClient)().createViewShareLink(id, {
241
+ const link = await new (0, _chunkMFPHCUHKjs.DeeplineClient)().createViewShareLink(id, {
242
242
  expires: options.expires,
243
243
  ...options.label ? { label: options.label } : {},
244
244
  ...emails ? { emails } : {}
@@ -254,13 +254,13 @@ Examples:
254
254
  );
255
255
  links.command("revoke <id> <linkId>").description("Revoke a share link. It stops opening the view at once.").option("--json", "Emit raw JSON response").action(
256
256
  async (id, linkId, options) => run(async () => {
257
- const link = await new (0, _chunk3LP7J63Ljs.DeeplineClient)().revokeViewShareLink(id, linkId);
257
+ const link = await new (0, _chunkMFPHCUHKjs.DeeplineClient)().revokeViewShareLink(id, linkId);
258
258
  print("views links revoke", options.json, link, [linkLine(link)]);
259
259
  })
260
260
  );
261
261
  views.command("delete <id>").description("Delete a view. Its Play and runs are not touched.").option("--json", "Emit raw JSON response").action(
262
262
  async (id, options) => run(async () => {
263
- const result = await new (0, _chunk3LP7J63Ljs.DeeplineClient)().deleteView(id);
263
+ const result = await new (0, _chunkMFPHCUHKjs.DeeplineClient)().deleteView(id);
264
264
  print("views delete", options.json, result, [`Deleted view ${id}.`]);
265
265
  })
266
266
  );
@@ -269,7 +269,7 @@ Examples:
269
269
  );
270
270
  permissions.command("get", { isDefault: true }).description("Show the org's view rules and what you may do.").option("--json", "Emit raw JSON response").action(
271
271
  async (options) => run(async () => {
272
- const result = await new (0, _chunk3LP7J63Ljs.DeeplineClient)().getViewPermissions();
272
+ const result = await new (0, _chunkMFPHCUHKjs.DeeplineClient)().getViewPermissions();
273
273
  print("views permissions", options.json, result, [
274
274
  ...Object.entries(result.rules).map(
275
275
  ([verb, level]) => `${verb}: ${level}`
@@ -308,7 +308,7 @@ Examples:
308
308
  "Pass at least one rule. See: deepline views permissions set --help"
309
309
  );
310
310
  }
311
- const result = await new (0, _chunk3LP7J63Ljs.DeeplineClient)().setViewPermissions(rules);
311
+ const result = await new (0, _chunkMFPHCUHKjs.DeeplineClient)().setViewPermissions(rules);
312
312
  print(
313
313
  "views permissions set",
314
314
  options.json,
@@ -6,8 +6,8 @@ import {
6
6
  } from "./chunk-H7HIDGZ7.mjs";
7
7
  import {
8
8
  DeeplineClient
9
- } from "./chunk-BDNQDWGI.mjs";
10
- import "./chunk-3I6GA5QW.mjs";
9
+ } from "./chunk-P2YNTAGL.mjs";
10
+ import "./chunk-ZHIJA4MW.mjs";
11
11
  import "./chunk-FZHMNK6F.mjs";
12
12
  import "./chunk-5TYLSS4Q.mjs";
13
13
  import "./chunk-PSX3WHIH.mjs";
@@ -16,14 +16,14 @@ import {
16
16
  printJson,
17
17
  shouldEmitJson,
18
18
  sleep
19
- } from "./chunk-ULU4MEXN.mjs";
20
- import "./chunk-Z3MJX3PP.mjs";
21
- import "./chunk-2MIJMDGF.mjs";
19
+ } from "./chunk-7AFTLM74.mjs";
20
+ import "./chunk-U6BTY4WS.mjs";
21
+ import "./chunk-AXOQ2FMS.mjs";
22
22
  import "./chunk-ASB47RXJ.mjs";
23
23
  import "./chunk-DLIRSHV6.mjs";
24
24
  import "./chunk-Z3A2S3QM.mjs";
25
25
  import "./chunk-2MGZAI54.mjs";
26
- import "./chunk-VVENTTSA.mjs";
26
+ import "./chunk-EHV52KUV.mjs";
27
27
  import "./chunk-WZYKRD7T.mjs";
28
28
  import "./chunk-KRD6H754.mjs";
29
29
 
@@ -1596,6 +1596,20 @@ var PLAY_EQUIVALENT = {
1596
1596
  delete: "deepline plays delete <name>"
1597
1597
  };
1598
1598
  var MIGRATE_HINT = "deepline workflows transform <id>";
1599
+ var RETIREMENT_FALLBACK_NOTICE = "Legacy workflows are being retired: new workflows cannot be created, and existing workflows stop running at the announced retirement date. Definitions and run history stay readable. Move to plays now.";
1600
+ function readServerDeprecationWarning(payload) {
1601
+ if (!payload || typeof payload !== "object" || Array.isArray(payload)) {
1602
+ return null;
1603
+ }
1604
+ const warning = payload.deprecation_warning;
1605
+ if (!warning || typeof warning !== "object") return null;
1606
+ const { message, sunset_at } = warning;
1607
+ if (typeof message !== "string" || message.length === 0) return null;
1608
+ return {
1609
+ message,
1610
+ sunset_at: typeof sunset_at === "string" ? sunset_at : null
1611
+ };
1612
+ }
1599
1613
  var TRIGGER_REDIRECT = "Looking to trigger a play automatically? Use a trigger binding in `export const config = { ... }` \u2014 `cron`/`webhook`, or `sqlListeners` to run on a monitor\u2019s output (see `deepline describe <id>` for a monitor\u2019s streams and the deepline-monitors skill). `workflows` only manages prebuilt plays and is deprecated in favor of `plays`.";
1600
1614
  var JSON_OPTION_DESCRIPTION = "Emit JSON output";
1601
1615
  function withJsonOption(command) {
@@ -1617,15 +1631,16 @@ function migrationDeprecation(command) {
1617
1631
  if (!use) return null;
1618
1632
  return { use, migrate: MIGRATE_HINT };
1619
1633
  }
1620
- function noticeToStderr(command) {
1634
+ function noticeToStderr(command, payload) {
1635
+ const retirement = readServerDeprecationWarning(payload)?.message ?? RETIREMENT_FALLBACK_NOTICE;
1621
1636
  const deprecation = migrationDeprecation(command);
1622
- if (!deprecation) return;
1623
1637
  process.stderr.write(
1624
- `note: \`deepline workflows ${command}\` is a legacy surface \u2014 workflows are becoming plays.
1625
- equivalent: \`${deprecation.use}\`
1638
+ `warning: ${retirement}
1639
+ ` + (deprecation ? ` equivalent: \`${deprecation.use}\`
1626
1640
  migrate this workflow: \`${MIGRATE_HINT}\`
1627
1641
  ${TRIGGER_REDIRECT}
1628
- `
1642
+ ` : ` migrate this workflow: \`${MIGRATE_HINT}\`
1643
+ `)
1629
1644
  );
1630
1645
  }
1631
1646
  function emitPassThrough(command, payload, options) {
@@ -1637,7 +1652,7 @@ function emitPassThrough(command, payload, options) {
1637
1652
  return;
1638
1653
  }
1639
1654
  printJson(payload);
1640
- noticeToStderr(command);
1655
+ if (!options.suppressNotice) noticeToStderr(command, payload);
1641
1656
  }
1642
1657
  function client() {
1643
1658
  return new DeeplineClient();
@@ -1702,7 +1717,7 @@ async function transformOne(api, workflowId, outDir, publish) {
1702
1717
  await writeFile(file, compiled.sourceCode, "utf8");
1703
1718
  let published = false;
1704
1719
  if (publish) {
1705
- const { handlePlayPublish } = await import("./play-S3Z24HUS.mjs");
1720
+ const { handlePlayPublish } = await import("./play-ZTRWUODW.mjs");
1706
1721
  const code = await handlePlayPublish([file]);
1707
1722
  if (code !== 0) {
1708
1723
  return {
@@ -1863,9 +1878,11 @@ async function handleTail(id, runId, options) {
1863
1878
  const api = client();
1864
1879
  const intervalMs = Math.max(500, Number(options.intervalMs ?? 2e3) || 2e3);
1865
1880
  const deadline = Date.now() + 10 * 6e4;
1881
+ let firstPoll = true;
1866
1882
  for (; ; ) {
1867
1883
  const run = await api.getWorkflowRun(id, runId);
1868
- emitPassThrough("tail", run, options);
1884
+ emitPassThrough("tail", run, { ...options, suppressNotice: !firstPoll });
1885
+ firstPoll = false;
1869
1886
  const status = readStatus(run);
1870
1887
  if (status && TERMINAL_RUN_STATUSES.has(status) || Date.now() > deadline) {
1871
1888
  return;
@@ -1875,12 +1892,16 @@ async function handleTail(id, runId, options) {
1875
1892
  }
1876
1893
  function registerWorkflowCommands(program) {
1877
1894
  const workflows = program.command("workflows", { hidden: true }).description(
1878
- "Legacy cloud workflows (now becoming plays). Commands still work; use `workflows transform` to migrate one to a play. " + TRIGGER_REDIRECT
1895
+ "Legacy cloud workflows (retiring; use plays). New workflows cannot be created; existing ones stop running at the announced retirement date. Use `workflows transform` to migrate one to a play. " + TRIGGER_REDIRECT
1879
1896
  ).addHelpText(
1880
1897
  "after",
1881
1898
  `
1882
- Workflows are a legacy surface. They still run in the cloud and these commands
1883
- keep working, but new work belongs in plays. Migrate a workflow with:
1899
+ Workflows are retiring. Creating a new workflow is refused
1900
+ (LEGACY_WORKFLOW_CREATION_DISABLED). Existing workflows keep running, and
1901
+ can still be applied, until the retirement date that every workflow response
1902
+ carries (deprecation_warning.sunset_at and the Sunset header). From then on
1903
+ no trigger starts a run (LEGACY_WORKFLOWS_RETIRED); definitions and run
1904
+ history stay readable. Migrate a workflow with:
1884
1905
 
1885
1906
  deepline workflows transform <id> # write a reviewable .play.ts
1886
1907
  deepline workflows transform --all --publish # migrate + publish them all
@@ -1928,7 +1949,9 @@ Notes:
1928
1949
  workflows.command("delete <id>").description("Delete a workflow and its revisions/runs.")
1929
1950
  ).action(handleDelete);
1930
1951
  withJsonOption(
1931
- workflows.command("apply").description("Create or update a workflow from config.").option("--payload <json>", "Inline config JSON").option("--file <path>", "Path to a config JSON file").option("--timeout <seconds>", "API read timeout in seconds.")
1952
+ workflows.command("apply").description(
1953
+ "Update an existing workflow from config (creating new workflows is disabled)."
1954
+ ).option("--payload <json>", "Inline config JSON").option("--file <path>", "Path to a config JSON file").option("--timeout <seconds>", "API read timeout in seconds.")
1932
1955
  ).action(handleApply);
1933
1956
  withJsonOption(
1934
1957
  workflows.command("lint").description("Validate a workflow config without saving.").option("--payload <json>", "Inline config JSON").option("--file <path>", "Path to a config JSON file")
@@ -1959,6 +1982,7 @@ export {
1959
1982
  emitPassThrough,
1960
1983
  migrationDeprecation,
1961
1984
  noticeToStderr,
1985
+ readServerDeprecationWarning,
1962
1986
  registerWorkflowCommands,
1963
1987
  renderTransformReport,
1964
1988
  transformOne
@@ -6,8 +6,8 @@ var _chunk3XX5TEA4js = require('./chunk-3XX5TEA4.js');
6
6
  var _chunk3KC45UVFjs = require('./chunk-3KC45UVF.js');
7
7
 
8
8
 
9
- var _chunk3LP7J63Ljs = require('./chunk-3LP7J63L.js');
10
- require('./chunk-5XVDZVCR.js');
9
+ var _chunkMFPHCUHKjs = require('./chunk-MFPHCUHK.js');
10
+ require('./chunk-6GYGMWQV.js');
11
11
  require('./chunk-4WAM6TLD.js');
12
12
  require('./chunk-MJTVX4QK.js');
13
13
  require('./chunk-PMH4GLMD.js');
@@ -16,14 +16,14 @@ require('./chunk-PMH4GLMD.js');
16
16
 
17
17
 
18
18
 
19
- var _chunkVWPM4OICjs = require('./chunk-VWPM4OIC.js');
20
- require('./chunk-2RLMHWXW.js');
21
- require('./chunk-SNYH4QY2.js');
19
+ var _chunkPULU5YGXjs = require('./chunk-PULU5YGX.js');
20
+ require('./chunk-VXDKL434.js');
21
+ require('./chunk-H4BYWEV5.js');
22
22
  require('./chunk-6VLFQZK6.js');
23
23
  require('./chunk-XNYIZMNQ.js');
24
24
  require('./chunk-LFQJW4S2.js');
25
25
  require('./chunk-CFJFUVX2.js');
26
- require('./chunk-FXSDDEAR.js');
26
+ require('./chunk-VH45GV3T.js');
27
27
  require('./chunk-OG64RBAC.js');
28
28
  require('./chunk-COGTRVWW.js');
29
29
 
@@ -1596,6 +1596,20 @@ var PLAY_EQUIVALENT = {
1596
1596
  delete: "deepline plays delete <name>"
1597
1597
  };
1598
1598
  var MIGRATE_HINT = "deepline workflows transform <id>";
1599
+ var RETIREMENT_FALLBACK_NOTICE = "Legacy workflows are being retired: new workflows cannot be created, and existing workflows stop running at the announced retirement date. Definitions and run history stay readable. Move to plays now.";
1600
+ function readServerDeprecationWarning(payload) {
1601
+ if (!payload || typeof payload !== "object" || Array.isArray(payload)) {
1602
+ return null;
1603
+ }
1604
+ const warning = payload.deprecation_warning;
1605
+ if (!warning || typeof warning !== "object") return null;
1606
+ const { message, sunset_at } = warning;
1607
+ if (typeof message !== "string" || message.length === 0) return null;
1608
+ return {
1609
+ message,
1610
+ sunset_at: typeof sunset_at === "string" ? sunset_at : null
1611
+ };
1612
+ }
1599
1613
  var TRIGGER_REDIRECT = "Looking to trigger a play automatically? Use a trigger binding in `export const config = { ... }` \u2014 `cron`/`webhook`, or `sqlListeners` to run on a monitor\u2019s output (see `deepline describe <id>` for a monitor\u2019s streams and the deepline-monitors skill). `workflows` only manages prebuilt plays and is deprecated in favor of `plays`.";
1600
1614
  var JSON_OPTION_DESCRIPTION = "Emit JSON output";
1601
1615
  function withJsonOption(command) {
@@ -1617,30 +1631,31 @@ function migrationDeprecation(command) {
1617
1631
  if (!use) return null;
1618
1632
  return { use, migrate: MIGRATE_HINT };
1619
1633
  }
1620
- function noticeToStderr(command) {
1634
+ function noticeToStderr(command, payload) {
1635
+ const retirement = _nullishCoalesce(_optionalChain([readServerDeprecationWarning, 'call', _27 => _27(payload), 'optionalAccess', _28 => _28.message]), () => ( RETIREMENT_FALLBACK_NOTICE));
1621
1636
  const deprecation = migrationDeprecation(command);
1622
- if (!deprecation) return;
1623
1637
  process.stderr.write(
1624
- `note: \`deepline workflows ${command}\` is a legacy surface \u2014 workflows are becoming plays.
1625
- equivalent: \`${deprecation.use}\`
1638
+ `warning: ${retirement}
1639
+ ` + (deprecation ? ` equivalent: \`${deprecation.use}\`
1626
1640
  migrate this workflow: \`${MIGRATE_HINT}\`
1627
1641
  ${TRIGGER_REDIRECT}
1628
- `
1642
+ ` : ` migrate this workflow: \`${MIGRATE_HINT}\`
1643
+ `)
1629
1644
  );
1630
1645
  }
1631
1646
  function emitPassThrough(command, payload, options) {
1632
- const json = _chunkVWPM4OICjs.shouldEmitJson.call(void 0, options.json);
1647
+ const json = _chunkPULU5YGXjs.shouldEmitJson.call(void 0, options.json);
1633
1648
  const deprecation = migrationDeprecation(command);
1634
1649
  if (json) {
1635
1650
  const enriched = payload && typeof payload === "object" && !Array.isArray(payload) ? { ...payload, deprecation } : { result: payload, deprecation };
1636
- _chunkVWPM4OICjs.printJson.call(void 0, enriched);
1651
+ _chunkPULU5YGXjs.printJson.call(void 0, enriched);
1637
1652
  return;
1638
1653
  }
1639
- _chunkVWPM4OICjs.printJson.call(void 0, payload);
1640
- noticeToStderr(command);
1654
+ _chunkPULU5YGXjs.printJson.call(void 0, payload);
1655
+ if (!options.suppressNotice) noticeToStderr(command, payload);
1641
1656
  }
1642
1657
  function client() {
1643
- return new (0, _chunk3LP7J63Ljs.DeeplineClient)();
1658
+ return new (0, _chunkMFPHCUHKjs.DeeplineClient)();
1644
1659
  }
1645
1660
  function clientWithTimeout(timeoutSeconds) {
1646
1661
  if (!timeoutSeconds) return client();
@@ -1648,7 +1663,7 @@ function clientWithTimeout(timeoutSeconds) {
1648
1663
  if (!Number.isFinite(seconds) || seconds <= 0) {
1649
1664
  throw new Error("--timeout must be a positive number of seconds.");
1650
1665
  }
1651
- return new (0, _chunk3LP7J63Ljs.DeeplineClient)({ timeout: seconds * 1e3 });
1666
+ return new (0, _chunkMFPHCUHKjs.DeeplineClient)({ timeout: seconds * 1e3 });
1652
1667
  }
1653
1668
  function readStatus(payload) {
1654
1669
  if (!payload || typeof payload !== "object") return null;
@@ -1702,7 +1717,7 @@ async function transformOne(api, workflowId, outDir, publish) {
1702
1717
  await _promises.writeFile.call(void 0, file, compiled.sourceCode, "utf8");
1703
1718
  let published = false;
1704
1719
  if (publish) {
1705
- const { handlePlayPublish } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-ZOOC57X4.js")));
1720
+ const { handlePlayPublish } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-HA4RGX7T.js")));
1706
1721
  const code = await handlePlayPublish([file]);
1707
1722
  if (code !== 0) {
1708
1723
  return {
@@ -1777,10 +1792,10 @@ async function handleTransform(id, options) {
1777
1792
  for (const workflowId of ids) {
1778
1793
  outcomes.push(await transformOne(api, workflowId, outDir, publish));
1779
1794
  }
1780
- _chunkVWPM4OICjs.printCommandEnvelope.call(void 0,
1795
+ _chunkPULU5YGXjs.printCommandEnvelope.call(void 0,
1781
1796
  { outcomes, deprecation: null },
1782
1797
  {
1783
- json: _chunkVWPM4OICjs.shouldEmitJson.call(void 0, options.json),
1798
+ json: _chunkPULU5YGXjs.shouldEmitJson.call(void 0, options.json),
1784
1799
  text: renderTransformReport(outcomes)
1785
1800
  }
1786
1801
  );
@@ -1801,11 +1816,11 @@ async function handleDelete(id, options) {
1801
1816
  }
1802
1817
  async function handleDisable(id, options) {
1803
1818
  const result = await client().disableWorkflow(id);
1804
- _chunkVWPM4OICjs.printJson.call(void 0, result);
1819
+ _chunkPULU5YGXjs.printJson.call(void 0, result);
1805
1820
  }
1806
1821
  async function handleEnable(id, options) {
1807
1822
  const result = await client().enableWorkflow(id);
1808
- _chunkVWPM4OICjs.printJson.call(void 0, result);
1823
+ _chunkPULU5YGXjs.printJson.call(void 0, result);
1809
1824
  }
1810
1825
  async function handleApply(options) {
1811
1826
  const body = await readJsonOption(options.payload, options.file);
@@ -1863,24 +1878,30 @@ async function handleTail(id, runId, options) {
1863
1878
  const api = client();
1864
1879
  const intervalMs = Math.max(500, Number(_nullishCoalesce(options.intervalMs, () => ( 2e3))) || 2e3);
1865
1880
  const deadline = Date.now() + 10 * 6e4;
1881
+ let firstPoll = true;
1866
1882
  for (; ; ) {
1867
1883
  const run = await api.getWorkflowRun(id, runId);
1868
- emitPassThrough("tail", run, options);
1884
+ emitPassThrough("tail", run, { ...options, suppressNotice: !firstPoll });
1885
+ firstPoll = false;
1869
1886
  const status = readStatus(run);
1870
1887
  if (status && TERMINAL_RUN_STATUSES.has(status) || Date.now() > deadline) {
1871
1888
  return;
1872
1889
  }
1873
- await _chunkVWPM4OICjs.sleep.call(void 0, intervalMs);
1890
+ await _chunkPULU5YGXjs.sleep.call(void 0, intervalMs);
1874
1891
  }
1875
1892
  }
1876
1893
  function registerWorkflowCommands(program) {
1877
1894
  const workflows = program.command("workflows", { hidden: true }).description(
1878
- "Legacy cloud workflows (now becoming plays). Commands still work; use `workflows transform` to migrate one to a play. " + TRIGGER_REDIRECT
1895
+ "Legacy cloud workflows (retiring; use plays). New workflows cannot be created; existing ones stop running at the announced retirement date. Use `workflows transform` to migrate one to a play. " + TRIGGER_REDIRECT
1879
1896
  ).addHelpText(
1880
1897
  "after",
1881
1898
  `
1882
- Workflows are a legacy surface. They still run in the cloud and these commands
1883
- keep working, but new work belongs in plays. Migrate a workflow with:
1899
+ Workflows are retiring. Creating a new workflow is refused
1900
+ (LEGACY_WORKFLOW_CREATION_DISABLED). Existing workflows keep running, and
1901
+ can still be applied, until the retirement date that every workflow response
1902
+ carries (deprecation_warning.sunset_at and the Sunset header). From then on
1903
+ no trigger starts a run (LEGACY_WORKFLOWS_RETIRED); definitions and run
1904
+ history stay readable. Migrate a workflow with:
1884
1905
 
1885
1906
  deepline workflows transform <id> # write a reviewable .play.ts
1886
1907
  deepline workflows transform --all --publish # migrate + publish them all
@@ -1928,7 +1949,9 @@ Notes:
1928
1949
  workflows.command("delete <id>").description("Delete a workflow and its revisions/runs.")
1929
1950
  ).action(handleDelete);
1930
1951
  withJsonOption(
1931
- workflows.command("apply").description("Create or update a workflow from config.").option("--payload <json>", "Inline config JSON").option("--file <path>", "Path to a config JSON file").option("--timeout <seconds>", "API read timeout in seconds.")
1952
+ workflows.command("apply").description(
1953
+ "Update an existing workflow from config (creating new workflows is disabled)."
1954
+ ).option("--payload <json>", "Inline config JSON").option("--file <path>", "Path to a config JSON file").option("--timeout <seconds>", "API read timeout in seconds.")
1932
1955
  ).action(handleApply);
1933
1956
  withJsonOption(
1934
1957
  workflows.command("lint").description("Validate a workflow config without saving.").option("--payload <json>", "Inline config JSON").option("--file <path>", "Path to a config JSON file")
@@ -1962,4 +1985,5 @@ Notes:
1962
1985
 
1963
1986
 
1964
1987
 
1965
- exports.emitPassThrough = emitPassThrough; exports.migrationDeprecation = migrationDeprecation; exports.noticeToStderr = noticeToStderr; exports.registerWorkflowCommands = registerWorkflowCommands; exports.renderTransformReport = renderTransformReport; exports.transformOne = transformOne;
1988
+
1989
+ exports.emitPassThrough = emitPassThrough; exports.migrationDeprecation = migrationDeprecation; exports.noticeToStderr = noticeToStderr; exports.readServerDeprecationWarning = readServerDeprecationWarning; exports.registerWorkflowCommands = registerWorkflowCommands; exports.renderTransformReport = renderTransformReport; exports.transformOne = transformOne;
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunk6U3THMRIjs = require('./cli/chunk-6U3THMRI.js');
6
+ var _chunkBUMCOVBPjs = require('./cli/chunk-BUMCOVBP.js');
7
7
 
8
8
 
9
9
 
@@ -12,7 +12,7 @@ var _chunk6U3THMRIjs = require('./cli/chunk-6U3THMRI.js');
12
12
  var _chunkHGFFYVXNjs = require('./cli/chunk-HGFFYVXN.js');
13
13
 
14
14
 
15
- var _chunk3LP7J63Ljs = require('./cli/chunk-3LP7J63L.js');
15
+ var _chunkMFPHCUHKjs = require('./cli/chunk-MFPHCUHK.js');
16
16
 
17
17
 
18
18
 
@@ -37,7 +37,7 @@ var _chunkVKKVSFRDjs = require('./cli/chunk-VKKVSFRD.js');
37
37
 
38
38
 
39
39
 
40
- var _chunk5XVDZVCRjs = require('./cli/chunk-5XVDZVCR.js');
40
+ var _chunk6GYGMWQVjs = require('./cli/chunk-6GYGMWQV.js');
41
41
 
42
42
 
43
43
  var _chunk4WAM6TLDjs = require('./cli/chunk-4WAM6TLD.js');
@@ -65,11 +65,11 @@ var _chunkU2LVWCTDjs = require('./cli/chunk-U2LVWCTD.js');
65
65
 
66
66
 
67
67
 
68
- var _chunk2RLMHWXWjs = require('./cli/chunk-2RLMHWXW.js');
68
+ var _chunkVXDKL434js = require('./cli/chunk-VXDKL434.js');
69
69
 
70
70
 
71
71
 
72
- var _chunkSNYH4QY2js = require('./cli/chunk-SNYH4QY2.js');
72
+ var _chunkH4BYWEV5js = require('./cli/chunk-H4BYWEV5.js');
73
73
 
74
74
 
75
75
 
@@ -91,7 +91,7 @@ var _chunkLFQJW4S2js = require('./cli/chunk-LFQJW4S2.js');
91
91
 
92
92
 
93
93
  var _chunkCFJFUVX2js = require('./cli/chunk-CFJFUVX2.js');
94
- require('./cli/chunk-FXSDDEAR.js');
94
+ require('./cli/chunk-VH45GV3T.js');
95
95
  require('./cli/chunk-OG64RBAC.js');
96
96
  require('./cli/chunk-COGTRVWW.js');
97
97
 
@@ -2088,7 +2088,7 @@ var DeeplineContext = class {
2088
2088
  * @param options - Optional SDK client configuration.
2089
2089
  */
2090
2090
  constructor(options) {
2091
- this.client = new (0, _chunk3LP7J63Ljs.DeeplineClient)(options);
2091
+ this.client = new (0, _chunkMFPHCUHKjs.DeeplineClient)(options);
2092
2092
  }
2093
2093
  /**
2094
2094
  * Tool operations namespace.
@@ -2588,7 +2588,7 @@ function definePlay(nameOrConfig, maybeFn, maybeBindings) {
2588
2588
  writable: false
2589
2589
  });
2590
2590
  const handle = createNamedPlayHandle(
2591
- () => _chunk6U3THMRIjs.createPlayClient.call(void 0, ),
2591
+ () => _chunkBUMCOVBPjs.createPlayClient.call(void 0, ),
2592
2592
  name
2593
2593
  );
2594
2594
  for (const key of [
@@ -2755,4 +2755,4 @@ var DEEPLINE_TOOL_CATEGORIES = [
2755
2755
 
2756
2756
 
2757
2757
 
2758
- exports.AuthError = _chunk6VLFQZK6js.AuthError; exports.ConfigError = _chunk6VLFQZK6js.ConfigError; exports.CtxFetchAmbiguousWriteError = _chunkVKKVSFRDjs.CtxFetchAmbiguousWriteError; exports.CtxFetchHttpError = _chunkVKKVSFRDjs.CtxFetchHttpError; exports.CustomerDbQueryOutcomeUnknownError = _chunk6VLFQZK6js.CustomerDbQueryOutcomeUnknownError; exports.DEEPLINE_EXTRACTOR_TARGETS = _chunkBLMB4N63js.DEEPLINE_EXTRACTOR_TARGETS; exports.DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS = _chunkBLMB4N63js.DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS; exports.DEEPLINE_TOOL_CATEGORIES = DEEPLINE_TOOL_CATEGORIES; exports.Deepline = Deepline; exports.DeeplineClient = _chunk3LP7J63Ljs.DeeplineClient; exports.DeeplineContext = DeeplineContext; exports.DeeplineError = _chunkLFQJW4S2js.DeeplineError; exports.JOB_CHANGE_STATUS_VALUES = _chunkBLMB4N63js.JOB_CHANGE_STATUS_VALUES; exports.MONITOR_FLEET_AUTHORING_CONTRACT_CHANGELOG = _chunkWOQO3GV4js.MONITOR_FLEET_AUTHORING_CONTRACT_CHANGELOG; exports.MONITOR_FLEET_AUTHORING_CONTRACT_EDITION = _chunkWOQO3GV4js.MONITOR_FLEET_AUTHORING_CONTRACT_EDITION; exports.MONITOR_FLEET_DOCUMENTATION = _chunkWOQO3GV4js.MONITOR_FLEET_DOCUMENTATION; exports.MONITOR_FLEET_FRONTIER_MAX_ROWS = _chunkWOQO3GV4js.MONITOR_FLEET_FRONTIER_MAX_ROWS; exports.MONITOR_FLEET_MAX_MEMBERS = _chunkWOQO3GV4js.MONITOR_FLEET_MAX_MEMBERS; exports.MONITOR_JOB_PHASES = _chunk5XVDZVCRjs.MONITOR_JOB_PHASES; exports.MONITOR_JOB_RECONCILIATION_STATES = _chunk5XVDZVCRjs.MONITOR_JOB_RECONCILIATION_STATES; exports.MONITOR_JOB_STATES = _chunk5XVDZVCRjs.MONITOR_JOB_STATES; exports.PHONE_STATUS_VALUES = _chunkBLMB4N63js.PHONE_STATUS_VALUES; exports.PROD_URL = _chunk2RLMHWXWjs.PROD_URL; exports.ProviderRejectedError = _chunkLFQJW4S2js.ProviderRejectedError; exports.ProviderTransientError = _chunkLFQJW4S2js.ProviderTransientError; exports.RateLimitError = _chunk6VLFQZK6js.RateLimitError; exports.RunEventQueryInputError = _chunk5XVDZVCRjs.RunEventQueryInputError; exports.RunObserveTransportUnavailableError = RunObserveTransportUnavailableError; exports.SDK_API_CONTRACT = _chunkSNYH4QY2js.SDK_API_CONTRACT; exports.SDK_VERSION = _chunkSNYH4QY2js.SDK_VERSION; exports.ToolExecutionError = _chunkLFQJW4S2js.ToolExecutionError; exports.ToolRateLimitError = _chunk6VLFQZK6js.ToolRateLimitError; exports.__deeplineCurrentDocflowContext = __deeplineCurrentDocflowContext; exports.__deeplineRunWithDocflowContext = __deeplineRunWithDocflowContext; exports.admitMonitorFleetAuthoringContract = _chunkWOQO3GV4js.admitMonitorFleetAuthoringContract; exports.deepline = deepline; exports.default = deepline; exports.defineInput = defineInput; exports.defineMonitor = defineMonitor; exports.defineMonitorFleet = _chunkWOQO3GV4js.defineMonitorFleet; exports.definePlay = definePlay; exports.defineWorkflow = defineWorkflow; exports.extractSummaryFields = _chunkHGFFYVXNjs.extractSummaryFields; exports.fleetColumn = _chunkWOQO3GV4js.fleetColumn; exports.fleetKey = _chunkWOQO3GV4js.fleetKey; exports.getDefinedPlayMetadata = getDefinedPlayMetadata; exports.getProviderUnavailableReason = _chunkLFQJW4S2js.getProviderUnavailableReason; exports.isDeeplineExtractorTarget = _chunkBLMB4N63js.isDeeplineExtractorTarget; exports.isProviderUnavailable = _chunkLFQJW4S2js.isProviderUnavailable; exports.isProviderWaterfallUnavailableError = _chunkLFQJW4S2js.isProviderWaterfallUnavailableError; exports.isStopAllPlayRunsDryRunResult = _chunk5XVDZVCRjs.isStopAllPlayRunsDryRunResult; exports.lintMonitorBatchInput = _chunkU2LVWCTDjs.lintMonitorBatchInput; exports.lintMonitorFleetInput = _chunkWOQO3GV4js.lintMonitorFleetInput; exports.lintMonitorSpecTemplate = _chunkU2LVWCTDjs.lintMonitorSpecTemplate; exports.pinLocalPlayImports = _chunk6U3THMRIjs.pinLocalPlayImports; exports.planCustomerDbQuery = _chunk5XVDZVCRjs.planCustomerDbQuery; exports.planLocalPlayExecution = _chunk6U3THMRIjs.planLocalPlayExecution; exports.readList = readList; exports.renderMonitorSpecTemplate = _chunkU2LVWCTDjs.renderMonitorSpecTemplate; exports.resolveConfig = _chunk2RLMHWXWjs.resolveConfig; exports.runIf = runIf; exports.runScriptPlay = runScriptPlay; exports.steps = steps; exports.tryConvertToList = _chunkHGFFYVXNjs.tryConvertToList; exports.validateMonitorFleetDefinition = _chunkWOQO3GV4js.validateMonitorFleetDefinition; exports.writeCsvOutputFile = _chunkHGFFYVXNjs.writeCsvOutputFile; exports.writeJsonOutputFile = _chunkHGFFYVXNjs.writeJsonOutputFile;
2758
+ exports.AuthError = _chunk6VLFQZK6js.AuthError; exports.ConfigError = _chunk6VLFQZK6js.ConfigError; exports.CtxFetchAmbiguousWriteError = _chunkVKKVSFRDjs.CtxFetchAmbiguousWriteError; exports.CtxFetchHttpError = _chunkVKKVSFRDjs.CtxFetchHttpError; exports.CustomerDbQueryOutcomeUnknownError = _chunk6VLFQZK6js.CustomerDbQueryOutcomeUnknownError; exports.DEEPLINE_EXTRACTOR_TARGETS = _chunkBLMB4N63js.DEEPLINE_EXTRACTOR_TARGETS; exports.DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS = _chunkBLMB4N63js.DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS; exports.DEEPLINE_TOOL_CATEGORIES = DEEPLINE_TOOL_CATEGORIES; exports.Deepline = Deepline; exports.DeeplineClient = _chunkMFPHCUHKjs.DeeplineClient; exports.DeeplineContext = DeeplineContext; exports.DeeplineError = _chunkLFQJW4S2js.DeeplineError; exports.JOB_CHANGE_STATUS_VALUES = _chunkBLMB4N63js.JOB_CHANGE_STATUS_VALUES; exports.MONITOR_FLEET_AUTHORING_CONTRACT_CHANGELOG = _chunkWOQO3GV4js.MONITOR_FLEET_AUTHORING_CONTRACT_CHANGELOG; exports.MONITOR_FLEET_AUTHORING_CONTRACT_EDITION = _chunkWOQO3GV4js.MONITOR_FLEET_AUTHORING_CONTRACT_EDITION; exports.MONITOR_FLEET_DOCUMENTATION = _chunkWOQO3GV4js.MONITOR_FLEET_DOCUMENTATION; exports.MONITOR_FLEET_FRONTIER_MAX_ROWS = _chunkWOQO3GV4js.MONITOR_FLEET_FRONTIER_MAX_ROWS; exports.MONITOR_FLEET_MAX_MEMBERS = _chunkWOQO3GV4js.MONITOR_FLEET_MAX_MEMBERS; exports.MONITOR_JOB_PHASES = _chunk6GYGMWQVjs.MONITOR_JOB_PHASES; exports.MONITOR_JOB_RECONCILIATION_STATES = _chunk6GYGMWQVjs.MONITOR_JOB_RECONCILIATION_STATES; exports.MONITOR_JOB_STATES = _chunk6GYGMWQVjs.MONITOR_JOB_STATES; exports.PHONE_STATUS_VALUES = _chunkBLMB4N63js.PHONE_STATUS_VALUES; exports.PROD_URL = _chunkVXDKL434js.PROD_URL; exports.ProviderRejectedError = _chunkLFQJW4S2js.ProviderRejectedError; exports.ProviderTransientError = _chunkLFQJW4S2js.ProviderTransientError; exports.RateLimitError = _chunk6VLFQZK6js.RateLimitError; exports.RunEventQueryInputError = _chunk6GYGMWQVjs.RunEventQueryInputError; exports.RunObserveTransportUnavailableError = RunObserveTransportUnavailableError; exports.SDK_API_CONTRACT = _chunkH4BYWEV5js.SDK_API_CONTRACT; exports.SDK_VERSION = _chunkH4BYWEV5js.SDK_VERSION; exports.ToolExecutionError = _chunkLFQJW4S2js.ToolExecutionError; exports.ToolRateLimitError = _chunk6VLFQZK6js.ToolRateLimitError; exports.__deeplineCurrentDocflowContext = __deeplineCurrentDocflowContext; exports.__deeplineRunWithDocflowContext = __deeplineRunWithDocflowContext; exports.admitMonitorFleetAuthoringContract = _chunkWOQO3GV4js.admitMonitorFleetAuthoringContract; exports.deepline = deepline; exports.default = deepline; exports.defineInput = defineInput; exports.defineMonitor = defineMonitor; exports.defineMonitorFleet = _chunkWOQO3GV4js.defineMonitorFleet; exports.definePlay = definePlay; exports.defineWorkflow = defineWorkflow; exports.extractSummaryFields = _chunkHGFFYVXNjs.extractSummaryFields; exports.fleetColumn = _chunkWOQO3GV4js.fleetColumn; exports.fleetKey = _chunkWOQO3GV4js.fleetKey; exports.getDefinedPlayMetadata = getDefinedPlayMetadata; exports.getProviderUnavailableReason = _chunkLFQJW4S2js.getProviderUnavailableReason; exports.isDeeplineExtractorTarget = _chunkBLMB4N63js.isDeeplineExtractorTarget; exports.isProviderUnavailable = _chunkLFQJW4S2js.isProviderUnavailable; exports.isProviderWaterfallUnavailableError = _chunkLFQJW4S2js.isProviderWaterfallUnavailableError; exports.isStopAllPlayRunsDryRunResult = _chunk6GYGMWQVjs.isStopAllPlayRunsDryRunResult; exports.lintMonitorBatchInput = _chunkU2LVWCTDjs.lintMonitorBatchInput; exports.lintMonitorFleetInput = _chunkWOQO3GV4js.lintMonitorFleetInput; exports.lintMonitorSpecTemplate = _chunkU2LVWCTDjs.lintMonitorSpecTemplate; exports.pinLocalPlayImports = _chunkBUMCOVBPjs.pinLocalPlayImports; exports.planCustomerDbQuery = _chunk6GYGMWQVjs.planCustomerDbQuery; exports.planLocalPlayExecution = _chunkBUMCOVBPjs.planLocalPlayExecution; exports.readList = readList; exports.renderMonitorSpecTemplate = _chunkU2LVWCTDjs.renderMonitorSpecTemplate; exports.resolveConfig = _chunkVXDKL434js.resolveConfig; exports.runIf = runIf; exports.runScriptPlay = runScriptPlay; exports.steps = steps; exports.tryConvertToList = _chunkHGFFYVXNjs.tryConvertToList; exports.validateMonitorFleetDefinition = _chunkWOQO3GV4js.validateMonitorFleetDefinition; exports.writeCsvOutputFile = _chunkHGFFYVXNjs.writeCsvOutputFile; exports.writeJsonOutputFile = _chunkHGFFYVXNjs.writeJsonOutputFile;
package/dist/index.mjs CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  createPlayClient,
4
4
  pinLocalPlayImports,
5
5
  planLocalPlayExecution
6
- } from "./cli/chunk-CDIMI54H.mjs";
6
+ } from "./cli/chunk-AXKFZIXC.mjs";
7
7
  import {
8
8
  extractSummaryFields,
9
9
  tryConvertToList,
@@ -12,7 +12,7 @@ import {
12
12
  } from "./cli/chunk-FIVKWNMT.mjs";
13
13
  import {
14
14
  DeeplineClient
15
- } from "./cli/chunk-BDNQDWGI.mjs";
15
+ } from "./cli/chunk-P2YNTAGL.mjs";
16
16
  import {
17
17
  DEEPLINE_EXTRACTOR_TARGETS,
18
18
  DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS,
@@ -37,7 +37,7 @@ import {
37
37
  RunEventQueryInputError,
38
38
  isStopAllPlayRunsDryRunResult,
39
39
  planCustomerDbQuery
40
- } from "./cli/chunk-3I6GA5QW.mjs";
40
+ } from "./cli/chunk-ZHIJA4MW.mjs";
41
41
  import {
42
42
  legacyRawFromToolResponseRawV2
43
43
  } from "./cli/chunk-FZHMNK6F.mjs";
@@ -65,11 +65,11 @@ import {
65
65
  import {
66
66
  PROD_URL,
67
67
  resolveConfig
68
- } from "./cli/chunk-Z3MJX3PP.mjs";
68
+ } from "./cli/chunk-U6BTY4WS.mjs";
69
69
  import {
70
70
  SDK_API_CONTRACT,
71
71
  SDK_VERSION
72
- } from "./cli/chunk-2MIJMDGF.mjs";
72
+ } from "./cli/chunk-AXOQ2FMS.mjs";
73
73
  import {
74
74
  AuthError,
75
75
  ConfigError,
@@ -91,7 +91,7 @@ import {
91
91
  normalizeTableNamespace,
92
92
  sha256Hex
93
93
  } from "./cli/chunk-2MGZAI54.mjs";
94
- import "./cli/chunk-VVENTTSA.mjs";
94
+ import "./cli/chunk-EHV52KUV.mjs";
95
95
  import "./cli/chunk-WZYKRD7T.mjs";
96
96
  import "./cli/chunk-KRD6H754.mjs";
97
97