deepline 0.3.576 → 0.3.577

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 (140) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/cli/{agents-BLJR2Y3X.mjs → agents-SUJRATC2.mjs} +27 -10
  3. package/dist/cli/{agents-CJQ7KBFT.js → agents-ZIGK3FQ2.js} +54 -37
  4. package/dist/cli/auth-A5U6GVCF.js +44 -0
  5. package/dist/cli/{auth-SLZIRCPE.mjs → auth-TRKPRZK6.mjs} +5 -5
  6. package/dist/cli/{billing-IECMVARO.js → billing-6RAF4DQY.js} +102 -102
  7. package/dist/cli/{billing-6Q4SK5KF.mjs → billing-WPQT3QRS.mjs} +9 -9
  8. package/dist/cli/{chunk-L6H72AIX.js → chunk-2NFDB6CL.js} +2 -2
  9. package/dist/cli/{chunk-X5V6S5KI.mjs → chunk-425SUSDJ.mjs} +5 -5
  10. package/dist/cli/{chunk-66K7F7LR.mjs → chunk-4ANO4DM5.mjs} +1 -1
  11. package/dist/cli/{chunk-EQO77FQZ.js → chunk-772IV64Y.js} +5 -5
  12. package/dist/cli/{chunk-TZHS2W5Z.mjs → chunk-APJ6YIYW.mjs} +1 -1
  13. package/dist/cli/{chunk-6RY5COUY.js → chunk-APOWCBO7.js} +23 -23
  14. package/dist/cli/{chunk-QCD7BQ5Z.mjs → chunk-ATW77ZBL.mjs} +2 -2
  15. package/dist/cli/{chunk-7DI34I73.mjs → chunk-CCGFSELM.mjs} +3 -3
  16. package/dist/cli/{chunk-ZRC52APB.mjs → chunk-CWHXE6HJ.mjs} +1 -1
  17. package/dist/cli/{chunk-4KIIXV5Z.js → chunk-CZF2LKIT.js} +16 -16
  18. package/dist/cli/{chunk-5VABOJ4M.mjs → chunk-DA5C5WOI.mjs} +2 -2
  19. package/dist/cli/{chunk-45POZK3F.js → chunk-DJP7CJQC.js} +3 -3
  20. package/dist/cli/{chunk-WPGZ6V36.js → chunk-EJN43WGD.js} +48 -48
  21. package/dist/cli/{chunk-ANPHEXTT.js → chunk-EKZ6JD6K.js} +9 -9
  22. package/dist/cli/{chunk-OXRG325T.js → chunk-EV47DV25.js} +41 -41
  23. package/dist/cli/{chunk-XJNJ3BWU.mjs → chunk-FHYNK7GL.mjs} +1 -1
  24. package/dist/cli/{chunk-SBZSJQEI.js → chunk-FRYLXDNP.js} +53 -53
  25. package/dist/cli/{chunk-JSIOLCTK.js → chunk-FXN5WSTY.js} +20 -20
  26. package/dist/cli/{chunk-GI57Q7JU.mjs → chunk-GFWVBXAK.mjs} +2 -2
  27. package/dist/cli/{chunk-OMVBBAQP.mjs → chunk-H6NF5SNY.mjs} +2 -2
  28. package/dist/cli/{chunk-S4IW4NAI.mjs → chunk-I44Y4MPK.mjs} +1 -1
  29. package/dist/cli/{chunk-CUIFDMNP.mjs → chunk-ID5WQZ2H.mjs} +1 -1
  30. package/dist/cli/{chunk-GZ7KYGYE.js → chunk-ITK5TGQ7.js} +15 -15
  31. package/dist/cli/{chunk-36254433.js → chunk-JHQ7FORY.js} +3 -3
  32. package/dist/cli/{chunk-Y4A6Y5EY.js → chunk-JWLV3XRF.js} +7 -7
  33. package/dist/cli/{chunk-MXPCTF57.js → chunk-KVDIN2YW.js} +11 -0
  34. package/dist/cli/{chunk-YHM64N5C.mjs → chunk-LUQMTNFB.mjs} +1 -1
  35. package/dist/cli/{chunk-ZIGMC2X4.mjs → chunk-LXM36EXW.mjs} +11 -11
  36. package/dist/cli/{chunk-KQTZO6NT.mjs → chunk-MDP3CNDM.mjs} +2 -2
  37. package/dist/cli/{chunk-F4H26PP6.js → chunk-MOWABWHT.js} +100 -100
  38. package/dist/cli/{chunk-DGY4EYIX.js → chunk-MTHAVEQN.js} +5 -5
  39. package/dist/cli/{chunk-LKC7PHDX.mjs → chunk-MTM6WNPP.mjs} +4 -4
  40. package/dist/cli/{chunk-PU5VCDCJ.mjs → chunk-MVCKEPWF.mjs} +5 -5
  41. package/dist/cli/{chunk-AUR24RQB.mjs → chunk-N6EU2FRF.mjs} +2 -2
  42. package/dist/cli/{chunk-HE53AI2E.mjs → chunk-NDMKFA6W.mjs} +3 -3
  43. package/dist/cli/{chunk-M23G33MH.js → chunk-NMSDMXYS.js} +2 -2
  44. package/dist/cli/{chunk-NQFZ7FYN.js → chunk-NRBIYZUG.js} +10 -10
  45. package/dist/cli/{chunk-BRPUB6UA.js → chunk-NVJGVNEN.js} +5 -5
  46. package/dist/cli/{chunk-JPFAD6G6.mjs → chunk-O35BHZLQ.mjs} +2 -2
  47. package/dist/cli/{chunk-E4M4QZBP.js → chunk-OBZB4J7B.js} +1 -1
  48. package/dist/cli/{chunk-2UHEJPSS.mjs → chunk-OQQDNJ2D.mjs} +5 -5
  49. package/dist/cli/{chunk-AZFSCPYK.mjs → chunk-ORLJIJVX.mjs} +11 -0
  50. package/dist/cli/{chunk-SY3OKOI5.mjs → chunk-Q3WDT3YA.mjs} +1 -1
  51. package/dist/cli/{chunk-WDWV77SJ.js → chunk-QXAPAHIG.js} +13 -13
  52. package/dist/cli/{chunk-MDJ4LPQ5.js → chunk-RSZSKTRC.js} +4 -4
  53. package/dist/cli/{chunk-6JQZC6HX.js → chunk-RVICQWXU.js} +20 -20
  54. package/dist/cli/{chunk-D5LWYP2H.mjs → chunk-U6Y4HX6J.mjs} +3 -3
  55. package/dist/cli/{chunk-UD6M2ZTY.js → chunk-V5SF5CJ7.js} +2 -2
  56. package/dist/cli/{chunk-ZYN6S6G2.mjs → chunk-WP4Q5PTK.mjs} +4 -4
  57. package/dist/cli/{chunk-PYFMNPTA.js → chunk-X5ZE7K4J.js} +8 -8
  58. package/dist/cli/{chunk-UGIH4462.mjs → chunk-X7Y4T7CV.mjs} +5 -5
  59. package/dist/cli/{chunk-R5NKLZL2.mjs → chunk-XQTJET2Y.mjs} +1 -1
  60. package/dist/cli/{chunk-HHMO3CON.js → chunk-Y37JQZBP.js} +6 -6
  61. package/dist/cli/{chunk-V25CXBR2.js → chunk-ZHJIDDYR.js} +26 -26
  62. package/dist/cli/command-docs.js +2 -2
  63. package/dist/cli/command-docs.mjs +1 -1
  64. package/dist/cli/{concurrent-runs-help-H3SA7J6H.mjs → concurrent-runs-help-6CGXMTFQ.mjs} +6 -6
  65. package/dist/cli/concurrent-runs-help-VJDPVGXM.js +22 -0
  66. package/dist/cli/{csv-6DEKR3QQ.js → csv-7UZT2LGE.js} +13 -13
  67. package/dist/cli/{csv-ICXI7JAS.mjs → csv-L7P6PC6I.mjs} +4 -4
  68. package/dist/cli/{db-VI7T5E6O.mjs → db-4OOEC5KV.mjs} +6 -6
  69. package/dist/cli/{db-AG7INMLP.js → db-7KETOIZY.js} +27 -27
  70. package/dist/cli/{describe-S6NFWWGK.mjs → describe-M6HEFS46.mjs} +18 -18
  71. package/dist/cli/describe-RLWJYZIR.js +50 -0
  72. package/dist/cli/{executions-MK7H4Q2H.mjs → executions-U27R2LY4.mjs} +6 -6
  73. package/dist/cli/{executions-M5R5QHIA.js → executions-UIR6RQFM.js} +8 -8
  74. package/dist/cli/{feedback-L3L4FEQL.js → feedback-CQ5FUE4T.js} +14 -14
  75. package/dist/cli/{feedback-ZHATL2XF.mjs → feedback-UUUISTGQ.mjs} +6 -6
  76. package/dist/cli/{git-W5DHNH2Q.mjs → git-DTILSRIQ.mjs} +5 -5
  77. package/dist/cli/git-ZGDD3BVX.js +26 -0
  78. package/dist/cli/index.js +148 -148
  79. package/dist/cli/index.mjs +47 -47
  80. package/dist/cli/{integrations-IBWNO3YP.js → integrations-ABBLLEJH.js} +29 -29
  81. package/dist/cli/{integrations-73YSN2LI.mjs → integrations-NNACG3HD.mjs} +7 -7
  82. package/dist/cli/{legacy-noops-AE6DBYJM.js → legacy-noops-3JLS5OD7.js} +9 -9
  83. package/dist/cli/{legacy-noops-4LFZJTDX.mjs → legacy-noops-KQW7AIYU.mjs} +6 -6
  84. package/dist/cli/{mcp-E6PTSNDE.mjs → mcp-7NHGPYZH.mjs} +4 -4
  85. package/dist/cli/{mcp-BKL6M6OI.js → mcp-JPBFKR26.js} +24 -24
  86. package/dist/cli/{monitors-SW7ZCPPT.js → monitors-J6HK5KCN.js} +100 -100
  87. package/dist/cli/{monitors-MXJ27KQK.mjs → monitors-JOE2DALW.mjs} +7 -7
  88. package/dist/cli/{org-HYAJ2MIK.mjs → org-VZZ4LN4O.mjs} +6 -6
  89. package/dist/cli/{org-XJ44KZ5I.js → org-WFZFQIXQ.js} +121 -121
  90. package/dist/cli/{outcomes-PUMAXRGD.mjs → outcomes-H2WEZYNT.mjs} +6 -6
  91. package/dist/cli/{outcomes-PTXGG4BZ.js → outcomes-RZWL47BJ.js} +14 -14
  92. package/dist/cli/{play-EPDZ3GDV.js → play-2ZEBUF5T.js} +336 -336
  93. package/dist/cli/{play-QN3X6IAE.mjs → play-KMWA7GVN.mjs} +19 -19
  94. package/dist/cli/{providers-JIN5UQ7Z.mjs → providers-2BIA3OWA.mjs} +6 -6
  95. package/dist/cli/{providers-GNJFGNDH.js → providers-57AZWFSW.js} +9 -9
  96. package/dist/cli/{quickstart-YH6NNC5I.js → quickstart-EYJFERQO.js} +6 -6
  97. package/dist/cli/{quickstart-4EBFHGB7.mjs → quickstart-NSDM2RXV.mjs} +4 -4
  98. package/dist/cli/{run-4DRF7KQJ.js → run-BW62DZGQ.js} +44 -44
  99. package/dist/cli/{run-5467KBCP.mjs → run-X6H5SCEE.mjs} +23 -23
  100. package/dist/cli/{search-ZERTOGH6.mjs → search-2VN74P5N.mjs} +7 -7
  101. package/dist/cli/search-HYRDZVPQ.js +32 -0
  102. package/dist/cli/{search-output-OMNZN2LP.js → search-output-SFWQVBYU.js} +6 -6
  103. package/dist/cli/{search-output-OAVJXRFO.mjs → search-output-VN7XOZEQ.mjs} +4 -4
  104. package/dist/cli/{secrets-KAVDYB4P.mjs → secrets-4M26N436.mjs} +6 -6
  105. package/dist/cli/{secrets-7XK2BGYX.js → secrets-OIPKG2H7.js} +15 -15
  106. package/dist/cli/sessions-5P2KZOQE.js +23 -0
  107. package/dist/cli/{sessions-TNPI6XWB.mjs → sessions-SYFH23L3.mjs} +6 -6
  108. package/dist/cli/{settings-KUABXRAJ.mjs → settings-4HPF3T4P.mjs} +12 -12
  109. package/dist/cli/{settings-RQ3Z3JCM.js → settings-5NB4HZYL.js} +85 -85
  110. package/dist/cli/{setup-6IX6BSS7.mjs → setup-CI74F6CL.mjs} +9 -9
  111. package/dist/cli/{setup-TDOWNKYN.js → setup-JV3F5C7P.js} +49 -49
  112. package/dist/cli/{skills-Z6NBJ4KP.mjs → skills-76CM4GHO.mjs} +7 -7
  113. package/dist/cli/skills-PJ5EL32L.js +37 -0
  114. package/dist/cli/{tools-LQKFWK7J.mjs → tools-SVGLDWOC.mjs} +17 -17
  115. package/dist/cli/tools-Y5ID2SPK.js +57 -0
  116. package/dist/cli/update-FSUMCMNZ.js +37 -0
  117. package/dist/cli/{update-RUB4EIKW.mjs → update-KPMDOZRX.mjs} +9 -9
  118. package/dist/cli/{views-D7WY5QPR.mjs → views-KW54SAES.mjs} +6 -6
  119. package/dist/cli/{views-FFLXLAGC.js → views-R37NWN6J.js} +21 -21
  120. package/dist/cli/{workflow-BV2OTEQD.mjs → workflow-3MIRQV4Q.mjs} +7 -7
  121. package/dist/cli/{workflow-QW7QVODA.js → workflow-BKRKUNYS.js} +17 -17
  122. package/dist/index.js +9 -9
  123. package/dist/index.mjs +6 -6
  124. package/dist/install-integrity.json +116 -116
  125. package/dist/release.d.mts +1 -1
  126. package/dist/release.d.ts +1 -1
  127. package/dist/release.js +2 -2
  128. package/dist/release.mjs +1 -1
  129. package/dist/server.js +5 -5
  130. package/dist/server.mjs +3 -3
  131. package/package.json +1 -1
  132. package/dist/cli/auth-GSDYP4ZN.js +0 -44
  133. package/dist/cli/concurrent-runs-help-PB7GT6F2.js +0 -22
  134. package/dist/cli/describe-LMHIG3DP.js +0 -50
  135. package/dist/cli/git-WYNCLDHD.js +0 -26
  136. package/dist/cli/search-B2KCWPUV.js +0 -32
  137. package/dist/cli/sessions-PUQURPPC.js +0 -23
  138. package/dist/cli/skills-AACRY2TV.js +0 -37
  139. package/dist/cli/tools-OTYA4722.js +0 -57
  140. package/dist/cli/update-JTGMI6OJ.js +0 -37
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  concurrentRunsLine
3
- } from "./chunk-KQTZO6NT.mjs";
4
- import "./chunk-HE53AI2E.mjs";
3
+ } from "./chunk-MDP3CNDM.mjs";
4
+ import "./chunk-NDMKFA6W.mjs";
5
5
  import {
6
6
  DeeplineClient
7
- } from "./chunk-QCD7BQ5Z.mjs";
7
+ } from "./chunk-ATW77ZBL.mjs";
8
8
  import {
9
9
  PUBLIC_PLAN_SKUS,
10
10
  iterateCursorPages,
11
11
  requireBillingIdempotencyKey
12
- } from "./chunk-R5NKLZL2.mjs";
12
+ } from "./chunk-XQTJET2Y.mjs";
13
13
  import "./chunk-FZHMNK6F.mjs";
