deepline 0.3.492 → 0.3.493

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 (173) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +11 -5
  2. package/dist/bundling-sources/sdk/src/plays/run-request.ts +1 -0
  3. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  4. package/dist/bundling-sources/sdk/src/types.ts +6 -0
  5. package/dist/bundling-sources/shared_libs/monitors/fleets/verdict.ts +25 -9
  6. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +36 -0
  7. package/dist/bundling-sources/shared_libs/observability/scheduled-work-manual.ts +5 -4
  8. package/dist/bundling-sources/shared_libs/play-runtime/crustdata-company-identify-batching.ts +162 -0
  9. package/dist/bundling-sources/shared_libs/play-runtime/daytona-sandbox-reaper.ts +19 -3
  10. package/dist/bundling-sources/shared_libs/play-runtime/play-runtime-batching-registry.ts +2 -0
  11. package/dist/bundling-sources/shared_libs/play-runtime/receipt-sql.ts +17 -23
  12. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-modal-fallback.ts +28 -1
  13. package/dist/bundling-sources/shared_libs/play-runtime/runtime-sandbox-placement-policy.ts +75 -0
  14. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +20 -0
  15. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +412 -59
  16. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +38 -10
  17. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-ledger-reconciliation.ts +19 -11
  18. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-operation.ts +165 -12
  19. package/dist/bundling-sources/shared_libs/play-runtime/work-receipt-state-machine.ts +358 -0
  20. package/dist/cli/{auth-4I6QY5WX.mjs → auth-3NAY3AST.mjs} +5 -5
  21. package/dist/cli/auth-KYQLDI6V.js +43 -0
  22. package/dist/cli/{billing-2H4GOJZY.js → billing-FSB4BBBO.js} +80 -80
  23. package/dist/cli/{billing-4F6L4JSI.mjs → billing-SBWQCC7B.mjs} +7 -7
  24. package/dist/cli/{chunk-MQ2LQOAM.mjs → chunk-2BRTYIAH.mjs} +23 -9
  25. package/dist/cli/{chunk-E47VAVAR.js → chunk-2H4OFVR5.js} +5 -5
  26. package/dist/cli/{chunk-ZDTPSVGF.js → chunk-2I7VN65H.js} +10 -10
  27. package/dist/cli/{chunk-LCCFGSV7.mjs → chunk-2IHGVAGT.mjs} +2 -2
  28. package/dist/cli/{chunk-BDUFZSUL.js → chunk-2NGIBJM2.js} +8 -8
  29. package/dist/cli/{chunk-OTUT3XTX.mjs → chunk-3QGUWB6E.mjs} +4 -4
  30. package/dist/cli/{chunk-3BRDP4UP.mjs → chunk-4IJFQV3O.mjs} +1 -1
  31. package/dist/cli/{chunk-PIC6M4X3.mjs → chunk-4NIGNT7X.mjs} +1 -1
  32. package/dist/cli/{chunk-YVOYZPMY.mjs → chunk-5DIZ2G74.mjs} +2 -2
  33. package/dist/cli/{chunk-TKLDKIJU.mjs → chunk-5JPKRDFC.mjs} +7 -5
  34. package/dist/cli/{chunk-FTXIJTV2.mjs → chunk-5WOPBX3H.mjs} +1 -1
  35. package/dist/cli/{chunk-R5MP3CIY.mjs → chunk-67ZG7XZV.mjs} +3 -3
  36. package/dist/cli/{chunk-W4FEX5ZF.js → chunk-7HABWOMB.js} +261 -261
  37. package/dist/cli/{chunk-FPLN7PHP.js → chunk-AGTXL6LZ.js} +5 -5
  38. package/dist/cli/{chunk-SE23YSBK.js → chunk-AWMCZAUR.js} +3 -3
  39. package/dist/cli/{chunk-HHTVRICE.js → chunk-C2MRDPA5.js} +17 -17
  40. package/dist/cli/{chunk-ONONSV2Q.mjs → chunk-DVQHG6AM.mjs} +1 -0
  41. package/dist/cli/{chunk-O3K22ZC7.js → chunk-DWJ4RXSA.js} +34 -11
  42. package/dist/cli/{chunk-6YO4OJPM.mjs → chunk-DYP27IWC.mjs} +99 -24
  43. package/dist/cli/{chunk-EANFUHRM.mjs → chunk-E5ILCMKQ.mjs} +1 -1
  44. package/dist/cli/{chunk-Y7QCMOGZ.mjs → chunk-EBAS3UT2.mjs} +6 -6
  45. package/dist/cli/{chunk-DJOLMS2A.js → chunk-EFO5GVYS.js} +1 -1
  46. package/dist/cli/{chunk-NF7NUKWF.js → chunk-EYG336YV.js} +132 -57
  47. package/dist/cli/{chunk-OKHBAAJG.mjs → chunk-GSC35TPZ.mjs} +2 -2
  48. package/dist/cli/{chunk-MPITIXW4.mjs → chunk-HLM2UFQ5.mjs} +13 -5
  49. package/dist/cli/{chunk-TVUE4CPW.js → chunk-HTUSTPP4.js} +32 -32
  50. package/dist/cli/{chunk-GDSZWTJK.mjs → chunk-IJJ6D5WL.mjs} +12 -12
  51. package/dist/cli/{chunk-3TISK5RQ.js → chunk-IJOHWGPF.js} +6 -6
  52. package/dist/cli/{chunk-NBL6JMIY.js → chunk-IOBPR2VO.js} +17 -17
  53. package/dist/cli/{chunk-EFFHRXKB.js → chunk-IOMEJKGK.js} +2 -2
  54. package/dist/cli/{chunk-A7ZMG2QZ.mjs → chunk-IRDYBMA7.mjs} +34 -11
  55. package/dist/cli/{chunk-B2JE3HD6.js → chunk-JO2JZUBR.js} +3 -3
  56. package/dist/cli/{chunk-4IP5MLWU.js → chunk-JO5FFSR7.js} +6 -1
  57. package/dist/cli/{chunk-O2FB42N2.js → chunk-KCDZWS2B.js} +56 -56
  58. package/dist/cli/{chunk-CGDUFVNE.mjs → chunk-KGDDQMI7.mjs} +2 -2
  59. package/dist/cli/{chunk-UUH4GQRL.mjs → chunk-KKSKYZO4.mjs} +1 -1
  60. package/dist/cli/{chunk-OTDX4A4W.js → chunk-LGTZYI5B.js} +21 -21
  61. package/dist/cli/{chunk-JJAHWKJ2.js → chunk-MLEUOTEQ.js} +73 -59
  62. package/dist/cli/{chunk-YOCEY4EI.mjs → chunk-NALJJTPS.mjs} +5 -5
  63. package/dist/cli/{chunk-HFEJ7JJT.js → chunk-NPNAEPY4.js} +26 -26
  64. package/dist/cli/{chunk-3IBKEOL4.js → chunk-NWIDPT7H.js} +4 -4
  65. package/dist/cli/{chunk-AUQQVDAB.js → chunk-PKV5CD3W.js} +1 -0
  66. package/dist/cli/{chunk-4RB74KJX.js → chunk-QTPS5RLG.js} +15 -15
  67. package/dist/cli/{chunk-4OLXMJ2L.js → chunk-RLX5ZFNX.js} +8 -6
  68. package/dist/cli/{chunk-DEJIN4DF.mjs → chunk-SAW3FBCA.mjs} +5 -0
  69. package/dist/cli/{chunk-RC366IJS.mjs → chunk-SXD2EYAH.mjs} +6 -6
  70. package/dist/cli/{chunk-YNWET57Z.js → chunk-TIFRRLZT.js} +7 -7
  71. package/dist/cli/{chunk-ZCKUNXXR.mjs → chunk-TNQOR6XQ.mjs} +1 -1
  72. package/dist/cli/{chunk-OGNIB64W.js → chunk-UCMY2SO2.js} +23 -15
  73. package/dist/cli/{chunk-O65HDVA7.mjs → chunk-VFHIYWMC.mjs} +5 -5
  74. package/dist/cli/{chunk-JHBRJDUC.js → chunk-WCZFCOMZ.js} +7 -7
  75. package/dist/cli/{chunk-FFOJRD53.mjs → chunk-WTFI7BVH.mjs} +3 -3
  76. package/dist/cli/{chunk-42Z6VC2Q.js → chunk-XLE7KXE7.js} +2 -2
  77. package/dist/cli/{chunk-Q3CCCTRQ.js → chunk-XQX476QK.js} +14 -14
  78. package/dist/cli/{chunk-F6EQWY4E.mjs → chunk-Y3NN2UAF.mjs} +2 -2
  79. package/dist/cli/{chunk-MJFVF5AW.mjs → chunk-ZQH4TXM2.mjs} +2 -2
  80. package/dist/cli/{chunk-DVGCPOEA.mjs → chunk-ZVW7EWTC.mjs} +7 -7
  81. package/dist/cli/{chunk-4GJIJHRQ.mjs → chunk-ZVXB7OU7.mjs} +1 -1
  82. package/dist/cli/command-docs.js +2 -2
  83. package/dist/cli/command-docs.mjs +1 -1
  84. package/dist/cli/{csv-JGJNDRSA.js → csv-DKYZE2KM.js} +13 -13
  85. package/dist/cli/{csv-VGXGV7YM.mjs → csv-XR22YQXT.mjs} +4 -4
  86. package/dist/cli/{db-OYG27ZBM.mjs → db-EOKG36YN.mjs} +7 -7
  87. package/dist/cli/{db-W52WJ6E5.js → db-RNYRTCMV.js} +28 -28
  88. package/dist/cli/describe-ICFXOQBW.mjs +50 -0
  89. package/dist/cli/describe-RS75I33X.js +50 -0
  90. package/dist/cli/describe-core.d.mts +2 -2
  91. package/dist/cli/describe-core.d.ts +2 -2
  92. package/dist/cli/describe-core.js +4 -4
  93. package/dist/cli/describe-core.mjs +3 -3
  94. package/dist/cli/{executions-EVE4KUGL.mjs → executions-3RAOACNS.mjs} +7 -7
  95. package/dist/cli/{executions-LAJHZGPY.js → executions-OBWPSWH7.js} +9 -9
  96. package/dist/cli/{feedback-75QB7KVG.mjs → feedback-6EQRVBKF.mjs} +4 -4
  97. package/dist/cli/{feedback-ZABCN7RT.js → feedback-6GPEUBLF.js} +8 -8
  98. package/dist/cli/getting-started.d.mts +12 -10
  99. package/dist/cli/getting-started.d.ts +12 -10
  100. package/dist/cli/getting-started.js +4 -2
  101. package/dist/cli/getting-started.mjs +3 -1
  102. package/dist/cli/{git-QIFEYQGY.mjs → git-CVQ24DTR.mjs} +5 -5
  103. package/dist/cli/git-DEFE4SSB.js +25 -0
  104. package/dist/cli/index.js +143 -143
  105. package/dist/cli/index.mjs +43 -43
  106. package/dist/cli/{legacy-noops-PNTWBBGY.mjs → legacy-noops-QULJZYNH.mjs} +5 -5
  107. package/dist/cli/{legacy-noops-2TBIAMCM.js → legacy-noops-XPOATG5V.js} +8 -8
  108. package/dist/cli/{monitors-LOHUYJEI.mjs → monitors-AFT5YJPZ.mjs} +49 -9
  109. package/dist/cli/{monitors-UKBOEGBS.js → monitors-OJ4CMREE.js} +169 -129
  110. package/dist/cli/{org-E7A6QLBW.js → org-RKT52CSL.js} +73 -73
  111. package/dist/cli/{org-JRUKUOUF.mjs → org-WHKNXANG.mjs} +7 -7
  112. package/dist/cli/{pages-K76HA473.mjs → pages-EEAQFGVD.mjs} +7 -7
  113. package/dist/cli/{pages-EUDFFLLD.js → pages-SOE3R667.js} +18 -18
  114. package/dist/cli/{play-DG2N66SV.mjs → play-LXFWHUBP.mjs} +147 -52
  115. package/dist/cli/{play-UWHNUJRA.js → play-OTJJ4E4T.js} +661 -566
  116. package/dist/cli/{providers-DZX6TTC6.js → providers-RU4HIAT3.js} +10 -10
  117. package/dist/cli/{providers-RUTTPUZD.mjs → providers-U3CPKTMM.mjs} +7 -7
  118. package/dist/cli/{quickstart-RGZZN2YE.mjs → quickstart-75AO2AJC.mjs} +5 -5
  119. package/dist/cli/{quickstart-U4NMD7KX.js → quickstart-N72IVA2Y.js} +13 -13
  120. package/dist/cli/{run-MOJWQYFQ.mjs → run-IGWFL6WH.mjs} +29 -28
  121. package/dist/cli/{run-5UNF4FHG.js → run-MMYES3IW.js} +44 -43
  122. package/dist/cli/search-EQURI7SZ.js +32 -0
  123. package/dist/cli/{search-5B3ZDU7H.mjs → search-FIYESBLZ.mjs} +8 -8
  124. package/dist/cli/{search-output-VQWJS3FN.js → search-output-2FXN4ZWD.js} +9 -6
  125. package/dist/cli/{search-output-QS4IWWHA.mjs → search-output-3I5KSW36.mjs} +7 -4
  126. package/dist/cli/{secrets-S3PJMEAC.js → secrets-HCZQ6JNP.js} +16 -16
  127. package/dist/cli/{secrets-V5XVDBIS.mjs → secrets-O7IUQ3VT.mjs} +7 -7
  128. package/dist/cli/{sessions-Y5QMEZ3D.js → sessions-5AYTT4IW.js} +6 -6
  129. package/dist/cli/{sessions-5V3X24XI.mjs → sessions-KY7A3EZO.mjs} +5 -5
  130. package/dist/cli/{settings-3U6RRO5F.js → settings-P4VFYWJK.js} +80 -80
  131. package/dist/cli/{settings-LHZYY5PT.mjs → settings-WSMRR2GS.mjs} +13 -13
  132. package/dist/cli/{setup-MLLIGO2S.js → setup-J7CA3EJL.js} +57 -57
  133. package/dist/cli/{setup-AJLWXYAN.mjs → setup-YTVKVQC7.mjs} +13 -13
  134. package/dist/cli/skills-KKPEGLAR.js +36 -0
  135. package/dist/cli/{skills-5O2MUWKK.mjs → skills-W5WY764N.mjs} +10 -10
  136. package/dist/cli/tools-65Y4QTW6.js +57 -0
  137. package/dist/cli/{tools-PWNMI5CD.mjs → tools-YECI6N3N.mjs} +20 -20
  138. package/dist/cli/{update-SXT4QW7S.mjs → update-BIFBIEII.mjs} +10 -10
  139. package/dist/cli/update-WDG7VFOW.js +34 -0
  140. package/dist/cli/{workflow-3WTF5IYT.js → workflow-D2TUFFH6.js} +18 -18
  141. package/dist/cli/{workflow-KPRM6ARO.mjs → workflow-XZVDNARC.mjs} +8 -8
  142. package/dist/{client-Cb1ej1Vr.d.ts → client-BDB_VbE4.d.ts} +1 -1
  143. package/dist/{client-vWpbLNCB.d.mts → client-CNzJ1LTF.d.mts} +1 -1
  144. package/dist/{client-core-CoBTvsXG.d.mts → client-core-CSv3DlPD.d.mts} +10 -3
  145. package/dist/{client-core-BmVs6SP0.d.ts → client-core-xEa9x3pl.d.ts} +10 -3
  146. package/dist/index.d.mts +3 -3
  147. package/dist/index.d.ts +3 -3
  148. package/dist/index.js +10 -10
  149. package/dist/index.mjs +7 -7
  150. package/dist/install-integrity.json +115 -114
  151. package/dist/plays/play-description.d.mts +1 -1
  152. package/dist/plays/play-description.d.ts +1 -1
  153. package/dist/plays/run-request.d.mts +1 -1
  154. package/dist/plays/run-request.d.ts +1 -1
  155. package/dist/plays/run-request.js +2 -2
  156. package/dist/plays/run-request.mjs +1 -1
  157. package/dist/release.d.mts +1 -1
  158. package/dist/release.d.ts +1 -1
  159. package/dist/release.js +2 -2
  160. package/dist/release.mjs +1 -1
  161. package/dist/server.d.mts +2 -2
  162. package/dist/server.d.ts +2 -2
  163. package/dist/server.js +6 -6
  164. package/dist/server.mjs +4 -4
  165. package/package.json +1 -1
  166. package/dist/cli/auth-7BCLZU6K.js +0 -43
  167. package/dist/cli/describe-FIXCRO5N.mjs +0 -50
  168. package/dist/cli/describe-G3O6OUBG.js +0 -50
  169. package/dist/cli/git-QBAR46NW.js +0 -25
  170. package/dist/cli/search-3DAEJL6S.js +0 -32
  171. package/dist/cli/skills-BBLIML5M.js +0 -36
  172. package/dist/cli/tools-X5SQXUMM.js +0 -57
  173. package/dist/cli/update-AEJ2ZSZQ.js +0 -34
