deepline 0.3.575 → 0.3.576

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 (145) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +13 -1
  2. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +145 -0
  3. package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +17 -0
  4. package/dist/bundling-sources/shared_libs/play-runtime/experiment-switches.ts +8 -0
  5. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +153 -10
  6. package/dist/bundling-sources/shared_libs/play-runtime/runtime-speed-profile.ts +41 -5
  7. package/dist/cli/{agents-ULGDKUTM.mjs → agents-BLJR2Y3X.mjs} +35 -4
  8. package/dist/cli/{agents-BCLO3KQJ.js → agents-CJQ7KBFT.js} +61 -30
  9. package/dist/cli/auth-GSDYP4ZN.js +44 -0
  10. package/dist/cli/{auth-4WCL7A6W.mjs → auth-SLZIRCPE.mjs} +5 -5
  11. package/dist/cli/{billing-7JQ6EUQU.mjs → billing-6Q4SK5KF.mjs} +9 -9
  12. package/dist/cli/{billing-BF5LVXOM.js → billing-IECMVARO.js} +102 -102
  13. package/dist/cli/{chunk-2T7XOKVL.mjs → chunk-2UHEJPSS.mjs} +5 -5
  14. package/dist/cli/{chunk-AO56MZ7D.js → chunk-36254433.js} +3 -3
  15. package/dist/cli/{chunk-EZIXKNKM.js → chunk-45POZK3F.js} +3 -3
  16. package/dist/cli/{chunk-5H6254MJ.js → chunk-4KIIXV5Z.js} +16 -16
  17. package/dist/cli/{chunk-GQZFZG6R.mjs → chunk-5VABOJ4M.mjs} +2 -2
  18. package/dist/cli/{chunk-TTBZ7QXX.mjs → chunk-66K7F7LR.mjs} +1 -1
  19. package/dist/cli/{chunk-HEOM3FAC.js → chunk-6JQZC6HX.js} +20 -20
  20. package/dist/cli/{chunk-XFV353R2.js → chunk-6RY5COUY.js} +23 -23
  21. package/dist/cli/{chunk-RHRRY2BX.mjs → chunk-7DI34I73.mjs} +3 -3
  22. package/dist/cli/{chunk-ZYSJND73.js → chunk-ANPHEXTT.js} +9 -9
  23. package/dist/cli/{chunk-JGLCK2XF.mjs → chunk-AUR24RQB.mjs} +2 -2
  24. package/dist/cli/{chunk-FDCU3VAJ.mjs → chunk-AZFSCPYK.mjs} +18 -1
  25. package/dist/cli/{chunk-YNAXKA23.js → chunk-BRPUB6UA.js} +5 -5
  26. package/dist/cli/{chunk-BM536WWR.mjs → chunk-CUIFDMNP.mjs} +11 -1
  27. package/dist/cli/{chunk-SYQTBHRX.mjs → chunk-D5LWYP2H.mjs} +3 -3
  28. package/dist/cli/{chunk-ZQXJYO5P.js → chunk-DGY4EYIX.js} +5 -5
  29. package/dist/cli/{chunk-2UM3I2MY.js → chunk-E4M4QZBP.js} +11 -1
  30. package/dist/cli/{chunk-V5XLENWK.js → chunk-EQO77FQZ.js} +5 -5
  31. package/dist/cli/{chunk-H6JMRLAZ.js → chunk-F4H26PP6.js} +100 -100
  32. package/dist/cli/{chunk-MN7JLH2T.mjs → chunk-GI57Q7JU.mjs} +2 -2
  33. package/dist/cli/{chunk-ZS6DT4LD.js → chunk-GZ7KYGYE.js} +15 -15
  34. package/dist/cli/{chunk-TMFR2B45.mjs → chunk-HE53AI2E.mjs} +3 -3
  35. package/dist/cli/{chunk-6IKLITVH.js → chunk-HHMO3CON.js} +6 -6
  36. package/dist/cli/{chunk-X47J55ZJ.mjs → chunk-JPFAD6G6.mjs} +2 -2
  37. package/dist/cli/{chunk-EV3OPDHF.js → chunk-JSIOLCTK.js} +20 -20
  38. package/dist/cli/{chunk-QKP3WYSZ.mjs → chunk-KQTZO6NT.mjs} +2 -2
  39. package/dist/cli/{chunk-636GD4IR.js → chunk-L6H72AIX.js} +2 -2
  40. package/dist/cli/{chunk-IAJ65IDZ.mjs → chunk-LKC7PHDX.mjs} +4 -4
  41. package/dist/cli/{chunk-HO76C7AE.js → chunk-M23G33MH.js} +2 -2
  42. package/dist/cli/{chunk-KNCNFL76.js → chunk-MDJ4LPQ5.js} +4 -4
  43. package/dist/cli/{chunk-DMPGJCNZ.js → chunk-MXPCTF57.js} +18 -1
  44. package/dist/cli/{chunk-FXXERR52.js → chunk-NQFZ7FYN.js} +10 -10
  45. package/dist/cli/{chunk-MWLOBURN.mjs → chunk-OMVBBAQP.mjs} +2 -2
  46. package/dist/cli/{chunk-737Y7QGT.js → chunk-OXRG325T.js} +41 -41
  47. package/dist/cli/{chunk-CVY4MBXH.mjs → chunk-PU5VCDCJ.mjs} +5 -5
  48. package/dist/cli/{chunk-5VSHQG5E.js → chunk-PYFMNPTA.js} +8 -8
  49. package/dist/cli/{chunk-IOWLFWWG.mjs → chunk-QCD7BQ5Z.mjs} +2 -2
  50. package/dist/cli/{chunk-QEDRUURT.mjs → chunk-R5NKLZL2.mjs} +1 -1
  51. package/dist/cli/{chunk-E4RYSSXX.mjs → chunk-S4IW4NAI.mjs} +1 -1
  52. package/dist/cli/{chunk-7DLAJ6JJ.js → chunk-SBZSJQEI.js} +53 -53
  53. package/dist/cli/{chunk-BQUAE6LQ.mjs → chunk-SY3OKOI5.mjs} +1 -1
  54. package/dist/cli/{chunk-NF722E6C.mjs → chunk-TZHS2W5Z.mjs} +1 -1
  55. package/dist/cli/{chunk-AS5XGOZY.js → chunk-UD6M2ZTY.js} +2 -2
  56. package/dist/cli/{chunk-56N3XAT6.mjs → chunk-UGIH4462.mjs} +5 -5
  57. package/dist/cli/{chunk-PQYDO72W.js → chunk-V25CXBR2.js} +26 -26
  58. package/dist/cli/{chunk-GB4IZ5TV.js → chunk-WDWV77SJ.js} +13 -13
  59. package/dist/cli/{chunk-G4WPDCXA.js → chunk-WPGZ6V36.js} +48 -48
  60. package/dist/cli/{chunk-UQZP7XBQ.mjs → chunk-X5V6S5KI.mjs} +5 -5
  61. package/dist/cli/{chunk-IBYMGR5Y.mjs → chunk-XJNJ3BWU.mjs} +1 -1
  62. package/dist/cli/{chunk-G2H6SQQY.js → chunk-Y4A6Y5EY.js} +7 -7
  63. package/dist/cli/{chunk-5D7OJY4W.mjs → chunk-YHM64N5C.mjs} +1 -1
  64. package/dist/cli/{chunk-H3CG72RZ.mjs → chunk-ZIGMC2X4.mjs} +11 -11
  65. package/dist/cli/{chunk-3PVKXUSJ.mjs → chunk-ZRC52APB.mjs} +1 -1
  66. package/dist/cli/{chunk-BONMEBWZ.mjs → chunk-ZYN6S6G2.mjs} +4 -4
  67. package/dist/cli/command-docs.js +2 -2
  68. package/dist/cli/command-docs.mjs +1 -1
  69. package/dist/cli/{concurrent-runs-help-HITK6EOO.mjs → concurrent-runs-help-H3SA7J6H.mjs} +6 -6
  70. package/dist/cli/concurrent-runs-help-PB7GT6F2.js +22 -0
  71. package/dist/cli/{csv-RS7XHQ4P.js → csv-6DEKR3QQ.js} +13 -13
  72. package/dist/cli/{csv-V2T23MXT.mjs → csv-ICXI7JAS.mjs} +4 -4
  73. package/dist/cli/{db-WFIVRPKY.js → db-AG7INMLP.js} +27 -27
  74. package/dist/cli/{db-OQ4RNTGE.mjs → db-VI7T5E6O.mjs} +6 -6
  75. package/dist/cli/describe-LMHIG3DP.js +50 -0
  76. package/dist/cli/{describe-AXV2EEX3.mjs → describe-S6NFWWGK.mjs} +18 -18
  77. package/dist/cli/{executions-5H2RIWZ3.js → executions-M5R5QHIA.js} +8 -8
  78. package/dist/cli/{executions-THP5ZDBQ.mjs → executions-MK7H4Q2H.mjs} +6 -6
  79. package/dist/cli/{feedback-UOI6UEGA.js → feedback-L3L4FEQL.js} +14 -14
  80. package/dist/cli/{feedback-2EJPILGE.mjs → feedback-ZHATL2XF.mjs} +6 -6
  81. package/dist/cli/{git-DI3LJIAT.mjs → git-W5DHNH2Q.mjs} +5 -5
  82. package/dist/cli/git-WYNCLDHD.js +26 -0
  83. package/dist/cli/index.js +148 -148
  84. package/dist/cli/index.mjs +47 -47
  85. package/dist/cli/{integrations-DJYS5VRK.mjs → integrations-73YSN2LI.mjs} +7 -7
  86. package/dist/cli/{integrations-TYN2BSQ6.js → integrations-IBWNO3YP.js} +29 -29
  87. package/dist/cli/{legacy-noops-Z457BB6O.mjs → legacy-noops-4LFZJTDX.mjs} +6 -6
  88. package/dist/cli/{legacy-noops-GXQHNLGJ.js → legacy-noops-AE6DBYJM.js} +9 -9
  89. package/dist/cli/{mcp-WMBOOTQL.js → mcp-BKL6M6OI.js} +24 -24
  90. package/dist/cli/{mcp-NAW3GFNN.mjs → mcp-E6PTSNDE.mjs} +4 -4
  91. package/dist/cli/{monitors-A7NYAXSJ.mjs → monitors-MXJ27KQK.mjs} +7 -7
  92. package/dist/cli/{monitors-OOQVE7XR.js → monitors-SW7ZCPPT.js} +100 -100
  93. package/dist/cli/{org-7YCDUSZE.mjs → org-HYAJ2MIK.mjs} +6 -6
  94. package/dist/cli/{org-D2AMIVBS.js → org-XJ44KZ5I.js} +121 -121
  95. package/dist/cli/{outcomes-2FKZDJSQ.js → outcomes-PTXGG4BZ.js} +14 -14
  96. package/dist/cli/{outcomes-TNTKCUEO.mjs → outcomes-PUMAXRGD.mjs} +6 -6
  97. package/dist/cli/{play-NWKHCHVZ.js → play-EPDZ3GDV.js} +336 -336
  98. package/dist/cli/{play-L6CVHSN4.mjs → play-QN3X6IAE.mjs} +19 -19
  99. package/dist/cli/{providers-PZGOI5CN.js → providers-GNJFGNDH.js} +9 -9
  100. package/dist/cli/{providers-22LO747B.mjs → providers-JIN5UQ7Z.mjs} +6 -6
  101. package/dist/cli/{quickstart-3ZRVKGMH.mjs → quickstart-4EBFHGB7.mjs} +4 -4
  102. package/dist/cli/{quickstart-LLWOC2GR.js → quickstart-YH6NNC5I.js} +6 -6
  103. package/dist/cli/{run-SNF23STR.js → run-4DRF7KQJ.js} +44 -44
  104. package/dist/cli/{run-D46W2GUA.mjs → run-5467KBCP.mjs} +23 -23
  105. package/dist/cli/search-B2KCWPUV.js +32 -0
  106. package/dist/cli/{search-XWVCICIX.mjs → search-ZERTOGH6.mjs} +7 -7
  107. package/dist/cli/{search-output-YM5QXFQQ.mjs → search-output-OAVJXRFO.mjs} +4 -4
  108. package/dist/cli/{search-output-36GHD67U.js → search-output-OMNZN2LP.js} +6 -6
  109. package/dist/cli/{secrets-UXCIHG5I.js → secrets-7XK2BGYX.js} +15 -15
  110. package/dist/cli/{secrets-7PTZEFRC.mjs → secrets-KAVDYB4P.mjs} +6 -6
  111. package/dist/cli/sessions-PUQURPPC.js +23 -0
  112. package/dist/cli/{sessions-DTXJKRP4.mjs → sessions-TNPI6XWB.mjs} +6 -6
  113. package/dist/cli/{settings-74B6UOS4.mjs → settings-KUABXRAJ.mjs} +12 -12
  114. package/dist/cli/{settings-EYSDZE37.js → settings-RQ3Z3JCM.js} +85 -85
  115. package/dist/cli/{setup-2QRZ36CH.mjs → setup-6IX6BSS7.mjs} +9 -9
  116. package/dist/cli/{setup-E7PVXBPL.js → setup-TDOWNKYN.js} +49 -49
  117. package/dist/cli/skills-AACRY2TV.js +37 -0
  118. package/dist/cli/{skills-2WZ7N3UW.mjs → skills-Z6NBJ4KP.mjs} +7 -7
  119. package/dist/cli/{tools-YK5SCUZD.mjs → tools-LQKFWK7J.mjs} +17 -17
  120. package/dist/cli/tools-OTYA4722.js +57 -0
  121. package/dist/cli/update-JTGMI6OJ.js +37 -0
  122. package/dist/cli/{update-563YQK53.mjs → update-RUB4EIKW.mjs} +9 -9
  123. package/dist/cli/{views-ISNCRZUP.mjs → views-D7WY5QPR.mjs} +6 -6
  124. package/dist/cli/{views-OLPS6TPG.js → views-FFLXLAGC.js} +21 -21
  125. package/dist/cli/{workflow-B3ZKU3OR.mjs → workflow-BV2OTEQD.mjs} +7 -7
  126. package/dist/cli/{workflow-CUSCTYMW.js → workflow-QW7QVODA.js} +17 -17
  127. package/dist/index.js +9 -9
  128. package/dist/index.mjs +6 -6
  129. package/dist/install-integrity.json +116 -116
  130. package/dist/release.d.mts +9 -1
  131. package/dist/release.d.ts +9 -1
  132. package/dist/release.js +2 -2
  133. package/dist/release.mjs +1 -1
  134. package/dist/server.js +5 -5
  135. package/dist/server.mjs +3 -3
  136. package/package.json +1 -1
  137. package/dist/cli/auth-DXUHEL5I.js +0 -44
  138. package/dist/cli/concurrent-runs-help-JLWY54WL.js +0 -22
  139. package/dist/cli/describe-33PBWO5O.js +0 -50
  140. package/dist/cli/git-2OPYEPYW.js +0 -26
  141. package/dist/cli/search-H57MZPLF.js +0 -32
  142. package/dist/cli/sessions-JJZMQSH4.js +0 -23
  143. package/dist/cli/skills-RIF2DCZI.js +0 -37
  144. package/dist/cli/tools-7VRQ4GSI.js +0 -57
  145. package/dist/cli/update-CMZAIAES.js +0 -37
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  getActiveCliProgress
3
- } from "./chunk-TTBZ7QXX.mjs";
3
+ } from "./chunk-66K7F7LR.mjs";
4
4
  import {
5
5
  maybeReportAutomaticSkillsSyncFailure
6
- } from "./chunk-X47J55ZJ.mjs";
6
+ } from "./chunk-JPFAD6G6.mjs";
7
7
  import {
8
8
  DEFAULT_MAX_RETRIES,
9
9
  DEFAULT_SKILL_AGENTS,
@@ -18,20 +18,20 @@ import {
18
18
  sdkCliStateDirPath,
19
19
  skillsAgentPathSegment,
20
20
  writeSdkSkillsLocalVersion
21
- } from "./chunk-3PVKXUSJ.mjs";
21
+ } from "./chunk-ZRC52APB.mjs";
22
22
  import {
23
23
  SDK_API_CONTRACT,
24
24
  SDK_API_MAJOR,
25
25
  SDK_VERSION,
26
26
  deploymentProtectionHeaders,
27
27
  detectAgentRuntime
28
- } from "./chunk-IBYMGR5Y.mjs";
28
+ } from "./chunk-XJNJ3BWU.mjs";
29
29
  import {
30
30
  DeeplineError
31
31
  } from "./chunk-Z3A2S3QM.mjs";
32
32
  import {
33
33
  SDK_RELEASE
34
- } from "./chunk-BM536WWR.mjs";
34
+ } from "./chunk-CUIFDMNP.mjs";
35
35
 
36
36
  // src/compat.ts
37
37
  import { randomUUID } from "crypto";
@@ -1,7 +1,7 @@
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
3
 
4
- var _chunkKNCNFL76js = require('./chunk-KNCNFL76.js');
4
+ var _chunkMDJ4LPQ5js = require('./chunk-MDJ4LPQ5.js');
5
5
 
6
6
 
7
7
  var _chunk6VLFQZK6js = require('./chunk-6VLFQZK6.js');
@@ -778,7 +778,7 @@ function readSkillsVersionFile(path) {
778
778
  }
779
779
  }
780
780
  function resolveAutoSyncSkillAgents() {
781
- switch (_chunkKNCNFL76js.detectAgentRuntime.call(void 0, )) {
781
+ switch (_chunkMDJ4LPQ5js.detectAgentRuntime.call(void 0, )) {
782
782
  case "codex":
783
783
  return ["codex"];
784
784
  case "claude_code":
@@ -848,7 +848,7 @@ function writeSdkSkillsLocalVersion(baseUrl, version, agents) {
848
848
  }
849
849
 
850
850
  // src/http.ts
851
- var HttpClient2 = class extends _chunkKNCNFL76js.HttpClient {
851
+ var HttpClient2 = class extends _chunkMDJ4LPQ5js.HttpClient {
852
852
  constructor(config) {
853
853
  super(config, readSdkSkillsLocalVersion);
854
854
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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; } var _class;
2
2
 
3
- var _chunkEV3OPDHFjs = require('./chunk-EV3OPDHF.js');
3
+ var _chunkJSIOLCTKjs = require('./chunk-JSIOLCTK.js');
4
4
 
5
5
  // src/cli/progress.ts
6
6
  var _worker_threads = require('worker_threads');
@@ -19,7 +19,7 @@ var CliProgress = (_class = class {
19
19
  __init9() {this.quiet = false}
20
20
  // --json output is one JSON document: progress never renders under it.
21
21
  constructor(enabled) {;_class.prototype.__init.call(this);_class.prototype.__init2.call(this);_class.prototype.__init3.call(this);_class.prototype.__init4.call(this);_class.prototype.__init5.call(this);_class.prototype.__init6.call(this);_class.prototype.__init7.call(this);_class.prototype.__init8.call(this);_class.prototype.__init9.call(this);
22
- this.enabled = enabled && !_chunkEV3OPDHFjs.isJsonOutputMode.call(void 0, );
22
+ this.enabled = enabled && !_chunkJSIOLCTKjs.isJsonOutputMode.call(void 0, );
23
23
  }
24
24
  setLogWriter(writer) {
25
25
  this.logWriter = writer;
@@ -59,7 +59,7 @@ var CliProgress = (_class = class {
59
59
  this.logWriter(line);
60
60
  return;
61
61
  }
62
- if (_chunkEV3OPDHFjs.isJsonOutputMode.call(void 0, )) return;
62
+ if (_chunkJSIOLCTKjs.isJsonOutputMode.call(void 0, )) return;
63
63
  if (!this.enabled) {
64
64
  process.stderr.write(`${line}
65
65
  `);
@@ -1,9 +1,9 @@
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 _chunkH6JMRLAZjs = require('./chunk-H6JMRLAZ.js');
3
+ var _chunkF4H26PP6js = require('./chunk-F4H26PP6.js');
4
4
 
5
5
 
6
- var _chunkG2H6SQQYjs = require('./chunk-G2H6SQQY.js');
6
+ var _chunkY4A6Y5EYjs = require('./chunk-Y4A6Y5EY.js');
7
7
 
8
8
 
9
9
 
@@ -14,17 +14,17 @@ var _chunkMXK4M7HPjs = require('./chunk-MXK4M7HP.js');
14
14
  var _chunkZO65VJRJjs = require('./chunk-ZO65VJRJ.js');
15
15
 
16
16
 
17
- var _chunkYNAXKA23js = require('./chunk-YNAXKA23.js');
17
+ var _chunkBRPUB6UAjs = require('./chunk-BRPUB6UA.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
- var _chunkEV3OPDHFjs = require('./chunk-EV3OPDHF.js');
22
+ var _chunkJSIOLCTKjs = require('./chunk-JSIOLCTK.js');
23
23
 
24
24
 
25
25
 
26
26
 
27
- var _chunkAO56MZ7Djs = require('./chunk-AO56MZ7D.js');
27
+ var _chunk36254433js = require('./chunk-36254433.js');
28
28
 
29
29
  // src/cli/commands/describe.ts
30
30
  var _fs = require('fs');
@@ -33,14 +33,14 @@ var _path = require('path');
33
33
  // src/cli/doc-read-reporting.ts
34
34
  var REPORT_TIMEOUT_MS = 1e3;
35
35
  async function reportDocRead(docId) {
36
- if (_chunkEV3OPDHFjs.isFailureReportingDisabled.call(void 0, )) return;
36
+ if (_chunkJSIOLCTKjs.isFailureReportingDisabled.call(void 0, )) return;
37
37
  try {
38
- const baseUrl = _chunkAO56MZ7Djs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
39
- const apiKey = _chunkAO56MZ7Djs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
38
+ const baseUrl = _chunk36254433js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
39
+ const apiKey = _chunk36254433js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
40
40
  if (!apiKey) return;
41
41
  await fetch(new URL("/api/v2/telemetry/doc-read", baseUrl), {
42
42
  method: "POST",
43
- headers: _chunkEV3OPDHFjs.failureReportHeaders.call(void 0, apiKey),
43
+ headers: _chunkJSIOLCTKjs.failureReportHeaders.call(void 0, apiKey),
44
44
  body: JSON.stringify({ doc_id: docId }),
45
45
  signal: AbortSignal.timeout(REPORT_TIMEOUT_MS)
46
46
  });
@@ -53,22 +53,22 @@ function nothingNamed(name) {
53
53
  return `Nothing named "${name}". Search for it: deepline search ${JSON.stringify(name.replace(/[-_./]+/g, " "))}`;
54
54
  }
55
55
  function findNamed2(name, options) {
56
- return _chunkMXK4M7HPjs.findNamed.call(void 0, name, options, cliDescribeLookups(new (0, _chunkYNAXKA23js.DeeplineClient)()));
56
+ return _chunkMXK4M7HPjs.findNamed.call(void 0, name, options, cliDescribeLookups(new (0, _chunkBRPUB6UAjs.DeeplineClient)()));
57
57
  }
58
58
  function cliDescribeLookups(client) {
59
59
  return {
60
60
  ..._chunkMXK4M7HPjs.describeLookupsFor.call(void 0, client),
61
- dashboardOrgId: _chunkAO56MZ7Djs.resolveCliDashboardOrgId.call(void 0, client.baseUrl)
61
+ dashboardOrgId: _chunk36254433js.resolveCliDashboardOrgId.call(void 0, client.baseUrl)
62
62
  };
63
63
  }
64
64
  async function describeAnything(name, options, onMissing) {
65
- const client = new (0, _chunkYNAXKA23js.DeeplineClient)();
65
+ const client = new (0, _chunkBRPUB6UAjs.DeeplineClient)();
66
66
  const lookups = cliDescribeLookups(client);
67
67
  const outcome = await _chunkMXK4M7HPjs.describeName.call(void 0, name, options, {
68
68
  ...lookups,
69
69
  // `tools describe` has already fetched the tool for its compatibility check.
70
70
  tool: async (toolName) => _nullishCoalesce(options.fetchedTool, () => ( lookups.tool(toolName))),
71
- seedStarterScript: _chunkH6JMRLAZjs.seedToolListScript
71
+ seedStarterScript: _chunkF4H26PP6js.seedToolListScript
72
72
  });
73
73
  if (outcome.status === "missing") {
74
74
  if (onMissing) return onMissing();
@@ -97,18 +97,18 @@ function deliver(envelope, lines, { json, out }) {
97
97
  ` : text;
98
98
  _fs.writeFileSync.call(void 0, path, content);
99
99
  const bytes = Buffer.byteLength(content);
100
- _chunkEV3OPDHFjs.printCommandEnvelope.call(void 0,
100
+ _chunkJSIOLCTKjs.printCommandEnvelope.call(void 0,
101
101
  { path, bytes },
102
102
  { json, text: `Wrote ${path} (${bytes} bytes)
103
103
  ` }
104
104
  );
105
105
  return 0;
106
106
  }
107
- _chunkEV3OPDHFjs.printCommandEnvelope.call(void 0, envelope, { json, text });
107
+ _chunkJSIOLCTKjs.printCommandEnvelope.call(void 0, envelope, { json, text });
108
108
  return 0;
109
109
  }
110
110
  function registerDescribeCommand(program) {
111
- _chunkG2H6SQQYjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
111
+ _chunkY4A6Y5EYjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
112
112
  "Describe anything search returns: a tool, monitor type, or play."
113
113
  ).addHelpText(
114
114
  "after",
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-X47J55ZJ.mjs";
5
+ } from "./chunk-JPFAD6G6.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-3PVKXUSJ.mjs";
8
+ } from "./chunk-ZRC52APB.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isJsonOutputMode
3
- } from "./chunk-X47J55ZJ.mjs";
3
+ } from "./chunk-JPFAD6G6.mjs";
4
4
 
5
5
  // src/cli/progress.ts
6
6
  import { Worker } from "worker_threads";
@@ -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(); } } 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
3
 
4
- var _chunkHO76C7AEjs = require('./chunk-HO76C7AE.js');
4
+ var _chunkM23G33MHjs = require('./chunk-M23G33MH.js');
5
5
 
6
6
 
7
- var _chunk737Y7QGTjs = require('./chunk-737Y7QGT.js');
7
+ var _chunkOXRG325Tjs = require('./chunk-OXRG325T.js');
8
8
 
9
9
 
10
- var _chunkG4WPDCXAjs = require('./chunk-G4WPDCXA.js');
10
+ var _chunkWPGZ6V36js = require('./chunk-WPGZ6V36.js');
11
11
 
12
12
 
13
- var _chunkEV3OPDHFjs = require('./chunk-EV3OPDHF.js');
13
+ var _chunkJSIOLCTKjs = require('./chunk-JSIOLCTK.js');
14
14
 
15
15
 
16
16
 
17
17
 
18
18
 
19
19
 
20
- var _chunkAO56MZ7Djs = require('./chunk-AO56MZ7D.js');
20
+ var _chunk36254433js = require('./chunk-36254433.js');
21
21
 
22
22
  // src/cli/commands/update.ts
23
23
  var _child_process = require('child_process');
@@ -499,7 +499,7 @@ function normalizedNpmPrefix(value) {
499
499
  }
500
500
  function resolveNpmGlobalPrefix(env) {
501
501
  try {
502
- const plan = _chunkG4WPDCXAjs.resolveShellSpawn.call(void 0,
502
+ const plan = _chunkWPGZ6V36js.resolveShellSpawn.call(void 0,
503
503
  "npm",
504
504
  ["prefix", "-g"],
505
505
  process.platform,
@@ -561,8 +561,8 @@ function resolveUpdatePlan(options = {}) {
561
561
  const npmGlobalPrefix = options.npmGlobalPrefix !== void 0 ? options.npmGlobalPrefix : resolveNpmGlobalPrefix(env);
562
562
  const hasVerifiedNpmOwnership = inferredInstallPrefix !== null && normalizedNpmPrefix(inferredInstallPrefix) === normalizedNpmPrefix(npmGlobalPrefix);
563
563
  const installPrefix = options.requireVerifiedNpmOwnership ? hasVerifiedNpmOwnership ? inferredInstallPrefix : null : inferredInstallPrefix;
564
- const npmVersion = options.npmVersion === void 0 ? _chunkHO76C7AEjs.readNpmVersion.call(void 0, env) : options.npmVersion;
565
- const npmGlobalInstallFlags = _chunkHO76C7AEjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
564
+ const npmVersion = options.npmVersion === void 0 ? _chunkM23G33MHjs.readNpmVersion.call(void 0, env) : options.npmVersion;
565
+ const npmGlobalInstallFlags = _chunkM23G33MHjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
566
566
  const args = installPrefix ? [
567
567
  "install",
568
568
  "-g",
@@ -572,7 +572,7 @@ function resolveUpdatePlan(options = {}) {
572
572
  packageSpec
573
573
  ] : ["install", "-g", ...npmGlobalInstallFlags, packageSpec];
574
574
  const fallbackRegistryUrl = options.npmFallbackRegistryUrl !== void 0 ? options.npmFallbackRegistryUrl : publicNpmFallbackRegistryUrl(
575
- _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkAO56MZ7Djs.autoDetectBaseUrl.call(void 0, )
575
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunk36254433js.autoDetectBaseUrl.call(void 0, )
576
576
  );
577
577
  return {
578
578
  kind: "npm-global",
@@ -821,7 +821,7 @@ function sidecarInstallFailure(versionDir) {
821
821
  function runCommand(command, args, env = process.env) {
822
822
  return new Promise((resolveResult) => {
823
823
  let output = "";
824
- const plan = _chunkG4WPDCXAjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
824
+ const plan = _chunkWPGZ6V36js.resolveShellSpawn.call(void 0, command, args, process.platform, env);
825
825
  const child = _child_process.spawn.call(void 0, plan.command, plan.args, {
826
826
  windowsHide: true,
827
827
  stdio: ["inherit", "pipe", "pipe"],
@@ -1169,7 +1169,7 @@ function normalizePinnedVersion(value) {
1169
1169
  }
1170
1170
  async function readPinMetadata(registryUrl, version) {
1171
1171
  const controller = new AbortController();
1172
- const timeout = setTimeout(() => controller.abort(), _chunkAO56MZ7Djs.DEFAULT_TIMEOUT);
1172
+ const timeout = setTimeout(() => controller.abort(), _chunk36254433js.DEFAULT_TIMEOUT);
1173
1173
  try {
1174
1174
  const response = await fetch(
1175
1175
  new URL(
@@ -1185,7 +1185,7 @@ async function readPinMetadata(registryUrl, version) {
1185
1185
  if (!response.ok) {
1186
1186
  return {
1187
1187
  kind: "miss",
1188
- transient: _chunkAO56MZ7Djs.TRANSIENT_HTTP_STATUSES.has(response.status),
1188
+ transient: _chunk36254433js.TRANSIENT_HTTP_STATUSES.has(response.status),
1189
1189
  error: new Error(`${registryUrl} returned HTTP ${response.status}`)
1190
1190
  };
1191
1191
  }
@@ -1219,8 +1219,8 @@ async function publishedVersionSupportsPin(version, fallbackRegistryUrl, retry =
1219
1219
  "https://registry.npmjs.org/",
1220
1220
  ...fallbackRegistryUrl ? [fallbackRegistryUrl] : []
1221
1221
  ];
1222
- const maxRetries = _nullishCoalesce(retry.maxRetries, () => ( _chunkAO56MZ7Djs.DEFAULT_MAX_RETRIES));
1223
- const backoffMs = _nullishCoalesce(retry.backoffMs, () => ( _chunkAO56MZ7Djs.defaultRetryBackoffMs));
1222
+ const maxRetries = _nullishCoalesce(retry.maxRetries, () => ( _chunk36254433js.DEFAULT_MAX_RETRIES));
1223
+ const backoffMs = _nullishCoalesce(retry.backoffMs, () => ( _chunk36254433js.defaultRetryBackoffMs));
1224
1224
  let lastError = null;
1225
1225
  for (let round = 1; ; round += 1) {
1226
1226
  let transientOnly = true;
@@ -1283,14 +1283,14 @@ async function resolveInstalledVersionIfLatest(plan) {
1283
1283
  return null;
1284
1284
  }
1285
1285
  async function runUpdateCommand(options, dependencies = {}) {
1286
- const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkAO56MZ7Djs.autoDetectBaseUrl));
1286
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunk36254433js.autoDetectBaseUrl));
1287
1287
  const resolvePlan = _nullishCoalesce(dependencies.resolvePlan, () => ( resolveUpdatePlan));
1288
1288
  const runPlan = _nullishCoalesce(dependencies.runPlan, () => ( runUpdatePlan));
1289
1289
  const syncSkills = _nullishCoalesce(dependencies.syncSkillsIfNeeded, () => ( (async () => {
1290
1290
  const originalWrite = process.stdout.write.bind(process.stdout);
1291
1291
  process.stdout.write = (() => true);
1292
1292
  try {
1293
- const exitCode = await _chunk737Y7QGTjs.runSkillsCommand.call(void 0, { json: true });
1293
+ const exitCode = await _chunkOXRG325Tjs.runSkillsCommand.call(void 0, { json: true });
1294
1294
  if (exitCode !== 0) {
1295
1295
  throw new Error(
1296
1296
  `Deepline skills update failed with exit ${exitCode}.`
@@ -1363,7 +1363,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1363
1363
  };
1364
1364
  if (options.json && !options.executeWithJson) {
1365
1365
  const upToDateVersion2 = pinnedVersion || options.force ? null : await resolveUpToDateVersion(plan);
1366
- _chunkEV3OPDHFjs.printCommandEnvelope.call(void 0,
1366
+ _chunkJSIOLCTKjs.printCommandEnvelope.call(void 0,
1367
1367
  {
1368
1368
  ...plan,
1369
1369
  updated: false,
@@ -1375,7 +1375,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1375
1375
  return 0;
1376
1376
  }
1377
1377
  if (options.printCommand) {
1378
- _chunkEV3OPDHFjs.printCommandEnvelope.call(void 0,
1378
+ _chunkJSIOLCTKjs.printCommandEnvelope.call(void 0,
1379
1379
  {
1380
1380
  ...plan,
1381
1381
  render: {
@@ -1388,7 +1388,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1388
1388
  return 0;
1389
1389
  }
1390
1390
  if (plan.kind === "source" || plan.kind === "homebrew") {
1391
- _chunkEV3OPDHFjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1391
+ _chunkJSIOLCTKjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1392
1392
  return 0;
1393
1393
  }
1394
1394
  const upToDateVersion = pinnedVersion || options.force ? null : await resolveUpToDateVersion(plan);
@@ -1426,7 +1426,7 @@ To retry with full installer output, run: deepline skills install
1426
1426
  );
1427
1427
  }
1428
1428
  if (options.executeWithJson && options.json) {
1429
- _chunkEV3OPDHFjs.printCommandEnvelope.call(void 0,
1429
+ _chunkJSIOLCTKjs.printCommandEnvelope.call(void 0,
1430
1430
  {
1431
1431
  ok: true,
1432
1432
  pinnedVersion,
@@ -4,22 +4,22 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkHEOM3FACjs = require('./chunk-HEOM3FAC.js');
7
+ var _chunk6JQZC6HXjs = require('./chunk-6JQZC6HX.js');
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkG4WPDCXAjs = require('./chunk-G4WPDCXA.js');
12
+ var _chunkWPGZ6V36js = require('./chunk-WPGZ6V36.js');
13
13
 
14
14
 
15
15
 
16
- var _chunkEV3OPDHFjs = require('./chunk-EV3OPDHF.js');
16
+ var _chunkJSIOLCTKjs = require('./chunk-JSIOLCTK.js');
17
17
 
18
18
 
19
- var _chunkAO56MZ7Djs = require('./chunk-AO56MZ7D.js');
19
+ var _chunk36254433js = require('./chunk-36254433.js');
20
20
 
21
21
 
22
- var _chunkKNCNFL76js = require('./chunk-KNCNFL76.js');
22
+ var _chunkMDJ4LPQ5js = require('./chunk-MDJ4LPQ5.js');
23
23
 
24
24
  // src/cli/compatibility-catalog.ts
25
25
  var readers = /* @__PURE__ */ new WeakMap();
@@ -46,7 +46,7 @@ function trustedAutoUpdateRegistryUrl(baseUrl) {
46
46
  async function reportAutoUpdateEvent(input) {
47
47
  let apiKey = "";
48
48
  try {
49
- apiKey = _chunkAO56MZ7Djs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
49
+ apiKey = _chunk36254433js.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
50
50
  } catch (e2) {
51
51
  return;
52
52
  }
@@ -62,15 +62,15 @@ async function reportAutoUpdateEvent(input) {
62
62
  headers: {
63
63
  Authorization: `Bearer ${apiKey}`,
64
64
  "Content-Type": "application/json",
65
- "User-Agent": `deepline-ts-sdk/${_chunkKNCNFL76js.SDK_VERSION}`,
65
+ "User-Agent": `deepline-ts-sdk/${_chunkMDJ4LPQ5js.SDK_VERSION}`,
66
66
  "X-Deepline-Client-Family": "sdk",
67
67
  "X-Deepline-CLI-Family": "sdk",
68
- "X-Deepline-CLI-Version": _chunkKNCNFL76js.SDK_VERSION,
69
- "X-Deepline-SDK-Version": _chunkKNCNFL76js.SDK_VERSION
68
+ "X-Deepline-CLI-Version": _chunkMDJ4LPQ5js.SDK_VERSION,
69
+ "X-Deepline-SDK-Version": _chunkMDJ4LPQ5js.SDK_VERSION
70
70
  },
71
71
  body: JSON.stringify({
72
72
  event: input.event,
73
- current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkKNCNFL76js.SDK_VERSION,
73
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkMDJ4LPQ5js.SDK_VERSION,
74
74
  target_version: input.response.latest,
75
75
  reason: _optionalChain([input, 'access', _8 => _8.response, 'access', _9 => _9.auto_update, 'optionalAccess', _10 => _10.reason]),
76
76
  command: _nullishCoalesce(input.response.command, () => ( null)),
@@ -89,19 +89,19 @@ function envTruthy(name) {
89
89
  return value === "1" || value === "true" || value === "yes";
90
90
  }
91
91
  function shouldSkipSelfUpdate(policy) {
92
- return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkHEOM3FACjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkG4WPDCXAjs.isCiEnvironment.call(void 0, );
92
+ return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunk6JQZC6HXjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkWPGZ6V36js.isCiEnvironment.call(void 0, );
93
93
  }
94
94
  function isDowngradeAutoUpdateResponse(response) {
95
95
  const target = _optionalChain([response, 'optionalAccess', _17 => _17.latest, 'optionalAccess', _18 => _18.trim, 'call', _19 => _19()]);
96
- const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkKNCNFL76js.SDK_VERSION;
96
+ const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkMDJ4LPQ5js.SDK_VERSION;
97
97
  if (!target) return false;
98
- return _chunkHEOM3FACjs.compareUpdateVersions.call(void 0, target, current) < 0;
98
+ return _chunk6JQZC6HXjs.compareUpdateVersions.call(void 0, target, current) < 0;
99
99
  }
100
100
  function relaunchCurrentCommand(plan, runtime = {}) {
101
101
  return new Promise((resolve) => {
102
102
  const argv = _nullishCoalesce(runtime.argv, () => ( process.argv));
103
103
  const platform = _nullishCoalesce(runtime.platform, () => ( process.platform));
104
- const launch = plan.kind === "python-sidecar" ? _chunkG4WPDCXAjs.resolveShellSpawn.call(void 0, plan.sidecarPath, argv.slice(2), platform) : {
104
+ const launch = plan.kind === "python-sidecar" ? _chunkWPGZ6V36js.resolveShellSpawn.call(void 0, plan.sidecarPath, argv.slice(2), platform) : {
105
105
  command: _nullishCoalesce(runtime.execPath, () => ( process.execPath)),
106
106
  args: argv.slice(1),
107
107
  shell: false
@@ -148,7 +148,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
148
148
  }
149
149
  if (isDowngradeAutoUpdateResponse(response)) {
150
150
  const target = response.latest;
151
- const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkKNCNFL76js.SDK_VERSION;
151
+ const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkMDJ4LPQ5js.SDK_VERSION;
152
152
  process.stderr.write(
153
153
  `Deepline SDK/CLI auto-update refused: server advertised older ${target} than current ${current}. Continuing without mutating the CLI.
154
154
  `
@@ -156,21 +156,21 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
156
156
  return false;
157
157
  }
158
158
  const packageSpec = response.latest ? `deepline@${response.latest}` : void 0;
159
- const plan = _chunkHEOM3FACjs.resolveUpdatePlan.call(void 0, {
159
+ const plan = _chunk6JQZC6HXjs.resolveUpdatePlan.call(void 0, {
160
160
  packageSpec,
161
161
  requireVerifiedNpmOwnership: true,
162
162
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
163
163
  });
164
- if (!_chunkHEOM3FACjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
164
+ if (!_chunk6JQZC6HXjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
165
165
  return false;
166
166
  }
167
167
  if (!autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
168
168
  deferredAutoUpdate = async () => {
169
169
  await applyAutoUpdate(response, baseUrl, plan, "next_command");
170
170
  };
171
- if (_chunkEV3OPDHFjs.isJsonOutputMode.call(void 0, )) {
171
+ if (_chunkJSIOLCTKjs.isJsonOutputMode.call(void 0, )) {
172
172
  const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
173
- _chunkEV3OPDHFjs.addJsonNotice.call(void 0, {
173
+ _chunkJSIOLCTKjs.addJsonNotice.call(void 0, {
174
174
  code: "sdk_update_queued",
175
175
  message: `Deepline SDK/CLI update${target ? ` to ${target}` : ""} is queued after this command; the next command will use it if installation succeeds.`
176
176
  });
@@ -183,7 +183,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
183
183
  return true;
184
184
  }
185
185
  async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
186
- if (!_chunkHEOM3FACjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
186
+ if (!_chunk6JQZC6HXjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
187
187
  const autoUpdate = response.auto_update;
188
188
  const label = _optionalChain([autoUpdate, 'optionalAccess', _32 => _32.reason]) === "rollback_forced" ? "has a server rollback pending and needs the latest rollback-aware CLI" : _optionalChain([autoUpdate, 'optionalAccess', _33 => _33.reason]) === "deprecated" ? "is deprecated and will update automatically" : _optionalChain([autoUpdate, 'optionalAccess', _34 => _34.required]) ? "requires an update" : "has an update available and will update automatically";
189
189
  process.stderr.write(
@@ -196,7 +196,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
196
196
  event: "started",
197
197
  installKind: plan.kind
198
198
  });
199
- const updateResult = await _chunkHEOM3FACjs.runAutomaticUpdatePlan.call(void 0, plan);
199
+ const updateResult = await _chunk6JQZC6HXjs.runAutomaticUpdatePlan.call(void 0, plan);
200
200
  if (updateResult.status === "skipped_previous_failure") {
201
201
  void reportAutoUpdateEvent({
202
202
  baseUrl,
@@ -234,7 +234,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
234
234
  exitCode: 0
235
235
  });
236
236
  try {
237
- await _chunkG4WPDCXAjs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
237
+ await _chunkWPGZ6V36js.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
238
238
  mode: "detached",
239
239
  update: _optionalChain([response, 'access', _36 => _36.skills, 'optionalAccess', _37 => _37.requires_cli_update]) ? void 0 : response.skills,
240
240
  afterCliUpdate: {
@@ -261,7 +261,7 @@ var _crypto = require('crypto');
261
261
  var TOOL_EXECUTE_PROGRESS_INTERVAL_MS = 15e3;
262
262
  var activeToolExecuteCommand = null;
263
263
  function progressLine(line) {
264
- if (!_chunkEV3OPDHFjs.isJsonOutputMode.call(void 0, )) console.error(line);
264
+ if (!_chunkJSIOLCTKjs.isJsonOutputMode.call(void 0, )) console.error(line);
265
265
  }
266
266
  function beginToolExecuteCommand() {
267
267
  if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-IOWLFWWG.mjs";
3
+ } from "./chunk-QCD7BQ5Z.mjs";
4
4
  import {
5
5
  printCommandEnvelope
6
- } from "./chunk-X47J55ZJ.mjs";
6
+ } from "./chunk-JPFAD6G6.mjs";
7
7
  import {
8
8
  resolveConfig
9
- } from "./chunk-3PVKXUSJ.mjs";
9
+ } from "./chunk-ZRC52APB.mjs";
10
10
 
11
11
  // src/cli/commands/integration-commands.ts
12
12
  import { Option } from "commander";
@@ -3,7 +3,7 @@
3
3
  var _chunkCSPHSNBWjs = require('./chunk-CSPHSNBW.js');
4
4
 
5
5
 
6
- var _chunk5VSHQG5Ejs = require('./chunk-5VSHQG5E.js');
6
+ var _chunkPYFMNPTAjs = require('./chunk-PYFMNPTA.js');
7
7
 
8
8
 
9
9
  var _chunkMJTVX4QKjs = require('./chunk-MJTVX4QK.js');
@@ -11,7 +11,7 @@ var _chunkMJTVX4QKjs = require('./chunk-MJTVX4QK.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkEV3OPDHFjs = require('./chunk-EV3OPDHF.js');
14
+ var _chunkJSIOLCTKjs = require('./chunk-JSIOLCTK.js');
15
15
 
16
16
 
17
17
  var _chunkLFQJW4S2js = require('./chunk-LFQJW4S2.js');
@@ -581,7 +581,7 @@ function parseInputFlagValue(raw) {
581
581
  return raw;
582
582
  }
583
583
  function parsePlayRunOptions(args, initialInput = null) {
584
- const selection = _chunkEV3OPDHFjs.parseJsonFields.call(void 0, args, "run");
584
+ const selection = _chunkJSIOLCTKjs.parseJsonFields.call(void 0, args, "run");
585
585
  args = selection.args;
586
586
  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.";
587
587
  let filePath = null;
@@ -593,7 +593,7 @@ function parsePlayRunOptions(args, initialInput = null) {
593
593
  let revisionSelector = null;
594
594
  const watch = !args.includes("--no-wait");
595
595
  const dryRun = args.includes("--dry-run");
596
- let jsonOutput = dryRun ? _chunkEV3OPDHFjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkEV3OPDHFjs.argsWantJson.call(void 0, args);
596
+ let jsonOutput = dryRun ? _chunkJSIOLCTKjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkJSIOLCTKjs.argsWantJson.call(void 0, args);
597
597
  const fullJson = args.includes("--full");
598
598
  const force = args.includes("--force") || args.includes("--from-start");
599
599
  const forceToolRefresh = args.includes("--force-tool-refresh") || args.includes("--refresh-cache");
@@ -657,7 +657,7 @@ function parsePlayRunOptions(args, initialInput = null) {
657
657
  "--log-level requires one of: debug, info, warn, error."
658
658
  );
659
659
  }
660
- const parsed = _chunk5VSHQG5Ejs.parseLogLevel.call(void 0, value);
660
+ const parsed = _chunkPYFMNPTAjs.parseLogLevel.call(void 0, value);
661
661
  if (!parsed) {
662
662
  throw new Error(
663
663
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -990,7 +990,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
990
990
  const hasExplicitLogLevel = options.logLevel !== void 0 || inputArgs.some(
991
991
  (arg) => arg === "--log-level" || arg.startsWith("--log-level=")
992
992
  );
993
- let logLevel = options.logLevel === void 0 ? base.logLevel : _chunk5VSHQG5Ejs.parseLogLevel.call(void 0, options.logLevel);
993
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkPYFMNPTAjs.parseLogLevel.call(void 0, options.logLevel);
994
994
  if (!logLevel)
995
995
  throw new Error("--log-level requires one of: debug, info, warn, error.");
996
996
  const debugAlias = options.logs || options.debug === true || inputArgs.some(
@@ -1004,13 +1004,13 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
1004
1004
  if (debugAlias || debugMapLatency && logLevel === "info")
1005
1005
  logLevel = "debug";
1006
1006
  const fullJson = _nullishCoalesce(options.full, () => ( base.fullJson));
1007
- const jsonFields = options.json === void 0 ? base.jsonFields : _chunkEV3OPDHFjs.parseJsonFields.call(void 0,
1008
- [...fullJson ? ["--full"] : [], ..._chunkEV3OPDHFjs.jsonFieldArgs.call(void 0, options.json)],
1007
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunkJSIOLCTKjs.parseJsonFields.call(void 0,
1008
+ [...fullJson ? ["--full"] : [], ..._chunkJSIOLCTKjs.jsonFieldArgs.call(void 0, options.json)],
1009
1009
  "run"
1010
1010
  ).fields;
1011
1011
  const watch = options.wait === false ? false : base.watch;
1012
1012
  const explicitJson = options.json !== void 0 ? options.json !== false : base.jsonOutput;
1013
- const jsonOutput = dryRun || !watch ? explicitJson || _chunkEV3OPDHFjs.argsWantJson.call(void 0, []) : explicitJson;
1013
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunkJSIOLCTKjs.argsWantJson.call(void 0, []) : explicitJson;
1014
1014
  const verboseLogs = Boolean(
1015
1015
  debugAlias || logLevel === "debug" || debugMapLatency
1016
1016
  );
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-MF7PCM6C.mjs";
4
4
  import {
5
5
  parseLogLevel
6
- } from "./chunk-QEDRUURT.mjs";
6
+ } from "./chunk-R5NKLZL2.mjs";
7
7
  import {
8
8
  setDottedInputValue
9
9
  } from "./chunk-5TYLSS4Q.mjs";
@@ -11,7 +11,7 @@ import {
11
11
  argsWantJson,
12
12
  jsonFieldArgs,
13
13
  parseJsonFields
14
- } from "./chunk-X47J55ZJ.mjs";
14
+ } from "./chunk-JPFAD6G6.mjs";
15
15
  import {
16
16
  DeeplineError
17
17
  } from "./chunk-Z3A2S3QM.mjs";