deepline 0.3.510 → 0.3.511

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 (146) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +159 -0
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +3 -3
  4. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +218 -33
  5. package/dist/cli/artifacts-G6JHRHY5.mjs +268 -0
  6. package/dist/cli/artifacts-PLF5ZUS7.js +268 -0
  7. package/dist/cli/{auth-USS2W3UV.mjs → auth-2XMJMDWG.mjs} +5 -5
  8. package/dist/cli/auth-PI2KS2CD.js +43 -0
  9. package/dist/cli/{billing-JCUWM5XB.mjs → billing-6C5AI42X.mjs} +7 -7
  10. package/dist/cli/{billing-LQQHU443.js → billing-Z3XFXP3H.js} +82 -82
  11. package/dist/cli/{chunk-XRLE2FPE.js → chunk-2Q4H2Y6N.js} +6 -6
  12. package/dist/cli/{chunk-4ZIIS6KG.js → chunk-2YVRIXVR.js} +9 -9
  13. package/dist/cli/{chunk-V6DLYRSO.mjs → chunk-5WTLXL6O.mjs} +1 -1
  14. package/dist/cli/{chunk-ZRACZKEE.mjs → chunk-77DPQI6W.mjs} +62 -0
  15. package/dist/cli/{chunk-CLV4T5FN.mjs → chunk-ASXOFBF7.mjs} +2 -2
  16. package/dist/cli/{chunk-LF3FF2B2.js → chunk-BHV7JKXQ.js} +1 -1
  17. package/dist/cli/{chunk-ZCYV6MZH.js → chunk-D5VWSR4D.js} +5 -5
  18. package/dist/cli/{chunk-F6IXWFPF.js → chunk-FAGSSIOY.js} +6 -6
  19. package/dist/cli/{chunk-XK3AJFYQ.js → chunk-FF25PDQ2.js} +62 -0
  20. package/dist/cli/{chunk-YYUVOUEH.mjs → chunk-FTT2SBBH.mjs} +5 -5
  21. package/dist/cli/{chunk-5N2HFB3G.js → chunk-FV4PASXH.js} +16 -16
  22. package/dist/cli/{chunk-6AL2VF3E.js → chunk-GD3ES3JU.js} +14 -14
  23. package/dist/cli/{chunk-VPJSQMWQ.js → chunk-GGQHOLH6.js} +3 -3
  24. package/dist/cli/{chunk-5DU7RXDW.mjs → chunk-GJWL4KTY.mjs} +4 -4
  25. package/dist/cli/{chunk-DMF56C6D.mjs → chunk-HLEZQDEZ.mjs} +2 -2
  26. package/dist/cli/{chunk-FND6GZZ4.mjs → chunk-ISY7PBIK.mjs} +5 -5
  27. package/dist/cli/{chunk-XJZU7KO4.js → chunk-IYWN7M4I.js} +5 -5
  28. package/dist/cli/{chunk-PQ56GE55.mjs → chunk-JDDKJIZU.mjs} +1 -1
  29. package/dist/cli/{chunk-UV524JZ5.mjs → chunk-JHBZBCU4.mjs} +1 -1
  30. package/dist/cli/{chunk-4NJK6P5T.js → chunk-JIY25SUX.js} +4 -4
  31. package/dist/cli/{chunk-XL4FFVWL.js → chunk-JYFLIQPE.js} +7 -7
  32. package/dist/cli/{chunk-N7FV7OM3.js → chunk-K4JB2BZP.js} +96 -96
  33. package/dist/cli/{chunk-EJ57CA2L.mjs → chunk-KK6NZHAJ.mjs} +1 -1
  34. package/dist/cli/{chunk-3LXU22UZ.js → chunk-KUDNPJ43.js} +2 -2
  35. package/dist/cli/{chunk-KXSOZYCS.mjs → chunk-KXGH4YUQ.mjs} +1 -1
  36. package/dist/cli/{chunk-HC27PYJM.js → chunk-KZBKQPSA.js} +2 -2
  37. package/dist/cli/{chunk-B2T7PBS6.js → chunk-LDZYGM7W.js} +41 -41
  38. package/dist/cli/{chunk-YDALHHUC.js → chunk-LKSJXTRP.js} +53 -53
  39. package/dist/cli/{chunk-QRQBKLOM.js → chunk-NVMNMKZW.js} +3 -3
  40. package/dist/cli/{chunk-EEQ2QQOH.js → chunk-O37BQ2CG.js} +10 -10
  41. package/dist/cli/{chunk-7BF4R26M.mjs → chunk-OQ4YBPOQ.mjs} +3 -3
  42. package/dist/cli/{chunk-B2U3LVSO.mjs → chunk-PCI4MMH7.mjs} +1 -1
  43. package/dist/cli/{chunk-JNECQ5QF.js → chunk-PI45LZ5B.js} +11 -11
  44. package/dist/cli/{chunk-ASBWPRBN.js → chunk-PUFEARWT.js} +16 -16
  45. package/dist/cli/{chunk-WAOLTP6R.mjs → chunk-QDWNVTTO.mjs} +2 -2
  46. package/dist/cli/{chunk-RHKFNEV2.mjs → chunk-RPPU3XB3.mjs} +2 -2
  47. package/dist/cli/{chunk-Q5EJO4TE.mjs → chunk-S5C4CWSS.mjs} +5 -5
  48. package/dist/cli/{chunk-563HM4D2.mjs → chunk-S6KEACD3.mjs} +6 -6
  49. package/dist/cli/{chunk-WC5754QJ.mjs → chunk-SI4QXATV.mjs} +5 -5
  50. package/dist/cli/{chunk-HOKOJGQW.mjs → chunk-VEOFISLZ.mjs} +1 -1
  51. package/dist/cli/{chunk-BPGFNVH2.js → chunk-VHFTN6VY.js} +44 -44
  52. package/dist/cli/{chunk-DEPBCRKG.mjs → chunk-VQ74WMKG.mjs} +3 -3
  53. package/dist/cli/{chunk-JY73USD7.js → chunk-WDBEWOU6.js} +2 -2
  54. package/dist/cli/{chunk-7VQKU6MS.js → chunk-XGXXNT4O.js} +270 -199
  55. package/dist/cli/{chunk-JVEU6MXD.mjs → chunk-XREZY4FA.mjs} +1 -1
  56. package/dist/cli/{chunk-OEG6VCK4.mjs → chunk-XSBGWMI6.mjs} +72 -1
  57. package/dist/cli/{chunk-B6Q6BHSY.mjs → chunk-XXQZYLLL.mjs} +2 -2
  58. package/dist/cli/{chunk-7VT7RMZ2.mjs → chunk-XZ6IZIQJ.mjs} +2 -2
  59. package/dist/cli/{chunk-63DHG7BM.js → chunk-YX7E2VQM.js} +26 -26
  60. package/dist/cli/{chunk-5MYXW6M6.mjs → chunk-ZFJ2U76O.mjs} +2 -2
  61. package/dist/cli/{chunk-2JXEZAJF.js → chunk-ZWGBQKW7.js} +21 -21
  62. package/dist/cli/{chunk-FFPLCSTZ.mjs → chunk-ZYVR4A4P.mjs} +10 -10
  63. package/dist/cli/command-docs.js +2 -2
  64. package/dist/cli/command-docs.mjs +1 -1
  65. package/dist/cli/{csv-MTFVEDPU.mjs → csv-CNK6ZF3T.mjs} +4 -4
  66. package/dist/cli/{csv-UXFQZLZM.js → csv-S44OGG2O.js} +13 -13
  67. package/dist/cli/{db-3WPUYCCI.mjs → db-AVO6QJU6.mjs} +6 -6
  68. package/dist/cli/{db-RGWT6B7K.js → db-WKZ6EXNG.js} +27 -27
  69. package/dist/cli/{describe-XJY5654F.mjs → describe-2HQRT5MI.mjs} +18 -18
  70. package/dist/cli/describe-CCK77NER.js +50 -0
  71. package/dist/cli/describe-core.d.mts +2 -2
  72. package/dist/cli/describe-core.d.ts +2 -2
  73. package/dist/cli/{executions-PDE4V5YH.mjs → executions-DKHOR7HD.mjs} +6 -6
  74. package/dist/cli/{executions-IWTALFNB.js → executions-MTAHNARA.js} +8 -8
  75. package/dist/cli/{feedback-BMOVTPC4.mjs → feedback-K6SJS4LG.mjs} +5 -5
  76. package/dist/cli/{feedback-I72P4XZS.js → feedback-R2UABU3E.js} +10 -10
  77. package/dist/cli/{git-QJG3EF4P.mjs → git-3EPA7433.mjs} +5 -5
  78. package/dist/cli/git-7L3PY2A4.js +25 -0
  79. package/dist/cli/index.js +148 -144
  80. package/dist/cli/index.mjs +47 -43
  81. package/dist/cli/{legacy-noops-5P75CQC7.js → legacy-noops-3Q2D2F24.js} +9 -9
  82. package/dist/cli/{legacy-noops-MZ45GDMK.mjs → legacy-noops-66OPCJJD.mjs} +6 -6
  83. package/dist/cli/{monitors-VIOBUG2X.mjs → monitors-2PYPRWT4.mjs} +7 -7
  84. package/dist/cli/{monitors-5PHQZDZM.js → monitors-KHH4MZDF.js} +100 -100
  85. package/dist/cli/{org-D5RTFJNY.mjs → org-WAW3OL7B.mjs} +6 -6
  86. package/dist/cli/{org-B5LDVP2P.js → org-X5G36B2Q.js} +72 -72
  87. package/dist/cli/{pages-XWZL3YV2.mjs → pages-KABWXDGW.mjs} +6 -6
  88. package/dist/cli/{pages-BUJYG3JL.js → pages-XDPHCHHU.js} +18 -18
  89. package/dist/cli/{play-OSXLGCLZ.mjs → play-654B2HQU.mjs} +18 -18
  90. package/dist/cli/{play-SEC3EE7H.js → play-UE5FKQCO.js} +317 -317
  91. package/dist/cli/{providers-RQPUASLI.js → providers-QT2BZMJ7.js} +9 -9
  92. package/dist/cli/{providers-ENSURIW6.mjs → providers-SKNGX6IT.mjs} +6 -6
  93. package/dist/cli/{quickstart-HJTK6XWI.mjs → quickstart-BX7XMJIQ.mjs} +4 -4
  94. package/dist/cli/{quickstart-XDTU4MAT.js → quickstart-XWDVAQTT.js} +6 -6
  95. package/dist/cli/{run-GX2SU5AT.js → run-C6YYD4AK.js} +41 -41
  96. package/dist/cli/{run-ZMWSQAR2.mjs → run-JTU4K4MY.mjs} +23 -23
  97. package/dist/cli/{search-DZHZBHWT.mjs → search-NHV4Y4SX.mjs} +8 -8
  98. package/dist/cli/search-RIFW5JCK.js +33 -0
  99. package/dist/cli/{search-output-MNHAR754.mjs → search-output-AAOMFK7K.mjs} +4 -4
  100. package/dist/cli/{search-output-3JVZERNV.js → search-output-WLFFEGCY.js} +6 -6
  101. package/dist/cli/{secrets-WO2LMDQ2.js → secrets-H4WTLQJJ.js} +15 -15
  102. package/dist/cli/{secrets-VALVNVXB.mjs → secrets-S66PZSRO.mjs} +6 -6
  103. package/dist/cli/sessions-EFWO62XJ.js +18 -0
  104. package/dist/cli/{sessions-EPYCH3AY.mjs → sessions-PY6FJX3O.mjs} +6 -6
  105. package/dist/cli/{settings-W2ABZUD4.mjs → settings-V7BM42KQ.mjs} +13 -13
  106. package/dist/cli/{settings-OSF4O5HM.js → settings-YO4FFPN6.js} +86 -86
  107. package/dist/cli/{setup-DCXNQG6R.js → setup-IFZYYQ2W.js} +50 -50
  108. package/dist/cli/{setup-XI2ERSMQ.mjs → setup-VUBM2HMH.mjs} +10 -10
  109. package/dist/cli/{skills-ZO4AH2YR.mjs → skills-EYWRSQQJ.mjs} +8 -8
  110. package/dist/cli/skills-LFP53SWQ.js +37 -0
  111. package/dist/cli/tools-SR2Q7KC5.js +57 -0
  112. package/dist/cli/{tools-FTECXZYA.mjs → tools-VZOW4MUD.mjs} +17 -17
  113. package/dist/cli/update-ADZBZZZS.js +35 -0
  114. package/dist/cli/{update-WPFZO2JE.mjs → update-CQDJJYU2.mjs} +10 -10
  115. package/dist/cli/{workflow-7X75IP3D.mjs → workflow-2VRDIPF3.mjs} +7 -7
  116. package/dist/cli/{workflow-PKMU33LV.js → workflow-XS3JEU6X.js} +17 -17
  117. package/dist/{client-DMpsMNH9.d.mts → client-By7bUS8h.d.mts} +1 -1
  118. package/dist/{client-BlwD-G4v.d.ts → client-CmlKSBXd.d.ts} +1 -1
  119. package/dist/{client-core-DwBLuEkm.d.ts → client-core-BM0mKhgp.d.ts} +93 -1
  120. package/dist/{client-core-CITtRTbB.d.mts → client-core-BZ3tpY_J.d.mts} +93 -1
  121. package/dist/index.d.mts +3 -3
  122. package/dist/index.d.ts +3 -3
  123. package/dist/index.js +9 -9
  124. package/dist/index.mjs +6 -6
  125. package/dist/install-integrity.json +110 -108
  126. package/dist/plays/play-description.d.mts +1 -1
  127. package/dist/plays/play-description.d.ts +1 -1
  128. package/dist/plays/run-request.d.mts +1 -1
  129. package/dist/plays/run-request.d.ts +1 -1
  130. package/dist/release.d.mts +1 -1
  131. package/dist/release.d.ts +1 -1
  132. package/dist/release.js +2 -2
  133. package/dist/release.mjs +1 -1
  134. package/dist/server.d.mts +2 -2
  135. package/dist/server.d.ts +2 -2
  136. package/dist/server.js +5 -5
  137. package/dist/server.mjs +3 -3
  138. package/package.json +1 -1
  139. package/dist/cli/auth-S2Z5YMU3.js +0 -43
  140. package/dist/cli/describe-LNCLA2LA.js +0 -50
  141. package/dist/cli/git-QWH7SPGF.js +0 -25
  142. package/dist/cli/search-7WPABWYO.js +0 -33
  143. package/dist/cli/sessions-2IA2DGWO.js +0 -18
  144. package/dist/cli/skills-QMD2WARJ.js +0 -37
  145. package/dist/cli/tools-53E6GBQU.js +0 -57
  146. package/dist/cli/update-PPPNR6J5.js +0 -35