@@ -1,23 +1,23 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkW4FEX5ZFjs = require('./chunk-W4FEX5ZF.js');
3
+ var _chunk7HABWOMBjs = require('./chunk-7HABWOMB.js');
4
4
 
5
5
 
6
- var _chunkOGNIB64Wjs = require('./chunk-OGNIB64W.js');
6
+ var _chunkUCMY2SO2js = require('./chunk-UCMY2SO2.js');
7
7
 
8
8
 
9
9
 
10
10
 
11
- var _chunkHHTVRICEjs = require('./chunk-HHTVRICE.js');
11
+ var _chunkC2MRDPA5js = require('./chunk-C2MRDPA5.js');
12
12
 
13
13
 
14
- var _chunk4IP5MLWUjs = require('./chunk-4IP5MLWU.js');
14
+ var _chunkJO5FFSR7js = require('./chunk-JO5FFSR7.js');
15
15
 
16
16
 
17
- var _chunkE47VAVARjs = require('./chunk-E47VAVAR.js');
17
+ var _chunk2H4OFVR5js = require('./chunk-2H4OFVR5.js');
18
18
 
19
19
 
20
- var _chunkZDTPSVGFjs = require('./chunk-ZDTPSVGF.js');
20
+ var _chunk2I7VN65Hjs = require('./chunk-2I7VN65H.js');
21
21
 
