deepline 0.3.576 → 0.3.578

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 (136) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/cli/{agents-BLJR2Y3X.mjs → agents-LRBANBZH.mjs} +4 -4
  3. package/dist/cli/{agents-CJQ7KBFT.js → agents-MCU3ITQZ.js} +31 -31
  4. package/dist/cli/{auth-SLZIRCPE.mjs → auth-5BJKVYMQ.mjs} +5 -5
  5. package/dist/cli/auth-VSW3MTFO.js +44 -0
  6. package/dist/cli/{billing-6Q4SK5KF.mjs → billing-EBBI4MVL.mjs} +8 -8
  7. package/dist/cli/{billing-IECMVARO.js → billing-NT57POHH.js} +99 -99
  8. package/dist/cli/{chunk-WDWV77SJ.js → chunk-24FGR73C.js} +13 -13
  9. package/dist/cli/{chunk-L6H72AIX.js → chunk-25SSGQJJ.js} +2 -2
  10. package/dist/cli/{chunk-6RY5COUY.js → chunk-27HAQRGH.js} +23 -23
  11. package/dist/cli/{chunk-ZYN6S6G2.mjs → chunk-3GF33QJJ.mjs} +4 -4
  12. package/dist/cli/{chunk-PYFMNPTA.js → chunk-3ZUKYLC6.js} +8 -8
  13. package/dist/cli/{chunk-KQTZO6NT.mjs → chunk-4CNHOBUO.mjs} +2 -2
  14. package/dist/cli/{chunk-ZIGMC2X4.mjs → chunk-4KNRCUKY.mjs} +11 -11
  15. package/dist/cli/{chunk-JPFAD6G6.mjs → chunk-4LMTY4RQ.mjs} +2 -2
  16. package/dist/cli/{chunk-CUIFDMNP.mjs → chunk-4YSJOSBG.mjs} +1 -1
  17. package/dist/cli/{chunk-SBZSJQEI.js → chunk-5IMWXYVB.js} +53 -53
  18. package/dist/cli/{chunk-6JQZC6HX.js → chunk-5LCV36BR.js} +20 -20
  19. package/dist/cli/{chunk-5VABOJ4M.mjs → chunk-6UFTWNC5.mjs} +2 -2
  20. package/dist/cli/{chunk-66K7F7LR.mjs → chunk-7J473OJ5.mjs} +1 -1
  21. package/dist/cli/{chunk-MDJ4LPQ5.js → chunk-A7NKOXBV.js} +4 -4
  22. package/dist/cli/{chunk-YHM64N5C.mjs → chunk-ALXYCC4K.mjs} +1 -1
  23. package/dist/cli/{chunk-4KIIXV5Z.js → chunk-BPMA4S3O.js} +16 -16
  24. package/dist/cli/{chunk-GI57Q7JU.mjs → chunk-CFG3ZM7M.mjs} +2 -2
  25. package/dist/cli/{chunk-XJNJ3BWU.mjs → chunk-CFLAGRWL.mjs} +1 -1
  26. package/dist/cli/{chunk-E4M4QZBP.js → chunk-CPNTDIJK.js} +1 -1
  27. package/dist/cli/{chunk-V25CXBR2.js → chunk-CS36W3RL.js} +26 -26
  28. package/dist/cli/{chunk-S4IW4NAI.mjs → chunk-CSPOWVWS.mjs} +1 -1
  29. package/dist/cli/{chunk-LKC7PHDX.mjs → chunk-DDJN4RR6.mjs} +4 -4
  30. package/dist/cli/{chunk-EQO77FQZ.js → chunk-G7PH2QVM.js} +5 -5
  31. package/dist/cli/{chunk-PU5VCDCJ.mjs → chunk-H7DY5NQ3.mjs} +5 -5
  32. package/dist/cli/{chunk-JSIOLCTK.js → chunk-HGQT6EGK.js} +20 -20
  33. package/dist/cli/{chunk-HE53AI2E.mjs → chunk-HKZN33F2.mjs} +3 -3
  34. package/dist/cli/{chunk-UGIH4462.mjs → chunk-HZXF2HFF.mjs} +5 -5
  35. package/dist/cli/{chunk-7DI34I73.mjs → chunk-IFWB4BYZ.mjs} +3 -3
  36. package/dist/cli/{chunk-QCD7BQ5Z.mjs → chunk-ITYSPUKD.mjs} +2 -2
  37. package/dist/cli/{chunk-DGY4EYIX.js → chunk-J7PCSLRY.js} +5 -5
  38. package/dist/cli/{chunk-SY3OKOI5.mjs → chunk-JQPFICW3.mjs} +1 -1
  39. package/dist/cli/{chunk-TZHS2W5Z.mjs → chunk-LYZPGP3P.mjs} +1 -1
  40. package/dist/cli/{chunk-OXRG325T.js → chunk-M3ITWEGS.js} +41 -41
  41. package/dist/cli/{chunk-NQFZ7FYN.js → chunk-NEH7NZFT.js} +10 -10
  42. package/dist/cli/{chunk-R5NKLZL2.mjs → chunk-NTHN7ODR.mjs} +1 -1
  43. package/dist/cli/{chunk-2UHEJPSS.mjs → chunk-OAQYLTUN.mjs} +5 -5
  44. package/dist/cli/{chunk-F4H26PP6.js → chunk-P35YQAUC.js} +100 -100
  45. package/dist/cli/{chunk-D5LWYP2H.mjs → chunk-PJXPHUAR.mjs} +3 -3
  46. package/dist/cli/{chunk-45POZK3F.js → chunk-PXMCPEE2.js} +3 -3
  47. package/dist/cli/{chunk-AUR24RQB.mjs → chunk-QPOJLAFT.mjs} +2 -2
  48. package/dist/cli/{chunk-HHMO3CON.js → chunk-RLPPLS6A.js} +6 -6
  49. package/dist/cli/{chunk-Y4A6Y5EY.js → chunk-RWDYULX2.js} +7 -7
  50. package/dist/cli/{chunk-X5V6S5KI.mjs → chunk-T2CCLYHV.mjs} +5 -5
  51. package/dist/cli/{chunk-BRPUB6UA.js → chunk-UKSOIH2P.js} +5 -5
  52. package/dist/cli/{chunk-OMVBBAQP.mjs → chunk-VMCJKGZS.mjs} +2 -2
  53. package/dist/cli/{chunk-GZ7KYGYE.js → chunk-VVZ7JZMQ.js} +15 -15
  54. package/dist/cli/{chunk-ANPHEXTT.js → chunk-W47SXEWQ.js} +9 -9
  55. package/dist/cli/{chunk-ZRC52APB.mjs → chunk-W66GXHYR.mjs} +1 -1
  56. package/dist/cli/{chunk-36254433.js → chunk-XBO4ERH6.js} +3 -3
  57. package/dist/cli/{chunk-M23G33MH.js → chunk-XE66BGLB.js} +2 -2
  58. package/dist/cli/{chunk-WPGZ6V36.js → chunk-XX7TZM4N.js} +48 -48
  59. package/dist/cli/{chunk-UD6M2ZTY.js → chunk-Y2TK7OXN.js} +2 -2
  60. package/dist/cli/{concurrent-runs-help-H3SA7J6H.mjs → concurrent-runs-help-2MHLIUC6.mjs} +6 -6
  61. package/dist/cli/concurrent-runs-help-ATT2GVTQ.js +22 -0
  62. package/dist/cli/{csv-ICXI7JAS.mjs → csv-J6SRBMOT.mjs} +4 -4
  63. package/dist/cli/{csv-6DEKR3QQ.js → csv-RYYDAC76.js} +13 -13
  64. package/dist/cli/{db-AG7INMLP.js → db-5QLH6QK5.js} +27 -27
  65. package/dist/cli/{db-VI7T5E6O.mjs → db-WK226TM7.mjs} +6 -6
  66. package/dist/cli/describe-Q27SRQWM.js +50 -0
  67. package/dist/cli/{describe-S6NFWWGK.mjs → describe-UBSCFPH5.mjs} +18 -18
  68. package/dist/cli/{executions-M5R5QHIA.js → executions-AGV5V7SD.js} +8 -8
  69. package/dist/cli/{executions-MK7H4Q2H.mjs → executions-XF5BNCFS.mjs} +6 -6
  70. package/dist/cli/{feedback-L3L4FEQL.js → feedback-3RDEZE2M.js} +14 -14
  71. package/dist/cli/{feedback-ZHATL2XF.mjs → feedback-LT3PDK72.mjs} +6 -6
  72. package/dist/cli/{git-W5DHNH2Q.mjs → git-7VBTCCBV.mjs} +5 -5
  73. package/dist/cli/git-BBTP3H7J.js +26 -0
  74. package/dist/cli/index.js +144 -144
  75. package/dist/cli/index.mjs +46 -46
  76. package/dist/cli/{integrations-73YSN2LI.mjs → integrations-E7QRWMKZ.mjs} +7 -7
  77. package/dist/cli/{integrations-IBWNO3YP.js → integrations-JP732FQB.js} +29 -29
  78. package/dist/cli/{legacy-noops-4LFZJTDX.mjs → legacy-noops-UFNQBPIT.mjs} +6 -6
  79. package/dist/cli/{legacy-noops-AE6DBYJM.js → legacy-noops-UTL4W5WE.js} +9 -9
  80. package/dist/cli/{mcp-BKL6M6OI.js → mcp-5X4XFB4V.js} +24 -24
  81. package/dist/cli/{mcp-E6PTSNDE.mjs → mcp-YHETA3AU.mjs} +4 -4
  82. package/dist/cli/{monitors-SW7ZCPPT.js → monitors-AN6KH4XY.js} +100 -100
  83. package/dist/cli/{monitors-MXJ27KQK.mjs → monitors-WFVZ42OQ.mjs} +7 -7
  84. package/dist/cli/{org-XJ44KZ5I.js → org-CN3XJZLA.js} +121 -121
  85. package/dist/cli/{org-HYAJ2MIK.mjs → org-OMDV7WDF.mjs} +6 -6
  86. package/dist/cli/{outcomes-PTXGG4BZ.js → outcomes-7HCZ6K3Q.js} +14 -14
  87. package/dist/cli/{outcomes-PUMAXRGD.mjs → outcomes-I4ZTG5ND.mjs} +6 -6
  88. package/dist/cli/{play-EPDZ3GDV.js → play-45VXZ57A.js} +336 -336
  89. package/dist/cli/{play-QN3X6IAE.mjs → play-TSNBSHGA.mjs} +19 -19
  90. package/dist/cli/{providers-JIN5UQ7Z.mjs → providers-4TB56ZLK.mjs} +6 -6
  91. package/dist/cli/{providers-GNJFGNDH.js → providers-RB3TT7AE.js} +9 -9
  92. package/dist/cli/{quickstart-4EBFHGB7.mjs → quickstart-XHZ3PG5I.mjs} +4 -4
  93. package/dist/cli/{quickstart-YH6NNC5I.js → quickstart-ZNDM6VUD.js} +6 -6
  94. package/dist/cli/{run-5467KBCP.mjs → run-7PY4G6GB.mjs} +23 -23
  95. package/dist/cli/{run-4DRF7KQJ.js → run-XNEJGAKV.js} +44 -44
  96. package/dist/cli/{search-ZERTOGH6.mjs → search-BG7KCIOG.mjs} +7 -7
  97. package/dist/cli/search-ZBU5GW4W.js +32 -0
  98. package/dist/cli/{search-output-OMNZN2LP.js → search-output-3ZBNTHGO.js} +6 -6
  99. package/dist/cli/{search-output-OAVJXRFO.mjs → search-output-TWKKP2BE.mjs} +4 -4
  100. package/dist/cli/{secrets-KAVDYB4P.mjs → secrets-AZZCE7E3.mjs} +6 -6
  101. package/dist/cli/{secrets-7XK2BGYX.js → secrets-FNR6MX6A.js} +15 -15
  102. package/dist/cli/sessions-GCY62GAW.js +23 -0
  103. package/dist/cli/{sessions-TNPI6XWB.mjs → sessions-ZAMKN3AF.mjs} +6 -6
  104. package/dist/cli/{settings-RQ3Z3JCM.js → settings-QGASFWV3.js} +85 -85
  105. package/dist/cli/{settings-KUABXRAJ.mjs → settings-WKWOOOI2.mjs} +12 -12
  106. package/dist/cli/{setup-TDOWNKYN.js → setup-KUZDCR3F.js} +49 -49
  107. package/dist/cli/{setup-6IX6BSS7.mjs → setup-U36W42LE.mjs} +9 -9
  108. package/dist/cli/{skills-Z6NBJ4KP.mjs → skills-25CSZQIK.mjs} +7 -7
  109. package/dist/cli/skills-43DHMLRW.js +37 -0
  110. package/dist/cli/{tools-LQKFWK7J.mjs → tools-4NZQ22AA.mjs} +17 -17
  111. package/dist/cli/tools-5BGKNMFU.js +57 -0
  112. package/dist/cli/{update-RUB4EIKW.mjs → update-CJYP36TG.mjs} +9 -9
  113. package/dist/cli/update-CUO2MTB6.js +37 -0
  114. package/dist/cli/{views-FFLXLAGC.js → views-76UIPWJD.js} +21 -21
  115. package/dist/cli/{views-D7WY5QPR.mjs → views-GYGE7FSV.mjs} +6 -6
  116. package/dist/cli/{workflow-BV2OTEQD.mjs → workflow-LZSWALZS.mjs} +7 -7
  117. package/dist/cli/{workflow-QW7QVODA.js → workflow-NCVXBATM.js} +17 -17
  118. package/dist/index.js +9 -9
  119. package/dist/index.mjs +6 -6
  120. package/dist/install-integrity.json +114 -114
  121. package/dist/release.d.mts +1 -1
  122. package/dist/release.d.ts +1 -1
  123. package/dist/release.js +2 -2
  124. package/dist/release.mjs +1 -1
  125. package/dist/server.js +5 -5
  126. package/dist/server.mjs +3 -3
  127. package/package.json +1 -1
  128. package/dist/cli/auth-GSDYP4ZN.js +0 -44
  129. package/dist/cli/concurrent-runs-help-PB7GT6F2.js +0 -22
  130. package/dist/cli/describe-LMHIG3DP.js +0 -50
  131. package/dist/cli/git-WYNCLDHD.js +0 -26
  132. package/dist/cli/search-B2KCWPUV.js +0 -32
  133. package/dist/cli/sessions-PUQURPPC.js +0 -23
  134. package/dist/cli/skills-AACRY2TV.js +0 -37
  135. package/dist/cli/tools-OTYA4722.js +0 -57
  136. package/dist/cli/update-JTGMI6OJ.js +0 -37
