deepline 0.3.296 → 0.3.297

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 (85) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-ledger-outbox-recovery.ts +21 -3
  3. package/dist/cli/auth-DLGUNY3B.js +31 -0
  4. package/dist/cli/{auth-JCGIDVDF.mjs → auth-FOHTQKQV.mjs} +4 -4
  5. package/dist/cli/{billing-YBK3J4WP.js → billing-NRKIBTKJ.js} +70 -70
  6. package/dist/cli/{billing-OQBSIXRG.mjs → billing-ZY3KZNZD.mjs} +4 -4
  7. package/dist/cli/{chunk-7D6QG5KF.js → chunk-34A5RSXF.js} +6 -6
  8. package/dist/cli/{chunk-L4HBNHFW.js → chunk-4NYMO67X.js} +2 -2
  9. package/dist/cli/{chunk-RCUE5C5C.mjs → chunk-AC3SC3AC.mjs} +1 -1
  10. package/dist/cli/{chunk-AQRTLPHZ.js → chunk-B52G7BYN.js} +6 -6
  11. package/dist/cli/{chunk-BZ77OTRF.mjs → chunk-DBZX2IWV.mjs} +2 -2
  12. package/dist/cli/{chunk-A7427JJH.js → chunk-FHO5PO6Q.js} +6 -6
  13. package/dist/cli/{chunk-4ZB3CJRD.js → chunk-FSPE246W.js} +15 -15
  14. package/dist/cli/{chunk-LIKFCE7Z.js → chunk-IJGJKU4L.js} +1 -1
  15. package/dist/cli/{chunk-6HPEDBSJ.js → chunk-OSUS6K5I.js} +4 -4
  16. package/dist/cli/{chunk-GLKUGBTP.mjs → chunk-PLKA4WFH.mjs} +2 -2
  17. package/dist/cli/{chunk-J2D3VDOU.mjs → chunk-PYXPP7NX.mjs} +1 -1
  18. package/dist/cli/{chunk-2C3AVPTY.js → chunk-QIJ32UEW.js} +6 -6
  19. package/dist/cli/{chunk-2MZ5EQZE.mjs → chunk-QPBTAYNK.mjs} +2 -2
  20. package/dist/cli/{chunk-QSIO4TX2.mjs → chunk-R2COLUYE.mjs} +1 -1
  21. package/dist/cli/{chunk-DYWHXO7O.mjs → chunk-R5BISWXF.mjs} +1 -1
  22. package/dist/cli/{chunk-NTEZFZLE.mjs → chunk-SZJM7D7W.mjs} +1 -1
  23. package/dist/cli/{chunk-ZDOC4HFL.js → chunk-V24XJVLX.js} +48 -48
  24. package/dist/cli/{chunk-4Y6CG4GE.js → chunk-VIOM5OEQ.js} +57 -57
  25. package/dist/cli/{chunk-G46HHFNB.mjs → chunk-YCCDPYIV.mjs} +4 -4
  26. package/dist/cli/{chunk-NPPJX3BL.mjs → chunk-YFPOHUWQ.mjs} +1 -1
  27. package/dist/cli/{chunk-UC6GHEL4.js → chunk-YH2XATMF.js} +26 -26
  28. package/dist/cli/{chunk-7UAO5MWV.mjs → chunk-ZXJWXNGA.mjs} +3 -3
  29. package/dist/cli/{client-CZDA4JKO.mjs → client-65MCTEMR.mjs} +3 -3
  30. package/dist/cli/client-QLERARAF.js +20 -0
  31. package/dist/cli/{csv-UTEQY3NA.js → csv-SHCW3IJL.js} +12 -12
  32. package/dist/cli/{csv-6KOMZA2H.mjs → csv-TJWBSMR2.mjs} +3 -3
  33. package/dist/cli/{db-SIBLPIKC.js → db-DN6YHQTC.js} +20 -20
  34. package/dist/cli/{db-D5EP6TKO.mjs → db-K7QXXM5C.mjs} +4 -4
  35. package/dist/cli/{executions-2PHT57IO.js → executions-2POJWTCH.js} +6 -6
  36. package/dist/cli/{executions-DFWM2YYY.mjs → executions-FRQO6SJF.mjs} +4 -4
  37. package/dist/cli/{feedback-GZW37JMI.mjs → feedback-A6232HB5.mjs} +3 -3
  38. package/dist/cli/{feedback-IQVWIJZ4.js → feedback-EEYZOH3S.js} +6 -6
  39. package/dist/cli/{git-B72Y4FFQ.mjs → git-FRVNZNIA.mjs} +4 -4
  40. package/dist/cli/git-SZHVHZWU.js +23 -0
  41. package/dist/cli/index.js +73 -73
  42. package/dist/cli/index.mjs +30 -30
  43. package/dist/cli/{legacy-noops-IFGVDCOM.js → legacy-noops-NREP3YMQ.js} +7 -7
  44. package/dist/cli/{legacy-noops-37F5MX2P.mjs → legacy-noops-WEN2VQKS.mjs} +4 -4
  45. package/dist/cli/{monitors-42H6LOVT.mjs → monitors-2F7GLG24.mjs} +4 -4
  46. package/dist/cli/{monitors-GQCHXBXZ.js → monitors-EHHO4IGT.js} +85 -85
  47. package/dist/cli/{org-JYZA3ZRJ.mjs → org-JONFO5PV.mjs} +4 -4
  48. package/dist/cli/{org-4GCPBTGR.js → org-TTFZKSMD.js} +60 -60
  49. package/dist/cli/{play-46ZJ4FMI.js → play-N3JMRLKG.js} +200 -200
  50. package/dist/cli/{play-Q2XV3FZZ.mjs → play-Y7U2XU2K.mjs} +6 -6
  51. package/dist/cli/{providers-CTKQP45X.mjs → providers-CWPT5L3U.mjs} +4 -4
  52. package/dist/cli/{providers-PCNF5E3K.js → providers-I4V4QCOM.js} +7 -7
  53. package/dist/cli/{quickstart-FTHWRVWN.js → quickstart-2DDUIWC5.js} +5 -5
  54. package/dist/cli/{quickstart-X7EVVWRG.mjs → quickstart-UBONJ6EY.mjs} +3 -3
  55. package/dist/cli/{search-73YPOFDO.mjs → search-BHCCYLF2.mjs} +5 -5
  56. package/dist/cli/{search-XA5UVC3G.js → search-Z72FUFXL.js} +6 -6
  57. package/dist/cli/{secrets-UOEVR73Q.js → secrets-AE22MX42.js} +13 -13
  58. package/dist/cli/{secrets-OUMPT4FX.mjs → secrets-BGD4PNTG.mjs} +4 -4
  59. package/dist/cli/{sessions-CMKXCN5Y.js → sessions-7SIBBFHF.js} +5 -5
  60. package/dist/cli/{sessions-ZIFGDZE7.mjs → sessions-JYSG6SUN.mjs} +4 -4
  61. package/dist/cli/{settings-OO5R3G52.mjs → settings-4XWN4JFT.mjs} +7 -7
  62. package/dist/cli/{settings-ULZT2NIC.js → settings-LCA42CL3.js} +74 -74
  63. package/dist/cli/{setup-DHGERXPZ.js → setup-NID2M4GQ.js} +41 -41
  64. package/dist/cli/{setup-6GZH52OZ.mjs → setup-WMOKDWHV.mjs} +6 -6
  65. package/dist/cli/{skills-T3EY2656.mjs → skills-6IL3LQUJ.mjs} +4 -4
  66. package/dist/cli/skills-AYCZ4UXS.js +28 -0
  67. package/dist/cli/{tools-BIMOAOTX.mjs → tools-BOIRKQA4.mjs} +5 -5
  68. package/dist/cli/{tools-ODXVCKO7.js → tools-TZLX4WAL.js} +50 -50
  69. package/dist/cli/update-EEFUC76J.js +28 -0
  70. package/dist/cli/{update-X4HX7Z3M.mjs → update-VF3BB3R7.mjs} +6 -6
  71. package/dist/cli/{workflow-IVLCPFTG.js → workflow-RUTOLKOS.js} +15 -15
  72. package/dist/cli/{workflow-EAUFVPIP.mjs → workflow-UZKD5KU2.mjs} +5 -5
  73. package/dist/index.js +6 -6
  74. package/dist/index.mjs +3 -3
  75. package/dist/install-integrity.json +68 -68
  76. package/dist/release.d.mts +1 -1
  77. package/dist/release.d.ts +1 -1
  78. package/dist/release.js +2 -2
  79. package/dist/release.mjs +1 -1
  80. package/package.json +1 -1
  81. package/dist/cli/auth-QDWV3TXX.js +0 -31
  82. package/dist/cli/client-IZGIN2ZA.js +0 -20
  83. package/dist/cli/git-563GYLMA.js +0 -23
  84. package/dist/cli/skills-Q7NUCS2W.js +0 -28
  85. package/dist/cli/update-UMB3ULBR.js +0 -28
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  DeeplineClient,
3
3
  iterateCursorPages