22
22
  // src/cli/commands/describe.ts
23
23
  var _fs = require('fs');
@@ -26,16 +26,16 @@ function nothingNamed(name) {
26
26
  return `Nothing named "${name}". Search for it: deepline search ${JSON.stringify(name.replace(/[-_./]+/g, " "))}`;
27
27
  }
28
28
  function findNamed2(name, options) {
29
- return _chunkHHTVRICEjs.findNamed.call(void 0, name, options, _chunkHHTVRICEjs.describeLookupsFor.call(void 0, new (0, _chunkE47VAVARjs.DeeplineClient)()));
29
+ return _chunkC2MRDPA5js.findNamed.call(void 0, name, options, _chunkC2MRDPA5js.describeLookupsFor.call(void 0, new (0, _chunk2H4OFVR5js.DeeplineClient)()));
30
30
  }
31
31
  async function describeAnything(name, options, onMissing) {
32
- const client = new (0, _chunkE47VAVARjs.DeeplineClient)();
33
- const lookups = _chunkHHTVRICEjs.describeLookupsFor.call(void 0, client);
34
- const outcome = await _chunkHHTVRICEjs.describeName.call(void 0, name, options, {
32
+ const client = new (0, _chunk2H4OFVR5js.DeeplineClient)();
33
+ const lookups = _chunkC2MRDPA5js.describeLookupsFor.call(void 0, client);
34
+ const outcome = await _chunkC2MRDPA5js.describeName.call(void 0, name, options, {
35
35
  ...lookups,
36
36
  // `tools describe` has already fetched the tool for its compatibility check.
37
37
  tool: async (toolName) => _nullishCoalesce(options.fetchedTool, () => ( lookups.tool(toolName))),
38
- seedStarterScript: _chunkW4FEX5ZFjs.seedToolListScript
38
+ seedStarterScript: _chunk7HABWOMBjs.seedToolListScript
39
39
  });
40
40
  if (outcome.status === "missing") {
41
41
  if (onMissing) return onMissing();
@@ -60,18 +60,18 @@ function deliver(envelope, lines, { json, out }) {
60
60
  ` : text;
61
61
  _fs.writeFileSync.call(void 0, path, content);
62
62
  const bytes = Buffer.byteLength(content);
63
- _chunkZDTPSVGFjs.printCommandEnvelope.call(void 0,
63
+ _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0,
64
64
  { path, bytes },
65
65
  { json, text: `Wrote ${path} (${bytes} bytes)
66
66
  ` }
67
67
  );
68
68
  return 0;
69
69
  }
70
- _chunkZDTPSVGFjs.printCommandEnvelope.call(void 0, envelope, { json, text });
70
+ _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0, envelope, { json, text });
71
71
  return 0;
72
72
  }
73
73
  function registerDescribeCommand(program) {
74
- _chunkOGNIB64Wjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
74
+ _chunkUCMY2SO2js.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
75
75
  "Describe anything search returns: a tool, monitor type, or play."
76
76
  ).addHelpText(
77
77
  "after",
@@ -108,7 +108,7 @@ Schema size and format:
108
108
  by default; the output names them, and --verbose shows them.
109
109
  --fields email,miss_reason shows only the fields you name, plus every
110
110
  required input, and names the rest. Use it when you know what you need.
111
- A schema over ${_chunk4IP5MLWUjs.SCHEMA_LINE_LIMIT} lines is folded: deeper objects show only their field
111
+ A schema over ${_chunkJO5FFSR7js.SCHEMA_LINE_LIMIT} lines is folded: deeper objects show only their field
112
112
  names. A shape used more than once is printed once under Types.
113
113
  --full-schema the normal output, with the schema not folded
114
114
  --schema-only only the schema, not folded, and nothing else
@@ -34,24 +34,25 @@ var DEEPLINE_GTM_STARTER_PROMPTS = [
34
34
  var DEEPLINE_GTM_PRIMARY_STARTER_PROMPT = DEEPLINE_GTM_STARTER_PROMPTS[0].prompt;
35
35
  var DEEPLINE_GTM_HANDOFF_QUESTION = "What would you like to do with Deepline?";
36
36
  var DEEPLINE_GTM_CUSTOM_OPTION = "Tell me what you want to accomplish and I'll help you build it";
37
+ var DEEPLINE_GTM_GLOBAL_SKILL_ROOTS = "~/.claude/skills or ~/.agents/skills";
37
38
  var DEEPLINE_GTM_GLOBAL_CODEX_SKILL_FILE = "~/.agents/skills/deepline-gtm/SKILL.md";
38
- function deeplineGtmStarterSkillStep(codexSkillFile) {
39
- return `Load the deepline-gtm skill first. Claude Code: invoke it with the selected prompt. Codex and others: read ${codexSkillFile}, installed mid-session so unlisted. Then run the starter command as written, adding no flags.`;
39
+ function deeplineGtmStarterSkillStep(skillRoots) {
40
+ return `Load the deepline-gtm skill first; if it's unknown or not found, read deepline-gtm/SKILL.md from ${skillRoots}. Then run the starter command as written, adding no flags.`;
40
41
  }
41
42
  var DEEPLINE_GTM_STARTER_SKILL_STEP = deeplineGtmStarterSkillStep(
42
- `${DEEPLINE_GTM_GLOBAL_CODEX_SKILL_FILE} (project .agents/skills/ if setup reports local scope)`
43
+ `${DEEPLINE_GTM_GLOBAL_SKILL_ROOTS} (project .claude/skills or .agents/skills if setup reports local scope)`
43
44
  );
44
45
  var DEEPLINE_GTM_STARTER_OPTIONS = [
45
46
  ...DEEPLINE_GTM_STARTER_PROMPTS.map(({ prompt }) => prompt),
46
47
  DEEPLINE_GTM_CUSTOM_OPTION
47
48
  ];
48
- function deeplineGtmGettingStartedPayload(codexSkillFile = DEEPLINE_GTM_GLOBAL_CODEX_SKILL_FILE) {
49
+ function deeplineGtmGettingStartedPayload(skillRoots = DEEPLINE_GTM_GLOBAL_SKILL_ROOTS) {
49
50
  return {
50
51
  skill: DEEPLINE_GTM_SKILL,
51
52
  examples: DEEPLINE_GTM_STARTER_PROMPTS,
52
53
  question: DEEPLINE_GTM_HANDOFF_QUESTION,
53
54
  customOption: DEEPLINE_GTM_CUSTOM_OPTION,
54
- starterBehavior: deeplineGtmStarterSkillStep(codexSkillFile),
55
+ starterBehavior: deeplineGtmStarterSkillStep(skillRoots),
55
56
  customProblemBehavior: "Turn the business problem into one exact /deepline-gtm prompt, show that reusable prompt, then execute it without asking the user to paste it again."
56
57
  };
57
58
  }
@@ -67,4 +68,5 @@ function deeplineGtmGettingStartedPayload(codexSkillFile = DEEPLINE_GTM_GLOBAL_C
67
68
 
68
69
 
69
70
 
70
- exports.DEEPLINE_GTM_SKILL = DEEPLINE_GTM_SKILL; exports.DEEPLINE_GTM_STARTER_PROMPTS = DEEPLINE_GTM_STARTER_PROMPTS; exports.DEEPLINE_GTM_PRIMARY_STARTER_PROMPT = DEEPLINE_GTM_PRIMARY_STARTER_PROMPT; exports.DEEPLINE_GTM_HANDOFF_QUESTION = DEEPLINE_GTM_HANDOFF_QUESTION; exports.DEEPLINE_GTM_CUSTOM_OPTION = DEEPLINE_GTM_CUSTOM_OPTION; exports.DEEPLINE_GTM_GLOBAL_CODEX_SKILL_FILE = DEEPLINE_GTM_GLOBAL_CODEX_SKILL_FILE; exports.deeplineGtmStarterSkillStep = deeplineGtmStarterSkillStep; exports.DEEPLINE_GTM_STARTER_SKILL_STEP = DEEPLINE_GTM_STARTER_SKILL_STEP; exports.DEEPLINE_GTM_STARTER_OPTIONS = DEEPLINE_GTM_STARTER_OPTIONS; exports.deeplineGtmGettingStartedPayload = deeplineGtmGettingStartedPayload;
71
+
72
+ exports.DEEPLINE_GTM_SKILL = DEEPLINE_GTM_SKILL; exports.DEEPLINE_GTM_STARTER_PROMPTS = DEEPLINE_GTM_STARTER_PROMPTS; exports.DEEPLINE_GTM_PRIMARY_STARTER_PROMPT = DEEPLINE_GTM_PRIMARY_STARTER_PROMPT; exports.DEEPLINE_GTM_HANDOFF_QUESTION = DEEPLINE_GTM_HANDOFF_QUESTION; exports.DEEPLINE_GTM_CUSTOM_OPTION = DEEPLINE_GTM_CUSTOM_OPTION; exports.DEEPLINE_GTM_GLOBAL_SKILL_ROOTS = DEEPLINE_GTM_GLOBAL_SKILL_ROOTS; exports.DEEPLINE_GTM_GLOBAL_CODEX_SKILL_FILE = DEEPLINE_GTM_GLOBAL_CODEX_SKILL_FILE; exports.deeplineGtmStarterSkillStep = deeplineGtmStarterSkillStep; exports.DEEPLINE_GTM_STARTER_SKILL_STEP = DEEPLINE_GTM_STARTER_SKILL_STEP; exports.DEEPLINE_GTM_STARTER_OPTIONS = DEEPLINE_GTM_STARTER_OPTIONS; exports.deeplineGtmGettingStartedPayload = deeplineGtmGettingStartedPayload;
@@ -795,6 +795,10 @@ function buildPlayDashboardUrl(baseUrl, playName) {
795
795
  const encodedPlayName = encodeURIComponent(playName);
796
796
  return `${trimmedBase}/dashboard/plays/${encodedPlayName}`;
797
797
  }
798
+ function buildPlayRunUrl(baseUrl, playName, runId) {
799
+ const params = new URLSearchParams({ runId });
800
+ return `${buildPlayDashboardUrl(baseUrl, playName)}?${params.toString()}`;
801
+ }
798
802
  function describedPlay(play) {
799
803
  const reference = play.reference || play.name;
800
804
  const starter = play.cloneEditStarter ?? cloneEditStarter(play);
@@ -861,5 +865,6 @@ export {
861
865
  topLevelField,
862
866
  describedJson,
863
867
  buildPlayDashboardUrl,
868
+ buildPlayRunUrl,
864
869
  describedPlay
865
870
  };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  seedToolListScript
3
- } from "./chunk-GDSZWTJK.mjs";
3
+ } from "./chunk-IJJ6D5WL.mjs";
4
4
  import {
5
5
  addDescribeOptions
6
- } from "./chunk-MPITIXW4.mjs";
6
+ } from "./chunk-HLM2UFQ5.mjs";
7
7
  import {
8
8
  describeLookupsFor,
9
9
  describeName,
10
10
  findNamed
11
- } from "./chunk-CGDUFVNE.mjs";
11
+ } from "./chunk-KGDDQMI7.mjs";
12
12
  import {
13
13
  SCHEMA_LINE_LIMIT
14
- } from "./chunk-DEJIN4DF.mjs";
14
+ } from "./chunk-SAW3FBCA.mjs";
15
15
  import {
16
16
  DeeplineClient
17
- } from "./chunk-OKHBAAJG.mjs";
17
+ } from "./chunk-GSC35TPZ.mjs";
18
18
  import {
19
19
  printCommandEnvelope
20
- } from "./chunk-O65HDVA7.mjs";
20
+ } from "./chunk-VFHIYWMC.mjs";
21
21
 