@@ -1,15 +1,15 @@
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 _chunkUD6M2ZTYjs = require('./chunk-UD6M2ZTY.js');
3
+ var _chunkY2TK7OXNjs = require('./chunk-Y2TK7OXN.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkJSIOLCTKjs = require('./chunk-JSIOLCTK.js');
7
+ var _chunkHGQT6EGKjs = require('./chunk-HGQT6EGK.js');
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkMDJ4LPQ5js = require('./chunk-MDJ4LPQ5.js');
12
+ var _chunkA7NKOXBVjs = require('./chunk-A7NKOXBV.js');
13
13
 
14
14
  // src/cli/commands/sessions.ts
15
15
 
@@ -55,7 +55,7 @@ function codexSessionsRoot() {
55
55
  }
56
56
  function listClaudeSessionFiles() {
57
57
  const files = [];
58
- for (const root of _chunkMDJ4LPQ5js.claudeProjectsRoots.call(void 0, )) {
58
+ for (const root of _chunkA7NKOXBVjs.claudeProjectsRoots.call(void 0, )) {
59
59
  files.push(...listClaudeSessionFilesIn(root));
60
60
  }
61
61
  return files;
@@ -147,7 +147,7 @@ function currentSessionFile(agent) {
147
147
  const newestFirst = listSessionFiles(agent).sort(
148
148
  (a, b) => b.mtimeMs - a.mtimeMs
149
149
  );
150
- const sessionId = _chunkMDJ4LPQ5js.agentSessionIdFromEnvironment.call(void 0,
150
+ const sessionId = _chunkA7NKOXBVjs.agentSessionIdFromEnvironment.call(void 0,
151
151
  process.env,
152
152
  agent === "auto" ? void 0 : agent === "claude" ? "claude_code" : "codex"
153
153
  );
@@ -156,7 +156,7 @@ function currentSessionFile(agent) {
156
156
  (candidate) => candidate.sessionId === sessionId
157
157
  );
158
158
  if (named) return named;
159
- const cowork = agent === "codex" ? null : _chunkMDJ4LPQ5js.coworkTranscriptFromEnvironment.call(void 0, );
159
+ const cowork = agent === "codex" ? null : _chunkA7NKOXBVjs.coworkTranscriptFromEnvironment.call(void 0, );
160
160
  const coworkStat = cowork ? statIfReadable(cowork.filePath) : null;
161
161
  if (cowork && coworkStat) {
162
162
  return { agent: "claude", ...cowork, mtimeMs: coworkStat.mtimeMs };
@@ -166,7 +166,7 @@ function currentSessionFile(agent) {
166
166
  ), () => ( newestFirst[0])), () => ( null));
167
167
  }
168
168
  function feedbackAgentSessionId(agentRuntime) {
169
- return _nullishCoalesce(_chunkMDJ4LPQ5js.agentSessionIdFromEnvironment.call(void 0, process.env, agentRuntime), () => ( (agentRuntime === "claude_cowork" || agentRuntime === "claude_code" ? _nullishCoalesce(_optionalChain([_chunkMDJ4LPQ5js.coworkTranscriptFromEnvironment.call(void 0, ), 'optionalAccess', _17 => _17.sessionId]), () => ( null)) : null)));
169
+ return _nullishCoalesce(_chunkA7NKOXBVjs.agentSessionIdFromEnvironment.call(void 0, process.env, agentRuntime), () => ( (agentRuntime === "claude_cowork" || agentRuntime === "claude_code" ? _nullishCoalesce(_optionalChain([_chunkA7NKOXBVjs.coworkTranscriptFromEnvironment.call(void 0, ), 'optionalAccess', _17 => _17.sessionId]), () => ( null)) : null)));
170
170
  }
171
171
  function sessionStartedInDirectory(candidate, cwd) {
172
172
  if (candidate.agent === "claude") {
@@ -215,7 +215,7 @@ function readCodexSessionId(filePath) {
215
215
  return null;
216
216
  }
217
217
  function sessionSearchDescription(agent) {
218
- const claude = _chunkMDJ4LPQ5js.claudeProjectsRoots.call(void 0, ).map((root) => _path.join.call(void 0, root, "*", "<session-id>.jsonl")).join(", ");
218
+ const claude = _chunkA7NKOXBVjs.claudeProjectsRoots.call(void 0, ).map((root) => _path.join.call(void 0, root, "*", "<session-id>.jsonl")).join(", ");
219
219
  if (agent === "claude") return claude;
220
220
  if (agent === "codex") return "~/.codex/sessions/**/*.jsonl";
221
221
  return `${claude} or ~/.codex/sessions/**/*.jsonl`;
@@ -472,7 +472,7 @@ function buildSessionUploadContent(raw) {
472
472
  return { encodedContent: encoded, needsChunking: true };
473
473
  }
474
474
  async function uploadPayload(path, payload) {
475
- const { http } = _chunkJSIOLCTKjs.getAuthedHttpClient.call(void 0, );
475
+ const { http } = _chunkHGQT6EGKjs.getAuthedHttpClient.call(void 0, );
476
476
  return await http.post(path, payload);
477
477
  }
478
478
  async function uploadChunkedSessions(sessions, options) {
@@ -550,7 +550,7 @@ async function uploadAgentSession(agentRuntime) {
550
550
  return target.sessionId;
551
551
  }
552
552
  async function handleSessionsSend(options) {
553
- if (_chunkUD6M2ZTYjs.rejectRestrictedFeedback.call(void 0, options)) return;
553
+ if (_chunkY2TK7OXNjs.rejectRestrictedFeedback.call(void 0, options)) return;
554
554
  const rating = parseSessionRating(options.rating);
555
555
  if (options.file) {
556
556
  const filePath = _path.resolve.call(void 0, options.file);
@@ -562,7 +562,7 @@ async function handleSessionsSend(options) {
562
562
  filename: _path.basename.call(void 0, filePath),
563
563
  ...rating ? { rating } : {}
564
564
  });
565
- _chunkJSIOLCTKjs.printCommandEnvelope.call(void 0,
565
+ _chunkHGQT6EGKjs.printCommandEnvelope.call(void 0,
566
566
  {
567
567
  ...response2,
568
568
  ok: true,
@@ -594,7 +594,7 @@ async function handleSessionsSend(options) {
594
594
  labeled: Boolean(_optionalChain([options, 'access', _27 => _27.label, 'optionalAccess', _28 => _28.length]))
595
595
  });
596
596
  const sessionIds = built.map((session) => session.sessionId);
597
- _chunkJSIOLCTKjs.printCommandEnvelope.call(void 0,
597
+ _chunkHGQT6EGKjs.printCommandEnvelope.call(void 0,
598
598
  {
599
599
  ...response,
600
600
  ok: true,
@@ -702,7 +702,7 @@ ${refreshMeta}
702
702
  </body>
703
703
  </html>`;
704
704
  _fs.writeFileSync.call(void 0, outputPath, html, "utf8");
705
- _chunkJSIOLCTKjs.printCommandEnvelope.call(void 0,
705
+ _chunkHGQT6EGKjs.printCommandEnvelope.call(void 0,
706
706
  {
707
707
  ok: true,
708
708
  file: outputPath,
@@ -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 _chunkHGQT6EGKjs = require('./chunk-HGQT6EGK.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
+ _chunkHGQT6EGKjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
37
37
  `);
38
38
  }
39
39
  async function traceCliSpan(phase, fields, run) {
@@ -4,22 +4,22 @@
4
4
 
5
5
 
6
6
 
7
- var _chunk6JQZC6HXjs = require('./chunk-6JQZC6HX.js');
7
+ var _chunk5LCV36BRjs = require('./chunk-5LCV36BR.js');
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkWPGZ6V36js = require('./chunk-WPGZ6V36.js');
12
+ var _chunkXX7TZM4Njs = require('./chunk-XX7TZM4N.js');
13
13
 
14
14
 
15
15
 
16
- var _chunkJSIOLCTKjs = require('./chunk-JSIOLCTK.js');
16
+ var _chunkHGQT6EGKjs = require('./chunk-HGQT6EGK.js');
17
17
 
18
18
 
19
- var _chunk36254433js = require('./chunk-36254433.js');
19
+ var _chunkXBO4ERH6js = require('./chunk-XBO4ERH6.js');
20
20
 
21
21
 
22
- var _chunkMDJ4LPQ5js = require('./chunk-MDJ4LPQ5.js');
22
+ var _chunkA7NKOXBVjs = require('./chunk-A7NKOXBV.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 = _chunkXBO4ERH6js.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/${_chunkA7NKOXBVjs.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": _chunkA7NKOXBVjs.SDK_VERSION,
69
+ "X-Deepline-SDK-Version": _chunkA7NKOXBVjs.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()]) || _chunkA7NKOXBVjs.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") || !_chunk5LCV36BRjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkXX7TZM4Njs.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()]) || _chunkA7NKOXBVjs.SDK_VERSION;
97
97
  if (!target) return false;
98
- return _chunk6JQZC6HXjs.compareUpdateVersions.call(void 0, target, current) < 0;
98
+ return _chunk5LCV36BRjs.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" ? _chunkXX7TZM4Njs.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()]) || _chunkA7NKOXBVjs.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 = _chunk5LCV36BRjs.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 (!_chunk5LCV36BRjs.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 (_chunkHGQT6EGKjs.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
+ _chunkHGQT6EGKjs.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 (!_chunk5LCV36BRjs.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 _chunk5LCV36BRjs.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 _chunkXX7TZM4Njs.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 (!_chunkHGQT6EGKjs.isJsonOutputMode.call(void 0, )) console.error(line);
265
265
  }
266
266
  function beginToolExecuteCommand() {
267
267
  if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
@@ -11,20 +11,20 @@ import {
11
11
  skillsInstallLeasePath,
12
12
  skillsSourceUrl,
13
13
  syncSdkSkillsIfNeeded
14
- } from "./chunk-2UHEJPSS.mjs";
14
+ } from "./chunk-OAQYLTUN.mjs";
15
15
  import {
16
16
  printCommandEnvelope
17
- } from "./chunk-JPFAD6G6.mjs";
17
+ } from "./chunk-4LMTY4RQ.mjs";
18
18
  import {
19
19
  autoDetectBaseUrl,
20
20
  ensureProjectPrivatePathsIgnored,
21
21
  resolveProjectPinTarget,
22
22
  sdkCliStateDirPath
23
- } from "./chunk-ZRC52APB.mjs";
23
+ } from "./chunk-W66GXHYR.mjs";
24
24
  import {
25
25
  SDK_VERSION,
26
26
  detectAgentRuntime
27
- } from "./chunk-XJNJ3BWU.mjs";
27
+ } from "./chunk-CFLAGRWL.mjs";
28
28
  import {
29
29
  DEEPLINE_GTM_GLOBAL_SKILL_ROOTS
30
30
  } from "./chunk-5JPKRDFC.mjs";
@@ -37,7 +37,7 @@ var _chunkPMH4GLMDjs = require('./chunk-PMH4GLMD.js');
37
37
 
38
38
 
39
39
 
40
- var _chunkMDJ4LPQ5js = require('./chunk-MDJ4LPQ5.js');
40
+ var _chunkA7NKOXBVjs = require('./chunk-A7NKOXBV.js');
41
41
 
42
42
 
43
43
  var _chunk6VLFQZK6js = require('./chunk-6VLFQZK6.js');
@@ -963,7 +963,7 @@ var ToolCalls = class {
963
963
  idempotencyKey,
964
964
  onResponse: (response2) => {
965
965
  lastResponse = null;
966
- atomicToolsSupported = response2.headers.get(_chunkMDJ4LPQ5js.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
966
+ atomicToolsSupported = response2.headers.get(_chunkA7NKOXBVjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
967
967
  recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
968
968
  if (_optionalChain([options, 'optionalAccess', _38 => _38.onServerTiming])) {
969
969
  try {
@@ -1350,15 +1350,15 @@ function runtimeSelectionHeaders(runtime, env) {
1350
1350
  }
1351
1351
  const receivers = _optionalChain([env, 'access', _63 => _63.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _64 => _64.trim, 'call', _65 => _65()]);
1352
1352
  return {
1353
- [_chunkMDJ4LPQ5js.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1354
- ...receivers ? { [_chunkMDJ4LPQ5js.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1353
+ [_chunkA7NKOXBVjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1354
+ ...receivers ? { [_chunkA7NKOXBVjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1355
1355
  };
1356
1356
  }
1357
1357
  function playRunStartHeaders(runtime, env) {
1358
1358
  const headers = runtimeSelectionHeaders(runtime, env);
1359
1359
  const experimentSwitches = _optionalChain([env, 'access', _66 => _66.DEEPLINE_EXPERIMENT_SWITCHES, 'optionalAccess', _67 => _67.trim, 'call', _68 => _68()]);
1360
1360
  if (!experimentSwitches) return headers;
1361
- return { ...headers, [_chunkMDJ4LPQ5js.EXPERIMENT_SWITCHES_HEADER]: experimentSwitches };
1361
+ return { ...headers, [_chunkA7NKOXBVjs.EXPERIMENT_SWITCHES_HEADER]: experimentSwitches };
1362
1362
  }
1363
1363
  function normalizeTestPolicyOverrides(value, source) {
1364
1364
  if (value && typeof value === "object" && !Array.isArray(value)) {
@@ -1428,7 +1428,7 @@ var PlayClient = class {
1428
1428
  return _chunkMJTVX4QKjs.startPlayRun.call(void 0,
1429
1429
  this.http,
1430
1430
  resolved.request,
1431
- _optionalChain([options, 'optionalAccess', _76 => _76.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkMDJ4LPQ5js.SDK_API_MAJOR) } : headers,
1431
+ _optionalChain([options, 'optionalAccess', _76 => _76.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkA7NKOXBVjs.SDK_API_MAJOR) } : headers,
1432
1432
  options
1433
1433
  );
1434
1434
  }
@@ -3546,7 +3546,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
3546
3546
  "RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
3547
3547
  );
3548
3548
  }
3549
- return { [_chunkMDJ4LPQ5js.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3549
+ return { [_chunkA7NKOXBVjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3550
3550
  }
3551
3551
  function sleep(ms) {
3552
3552
  return new Promise((resolve) => setTimeout(resolve, ms));
@@ -4482,7 +4482,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
4482
4482
  );
4483
4483
  const headers = _optionalChain([options, 'optionalAccess', _200 => _200.cliAdmission]) ? {
4484
4484
  ...runtimeHeaders,
4485
- "X-Deepline-API-Major": String(_chunkMDJ4LPQ5js.SDK_API_MAJOR)
4485
+ "X-Deepline-API-Major": String(_chunkA7NKOXBVjs.SDK_API_MAJOR)
4486
4486
  } : runtimeHeaders;
4487
4487
  const http = this.http;
4488
4488
  let submitted = false;
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  httpJson
3
- } from "./chunk-HE53AI2E.mjs";
3
+ } from "./chunk-HKZN33F2.mjs";
4
4
  import {
5
5
  PRICING_PAGE_NOTE
6
6
  } from "./chunk-HECXJBED.mjs";
7
7
  import {
8
8
  autoDetectBaseUrl,
9
9
  resolveApiKeyForBaseUrl
10
- } from "./chunk-ZRC52APB.mjs";
10
+ } from "./chunk-W66GXHYR.mjs";
11
11
 
12
12
  // src/cli/concurrent-runs-help.ts
13
13
  var CONCURRENT_RUNS_HELP_COMMANDS = /* @__PURE__ */ new Set([
@@ -2,7 +2,7 @@ import {
2
2
  addDescribeOptions,
3
3
  recordApiResponse,
4
4
  writeExecutionOutput
5
- } from "./chunk-S4IW4NAI.mjs";
5
+ } from "./chunk-CSPOWVWS.mjs";
6
6
  import {
7
7
  registerIntegrationBalanceCommand,
8
8
  registerIntegrationConnectCommand,
@@ -11,11 +11,11 @@ import {
11
11
  registerLegacyHubSpotMembersCommand,
12
12
  registerLegacyWorkspaceConnectionCommand,
13
13
  registerWorkspaceConnectionListCommand
14
- } from "./chunk-7DI34I73.mjs";
14
+ } from "./chunk-IFWB4BYZ.mjs";
15
15
  import {
16
16
  recentSearchRef,
17
17
  registerDeprecatedSearchCommand
18
- } from "./chunk-LKC7PHDX.mjs";
18
+ } from "./chunk-DDJN4RR6.mjs";
19
19
  import {
20
20
  Capability,
21
21
  arrayField,
@@ -57,29 +57,29 @@ import {
57
57
  } from "./chunk-FIVKWNMT.mjs";
58
58
  import {
59
59
  DeeplineClient
60
- } from "./chunk-QCD7BQ5Z.mjs";
60
+ } from "./chunk-ITYSPUKD.mjs";
61
61
  import {
62
62
  validateExecutionIdempotencyKey
63
- } from "./chunk-R5NKLZL2.mjs";
63
+ } from "./chunk-NTHN7ODR.mjs";
64
64
  import {
65
65
  beginToolExecuteCommand,
66
66
  getToolExecuteInvocationId,
67
67
  maybeAutoUpdateAndRelaunch,
68
68
  registerCompatibilityCatalog,
69
69
  runToolExecuteStage
70
- } from "./chunk-PU5VCDCJ.mjs";
70
+ } from "./chunk-H7DY5NQ3.mjs";
71
71
  import {
72
72
  isCliTraceEnabled,
73
73
  recordCliTrace,
74
74
  resolveCliMaintenancePolicy
75
- } from "./chunk-SY3OKOI5.mjs";
75
+ } from "./chunk-JQPFICW3.mjs";
76
76
  import {
77
77
  checkSdkCompatibility,
78
78
  enforceSdkCompatibilityResponse,
79
79
  flushDeferredSkillsSyncNotices,
80
80
  requireSdkCompatibility,
81
81
  syncSdkSkillsIfNeeded
82
- } from "./chunk-2UHEJPSS.mjs";
82
+ } from "./chunk-OAQYLTUN.mjs";
83
83
  import {
84
84
  errorToJsonPayload,
85
85
  printCommandEnvelope,
@@ -88,12 +88,12 @@ import {
88
88
  printJsonError,
89
89
  renderCommandEnvelopeText,
90
90
  shouldEmitJson
91
- } from "./chunk-JPFAD6G6.mjs";
91
+ } from "./chunk-4LMTY4RQ.mjs";
92
92
  import {
93
93
  readSdkSkillsLocalVersion,
94
94
  resolveConfig,
95
95
  sdkCliStateDirPath
96
- } from "./chunk-ZRC52APB.mjs";
96
+ } from "./chunk-W66GXHYR.mjs";
97
97
  import {
98
98
  DeeplineError
99
99
  } from "./chunk-Z3A2S3QM.mjs";
@@ -1057,7 +1057,7 @@ Examples:
1057
1057
  process.exitCode = await narrowView();
1058
1058
  return;
1059
1059
  }
1060
- const { describeAnything } = await import("./describe-S6NFWWGK.mjs");
1060
+ const { describeAnything } = await import("./describe-UBSCFPH5.mjs");
1061
1061
  process.exitCode = await describeAnything(
1062
1062
  toolId,
1063
1063
  {
@@ -4,14 +4,14 @@ import {
4
4
  resolveApiKeyForBaseUrl,
5
5
  resolveCliCommandContext,
6
6
  resolveConfig
7
- } from "./chunk-ZRC52APB.mjs";
7
+ } from "./chunk-W66GXHYR.mjs";
8
8
  import {
9
9
  SDK_VERSION,
10
10
  agentSessionIdFromEnvironment,
11
11
  deploymentProtectionHeaders,
12
12
  detectAgentRuntime,
13
13
  readToolFailureHint
14
- } from "./chunk-XJNJ3BWU.mjs";
14
+ } from "./chunk-CFLAGRWL.mjs";
15
15
  import {
16
16
  DeeplineError,
17
17
  normalizeToolExecutionFailure,
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
49
49
  // getters keep their established compatibility behavior.
50
50
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
51
51
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
52
- version: "0.3.576",
52
+ version: "0.3.578",
53
53
  updateSummary: {
54
54
  introducedIn: "0.3.90",
55
55
  summary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release."