14
14
  import "./chunk-5TYLSS4Q.mjs";
15
15
  import "./chunk-PSX3WHIH.mjs";
16
16
  import {
17
17
  PLAY_RUNTIME_PRICING_NOTE
18
- } from "./chunk-AZFSCPYK.mjs";
18
+ } from "./chunk-ORLJIJVX.mjs";
19
19
  import {
20
20
  PRICING_PAGE_NOTE
21
21
  } from "./chunk-HECXJBED.mjs";
@@ -32,9 +32,9 @@ import {
32
32
  openInBrowser,
33
33
  printCommandEnvelope,
34
34
  shouldEmitJson
35
- } from "./chunk-JPFAD6G6.mjs";
36
- import "./chunk-ZRC52APB.mjs";
37
- import "./chunk-XJNJ3BWU.mjs";
35
+ } from "./chunk-O35BHZLQ.mjs";
36
+ import "./chunk-CWHXE6HJ.mjs";
37
+ import "./chunk-FHYNK7GL.mjs";
38
38
  import {
39
39
  AuthError,
40
40
  ConfigError
@@ -44,7 +44,7 @@ import {
44
44
  DeeplineError
45
45
  } from "./chunk-Z3A2S3QM.mjs";
46
46
  import "./chunk-2MGZAI54.mjs";
47
- import "./chunk-CUIFDMNP.mjs";
47
+ import "./chunk-ID5WQZ2H.mjs";
48
48
  import "./chunk-WZYKRD7T.mjs";
49
49
  import "./chunk-KRD6H754.mjs";
50
50
 
@@ -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(); } }
2
2
 
3
- var _chunkJSIOLCTKjs = require('./chunk-JSIOLCTK.js');
3
+ var _chunkFXN5WSTYjs = require('./chunk-FXN5WSTY.js');
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  var _commander = require('commander');
@@ -33,7 +33,7 @@ function recordCliTrace(event) {
33
33
  sinceStartMs: now - cliTraceStartedAt,
34
34
  ...event
35
35
  };
36
- _chunkJSIOLCTKjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
36
+ _chunkFXN5WSTYjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
37
37
  `);
38
38
  }
39
39
  async function traceCliSpan(phase, fields, run) {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  seedToolListScript
3
- } from "./chunk-ZIGMC2X4.mjs";
3
+ } from "./chunk-LXM36EXW.mjs";
4
4
  import {
5
5
  addDescribeOptions
6
- } from "./chunk-S4IW4NAI.mjs";
6
+ } from "./chunk-I44Y4MPK.mjs";
7
7
  import {
8
8
  describeLookupsFor,
9
9
  describeName,
@@ -14,17 +14,17 @@ import {
14
14
  } from "./chunk-FYKHAT2F.mjs";
15
15
  import {
16
16
  DeeplineClient
17
- } from "./chunk-QCD7BQ5Z.mjs";
17
+ } from "./chunk-ATW77ZBL.mjs";
18
18
  import {
19
19
  failureReportHeaders,
20
20
  isFailureReportingDisabled,
21
21
  printCommandEnvelope
22
- } from "./chunk-JPFAD6G6.mjs";
22
+ } from "./chunk-O35BHZLQ.mjs";
23
23
  import {
24
24
  autoDetectBaseUrl,
25
25
  resolveApiKeyForBaseUrl,
26
26
  resolveCliDashboardOrgId
27
- } from "./chunk-ZRC52APB.mjs";
27
+ } from "./chunk-CWHXE6HJ.mjs";
28
28
 
29
29
  // src/cli/commands/describe.ts
30
30
  import { writeFileSync } from "fs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isJsonOutputMode
3
- } from "./chunk-JPFAD6G6.mjs";
3
+ } from "./chunk-O35BHZLQ.mjs";
4
4
 
5
5
  // src/cli/progress.ts
6
6
  import { Worker } from "worker_threads";
@@ -1,13 +1,13 @@
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; }
2
2
 
3
- var _chunkSBZSJQEIjs = require('./chunk-SBZSJQEI.js');
3
+ var _chunkFRYLXDNPjs = require('./chunk-FRYLXDNP.js');
4
4
 
5
5
 
6
6
  var _chunkTJCENACZjs = require('./chunk-TJCENACZ.js');
7
7
 
8
8
 
9
9
 
10
- var _chunk36254433js = require('./chunk-36254433.js');
10
+ var _chunkJHQ7FORYjs = require('./chunk-JHQ7FORY.js');
11
11
 
12
12
  // src/cli/concurrent-runs-help.ts
13
13
  var CONCURRENT_RUNS_HELP_COMMANDS = /* @__PURE__ */ new Set([
@@ -24,11 +24,11 @@ function concurrentRunsLine(payload) {
24
24
  return plans ? `${here} Plan limits: ${plans}.` : here;
25
25
  }
26
26
  async function concurrentRunsHelpStatus(timeoutMs = 2e3) {
27
- const baseUrl = _chunk36254433js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
28
- const apiKey = _chunk36254433js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
27
+ const baseUrl = _chunkJHQ7FORYjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
28
+ const apiKey = _chunkJHQ7FORYjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
29
29
  if (!apiKey) return "";
30
30
  try {
31
- const { status, data } = await _chunkSBZSJQEIjs.httpJson.call(void 0,
31
+ const { status, data } = await _chunkFRYLXDNPjs.httpJson.call(void 0,
32
32
  "GET",
33
33
  `${baseUrl}/api/v2/billing/entitlements`,
34
34
  apiKey,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-2UHEJPSS.mjs";
3
+ } from "./chunk-OQQDNJ2D.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";
@@ -4,22 +4,22 @@
4
4
 
5
5
 
6
6
 
7
- var _chunk6JQZC6HXjs = require('./chunk-6JQZC6HX.js');
7
+ var _chunkRVICQWXUjs = require('./chunk-RVICQWXU.js');
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkWPGZ6V36js = require('./chunk-WPGZ6V36.js');
12
+ var _chunkEJN43WGDjs = require('./chunk-EJN43WGD.js');
13
13
 
14
14
 
15
15
 
16
- var _chunkJSIOLCTKjs = require('./chunk-JSIOLCTK.js');
16
+ var _chunkFXN5WSTYjs = require('./chunk-FXN5WSTY.js');
17
17
 
18
18
 
19
- var _chunk36254433js = require('./chunk-36254433.js');
19
+ var _chunkJHQ7FORYjs = require('./chunk-JHQ7FORY.js');
20
20
 
21
21
 
22
- var _chunkMDJ4LPQ5js = require('./chunk-MDJ4LPQ5.js');
22
+ var _chunkRSZSKTRCjs = require('./chunk-RSZSKTRC.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 = _chunk36254433js.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
49
+ apiKey = _chunkJHQ7FORYjs.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/${_chunkMDJ4LPQ5js.SDK_VERSION}`,
65
+ "User-Agent": `deepline-ts-sdk/${_chunkRSZSKTRCjs.SDK_VERSION}`,
66
66
  "X-Deepline-Client-Family": "sdk",
