deepline 0.3.382 → 0.3.384

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 (92) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/cli/{auth-K7TZOYYE.mjs → auth-54CAXSHD.mjs} +4 -4
  3. package/dist/cli/auth-JLX4WME4.js +39 -0
  4. package/dist/cli/{billing-4P4N53UW.js → billing-2XWGPZ5O.js} +73 -73
  5. package/dist/cli/{billing-TDW5SHSL.mjs → billing-PXGESNMZ.mjs} +4 -4
  6. package/dist/cli/{chunk-TOLORRDI.js → chunk-4EMAJ3QX.js} +61 -60
  7. package/dist/cli/{chunk-UKG2DJLZ.mjs → chunk-4GSECA4G.mjs} +1 -1
  8. package/dist/cli/{chunk-YYHROETZ.js → chunk-4SRTIXOV.js} +15 -15
  9. package/dist/cli/{chunk-3BRXZZNU.js → chunk-5HWGQYSK.js} +50 -50
  10. package/dist/cli/{chunk-JLNMJAWS.js → chunk-6XWYHSKE.js} +9 -9
  11. package/dist/cli/{chunk-5XYEFAFI.mjs → chunk-7TGFUXT3.mjs} +1 -1
  12. package/dist/cli/{chunk-DHV54G6M.mjs → chunk-BT5Y6UNH.mjs} +5 -5
  13. package/dist/cli/{chunk-FEIKELZA.mjs → chunk-D6Z646OQ.mjs} +4 -4
  14. package/dist/cli/{chunk-IWNJYV27.js → chunk-EIEJKNLZ.js} +8 -8
  15. package/dist/cli/{chunk-BNRRVGGW.mjs → chunk-FFXJKVSX.mjs} +1 -1
  16. package/dist/cli/{chunk-ZPD4NZKT.mjs → chunk-GIMBOV7B.mjs} +2 -2
  17. package/dist/cli/{chunk-ZP7Z3TZ3.js → chunk-HNAXRSVI.js} +8 -8
  18. package/dist/cli/{chunk-3QHSILOH.mjs → chunk-IHYRCMS2.mjs} +2 -2
  19. package/dist/cli/{chunk-H4Q2JRPD.mjs → chunk-IWP4FVK6.mjs} +1 -1
  20. package/dist/cli/{chunk-ANHZWK2M.mjs → chunk-JV3I3SPK.mjs} +1 -1
  21. package/dist/cli/{chunk-LFY4APCO.mjs → chunk-LDTDN3RX.mjs} +3 -2
  22. package/dist/cli/{chunk-BSPOALWK.js → chunk-MPVA2MUT.js} +226 -226
  23. package/dist/cli/{chunk-ERGADEMS.js → chunk-O4XVGZDX.js} +2 -2
  24. package/dist/cli/{chunk-NYS7324H.mjs → chunk-OT35I43P.mjs} +6 -6
  25. package/dist/cli/{chunk-J6253YWF.mjs → chunk-QX473E5P.mjs} +3 -3
  26. package/dist/cli/{chunk-SGG4X23E.js → chunk-R3B7XJ3J.js} +26 -26
  27. package/dist/cli/{chunk-IMKWP4UQ.js → chunk-SOV673GH.js} +4 -4
  28. package/dist/cli/{chunk-5WVT7NHI.js → chunk-SPSQXIRR.js} +48 -48
  29. package/dist/cli/{chunk-QGBXUPY3.mjs → chunk-UMVIHIQR.mjs} +2 -2
  30. package/dist/cli/{chunk-ID57OQBZ.js → chunk-W5THLO6U.js} +1 -1
  31. package/dist/cli/{chunk-SK6KH37M.js → chunk-XPJKXSQS.js} +6 -6
  32. package/dist/cli/{csv-GJB3PQ6I.js → csv-H4ZACHHS.js} +12 -12
  33. package/dist/cli/{csv-T4A374D5.mjs → csv-J4JP3DPS.mjs} +3 -3
  34. package/dist/cli/{db-J2J5BJOH.js → db-XO7FOC3Y.js} +29 -29
  35. package/dist/cli/{db-CMXCGD3G.mjs → db-Y75OULXT.mjs} +4 -4
  36. package/dist/cli/{describe-MN4MJ6DD.mjs → describe-EQWRAHDB.mjs} +8 -8
  37. package/dist/cli/{describe-HW2SROYB.js → describe-YNB27VDP.js} +18 -18
  38. package/dist/cli/{executions-DZB6R7OV.js → executions-ERDR36BX.js} +6 -6
  39. package/dist/cli/{executions-O4CCBVC4.mjs → executions-YVEIAM7M.mjs} +4 -4
  40. package/dist/cli/{feedback-YMOM6INL.mjs → feedback-DVLIEVMN.mjs} +3 -3
  41. package/dist/cli/{feedback-N6HDCLQ6.js → feedback-NED6Q7KT.js} +7 -7
  42. package/dist/cli/getting-started.d.mts +2 -0
  43. package/dist/cli/getting-started.d.ts +2 -0
  44. package/dist/cli/{git-LEC7GJLK.mjs → git-4RKNN3VY.mjs} +4 -4
  45. package/dist/cli/git-Q4YJMTMJ.js +23 -0
  46. package/dist/cli/index.js +93 -91
  47. package/dist/cli/index.mjs +34 -32
  48. package/dist/cli/{legacy-noops-K27TS7LE.mjs → legacy-noops-6E2X2I3N.mjs} +4 -4
  49. package/dist/cli/{legacy-noops-GFXVUEHX.js → legacy-noops-RVUHMAGK.js} +7 -7
  50. package/dist/cli/{monitors-QCLSYMKW.mjs → monitors-7LHN35U7.mjs} +4 -4
  51. package/dist/cli/{monitors-HFT37OOR.js → monitors-J2MY6A2I.js} +85 -85
  52. package/dist/cli/{org-UXQ6LVOX.mjs → org-V4QQMVEU.mjs} +4 -4
  53. package/dist/cli/{org-4CADZYFV.js → org-XSQK5EXX.js} +64 -64
  54. package/dist/cli/play-QM2EHIEQ.js +157 -0
  55. package/dist/cli/{play-FOQPC7BY.mjs → play-UN5R5WLC.mjs} +7 -7
  56. package/dist/cli/{providers-HG3GZRFS.mjs → providers-2GCHGAPY.mjs} +4 -4
  57. package/dist/cli/{providers-W3RK2G2A.js → providers-RUZNJEZU.js} +7 -7
  58. package/dist/cli/{quickstart-7VXWMWC6.js → quickstart-QI7C3OE6.js} +5 -5
  59. package/dist/cli/{quickstart-DQKAUJFG.mjs → quickstart-SQJ3LD5S.mjs} +3 -3
  60. package/dist/cli/search-4D6JH4UN.js +26 -0
  61. package/dist/cli/{search-LDGEJTLL.mjs → search-UXEFJH6M.mjs} +5 -5
  62. package/dist/cli/{secrets-3NHMB236.js → secrets-UELQR4TK.js} +13 -13
  63. package/dist/cli/{secrets-VEOZ5FT6.mjs → secrets-VUXPAPWB.mjs} +4 -4
  64. package/dist/cli/{sessions-UYLIL756.mjs → sessions-NZBULFH2.mjs} +4 -4
  65. package/dist/cli/{sessions-I4FKREEM.js → sessions-VJJA2IAJ.js} +5 -5
  66. package/dist/cli/{settings-RA3XIJWS.mjs → settings-IYSP5GKF.mjs} +7 -7
  67. package/dist/cli/{settings-BLNPNNLM.js → settings-QUPYXEFE.js} +74 -74
  68. package/dist/cli/{setup-YFJJQF6T.js → setup-33FAUBBY.js} +41 -41
  69. package/dist/cli/{setup-OAU6HQOG.mjs → setup-6AIDWIE5.mjs} +6 -6
  70. package/dist/cli/skills-VOZR6NYH.js +28 -0
  71. package/dist/cli/{skills-XF7YND7M.mjs → skills-WQI5O2YD.mjs} +4 -4
  72. package/dist/cli/{tools-7CJTNQDV.mjs → tools-JRII45GV.mjs} +6 -6
  73. package/dist/cli/tools-NRW7RTA2.js +40 -0
  74. package/dist/cli/{update-WD2X3EZD.mjs → update-GSWO4TJZ.mjs} +6 -6
  75. package/dist/cli/update-IKYKBHCM.js +28 -0
  76. package/dist/cli/{workflow-32EMNRWX.js → workflow-HTFJ4KF7.js} +15 -15
  77. package/dist/cli/{workflow-AW6GZHG2.mjs → workflow-RDDDDQEH.mjs} +5 -5
  78. package/dist/index.js +6 -6
  79. package/dist/index.mjs +3 -3
  80. package/dist/install-integrity.json +72 -72
  81. package/dist/release.d.mts +1 -1
  82. package/dist/release.d.ts +1 -1
  83. package/dist/release.js +2 -2
  84. package/dist/release.mjs +1 -1
  85. package/package.json +1 -1
  86. package/dist/cli/auth-GFQMA47B.js +0 -39
  87. package/dist/cli/git-FCDTBBB3.js +0 -23
  88. package/dist/cli/play-2EJN5QAI.js +0 -157
  89. package/dist/cli/search-MLQXX25Z.js +0 -26
  90. package/dist/cli/skills-P3HX4XRQ.js +0 -28
  91. package/dist/cli/tools-SHVTCQ2K.js +0 -40
  92. package/dist/cli/update-TI6YJEOZ.js +0 -28
