deepline 0.3.527 → 0.3.528

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/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +141 -211
  3. package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +5 -0
  4. package/dist/bundling-sources/shared_libs/play-runtime/deployment/fly-machines.ts +66 -1
  5. package/dist/bundling-sources/shared_libs/play-runtime/freshness-receipt-execution.ts +135 -161
  6. package/dist/bundling-sources/shared_libs/play-runtime/play-run-recovery-policy.ts +56 -1
  7. package/dist/bundling-sources/shared_libs/play-runtime/play-runs/sandbox-cleanup/contracts.ts +11 -1
  8. package/dist/bundling-sources/shared_libs/play-runtime/play-runs/sandbox-cleanup/job.ts +36 -6
  9. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +35 -5
  10. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-start-admission.ts +12 -0
  11. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona.ts +1 -0
  12. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/types.ts +16 -0
  13. package/dist/bundling-sources/shared_libs/play-runtime/runtime-capacity-policy.ts +25 -5
  14. package/dist/bundling-sources/shared_libs/play-runtime/runtime-telemetry.ts +6 -0
  15. package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/runner-backend-adapter.ts +6 -0
  16. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-claim-loop-timing.ts +145 -0
  17. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-pool.ts +48 -5
  18. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +281 -66
  19. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-shared.ts +13 -5
  20. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/play-run-recovery.ts +30 -1
  21. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +105 -13
  22. package/dist/bundling-sources/shared_libs/play-runtime/tool-call/result-receipt-policy.ts +10 -1
  23. package/dist/cli/auth-CWJZYLTB.js +43 -0
  24. package/dist/cli/{auth-LRMMQFJ4.mjs → auth-PPOTNK4T.mjs} +5 -5
  25. package/dist/cli/{billing-M76MMWZB.js → billing-3C7T7CUQ.js} +79 -79
  26. package/dist/cli/{billing-WZZDXVRJ.mjs → billing-OEZUQ2K6.mjs} +6 -6
  27. package/dist/cli/{chunk-R6IWWPY7.js → chunk-237PKFIQ.js} +14 -14
  28. package/dist/cli/{chunk-YSDPYQBH.js → chunk-36UD7H7Y.js} +41 -41
  29. package/dist/cli/{chunk-M45S7JAY.mjs → chunk-42ZSDTOC.mjs} +2 -2
  30. package/dist/cli/{chunk-YJ4YVFXC.js → chunk-4SBUXDKZ.js} +13 -13
  31. package/dist/cli/{chunk-HB3YUHEL.js → chunk-5MJ4CDAQ.js} +44 -44
  32. package/dist/cli/{chunk-UJHS2O5O.mjs → chunk-6OLQWQU5.mjs} +3 -3
  33. package/dist/cli/{chunk-EOL7PXLW.js → chunk-7WZXUAQW.js} +7 -7
  34. package/dist/cli/{chunk-YUYDP2EG.js → chunk-7X3NLHI7.js} +6 -6
  35. package/dist/cli/{chunk-XYG4IOJK.js → chunk-ADZGTMLU.js} +98 -98
  36. package/dist/cli/{chunk-MIL5YDKZ.mjs → chunk-AFIAVG5T.mjs} +2 -2
  37. package/dist/cli/{chunk-3L2DNG5X.js → chunk-B3HQF2CA.js} +11 -11
  38. package/dist/cli/{chunk-HA2J2OAS.mjs → chunk-B6YWCGVC.mjs} +10 -10
  39. package/dist/cli/{chunk-NVII3RWQ.mjs → chunk-CMTY6SVY.mjs} +2 -2
  40. package/dist/cli/{chunk-AXFHQWGA.mjs → chunk-DCVNL5XN.mjs} +1 -1
  41. package/dist/cli/{chunk-RTPLRMEB.mjs → chunk-FPHAUP55.mjs} +5 -5
  42. package/dist/cli/{chunk-JSEISVAZ.js → chunk-FXYWEKUK.js} +4 -4
  43. package/dist/cli/{chunk-HQZLTK3P.js → chunk-G7RTPKRJ.js} +2 -2
  44. package/dist/cli/{chunk-OKRBGXDI.js → chunk-GCBFSFLA.js} +5 -5
  45. package/dist/cli/{chunk-VTXBV4AX.mjs → chunk-GFGFAAY2.mjs} +1 -1
  46. package/dist/cli/{chunk-JSVHBJE2.mjs → chunk-GP7E4TE4.mjs} +2 -2
  47. package/dist/cli/{chunk-4YN7DZEA.mjs → chunk-GSBKODMU.mjs} +2 -2
  48. package/dist/cli/{chunk-RMCKTV4R.mjs → chunk-HJVNCRXY.mjs} +1 -1
  49. package/dist/cli/{chunk-7DPWGAOU.js → chunk-IJAEYEJM.js} +3 -3
  50. package/dist/cli/{chunk-VV2AFJ3I.mjs → chunk-IM5XQ4DG.mjs} +5 -5
  51. package/dist/cli/{chunk-XI47UAVU.js → chunk-IXEEXYE2.js} +9 -9
  52. package/dist/cli/{chunk-JEIGNX3G.mjs → chunk-IYCRX34W.mjs} +5 -5
  53. package/dist/cli/{chunk-ZHY7AY5V.js → chunk-KHVCHFE3.js} +16 -16
  54. package/dist/cli/{chunk-KDFUQRVU.mjs → chunk-KLGYBOGZ.mjs} +1 -1
  55. package/dist/cli/{chunk-UKOG6PCB.mjs → chunk-KWIKFR7Y.mjs} +1 -1
  56. package/dist/cli/{chunk-ETXQZGQU.js → chunk-LT4IEJ6V.js} +16 -16
  57. package/dist/cli/{chunk-RGL2YGJZ.js → chunk-LU4EA3ET.js} +2 -2
  58. package/dist/cli/{chunk-UAQ7ZWRP.js → chunk-MLNH4DK2.js} +22 -22
  59. package/dist/cli/{chunk-YKPMIJJ2.mjs → chunk-NCOTOGTK.mjs} +2 -2
  60. package/dist/cli/{chunk-MMM2WMTF.mjs → chunk-NZM4KWWV.mjs} +5 -5
  61. package/dist/cli/{chunk-C7A44BZ7.js → chunk-OEI7YUEF.js} +3 -3
  62. package/dist/cli/{chunk-LHMHUA5D.js → chunk-OGVUT2KM.js} +7 -7
  63. package/dist/cli/{chunk-OXHY3LD3.js → chunk-OVZSNBDJ.js} +53 -53
  64. package/dist/cli/{chunk-5YR6CDJ2.mjs → chunk-PS2UYVAE.mjs} +6 -6
  65. package/dist/cli/{chunk-66YLAQ2X.js → chunk-R5ZQVQ3K.js} +26 -26
  66. package/dist/cli/{chunk-QKY3H3HA.mjs → chunk-RC5CG5SE.mjs} +4 -4
  67. package/dist/cli/{chunk-SRQQAUXN.js → chunk-RFTBMEWL.js} +2 -2
  68. package/dist/cli/{chunk-P5ZU5ZHA.mjs → chunk-RML3VSTN.mjs} +1 -1
  69. package/dist/cli/{chunk-2L3HVEBM.mjs → chunk-SP2KZ7SH.mjs} +1 -1
  70. package/dist/cli/{chunk-QKKT5G4K.mjs → chunk-T4QPRL3P.mjs} +3 -3
  71. package/dist/cli/{chunk-GIRMVMXP.mjs → chunk-ULUI2FEM.mjs} +1 -1
  72. package/dist/cli/{chunk-3PQDEBO6.js → chunk-WXHBD6H7.js} +1 -1
  73. package/dist/cli/{chunk-OLSATEDQ.js → chunk-XD2DRBPH.js} +6 -6
  74. package/dist/cli/{chunk-77VNC2KF.mjs → chunk-Z25KC5V2.mjs} +1 -1
  75. package/dist/cli/{chunk-E4TEZE62.mjs → chunk-Z44S7VWO.mjs} +2 -2
  76. package/dist/cli/{chunk-2A6IRSE6.js → chunk-ZFD5FJCZ.js} +5 -5
  77. package/dist/cli/{csv-FEFNXZF7.mjs → csv-K7TRWOFJ.mjs} +4 -4
  78. package/dist/cli/{csv-IRP6VT7Q.js → csv-OTRVTHD2.js} +13 -13
  79. package/dist/cli/{db-IHECMWZ3.mjs → db-C7GQU3TZ.mjs} +6 -6
  80. package/dist/cli/{db-Y5VNPNRD.js → db-UO2ZFLFN.js} +27 -27
  81. package/dist/cli/describe-IK4UYJ5M.js +50 -0
  82. package/dist/cli/{describe-XCVC2WLL.mjs → describe-LG4CPTIV.mjs} +18 -18
  83. package/dist/cli/{executions-QH3KJ6MA.js → executions-LHFVPO7E.js} +8 -8
  84. package/dist/cli/{executions-3FWZYUJV.mjs → executions-P3INNVZE.mjs} +6 -6
  85. package/dist/cli/{feedback-F3OZXOPM.mjs → feedback-H22FWG63.mjs} +6 -6
  86. package/dist/cli/{feedback-BGHWMOLH.js → feedback-M3HZQAWX.js} +14 -14
  87. package/dist/cli/git-72ADWRUQ.js +25 -0
  88. package/dist/cli/{git-RWPH3D75.mjs → git-G2N7PVFI.mjs} +5 -5
  89. package/dist/cli/index.js +141 -141
  90. package/dist/cli/index.mjs +43 -43
  91. package/dist/cli/{legacy-noops-G6CYD5LM.js → legacy-noops-2RVROWBY.js} +9 -9
  92. package/dist/cli/{legacy-noops-5ADSTBJ5.mjs → legacy-noops-LDYSWTL2.mjs} +6 -6
  93. package/dist/cli/{monitors-AFNAU3A2.mjs → monitors-IYT3VON7.mjs} +7 -7
  94. package/dist/cli/{monitors-VZCBZO26.js → monitors-U4RE6KN5.js} +100 -100
  95. package/dist/cli/{org-JVLYTU24.mjs → org-R3JE22GS.mjs} +6 -6
  96. package/dist/cli/{org-X4QRYBC4.js → org-SO52ZGRP.js} +86 -86
  97. package/dist/cli/{pages-VELKZKBL.mjs → pages-5RLT5YTF.mjs} +6 -6
  98. package/dist/cli/{pages-YMM4KBW5.js → pages-SWXJQJXH.js} +18 -18
  99. package/dist/cli/{play-MIY6BYRB.mjs → play-2ELYCSXZ.mjs} +18 -18
  100. package/dist/cli/{play-J7DEBHI7.js → play-J4UXOQOJ.js} +317 -317
  101. package/dist/cli/{providers-2H3W3W7G.mjs → providers-IXITXHTS.mjs} +6 -6
  102. package/dist/cli/{providers-TOUB7Y2A.js → providers-VVUDGV2D.js} +9 -9
  103. package/dist/cli/{quickstart-GKAS5265.mjs → quickstart-HQCGDPPL.mjs} +4 -4
  104. package/dist/cli/{quickstart-LHY2LN3P.js → quickstart-XPH6MT47.js} +6 -6
  105. package/dist/cli/{run-KYGNOWYD.mjs → run-H2HQPWC4.mjs} +23 -23
  106. package/dist/cli/{run-QCAVDPE5.js → run-OR646AC6.js} +41 -41
  107. package/dist/cli/search-D27DZH2D.js +33 -0
  108. package/dist/cli/{search-YPGAIFDX.mjs → search-MBPI5SBW.mjs} +8 -8
  109. package/dist/cli/{search-output-OOC3VK4T.mjs → search-output-CYOMJNRV.mjs} +4 -4
  110. package/dist/cli/{search-output-ASELNQ2U.js → search-output-YGNSHBXX.js} +6 -6
  111. package/dist/cli/{secrets-KX3TQB4R.js → secrets-HVZKNNLZ.js} +15 -15
  112. package/dist/cli/{secrets-VJ4XYSMZ.mjs → secrets-NK2CN7WI.mjs} +6 -6
  113. package/dist/cli/sessions-MTISSOZ4.js +22 -0
  114. package/dist/cli/{sessions-KUN7H7E5.mjs → sessions-NY4G427U.mjs} +6 -6
  115. package/dist/cli/{settings-5NIF4BU7.js → settings-PVJRDEN2.js} +86 -86
  116. package/dist/cli/{settings-JKFYZ2IT.mjs → settings-RC4FGYY2.mjs} +13 -13
  117. package/dist/cli/{setup-MYV3IHPS.js → setup-B7QB4YV2.js} +50 -50
  118. package/dist/cli/{setup-5AX3TN6G.mjs → setup-YT3XSY6X.mjs} +10 -10
  119. package/dist/cli/{skills-JLS4CINQ.mjs → skills-5ILFNAHR.mjs} +8 -8
  120. package/dist/cli/skills-BHF35NLX.js +37 -0
  121. package/dist/cli/{tools-VBYKD3MJ.mjs → tools-7PAY32OZ.mjs} +17 -17
  122. package/dist/cli/tools-W5BZ37L6.js +57 -0
  123. package/dist/cli/update-M65CGK42.js +35 -0
  124. package/dist/cli/{update-QWAIVJRI.mjs → update-Z27QYB6O.mjs} +10 -10
  125. package/dist/cli/{views-TBWGZAVZ.mjs → views-2IANF6KR.mjs} +6 -6
  126. package/dist/cli/{views-ZW56JZB5.js → views-NP2SCMOV.js} +18 -18
  127. package/dist/cli/{workflow-EKSZST6M.js → workflow-2GNQL646.js} +17 -17
  128. package/dist/cli/{workflow-X7UQPJMQ.mjs → workflow-CAMEZLLY.mjs} +7 -7
  129. package/dist/index.js +9 -9
  130. package/dist/index.mjs +6 -6
  131. package/dist/install-integrity.json +105 -104
  132. package/dist/release.d.mts +1 -1
  133. package/dist/release.d.ts +1 -1
  134. package/dist/release.js +2 -2
  135. package/dist/release.mjs +1 -1
  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-C7BBYIQD.js +0 -43
  140. package/dist/cli/describe-MNJVJHRE.js +0 -50
  141. package/dist/cli/git-MDOHEW5J.js +0 -25
  142. package/dist/cli/search-G67CEHR7.js +0 -33
  143. package/dist/cli/sessions-QILPX4XQ.js +0 -22
  144. package/dist/cli/skills-NG32XTZI.js +0 -37
  145. package/dist/cli/tools-OZG3V77R.js +0 -57
  146. package/dist/cli/update-YL5WVSKU.js +0 -35
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  autoDetectBaseUrl,
3
3
  resolveApiKeyForBaseUrl
