deepline 0.3.462 → 0.3.463

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 (121) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/monitors/billing/tamradar.ts +17 -17
  3. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-batch-operation.ts +2 -0
  4. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-upstream-identity.ts +28 -1
  5. package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +12 -9
  6. package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +17 -7
  7. package/dist/cli/{auth-JDLEY7VU.mjs → auth-LZLBR4C3.mjs} +5 -5
  8. package/dist/cli/auth-XPGKBJKB.js +41 -0
  9. package/dist/cli/{billing-HXAXB3XZ.js → billing-6TJPNJQD.js} +77 -77
  10. package/dist/cli/{billing-SDHLBLMV.mjs → billing-OTOP5RE4.mjs} +6 -6
  11. package/dist/cli/{chunk-NBLSCHKK.js → chunk-2NISBXMN.js} +51 -51
  12. package/dist/cli/{chunk-XANRM3QA.js → chunk-2ZIRCBYG.js} +6 -6
  13. package/dist/cli/{chunk-7VZHXVOQ.js → chunk-3BOIOCNX.js} +1 -1
  14. package/dist/cli/{chunk-4KQ6SIBC.mjs → chunk-3BVLLJ3H.mjs} +2 -2
  15. package/dist/cli/{chunk-PHSEINNH.mjs → chunk-3U5EAP6E.mjs} +5 -5
  16. package/dist/cli/{chunk-WIY6U6GD.mjs → chunk-4YZKBBLZ.mjs} +4 -4
  17. package/dist/cli/{chunk-UAJFWWZE.js → chunk-5DRNNC72.js} +5 -5
  18. package/dist/cli/{chunk-3ACMRZRV.js → chunk-5LHXOIPT.js} +7 -7
  19. package/dist/cli/{chunk-V3MEA7NB.mjs → chunk-7D6X7IXW.mjs} +4 -4
  20. package/dist/cli/{chunk-OMQ23IXL.js → chunk-7FCYPAPP.js} +2 -2
  21. package/dist/cli/{chunk-I6VHOU5O.js → chunk-7XYDDCQ2.js} +26 -26
  22. package/dist/cli/{chunk-OPJAJBD4.js → chunk-ALZBANZI.js} +8 -8
  23. package/dist/cli/{chunk-PKHVSIJG.mjs → chunk-BAPTQDLF.mjs} +2 -2
  24. package/dist/cli/{chunk-Y4DPU4OM.js → chunk-BGNWI3KH.js} +3 -3
  25. package/dist/cli/{chunk-LFXLQEZN.mjs → chunk-C25QE4CH.mjs} +1 -1
  26. package/dist/cli/{chunk-GEGW5HPZ.js → chunk-CBZP6J3V.js} +21 -21
  27. package/dist/cli/{chunk-ZUK6LIJB.mjs → chunk-CTQ56DXP.mjs} +1 -1
  28. package/dist/cli/{chunk-7U3XNPOA.mjs → chunk-CVQ7N5CV.mjs} +10 -10
  29. package/dist/cli/{chunk-6NNVJDVR.mjs → chunk-DHXCBITQ.mjs} +3 -3
  30. package/dist/cli/{chunk-D6DXOUTO.mjs → chunk-F2RHUPVH.mjs} +1 -1
  31. package/dist/cli/{chunk-7LFIMWMW.js → chunk-FK2HNDCN.js} +2 -2
  32. package/dist/cli/{chunk-MUUQZIOF.mjs → chunk-GUT7CLOL.mjs} +3 -3
  33. package/dist/cli/{chunk-6RNQGWFD.mjs → chunk-I624J4H5.mjs} +1 -1
  34. package/dist/cli/{chunk-3KZCFOZ6.mjs → chunk-IKWRUNAP.mjs} +1 -1
  35. package/dist/cli/{chunk-ULK7JGGI.js → chunk-JVDKZJUH.js} +93 -93
  36. package/dist/cli/{chunk-FKVYR3QA.mjs → chunk-LYFKBLJI.mjs} +1 -1
  37. package/dist/cli/{chunk-QJZ6WNWD.js → chunk-NAPTMYTY.js} +8 -8
  38. package/dist/cli/{chunk-VFGVXXZP.js → chunk-NDHJR2WZ.js} +36 -36
  39. package/dist/cli/{chunk-7MJ6VI2T.mjs → chunk-NTLI6P6Y.mjs} +2 -2
  40. package/dist/cli/{chunk-S6UAJR6V.mjs → chunk-O3BJYD6D.mjs} +2 -2
  41. package/dist/cli/{chunk-EM4TXCCI.js → chunk-PVY4DPPF.js} +10 -10
  42. package/dist/cli/{chunk-UDRPEZ5F.mjs → chunk-RD6IQ2JY.mjs} +1 -1
  43. package/dist/cli/{chunk-7SWNPNML.js → chunk-RGOUCIIZ.js} +3 -3
  44. package/dist/cli/{chunk-O2RX5A66.mjs → chunk-S4XQCFES.mjs} +5 -5
  45. package/dist/cli/{chunk-JF3TLIMQ.js → chunk-SKU6ECIY.js} +5 -5
  46. package/dist/cli/{chunk-LROWFPGN.js → chunk-TIRBDQ3W.js} +16 -16
  47. package/dist/cli/{chunk-BGTPIMSM.js → chunk-UC4SFYNU.js} +6 -6
  48. package/dist/cli/{chunk-S42YIQNE.mjs → chunk-UIURR26V.mjs} +4 -4
  49. package/dist/cli/{chunk-HUB3CCM2.js → chunk-UROQDCVW.js} +3 -3
  50. package/dist/cli/{chunk-AT636LLU.mjs → chunk-VDGTTH7K.mjs} +2 -2
  51. package/dist/cli/{chunk-V335HGX5.js → chunk-VY2GBNTX.js} +9 -9
  52. package/dist/cli/{chunk-NHRWZPWZ.mjs → chunk-WUMIYOXQ.mjs} +2 -2
  53. package/dist/cli/{chunk-ZGQSFYD2.js → chunk-WUZS2HK6.js} +53 -53
  54. package/dist/cli/{chunk-XZAFIOUQ.mjs → chunk-XDWS2JJT.mjs} +1 -1
  55. package/dist/cli/{chunk-CKSOY47X.mjs → chunk-XW2JIYG7.mjs} +2 -2
  56. package/dist/cli/{chunk-YT5EODJO.js → chunk-YGGIZ3VT.js} +4 -4
  57. package/dist/cli/{csv-C56GSCEU.js → csv-EH5QWR4O.js} +13 -13
  58. package/dist/cli/{csv-L54JS7TF.mjs → csv-OK45Z5XQ.mjs} +4 -4
  59. package/dist/cli/{db-MOGRMZTA.js → db-3ESJKETS.js} +27 -27
  60. package/dist/cli/{db-YVBUW2DX.mjs → db-6Z5E4HKN.mjs} +6 -6
  61. package/dist/cli/{describe-NLZKKT7C.mjs → describe-PNDQB7YS.mjs} +17 -17
  62. package/dist/cli/describe-QUF7VTTR.js +48 -0
  63. package/dist/cli/{executions-ZBGSTT37.mjs → executions-2NTWQFEG.mjs} +6 -6
  64. package/dist/cli/{executions-A7L4ULPP.js → executions-KUOBRX5V.js} +8 -8
  65. package/dist/cli/{feedback-G6GU37FD.mjs → feedback-7RPRMSGY.mjs} +4 -4
  66. package/dist/cli/{feedback-OHLY7RYD.js → feedback-UPHAZJ4C.js} +8 -8
  67. package/dist/cli/{git-PKZW3QD5.mjs → git-SCYP6WSZ.mjs} +5 -5
  68. package/dist/cli/git-UH653WHV.js +25 -0
  69. package/dist/cli/index.js +135 -135
  70. package/dist/cli/index.mjs +40 -40
  71. package/dist/cli/{legacy-noops-5LM3D724.js → legacy-noops-7XMFCVRG.js} +8 -8
  72. package/dist/cli/{legacy-noops-LJJYG6YA.mjs → legacy-noops-A4KYAGI6.mjs} +5 -5
  73. package/dist/cli/{monitors-72QV4ALO.mjs → monitors-FLC5J7RI.mjs} +7 -7
  74. package/dist/cli/{monitors-UX3H5DC2.js → monitors-NZV6IX5H.js} +91 -91
  75. package/dist/cli/{org-IF7ISUVB.js → org-IZ7UP3XF.js} +68 -68
  76. package/dist/cli/{org-6RRRKOCP.mjs → org-LUETJ7Z5.mjs} +6 -6
  77. package/dist/cli/{pages-3SU3HKL7.js → pages-22ML3O7O.js} +17 -17
  78. package/dist/cli/{pages-DXDYYKEK.mjs → pages-EUX5EAGF.mjs} +6 -6
  79. package/dist/cli/{play-AHASKRLA.mjs → play-CDHPAKKM.mjs} +17 -17
  80. package/dist/cli/{play-EUIUVLUH.js → play-USJBQADG.js} +304 -304
  81. package/dist/cli/{providers-GWGE3WY3.mjs → providers-CCXZ3SQF.mjs} +6 -6
  82. package/dist/cli/{providers-V5WU4VXJ.js → providers-WFEUNPGC.js} +9 -9
  83. package/dist/cli/{quickstart-QP65I5PF.js → quickstart-O4JSUORZ.js} +6 -6
  84. package/dist/cli/{quickstart-OXKQ5ZST.mjs → quickstart-ZUULI635.mjs} +4 -4
  85. package/dist/cli/{run-F3FTYS56.js → run-ISDJYJMU.js} +36 -36
  86. package/dist/cli/{run-6MM72IGL.mjs → run-QJ4NX5F5.mjs} +22 -22
  87. package/dist/cli/{search-ZMEBVJZB.mjs → search-IX3XKZJ3.mjs} +7 -7
  88. package/dist/cli/search-TIFNLRPM.js +32 -0
  89. package/dist/cli/{secrets-XRCJFF3L.mjs → secrets-7VUDXTUZ.mjs} +6 -6
  90. package/dist/cli/{secrets-ACND5N6A.js → secrets-ELQSNCTR.js} +15 -15
  91. package/dist/cli/{sessions-ZGRJPCFF.js → sessions-A3FG3AZX.js} +6 -6
  92. package/dist/cli/{sessions-RTK3CEW6.mjs → sessions-VOIQ62GB.mjs} +5 -5
  93. package/dist/cli/{settings-XDRBPRDE.mjs → settings-S6N6EFBG.mjs} +11 -11
  94. package/dist/cli/{settings-PD5KWQQZ.js → settings-ZTXQEMZI.js} +78 -78
  95. package/dist/cli/{setup-3HPYAOCC.mjs → setup-AYPIK4JE.mjs} +9 -9
  96. package/dist/cli/{setup-E2Q6PXHC.js → setup-Y3WOIFLS.js} +44 -44
  97. package/dist/cli/{skills-OOQFMPOV.mjs → skills-5SF5QWNI.mjs} +7 -7
  98. package/dist/cli/skills-MWFRMG3H.js +31 -0
  99. package/dist/cli/{tools-C5ZT3UIC.mjs → tools-3XNZ4J64.mjs} +16 -16
  100. package/dist/cli/tools-XEC4OD3R.js +55 -0
  101. package/dist/cli/{update-ZWJTADIW.mjs → update-3U4OVX5R.mjs} +9 -9
  102. package/dist/cli/update-DWYEYTZE.js +33 -0
  103. package/dist/cli/{workflow-23NMPAJ7.mjs → workflow-2M5JP7SA.mjs} +7 -7
  104. package/dist/cli/{workflow-TCXU5YJV.js → workflow-RM7H7555.js} +17 -17
  105. package/dist/index.js +10 -10
  106. package/dist/index.mjs +7 -7
  107. package/dist/install-integrity.json +96 -96
  108. package/dist/release.d.mts +1 -1
  109. package/dist/release.d.ts +1 -1
  110. package/dist/release.js +2 -2
  111. package/dist/release.mjs +1 -1
  112. package/dist/server.js +5 -5
  113. package/dist/server.mjs +3 -3
  114. package/package.json +1 -1
  115. package/dist/cli/auth-UXKY6TCC.js +0 -41
  116. package/dist/cli/describe-KYEULWPG.js +0 -48
  117. package/dist/cli/git-P76N4NDQ.js +0 -25
  118. package/dist/cli/search-OYKOOI7A.js +0 -32
  119. package/dist/cli/skills-XYWV52KB.js +0 -31
  120. package/dist/cli/tools-ASCDZJCK.js +0 -55
  121. package/dist/cli/update-5RQSEIFM.js +0 -33
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunk3ACMRZRVjs = require('./chunk-3ACMRZRV.js');
4
+ var _chunk5LHXOIPTjs = require('./chunk-5LHXOIPT.js');
5
5
 
6
6
 
7
- var _chunkYT5EODJOjs = require('./chunk-YT5EODJO.js');
7
+ var _chunkYGGIZ3VTjs = require('./chunk-YGGIZ3VT.js');
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
 
@@ -139,7 +139,7 @@ function currentSessionFile(agent) {
139
139
  const newestFirst = listSessionFiles(agent).sort(
140
140
  (a, b) => b.mtimeMs - a.mtimeMs
141
141
  );
142
- const sessionId = _chunkYT5EODJOjs.agentSessionIdFromEnvironment.call(void 0,
142
+ const sessionId = _chunkYGGIZ3VTjs.agentSessionIdFromEnvironment.call(void 0,
143
143
  process.env,
144
144
  agent === "auto" ? void 0 : agent === "claude" ? "claude_code" : "codex"
145
145
  );
@@ -451,7 +451,7 @@ function buildSessionUploadContent(raw) {
451
451
  return { encodedContent: encoded, needsChunking: true };
452
452
  }
453
453
  async function uploadPayload(path, payload) {
454
- const { http } = _chunk3ACMRZRVjs.getAuthedHttpClient.call(void 0, );
454
+ const { http } = _chunk5LHXOIPTjs.getAuthedHttpClient.call(void 0, );
455
455
  return await http.post(path, payload);
456
456
  }
457
457
  async function uploadChunkedSessions(sessions, options) {
@@ -484,7 +484,7 @@ async function uploadChunkedSessions(sessions, options) {
484
484
  ...options.rating ? { rating: options.rating } : {}
485
485
  });
486
486
  const sessionIds = sessions.map((session) => session.sessionId);
487
- _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0,
487
+ _chunk5LHXOIPTjs.printCommandEnvelope.call(void 0,
488
488
  {
489
489
  ...response,
490
490
  ok: true,
@@ -516,7 +516,7 @@ async function handleSessionsSend(options) {
516
516
  filename: _path.basename.call(void 0, filePath),
517
517
  ...rating ? { rating } : {}
518
518
  });
519
- _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0,
519
+ _chunk5LHXOIPTjs.printCommandEnvelope.call(void 0,
520
520
  {
521
521
  ...response2,
522
522
  ok: true,
@@ -566,7 +566,7 @@ async function handleSessionsSend(options) {
566
566
  ...rating ? { rating } : {}
567
567
  });
568
568
  const sessionIds = built.map((session) => session.sessionId);
569
- _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0,
569
+ _chunk5LHXOIPTjs.printCommandEnvelope.call(void 0,
570
570
  {
571
571
  ...response,
572
572
  ok: true,
@@ -674,7 +674,7 @@ ${refreshMeta}
674
674
  </body>
675
675
  </html>`;
676
676
  _fs.writeFileSync.call(void 0, outputPath, html, "utf8");
677
- _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0,
677
+ _chunk5LHXOIPTjs.printCommandEnvelope.call(void 0,
678
678
  {
679
679
  ok: true,
680
680
  file: outputPath,
@@ -11,20 +11,20 @@
11
11
 
12
12
 
13
13
 
14
- var _chunkZGQSFYD2js = require('./chunk-ZGQSFYD2.js');
14
+ var _chunkWUZS2HK6js = require('./chunk-WUZS2HK6.js');
15
15
 
16
16
 
17
- var _chunk3ACMRZRVjs = require('./chunk-3ACMRZRV.js');
17
+ var _chunk5LHXOIPTjs = require('./chunk-5LHXOIPT.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunkY4DPU4OMjs = require('./chunk-Y4DPU4OM.js');
23
+ var _chunkBGNWI3KHjs = require('./chunk-BGNWI3KH.js');
24
24
 
25
25
 
26
26
 
27
- var _chunkYT5EODJOjs = require('./chunk-YT5EODJO.js');
27
+ var _chunkYGGIZ3VTjs = require('./chunk-YGGIZ3VT.js');
28
28
 
29
29
  // src/cli/commands/skills.ts
30
30
  var _child_process = require('child_process');
@@ -77,7 +77,7 @@ function inferActiveSkillsScope(entrypoint = _nullishCoalesce(process.argv[1], (
77
77
  return /[\\/]\.deepline[\\/]runtime[\\/]/.test(entrypoint) ? "local" : "global";
78
78
  }
79
79
  function resolveLocalRoot() {
80
- const target = _chunkY4DPU4OMjs.resolveProjectPinTarget.call(void 0, );
80
+ const target = _chunkBGNWI3KHjs.resolveProjectPinTarget.call(void 0, );
81
81
  if (!target.ok) {
82
82
  throw new Error(
83
83
  `Cowork project folder is ambiguous. Candidate folders: ${target.candidates.join(
@@ -88,7 +88,7 @@ function resolveLocalRoot() {
88
88
  return target.dir;
89
89
  }
90
90
  function detectSkillsAgents(input) {
91
- const runtime = _nullishCoalesce(input.runtime, () => ( _chunkYT5EODJOjs.detectAgentRuntime.call(void 0, )));
91
+ const runtime = _nullishCoalesce(input.runtime, () => ( _chunkYGGIZ3VTjs.detectAgentRuntime.call(void 0, )));
92
92
  const knownAgent = RUNTIME_TO_SKILLS_AGENT[runtime];
93
93
  if (knownAgent) return [knownAgent];
94
94
  const roots = [
@@ -103,11 +103,11 @@ function detectSkillsAgents(input) {
103
103
  return detected.length > 0 ? detected : ["*"];
104
104
  }
105
105
  function skillsStatePathForScope(baseUrl, scope, root) {
106
- return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkY4DPU4OMjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
106
+ return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkBGNWI3KHjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
107
107
  }
108
108
  function buildSkillsPlan(input) {
109
109
  const scopeArgs = input.scope === "global" ? ["--global"] : [];
110
- const legacyNames = [..._chunkZGQSFYD2js.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
110
+ const legacyNames = [..._chunkWUZS2HK6js.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
111
111
  (a, b) => a.localeCompare(b)
112
112
  );
113
113
  return {
@@ -121,7 +121,7 @@ function buildSkillsPlan(input) {
121
121
  args: [
122
122
  "exec",
123
123
  "--yes",
124
- `--package=${_chunkZGQSFYD2js.SKILLS_NPX_PACKAGE}`,
124
+ `--package=${_chunkWUZS2HK6js.SKILLS_NPX_PACKAGE}`,
125
125
  "--",
126
126
  "skills",
127
127
  "remove",
@@ -137,11 +137,11 @@ function buildSkillsPlan(input) {
137
137
  args: [
138
138
  "exec",
139
139
  "--yes",
140
- `--package=${_chunkZGQSFYD2js.SKILLS_NPX_PACKAGE}`,
140
+ `--package=${_chunkWUZS2HK6js.SKILLS_NPX_PACKAGE}`,
141
141
  "--",
142
142
  "skills",
143
143
  "add",
144
- _chunkZGQSFYD2js.skillsSourceUrl.call(void 0, input.baseUrl),
144
+ _chunkWUZS2HK6js.skillsSourceUrl.call(void 0, input.baseUrl),
145
145
  "--agent",
146
146
  ...input.agents,
147
147
  ...scopeArgs,
@@ -178,7 +178,7 @@ function readSkillsInstallState(path) {
178
178
  }
179
179
  function runProcess(command, args, cwd) {
180
180
  return new Promise((resolve, reject) => {
181
- const plan = _chunkZGQSFYD2js.resolveShellSpawn.call(void 0,
181
+ const plan = _chunkWUZS2HK6js.resolveShellSpawn.call(void 0,
182
182
  command,
183
183
  args,
184
184
  process.platform,
@@ -200,7 +200,7 @@ function runProcess(command, args, cwd) {
200
200
  child.kill("SIGTERM");
201
201
  reject(
202
202
  new Error(
203
- `${_chunkZGQSFYD2js.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
203
+ `${_chunkWUZS2HK6js.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
204
204
  )
205
205
  );
206
206
  }, SKILLS_PROCESS_TIMEOUT_MS);
@@ -211,7 +211,7 @@ function runProcess(command, args, cwd) {
211
211
  child.once("close", (code) => {
212
212
  clearTimeout(timeout);
213
213
  if (code && stderr.trim()) {
214
- process.stderr.write(`${_chunkZGQSFYD2js.SKILLS_NPX_PACKAGE} exited ${code}.
214
+ process.stderr.write(`${_chunkWUZS2HK6js.SKILLS_NPX_PACKAGE} exited ${code}.
215
215
  `);
216
216
  }
217
217
  resolve(_nullishCoalesce(code, () => ( 1)));
@@ -225,7 +225,7 @@ async function runSkillsCommand(options, dependencies = {}) {
225
225
  scope = normalizeScope(options.scope);
226
226
  root = scope === "local" ? resolveLocalRoot() : null;
227
227
  } catch (error) {
228
- _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0,
228
+ _chunk5LHXOIPTjs.printCommandEnvelope.call(void 0,
229
229
  {
230
230
  ok: false,
231
231
  status: "failed",
@@ -237,22 +237,22 @@ async function runSkillsCommand(options, dependencies = {}) {
237
237
  );
238
238
  return 2;
239
239
  }
240
- const baseUrl = _chunkY4DPU4OMjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
240
+ const baseUrl = _chunkBGNWI3KHjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
241
241
  const catalog = {
242
- skillNames: [..._chunkZGQSFYD2js.DEFAULT_SDK_SKILL_NAMES],
243
- version: _chunkYT5EODJOjs.SDK_VERSION
242
+ skillNames: [..._chunkWUZS2HK6js.DEFAULT_SDK_SKILL_NAMES],
243
+ version: _chunkYGGIZ3VTjs.SDK_VERSION
244
244
  };
245
245
  const agents = options.agent ? [options.agent] : detectSkillsAgents({ scope, root });
246
246
  const plan = buildSkillsPlan({ baseUrl, scope, root, agents, ...catalog });
247
247
  if (options.dryRun) {
248
- _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0,
248
+ _chunk5LHXOIPTjs.printCommandEnvelope.call(void 0,
249
249
  { ok: true, status: "planned", dryRun: true, ...plan },
250
250
  { json: options.json }
251
251
  );
252
252
  return 0;
253
253
  }
254
- if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkZGQSFYD2js.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
255
- _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0,
254
+ if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkWUZS2HK6js.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
255
+ _chunk5LHXOIPTjs.printCommandEnvelope.call(void 0,
256
256
  {
257
257
  ok: true,
258
258
  status: "current",
@@ -284,10 +284,10 @@ async function runSkillsCommand(options, dependencies = {}) {
284
284
  }
285
285
  if (scope === "local" && root) {
286
286
  const managedNames = [
287
- .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkZGQSFYD2js.LEGACY_SKILL_NAMES_TO_REMOVE])
287
+ .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkWUZS2HK6js.LEGACY_SKILL_NAMES_TO_REMOVE])
288
288
  ];
289
289
  const agentRoots = workspaceSkillRootsForAgents(plan.agents);
290
- _chunkY4DPU4OMjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
290
+ _chunkBGNWI3KHjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
291
291
  ".deepline/",
292
292
  ...agentRoots.flatMap(
293
293
  (agentRoot) => managedNames.map((name) => `${agentRoot}/skills/${name}/`)
@@ -296,7 +296,7 @@ async function runSkillsCommand(options, dependencies = {}) {
296
296
  }
297
297
  let lease;
298
298
  try {
299
- lease = scope === "global" ? await _chunkZGQSFYD2js.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
299
+ lease = scope === "global" ? await _chunkWUZS2HK6js.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
300
300
  waitMs: _nullishCoalesce(dependencies.installLeaseWaitMs, () => ( SKILLS_INSTALL_LEASE_WAIT_MS)),
301
301
  onWait: () => process.stderr.write(
302
302
  "Waiting for a background Deepline skills refresh to finish...\n"
@@ -304,8 +304,8 @@ async function runSkillsCommand(options, dependencies = {}) {
304
304
  }) : { release: () => {
305
305
  } };
306
306
  } catch (error) {
307
- if (!(error instanceof _chunkZGQSFYD2js.SkillsStateUnavailableError)) throw error;
308
- _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0,
307
+ if (!(error instanceof _chunkWUZS2HK6js.SkillsStateUnavailableError)) throw error;
308
+ _chunk5LHXOIPTjs.printCommandEnvelope.call(void 0,
309
309
  {
310
310
  ok: false,
311
311
  status: "failed",
@@ -321,7 +321,7 @@ async function runSkillsCommand(options, dependencies = {}) {
321
321
  return 5;
322
322
  }
323
323
  if (!lease) {
324
- _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0,
324
+ _chunk5LHXOIPTjs.printCommandEnvelope.call(void 0,
325
325
  {
326
326
  ok: false,
327
327
  status: "failed",
@@ -330,7 +330,7 @@ async function runSkillsCommand(options, dependencies = {}) {
330
330
  scope,
331
331
  agents,
332
332
  message: "A background Deepline skills refresh is still running for these agents.",
333
- next: `Retry in a moment: deepline skills --scope ${scope}. If no refresh is running, remove ${_chunkZGQSFYD2js.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
333
+ next: `Retry in a moment: deepline skills --scope ${scope}. If no refresh is running, remove ${_chunkWUZS2HK6js.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
334
334
  },
335
335
  { json: options.json }
336
336
  );
@@ -367,7 +367,7 @@ async function runSkillsInstallWithLease(input) {
367
367
  throw new Error("Could not install the current Deepline skills.");
368
368
  }
369
369
  } catch (error) {
370
- _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0,
370
+ _chunk5LHXOIPTjs.printCommandEnvelope.call(void 0,
371
371
  {
372
372
  ok: false,
373
373
  status: "failed",
@@ -406,7 +406,7 @@ async function runSkillsInstallWithLease(input) {
406
406
  {
407
407
  schemaVersion: 1,
408
408
  installedAt: (/* @__PURE__ */ new Date()).toISOString(),
409
- cliVersion: _chunkYT5EODJOjs.SDK_VERSION,
409
+ cliVersion: _chunkYGGIZ3VTjs.SDK_VERSION,
410
410
  scope,
411
411
  agents,
412
412
  skillsVersion: plan.version,
@@ -419,9 +419,9 @@ async function runSkillsInstallWithLease(input) {
419
419
  "utf8"
420
420
  );
421
421
  if (scope === "global") {
422
- _chunkZGQSFYD2js.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
422
+ _chunkWUZS2HK6js.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
423
423
  }
424
- _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0,
424
+ _chunk5LHXOIPTjs.printCommandEnvelope.call(void 0,
425
425
  {
426
426
  ok: true,
427
427
  status: "complete",
@@ -452,7 +452,7 @@ function registerSkillsCommand(program) {
452
452
  "after",
453
453
  `
454
454
  Notes:
455
- This command reinstalls current Deepline-managed skills using ${_chunkZGQSFYD2js.SKILLS_NPX_PACKAGE},
455
+ This command reinstalls current Deepline-managed skills using ${_chunkWUZS2HK6js.SKILLS_NPX_PACKAGE},
456
456
  then removes legacy Deepline skill names. Local scope writes into the resolved
457
457
  persistent project.
458
458
 
@@ -464,13 +464,13 @@ Examples:
464
464
  ).action(async (options) => {
465
465
  process.exitCode = await runSkillsCommand(options);
466
466
  });
467
- program.command(_chunkZGQSFYD2js.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
467
+ program.command(_chunkWUZS2HK6js.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
468
468
  "--claim <token>",
469
469
  "Owner token of the leases this child was started for."
470
470
  ).action(async (options) => {
471
471
  const claim = _optionalChain([options, 'access', _ => _.claim, 'optionalAccess', _2 => _2.trim, 'call', _3 => _3()]);
472
472
  if (!claim) {
473
- _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0,
473
+ _chunk5LHXOIPTjs.printCommandEnvelope.call(void 0,
474
474
  {
475
475
  ok: false,
476
476
  status: "failed",
@@ -483,7 +483,7 @@ Examples:
483
483
  process.exitCode = 2;
484
484
  return;
485
485
  }
486
- await _chunkZGQSFYD2js.syncSdkSkillsIfNeeded.call(void 0, _chunkY4DPU4OMjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
486
+ await _chunkWUZS2HK6js.syncSdkSkillsIfNeeded.call(void 0, _chunkBGNWI3KHjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
487
487
  mode: "inline",
488
488
  notices: "defer",
489
489
  claim
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-UDRPEZ5F.mjs";
3
+ } from "./chunk-RD6IQ2JY.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-D6DXOUTO.mjs";
7
+ } from "./chunk-F2RHUPVH.mjs";
8
8
 
9
9
  // src/client.ts
10
10
  var DeeplineClient2 = class extends DeeplineClient {
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-NHRWZPWZ.mjs";
5
+ } from "./chunk-WUMIYOXQ.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-D6DXOUTO.mjs";
8
+ } from "./chunk-F2RHUPVH.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkULK7JGGIjs = require('./chunk-ULK7JGGI.js');
3
+ var _chunkJVDKZJUHjs = require('./chunk-JVDKZJUH.js');
4
4
 
5
5
 
6
- var _chunk7SWNPNMLjs = require('./chunk-7SWNPNML.js');
6
+ var _chunkRGOUCIIZjs = require('./chunk-RGOUCIIZ.js');
7
7
 
8
8
 
9
9
 
@@ -14,10 +14,10 @@ var _chunkXQCTG5OOjs = require('./chunk-XQCTG5OO.js');
14
14
  var _chunkIAYSWZDJjs = require('./chunk-IAYSWZDJ.js');
15
15
 
16
16
 
17
- var _chunkJF3TLIMQjs = require('./chunk-JF3TLIMQ.js');
17
+ var _chunkSKU6ECIYjs = require('./chunk-SKU6ECIY.js');
18
18
 
19
19
 
20
- var _chunk3ACMRZRVjs = require('./chunk-3ACMRZRV.js');
20
+ var _chunk5LHXOIPTjs = require('./chunk-5LHXOIPT.js');
21
21
 
22
22
  // src/cli/commands/describe.ts
23
23
  var _fs = require('fs');
@@ -26,16 +26,16 @@ function nothingNamed(name) {
26
26
  return `Nothing named "${name}". Search for it: deepline search ${JSON.stringify(name.replace(/[-_./]+/g, " "))}`;
27
27
  }
28
28
  function findNamed2(name, options) {
29
- return _chunkXQCTG5OOjs.findNamed.call(void 0, name, options, _chunkXQCTG5OOjs.describeLookupsFor.call(void 0, new (0, _chunkJF3TLIMQjs.DeeplineClient)()));
29
+ return _chunkXQCTG5OOjs.findNamed.call(void 0, name, options, _chunkXQCTG5OOjs.describeLookupsFor.call(void 0, new (0, _chunkSKU6ECIYjs.DeeplineClient)()));
30
30
  }
31
31
  async function describeAnything(name, options, onMissing) {
32
- const client = new (0, _chunkJF3TLIMQjs.DeeplineClient)();
32
+ const client = new (0, _chunkSKU6ECIYjs.DeeplineClient)();
33
33
  const lookups = _chunkXQCTG5OOjs.describeLookupsFor.call(void 0, client);
34
34
  const outcome = await _chunkXQCTG5OOjs.describeName.call(void 0, name, options, {
35
35
  ...lookups,
36
36
  // `tools describe` has already fetched the tool for its compatibility check.
37
37
  tool: async (toolName) => _nullishCoalesce(options.fetchedTool, () => ( lookups.tool(toolName))),
38
- seedStarterScript: _chunkULK7JGGIjs.seedToolListScript
38
+ seedStarterScript: _chunkJVDKZJUHjs.seedToolListScript
39
39
  });
40
40
  if (outcome.status === "missing") {
41
41
  if (onMissing) return onMissing();
@@ -60,18 +60,18 @@ function deliver(envelope, lines, { json, out }) {
60
60
  ` : text;
61
61
  _fs.writeFileSync.call(void 0, path, content);
62
62
  const bytes = Buffer.byteLength(content);
63
- _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0,
63
+ _chunk5LHXOIPTjs.printCommandEnvelope.call(void 0,
64
64
  { path, bytes },
65
65
  { json, text: `Wrote ${path} (${bytes} bytes)
66
66
  ` }
67
67
  );
68
68
  return 0;
69
69
  }
70
- _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0, envelope, { json, text });
70
+ _chunk5LHXOIPTjs.printCommandEnvelope.call(void 0, envelope, { json, text });
71
71
  return 0;
72
72
  }
73
73
  function registerDescribeCommand(program) {
74
- _chunk7SWNPNMLjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
74
+ _chunkRGOUCIIZjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
75
75
  "Describe anything search returns: a tool, monitor type, or play."
76
76
  ).addHelpText(
77
77
  "after",
@@ -26,7 +26,7 @@ import {
26
26
  RETAINED_PIPELINE_RECEIVERS_HEADER,
27
27
  RUNTIME_ENVIRONMENT_TOKEN_HEADER,
28
28
  SDK_API_MAJOR
29
- } from "./chunk-6RNQGWFD.mjs";
29
+ } from "./chunk-I624J4H5.mjs";
30
30
  import {
31
31
  CustomerDbQueryOutcomeUnknownError
32
32
  } from "./chunk-4QF2K7TM.mjs";
@@ -6,7 +6,7 @@ var _chunkIAYSWZDJjs = require('./chunk-IAYSWZDJ.js');
6
6
 
7
7
 
8
8
 
9
- var _chunk3ACMRZRVjs = require('./chunk-3ACMRZRV.js');
9
+ var _chunk5LHXOIPTjs = require('./chunk-5LHXOIPT.js');
10
10
 
11
11
  // src/cli/describe-options.ts
12
12
  function addDescribeOptions(command, options = {}) {
@@ -247,7 +247,7 @@ function projectRunDatasetCell(value) {
247
247
  const logicalValue = parseSerializedDatasetValue(value);
248
248
  if (logicalValue === null || logicalValue === void 0) return logicalValue;
249
249
  if (typeof logicalValue === "object") {
250
- return _chunk3ACMRZRVjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
250
+ return _chunk5LHXOIPTjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
251
251
  }
252
252
  return logicalValue;
253
253
  }
@@ -642,7 +642,7 @@ function csvText(rows, columns = []) {
642
642
  rows: rows.map((row) => record(row) ? row : { value: row }),
643
643
  columns
644
644
  });
645
- return _chunk3ACMRZRVjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
645
+ return _chunk5LHXOIPTjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
646
646
  }
647
647
  function writeExecutionOutput(result, options) {
648
648
  let temp;
@@ -4,20 +4,20 @@ import {
4
4
  resolveUpdatePlan,
5
5
  runAutomaticUpdatePlan,
6
6
  shouldRunCliAutoUpdate
7
- } from "./chunk-PHSEINNH.mjs";
7
+ } from "./chunk-3U5EAP6E.mjs";
8
8
  import {
9
9
  isCiEnvironment
10
- } from "./chunk-S42YIQNE.mjs";
10
+ } from "./chunk-UIURR26V.mjs";
11
11
  import {
12
12
  addJsonNotice,
13
13
  isJsonOutputMode
14
- } from "./chunk-NHRWZPWZ.mjs";
14
+ } from "./chunk-WUMIYOXQ.mjs";
15
15
  import {
16
16
  resolveApiKeyForBaseUrl
17
- } from "./chunk-D6DXOUTO.mjs";
17
+ } from "./chunk-F2RHUPVH.mjs";
18
18
  import {
19
19
  SDK_VERSION
20
- } from "./chunk-6RNQGWFD.mjs";
20
+ } from "./chunk-I624J4H5.mjs";
21
21
 
22
22
  // src/cli/compatibility-catalog.ts
23
23
  var readers = /* @__PURE__ */ new WeakMap();
@@ -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 _chunkBGTPIMSMjs = require('./chunk-BGTPIMSM.js');
3
+ var _chunkUC4SFYNUjs = require('./chunk-UC4SFYNU.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkY4DPU4OMjs = require('./chunk-Y4DPU4OM.js');
7
+ var _chunkBGNWI3KHjs = require('./chunk-BGNWI3KH.js');
8
8
 
9
9
  // src/client.ts
10
- var DeeplineClient2 = class extends _chunkBGTPIMSMjs.DeeplineClient {
10
+ var DeeplineClient2 = class extends _chunkUC4SFYNUjs.DeeplineClient {
11
11
  constructor(options) {
12
- const config = _chunkY4DPU4OMjs.resolveConfig.call(void 0, options);
13
- super(config, new (0, _chunkY4DPU4OMjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
12
+ const config = _chunkBGNWI3KHjs.resolveConfig.call(void 0, options);
13
+ super(config, new (0, _chunkBGNWI3KHjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
14
14
  }
15
15
  };
16
16
 
@@ -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 _chunkOMQ23IXLjs = require('./chunk-OMQ23IXL.js');
4
+ var _chunk7FCYPAPPjs = require('./chunk-7FCYPAPP.js');
5
5
 
6
6
 
7
- var _chunkVFGVXXZPjs = require('./chunk-VFGVXXZP.js');
7
+ var _chunkNDHJR2WZjs = require('./chunk-NDHJR2WZ.js');
8
8
 
9
9
 
10
- var _chunkZGQSFYD2js = require('./chunk-ZGQSFYD2.js');
10
+ var _chunkWUZS2HK6js = require('./chunk-WUZS2HK6.js');
11
11
 
12
12
 
13
- var _chunk3ACMRZRVjs = require('./chunk-3ACMRZRV.js');
13
+ var _chunk5LHXOIPTjs = require('./chunk-5LHXOIPT.js');
14
14
 
15
15
 
16
- var _chunkY4DPU4OMjs = require('./chunk-Y4DPU4OM.js');
16
+ var _chunkBGNWI3KHjs = require('./chunk-BGNWI3KH.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 = _chunkZGQSFYD2js.resolveShellSpawn.call(void 0,
498
+ const plan = _chunkWUZS2HK6js.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 ? _chunkOMQ23IXLjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
- const npmGlobalInstallFlags = _chunkOMQ23IXLjs.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 ? _chunk7FCYPAPPjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
+ const npmGlobalInstallFlags = _chunk7FCYPAPPjs.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()]) || _chunkY4DPU4OMjs.autoDetectBaseUrl.call(void 0, )
570
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkBGNWI3KHjs.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 = _chunkZGQSFYD2js.resolveShellSpawn.call(void 0, command, args, process.platform, env);
819
+ const plan = _chunkWUZS2HK6js.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, () => ( _chunkY4DPU4OMjs.autoDetectBaseUrl));
1202
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkBGNWI3KHjs.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 _chunkVFGVXXZPjs.runSkillsCommand.call(void 0, { json: true });
1209
+ const exitCode = await _chunkNDHJR2WZjs.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
- _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1280
+ _chunk5LHXOIPTjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1281
1281
  return 0;
1282
1282
  }
1283
1283
  if (options.printCommand) {
1284
- _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0,
1284
+ _chunk5LHXOIPTjs.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
- _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1297
+ _chunk5LHXOIPTjs.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
1324
1324
  );
1325
1325
  }
1326
1326
  if (options.executeWithJson && options.json) {
1327
- _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0,
1327
+ _chunk5LHXOIPTjs.printCommandEnvelope.call(void 0,
1328
1328
  {
1329
1329
  ok: true,
1330
1330
  pinnedVersion
@@ -26,7 +26,7 @@ var _chunkNMU3VR5Ujs = require('./chunk-NMU3VR5U.js');
26
26
 
27
27
 
28
28
 
29
- var _chunkYT5EODJOjs = require('./chunk-YT5EODJO.js');
29
+ var _chunkYGGIZ3VTjs = require('./chunk-YGGIZ3VT.js');
30
30
 
31
31
 
32
32
  var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
@@ -647,7 +647,7 @@ var ToolCalls = class {
647
647
  idempotencyKey,
648
648
  onResponse: (response2) => {
649
649
  lastResponse = null;
650
- atomicToolsSupported = response2.headers.get(_chunkYT5EODJOjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
650
+ atomicToolsSupported = response2.headers.get(_chunkYGGIZ3VTjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
651
651
  recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
652
652
  if (_optionalChain([options, 'optionalAccess', _30 => _30.onServerTiming])) {
653
653
  try {
@@ -1026,8 +1026,8 @@ function runtimeSelectionHeaders(runtime, env) {
1026
1026
  }
1027
1027
  const receivers = _optionalChain([env, 'access', _52 => _52.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _53 => _53.trim, 'call', _54 => _54()]);
1028
1028
  return {
1029
- [_chunkYT5EODJOjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1030
- ...receivers ? { [_chunkYT5EODJOjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1029
+ [_chunkYGGIZ3VTjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1030
+ ...receivers ? { [_chunkYGGIZ3VTjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1031
1031
  };
1032
1032
  }
1033
1033
  function normalizeTestPolicyOverrides(value, source) {
@@ -1098,7 +1098,7 @@ var PlayClient = class {
1098
1098
  return _chunkJKVRBCZLjs.startPlayRun.call(void 0,
1099
1099
  this.http,
1100
1100
  resolved.request,
1101
- _optionalChain([options, 'optionalAccess', _62 => _62.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkYT5EODJOjs.SDK_API_MAJOR) } : headers,
1101
+ _optionalChain([options, 'optionalAccess', _62 => _62.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkYGGIZ3VTjs.SDK_API_MAJOR) } : headers,
1102
1102
  options
1103
1103
  );
1104
1104
  }
@@ -3175,7 +3175,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
3175
3175
  "RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
3176
3176
  );
3177
3177
  }
3178
- return { [_chunkYT5EODJOjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3178
+ return { [_chunkYGGIZ3VTjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3179
3179
  }
3180
3180
  function sleep(ms) {
3181
3181
  return new Promise((resolve) => setTimeout(resolve, ms));