22
22
  // src/cli/commands/describe.ts
23
23
  import { writeFileSync } from "fs";
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunk4IP5MLWUjs = require('./chunk-4IP5MLWU.js');
5
+ var _chunkJO5FFSR7js = require('./chunk-JO5FFSR7.js');
6
6
 
7
7
 
8
8
 
@@ -174,7 +174,7 @@ function extractorValueType(name) {
174
174
  }
175
175
  const named = NAMED_VALUE_SHAPES[definition.valueKind];
176
176
  if (!named) return { type: "string" };
177
- const { type, fields } = _chunk4IP5MLWUjs.schemaField.call(void 0, name, named.schema, true);
177
+ const { type, fields } = _chunkJO5FFSR7js.schemaField.call(void 0, name, named.schema, true);
178
178
  return { type, ...fields ? { fields } : {}, shape: named.shape };
179
179
  }
180
180
  function jsonSchemaOf(wrapper) {
@@ -211,7 +211,7 @@ function describedTool(tool, requestedToolId) {
211
211
  description,
212
212
  cost: stringField(recordField(tool, "pricing"), "displayText") || void 0,
213
213
  guidance: [],
214
- inputs: _chunk4IP5MLWUjs.schemaFields.call(void 0,
214
+ inputs: _chunkJO5FFSR7js.schemaFields.call(void 0,
215
215
  recordField(tool, "payload_schema", "payloadSchema")
216
216
  ),
217
217
  outputs: [],
@@ -248,7 +248,7 @@ function describedTool(tool, requestedToolId) {
248
248
  (path) => path.replace(/^toolResponse\.raw\./, "")
249
249
  );
250
250
  const node = roots.flatMap((root) => paths.map((path) => schemaNodeAt(root, path))).find(isRecord);
251
- const { fields, ...typed } = _chunk4IP5MLWUjs.schemaField.call(void 0, name, node, true);
251
+ const { fields, ...typed } = _chunkJO5FFSR7js.schemaField.call(void 0, name, node, true);
252
252
  const valueType = stringField(_nullishCoalesce(details.get(name), () => ( {})), "valueType");
253
253
  const deepline = kind === "extractedValues" ? extractorValueType(name) : void 0;
254
254
  const known = typed.type !== "unknown" ? void 0 : kind === "extractedLists" ? { type: "object[]" } : deepline;
@@ -308,13 +308,13 @@ function describedTool(tool, requestedToolId) {
308
308
  ],
309
309
  rateLimit: withPlanRateLimit(
310
310
  recordField(recordField(tool, "pricing"), "benefit").requestsPerMinute,
311
- _chunk4IP5MLWUjs.rateLimitSummary.call(void 0,
311
+ _chunkJO5FFSR7js.rateLimitSummary.call(void 0,
312
312
  recordField(contract, "executionMetadata").configuredRateLimits
313
313
  )
314
314
  ),
315
- inputs: _chunk4IP5MLWUjs.schemaFields.call(void 0, inputSchema),
315
+ inputs: _chunkJO5FFSR7js.schemaFields.call(void 0, inputSchema),
316
316
  outputs: [...lists, ...values].map(({ field }) => field),
317
- rawResponse: _chunk4IP5MLWUjs.schemaFields.call(void 0, outputSchema),
317
+ rawResponse: _chunkJO5FFSR7js.schemaFields.call(void 0, outputSchema),
318
318
  runner: playReference ? { via: "play", reference: playReference } : { via: "tool", toolId: String(contract.toolId), inputSchema }
319
319
  };
320
320
  }
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-HBL4PM5Q.mjs";
17
17
  import {
18
18
  SDK_RELEASE
19
- } from "./chunk-UUH4GQRL.mjs";
19
+ } from "./chunk-KKSKYZO4.mjs";
20
20
 
21
21
  // src/version.ts
22
22
  var SDK_VERSION = SDK_RELEASE.version;
@@ -2,11 +2,11 @@
2
2
 
3
3
 
4
4
 
5
- var _chunk4IP5MLWUjs = require('./chunk-4IP5MLWU.js');
5
+ var _chunkJO5FFSR7js = require('./chunk-JO5FFSR7.js');
6
6
 
7
7
 
8
8
 
9
- var _chunkZDTPSVGFjs = require('./chunk-ZDTPSVGF.js');
9
+ var _chunk2I7VN65Hjs = require('./chunk-2I7VN65H.js');
10
10
 
11
11
  // src/cli/describe-options.ts
12
12
  function addDescribeOptions(command, options = {}) {
@@ -24,7 +24,7 @@ function addDescribeOptions(command, options = {}) {
24
24
  "Show only the in-play example, and explain how it takes inputs and returns outputs"
25
25
  ).option("--no-example", "Hide the run examples").option(
26
26
  "--full-schema",
27
- `Print every field: a long schema unfolded (over ${_chunk4IP5MLWUjs.SCHEMA_LINE_LIMIT} lines), list rows, and a tool's raw response`
27
+ `Print every field: a long schema unfolded (over ${_chunkJO5FFSR7js.SCHEMA_LINE_LIMIT} lines), list rows, and a tool's raw response`
28
28
  ).option(
29
29
  "--fields <names>",
30
30
  "Show only these fields, comma-separated, plus every required input"
@@ -247,7 +247,7 @@ function projectRunDatasetCell(value) {
247
247
  const logicalValue = parseSerializedDatasetValue(value);
248
248
  if (logicalValue === null || logicalValue === void 0) return logicalValue;
249
249
  if (typeof logicalValue === "object") {
250
- return _chunkZDTPSVGFjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
250
+ return _chunk2I7VN65Hjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
251
251
  }
252
252
  return logicalValue;
253
253
  }
@@ -642,7 +642,7 @@ function csvText(rows, columns = []) {
642
642
  rows: rows.map((row) => record(row) ? row : { value: row }),
643
643
  columns
644
644
  });
645
- return _chunkZDTPSVGFjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
645
+ return _chunk2I7VN65Hjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
646
646
  }
647
647
  function writeExecutionOutput(result, options) {
648
648
  let temp;
@@ -868,9 +868,9 @@ function annotated(schema, values) {
868
868
  function shapeLines(title, data) {
869
869
  const schema = annotated(observedSchema(data), [data]);
870
870
  const block = (heading, fieldSchema) => {
871
- const { lines, folded } = _chunk4IP5MLWUjs.fieldBlockLines.call(void 0,
871
+ const { lines, folded } = _chunkJO5FFSR7js.fieldBlockLines.call(void 0,
872
872
  heading,
873
- _chunk4IP5MLWUjs.schemaFields.call(void 0, fieldSchema)
873
+ _chunkJO5FFSR7js.schemaFields.call(void 0, fieldSchema)
874
874
  );
875
875
  return [
876
876
  ...lines,
@@ -892,7 +892,10 @@ function receiptText(receipt, options, extra) {
892
892
  const sections = [
893
893
  [
894
894
  options.label ? `${headline}: ${options.label}` : headline,
895
- ...receipt.id ? [`Id: ${receipt.id}`] : [],
895
+ // A tool call's id is its retry key; a play's is the run to look up.
896
+ ...receipt.id ? [
897
+ `${_optionalChain([options, 'access', _13 => _13.label, 'optionalAccess', _14 => _14.endsWith, 'call', _15 => _15("(tool)")]) ? "Call Id" : "Run Id"}: ${receipt.id}`
898
+ ] : [],
896
899
  ...receipt.credits !== null ? [
897
900
  `Cost: ${receipt.credits} ${receipt.credits === 1 ? "credit" : "credits"}`
898
901
  ] : [],
@@ -901,14 +904,16 @@ function receiptText(receipt, options, extra) {
901
904
  ];
902
905
  const { csv, json } = receipt.outputs;
903
906
  const data = [];
907
+ let resultSection;
904
908
  for (const artifact of csv) {
905
909
  data.push(
906
910
  `Rows: ${_nullishCoalesce(artifact.path, () => ( "stdout"))} (${artifact.rowCount} rows from ${listPath(_nullishCoalesce(artifact.source, () => ( ""))) || "the result"})`
907
911
  );
908
912
  }
909
913
  if (extra.data !== void 0) {
910
- const title = json ? `Result: ${_nullishCoalesce(json.path, () => ( "stdout"))}` : "Result (not saved; --json-out saves all of it):";
911
- data.push(...resultLines(title, extra.data, extra.declared, options));
914
+ const title = json ? "Result:" : "Result (not saved; --json-out saves all of it):";
915
+ resultSection = resultLines(title, extra.data, extra.declared, options);
916
+ if (_optionalChain([json, 'optionalAccess', _16 => _16.path])) data.push(`Saved: ${json.path}`);
912
917
  if (receipt.schemaFile) {
913
918
  data.push(`Full JSON Schema: ${receipt.schemaFile}`);
914
919
  }
@@ -949,6 +954,7 @@ function receiptText(receipt, options, extra) {
949
954
  if (extra.receiptFile) {
950
955
  sections.push([`JSON receipt: ${extra.receiptFile}`]);
951
956
  }
957
+ if (resultSection) sections.push(resultSection);
952
958
  return `${sections.map((lines) => lines.join("\n")).join("\n\n")}
953
959
  `;
954
960
  }
@@ -972,7 +978,7 @@ function resultLines(title, data, declared, options) {
972
978
  const budget = _nullishCoalesce(options.lines, () => ( OUTLINE_LINES));
973
979
  const indented = (lines) => lines.map((line) => ` ${line}`);
974
980
  const more = "Not everything is shown: --lines <n> shows more, --fields <paths> picks fields, --full shows every field's type.";
975
- if (_optionalChain([options, 'access', _13 => _13.fields, 'optionalAccess', _14 => _14.length])) {
981
+ if (_optionalChain([options, 'access', _17 => _17.fields, 'optionalAccess', _18 => _18.length])) {
976
982
  const byName = new Map(
977
983
  (_nullishCoalesce(declared, () => ( []))).map((output) => [output.name, output])
978
984
  );
@@ -990,13 +996,13 @@ function resultLines(title, data, declared, options) {
990
996
  const { missing } = picked;
991
997
  const outline2 = value === void 0 ? null : outlineLines(value, budget);
992
998
  return [
993
- `${title}${_optionalChain([outline2, 'optionalAccess', _15 => _15.note]) ? ` ${outline2.note}` : ""}`,
994
- ...indented(_nullishCoalesce(_optionalChain([outline2, 'optionalAccess', _16 => _16.lines]), () => ( []))),
999
+ `${title}${_optionalChain([outline2, 'optionalAccess', _19 => _19.note]) ? ` ${outline2.note}` : ""}`,
1000
+ ...indented(_nullishCoalesce(_optionalChain([outline2, 'optionalAccess', _20 => _20.lines]), () => ( []))),
995
1001
  ...missing.map((path) => `No field at ${path}.`),
996
- ..._optionalChain([outline2, 'optionalAccess', _17 => _17.cut]) ? [more] : []
1002
+ ..._optionalChain([outline2, 'optionalAccess', _21 => _21.cut]) ? [more] : []
997
1003
  ];
998
1004
  }
999
- if (_optionalChain([declared, 'optionalAccess', _18 => _18.length])) {
1005
+ if (_optionalChain([declared, 'optionalAccess', _22 => _22.length])) {
1000
1006
  const outline2 = outlineLines(
1001
1007
  Object.fromEntries(declared.map(({ name, value }) => [name, value])),
1002
1008
  budget
@@ -1008,6 +1014,8 @@ function resultLines(title, data, declared, options) {
1008
1014
  outline2.cut ? more : "--full shows every field of the result; --fields <paths> picks fields."
1009
1015
  ];
1010
1016
  }
1017
+ const json = _optionalChain([JSON, 'access', _23 => _23.stringify, 'call', _24 => _24(data, null, 2), 'optionalAccess', _25 => _25.split, 'call', _26 => _26("\n")]);
1018
+ if (json && json.length <= budget) return [title, ...json];
1011
1019
  const outline = outlineLines(data, budget);
1012
1020
  return [
1013
1021
  `${title}${outline.note ? ` ${outline.note}` : ""}`,
@@ -2,10 +2,10 @@ import {
2
2
  HttpClient,
3
3
  resolveCliCommandContext,
4
4
  resolveConfig
5
- } from "./chunk-PIC6M4X3.mjs";
5
+ } from "./chunk-4NIGNT7X.mjs";
6
6
  import {
7
7
  detectAgentRuntime
8
- } from "./chunk-ZCKUNXXR.mjs";
8
+ } from "./chunk-TNQOR6XQ.mjs";
9
9
  import {
10
10
  DeeplineError,
11
11
  serializeToolExecutionFailure
@@ -20,8 +20,8 @@ var RUN_FIELDS = new Set(
20
20
  var ROOTS = {
21
21
  describe: "name playKey reference displayName description pinned toolCategories tags origin ownerType canEdit canClone aliases inputSchema outputSchema staticPipeline csvInput rowOutputSchema runCommand examples cloneEditStarter currentPublishedVersion liveVersion triggerStatus triggerMetadata isDraftDirty latestRunId runtimeLimit activeScheduledPlays dashboardUrl command_context",
22
22
  check: "kind target checked scope name exportName valid stage issues inputSchema outputSchema recognized triggers runtimeLimit limits featureFlags sourceHash artifactHash graphHash toolGetterHints exports actions diagnostics reference origin ownerType activeScheduledPlays command_context",
23
- run: "schemaVersion kind run datasets actions apiVersion rateLimited dashboardUrl progress rowOutcomes steps errors error warnings result resultState execution command_context diagnostics",
24
- get: "schemaVersion kind run dashboardUrl runStatus steps failures errorDetails rowOutcomes warnings failedLogs datasets result resultState actions diagnostics command_context",
23
+ run: "schemaVersion kind run datasets actions apiVersion rateLimited dashboardUrl runUrl progress rowOutcomes steps errors error warnings result resultState execution command_context diagnostics",
24
+ get: "schemaVersion kind run dashboardUrl runUrl runStatus steps failures errorDetails rowOutcomes warnings failedLogs datasets result resultState actions diagnostics command_context",
25
25
  config: "runId contract command_context",
26
26
  export: "runId datasets csv_path json_path format source rowCount columns notice metadata_path actions command_context"
27
27
  };
@@ -51,7 +51,7 @@ function parseJsonFields(args, surface) {
51
51
  );
52
52
  }
53
53
  if (parts[0] === "run" && parts[1] && !RUN_FIELDS.has(parts[1])) {
54
- const hint = parts[1] === "url" ? " Use run.dashboardUrl." : parts[1] === "stats" ? " Dataset summaries are in datasets; run timing is in run.durationMs." : "";
54
+ const hint = parts[1] === "url" ? " Use runUrl." : parts[1] === "stats" ? " Dataset summaries are in datasets; run timing is in run.durationMs." : "";
55
55
  throw new DeeplineError(
56
56
  `Unknown --json run field '${parts[1]}'. Available: ${[...RUN_FIELDS].join(", ")}.${hint}`,
57
57
  void 0,
@@ -3,14 +3,14 @@
3
3
  var _chunkD3BCSAN7js = require('./chunk-D3BCSAN7.js');
4
4
 
5
5
 
6
- var _chunkE47VAVARjs = require('./chunk-E47VAVAR.js');
6
+ var _chunk2H4OFVR5js = require('./chunk-2H4OFVR5.js');
7
7
 
8
8
 
9
- var _chunkZDTPSVGFjs = require('./chunk-ZDTPSVGF.js');
9
+ var _chunk2I7VN65Hjs = require('./chunk-2I7VN65H.js');
10
10
 
11
11
 
12
12
 
13
- var _chunkB2JE3HD6js = require('./chunk-B2JE3HD6.js');
13
+ var _chunkJO2JZUBRjs = require('./chunk-JO2JZUBR.js');
14
14
 
15
15
  // src/cli/commands/search.ts
16
16
  var _commander = require('commander');
@@ -20,7 +20,7 @@ var _fs = require('fs');
20
20
  var _path = require('path');
21
21
  var SEARCH_REF_TTL_MS = 15 * 6e4;
22
22
  function lastSearchPath() {
23
- return _path.join.call(void 0, _chunkB2JE3HD6js.sdkCliStateDirPath.call(void 0, _chunkB2JE3HD6js.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
23
+ return _path.join.call(void 0, _chunkJO2JZUBRjs.sdkCliStateDirPath.call(void 0, _chunkJO2JZUBRjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
24
24
  }
25
25
  function rememberSearchRef(searchRef) {
26
26
  try {
@@ -118,7 +118,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
118
118
  console.error("--summary-width must be an integer of at least 2.");
119
119
  return 1;
120
120
  }
121
- const { search_ref: searchRef, ...result } = await new (0, _chunkE47VAVARjs.DeeplineClient)().search({
121
+ const { search_ref: searchRef, ...result } = await new (0, _chunk2H4OFVR5js.DeeplineClient)().search({
122
122
  query,
123
123
  types,
124
124
  exclude,
@@ -132,8 +132,8 @@ async function runSearch(queryInput, options, types, exclude = []) {
132
132
  });
133
133
  if (searchRef) rememberSearchRef(searchRef);
134
134
  pointAtDescribe(result);
135
- const { renderSearchResults } = await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-VQWJS3FN.js")));
136
- _chunkZDTPSVGFjs.printCommandEnvelope.call(void 0, result, {
135
+ const { renderSearchResults } = await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-2FXN4ZWD.js")));
136
+ _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0, result, {
137
137
  json: options.json === true,
138
138
  text: renderSearchResults(result, summaryWidth)
139
139
  });
@@ -20,7 +20,7 @@ import {
20
20
  stagePlayFiles,
21
21
  startPlayRun,
22
22
  submitPreparedPlayRunAdmission
23
- } from "./chunk-ONONSV2Q.mjs";
23
+ } from "./chunk-DVQHG6AM.mjs";
24
24
  import {
25
25
  describePlayDetail,
26
26
  describePlayListItem
@@ -31,7 +31,7 @@ import {
31
31
  RETAINED_PIPELINE_RECEIVERS_HEADER,
32
32
  RUNTIME_ENVIRONMENT_TOKEN_HEADER,
33
33
  SDK_API_MAJOR
34
- } from "./chunk-ZCKUNXXR.mjs";
34
+ } from "./chunk-TNQOR6XQ.mjs";
35
35
  import {
36
36
  CustomerDbQueryOutcomeUnknownError
37
37
  } from "./chunk-4QF2K7TM.mjs";
@@ -6966,7 +6966,7 @@ var DeeplineClient = class _DeeplineClient {
6966
6966
  async waitForMonitorFleetConvergence(fleetId, options) {
6967
6967
  const timeoutMs = Math.max(1, options?.timeoutMs ?? 10 * 6e4);
6968
6968
  const pollIntervalMs = Math.max(1, options?.pollIntervalMs ?? 2e3);
6969
- const terminal = options?.until === "deactivated" ? /* @__PURE__ */ new Set(["deactivated", "degraded"]) : /* @__PURE__ */ new Set(["converged", "degraded", "deactivated"]);
6969
+ const terminal = options?.until === "deactivated" ? /* @__PURE__ */ new Set(["deactivated", "degraded", "billing_suspended"]) : /* @__PURE__ */ new Set(["converged", "degraded", "deactivated", "billing_suspended"]);
6970
6970
  const startedAt = Date.now();
6971
6971
  let latest = await this.getMonitorFleet(fleetId);
6972
6972
  while (true) {
@@ -1,6 +1,6 @@
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 _chunkO2FB42N2js = require('./chunk-O2FB42N2.js');
3
+ var _chunkKCDZWS2Bjs = require('./chunk-KCDZWS2B.js');
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  var _child_process = require('child_process');
@@ -13,7 +13,7 @@ function npmSupportsAllowScripts(version) {
13
13
  }
14
14
  function readNpmVersion(env) {
15
15
  try {
16
- const plan = _chunkO2FB42N2js.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
16
+ const plan = _chunkKCDZWS2Bjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
17
17
  const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
18
18
  encoding: "utf8",
19
19
  env,
@@ -3,15 +3,15 @@
3
3
  var _chunkVLEVVDWGjs = require('./chunk-VLEVVDWG.js');
4
4
 
5
5
 
6
- var _chunkTVUE4CPWjs = require('./chunk-TVUE4CPW.js');
6
+ var _chunkHTUSTPP4js = require('./chunk-HTUSTPP4.js');
7
7
 
8
8
 
9
- var _chunkAUQQVDABjs = require('./chunk-AUQQVDAB.js');
9
+ var _chunkPKV5CD3Wjs = require('./chunk-PKV5CD3W.js');
10
10
 
11
11
 
12
12
 
13
13
 
14
- var _chunkZDTPSVGFjs = require('./chunk-ZDTPSVGF.js');
14
+ var _chunk2I7VN65Hjs = require('./chunk-2I7VN65H.js');
15
15
 
16
16
 
17
17
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
@@ -579,7 +579,7 @@ function parseInputFlagValue(raw) {
579
579
  return raw;
580
580
  }
581
581
  function parsePlayRunOptions(args, initialInput = null) {
582
- const selection = _chunkZDTPSVGFjs.parseJsonFields.call(void 0, args, "run");
582
+ const selection = _chunk2I7VN65Hjs.parseJsonFields.call(void 0, args, "run");
583
583
  args = selection.args;
584
584
  const usage = "Usage: deepline plays run <play-name> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run <play-file.ts> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --file <play-file.ts> [--input '{...}'] [--profile <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --name <name> [--input '{...}'] [--profile <id>] [--live|--latest|--revision-id <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--json] [--full] [--<input> value]\n Runs use the Absurd CJS runtime.\n --header '<name>: <value>' may repeat; each is sent on every request for this run.\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for idempotent call caching and deepline.dataset guidance.";
585
585
  let filePath = null;
@@ -591,7 +591,7 @@ function parsePlayRunOptions(args, initialInput = null) {
591
591
  let revisionSelector = null;
592
592
  const watch = !args.includes("--no-wait");
593
593
  const dryRun = args.includes("--dry-run");
594
- let jsonOutput = dryRun ? _chunkZDTPSVGFjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkZDTPSVGFjs.argsWantJson.call(void 0, args);
594
+ let jsonOutput = dryRun ? _chunk2I7VN65Hjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunk2I7VN65Hjs.argsWantJson.call(void 0, args);
595
595
  const fullJson = args.includes("--full");
596
596
  const force = args.includes("--force");
597
597
  const forceToolRefresh = args.includes("--force-tool-refresh");
@@ -654,7 +654,7 @@ function parsePlayRunOptions(args, initialInput = null) {
654
654
  "--log-level requires one of: debug, info, warn, error."
655
655
  );
656
656
  }
657
- const parsed = _chunkTVUE4CPWjs.parseLogLevel.call(void 0, value);
657
+ const parsed = _chunkHTUSTPP4js.parseLogLevel.call(void 0, value);
658
658
  if (!parsed) {
659
659
  throw new Error(
660
660
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -778,12 +778,12 @@ function parsePlayRunOptions(args, initialInput = null) {
778
778
  }
779
779
  if (arg === "--debug" && args[index + 1] && !args[index + 1].startsWith("--")) {
780
780
  input ??= {};
781
- _chunkAUQQVDABjs.setDottedInputValue.call(void 0, input, "debug", parseInputFlagValue(args[++index]));
781
+ _chunkPKV5CD3Wjs.setDottedInputValue.call(void 0, input, "debug", parseInputFlagValue(args[++index]));
782
782
  continue;
783
783
  }
784
784
  if (arg.startsWith("--debug=")) {
785
785
  input ??= {};
786
- _chunkAUQQVDABjs.setDottedInputValue.call(void 0,
786
+ _chunkPKV5CD3Wjs.setDottedInputValue.call(void 0,
787
787
  input,
788
788
  "debug",
789
789
  parseInputFlagValue(arg.slice("--debug=".length))
@@ -811,7 +811,7 @@ function parsePlayRunOptions(args, initialInput = null) {
811
811
  if (arg.startsWith("--")) {
812
812
  const { path, value } = parseInputFieldFlag(arg, args[index + 1]);
813
813
  input ??= {};
814
- _chunkAUQQVDABjs.setDottedInputValue.call(void 0, input, path, parseInputFlagValue(value));
814
+ _chunkPKV5CD3Wjs.setDottedInputValue.call(void 0, input, path, parseInputFlagValue(value));
815
815
  if (!arg.includes("=")) {
816
816
  index += 1;
817
817
  }
@@ -900,7 +900,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
900
900
  let initialInput = options.input === void 0 ? null : parseJsonInput(options.input);
901
901
  if (typeof options.debug === "string") {
902
902
  initialInput ??= {};
903
- _chunkAUQQVDABjs.setDottedInputValue.call(void 0,
903
+ _chunkPKV5CD3Wjs.setDottedInputValue.call(void 0,
904
904
  initialInput,
905
905
  "debug",
906
906
  parseInputFlagValue(options.debug)
@@ -972,7 +972,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
972
972
  const hasExplicitLogLevel = options.logLevel !== void 0 || inputArgs.some(
973
973
  (arg) => arg === "--log-level" || arg.startsWith("--log-level=")
974
974
  );
975
- let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkTVUE4CPWjs.parseLogLevel.call(void 0, options.logLevel);
975
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkHTUSTPP4js.parseLogLevel.call(void 0, options.logLevel);
976
976
  if (!logLevel)
977
977
  throw new Error("--log-level requires one of: debug, info, warn, error.");
978
978
  const debugAlias = options.logs || options.debug === true || inputArgs.some(
@@ -986,13 +986,13 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
986
986
  if (debugAlias || debugMapLatency && logLevel === "info")
987
987
  logLevel = "debug";
988
988
  const fullJson = _nullishCoalesce(options.full, () => ( base.fullJson));
989
- const jsonFields = options.json === void 0 ? base.jsonFields : _chunkZDTPSVGFjs.parseJsonFields.call(void 0,
990
- [...fullJson ? ["--full"] : [], ..._chunkZDTPSVGFjs.jsonFieldArgs.call(void 0, options.json)],
989
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunk2I7VN65Hjs.parseJsonFields.call(void 0,
990
+ [...fullJson ? ["--full"] : [], ..._chunk2I7VN65Hjs.jsonFieldArgs.call(void 0, options.json)],
991
991
  "run"
992
992
  ).fields;
993
993
  const watch = options.wait === false ? false : base.watch;
994
994
  const explicitJson = options.json !== void 0 ? options.json !== false : base.jsonOutput;
995
- const jsonOutput = dryRun || !watch ? explicitJson || _chunkZDTPSVGFjs.argsWantJson.call(void 0, []) : explicitJson;
995
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunk2I7VN65Hjs.argsWantJson.call(void 0, []) : explicitJson;
996
996
  const verboseLogs = Boolean(
997
997
  debugAlias || logLevel === "debug" || debugMapLatency
998
998
  );
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-O65HDVA7.mjs";
5
+ } from "./chunk-VFHIYWMC.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-PIC6M4X3.mjs";
8
+ } from "./chunk-4NIGNT7X.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  traceCliSpan
3
- } from "./chunk-4GJIJHRQ.mjs";
3
+ } from "./chunk-ZVXB7OU7.mjs";
4
4
  import {
5
5
  checkSdkCompatibility,
6
6
  enforceSdkCompatibilityResponse,
7
7
  flushDeferredSkillsSyncNotices
8
- } from "./chunk-DVGCPOEA.mjs";
8
+ } from "./chunk-ZVW7EWTC.mjs";
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {