deepline 0.3.414 → 0.3.415

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 (95) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/cli/{auth-5QG4TOA6.mjs → auth-3R7XJOU4.mjs} +4 -4
  3. package/dist/cli/auth-BPP3XUUK.js +40 -0
  4. package/dist/cli/{billing-W7YO6VXH.js → billing-63YR65DL.js} +73 -73
  5. package/dist/cli/{billing-JV3HCOMG.mjs → billing-CEQACJBE.mjs} +4 -4
  6. package/dist/cli/{chunk-BXWLG55T.js → chunk-44SXWCI5.js} +56 -52
  7. package/dist/cli/{chunk-UGQLBLSZ.mjs → chunk-5L3NL6HV.mjs} +3 -3
  8. package/dist/cli/{chunk-PK55NFM5.js → chunk-5MP7LBHF.js} +2 -2
  9. package/dist/cli/{chunk-VOTKMPYY.mjs → chunk-5RZZHZEJ.mjs} +7 -3
  10. package/dist/cli/{chunk-QWLGBYTB.mjs → chunk-6WQGIJSW.mjs} +1 -1
  11. package/dist/cli/{chunk-XPOIHVTN.js → chunk-BBQTQRDC.js} +6 -6
  12. package/dist/cli/{chunk-URBOSCO6.js → chunk-CKP2OAKZ.js} +20 -20
  13. package/dist/cli/{chunk-EFD5CW26.mjs → chunk-CQ5FHAX2.mjs} +1 -1
  14. package/dist/cli/{chunk-QVBVSC3M.js → chunk-D34G5I2G.js} +8 -8
  15. package/dist/cli/{chunk-JR4FDOWR.js → chunk-DI63MOEP.js} +8 -8
  16. package/dist/cli/{chunk-RYWFCSGX.mjs → chunk-EMWMLURG.mjs} +1 -1
  17. package/dist/cli/{chunk-M2V34XOG.mjs → chunk-EV6OLL4W.mjs} +5 -5
  18. package/dist/cli/{chunk-ODA4AZM3.js → chunk-F66SBZUA.js} +79 -79
  19. package/dist/cli/{chunk-ZEQ3N6SI.js → chunk-H3ZWEHLG.js} +4 -4
  20. package/dist/cli/{chunk-EWDWMTTD.js → chunk-IOULR7YA.js} +1 -1
  21. package/dist/cli/{chunk-LI2LTEO4.mjs → chunk-JM3BQNP2.mjs} +2 -2
  22. package/dist/cli/{chunk-OEHMER3F.js → chunk-KOQGG5WZ.js} +16 -16
  23. package/dist/cli/{chunk-OKKLH4QY.mjs → chunk-LEPECCA5.mjs} +2 -2
  24. package/dist/cli/{chunk-RHOY4RXI.js → chunk-M2I4TC2C.js} +26 -26
  25. package/dist/cli/{chunk-4CPRZPRQ.js → chunk-N4SYPFH4.js} +6 -6
  26. package/dist/cli/{chunk-MH6H63HF.js → chunk-OJ4N5XMI.js} +35 -35
  27. package/dist/cli/{chunk-3PBK7PHE.mjs → chunk-OJGQ7JE3.mjs} +1 -1
  28. package/dist/cli/{chunk-S6ZBXS7N.mjs → chunk-Q44253PX.mjs} +1 -1
  29. package/dist/cli/{chunk-5S4QRLRC.mjs → chunk-TOUMT7XB.mjs} +2 -2
  30. package/dist/cli/{chunk-H5GTXEGI.mjs → chunk-TQU3G7NC.mjs} +4 -4
  31. package/dist/cli/{chunk-L3DLOICI.mjs → chunk-U4RSPPD7.mjs} +3 -3
  32. package/dist/cli/{chunk-VJRAFJ6H.js → chunk-UCE2CYXP.js} +2 -2
  33. package/dist/cli/{chunk-NOGPMTF5.mjs → chunk-UK22LQKF.mjs} +8 -8
  34. package/dist/cli/{chunk-J2GD6PDT.js → chunk-UOGTM7NF.js} +50 -50
  35. package/dist/cli/{chunk-N3EF5WQV.js → chunk-WAPSY6F3.js} +10 -10
  36. package/dist/cli/{chunk-HSYVA2JK.mjs → chunk-WQXQDVHQ.mjs} +2 -2
  37. package/dist/cli/{chunk-MALNVMG6.mjs → chunk-Y2CT65YJ.mjs} +1 -1
  38. package/dist/cli/{csv-HH5HBH2J.mjs → csv-2KFJJLDT.mjs} +3 -3
  39. package/dist/cli/{csv-EO2L4TEE.js → csv-PKQX3TSA.js} +12 -12
  40. package/dist/cli/{db-Y7CREGF3.mjs → db-N26UHFY7.mjs} +4 -4
  41. package/dist/cli/{db-MUXVX2BC.js → db-PLBBJZSD.js} +25 -25
  42. package/dist/cli/{describe-4P76LT4U.mjs → describe-7RR4IO2K.mjs} +12 -12
  43. package/dist/cli/{describe-66HDJGQI.js → describe-QGZ33RCB.js} +16 -16
  44. package/dist/cli/{executions-HKGTLNX5.js → executions-A7JY32A5.js} +6 -6
  45. package/dist/cli/{executions-SOEK54UR.mjs → executions-XUFGT3SW.mjs} +4 -4
  46. package/dist/cli/{feedback-TLABM3DG.js → feedback-GU7HYQPX.js} +7 -7
  47. package/dist/cli/{feedback-NX64K5CR.mjs → feedback-PIDESS5I.mjs} +3 -3
  48. package/dist/cli/git-EGJIIULI.js +24 -0
  49. package/dist/cli/{git-Y25E2ZJC.mjs → git-ST2L7VCM.mjs} +4 -4
  50. package/dist/cli/index.js +131 -131
  51. package/dist/cli/index.mjs +36 -36
  52. package/dist/cli/{legacy-noops-EXFCXCRK.js → legacy-noops-Q4D3TT7J.js} +7 -7
  53. package/dist/cli/{legacy-noops-RRMXZZ4S.mjs → legacy-noops-WLZ3HD5L.mjs} +4 -4
  54. package/dist/cli/{monitors-CCKCBND7.mjs → monitors-4DRP7ABU.mjs} +4 -4
  55. package/dist/cli/{monitors-FB75AVWA.js → monitors-DQBYHBTI.js} +84 -84
  56. package/dist/cli/{org-SQQG44XI.js → org-JDFN2BMD.js} +64 -64
  57. package/dist/cli/{org-KDPXHQPC.mjs → org-XMP5FH4W.mjs} +4 -4
  58. package/dist/cli/{play-CSKSDDQS.js → play-AVX67TTR.js} +283 -283
  59. package/dist/cli/{play-HPQEDJEP.mjs → play-LSEV7CLQ.mjs} +10 -10
  60. package/dist/cli/{providers-TFVCFP7J.mjs → providers-3B7KUXCF.mjs} +4 -4
  61. package/dist/cli/{providers-7FDWGH3C.js → providers-QOUY73G2.js} +7 -7
  62. package/dist/cli/{quickstart-JQRTIIIZ.js → quickstart-BVKDXXBN.js} +5 -5
  63. package/dist/cli/{quickstart-2J67PING.mjs → quickstart-KFITIZGE.mjs} +3 -3
  64. package/dist/cli/{search-7ZA7UIVM.mjs → search-MXMDK6BE.mjs} +5 -5
  65. package/dist/cli/search-UWPN4TLM.js +30 -0
  66. package/dist/cli/{secrets-ZQY5GO4T.mjs → secrets-IX6ZHGMU.mjs} +4 -4
  67. package/dist/cli/{secrets-J676GB6Q.js → secrets-PHV2PC55.js} +13 -13
  68. package/dist/cli/{sessions-AVICKLMK.js → sessions-2YAIVSQY.js} +5 -5
  69. package/dist/cli/{sessions-OP2352DC.mjs → sessions-NHNLYXBA.mjs} +4 -4
  70. package/dist/cli/{settings-EWKNDCGF.js → settings-APUXXPOD.js} +75 -75
  71. package/dist/cli/{settings-QNILCEH6.mjs → settings-SAHN4OJN.mjs} +8 -8
  72. package/dist/cli/{setup-4NDX6UAI.mjs → setup-QOZSIUEX.mjs} +7 -7
  73. package/dist/cli/{setup-IHILOCOK.js → setup-URQ7BG5P.js} +42 -42
  74. package/dist/cli/{skills-H73NL3VP.mjs → skills-FLNMB5IF.mjs} +5 -5
  75. package/dist/cli/skills-ODG4WSUP.js +29 -0
  76. package/dist/cli/tools-R43QU6JL.js +44 -0
  77. package/dist/cli/{tools-ZFPBY4Q2.mjs → tools-USDETSBP.mjs} +12 -12
  78. package/dist/cli/update-AGI5HJUV.js +31 -0
  79. package/dist/cli/{update-XULEC376.mjs → update-ZPY45JN4.mjs} +7 -7
  80. package/dist/cli/{workflow-OD5XZHCL.mjs → workflow-GSEM32G7.mjs} +5 -5
  81. package/dist/cli/{workflow-JX4WSBYH.js → workflow-KYWMP2JG.js} +15 -15
  82. package/dist/index.js +6 -6
  83. package/dist/index.mjs +3 -3
  84. package/dist/install-integrity.json +78 -78
  85. package/dist/release.d.mts +1 -1
  86. package/dist/release.d.ts +1 -1
  87. package/dist/release.js +2 -2
  88. package/dist/release.mjs +1 -1
  89. package/package.json +1 -1
  90. package/dist/cli/auth-5A3Z4LNL.js +0 -40
  91. package/dist/cli/git-K55QWG6X.js +0 -24
  92. package/dist/cli/search-O3PYDXOZ.js +0 -30
  93. package/dist/cli/skills-TDL7SEFT.js +0 -29
  94. package/dist/cli/tools-GPFPJWWA.js +0 -44
  95. package/dist/cli/update-VR6EWUUT.js +0 -31