67
67
  "X-Deepline-CLI-Family": "sdk",
68
- "X-Deepline-CLI-Version": _chunkMDJ4LPQ5js.SDK_VERSION,
69
- "X-Deepline-SDK-Version": _chunkMDJ4LPQ5js.SDK_VERSION
68
+ "X-Deepline-CLI-Version": _chunkRSZSKTRCjs.SDK_VERSION,
69
+ "X-Deepline-SDK-Version": _chunkRSZSKTRCjs.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()]) || _chunkMDJ4LPQ5js.SDK_VERSION,
73
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkRSZSKTRCjs.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") || !_chunk6JQZC6HXjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkWPGZ6V36js.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") || !_chunkRVICQWXUjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkEJN43WGDjs.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()]) || _chunkMDJ4LPQ5js.SDK_VERSION;
96
+ const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkRSZSKTRCjs.SDK_VERSION;
97
97
  if (!target) return false;
98
- return _chunk6JQZC6HXjs.compareUpdateVersions.call(void 0, target, current) < 0;
98
+ return _chunkRVICQWXUjs.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" ? _chunkWPGZ6V36js.resolveShellSpawn.call(void 0, plan.sidecarPath, argv.slice(2), platform) : {
104
+ const launch = plan.kind === "python-sidecar" ? _chunkEJN43WGDjs.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()]) || _chunkMDJ4LPQ5js.SDK_VERSION;
151
+ const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkRSZSKTRCjs.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 = _chunk6JQZC6HXjs.resolveUpdatePlan.call(void 0, {
159
+ const plan = _chunkRVICQWXUjs.resolveUpdatePlan.call(void 0, {
160
160
  packageSpec,
161
161
  requireVerifiedNpmOwnership: true,
162
162
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
163
163
  });
164
- if (!_chunk6JQZC6HXjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
164
+ if (!_chunkRVICQWXUjs.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 (_chunkJSIOLCTKjs.isJsonOutputMode.call(void 0, )) {
171
+ if (_chunkFXN5WSTYjs.isJsonOutputMode.call(void 0, )) {
172
172
  const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
173
- _chunkJSIOLCTKjs.addJsonNotice.call(void 0, {
173
+ _chunkFXN5WSTYjs.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 (!_chunk6JQZC6HXjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
186
+ if (!_chunkRVICQWXUjs.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 _chunk6JQZC6HXjs.runAutomaticUpdatePlan.call(void 0, plan);
199
+ const updateResult = await _chunkRVICQWXUjs.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 _chunkWPGZ6V36js.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
237
+ await _chunkEJN43WGDjs.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 (!_chunkJSIOLCTKjs.isJsonOutputMode.call(void 0, )) console.error(line);
264
+ if (!_chunkFXN5WSTYjs.isJsonOutputMode.call(void 0, )) console.error(line);
265
265
  }
266
266
  function beginToolExecuteCommand() {
267
267
  if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-R5NKLZL2.mjs";
3
+ } from "./chunk-XQTJET2Y.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-ZRC52APB.mjs";
7
+ } from "./chunk-CWHXE6HJ.mjs";
8
8
 
9
9
  // src/client.ts
10
10
  var DeeplineClient2 = class extends DeeplineClient {
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-QCD7BQ5Z.mjs";
3
+ } from "./chunk-ATW77ZBL.mjs";
4
4
  import {
5
5
  printCommandEnvelope
6
- } from "./chunk-JPFAD6G6.mjs";
6
+ } from "./chunk-O35BHZLQ.mjs";
7
7
  import {
8
8
  resolveConfig
9
- } from "./chunk-ZRC52APB.mjs";
9
+ } from "./chunk-CWHXE6HJ.mjs";
10
10
 
11
11
  // src/cli/commands/integration-commands.ts
12
12
  import { Option } from "commander";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HttpClient,
3
3
  detectAgentRuntime
4
- } from "./chunk-XJNJ3BWU.mjs";
4
+ } from "./chunk-FHYNK7GL.mjs";
5
5
  import {
6
6
  ConfigError
7
7
  } from "./chunk-ASB47RXJ.mjs";
@@ -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 _chunkF4H26PP6js = require('./chunk-F4H26PP6.js');
3
+ var _chunkMOWABWHTjs = require('./chunk-MOWABWHT.js');
4
4
 
5
5
 
6
- var _chunkY4A6Y5EYjs = require('./chunk-Y4A6Y5EY.js');
6
+ var _chunkJWLV3XRFjs = require('./chunk-JWLV3XRF.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 _chunkBRPUB6UAjs = require('./chunk-BRPUB6UA.js');
17
+ var _chunkNVJGVNENjs = require('./chunk-NVJGVNEN.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
- var _chunkJSIOLCTKjs = require('./chunk-JSIOLCTK.js');
22
+ var _chunkFXN5WSTYjs = require('./chunk-FXN5WSTY.js');
23
23
 
24
24
 
25
25
 
26
26
 
27
- var _chunk36254433js = require('./chunk-36254433.js');
27
+ var _chunkJHQ7FORYjs = require('./chunk-JHQ7FORY.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 (_chunkJSIOLCTKjs.isFailureReportingDisabled.call(void 0, )) return;
36
+ if (_chunkFXN5WSTYjs.isFailureReportingDisabled.call(void 0, )) return;
37
37
  try {
38
- const baseUrl = _chunk36254433js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
39
- const apiKey = _chunk36254433js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
38
+ const baseUrl = _chunkJHQ7FORYjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
39
+ const apiKey = _chunkJHQ7FORYjs.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: _chunkJSIOLCTKjs.failureReportHeaders.call(void 0, apiKey),
43
+ headers: _chunkFXN5WSTYjs.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, _chunkBRPUB6UAjs.DeeplineClient)()));
56
+ return _chunkMXK4M7HPjs.findNamed.call(void 0, name, options, cliDescribeLookups(new (0, _chunkNVJGVNENjs.DeeplineClient)()));
57
57
  }
58
58
  function cliDescribeLookups(client) {
59
59
  return {
60
60
  ..._chunkMXK4M7HPjs.describeLookupsFor.call(void 0, client),
61
- dashboardOrgId: _chunk36254433js.resolveCliDashboardOrgId.call(void 0, client.baseUrl)
61
+ dashboardOrgId: _chunkJHQ7FORYjs.resolveCliDashboardOrgId.call(void 0, client.baseUrl)
62
62
  };
63
63
  }
64
64
  async function describeAnything(name, options, onMissing) {
65
- const client = new (0, _chunkBRPUB6UAjs.DeeplineClient)();
65
+ const client = new (0, _chunkNVJGVNENjs.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: _chunkF4H26PP6js.seedToolListScript
71
+ seedStarterScript: _chunkMOWABWHTjs.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
- _chunkJSIOLCTKjs.printCommandEnvelope.call(void 0,
100
+ _chunkFXN5WSTYjs.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
- _chunkJSIOLCTKjs.printCommandEnvelope.call(void 0, envelope, { json, text });
107
+ _chunkFXN5WSTYjs.printCommandEnvelope.call(void 0, envelope, { json, text });
108
108
  return 0;
109
109
  }
110
110
  function registerDescribeCommand(program) {
111
- _chunkY4A6Y5EYjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
111
+ _chunkJWLV3XRFjs.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-JPFAD6G6.mjs";
5
+ } from "./chunk-O35BHZLQ.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-ZRC52APB.mjs";
8
+ } from "./chunk-CWHXE6HJ.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -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 _chunkJSIOLCTKjs = require('./chunk-JSIOLCTK.js');
3
+ var _chunkFXN5WSTYjs = require('./chunk-FXN5WSTY.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 && !_chunkJSIOLCTKjs.isJsonOutputMode.call(void 0, );
22
+ this.enabled = enabled && !_chunkFXN5WSTYjs.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 (_chunkJSIOLCTKjs.isJsonOutputMode.call(void 0, )) return;
62
+ if (_chunkFXN5WSTYjs.isJsonOutputMode.call(void 0, )) return;
63
63
  if (!this.enabled) {
64
64
  process.stderr.write(`${line}
65
65
  `);