4
- } from "./chunk-77VNC2KF.mjs";
4
+ } from "./chunk-Z25KC5V2.mjs";
5
5
  import {
6
6
  SDK_VERSION,
7
7
  agentSessionIdFromEnvironment,
8
8
  deploymentProtectionHeaders,
9
9
  detectAgentRuntime
10
- } from "./chunk-P5ZU5ZHA.mjs";
10
+ } from "./chunk-RML3VSTN.mjs";
11
11
  import {
12
12
  DeeplineError
13
13
  } from "./chunk-ZPGGW27Q.mjs";
@@ -3,18 +3,18 @@
3
3
  var _chunkD3BCSAN7js = require('./chunk-D3BCSAN7.js');
4
4
 
5
5
 
6
- var _chunkOKRBGXDIjs = require('./chunk-OKRBGXDI.js');
6
+ var _chunkGCBFSFLAjs = require('./chunk-GCBFSFLA.js');
7
7
 
8
8
 
9
- var _chunkR6IWWPY7js = require('./chunk-R6IWWPY7.js');
9
+ var _chunk237PKFIQjs = require('./chunk-237PKFIQ.js');
10
10
 
11
11
 
12
12
 
13
- var _chunkEOL7PXLWjs = require('./chunk-EOL7PXLW.js');
13
+ var _chunk7WZXUAQWjs = require('./chunk-7WZXUAQW.js');
14
14
 
15
15
 
16
16
 
17
- var _chunk7DPWGAOUjs = require('./chunk-7DPWGAOU.js');
17
+ var _chunkIJAEYEJMjs = require('./chunk-IJAEYEJM.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, _chunk7DPWGAOUjs.sdkCliStateDirPath.call(void 0, _chunk7DPWGAOUjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
27
+ return _path.join.call(void 0, _chunkIJAEYEJMjs.sdkCliStateDirPath.call(void 0, _chunkIJAEYEJMjs.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, _chunkOKRBGXDIjs.DeeplineClient)();
137
+ const client = new (0, _chunkGCBFSFLAjs.DeeplineClient)();
138
138
  const json = options.json === true;
139
- const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-ASELNQ2U.js")));
139
+ const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-YGNSHBXX.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
- _chunkEOL7PXLWjs.printCommandEnvelope.call(void 0, result, { json, text });
162
+ _chunk7WZXUAQWjs.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 = _chunkEOL7PXLWjs.errorToJsonPayload.call(void 0, error);
177
- const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunkR6IWWPY7js.resolveSdkCliFailureExitCode.call(void 0, error)));
176
+ const payload = _chunk7WZXUAQWjs.errorToJsonPayload.call(void 0, error);
177
+ const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunk237PKFIQjs.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
- _chunkEOL7PXLWjs.printCommandEnvelope.call(void 0,
189
+ _chunk7WZXUAQWjs.printCommandEnvelope.call(void 0,
190
190
  { searches },
191
191
  {
192
192
  json,
@@ -2,11 +2,11 @@ import {
2
2
  addDescribeOptions,
3
3
  recordApiResponse,
4
4
  writeExecutionOutput
5
- } from "./chunk-VTXBV4AX.mjs";
5
+ } from "./chunk-GFGFAAY2.mjs";
6
6
  import {
7
7
  recentSearchRef,
8
8
  registerDeprecatedSearchCommand
9
- } from "./chunk-JEIGNX3G.mjs";
9
+ } from "./chunk-IYCRX34W.mjs";
10
10
  import {
11
11
  Capability,
12
12
  arrayField,
@@ -46,10 +46,10 @@ import {
46
46
  } from "./chunk-FIVKWNMT.mjs";
47
47
  import {
48
48
  DeeplineClient
49
- } from "./chunk-4YN7DZEA.mjs";
49
+ } from "./chunk-GSBKODMU.mjs";
50
50
  import {
51
51
  validateExecutionIdempotencyKey
52
- } from "./chunk-2L3HVEBM.mjs";
52
+ } from "./chunk-SP2KZ7SH.mjs";
53
53
  import {
54
54
  stableStringify
55
55
  } from "./chunk-UBKA33KY.mjs";
@@ -59,18 +59,18 @@ import {
59
59
  maybeAutoUpdateAndRelaunch,
60
60
  registerCompatibilityCatalog,
61
61
  runToolExecuteStage
62
- } from "./chunk-MMM2WMTF.mjs";
62
+ } from "./chunk-NZM4KWWV.mjs";
63
63
  import {
64
64
  isCliTraceEnabled,
65
65
  recordCliTrace,
66
66
  resolveCliMaintenancePolicy
67
- } from "./chunk-AXFHQWGA.mjs";
67
+ } from "./chunk-DCVNL5XN.mjs";
68
68
  import {
69
69
  checkSdkCompatibility,
70
70
  enforceSdkCompatibilityResponse,
71
71
  flushDeferredSkillsSyncNotices,
72
72
  syncSdkSkillsIfNeeded
73
- } from "./chunk-VV2AFJ3I.mjs";
73
+ } from "./chunk-IM5XQ4DG.mjs";
74
74
  import {
75
75
  printCommandEnvelope,
76
76
  printCompactJson,
@@ -78,12 +78,12 @@ import {
78
78
  printJsonError,
79
79
  renderCommandEnvelopeText,
80
80
  shouldEmitJson
81
- } from "./chunk-JSVHBJE2.mjs";
81
+ } from "./chunk-GP7E4TE4.mjs";
82
82
  import {
83
83
  readSdkSkillsLocalVersion,
84
84
  resolveConfig,
85
85
  sdkCliStateDirPath
86
- } from "./chunk-77VNC2KF.mjs";
86
+ } from "./chunk-Z25KC5V2.mjs";
87
87
  import {
88
88
  DeeplineError
89
89
  } from "./chunk-ZPGGW27Q.mjs";
@@ -1066,7 +1066,7 @@ Examples:
1066
1066
  process.exitCode = await narrowView();
1067
1067
  return;
1068
1068
  }
1069
- const { describeAnything } = await import("./describe-XCVC2WLL.mjs");
1069
+ const { describeAnything } = await import("./describe-LG4CPTIV.mjs");
1070
1070
  process.exitCode = await describeAnything(
1071
1071
  toolId,
1072
1072
  {
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-JSVHBJE2.mjs";
5
+ } from "./chunk-GP7E4TE4.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-77VNC2KF.mjs";
8
+ } from "./chunk-Z25KC5V2.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeRawStderr
3
- } from "./chunk-JSVHBJE2.mjs";
3
+ } from "./chunk-GP7E4TE4.mjs";
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  import { InvalidArgumentError } from "commander";
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-KDFUQRVU.mjs";
4
+ } from "./chunk-KLGYBOGZ.mjs";
5
5
  import {
6
6
  runSkillsCommand
7
- } from "./chunk-QKY3H3HA.mjs";
7
+ } from "./chunk-RC5CG5SE.mjs";
8
8
  import {
9
9
  resolveShellSpawn
10
- } from "./chunk-VV2AFJ3I.mjs";
10
+ } from "./chunk-IM5XQ4DG.mjs";
11
11
  import {
12
12
  printCommandEnvelope
13
- } from "./chunk-JSVHBJE2.mjs";
13
+ } from "./chunk-GP7E4TE4.mjs";
14
14
  import {
15
15
  autoDetectBaseUrl
16
- } from "./chunk-77VNC2KF.mjs";
16
+ } from "./chunk-Z25KC5V2.mjs";
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  import { spawn, spawnSync } from "child_process";
@@ -17,12 +17,12 @@ var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
17
17
  var _chunkSQWET4SLjs = require('./chunk-SQWET4SL.js');
18
18
 
19
19
 
20
- var _chunk3PQDEBO6js = require('./chunk-3PQDEBO6.js');
20
+ var _chunkWXHBD6H7js = require('./chunk-WXHBD6H7.js');
21
21
 
22
22
  // src/version.ts