@@ -3,7 +3,7 @@
3
3
  var _chunkWJYPBHTEjs = require('./chunk-WJYPBHTE.js');
4
4
 
5
5
 
6
- var _chunkSK6KH37Mjs = require('./chunk-SK6KH37M.js');
6
+ var _chunkXPJKXSQSjs = require('./chunk-XPJKXSQS.js');
7
7
 
8
8
 
9
9
 
@@ -22,7 +22,7 @@ var _chunkSK6KH37Mjs = require('./chunk-SK6KH37M.js');
22
22
 
23
23
 
24
24
 
25
- var _chunkIMKWP4UQjs = require('./chunk-IMKWP4UQ.js');
25
+ var _chunkSOV673GHjs = require('./chunk-SOV673GH.js');
26
26
 
27
27
 
28
28
  var _chunk7P5AA3SNjs = require('./chunk-7P5AA3SN.js');
@@ -123,7 +123,7 @@ function skillsSourceUrl(baseUrl) {
123
123
  function buildSkillsAddArgs(baseUrl, skillName, options = {}) {
124
124
  const skillNames = Array.isArray(skillName) ? skillName : [skillName];
125
125
  const [firstSkillName, ...extraSkillNames] = skillNames;
126
- const agents = _nullishCoalesce(options.agents, () => ( _chunkIMKWP4UQjs.DEFAULT_SKILL_AGENTS));
126
+ const agents = _nullishCoalesce(options.agents, () => ( _chunkSOV673GHjs.DEFAULT_SKILL_AGENTS));
127
127
  const values = {
128
128
  skills_index_url: skillsIndexUrl(baseUrl),
129
129
  skills_source_url: skillsSourceUrl(baseUrl),
@@ -199,7 +199,7 @@ function shouldSkipCompatibilityCheck() {
199
199
  return value === "1" || value === "true" || value === "yes";
200
200
  }
201
201
  function sdkCompatibilityCachePath(baseUrl, homeDir = _os.homedir.call(void 0, )) {
202
- return _path.join.call(void 0, _chunkIMKWP4UQjs.sdkCliStateDirPath.call(void 0, baseUrl, homeDir), "compat-cache.json");
202
+ return _path.join.call(void 0, _chunkSOV673GHjs.sdkCliStateDirPath.call(void 0, baseUrl, homeDir), "compat-cache.json");
203
203
  }
204
204
  function legacySdkCompatibilityCachePath(homeDir = _os.homedir.call(void 0, )) {
205
205
  return _path.join.call(void 0, homeDir, ".cache", "deepline", "sdk-compat-cache.json");
@@ -207,9 +207,9 @@ function legacySdkCompatibilityCachePath(homeDir = _os.homedir.call(void 0, )) {
207
207
  function compatibilityCacheKey(baseUrl, command, skillsVersion) {
208
208
  return JSON.stringify({
209
209
  baseUrl: baseUrl.replace(/\/$/, ""),
210
- version: _chunkIMKWP4UQjs.SDK_VERSION,
211
- apiContract: _chunkIMKWP4UQjs.SDK_API_CONTRACT,
212
- apiMajor: _chunkIMKWP4UQjs.SDK_API_MAJOR,
210
+ version: _chunkSOV673GHjs.SDK_VERSION,
211
+ apiContract: _chunkSOV673GHjs.SDK_API_CONTRACT,
212
+ apiMajor: _chunkSOV673GHjs.SDK_API_MAJOR,
213
213
  command: _optionalChain([command, 'optionalAccess', _7 => _7.trim, 'call', _8 => _8()]) || null,
214
214
  skillsVersion: _nullishCoalesce(skillsVersion, () => ( null))
215
215
  });
@@ -217,8 +217,8 @@ function compatibilityCacheKey(baseUrl, command, skillsVersion) {
217
217
  function legacyCompatibilityCacheKey(baseUrl, command) {
218
218
  return JSON.stringify({
219
219
  baseUrl: baseUrl.replace(/\/$/, ""),
220
- version: _chunkIMKWP4UQjs.SDK_VERSION,
221
- apiContract: _chunkIMKWP4UQjs.SDK_API_CONTRACT,
220
+ version: _chunkSOV673GHjs.SDK_VERSION,
221
+ apiContract: _chunkSOV673GHjs.SDK_API_CONTRACT,
222
222
  command: _optionalChain([command, 'optionalAccess', _9 => _9.trim, 'call', _10 => _10()]) || null
223
223
  });
224
224
  }
@@ -311,7 +311,7 @@ async function checkSdkCompatibility(baseUrl, options = {}) {
311
311
  );
312
312
  try {
313
313
  const url = new URL("/api/v2/sdk/compat", baseUrl);
314
- url.searchParams.set("version", _chunkIMKWP4UQjs.SDK_VERSION);
314
+ url.searchParams.set("version", _chunkSOV673GHjs.SDK_VERSION);
315
315
  if (_optionalChain([options, 'access', _19 => _19.command, 'optionalAccess', _20 => _20.trim, 'call', _21 => _21()])) {
316
316
  url.searchParams.set("command", options.command.trim());
317
317
  }
@@ -324,13 +324,13 @@ async function checkSdkCompatibility(baseUrl, options = {}) {
324
324
  const response = await fetch(url, {
325
325
  method: "GET",
326
326
  headers: {
327
- ..._chunkIMKWP4UQjs.deploymentProtectionHeaders.call(void 0, ),
328
- "User-Agent": `deepline-ts-sdk/${_chunkIMKWP4UQjs.SDK_VERSION}`,
329
- "X-Deepline-SDK-Version": _chunkIMKWP4UQjs.SDK_VERSION,
330
- "X-Deepline-API-Major": String(_chunkIMKWP4UQjs.SDK_API_MAJOR),
331
- "X-Deepline-API-Contract": _chunkIMKWP4UQjs.SDK_API_CONTRACT,
327
+ ..._chunkSOV673GHjs.deploymentProtectionHeaders.call(void 0, ),
328
+ "User-Agent": `deepline-ts-sdk/${_chunkSOV673GHjs.SDK_VERSION}`,
329
+ "X-Deepline-SDK-Version": _chunkSOV673GHjs.SDK_VERSION,
330
+ "X-Deepline-API-Major": String(_chunkSOV673GHjs.SDK_API_MAJOR),
331
+ "X-Deepline-API-Contract": _chunkSOV673GHjs.SDK_API_CONTRACT,
332
332
  "X-Deepline-CLI-Update-Preferences": "1",
333
- ...options.catalog ? { Authorization: `Bearer ${_chunkIMKWP4UQjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl)}` } : {}
333
+ ...options.catalog ? { Authorization: `Bearer ${_chunkSOV673GHjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl)}` } : {}
334
334
  },
335
335
  signal: controller.signal
336
336
  });
@@ -583,7 +583,7 @@ function buildEnvironmentContext() {
583
583
  node_version: process.version,
584
584
  runtime: "Node.js",
585
585
  hostname: _os.hostname.call(void 0, ),
586
- agent_runtime: _chunkIMKWP4UQjs.detectAgentRuntime.call(void 0, )
586
+ agent_runtime: _chunkSOV673GHjs.detectAgentRuntime.call(void 0, )
587
587
  };
588
588
  for (const key of ["CLAUDE_CODE_REMOTE", "DEEPLINE_PLUGIN_MODE"]) {
589
589
  const normalized = _optionalChain([process, 'access', _32 => _32.env, 'access', _33 => _33[key], 'optionalAccess', _34 => _34.trim, 'call', _35 => _35()]);
@@ -605,14 +605,15 @@ function buildEnvironmentContext() {
605
605
  }
606
606
  function failureReportHeaders(apiKey) {
607
607
  return {
608
+ ..._chunkSOV673GHjs.deploymentProtectionHeaders.call(void 0, ),
608
609
  Authorization: `Bearer ${apiKey}`,
609
610
  "Content-Type": "application/json",
610
- "User-Agent": `deepline-ts-sdk/${_chunkIMKWP4UQjs.SDK_VERSION}`,
611
+ "User-Agent": `deepline-ts-sdk/${_chunkSOV673GHjs.SDK_VERSION}`,
611
612
  "X-Deepline-Client-Family": "sdk",
612
613
  "X-Deepline-CLI-Family": "sdk",
613
- "X-Deepline-Agent-Runtime": _chunkIMKWP4UQjs.detectAgentRuntime.call(void 0, ),
614
- "X-Deepline-CLI-Version": _chunkIMKWP4UQjs.SDK_VERSION,
615
- "X-Deepline-SDK-Version": _chunkIMKWP4UQjs.SDK_VERSION
614
+ "X-Deepline-Agent-Runtime": _chunkSOV673GHjs.detectAgentRuntime.call(void 0, ),
615
+ "X-Deepline-CLI-Version": _chunkSOV673GHjs.SDK_VERSION,
616
+ "X-Deepline-SDK-Version": _chunkSOV673GHjs.SDK_VERSION
616
617
  };
617
618
  }
618
619
  async function postFailureReport(input) {
@@ -640,7 +641,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
640
641
  if (isFailureReportingDisabled()) return false;
641
642
  let apiKey = "";
642
643
  try {
643
- apiKey = _chunkIMKWP4UQjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
644
+ apiKey = _chunkSOV673GHjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
644
645
  } catch (e7) {
645
646
  return false;
646
647
  }
@@ -667,7 +668,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
667
668
  failure_code: failureCode2,
668
669
  failure_stage: failureStage,
669
670
  error_body: "Automatic Deepline skills installation failed.",
670
- cli_version: _chunkIMKWP4UQjs.SDK_VERSION,
671
+ cli_version: _chunkSOV673GHjs.SDK_VERSION,
671
672
  context: {
672
673
  environment: buildEnvironmentContext(),
673
674
  skills_sync: {
@@ -787,7 +788,7 @@ function buildFailureReport(input) {
787
788
  failure_kind: failureKind,
788
789
  failure_code: code,
789
790
  failure_stage: input.error === void 0 ? "command_exit" : "cli_main",
790
- cli_version: _chunkIMKWP4UQjs.SDK_VERSION,
791
+ cli_version: _chunkSOV673GHjs.SDK_VERSION,
791
792
  context: {
792
793
  base_url: redactFailureText(input.baseUrl, 400),
793
794
  command_summary: sanitizeCommand(input.argv),
@@ -807,8 +808,8 @@ async function maybeReportSdkCliFailure(input) {
807
808
  if (isServerLoggedPlayRunStartFailure(input)) return false;
808
809
  const exitCode = resolvedExitCode(input);
809
810
  if (!shouldReport({ exitCode, error: input.error })) return false;
810
- const baseUrl = _chunkIMKWP4UQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
811
- const apiKey = _chunkIMKWP4UQjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
811
+ const baseUrl = _chunkSOV673GHjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
812
+ const apiKey = _chunkSOV673GHjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
812
813
  if (!apiKey) return false;
813
814
  return postFailureReport({
814
815
  baseUrl,
@@ -829,25 +830,25 @@ var CHECK_TIMEOUT_MS2 = 3e3;
829
830
  var INSTALLER_PROBE_TIMEOUT_MS = 1e3;
830
831
  var PUBLISHED_VERIFICATION_RETRY_MS = 5 * 6e4;
831
832
  function shouldSkipSkillsSync() {
832
- if (_chunkIMKWP4UQjs.detectAgentRuntime.call(void 0, ) === "claude_cowork" || isCiEnvironment()) {
833
+ if (_chunkSOV673GHjs.detectAgentRuntime.call(void 0, ) === "claude_cowork" || isCiEnvironment()) {
833
834
  return true;
834
835
  }
835
836
  const value = _optionalChain([process, 'access', _56 => _56.env, 'access', _57 => _57.DEEPLINE_SKIP_SKILLS_SYNC, 'optionalAccess', _58 => _58.trim, 'call', _59 => _59(), 'access', _60 => _60.toLowerCase, 'call', _61 => _61()]);
836
837
  return value === "1" || value === "true" || value === "yes" || value === "on";
837
838
  }
838
839
  function unavailableSkillsNoticePath(baseUrl) {
839
- return _path.join.call(void 0, _chunkIMKWP4UQjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-sync-unavailable-version");
840
+ return _path.join.call(void 0, _chunkSOV673GHjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-sync-unavailable-version");
840
841
  }
841
842
  var SKILLS_SYNC_IN_PROGRESS_TTL_MS = 10 * 60 * 1e3;
842
843
  var SKILLS_SYNC_IN_PROGRESS_PID_CAP_MS = 6 * 60 * 60 * 1e3;
843
- var agentLeaseSegment = _chunkIMKWP4UQjs.skillsAgentPathSegment;
844
+ var agentLeaseSegment = _chunkSOV673GHjs.skillsAgentPathSegment;
844
845
  function sortedLeaseAgents(agents) {
845
- const expanded = agents.includes("*") ? [...agents, ..._chunkIMKWP4UQjs.KNOWN_SKILL_AGENTS] : agents;
846
+ const expanded = agents.includes("*") ? [...agents, ..._chunkSOV673GHjs.KNOWN_SKILL_AGENTS] : agents;
846
847
  return [...new Set(expanded)].sort((a, b) => a.localeCompare(b));
847
848
  }
848
849
  function inProgressSkillsSyncPath(baseUrl, agent) {
849
850
  return _path.join.call(void 0,
850
- _chunkIMKWP4UQjs.sdkCliStateDirPath.call(void 0, baseUrl),
851
+ _chunkSOV673GHjs.sdkCliStateDirPath.call(void 0, baseUrl),
851
852
  `skills-sync-in-progress-${agentLeaseSegment(agent)}`
852
853
  );
853
854
  }
@@ -1006,7 +1007,7 @@ var SkillsStateUnavailableError = class extends Error {
1006
1007
  constructor(baseUrl, error) {
1007
1008
  const detail = error instanceof Error ? error.message : String(error);
1008
1009
  super(
1009
- `Could not save skills state in ${_chunkIMKWP4UQjs.sdkCliStateDirPath.call(void 0, baseUrl)}: ${detail}`
1010
+ `Could not save skills state in ${_chunkSOV673GHjs.sdkCliStateDirPath.call(void 0, baseUrl)}: ${detail}`
1010
1011
  );
1011
1012
  this.name = "SkillsStateUnavailableError";
1012
1013
  }
@@ -1091,7 +1092,7 @@ function skillsInstallLeasePath(baseUrl, agents) {
1091
1092
  }
1092
1093
  function deferredSkillsNoticePath(baseUrl, agents) {
1093
1094
  return _path.join.call(void 0,
1094
- _chunkIMKWP4UQjs.sdkCliStateDirPath.call(void 0, baseUrl),
1095
+ _chunkSOV673GHjs.sdkCliStateDirPath.call(void 0, baseUrl),
1095
1096
  `skills-sync-notice-${sortedLeaseAgents(agents).map(agentLeaseSegment).join("-")}`
1096
1097
  );
1097
1098
  }
@@ -1125,8 +1126,8 @@ function flushDeferredSkillsNotices(baseUrl, agents) {
1125
1126
  if (text.trim()) writeSdkSkillsStatusLine(text.trimEnd());
1126
1127
  }
1127
1128
  function flushDeferredSkillsSyncNotices(baseUrl) {
1128
- if (shouldSkipSkillsSync() || _chunkIMKWP4UQjs.hasActivePluginSkills.call(void 0, )) return;
1129
- const agents = _chunkIMKWP4UQjs.resolveAutoSyncSkillAgents.call(void 0, );
1129
+ if (shouldSkipSkillsSync() || _chunkSOV673GHjs.hasActivePluginSkills.call(void 0, )) return;
1130
+ const agents = _chunkSOV673GHjs.resolveAutoSyncSkillAgents.call(void 0, );
1130
1131
  if (agents.length === 0) return;
1131
1132
  flushDeferredSkillsNotices(baseUrl, agents);
1132
1133
  }
@@ -1142,7 +1143,7 @@ function spawnDetachedSkillsSyncChild(argv, onSpawnError) {
1142
1143
  }
1143
1144
  function failedSkillsSyncPath(baseUrl, agents) {
1144
1145
  return _path.join.call(void 0,
1145
- _chunkIMKWP4UQjs.sdkCliStateDirPath.call(void 0, baseUrl),
1146
+ _chunkSOV673GHjs.sdkCliStateDirPath.call(void 0, baseUrl),
1146
1147
  `skills-sync-failed-${sortedLeaseAgents(agents).map(agentLeaseSegment).join("-")}-version`
1147
1148
  );
1148
1149
  }
@@ -1171,7 +1172,7 @@ function writeUnavailableSkillsNotice(baseUrl, remoteVersion, skillNames, reason
1171
1172
  if (hasMarkedSkillsSyncVersion(path, remoteVersion)) return;
1172
1173
  writeMarkedSkillsSyncVersion(path, remoteVersion);
1173
1174
  const probes = reason === "no-installer" ? _nullishCoalesce(knownProbes, () => ( probeInstallers())) : null;
1174
- const manualCommand = _optionalChain([probes, 'optionalAccess', _65 => _65.npx]) === "missing" && probes.bunx !== "missing" ? `bunx ${buildBunxSkillsInstallArgs(baseUrl, skillNames, _chunkIMKWP4UQjs.DEFAULT_SKILL_AGENTS).map(shellQuote).join(" ")}` : `npx ${buildSkillsInstallArgs(baseUrl, skillNames).join(" ")}`;
1175
+ const manualCommand = _optionalChain([probes, 'optionalAccess', _65 => _65.npx]) === "missing" && probes.bunx !== "missing" ? `bunx ${buildBunxSkillsInstallArgs(baseUrl, skillNames, _chunkSOV673GHjs.DEFAULT_SKILL_AGENTS).map(shellQuote).join(" ")}` : `npx ${buildSkillsInstallArgs(baseUrl, skillNames).join(" ")}`;
1175
1176
  const explanation = reason === "unsupported-agent" ? "the detected agent has no automatic skills sync target. Automatic sync was skipped." : _optionalChain([probes, 'optionalAccess', _66 => _66.bunx]) === "missing" && probes.npx === "missing" ? "neither `bunx` nor `npx` was found on PATH. Make one available." : `installer version check failed for ${Object.entries(_nullishCoalesce(probes, () => ( {}))).filter(([, result]) => result === "failed").map(([command]) => `\`${command}\``).join(" and ")}. Check those commands with --version.`;
1176
1177
  notice(
1177
1178
  `Deepline agent skills are out of date, but ${explanation} To install manually, run:
@@ -1259,7 +1260,7 @@ function buildSdkSkillNames(v1SkillNames2) {
1259
1260
  return sortedUniqueSkillNames(v1SkillNames2);
1260
1261
  }
1261
1262
  function isDefaultAgentSet(agents) {
1262
- return agents.length === _chunkIMKWP4UQjs.DEFAULT_SKILL_AGENTS.length && agents.every((agent, index) => agent === _chunkIMKWP4UQjs.DEFAULT_SKILL_AGENTS[index]);
1263
+ return agents.length === _chunkSOV673GHjs.DEFAULT_SKILL_AGENTS.length && agents.every((agent, index) => agent === _chunkSOV673GHjs.DEFAULT_SKILL_AGENTS[index]);
1263
1264
  }
1264
1265
  function safeSkillFilePath(value) {
1265
1266
  if (typeof value !== "string" || !value) return false;
@@ -1456,7 +1457,7 @@ function probeInstallers(timeoutMs) {
1456
1457
  }
1457
1458
  function noInstallerProbePath(baseUrl) {
1458
1459
  return _path.join.call(void 0,
1459
- _chunkIMKWP4UQjs.sdkCliStateDirPath.call(void 0, baseUrl),
1460
+ _chunkSOV673GHjs.sdkCliStateDirPath.call(void 0, baseUrl),
1460
1461
  "skills-sync-no-installer-unknown.json"
1461
1462
  );
1462
1463
  }
@@ -1535,7 +1536,7 @@ function temporarySkillsSyncSkipCommand() {
1535
1536
  function resolveSkillsInstallSpawn(install, platform2 = process.platform) {
1536
1537
  return resolveShellSpawn(install.command, install.args, platform2);
1537
1538
  }
1538
- function resolveSkillsInstallCommands(baseUrl, skillNames = DEFAULT_SDK_SKILL_NAMES, agents = _chunkIMKWP4UQjs.DEFAULT_SKILL_AGENTS, knownProbes) {
1539
+ function resolveSkillsInstallCommands(baseUrl, skillNames = DEFAULT_SDK_SKILL_NAMES, agents = _chunkSOV673GHjs.DEFAULT_SKILL_AGENTS, knownProbes) {
1539
1540
  const commands = [];
1540
1541
  const probes = _nullishCoalesce(knownProbes, () => ( probeInstallers()));
1541
1542
  if (probes.bunx === "available") {
@@ -1687,11 +1688,11 @@ function writeSdkSkillsStatusLine(line) {
1687
1688
  }
1688
1689
  async function syncSdkSkillsIfNeeded(baseUrl, options = {}) {
1689
1690
  if (shouldSkipSkillsSync()) return;
1690
- const usingPluginSkills = _chunkIMKWP4UQjs.hasActivePluginSkills.call(void 0, );
1691
+ const usingPluginSkills = _chunkSOV673GHjs.hasActivePluginSkills.call(void 0, );
1691
1692
  if (usingPluginSkills) {
1692
1693
  return;
1693
1694
  }
1694
- const agents = _chunkIMKWP4UQjs.resolveAutoSyncSkillAgents.call(void 0, );
1695
+ const agents = _chunkSOV673GHjs.resolveAutoSyncSkillAgents.call(void 0, );
1695
1696
  if (options.mode === "detached" && agents.length > 0) {
1696
1697
  flushDeferredSkillsNotices(baseUrl, agents);
1697
1698
  }
@@ -1719,7 +1720,7 @@ async function syncSdkSkillsIfNeeded(baseUrl, options = {}) {
1719
1720
  return;
1720
1721
  }
1721
1722
  try {
1722
- const localVersion = _chunkIMKWP4UQjs.readSdkSkillsLocalVersion.call(void 0, baseUrl);
1723
+ const localVersion = _chunkSOV673GHjs.readSdkSkillsLocalVersion.call(void 0, baseUrl);
1723
1724
  const update = options.update === void 0 ? claimedVersion ? { needsUpdate: true, remoteVersion: claimedVersion } : await fetchSkillsUpdate(baseUrl, localVersion) : options.update ? {
1724
1725
  needsUpdate: options.update.needs_update,
1725
1726
  remoteVersion: options.update.remote.version
@@ -1885,7 +1886,7 @@ async function runInlineSkillsSync(baseUrl, remoteVersion, agents, notices) {
1885
1886
  }
1886
1887
  }
1887
1888
  runLegacySkillsCleanup(agents);
1888
- if (!_chunkIMKWP4UQjs.writeSdkSkillsLocalVersion.call(void 0, baseUrl, update.remoteVersion, agents)) {
1889
+ if (!_chunkSOV673GHjs.writeSdkSkillsLocalVersion.call(void 0, baseUrl, update.remoteVersion, agents)) {
1889
1890
  notice(
1890
1891
  "Deepline agent skills installed, but the local skills version could not be recorded. A later command will retry the refresh."
1891
1892
  );
@@ -1944,7 +1945,7 @@ function inferActiveSkillsScope(entrypoint = _nullishCoalesce(process.argv[1], (
1944
1945
  return /[\\/]\.deepline[\\/]runtime[\\/]/.test(entrypoint) ? "local" : "global";
1945
1946
  }
1946
1947
  function resolveLocalRoot() {
1947
- const target = _chunkIMKWP4UQjs.resolveProjectPinTarget.call(void 0, );
1948
+ const target = _chunkSOV673GHjs.resolveProjectPinTarget.call(void 0, );
1948
1949
  if (!target.ok) {
1949
1950
  throw new Error(
1950
1951
  `Cowork project folder is ambiguous. Candidate folders: ${target.candidates.join(
@@ -1955,7 +1956,7 @@ function resolveLocalRoot() {
1955
1956
  return target.dir;
1956
1957
  }
1957
1958
  function detectSkillsAgents(input) {
1958
- const runtime = _nullishCoalesce(input.runtime, () => ( _chunkIMKWP4UQjs.detectAgentRuntime.call(void 0, )));
1959
+ const runtime = _nullishCoalesce(input.runtime, () => ( _chunkSOV673GHjs.detectAgentRuntime.call(void 0, )));
1959
1960
  const knownAgent = RUNTIME_TO_SKILLS_AGENT[runtime];
1960
1961
  if (knownAgent) return [knownAgent];
1961
1962
  const roots = [
@@ -1970,7 +1971,7 @@ function detectSkillsAgents(input) {
1970
1971
  return detected.length > 0 ? detected : ["*"];
1971
1972
  }
1972
1973
  function skillsStatePathForScope(baseUrl, scope, root) {
1973
- return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkIMKWP4UQjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
1974
+ return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkSOV673GHjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
1974
1975
  }
1975
1976
  function buildSkillsPlan(input) {
1976
1977
  const scopeArgs = input.scope === "global" ? ["--global"] : [];
@@ -2092,7 +2093,7 @@ async function runSkillsCommand(options, dependencies = {}) {
2092
2093
  scope = normalizeScope(options.scope);
2093
2094
  root = scope === "local" ? resolveLocalRoot() : null;
2094
2095
  } catch (error) {
2095
- _chunkSK6KH37Mjs.printCommandEnvelope.call(void 0,
2096
+ _chunkXPJKXSQSjs.printCommandEnvelope.call(void 0,
2096
2097
  {
2097
2098
  ok: false,
2098
2099
  status: "failed",
@@ -2104,22 +2105,22 @@ async function runSkillsCommand(options, dependencies = {}) {
2104
2105
  );
2105
2106
  return 2;
2106
2107
  }
2107
- const baseUrl = _chunkIMKWP4UQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
2108
+ const baseUrl = _chunkSOV673GHjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
2108
2109
  const catalog = {
2109
2110
  skillNames: [...DEFAULT_SDK_SKILL_NAMES],
2110
- version: _chunkIMKWP4UQjs.SDK_VERSION
2111
+ version: _chunkSOV673GHjs.SDK_VERSION
2111
2112
  };
2112
2113
  const agents = options.agent ? [options.agent] : detectSkillsAgents({ scope, root });
2113
2114
  const plan = buildSkillsPlan({ baseUrl, scope, root, agents, ...catalog });
2114
2115
  if (options.dryRun) {
2115
- _chunkSK6KH37Mjs.printCommandEnvelope.call(void 0,
2116
+ _chunkXPJKXSQSjs.printCommandEnvelope.call(void 0,
2116
2117
  { ok: true, status: "planned", dryRun: true, ...plan },
2117
2118
  { json: options.json }
2118
2119
  );
2119
2120
  return 0;
2120
2121
  }
2121
2122
  if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !hasFailedAutomaticSkillsSync(baseUrl, agents)) {
2122
- _chunkSK6KH37Mjs.printCommandEnvelope.call(void 0,
2123
+ _chunkXPJKXSQSjs.printCommandEnvelope.call(void 0,
2123
2124
  {
2124
2125
  ok: true,
2125
2126
  status: "current",
@@ -2154,7 +2155,7 @@ async function runSkillsCommand(options, dependencies = {}) {
2154
2155
  .../* @__PURE__ */ new Set([...plan.skillNames, ...LEGACY_SKILL_NAMES_TO_REMOVE])
2155
2156
  ];
2156
2157
  const agentRoots = workspaceSkillRootsForAgents(plan.agents);
2157
- _chunkIMKWP4UQjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
2158
+ _chunkSOV673GHjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
2158
2159
  ".deepline/",
2159
2160
  ...agentRoots.flatMap(
2160
2161
  (agentRoot) => managedNames.map((name) => `${agentRoot}/skills/${name}/`)
@@ -2172,7 +2173,7 @@ async function runSkillsCommand(options, dependencies = {}) {
2172
2173
  } };
2173
2174
  } catch (error) {
2174
2175
  if (!(error instanceof SkillsStateUnavailableError)) throw error;
2175
- _chunkSK6KH37Mjs.printCommandEnvelope.call(void 0,
2176
+ _chunkXPJKXSQSjs.printCommandEnvelope.call(void 0,
2176
2177
  {
2177
2178
  ok: false,
2178
2179
  status: "failed",
@@ -2188,7 +2189,7 @@ async function runSkillsCommand(options, dependencies = {}) {
2188
2189
  return 5;
2189
2190
  }
2190
2191
  if (!lease) {
2191
- _chunkSK6KH37Mjs.printCommandEnvelope.call(void 0,
2192
+ _chunkXPJKXSQSjs.printCommandEnvelope.call(void 0,
2192
2193
  {
2193
2194
  ok: false,
2194
2195
  status: "failed",
@@ -2234,7 +2235,7 @@ async function runSkillsInstallWithLease(input) {
2234
2235
  throw new Error("Could not install the current Deepline skills.");
2235
2236
  }
2236
2237
  } catch (error) {
2237
- _chunkSK6KH37Mjs.printCommandEnvelope.call(void 0,
2238
+ _chunkXPJKXSQSjs.printCommandEnvelope.call(void 0,
2238
2239
  {
2239
2240
  ok: false,
2240
2241
  status: "failed",
@@ -2273,7 +2274,7 @@ async function runSkillsInstallWithLease(input) {
2273
2274
  {
2274
2275
  schemaVersion: 1,
2275
2276
  installedAt: (/* @__PURE__ */ new Date()).toISOString(),
2276
- cliVersion: _chunkIMKWP4UQjs.SDK_VERSION,
2277
+ cliVersion: _chunkSOV673GHjs.SDK_VERSION,
2277
2278
  scope,
2278
2279
  agents,
2279
2280
  skillsVersion: plan.version,
@@ -2288,7 +2289,7 @@ async function runSkillsInstallWithLease(input) {
2288
2289
  if (scope === "global") {
2289
2290
  clearFailedAutomaticSkillsSync(baseUrl, agents);
2290
2291
  }
2291
- _chunkSK6KH37Mjs.printCommandEnvelope.call(void 0,
2292
+ _chunkXPJKXSQSjs.printCommandEnvelope.call(void 0,
2292
2293
  {
2293
2294
  ok: true,
2294
2295
  status: "complete",
@@ -2337,7 +2338,7 @@ Examples:
2337
2338
  ).action(async (options) => {
2338
2339
  const claim = _optionalChain([options, 'access', _88 => _88.claim, 'optionalAccess', _89 => _89.trim, 'call', _90 => _90()]);
2339
2340
  if (!claim) {
2340
- _chunkSK6KH37Mjs.printCommandEnvelope.call(void 0,
2341
+ _chunkXPJKXSQSjs.printCommandEnvelope.call(void 0,
2341
2342
  {
2342
2343
  ok: false,
2343
2344
  status: "failed",
@@ -2350,7 +2351,7 @@ Examples:
2350
2351
  process.exitCode = 2;
2351
2352
  return;
2352
2353
  }
2353
- await syncSdkSkillsIfNeeded(_chunkIMKWP4UQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
2354
+ await syncSdkSkillsIfNeeded(_chunkSOV673GHjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
2354
2355
  mode: "inline",
2355
2356
  notices: "defer",
2356
2357
  claim
@@ -14,7 +14,7 @@ import {
14
14
  } from "./chunk-NXGCO4JB.mjs";
15
15
  import {
16
16
  SDK_RELEASE
17
- } from "./chunk-BNRRVGGW.mjs";
17
+ } from "./chunk-FFXJKVSX.mjs";
18
18
 
19
19
  // src/errors.ts
20
20
  var CustomerDbQueryOutcomeUnknownError = class extends DeeplineError {
@@ -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 _chunkERGADEMSjs = require('./chunk-ERGADEMS.js');
4
+ var _chunkO4XVGZDXjs = require('./chunk-O4XVGZDX.js');
5
5
 
6
6
 
7
7
 
8
- var _chunkTOLORRDIjs = require('./chunk-TOLORRDI.js');
8
+ var _chunk4EMAJ3QXjs = require('./chunk-4EMAJ3QX.js');
9
9
 
10
10
 
11
- var _chunkSK6KH37Mjs = require('./chunk-SK6KH37M.js');
11
+ var _chunkXPJKXSQSjs = require('./chunk-XPJKXSQS.js');
12
12
 
13
13
 
14
- var _chunkIMKWP4UQjs = require('./chunk-IMKWP4UQ.js');
14
+ var _chunkSOV673GHjs = require('./chunk-SOV673GH.js');
15
15
 
16
16
  // src/cli/commands/update.ts
17
17
  var _child_process = require('child_process');
@@ -489,7 +489,7 @@ function normalizedNpmPrefix(value) {
489
489
  }
490
490
  function resolveNpmGlobalPrefix(env) {
491
491
  try {
492
- const plan = _chunkTOLORRDIjs.resolveShellSpawn.call(void 0, "npm", ["prefix", "-g"], process.platform, env);
492
+ const plan = _chunk4EMAJ3QXjs.resolveShellSpawn.call(void 0, "npm", ["prefix", "-g"], process.platform, env);
493
493
  const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
494
494
  encoding: "utf8",
495
495
  env,
@@ -545,8 +545,8 @@ function resolveUpdatePlan(options = {}) {
545
545
  const npmGlobalPrefix = options.npmGlobalPrefix !== void 0 ? options.npmGlobalPrefix : resolveNpmGlobalPrefix(env);
546
546
  const hasVerifiedNpmOwnership = inferredInstallPrefix !== null && normalizedNpmPrefix(inferredInstallPrefix) === normalizedNpmPrefix(npmGlobalPrefix);
547
547
  const installPrefix = options.requireVerifiedNpmOwnership ? hasVerifiedNpmOwnership ? inferredInstallPrefix : null : inferredInstallPrefix;
548
- const npmVersion = options.npmVersion === void 0 ? _chunkERGADEMSjs.readNpmVersion.call(void 0, env) : options.npmVersion;
549
- const npmGlobalInstallFlags = _chunkERGADEMSjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
548
+ const npmVersion = options.npmVersion === void 0 ? _chunkO4XVGZDXjs.readNpmVersion.call(void 0, env) : options.npmVersion;
549
+ const npmGlobalInstallFlags = _chunkO4XVGZDXjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
550
550
  const args = installPrefix ? [
551
551
  "install",
552
552
  "-g",
@@ -556,7 +556,7 @@ function resolveUpdatePlan(options = {}) {
556
556
  packageSpec
557
557
  ] : ["install", "-g", ...npmGlobalInstallFlags, packageSpec];
558
558
  const fallbackRegistryUrl = options.npmFallbackRegistryUrl !== void 0 ? options.npmFallbackRegistryUrl : publicNpmFallbackRegistryUrl(
559
- _optionalChain([env, 'access', _18 => _18.DEEPLINE_HOST_URL, 'optionalAccess', _19 => _19.trim, 'call', _20 => _20()]) || _chunkIMKWP4UQjs.autoDetectBaseUrl.call(void 0, )
559
+ _optionalChain([env, 'access', _18 => _18.DEEPLINE_HOST_URL, 'optionalAccess', _19 => _19.trim, 'call', _20 => _20()]) || _chunkSOV673GHjs.autoDetectBaseUrl.call(void 0, )
560
560
  );
561
561
  return {
562
562
  kind: "npm-global",
@@ -703,7 +703,7 @@ function sidecarInstallFailure(versionDir) {
703
703
  function runCommand(command, args, env = process.env) {
704
704
  return new Promise((resolveResult) => {
705
705
  let output = "";
706
- const plan = _chunkTOLORRDIjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
706
+ const plan = _chunk4EMAJ3QXjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
707
707
  const child = _child_process.spawn.call(void 0, plan.command, plan.args, {
708
708
  stdio: ["inherit", "pipe", "pipe"],
709
709
  shell: plan.shell,
@@ -1079,14 +1079,14 @@ async function publishedVersionSupportsPin(version, fallbackRegistryUrl) {
1079
1079
  throw _nullishCoalesce(lastError, () => ( new Error("No npm registry was available")));
1080
1080
  }
1081
1081
  async function runUpdateCommand(options, dependencies = {}) {
1082
- const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkIMKWP4UQjs.autoDetectBaseUrl));
1082
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkSOV673GHjs.autoDetectBaseUrl));
1083
1083
  const resolvePlan = _nullishCoalesce(dependencies.resolvePlan, () => ( resolveUpdatePlan));
1084
1084
  const runPlan = _nullishCoalesce(dependencies.runPlan, () => ( runUpdatePlan));
1085
1085
  const syncSkills = _nullishCoalesce(dependencies.syncSkillsIfNeeded, () => ( (async () => {
1086
1086
  const originalWrite = process.stdout.write.bind(process.stdout);
1087
1087
  process.stdout.write = (() => true);
1088
1088
  try {
1089
- const exitCode = await _chunkTOLORRDIjs.runSkillsCommand.call(void 0, { json: true });
1089
+ const exitCode = await _chunk4EMAJ3QXjs.runSkillsCommand.call(void 0, { json: true });
1090
1090
  if (exitCode !== 0) {
1091
1091
  throw new Error(
1092
1092
  `Deepline skills update failed with exit ${exitCode}.`
@@ -1157,11 +1157,11 @@ async function runUpdateCommand(options, dependencies = {}) {
1157
1157
  ]
1158
1158
  };
1159
1159
  if (options.json && !options.executeWithJson) {
1160
- _chunkSK6KH37Mjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1160
+ _chunkXPJKXSQSjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1161
1161
  return 0;
1162
1162
  }
1163
1163
  if (options.printCommand) {
1164
- _chunkSK6KH37Mjs.printCommandEnvelope.call(void 0,
1164
+ _chunkXPJKXSQSjs.printCommandEnvelope.call(void 0,
1165
1165
  {
1166
1166
  ...plan,
1167
1167
  render: {
@@ -1174,7 +1174,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1174
1174
  return 0;
1175
1175
  }
1176
1176
  if (plan.kind === "source" || plan.kind === "homebrew") {
1177
- _chunkSK6KH37Mjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1177
+ _chunkXPJKXSQSjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1178
1178
  return 0;
1179
1179
  }
1180
1180
  stderr.write(`Updating Deepline SDK/CLI with: ${plan.manualCommand}
@@ -1204,7 +1204,7 @@ To retry with full installer output, run: deepline skills
1204
1204
  );
1205
1205
  }
1206
1206
  if (options.executeWithJson && options.json) {
1207
- _chunkSK6KH37Mjs.printCommandEnvelope.call(void 0,
1207
+ _chunkXPJKXSQSjs.printCommandEnvelope.call(void 0,
1208
1208
  {
1209
1209
  ok: true,
1210
1210
  pinnedVersion