@@ -1,10 +1,10 @@
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 _chunk4CPRZPRQjs = require('./chunk-4CPRZPRQ.js');
4
+ var _chunkN4SYPFH4js = require('./chunk-N4SYPFH4.js');
5
5
 
6
6
 
7
- var _chunkZEQ3N6SIjs = require('./chunk-ZEQ3N6SI.js');
7
+ var _chunkH3ZWEHLGjs = require('./chunk-H3ZWEHLG.js');
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
 
@@ -139,7 +139,7 @@ function currentSessionFile(agent) {
139
139
  const newestFirst = listSessionFiles(agent).sort(
140
140
  (a, b) => b.mtimeMs - a.mtimeMs
141
141
  );
142
- const sessionId = _chunkZEQ3N6SIjs.agentSessionIdFromEnvironment.call(void 0,
142
+ const sessionId = _chunkH3ZWEHLGjs.agentSessionIdFromEnvironment.call(void 0,
143
143
  process.env,
144
144
  agent === "auto" ? void 0 : agent === "claude" ? "claude_code" : "codex"
145
145
  );
@@ -451,7 +451,7 @@ function buildSessionUploadContent(raw) {
451
451
  return { encodedContent: encoded, needsChunking: true };
452
452
  }
453
453
  async function uploadPayload(path, payload) {
454
- const { http } = _chunk4CPRZPRQjs.getAuthedHttpClient.call(void 0, );
454
+ const { http } = _chunkN4SYPFH4js.getAuthedHttpClient.call(void 0, );
455
455
  return await http.post(path, payload);
456
456
  }
457
457
  async function uploadChunkedSessions(sessions, options) {
@@ -484,7 +484,7 @@ async function uploadChunkedSessions(sessions, options) {
484
484
  ...options.rating ? { rating: options.rating } : {}
485
485
  });
486
486
  const sessionIds = sessions.map((session) => session.sessionId);
487
- _chunk4CPRZPRQjs.printCommandEnvelope.call(void 0,
487
+ _chunkN4SYPFH4js.printCommandEnvelope.call(void 0,
488
488
  {
489
489
  ...response,
490
490
  ok: true,
@@ -516,7 +516,7 @@ async function handleSessionsSend(options) {
516
516
  filename: _path.basename.call(void 0, filePath),
517
517
  ...rating ? { rating } : {}
518
518
  });
519
- _chunk4CPRZPRQjs.printCommandEnvelope.call(void 0,
519
+ _chunkN4SYPFH4js.printCommandEnvelope.call(void 0,
520
520
  {
521
521
  ...response2,
522
522
  ok: true,
@@ -566,7 +566,7 @@ async function handleSessionsSend(options) {
566
566
  ...rating ? { rating } : {}
567
567
  });
568
568
  const sessionIds = built.map((session) => session.sessionId);
569
- _chunk4CPRZPRQjs.printCommandEnvelope.call(void 0,
569
+ _chunkN4SYPFH4js.printCommandEnvelope.call(void 0,
570
570
  {
571
571
  ...response,
572
572
  ok: true,
@@ -674,7 +674,7 @@ ${refreshMeta}
674
674
  </body>
675
675
  </html>`;
676
676
  _fs.writeFileSync.call(void 0, outputPath, html, "utf8");
677
- _chunk4CPRZPRQjs.printCommandEnvelope.call(void 0,
677
+ _chunkN4SYPFH4js.printCommandEnvelope.call(void 0,
678
678
  {
679
679
  ok: true,
680
680
  file: outputPath,
@@ -3,15 +3,15 @@
3
3
  var _chunkZM2YPJQJjs = require('./chunk-ZM2YPJQJ.js');
4
4
 
5
5
 
6
- var _chunkN3EF5WQVjs = require('./chunk-N3EF5WQV.js');
6
+ var _chunkWAPSY6F3js = require('./chunk-WAPSY6F3.js');
7
7
 
8
8
 
9
9
 
10
- var _chunk4CPRZPRQjs = require('./chunk-4CPRZPRQ.js');
10
+ var _chunkN4SYPFH4js = require('./chunk-N4SYPFH4.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkZEQ3N6SIjs = require('./chunk-ZEQ3N6SI.js');
14
+ var _chunkH3ZWEHLGjs = require('./chunk-H3ZWEHLG.js');
15
15
 
16
16
 
17
17
 
@@ -5713,7 +5713,7 @@ var _fs = require('fs');
5713
5713
  var _path = require('path');
5714
5714
  var SEARCH_REF_TTL_MS = 15 * 6e4;
5715
5715
  function lastSearchPath() {
5716
- return _path.join.call(void 0, _chunkZEQ3N6SIjs.sdkCliStateDirPath.call(void 0, _chunkZEQ3N6SIjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
5716
+ return _path.join.call(void 0, _chunkH3ZWEHLGjs.sdkCliStateDirPath.call(void 0, _chunkH3ZWEHLGjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
5717
5717
  }
5718
5718
  function rememberSearchRef(searchRef) {
5719
5719
  try {
@@ -5872,7 +5872,7 @@ var OPTIONAL_COLUMNS = [
5872
5872
  ];
5873
5873
  function renderSearchResults(result) {
5874
5874
  if (result.results.length === 0)
5875
- return _chunk4CPRZPRQjs.renderCommandEnvelopeText.call(void 0, result);
5875
+ return _chunkN4SYPFH4js.renderCommandEnvelopeText.call(void 0, result);
5876
5876
  const rows = result.results.map(searchRow);
5877
5877
  const kinds = new Set(rows.map((row) => row.kind));
5878
5878
  const onlyTools = kinds.size === 1 && kinds.has("tool");
@@ -5897,7 +5897,7 @@ function renderSearchResults(result) {
5897
5897
  actions: _optionalChain([render, 'optionalAccess', _12 => _12.actions])
5898
5898
  };
5899
5899
  const followUps = _optionalChain([remaining, 'access', _13 => _13.sections, 'optionalAccess', _14 => _14.length]) || _optionalChain([remaining, 'access', _15 => _15.actions, 'optionalAccess', _16 => _16.length]) ? `
5900
- ${_chunk4CPRZPRQjs.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
5900
+ ${_chunkN4SYPFH4js.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
5901
5901
  const notes = rows.flatMap(
5902
5902
  (row) => row.notes.map((note) => ` ${row.id}: ${note}`)
5903
5903
  );
@@ -5974,7 +5974,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
5974
5974
  console.error(USAGE);
5975
5975
  return 1;
5976
5976
  }
5977
- const { search_ref: searchRef, ...result } = await new (0, _chunkN3EF5WQVjs.DeeplineClient)().search({
5977
+ const { search_ref: searchRef, ...result } = await new (0, _chunkWAPSY6F3js.DeeplineClient)().search({
5978
5978
  query,
5979
5979
  types,
5980
5980
  exclude,
@@ -5988,7 +5988,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
5988
5988
  });
5989
5989
  if (searchRef) rememberSearchRef(searchRef);
5990
5990
  pointAtDescribe(result);
5991
- _chunk4CPRZPRQjs.printCommandEnvelope.call(void 0, result, {
5991
+ _chunkN4SYPFH4js.printCommandEnvelope.call(void 0, result, {
5992
5992
  json: options.json === true,
5993
5993
  text: renderSearchResults(result)
5994
5994
  });
@@ -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.414",
52
+ version: "0.3.415",
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."
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-QWLGBYTB.mjs";
4
+ } from "./chunk-6WQGIJSW.mjs";
5
5
  import {
6
6
  runSkillsCommand
7
- } from "./chunk-L3DLOICI.mjs";
7
+ } from "./chunk-U4RSPPD7.mjs";
8
8
  import {
9
9
  resolveShellSpawn
10
- } from "./chunk-VOTKMPYY.mjs";
10
+ } from "./chunk-5RZZHZEJ.mjs";
11
11
  import {
12
12
  printCommandEnvelope
13
- } from "./chunk-3PBK7PHE.mjs";
13
+ } from "./chunk-OJGQ7JE3.mjs";
14
14
  import {
15
15
  autoDetectBaseUrl
16
- } from "./chunk-S6ZBXS7N.mjs";
16
+ } from "./chunk-Q44253PX.mjs";
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  import { spawn, spawnSync } from "child_process";