23
- var SDK_VERSION = _chunk3PQDEBO6js.SDK_RELEASE.version;
24
- var SDK_API_MAJOR = _chunk3PQDEBO6js.SDK_RELEASE.contracts.api.currentMajor;
25
- var SDK_API_CONTRACT = _nullishCoalesce(_chunk3PQDEBO6js.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
23
+ var SDK_VERSION = _chunkWXHBD6H7js.SDK_RELEASE.version;
24
+ var SDK_API_MAJOR = _chunkWXHBD6H7js.SDK_RELEASE.contracts.api.currentMajor;
25
+ var SDK_API_CONTRACT = _nullishCoalesce(_chunkWXHBD6H7js.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
26
26
 
27
27
  // src/agent-runtime.ts
28
28
  var _fs = require('fs');
@@ -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; }
2
2
 
3
- var _chunkEOL7PXLWjs = require('./chunk-EOL7PXLW.js');
3
+ var _chunk7WZXUAQWjs = require('./chunk-7WZXUAQW.js');
4
4
 
5
5
  // src/cli/feedback-preferences.ts
6
6
 
@@ -57,7 +57,7 @@ function rejectRestrictedFeedback(options) {
57
57
  const code = restriction === "off" ? "FEEDBACK_DISABLED" : "FEEDBACK_APPROVAL_REQUIRED";
58
58
  const message = restriction === "off" ? 'Feedback is in mode "off". Do not ask the user if they want to send feedback. Use --requested only if they explicitly request it without being prompted.' : "Ask the user if they wish to send feedback. If they agree, rerun the send command with --requested. To change the setting, run deepline settings feedback --help. Agents must get user approval before turning feedback on.";
59
59
  if (options.json) {
60
- _chunkEOL7PXLWjs.printCommandEnvelope.call(void 0,
60
+ _chunk7WZXUAQWjs.printCommandEnvelope.call(void 0,
61
61
  { ok: false, code, exitCode: 2, message },
62
62
  { json: true }
63
63
  );
@@ -1,16 +1,16 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkLHMHUA5Djs = require('./chunk-LHMHUA5D.js');
3
+ var _chunkOGVUT2KMjs = require('./chunk-OGVUT2KM.js');
4
4
 
5
5
 
6
6
 
7
- var _chunk7DPWGAOUjs = require('./chunk-7DPWGAOU.js');
7
+ var _chunkIJAEYEJMjs = require('./chunk-IJAEYEJM.js');
8
8
 
9
9
  // src/client.ts
10
- var DeeplineClient2 = class extends _chunkLHMHUA5Djs.DeeplineClient {
10
+ var DeeplineClient2 = class extends _chunkOGVUT2KMjs.DeeplineClient {
11
11
  constructor(options) {
12
- const config = _chunk7DPWGAOUjs.resolveConfig.call(void 0, options);
13
- super(config, new (0, _chunk7DPWGAOUjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
12
+ const config = _chunkIJAEYEJMjs.resolveConfig.call(void 0, options);
13
+ super(config, new (0, _chunkIJAEYEJMjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
14
14
  }
15
15
  };
16
16
 
@@ -8,7 +8,7 @@ import {
8
8
  csvStringFromRows,
9
9
  markJsonOutputHandled,
10
10
  writeRawStderr
11
- } from "./chunk-JSVHBJE2.mjs";
11
+ } from "./chunk-GP7E4TE4.mjs";
12
12
 
13
13
  // src/cli/describe-options.ts
14
14
  function addDescribeOptions(command, options = {}) {
@@ -2,10 +2,10 @@ import {
2
2
  HttpClient,
3
3
  resolveCliCommandContext,
4
4
  resolveConfig
5
- } from "./chunk-77VNC2KF.mjs";
5
+ } from "./chunk-Z25KC5V2.mjs";
6
6
  import {
7
7
  detectAgentRuntime
8
- } from "./chunk-P5ZU5ZHA.mjs";
8
+ } from "./chunk-RML3VSTN.mjs";
9
9
  import {
10
10
  DeeplineError,
11
11
  readToolUpstreamResponse,
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-2L3HVEBM.mjs";
3
+ } from "./chunk-SP2KZ7SH.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-77VNC2KF.mjs";
7
+ } from "./chunk-Z25KC5V2.mjs";
8
8
 
9
9
  // src/client.ts
10
10
  var DeeplineClient2 = class extends DeeplineClient {
@@ -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.527",
52
+ version: "0.3.528",
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,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 _chunkJSEISVAZjs = require('./chunk-JSEISVAZ.js');
4
+ var _chunkFXYWEKUKjs = require('./chunk-FXYWEKUK.js');
5
5
 
6
6
 
7
7
  var _chunkT2N3B7IQjs = require('./chunk-T2N3B7IQ.js');
@@ -711,7 +711,7 @@ function readSkillsVersionFile(path) {
711
711
  }
712
712
  }
713
713
  function resolveAutoSyncSkillAgents() {
714
- switch (_chunkJSEISVAZjs.detectAgentRuntime.call(void 0, )) {
714
+ switch (_chunkFXYWEKUKjs.detectAgentRuntime.call(void 0, )) {
715
715
  case "codex":
716
716
  return ["codex"];
717
717
  case "claude_code":
@@ -781,7 +781,7 @@ function writeSdkSkillsLocalVersion(baseUrl, version, agents) {
781
781
  }
782
782
 
783
783
  // src/http.ts
784
- var HttpClient2 = class extends _chunkJSEISVAZjs.HttpClient {
784
+ var HttpClient2 = class extends _chunkFXYWEKUKjs.HttpClient {
785
785
  constructor(config) {
786
786
  super(config, readSdkSkillsLocalVersion);
787
787
  }
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  getActiveCliProgress
3
- } from "./chunk-GIRMVMXP.mjs";
3
+ } from "./chunk-ULUI2FEM.mjs";
4
4
  import {
5
5
  maybeReportAutomaticSkillsSyncFailure
6
- } from "./chunk-MIL5YDKZ.mjs";
6
+ } from "./chunk-AFIAVG5T.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-77VNC2KF.mjs";
17
+ } from "./chunk-Z25KC5V2.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-P5ZU5ZHA.mjs";
24
+ } from "./chunk-RML3VSTN.mjs";
25
25
  import {
26
26
  SDK_RELEASE
27
- } from "./chunk-RMCKTV4R.mjs";
27
+ } from "./chunk-HJVNCRXY.mjs";
28
28
 
29
29
  // src/compat.ts
30
30
  import { randomUUID } from "crypto";
@@ -3,7 +3,7 @@
3
3
  var _chunkVLEVVDWGjs = require('./chunk-VLEVVDWG.js');
4
4
 
5
5
 
6
- var _chunkLHMHUA5Djs = require('./chunk-LHMHUA5D.js');
6
+ var _chunkOGVUT2KMjs = require('./chunk-OGVUT2KM.js');
7
7
 
8
8
 
9
9
  var _chunk2KHUFWTKjs = require('./chunk-2KHUFWTK.js');
@@ -11,7 +11,7 @@ var _chunk2KHUFWTKjs = require('./chunk-2KHUFWTK.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkEOL7PXLWjs = require('./chunk-EOL7PXLW.js');
14
+ var _chunk7WZXUAQWjs = require('./chunk-7WZXUAQW.js');
15
15
 
16
16
 
17
17
  var _chunkSQWET4SLjs = require('./chunk-SQWET4SL.js');
@@ -581,7 +581,7 @@ function parseInputFlagValue(raw) {
581
581
  return raw;
582
582
  }
583
583
  function parsePlayRunOptions(args, initialInput = null) {
584
- const selection = _chunkEOL7PXLWjs.parseJsonFields.call(void 0, args, "run");
584
+ const selection = _chunk7WZXUAQWjs.parseJsonFields.call(void 0, args, "run");
585
585
  args = selection.args;
586
586
  const usage = "Usage: deepline plays run <play-name> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run <play-file.ts> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --file <play-file.ts> [--input '{...}'] [--profile <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --name <name> [--input '{...}'] [--profile <id>] [--live|--latest|--revision-id <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--json] [--full] [--<input> value]\n Runs use the Absurd CJS runtime.\n --header '<name>: <value>' may repeat; each is sent on every request for this run.\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for idempotent call caching and deepline.dataset guidance.";
587
587
  let filePath = null;
@@ -593,7 +593,7 @@ function parsePlayRunOptions(args, initialInput = null) {
593
593
  let revisionSelector = null;
594
594
  const watch = !args.includes("--no-wait");
595
595
  const dryRun = args.includes("--dry-run");
596
- let jsonOutput = dryRun ? _chunkEOL7PXLWjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkEOL7PXLWjs.argsWantJson.call(void 0, args);
596
+ let jsonOutput = dryRun ? _chunk7WZXUAQWjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunk7WZXUAQWjs.argsWantJson.call(void 0, args);
597
597
  const fullJson = args.includes("--full");
598
598
  const force = args.includes("--force") || args.includes("--from-start");
599
599
  const forceToolRefresh = args.includes("--force-tool-refresh") || args.includes("--refresh-cache");
@@ -656,7 +656,7 @@ function parsePlayRunOptions(args, initialInput = null) {
656
656
  "--log-level requires one of: debug, info, warn, error."
657
657
  );
658
658
  }
659
- const parsed = _chunkLHMHUA5Djs.parseLogLevel.call(void 0, value);
659
+ const parsed = _chunkOGVUT2KMjs.parseLogLevel.call(void 0, value);
660
660
  if (!parsed) {
661
661
  throw new Error(
662
662
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -974,7 +974,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
974
974
  const hasExplicitLogLevel = options.logLevel !== void 0 || inputArgs.some(
975
975
  (arg) => arg === "--log-level" || arg.startsWith("--log-level=")
976
976
  );
977
- let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkLHMHUA5Djs.parseLogLevel.call(void 0, options.logLevel);
977
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkOGVUT2KMjs.parseLogLevel.call(void 0, options.logLevel);
978
978
  if (!logLevel)
979
979
  throw new Error("--log-level requires one of: debug, info, warn, error.");
980
980
  const debugAlias = options.logs || options.debug === true || inputArgs.some(
@@ -988,13 +988,13 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
988
988
  if (debugAlias || debugMapLatency && logLevel === "info")
989
989
  logLevel = "debug";
990
990
  const fullJson = _nullishCoalesce(options.full, () => ( base.fullJson));
991
- const jsonFields = options.json === void 0 ? base.jsonFields : _chunkEOL7PXLWjs.parseJsonFields.call(void 0,
992
- [...fullJson ? ["--full"] : [], ..._chunkEOL7PXLWjs.jsonFieldArgs.call(void 0, options.json)],
991
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunk7WZXUAQWjs.parseJsonFields.call(void 0,
992
+ [...fullJson ? ["--full"] : [], ..._chunk7WZXUAQWjs.jsonFieldArgs.call(void 0, options.json)],
993
993
  "run"
994
994
  ).fields;
995
995
  const watch = options.wait === false ? false : base.watch;
996
996
  const explicitJson = options.json !== void 0 ? options.json !== false : base.jsonOutput;
997
- const jsonOutput = dryRun || !watch ? explicitJson || _chunkEOL7PXLWjs.argsWantJson.call(void 0, []) : explicitJson;
997
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunk7WZXUAQWjs.argsWantJson.call(void 0, []) : explicitJson;
998
998
  const verboseLogs = Boolean(
999
999
  debugAlias || logLevel === "debug" || debugMapLatency
1000
1000
  );
@@ -3,18 +3,18 @@ import {
3
3
  } from "./chunk-5AEDYVB6.mjs";
4
4
  import {
5
5
  DeeplineClient
6
- } from "./chunk-4YN7DZEA.mjs";
6
+ } from "./chunk-GSBKODMU.mjs";
7
7
  import {
8
8
  resolveSdkCliFailureExitCode
9
- } from "./chunk-MIL5YDKZ.mjs";
9
+ } from "./chunk-AFIAVG5T.mjs";
10
10
  import {
11
11
  errorToJsonPayload,
12
12
  printCommandEnvelope
13
- } from "./chunk-JSVHBJE2.mjs";
13
+ } from "./chunk-GP7E4TE4.mjs";
14
14
  import {
15
15
  resolveConfig,
16
16
  sdkCliStateDirPath
17
- } from "./chunk-77VNC2KF.mjs";
17
+ } from "./chunk-Z25KC5V2.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-OOC3VK4T.mjs");
139
+ const renderer = json ? void 0 : await import("./search-output-CYOMJNRV.mjs");
140
140
  const searches = [];
141
141
  const chunks = [];
142
142
  const refs = /* @__PURE__ */ new Map();
@@ -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 _chunkSRQQAUXNjs = require('./chunk-SRQQAUXN.js');
4
+ var _chunkRFTBMEWLjs = require('./chunk-RFTBMEWL.js');
5
5
 
6
6
 
7
- var _chunkYSDPYQBHjs = require('./chunk-YSDPYQBH.js');
7
+ var _chunk36UD7H7Yjs = require('./chunk-36UD7H7Y.js');
8
8
 
9
9
 
10
- var _chunkHB3YUHELjs = require('./chunk-HB3YUHEL.js');
10
+ var _chunk5MJ4CDAQjs = require('./chunk-5MJ4CDAQ.js');
11
11
 
12
12
 
13
- var _chunkEOL7PXLWjs = require('./chunk-EOL7PXLW.js');
13
+ var _chunk7WZXUAQWjs = require('./chunk-7WZXUAQW.js');
14
14
 
15
15
 
16
- var _chunk7DPWGAOUjs = require('./chunk-7DPWGAOU.js');
16
+ var _chunkIJAEYEJMjs = require('./chunk-IJAEYEJM.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 = _chunkHB3YUHELjs.resolveShellSpawn.call(void 0,
498
+ const plan = _chunk5MJ4CDAQjs.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 ? _chunkSRQQAUXNjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
- const npmGlobalInstallFlags = _chunkSRQQAUXNjs.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 ? _chunkRFTBMEWLjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
+ const npmGlobalInstallFlags = _chunkRFTBMEWLjs.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()]) || _chunk7DPWGAOUjs.autoDetectBaseUrl.call(void 0, )
570
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkIJAEYEJMjs.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 = _chunkHB3YUHELjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
819
+ const plan = _chunk5MJ4CDAQjs.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, () => ( _chunk7DPWGAOUjs.autoDetectBaseUrl));
1202
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkIJAEYEJMjs.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 _chunkYSDPYQBHjs.runSkillsCommand.call(void 0, { json: true });
1209
+ const exitCode = await _chunk36UD7H7Yjs.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
- _chunkEOL7PXLWjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1280
+ _chunk7WZXUAQWjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1281
1281
  return 0;
1282
1282
  }
1283
1283
  if (options.printCommand) {
1284
- _chunkEOL7PXLWjs.printCommandEnvelope.call(void 0,
1284
+ _chunk7WZXUAQWjs.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
- _chunkEOL7PXLWjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1297
+ _chunk7WZXUAQWjs.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
- _chunkEOL7PXLWjs.printCommandEnvelope.call(void 0,
1327
+ _chunk7WZXUAQWjs.printCommandEnvelope.call(void 0,
1328
1328
  {
1329
1329
  ok: true,
1330
1330
  pinnedVersion
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-VV2AFJ3I.mjs";
3
+ } from "./chunk-IM5XQ4DG.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  printCommandEnvelope
3
- } from "./chunk-JSVHBJE2.mjs";
3
+ } from "./chunk-GP7E4TE4.mjs";
4
4
 
5
5
  // src/cli/feedback-preferences.ts
6
6
  import {