4
- } from "./chunk-J2D3VDOU.mjs";
4
+ } from "./chunk-PYXPP7NX.mjs";
5
5
  import "./chunk-CBVIJSHF.mjs";
6
6
  import {
7
7
  createTimestampedName,
@@ -9,13 +9,13 @@ import {
9
9
  openInBrowser,
10
10
  printCommandEnvelope,
11
11
  shouldEmitJson
12
- } from "./chunk-NTEZFZLE.mjs";
12
+ } from "./chunk-SZJM7D7W.mjs";
13
13
  import {
14
14
  AuthError,
15
15
  ConfigError
16
- } from "./chunk-NPPJX3BL.mjs";
16
+ } from "./chunk-YFPOHUWQ.mjs";
17
17
  import "./chunk-DLIRSHV6.mjs";
18
- import "./chunk-QSIO4TX2.mjs";
18
+ import "./chunk-R2COLUYE.mjs";
19
19
  import "./chunk-GVUJJJ5G.mjs";
20
20
  import {
21
21
  DeeplineError
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunk6HPEDBSJjs = require('./chunk-6HPEDBSJ.js');
6
+ var _chunkOSUS6K5Ijs = require('./chunk-OSUS6K5I.js');
7
7
 
8
8
 
9
9
  var _chunk7P5AA3SNjs = require('./chunk-7P5AA3SN.js');
@@ -136,8 +136,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
136
136
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
137
137
  var defaultBrowserCommandRunner = childProcess;
138
138
  function getAuthedHttpClient() {
139
- const config = _chunk6HPEDBSJjs.resolveConfig.call(void 0, );
140
- return { config, http: new (0, _chunk6HPEDBSJjs.HttpClient)(config) };
139
+ const config = _chunkOSUS6K5Ijs.resolveConfig.call(void 0, );
140
+ return { config, http: new (0, _chunkOSUS6K5Ijs.HttpClient)(config) };
141
141
  }
142
142
  function stableOsUserId() {
143
143
  try {
@@ -477,7 +477,7 @@ function collectLocalEnvInfo() {
477
477
  os: `${process.platform} ${process.arch}`,
478
478
  node_version: process.version,
479
479
  home_dir: homeDir,
480
- agent_runtime: _chunk6HPEDBSJjs.detectAgentRuntime.call(void 0, )
480
+ agent_runtime: _chunkOSUS6K5Ijs.detectAgentRuntime.call(void 0, )
481
481
  };
482
482
  const env = process.env;
483
483
  const optional = {
@@ -725,9 +725,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
725
725
  }
726
726
  function withAgentCommandContext(value) {
727
727
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
728
- return _chunk6HPEDBSJjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
728
+ return _chunkOSUS6K5Ijs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
729
729
  ...valueRecord,
730
- command_context: _chunk6HPEDBSJjs.resolveCliCommandContext.call(void 0, )
730
+ command_context: _chunkOSUS6K5Ijs.resolveCliCommandContext.call(void 0, )
731
731
  } : value;
732
732
  }
733
733
  function printJson(value, fields) {
@@ -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(); } } 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 _chunk4Y6CG4GEjs = require('./chunk-4Y6CG4GE.js');
3
+ var _chunkVIOM5OEQjs = require('./chunk-VIOM5OEQ.js');
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  var _child_process = require('child_process');
@@ -13,7 +13,7 @@ function npmSupportsAllowScripts(version) {
13
13
  }
14
14
  function readNpmVersion(env) {
15
15
  try {
16
- const plan = _chunk4Y6CG4GEjs.resolveShellSpawn.call(void 0, "npm", ["--version"]);
16
+ const plan = _chunkVIOM5OEQjs.resolveShellSpawn.call(void 0, "npm", ["--version"]);
17
17
  const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
18
18
  encoding: "utf8",
19
19
  env,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getAuthedHttpClient,
3
3
  printCommandEnvelope
4
- } from "./chunk-NTEZFZLE.mjs";
4
+ } from "./chunk-SZJM7D7W.mjs";
5
5
 
6
6
  // src/cli/commands/sessions.ts
7
7
  import {
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunk7D6QG5KFjs = require('./chunk-7D6QG5KF.js');
4
+ var _chunk34A5RSXFjs = require('./chunk-34A5RSXF.js');
5
5
 
6
6
  // src/cli/commands/sessions.ts
7
7
 
@@ -420,7 +420,7 @@ function buildSessionUploadContent(raw) {
420
420
  return { encodedContent: encoded, needsChunking: true };
421
421
  }
422
422
  async function uploadPayload(path, payload) {
423
- const { http } = _chunk7D6QG5KFjs.getAuthedHttpClient.call(void 0, );
423
+ const { http } = _chunk34A5RSXFjs.getAuthedHttpClient.call(void 0, );
424
424
  return await http.post(path, payload);
425
425
  }
426
426
  async function uploadChunkedSessions(sessions, options) {
@@ -452,7 +452,7 @@ async function uploadChunkedSessions(sessions, options) {
452
452
  environments: sessions.map(() => detectShellContext()),
453
453
  ...options.rating ? { rating: options.rating } : {}
454
454
  });
455
- _chunk7D6QG5KFjs.printCommandEnvelope.call(void 0,
455
+ _chunk34A5RSXFjs.printCommandEnvelope.call(void 0,
456
456
  {
457
457
  ...response,
458
458
  ok: true,
@@ -481,7 +481,7 @@ async function handleSessionsSend(options) {
481
481
  filename: _path.basename.call(void 0, filePath),
482
482
  ...rating ? { rating } : {}
483
483
  });
484
- _chunk7D6QG5KFjs.printCommandEnvelope.call(void 0,
484
+ _chunk34A5RSXFjs.printCommandEnvelope.call(void 0,
485
485
  {
486
486
  ...response2,
487
487
  ok: true,
@@ -530,7 +530,7 @@ async function handleSessionsSend(options) {
530
530
  environment: detectShellContext(),
531
531
  ...rating ? { rating } : {}
532
532
  });
533
- _chunk7D6QG5KFjs.printCommandEnvelope.call(void 0,
533
+ _chunk34A5RSXFjs.printCommandEnvelope.call(void 0,
534
534
  {
535
535
  ...response,
536
536
  ok: true,
@@ -635,7 +635,7 @@ ${refreshMeta}
635
635
  </body>
636
636
  </html>`;
637
637
  _fs.writeFileSync.call(void 0, outputPath, html, "utf8");
638
- _chunk7D6QG5KFjs.printCommandEnvelope.call(void 0,
638
+ _chunk34A5RSXFjs.printCommandEnvelope.call(void 0,
639
639
  {
640
640
  ok: true,
641
641
  file: outputPath,
@@ -2,7 +2,7 @@ import {
2
2
  argsWantJson,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-NTEZFZLE.mjs";
5
+ } from "./chunk-SZJM7D7W.mjs";
6
6
  import {
7
7
  ACTIVE_ORG_ID_ENV,
8
8
  ACTIVE_ORG_NAME_ENV,
@@ -25,7 +25,7 @@ import {
25
25
  saveHostEnvValues,
26
26
  saveProjectDeeplineEnvValues,
27
27
  storedHostApiKey
28
- } from "./chunk-NPPJX3BL.mjs";
28
+ } from "./chunk-YFPOHUWQ.mjs";
29
29
 
30
30
  // src/cli/commands/auth.ts
31
31
  import {
@@ -1,20 +1,20 @@
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 _chunk2C3AVPTYjs = require('./chunk-2C3AVPTY.js');
3
+ var _chunkQIJ32UEWjs = require('./chunk-QIJ32UEW.js');
4
4
 
5
5
 
6
- var _chunk7D6QG5KFjs = require('./chunk-7D6QG5KF.js');
6
+ var _chunk34A5RSXFjs = require('./chunk-34A5RSXF.js');
7
7
 
8
8
 
9
9
 
10
- var _chunk6HPEDBSJjs = require('./chunk-6HPEDBSJ.js');
10
+ var _chunkOSUS6K5Ijs = require('./chunk-OSUS6K5I.js');
11
11
 
12
12
  // src/cli/search-ref.ts
13
13
  var _fs = require('fs');
14
14
  var _path = require('path');
15
15
  var SEARCH_REF_TTL_MS = 15 * 6e4;
16
16
  function lastSearchPath() {
17
- return _path.join.call(void 0, _chunk6HPEDBSJjs.sdkCliStateDirPath.call(void 0, _chunk6HPEDBSJjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
17
+ return _path.join.call(void 0, _chunkOSUS6K5Ijs.sdkCliStateDirPath.call(void 0, _chunkOSUS6K5Ijs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
18
18
  }
19
19
  function rememberSearchRef(searchRef) {
20
20
  try {
@@ -82,7 +82,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
82
82
  console.error(USAGE);
83
83
  return 1;
84
84
  }
85
- const { search_ref: searchRef, ...result } = await new (0, _chunk2C3AVPTYjs.DeeplineClient)().search({
85
+ const { search_ref: searchRef, ...result } = await new (0, _chunkQIJ32UEWjs.DeeplineClient)().search({
86
86
  query,
87
87
  types,
88
88
  exclude,
@@ -95,7 +95,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
95
95
  includeSearchDebug: Boolean(options.includeSearchDebug)
96
96
  });
97
97
  if (searchRef) rememberSearchRef(searchRef);
98
- _chunk7D6QG5KFjs.printCommandEnvelope.call(void 0, result, {
98
+ _chunk34A5RSXFjs.printCommandEnvelope.call(void 0, result, {
99
99
  json: options.json === true
100
100
  });
101
101
  return 0;
@@ -1,17 +1,17 @@
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 _chunkL4HBNHFWjs = require('./chunk-L4HBNHFW.js');
4
+ var _chunk4NYMO67Xjs = require('./chunk-4NYMO67X.js');
5
5
 
6
6
 
7
7
 
8
- var _chunk4Y6CG4GEjs = require('./chunk-4Y6CG4GE.js');
8
+ var _chunkVIOM5OEQjs = require('./chunk-VIOM5OEQ.js');
9
9
 
10
10
 
11
- var _chunk7D6QG5KFjs = require('./chunk-7D6QG5KF.js');
11
+ var _chunk34A5RSXFjs = require('./chunk-34A5RSXF.js');
12
12
 
13
13
 
14
- var _chunk6HPEDBSJjs = require('./chunk-6HPEDBSJ.js');
14
+ var _chunkOSUS6K5Ijs = require('./chunk-OSUS6K5I.js');
15
15
 
16
16
  // src/cli/commands/update.ts
17
17
  var _child_process = require('child_process');
@@ -504,7 +504,7 @@ function normalizedNpmPrefix(value) {
504
504
  }
505
505
  function resolveNpmGlobalPrefix(env) {
506
506
  try {
507
- const plan = _chunk4Y6CG4GEjs.resolveShellSpawn.call(void 0, "npm", ["prefix", "-g"]);
507
+ const plan = _chunkVIOM5OEQjs.resolveShellSpawn.call(void 0, "npm", ["prefix", "-g"]);
508
508
  const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
509
509
  encoding: "utf8",
510
510
  env,
@@ -560,8 +560,8 @@ function resolveUpdatePlan(options = {}) {
560
560
  const npmGlobalPrefix = options.npmGlobalPrefix !== void 0 ? options.npmGlobalPrefix : resolveNpmGlobalPrefix(env);
561
561
  const hasVerifiedNpmOwnership = inferredInstallPrefix !== null && normalizedNpmPrefix(inferredInstallPrefix) === normalizedNpmPrefix(npmGlobalPrefix);
562
562
  const installPrefix = options.requireVerifiedNpmOwnership ? hasVerifiedNpmOwnership ? inferredInstallPrefix : null : inferredInstallPrefix;
563
- const npmVersion = options.npmVersion === void 0 ? _chunkL4HBNHFWjs.readNpmVersion.call(void 0, env) : options.npmVersion;
564
- const npmGlobalInstallFlags = _chunkL4HBNHFWjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
563
+ const npmVersion = options.npmVersion === void 0 ? _chunk4NYMO67Xjs.readNpmVersion.call(void 0, env) : options.npmVersion;
564
+ const npmGlobalInstallFlags = _chunk4NYMO67Xjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
565
565
  const args = installPrefix ? [
566
566
  "install",
567
567
  "-g",
@@ -571,7 +571,7 @@ function resolveUpdatePlan(options = {}) {
571
571
  packageSpec
572
572
  ] : ["install", "-g", ...npmGlobalInstallFlags, packageSpec];
573
573
  const fallbackRegistryUrl = options.npmFallbackRegistryUrl !== void 0 ? options.npmFallbackRegistryUrl : publicNpmFallbackRegistryUrl(
574
- _optionalChain([env, 'access', _18 => _18.DEEPLINE_HOST_URL, 'optionalAccess', _19 => _19.trim, 'call', _20 => _20()]) || _chunk6HPEDBSJjs.autoDetectBaseUrl.call(void 0, )
574
+ _optionalChain([env, 'access', _18 => _18.DEEPLINE_HOST_URL, 'optionalAccess', _19 => _19.trim, 'call', _20 => _20()]) || _chunkOSUS6K5Ijs.autoDetectBaseUrl.call(void 0, )
575
575
  );
576
576
  return {
577
577
  kind: "npm-global",
@@ -718,7 +718,7 @@ function sidecarInstallFailure(versionDir) {
718
718
  function runCommand(command, args, env = process.env) {
719
719
  return new Promise((resolveResult) => {
720
720
  let output = "";
721
- const plan = _chunk4Y6CG4GEjs.resolveShellSpawn.call(void 0, command, args);
721
+ const plan = _chunkVIOM5OEQjs.resolveShellSpawn.call(void 0, command, args);
722
722
  const child = _child_process.spawn.call(void 0, plan.command, plan.args, {
723
723
  stdio: ["inherit", "pipe", "pipe"],
724
724
  shell: plan.shell,
@@ -1094,14 +1094,14 @@ async function publishedVersionSupportsPin(version, fallbackRegistryUrl) {
1094
1094
  throw _nullishCoalesce(lastError, () => ( new Error("No npm registry was available")));
1095
1095
  }
1096
1096
  async function runUpdateCommand(options, dependencies = {}) {
1097
- const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunk6HPEDBSJjs.autoDetectBaseUrl));
1097
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkOSUS6K5Ijs.autoDetectBaseUrl));
1098
1098
  const resolvePlan = _nullishCoalesce(dependencies.resolvePlan, () => ( resolveUpdatePlan));
1099
1099
  const runPlan = _nullishCoalesce(dependencies.runPlan, () => ( runUpdatePlan));
1100
1100
  const syncSkills = _nullishCoalesce(dependencies.syncSkillsIfNeeded, () => ( (async () => {
1101
1101
  const originalWrite = process.stdout.write.bind(process.stdout);
1102
1102
  process.stdout.write = (() => true);
1103
1103
  try {
1104
- const exitCode = await _chunk4Y6CG4GEjs.runSkillsCommand.call(void 0, { json: true });
1104
+ const exitCode = await _chunkVIOM5OEQjs.runSkillsCommand.call(void 0, { json: true });
1105
1105
  if (exitCode !== 0) {
1106
1106
  throw new Error(
1107
1107
  `Deepline skills update failed with exit ${exitCode}.`
@@ -1172,11 +1172,11 @@ async function runUpdateCommand(options, dependencies = {}) {
1172
1172
  ]
1173
1173
  };
1174
1174
  if (options.json && !options.executeWithJson) {
1175
- _chunk7D6QG5KFjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1175
+ _chunk34A5RSXFjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1176
1176
  return 0;
1177
1177
  }
1178
1178
  if (options.printCommand) {
1179
- _chunk7D6QG5KFjs.printCommandEnvelope.call(void 0,
1179
+ _chunk34A5RSXFjs.printCommandEnvelope.call(void 0,
1180
1180
  {
1181
1181
  ...plan,
1182
1182
  render: {
@@ -1189,7 +1189,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1189
1189
  return 0;
1190
1190
  }
1191
1191
  if (plan.kind === "source" || plan.kind === "homebrew") {
1192
- _chunk7D6QG5KFjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1192
+ _chunk34A5RSXFjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1193
1193
  return 0;
1194
1194
  }
1195
1195
  stderr.write(`Updating Deepline SDK/CLI with: ${plan.manualCommand}
@@ -1219,7 +1219,7 @@ To retry with full installer output, run: deepline skills --json
1219
1219
  );
1220
1220
  }
1221
1221
  if (options.executeWithJson && options.json) {
1222
- _chunk7D6QG5KFjs.printCommandEnvelope.call(void 0,
1222
+ _chunk34A5RSXFjs.printCommandEnvelope.call(void 0,
1223
1223
  {
1224
1224
  ok: true,
1225
1225
  pinnedVersion
@@ -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.296",
52
+ version: "0.3.297",
53
53
  updateSummary: "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.",
54
54
  packageCapabilities: {
55
55
  updatePreferences: 1
@@ -4,7 +4,7 @@
4
4
  var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
5
5
 
6
6
 
7
- var _chunkLIKFCE7Zjs = require('./chunk-LIKFCE7Z.js');
7
+ var _chunkIJGJKU4Ljs = require('./chunk-IJGJKU4L.js');
8
8
 
9
9
 
10
10
 
@@ -721,9 +721,9 @@ function resolveCliCommandContext(inputConfig, requestedScope) {
721
721
  }
722
722
 
723
723
  // src/version.ts
724
- var SDK_VERSION = _chunkLIKFCE7Zjs.SDK_RELEASE.version;
725
- var SDK_API_MAJOR = _chunkLIKFCE7Zjs.SDK_RELEASE.contracts.api.currentMajor;
726
- var SDK_API_CONTRACT = _nullishCoalesce(_chunkLIKFCE7Zjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
724
+ var SDK_VERSION = _chunkIJGJKU4Ljs.SDK_RELEASE.version;
725
+ var SDK_API_MAJOR = _chunkIJGJKU4Ljs.SDK_RELEASE.contracts.api.currentMajor;
726
+ var SDK_API_CONTRACT = _nullishCoalesce(_chunkIJGJKU4Ljs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
727
727
 
728
728
  // src/agent-runtime.ts
729
729
 
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-GAMFK2ZP.mjs";
4
4
  import {
5
5
  printCommandEnvelope
6
- } from "./chunk-NTEZFZLE.mjs";
6
+ } from "./chunk-SZJM7D7W.mjs";
7
7
  import {
8
8
  DEFAULT_SKILL_AGENTS,
9
9
  KNOWN_SKILL_AGENTS,
@@ -22,7 +22,7 @@ import {
22
22
  sdkCliStateDirPath,
23
23
  skillsAgentPathSegment,
24
24
  writeSdkSkillsLocalVersion
25
- } from "./chunk-NPPJX3BL.mjs";
25
+ } from "./chunk-YFPOHUWQ.mjs";
26
26
  import {
27
27
  DeeplineError
28
28
  } from "./chunk-NXGCO4JB.mjs";
@@ -14,7 +14,7 @@ import {
14
14
  RETAINED_PIPELINE_RECEIVERS_HEADER,
15
15
  RUNTIME_ENVIRONMENT_TOKEN_HEADER,
16
16
  resolveConfig
17
- } from "./chunk-NPPJX3BL.mjs";
17
+ } from "./chunk-YFPOHUWQ.mjs";
18
18
  import {
19
19
  PLAY_RUNTIME_BACKENDS,
20
20
  RAW_V2_TOOL_RESPONSE_CONTRACT,
@@ -14,7 +14,7 @@ var _chunkLA46MMTLjs = require('./chunk-LA46MMTL.js');
14
14
 
15
15
 
16
16
 
17
- var _chunk6HPEDBSJjs = require('./chunk-6HPEDBSJ.js');
17
+ var _chunkOSUS6K5Ijs = require('./chunk-OSUS6K5I.js');
18
18
 
19
19
 
20
20
 
@@ -2191,8 +2191,8 @@ function runtimeSelectionHeaders(runtime) {
2191
2191
  }
2192
2192
  const receivers = _optionalChain([process, 'access', _95 => _95.env, 'access', _96 => _96.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _97 => _97.trim, 'call', _98 => _98()]);
2193
2193
  return {
2194
- [_chunk6HPEDBSJjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
2195
- ...receivers ? { [_chunk6HPEDBSJjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
2194
+ [_chunkOSUS6K5Ijs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
2195
+ ...receivers ? { [_chunkOSUS6K5Ijs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
2196
2196
  };
2197
2197
  }
2198
2198
  function isolatedCiRuntimeEventReadHeaders() {
@@ -2208,7 +2208,7 @@ function isolatedCiRuntimeEventReadHeaders() {
2208
2208
  "RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
2209
2209
  );
2210
2210
  }
2211
- return { [_chunk6HPEDBSJjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
2211
+ return { [_chunkOSUS6K5Ijs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
2212
2212
  }
2213
2213
  function normalizeTestPolicyOverrides(value, source) {
2214
2214
  if (value && typeof value === "object" && !Array.isArray(value)) {
@@ -2509,8 +2509,8 @@ var DeeplineClient = (_class = class _DeeplineClient {
2509
2509
  * @throws {@link ConfigError} if no API key can be resolved from any source.
2510
2510
  */
2511
2511
  constructor(options) {
2512
- this.config = _chunk6HPEDBSJjs.resolveConfig.call(void 0, options);
2513
- this.http = new (0, _chunk6HPEDBSJjs.HttpClient)(this.config);
2512
+ this.config = _chunkOSUS6K5Ijs.resolveConfig.call(void 0, options);
2513
+ this.http = new (0, _chunkOSUS6K5Ijs.HttpClient)(this.config);
2514
2514
  this.toolCalls = new ToolCalls(
2515
2515
  this.http,
2516
2516
  this.config.timeout,
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-NTEZFZLE.mjs";
5
+ } from "./chunk-SZJM7D7W.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-NPPJX3BL.mjs";
8
+ } from "./chunk-YFPOHUWQ.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -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.296",
52
+ version: "0.3.297",
53
53
  updateSummary: "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.",
54
54
  packageCapabilities: {
55
55
  updatePreferences: 1
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-GLKUGBTP.mjs";
3
+ } from "./chunk-PLKA4WFH.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";
@@ -3,7 +3,7 @@ import {
3
3
  detectAgentRuntime,
4
4
  resolveCliCommandContext,
5
5
  resolveConfig
6
- } from "./chunk-NPPJX3BL.mjs";
6
+ } from "./chunk-YFPOHUWQ.mjs";
7
7
  import {
8
8
  DeeplineError
9
9
  } from "./chunk-NXGCO4JB.mjs";