@@ -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 _chunkXL4FFVWLjs = require('./chunk-XL4FFVWL.js');
3
+ var _chunkJYFLIQPEjs = require('./chunk-JYFLIQPE.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 && !_chunkXL4FFVWLjs.isJsonOutputMode.call(void 0, );
22
+ this.enabled = enabled && !_chunkJYFLIQPEjs.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 (_chunkXL4FFVWLjs.isJsonOutputMode.call(void 0, )) return;
62
+ if (_chunkJYFLIQPEjs.isJsonOutputMode.call(void 0, )) return;
63
63
  if (!this.enabled) {
64
64
  process.stderr.write(`${line}
65
65
  `);
@@ -1,13 +1,13 @@
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 _chunk3LXU22UZjs = require('./chunk-3LXU22UZ.js');
3
+ var _chunkKUDNPJ43js = require('./chunk-KUDNPJ43.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkXL4FFVWLjs = require('./chunk-XL4FFVWL.js');
7
+ var _chunkJYFLIQPEjs = require('./chunk-JYFLIQPE.js');
8
8
 
9
9
 
10
- var _chunk4NJK6P5Tjs = require('./chunk-4NJK6P5T.js');
10
+ var _chunkJIY25SUXjs = require('./chunk-JIY25SUX.js');
11
11
 
12
12
  // src/cli/commands/sessions.ts
13
13
 
@@ -142,7 +142,7 @@ function currentSessionFile(agent) {
142
142
  const newestFirst = listSessionFiles(agent).sort(
143
143
  (a, b) => b.mtimeMs - a.mtimeMs
144
144
  );
145
- const sessionId = _chunk4NJK6P5Tjs.agentSessionIdFromEnvironment.call(void 0,
145
+ const sessionId = _chunkJIY25SUXjs.agentSessionIdFromEnvironment.call(void 0,
146
146
  process.env,
147
147
  agent === "auto" ? void 0 : agent === "claude" ? "claude_code" : "codex"
148
148
  );
@@ -454,7 +454,7 @@ function buildSessionUploadContent(raw) {
454
454
  return { encodedContent: encoded, needsChunking: true };
455
455
  }
456
456
  async function uploadPayload(path, payload) {
457
- const { http } = _chunkXL4FFVWLjs.getAuthedHttpClient.call(void 0, );
457
+ const { http } = _chunkJYFLIQPEjs.getAuthedHttpClient.call(void 0, );
458
458
  return await http.post(path, payload);
459
459
  }
460
460
  async function uploadChunkedSessions(sessions, options) {
@@ -487,7 +487,7 @@ async function uploadChunkedSessions(sessions, options) {
487
487
  ...options.rating ? { rating: options.rating } : {}
488
488
  });
489
489
  const sessionIds = sessions.map((session) => session.sessionId);
490
- _chunkXL4FFVWLjs.printCommandEnvelope.call(void 0,
490
+ _chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
491
491
  {
492
492
  ...response,
493
493
  ok: true,
@@ -508,7 +508,7 @@ async function uploadChunkedSessions(sessions, options) {
508
508
  );
509
509
  }
510
510
  async function handleSessionsSend(options) {
511
- if (_chunk3LXU22UZjs.rejectRestrictedFeedback.call(void 0, options)) return;
511
+ if (_chunkKUDNPJ43js.rejectRestrictedFeedback.call(void 0, options)) return;
512
512
  const rating = parseSessionRating(options.rating);
513
513
  if (options.file) {
514
514
  const filePath = _path.resolve.call(void 0, options.file);
@@ -520,7 +520,7 @@ async function handleSessionsSend(options) {
520
520
  filename: _path.basename.call(void 0, filePath),
521
521
  ...rating ? { rating } : {}
522
522
  });
523
- _chunkXL4FFVWLjs.printCommandEnvelope.call(void 0,
523
+ _chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
524
524
  {
525
525
  ...response2,
526
526
  ok: true,
@@ -570,7 +570,7 @@ async function handleSessionsSend(options) {
570
570
  ...rating ? { rating } : {}
571
571
  });
572
572
  const sessionIds = built.map((session) => session.sessionId);
573
- _chunkXL4FFVWLjs.printCommandEnvelope.call(void 0,
573
+ _chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
574
574
  {
575
575
  ...response,
576
576
  ok: true,
@@ -678,7 +678,7 @@ ${refreshMeta}
678
678
  </body>
679
679
  </html>`;
680
680
  _fs.writeFileSync.call(void 0, outputPath, html, "utf8");
681
- _chunkXL4FFVWLjs.printCommandEnvelope.call(void 0,
681
+ _chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
682
682
  {
683
683
  ok: true,
684
684
  file: outputPath,
@@ -2,7 +2,7 @@ import {
2
2
  argsWantJson,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-DMF56C6D.mjs";
5
+ } from "./chunk-HLEZQDEZ.mjs";
6
6
  import {
7
7
  ACTIVE_ORG_ID_ENV,
8
8
  ACTIVE_ORG_NAME_ENV,
@@ -22,14 +22,14 @@ import {
22
22
  saveHostEnvValues,
23
23
  saveProjectDeeplineEnvValues,
24
24
  storedHostApiKey
25
- } from "./chunk-HOKOJGQW.mjs";
25
+ } from "./chunk-VEOFISLZ.mjs";
26
26
  import {
27
27
  SDK_API_CONTRACT,
28
28
  SDK_VERSION,
29
29
  connectionFailureMessage,
30
30
  detectAgentRuntime,
31
31
  networkCauseCode
32
- } from "./chunk-PQ56GE55.mjs";
32
+ } from "./chunk-JDDKJIZU.mjs";
33
33
  import {
34
34
  DeeplineError
35
35
  } from "./chunk-HBL4PM5Q.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isJsonOutputMode
3
- } from "./chunk-DMF56C6D.mjs";
3
+ } from "./chunk-HLEZQDEZ.mjs";
4
4
 
5
5
  // src/cli/progress.ts
6
6
  import { Worker } from "worker_threads";
@@ -3,18 +3,18 @@
3
3
  var _chunkD3BCSAN7js = require('./chunk-D3BCSAN7.js');
4
4
 
5
5
 
6
- var _chunkZCYV6MZHjs = require('./chunk-ZCYV6MZH.js');
6
+ var _chunkD5VWSR4Djs = require('./chunk-D5VWSR4D.js');
7
7
 
8
8
 
9
- var _chunk6AL2VF3Ejs = require('./chunk-6AL2VF3E.js');
9
+ var _chunkGD3ES3JUjs = require('./chunk-GD3ES3JU.js');
10
10
 
11
11
 
12
12
 
13
- var _chunkXL4FFVWLjs = require('./chunk-XL4FFVWL.js');
13
+ var _chunkJYFLIQPEjs = require('./chunk-JYFLIQPE.js');
14
14
 
15
15
 
16
16
 
17
- var _chunkVPJSQMWQjs = require('./chunk-VPJSQMWQ.js');
17
+ var _chunkGGQHOLH6js = require('./chunk-GGQHOLH6.js');
18
18
 
19
19
  // src/cli/commands/search.ts
20
20
  var _commander = require('commander');
@@ -24,7 +24,7 @@ var _fs = require('fs');
24
24
  var _path = require('path');
25
25
  var SEARCH_REF_TTL_MS = 15 * 6e4;
26
26
  function lastSearchPath() {
27
- return _path.join.call(void 0, _chunkVPJSQMWQjs.sdkCliStateDirPath.call(void 0, _chunkVPJSQMWQjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
27
+ return _path.join.call(void 0, _chunkGGQHOLH6js.sdkCliStateDirPath.call(void 0, _chunkGGQHOLH6js.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
28
28
  }
29
29
  function rememberSearchRef(searchRef) {
30
30
  writeSearchRefs({ searchRef });
@@ -134,9 +134,9 @@ async function runSearch(queryInputs, options, types, exclude = []) {
134
134
  console.error("--summary-width must be an integer of at least 2.");
135
135
  return 1;
136
136
  }
137
- const client = new (0, _chunkZCYV6MZHjs.DeeplineClient)();
137
+ const client = new (0, _chunkD5VWSR4Djs.DeeplineClient)();
138
138
  const json = options.json === true;
139
- const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-3JVZERNV.js")));
139
+ const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-WLFFEGCY.js")));
140
140
  const searches = [];
141
141
  const chunks = [];
142
142
  const refs = /* @__PURE__ */ new Map();
@@ -159,7 +159,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
159
159
  const text = _optionalChain([renderer, 'optionalAccess', _12 => _12.renderSearchResults, 'call', _13 => _13(result, summaryWidth)]);
160
160
  if (!multiple) {
161
161
  if (searchRef) rememberSearchRef(searchRef);
162
- _chunkXL4FFVWLjs.printCommandEnvelope.call(void 0, result, { json, text });
162
+ _chunkJYFLIQPEjs.printCommandEnvelope.call(void 0, result, { json, text });
163
163
  return 0;
164
164
  }
165
165
  searches.push({ ...result, query });
@@ -173,8 +173,8 @@ ${text}`);
173
173
  }
174
174
  } catch (error) {
175
175
  if (!multiple) throw error;
176
- const payload = _chunkXL4FFVWLjs.errorToJsonPayload.call(void 0, error);
177
- const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunk6AL2VF3Ejs.resolveSdkCliFailureExitCode.call(void 0, error)));
176
+ const payload = _chunkJYFLIQPEjs.errorToJsonPayload.call(void 0, error);
177
+ const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunkGD3ES3JUjs.resolveSdkCliFailureExitCode.call(void 0, error)));
178
178
  searches.push({ ...payload, query, exitCode: queryExitCode });
179
179
  if (!json) {
180
180
  console.error(`${JSON.stringify(query)}: ${payload.error.message}`);
@@ -186,7 +186,7 @@ Search failed.
186
186
  }
187
187
  }
188
188
  rememberSearchRefsByTool(refs);
189
- _chunkXL4FFVWLjs.printCommandEnvelope.call(void 0,
189
+ _chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
190
190
  { searches },
191
191
  {
192
192
  json,
@@ -1,19 +1,19 @@
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 _chunkHC27PYJMjs = require('./chunk-HC27PYJM.js');
4
+ var _chunkKZBKQPSAjs = require('./chunk-KZBKQPSA.js');
5
5
 
6
6
 
7
- var _chunkB2T7PBS6js = require('./chunk-B2T7PBS6.js');
7
+ var _chunkLDZYGM7Wjs = require('./chunk-LDZYGM7W.js');
8
8
 
9
9
 
10
- var _chunkBPGFNVH2js = require('./chunk-BPGFNVH2.js');
10
+ var _chunkVHFTN6VYjs = require('./chunk-VHFTN6VY.js');
11
11
 
12
12
 
13
- var _chunkXL4FFVWLjs = require('./chunk-XL4FFVWL.js');
13
+ var _chunkJYFLIQPEjs = require('./chunk-JYFLIQPE.js');
14
14
 
15
15
 
16
- var _chunkVPJSQMWQjs = require('./chunk-VPJSQMWQ.js');
16
+ var _chunkGGQHOLH6js = require('./chunk-GGQHOLH6.js');
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  var _child_process = require('child_process');
@@ -495,7 +495,7 @@ function normalizedNpmPrefix(value) {
495
495
  }
496
496
  function resolveNpmGlobalPrefix(env) {
497
497
  try {
498
- const plan = _chunkBPGFNVH2js.resolveShellSpawn.call(void 0,
498
+ const plan = _chunkVHFTN6VYjs.resolveShellSpawn.call(void 0,
499
499
  "npm",
500
500
  ["prefix", "-g"],
501
501
  process.platform,
@@ -556,8 +556,8 @@ function resolveUpdatePlan(options = {}) {
556
556
  const npmGlobalPrefix = options.npmGlobalPrefix !== void 0 ? options.npmGlobalPrefix : resolveNpmGlobalPrefix(env);
557
557
  const hasVerifiedNpmOwnership = inferredInstallPrefix !== null && normalizedNpmPrefix(inferredInstallPrefix) === normalizedNpmPrefix(npmGlobalPrefix);
558
558
  const installPrefix = options.requireVerifiedNpmOwnership ? hasVerifiedNpmOwnership ? inferredInstallPrefix : null : inferredInstallPrefix;
559
- const npmVersion = options.npmVersion === void 0 ? _chunkHC27PYJMjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
- const npmGlobalInstallFlags = _chunkHC27PYJMjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
559
+ const npmVersion = options.npmVersion === void 0 ? _chunkKZBKQPSAjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
+ const npmGlobalInstallFlags = _chunkKZBKQPSAjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
561
561
  const args = installPrefix ? [
562
562
  "install",
563
563
  "-g",
@@ -567,7 +567,7 @@ function resolveUpdatePlan(options = {}) {
567
567
  packageSpec
568
568
  ] : ["install", "-g", ...npmGlobalInstallFlags, packageSpec];
569
569
  const fallbackRegistryUrl = options.npmFallbackRegistryUrl !== void 0 ? options.npmFallbackRegistryUrl : publicNpmFallbackRegistryUrl(
570
- _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkVPJSQMWQjs.autoDetectBaseUrl.call(void 0, )
570
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkGGQHOLH6js.autoDetectBaseUrl.call(void 0, )
571
571
  );
572
572
  return {
573
573
  kind: "npm-global",
@@ -816,7 +816,7 @@ function sidecarInstallFailure(versionDir) {
816
816
  function runCommand(command, args, env = process.env) {
817
817
  return new Promise((resolveResult) => {
818
818
  let output = "";
819
- const plan = _chunkBPGFNVH2js.resolveShellSpawn.call(void 0, command, args, process.platform, env);
819
+ const plan = _chunkVHFTN6VYjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
820
820
  const child = _child_process.spawn.call(void 0, plan.command, plan.args, {
821
821
  stdio: ["inherit", "pipe", "pipe"],
822
822
  shell: plan.shell,
@@ -1199,14 +1199,14 @@ async function publishedVersionSupportsPin(version, fallbackRegistryUrl) {
1199
1199
  throw _nullishCoalesce(lastError, () => ( new Error("No npm registry was available")));
1200
1200
  }
1201
1201
  async function runUpdateCommand(options, dependencies = {}) {
1202
- const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkVPJSQMWQjs.autoDetectBaseUrl));
1202
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkGGQHOLH6js.autoDetectBaseUrl));
1203
1203
  const resolvePlan = _nullishCoalesce(dependencies.resolvePlan, () => ( resolveUpdatePlan));
1204
1204
  const runPlan = _nullishCoalesce(dependencies.runPlan, () => ( runUpdatePlan));
1205
1205
  const syncSkills = _nullishCoalesce(dependencies.syncSkillsIfNeeded, () => ( (async () => {
1206
1206
  const originalWrite = process.stdout.write.bind(process.stdout);
1207
1207
  process.stdout.write = (() => true);
1208
1208
  try {
1209
- const exitCode = await _chunkB2T7PBS6js.runSkillsCommand.call(void 0, { json: true });
1209
+ const exitCode = await _chunkLDZYGM7Wjs.runSkillsCommand.call(void 0, { json: true });
1210
1210
  if (exitCode !== 0) {
1211
1211
  throw new Error(
1212
1212
  `Deepline skills update failed with exit ${exitCode}.`
@@ -1277,11 +1277,11 @@ async function runUpdateCommand(options, dependencies = {}) {
1277
1277
  ]
1278
1278
  };
1279
1279
  if (options.json && !options.executeWithJson) {
1280
- _chunkXL4FFVWLjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1280
+ _chunkJYFLIQPEjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1281
1281
  return 0;
1282
1282
  }
1283
1283
  if (options.printCommand) {
1284
- _chunkXL4FFVWLjs.printCommandEnvelope.call(void 0,
1284
+ _chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
1285
1285
  {
1286
1286
  ...plan,
1287
1287
  render: {
@@ -1294,7 +1294,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1294
1294
  return 0;
1295
1295
  }
1296
1296
  if (plan.kind === "source" || plan.kind === "homebrew") {
1297
- _chunkXL4FFVWLjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1297
+ _chunkJYFLIQPEjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1298
1298
  return 0;
1299
1299
  }
1300
1300
  stderr.write(`Updating Deepline SDK/CLI with: ${plan.manualCommand}
@@ -1324,7 +1324,7 @@ To retry with full installer output, run: deepline skills install
1324
1324
  );
1325
1325
  }
1326
1326
  if (options.executeWithJson && options.json) {
1327
- _chunkXL4FFVWLjs.printCommandEnvelope.call(void 0,
1327
+ _chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
1328
1328
  {
1329
1329
  ok: true,
1330
1330
  pinnedVersion
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  autoDetectBaseUrl,
3
3
  resolveApiKeyForBaseUrl
4
- } from "./chunk-HOKOJGQW.mjs";
4
+ } from "./chunk-VEOFISLZ.mjs";
5
5
  import {
6
6
  SDK_VERSION,
7
7
  agentSessionIdFromEnvironment,
8
8
  deploymentProtectionHeaders,
9
9
  detectAgentRuntime
10
- } from "./chunk-PQ56GE55.mjs";
10
+ } from "./chunk-JDDKJIZU.mjs";
11
11
  import {
12
12
  DeeplineError
13
13
  } from "./chunk-HBL4PM5Q.mjs";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-F6QV42MC.mjs";
4
4
  import {
5
5
  parseLogLevel
6
- } from "./chunk-OEG6VCK4.mjs";
6
+ } from "./chunk-XSBGWMI6.mjs";
7
7
  import {
8
8
  setDottedInputValue
9
9
  } from "./chunk-N4TR6QRI.mjs";
@@ -11,7 +11,7 @@ import {
11
11
  argsWantJson,
12
12
  jsonFieldArgs,
13
13
  parseJsonFields
14
- } from "./chunk-DMF56C6D.mjs";
14
+ } from "./chunk-HLEZQDEZ.mjs";
15
15
  import {
16
16
  DeeplineError
17
17
  } from "./chunk-HBL4PM5Q.mjs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  getActiveCliProgress
3
- } from "./chunk-B2U3LVSO.mjs";
3
+ } from "./chunk-PCI4MMH7.mjs";
4
4
  import {
5
5
  maybeReportAutomaticSkillsSyncFailure
6
- } from "./chunk-WAOLTP6R.mjs";
6
+ } from "./chunk-QDWNVTTO.mjs";
7
7
  import {
8
8
  DEFAULT_SKILL_AGENTS,
9
9
  KNOWN_SKILL_AGENTS,
@@ -14,17 +14,17 @@ import {
14
14
  sdkCliStateDirPath,
15
15
  skillsAgentPathSegment,
16
16
  writeSdkSkillsLocalVersion
17
- } from "./chunk-HOKOJGQW.mjs";
17
+ } from "./chunk-VEOFISLZ.mjs";
18
18
  import {
19
19
  SDK_API_CONTRACT,
20
20
  SDK_API_MAJOR,
21
21
  SDK_VERSION,
22
22
  deploymentProtectionHeaders,
23
23
  detectAgentRuntime
24
- } from "./chunk-PQ56GE55.mjs";
24
+ } from "./chunk-JDDKJIZU.mjs";
25
25
  import {
26
26
  SDK_RELEASE
27
- } from "./chunk-V6DLYRSO.mjs";
27
+ } from "./chunk-5WTLXL6O.mjs";
28
28
 
29
29
  // src/compat.ts
30
30
  import { randomUUID } from "crypto";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  seedToolListScript
3
- } from "./chunk-FFPLCSTZ.mjs";
3
+ } from "./chunk-ZYVR4A4P.mjs";
4
4
  import {
5
5
  addDescribeOptions
6
- } from "./chunk-UV524JZ5.mjs";
6
+ } from "./chunk-JHBZBCU4.mjs";
7
7
  import {
8
8
  describeLookupsFor,
9
9
  describeName,
@@ -14,18 +14,18 @@ import {
14
14
  } from "./chunk-ITJ7NB2D.mjs";
15
15
  import {
16
16
  DeeplineClient
17
- } from "./chunk-5MYXW6M6.mjs";
17
+ } from "./chunk-ZFJ2U76O.mjs";
18
18
  import {
19
19
  failureReportHeaders,
20
20
  isFailureReportingDisabled
21
- } from "./chunk-WAOLTP6R.mjs";
21
+ } from "./chunk-QDWNVTTO.mjs";
22
22
  import {
23
23
  printCommandEnvelope
24
- } from "./chunk-DMF56C6D.mjs";
24
+ } from "./chunk-HLEZQDEZ.mjs";
25
25
  import {
26
26
  autoDetectBaseUrl,
27
27
  resolveApiKeyForBaseUrl
28
- } from "./chunk-HOKOJGQW.mjs";
28
+ } from "./chunk-VEOFISLZ.mjs";
29
29
 
30
30
  // src/cli/commands/describe.ts
31
31
  import { writeFileSync } from "fs";
@@ -3,18 +3,18 @@ import {
3
3
  } from "./chunk-5AEDYVB6.mjs";
4
4
  import {
5
5
  DeeplineClient
6
- } from "./chunk-5MYXW6M6.mjs";
6
+ } from "./chunk-ZFJ2U76O.mjs";
7
7
  import {
8
8
  resolveSdkCliFailureExitCode
9
- } from "./chunk-WAOLTP6R.mjs";
9
+ } from "./chunk-QDWNVTTO.mjs";
10
10
  import {
11
11
  errorToJsonPayload,
12
12
  printCommandEnvelope
13
- } from "./chunk-DMF56C6D.mjs";
13
+ } from "./chunk-HLEZQDEZ.mjs";
14
14
  import {
15
15
  resolveConfig,
16
16
  sdkCliStateDirPath
17
- } from "./chunk-HOKOJGQW.mjs";
17
+ } from "./chunk-VEOFISLZ.mjs";
18
18
 
19
19
  // src/cli/commands/search.ts
20
20
  import { Option } from "commander";
@@ -136,7 +136,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
136
136
  }
137
137
  const client = new DeeplineClient();
138
138
  const json = options.json === true;
139
- const renderer = json ? void 0 : await import("./search-output-MNHAR754.mjs");
139
+ const renderer = json ? void 0 : await import("./search-output-AAOMFK7K.mjs");
140
140
  const searches = [];
141
141
  const chunks = [];
142
142
  const refs = /* @__PURE__ */ new Map();
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HttpClient,
3
3
  detectAgentRuntime
4
- } from "./chunk-PQ56GE55.mjs";
4
+ } from "./chunk-JDDKJIZU.mjs";
5
5
  import {
6
6
  ConfigError
7
7
  } from "./chunk-4QF2K7TM.mjs";