deepline 0.3.561 → 0.3.562

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 (136) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +12 -0
  3. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/early-sandbox.ts +24 -2
  4. package/dist/cli/auth-FM3JO6FN.js +44 -0
  5. package/dist/cli/{auth-3WPN7C5X.mjs → auth-OFHWBJ2W.mjs} +5 -5
  6. package/dist/cli/{billing-DOHRRK73.js → billing-BORJ3ZHJ.js} +99 -99
  7. package/dist/cli/{billing-NCTL4WRP.mjs → billing-PPOC7TAY.mjs} +8 -8
  8. package/dist/cli/{chunk-K72PGYSH.js → chunk-3BV2OD25.js} +48 -48
  9. package/dist/cli/{chunk-O5TXP65R.mjs → chunk-3OJLUVOS.mjs} +1 -1
  10. package/dist/cli/{chunk-AH5T5LX2.js → chunk-4O47WP3B.js} +26 -26
  11. package/dist/cli/{chunk-M4ZL2H5B.js → chunk-5COJEZSB.js} +4 -4
  12. package/dist/cli/{chunk-HLWNMRSF.mjs → chunk-5KMZR36E.mjs} +1 -1
  13. package/dist/cli/{chunk-DSOQL4ZF.js → chunk-5NGS4RLF.js} +23 -23
  14. package/dist/cli/{chunk-GCBXXN4P.mjs → chunk-5VXK34DQ.mjs} +5 -5
  15. package/dist/cli/{chunk-T5WVODJY.mjs → chunk-5XS5BTMC.mjs} +4 -4
  16. package/dist/cli/{chunk-EAU5JJXS.mjs → chunk-5YQVEV7I.mjs} +5 -5
  17. package/dist/cli/{chunk-3CZLPUBB.js → chunk-6BGEW3KU.js} +20 -20
  18. package/dist/cli/{chunk-QO5MVJWJ.mjs → chunk-7DRCIDPW.mjs} +3 -3
  19. package/dist/cli/{chunk-PSXPGRZK.js → chunk-7HFWEQ6Y.js} +2 -2
  20. package/dist/cli/{chunk-XFEBBBYA.js → chunk-7IHSJ3RD.js} +53 -53
  21. package/dist/cli/{chunk-BIIKWKTD.mjs → chunk-AAIYXQRJ.mjs} +2 -2
  22. package/dist/cli/{chunk-OML66OOS.js → chunk-AASSDBQ3.js} +2 -2
  23. package/dist/cli/{chunk-XDTI5HF7.js → chunk-CIEMDAJE.js} +100 -100
  24. package/dist/cli/{chunk-I4FFGMIQ.mjs → chunk-EHUUHKWY.mjs} +5 -5
  25. package/dist/cli/{chunk-X6IDT5II.js → chunk-EVZDU7CF.js} +3 -3
  26. package/dist/cli/{chunk-S4WTJQEJ.mjs → chunk-GAMCJW6E.mjs} +1 -1
  27. package/dist/cli/{chunk-ZFTQYCMB.js → chunk-GAN6UYEN.js} +5 -5
  28. package/dist/cli/{chunk-5TWCVY3S.js → chunk-GH5R65SB.js} +12 -12
  29. package/dist/cli/{chunk-JNI4353Z.mjs → chunk-GWJ4EOW2.mjs} +11 -11
  30. package/dist/cli/{chunk-PLQ4OMYO.js → chunk-IQJQB7J6.js} +1 -1
  31. package/dist/cli/{chunk-CUU5CL3V.js → chunk-J5P7VGV5.js} +20 -20
  32. package/dist/cli/{chunk-5FJGP5NZ.mjs → chunk-J7XEUV5W.mjs} +2 -2
  33. package/dist/cli/{chunk-CCRGOHC2.mjs → chunk-KJDS2X5S.mjs} +2 -2
  34. package/dist/cli/{chunk-7HGJKBNU.mjs → chunk-L4KUAJFR.mjs} +1 -1
  35. package/dist/cli/{chunk-RSFBTSJZ.js → chunk-LJXFCEP2.js} +41 -41
  36. package/dist/cli/{chunk-GPGNBG3E.mjs → chunk-LK4LR4K7.mjs} +3 -3
  37. package/dist/cli/{chunk-MTD7OXGL.mjs → chunk-LXL7OZOG.mjs} +1 -1
  38. package/dist/cli/{chunk-NGIQXZIE.js → chunk-P6XJRHLF.js} +7 -7
  39. package/dist/cli/{chunk-F5XQN6PU.js → chunk-PDHLHEUL.js} +2 -2
  40. package/dist/cli/{chunk-OBQOFQX2.mjs → chunk-QC3NTBF7.mjs} +5 -5
  41. package/dist/cli/{chunk-4OITRR2V.js → chunk-QWB4VW4T.js} +13 -13
  42. package/dist/cli/{chunk-XKYNEKG2.js → chunk-R5PPP3JU.js} +5 -5
  43. package/dist/cli/{chunk-6EJOADKB.js → chunk-RFB52LP5.js} +8 -8
  44. package/dist/cli/{chunk-JKBSEUFN.mjs → chunk-RKB536LB.mjs} +2 -2
  45. package/dist/cli/{chunk-HSRYGNCA.js → chunk-RYWWBTDB.js} +3 -3
  46. package/dist/cli/{chunk-IEVV72X5.mjs → chunk-SQFWIUNP.mjs} +4 -4
  47. package/dist/cli/{chunk-PQLQ2YV7.mjs → chunk-UC2ATYB3.mjs} +2 -2
  48. package/dist/cli/{chunk-AEIRQFS3.mjs → chunk-USA6QRDO.mjs} +1 -1
  49. package/dist/cli/{chunk-JV3WBT3X.js → chunk-UVZQR7I6.js} +5 -5
  50. package/dist/cli/{chunk-LRQZ2XO5.mjs → chunk-UZ4ELBHM.mjs} +2 -2
  51. package/dist/cli/{chunk-JRQDDQLZ.mjs → chunk-WDKU7NOR.mjs} +1 -1
  52. package/dist/cli/{chunk-GITMBBDH.mjs → chunk-WFVL6A7I.mjs} +1 -1
  53. package/dist/cli/{chunk-EN36QYE7.mjs → chunk-XHZFA67G.mjs} +1 -1
  54. package/dist/cli/{chunk-42RBMROP.mjs → chunk-YAXYFPBF.mjs} +2 -2
  55. package/dist/cli/{chunk-2YNYWHBI.js → chunk-YB6N6WKX.js} +10 -10
  56. package/dist/cli/{chunk-3VBYUQ4G.js → chunk-YT4WIYFT.js} +9 -9
  57. package/dist/cli/{chunk-65L4IL3E.js → chunk-YX47WHVT.js} +6 -6
  58. package/dist/cli/{chunk-OTOID2SE.js → chunk-Z2FC6UQQ.js} +15 -15
  59. package/dist/cli/{chunk-SBUFCQ3W.mjs → chunk-ZQLEEOZR.mjs} +2 -2
  60. package/dist/cli/{concurrent-runs-help-YGCPBET7.mjs → concurrent-runs-help-IRM4PNIE.mjs} +6 -6
  61. package/dist/cli/concurrent-runs-help-RGKC4GDM.js +22 -0
  62. package/dist/cli/{csv-FWL7B2BV.mjs → csv-6T4CONXY.mjs} +4 -4
  63. package/dist/cli/{csv-QEDNA7FG.js → csv-UEFHJV5P.js} +13 -13
  64. package/dist/cli/{db-RJEX3BRW.mjs → db-P6SN3JUE.mjs} +6 -6
  65. package/dist/cli/{db-SRNS2IET.js → db-PNDYQRRC.js} +27 -27
  66. package/dist/cli/describe-DDP4Q7SK.js +50 -0
  67. package/dist/cli/{describe-N7EFSCTT.mjs → describe-U2ZIQ4JH.mjs} +18 -18
  68. package/dist/cli/{executions-FVZYM5X7.js → executions-7AOZES2Z.js} +8 -8
  69. package/dist/cli/{executions-UIB2VWM3.mjs → executions-WELIUVIV.mjs} +6 -6
  70. package/dist/cli/{feedback-2UFZ73PJ.mjs → feedback-66WWUWIR.mjs} +6 -6
  71. package/dist/cli/{feedback-4DPMGP54.js → feedback-XTTK5GLD.js} +14 -14
  72. package/dist/cli/git-53OSBVPB.js +26 -0
  73. package/dist/cli/{git-LBADM335.mjs → git-S23WMQAB.mjs} +5 -5
  74. package/dist/cli/index.js +143 -143
  75. package/dist/cli/index.mjs +45 -45
  76. package/dist/cli/{integrations-2MLNXLEQ.mjs → integrations-DEHG2ILN.mjs} +7 -7
  77. package/dist/cli/{integrations-YNXYTLOA.js → integrations-MPKN5JRT.js} +20 -20
  78. package/dist/cli/{legacy-noops-MLULOC4E.mjs → legacy-noops-7TU2COQH.mjs} +6 -6
  79. package/dist/cli/{legacy-noops-KZ4TWNLG.js → legacy-noops-IKVIOTDJ.js} +9 -9
  80. package/dist/cli/{mcp-B3KGTSQW.js → mcp-5ZFZKBX2.js} +24 -24
  81. package/dist/cli/{mcp-LBP6ZNGI.mjs → mcp-BGUKF2AA.mjs} +4 -4
  82. package/dist/cli/{monitors-IUJPNNJJ.mjs → monitors-2QZUTM7K.mjs} +7 -7
  83. package/dist/cli/{monitors-7OB3JGLF.js → monitors-EUSWYOUL.js} +100 -100
  84. package/dist/cli/{org-4BJVKLJ4.mjs → org-FDA5EGQC.mjs} +6 -6
  85. package/dist/cli/{org-ZETP5SLA.js → org-W4S2QIOX.js} +121 -121
  86. package/dist/cli/{outcomes-4IH5QXAA.mjs → outcomes-KZ7SM5TM.mjs} +6 -6
  87. package/dist/cli/{outcomes-XZLWT7OK.js → outcomes-WF34PZAX.js} +14 -14
  88. package/dist/cli/{play-QGYAHOX6.mjs → play-XHHJYBBZ.mjs} +19 -19
  89. package/dist/cli/{play-KMXUSZ3W.js → play-XYJBKWRX.js} +324 -324
  90. package/dist/cli/{providers-A4FNCWOJ.js → providers-SCT2LUCO.js} +9 -9
  91. package/dist/cli/{providers-LXMG2WMM.mjs → providers-WHPZMDA6.mjs} +6 -6
  92. package/dist/cli/{quickstart-BRN25JX5.js → quickstart-IXLB34QZ.js} +6 -6
  93. package/dist/cli/{quickstart-3L4ZMV5Y.mjs → quickstart-L45XFREM.mjs} +4 -4
  94. package/dist/cli/{run-36GX6EWC.js → run-EZCUNFI7.js} +44 -44
  95. package/dist/cli/{run-P3WFKNPE.mjs → run-SAWTV6NP.mjs} +23 -23
  96. package/dist/cli/{search-SEQFDQKQ.mjs → search-GW2P4KNN.mjs} +7 -7
  97. package/dist/cli/search-S5KQIDCG.js +32 -0
  98. package/dist/cli/{search-output-I5U5EI75.mjs → search-output-ASU6D6XX.mjs} +4 -4
  99. package/dist/cli/{search-output-Y32YHSQ3.js → search-output-WRDJJFBW.js} +6 -6
  100. package/dist/cli/{secrets-DH46W2VF.js → secrets-AAV7JKPF.js} +15 -15
  101. package/dist/cli/{secrets-OIXJK4E4.mjs → secrets-N5EAETGP.mjs} +6 -6
  102. package/dist/cli/sessions-H33DKDTF.js +23 -0
  103. package/dist/cli/{sessions-OADAVWXU.mjs → sessions-WYISBB4D.mjs} +6 -6
  104. package/dist/cli/{settings-DNJBXD5N.js → settings-WOIN3AIB.js} +85 -85
  105. package/dist/cli/{settings-2N5IJ7CZ.mjs → settings-X7BTX2N3.mjs} +12 -12
  106. package/dist/cli/{setup-5LLJ77BQ.mjs → setup-APLGF5BY.mjs} +9 -9
  107. package/dist/cli/{setup-KKZXSKN6.js → setup-J3RS6UKU.js} +49 -49
  108. package/dist/cli/skills-7PT2KDQN.js +37 -0
  109. package/dist/cli/{skills-U76N7CTT.mjs → skills-UGPVOIYQ.mjs} +7 -7
  110. package/dist/cli/{tools-4US4UIIT.mjs → tools-6WNR75VQ.mjs} +17 -17
  111. package/dist/cli/tools-Q2PVYNUE.js +57 -0
  112. package/dist/cli/update-C64JFIMU.js +37 -0
  113. package/dist/cli/{update-AH44HYX7.mjs → update-XG2EJRAG.mjs} +9 -9
  114. package/dist/cli/{views-HOCGYKC5.js → views-FSB6OV5N.js} +21 -21
  115. package/dist/cli/{views-YJAFUL2K.mjs → views-LUNVYDBY.mjs} +6 -6
  116. package/dist/cli/{workflow-ZNP5BLMJ.js → workflow-RWTUI4GA.js} +17 -17
  117. package/dist/cli/{workflow-UCVXUIRX.mjs → workflow-TEJ7J2EQ.mjs} +7 -7
  118. package/dist/index.js +9 -9
  119. package/dist/index.mjs +6 -6
  120. package/dist/install-integrity.json +112 -112
  121. package/dist/release.d.mts +1 -1
  122. package/dist/release.d.ts +1 -1
  123. package/dist/release.js +2 -2
  124. package/dist/release.mjs +1 -1
  125. package/dist/server.js +5 -5
  126. package/dist/server.mjs +3 -3
  127. package/package.json +1 -1
  128. package/dist/cli/auth-3NPCF7CL.js +0 -44
  129. package/dist/cli/concurrent-runs-help-HWDISMIC.js +0 -22
  130. package/dist/cli/describe-OHO4OETQ.js +0 -50
  131. package/dist/cli/git-6AKXBYB7.js +0 -26
  132. package/dist/cli/search-EEJ2VPS3.js +0 -32
  133. package/dist/cli/sessions-UJVLZK2H.js +0 -23
  134. package/dist/cli/skills-HRGWKTL6.js +0 -37
  135. package/dist/cli/tools-RTNCLQEP.js +0 -57
  136. package/dist/cli/update-YY5PZGYJ.js +0 -37
@@ -11,20 +11,20 @@
11
11
 
12
12
 
13
13
 
14
- var _chunkK72PGYSHjs = require('./chunk-K72PGYSH.js');
14
+ var _chunk3BV2OD25js = require('./chunk-3BV2OD25.js');
15
15
 
16
16
 
17
- var _chunkCUU5CL3Vjs = require('./chunk-CUU5CL3V.js');
17
+ var _chunkJ5P7VGV5js = require('./chunk-J5P7VGV5.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunkX6IDT5IIjs = require('./chunk-X6IDT5II.js');
23
+ var _chunkEVZDU7CFjs = require('./chunk-EVZDU7CF.js');
24
24
 
25
25
 
26
26
 
27
- var _chunkM4ZL2H5Bjs = require('./chunk-M4ZL2H5B.js');
27
+ var _chunk5COJEZSBjs = require('./chunk-5COJEZSB.js');
28
28
 
29
29
 
30
30
  var _chunkRLX5ZFNXjs = require('./chunk-RLX5ZFNX.js');
@@ -145,7 +145,7 @@ function inferActiveSkillsScope(entrypoint = _nullishCoalesce(process.argv[1], (
145
145
  return /[\\/]\.deepline[\\/]runtime[\\/]/.test(entrypoint) ? "local" : "global";
146
146
  }
147
147
  function resolveLocalRoot() {
148
- const target = _chunkX6IDT5IIjs.resolveProjectPinTarget.call(void 0, );
148
+ const target = _chunkEVZDU7CFjs.resolveProjectPinTarget.call(void 0, );
149
149
  if (!target.ok) {
150
150
  throw new Error(
151
151
  `Cowork project folder is ambiguous. Candidate folders: ${target.candidates.join(
@@ -156,7 +156,7 @@ function resolveLocalRoot() {
156
156
  return target.dir;
157
157
  }
158
158
  function detectSkillsAgents(input) {
159
- const runtime = _nullishCoalesce(input.runtime, () => ( _chunkM4ZL2H5Bjs.detectAgentRuntime.call(void 0, )));
159
+ const runtime = _nullishCoalesce(input.runtime, () => ( _chunk5COJEZSBjs.detectAgentRuntime.call(void 0, )));
160
160
  const knownAgent = RUNTIME_TO_SKILLS_AGENT[runtime];
161
161
  if (knownAgent) return [knownAgent];
162
162
  const roots = [
@@ -171,11 +171,11 @@ function detectSkillsAgents(input) {
171
171
  return detected.length > 0 ? detected : ["*"];
172
172
  }
173
173
  function skillsStatePathForScope(baseUrl, scope, root) {
174
- return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkX6IDT5IIjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
174
+ return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkEVZDU7CFjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
175
175
  }
176
176
  function buildSkillsPlan(input) {
177
177
  const scopeArgs = input.scope === "global" ? ["--global"] : [];
178
- const legacyNames = [..._chunkK72PGYSHjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
178
+ const legacyNames = [..._chunk3BV2OD25js.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
179
179
  (a, b) => a.localeCompare(b)
180
180
  );
181
181
  return {
@@ -189,7 +189,7 @@ function buildSkillsPlan(input) {
189
189
  args: [
190
190
  "exec",
191
191
  "--yes",
192
- `--package=${_chunkK72PGYSHjs.SKILLS_NPX_PACKAGE}`,
192
+ `--package=${_chunk3BV2OD25js.SKILLS_NPX_PACKAGE}`,
193
193
  "--",
194
194
  "skills",
195
195
  "remove",
@@ -205,11 +205,11 @@ function buildSkillsPlan(input) {
205
205
  args: [
206
206
  "exec",
207
207
  "--yes",
208
- `--package=${_chunkK72PGYSHjs.SKILLS_NPX_PACKAGE}`,
208
+ `--package=${_chunk3BV2OD25js.SKILLS_NPX_PACKAGE}`,
209
209
  "--",
210
210
  "skills",
211
211
  "add",
212
- _chunkK72PGYSHjs.skillsSourceUrl.call(void 0, input.baseUrl),
212
+ _chunk3BV2OD25js.skillsSourceUrl.call(void 0, input.baseUrl),
213
213
  "--agent",
214
214
  ...input.agents,
215
215
  ...scopeArgs,
@@ -246,7 +246,7 @@ function readSkillsInstallState(path) {
246
246
  }
247
247
  function runProcess(command, args, cwd) {
248
248
  return new Promise((resolve, reject) => {
249
- const plan = _chunkK72PGYSHjs.resolveShellSpawn.call(void 0,
249
+ const plan = _chunk3BV2OD25js.resolveShellSpawn.call(void 0,
250
250
  command,
251
251
  args,
252
252
  process.platform,
@@ -269,7 +269,7 @@ function runProcess(command, args, cwd) {
269
269
  child.kill("SIGTERM");
270
270
  reject(
271
271
  new Error(
272
- `${_chunkK72PGYSHjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
272
+ `${_chunk3BV2OD25js.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
273
273
  )
274
274
  );
275
275
  }, SKILLS_PROCESS_TIMEOUT_MS);
@@ -280,7 +280,7 @@ function runProcess(command, args, cwd) {
280
280
  child.once("close", (code) => {
281
281
  clearTimeout(timeout);
282
282
  if (code && stderr.trim()) {
283
- process.stderr.write(`${_chunkK72PGYSHjs.SKILLS_NPX_PACKAGE} exited ${code}.
283
+ process.stderr.write(`${_chunk3BV2OD25js.SKILLS_NPX_PACKAGE} exited ${code}.
284
284
  `);
285
285
  }
286
286
  resolve(_nullishCoalesce(code, () => ( 1)));
@@ -288,7 +288,7 @@ function runProcess(command, args, cwd) {
288
288
  });
289
289
  }
290
290
  async function showSkills(options, name) {
291
- const baseUrl = _chunkX6IDT5IIjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
291
+ const baseUrl = _chunkEVZDU7CFjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
292
292
  const url = name ? `${baseUrl}/.well-known/skills/${encodeURIComponent(name)}/SKILL.md` : `${baseUrl}/.well-known/skills/index.json`;
293
293
  try {
294
294
  const response = await fetch(url, {
@@ -301,7 +301,7 @@ async function showSkills(options, name) {
301
301
  }
302
302
  if (name) {
303
303
  const markdown = await response.text();
304
- _chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0,
304
+ _chunkJ5P7VGV5js.printCommandEnvelope.call(void 0,
305
305
  { ok: true, status: "completed", skill: { name, markdown } },
306
306
  { json: options.json, text: markdown }
307
307
  );
@@ -311,7 +311,7 @@ async function showSkills(options, name) {
311
311
  const skills = (_nullishCoalesce(index.skills, () => ( []))).filter(
312
312
  (skill) => skill.install_surface === "v1" && skill.name
313
313
  );
314
- _chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0,
314
+ _chunkJ5P7VGV5js.printCommandEnvelope.call(void 0,
315
315
  {
316
316
  ok: true,
317
317
  status: "completed",
@@ -328,7 +328,7 @@ Read one with: deepline skills show <name>
328
328
  );
329
329
  return 0;
330
330
  } catch (error) {
331
- _chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0,
331
+ _chunkJ5P7VGV5js.printCommandEnvelope.call(void 0,
332
332
  {
333
333
  ok: false,
334
334
  status: "failed",
@@ -351,7 +351,7 @@ async function runSkillsCommand(options, dependencies = {}) {
351
351
  scope = normalizeScope(options.scope);
352
352
  root = scope === "local" ? resolveLocalRoot() : null;
353
353
  } catch (error) {
354
- _chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0,
354
+ _chunkJ5P7VGV5js.printCommandEnvelope.call(void 0,
355
355
  {
356
356
  ok: false,
357
357
  status: "failed",
@@ -363,22 +363,22 @@ async function runSkillsCommand(options, dependencies = {}) {
363
363
  );
364
364
  return 2;
365
365
  }
366
- const baseUrl = _chunkX6IDT5IIjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
366
+ const baseUrl = _chunkEVZDU7CFjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
367
367
  const catalog = {
368
- skillNames: [..._chunkK72PGYSHjs.DEFAULT_SDK_SKILL_NAMES],
369
- version: _chunkM4ZL2H5Bjs.SDK_VERSION
368
+ skillNames: [..._chunk3BV2OD25js.DEFAULT_SDK_SKILL_NAMES],
369
+ version: _chunk5COJEZSBjs.SDK_VERSION
370
370
  };
371
371
  const agents = options.agent ? [options.agent] : detectSkillsAgents({ scope, root });
372
372
  const plan = buildSkillsPlan({ baseUrl, scope, root, agents, ...catalog });
373
373
  if (options.dryRun) {
374
- _chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0,
374
+ _chunkJ5P7VGV5js.printCommandEnvelope.call(void 0,
375
375
  { ok: true, status: "planned", dryRun: true, ...plan },
376
376
  { json: options.json }
377
377
  );
378
378
  return 0;
379
379
  }
380
- if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkK72PGYSHjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
381
- _chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0,
380
+ if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunk3BV2OD25js.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
381
+ _chunkJ5P7VGV5js.printCommandEnvelope.call(void 0,
382
382
  {
383
383
  ok: true,
384
384
  status: "current",
@@ -410,10 +410,10 @@ async function runSkillsCommand(options, dependencies = {}) {
410
410
  }
411
411
  if (scope === "local" && root) {
412
412
  const managedNames = [
413
- .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkK72PGYSHjs.LEGACY_SKILL_NAMES_TO_REMOVE])
413
+ .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunk3BV2OD25js.LEGACY_SKILL_NAMES_TO_REMOVE])
414
414
  ];
415
415
  const agentRoots = workspaceSkillRootsForAgents(plan.agents);
416
- _chunkX6IDT5IIjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
416
+ _chunkEVZDU7CFjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
417
417
  ".deepline/",
418
418
  ...agentRoots.flatMap(
419
419
  (agentRoot) => managedNames.map((name) => `${agentRoot}/skills/${name}/`)
@@ -422,7 +422,7 @@ async function runSkillsCommand(options, dependencies = {}) {
422
422
  }
423
423
  let lease;
424
424
  try {
425
- lease = scope === "global" ? await _chunkK72PGYSHjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
425
+ lease = scope === "global" ? await _chunk3BV2OD25js.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
426
426
  waitMs: _nullishCoalesce(dependencies.installLeaseWaitMs, () => ( SKILLS_INSTALL_LEASE_WAIT_MS)),
427
427
  onWait: () => process.stderr.write(
428
428
  "Waiting for a background Deepline skills refresh to finish...\n"
@@ -430,8 +430,8 @@ async function runSkillsCommand(options, dependencies = {}) {
430
430
  }) : { release: () => {
431
431
  } };
432
432
  } catch (error) {
433
- if (!(error instanceof _chunkK72PGYSHjs.SkillsStateUnavailableError)) throw error;
434
- _chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0,
433
+ if (!(error instanceof _chunk3BV2OD25js.SkillsStateUnavailableError)) throw error;
434
+ _chunkJ5P7VGV5js.printCommandEnvelope.call(void 0,
435
435
  {
436
436
  ok: false,
437
437
  status: "failed",
@@ -447,7 +447,7 @@ async function runSkillsCommand(options, dependencies = {}) {
447
447
  return 5;
448
448
  }
449
449
  if (!lease) {
450
- _chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0,
450
+ _chunkJ5P7VGV5js.printCommandEnvelope.call(void 0,
451
451
  {
452
452
  ok: false,
453
453
  status: "failed",
@@ -456,7 +456,7 @@ async function runSkillsCommand(options, dependencies = {}) {
456
456
  scope,
457
457
  agents,
458
458
  message: "A background Deepline skills refresh is still running for these agents.",
459
- next: `Retry in a moment: deepline skills install --scope ${scope}. If no refresh is running, remove ${_chunkK72PGYSHjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
459
+ next: `Retry in a moment: deepline skills install --scope ${scope}. If no refresh is running, remove ${_chunk3BV2OD25js.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
460
460
  },
461
461
  { json: options.json }
462
462
  );
@@ -505,7 +505,7 @@ async function runSkillsInstallWithLease(input) {
505
505
  }
506
506
  }
507
507
  } catch (error) {
508
- _chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0,
508
+ _chunkJ5P7VGV5js.printCommandEnvelope.call(void 0,
509
509
  {
510
510
  ok: false,
511
511
  status: "failed",
@@ -521,7 +521,7 @@ async function runSkillsInstallWithLease(input) {
521
521
  return 5;
522
522
  }
523
523
  if (missing.length > 0) {
524
- _chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0,
524
+ _chunkJ5P7VGV5js.printCommandEnvelope.call(void 0,
525
525
  {
526
526
  ok: false,
527
527
  status: "failed",
@@ -561,7 +561,7 @@ async function runSkillsInstallWithLease(input) {
561
561
  {
562
562
  schemaVersion: 1,
563
563
  installedAt: (/* @__PURE__ */ new Date()).toISOString(),
564
- cliVersion: _chunkM4ZL2H5Bjs.SDK_VERSION,
564
+ cliVersion: _chunk5COJEZSBjs.SDK_VERSION,
565
565
  scope,
566
566
  agents,
567
567
  skillsVersion: plan.version,
@@ -574,9 +574,9 @@ async function runSkillsInstallWithLease(input) {
574
574
  "utf8"
575
575
  );
576
576
  if (scope === "global") {
577
- _chunkK72PGYSHjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
577
+ _chunk3BV2OD25js.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
578
578
  }
579
- _chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0,
579
+ _chunkJ5P7VGV5js.printCommandEnvelope.call(void 0,
580
580
  {
581
581
  ok: true,
582
582
  status: "complete",
@@ -625,7 +625,7 @@ Examples:
625
625
  "after",
626
626
  `
627
627
  Notes:
628
- This command reinstalls current Deepline-managed skills using ${_chunkK72PGYSHjs.SKILLS_NPX_PACKAGE},
628
+ This command reinstalls current Deepline-managed skills using ${_chunk3BV2OD25js.SKILLS_NPX_PACKAGE},
629
629
  then removes legacy Deepline skill names. Local scope writes into the resolved
630
630
  persistent project.
631
631
 
@@ -637,13 +637,13 @@ Examples:
637
637
  ).action(async (options) => {
638
638
  process.exitCode = await runSkillsCommand(options);
639
639
  });
640
- program.command(_chunkK72PGYSHjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
640
+ program.command(_chunk3BV2OD25js.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
641
641
  "--claim <token>",
642
642
  "Owner token of the leases this child was started for."
643
643
  ).action(async (options) => {
644
644
  const claim = _optionalChain([options, 'access', _9 => _9.claim, 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]);
645
645
  if (!claim) {
646
- _chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0,
646
+ _chunkJ5P7VGV5js.printCommandEnvelope.call(void 0,
647
647
  {
648
648
  ok: false,
649
649
  status: "failed",
@@ -656,7 +656,7 @@ Examples:
656
656
  process.exitCode = 2;
657
657
  return;
658
658
  }
659
- await _chunkK72PGYSHjs.syncSdkSkillsIfNeeded.call(void 0, _chunkX6IDT5IIjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
659
+ await _chunk3BV2OD25js.syncSdkSkillsIfNeeded.call(void 0, _chunkEVZDU7CFjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
660
660
  mode: "inline",
661
661
  notices: "defer",
662
662
  claim
@@ -2,7 +2,7 @@ import {
2
2
  argsWantJson,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-JKBSEUFN.mjs";
5
+ } from "./chunk-RKB536LB.mjs";
6
6
  import {
7
7
  ACTIVE_ORG_ID_ENV,
8
8
  ACTIVE_ORG_NAME_ENV,
@@ -22,14 +22,14 @@ import {
22
22
  saveHostEnvValues,
23
23
  saveProjectDeeplineEnvValues,
24
24
  storedHostApiKey
25
- } from "./chunk-EN36QYE7.mjs";
25
+ } from "./chunk-XHZFA67G.mjs";
26
26
  import {
27
27
  SDK_API_CONTRACT,
28
28
  SDK_VERSION,
29
29
  connectionFailureMessage,
30
30
  detectAgentRuntime,
31
31
  networkCauseCode
32
- } from "./chunk-7HGJKBNU.mjs";
32
+ } from "./chunk-L4KUAJFR.mjs";
33
33
  import {
34
34
  DeeplineError
35
35
  } from "./chunk-Z3A2S3QM.mjs";
@@ -37,7 +37,7 @@ import {
37
37
  RETAINED_PIPELINE_RECEIVERS_HEADER,
38
38
  RUNTIME_ENVIRONMENT_TOKEN_HEADER,
39
39
  SDK_API_MAJOR
40
- } from "./chunk-7HGJKBNU.mjs";
40
+ } from "./chunk-L4KUAJFR.mjs";
41
41
  import {
42
42
  CustomerDbQueryOutcomeUnknownError
43
43
  } from "./chunk-ASB47RXJ.mjs";
@@ -9,7 +9,7 @@ var _chunkLHPYCJNLjs = require('./chunk-LHPYCJNL.js');
9
9
 
10
10
 
11
11
 
12
- var _chunkCUU5CL3Vjs = require('./chunk-CUU5CL3V.js');
12
+ var _chunkJ5P7VGV5js = require('./chunk-J5P7VGV5.js');
13
13
 
14
14
  // src/cli/describe-options.ts
15
15
  function addDescribeOptions(command, options = {}) {
@@ -250,7 +250,7 @@ function projectRunDatasetCell(value) {
250
250
  const logicalValue = parseSerializedDatasetValue(value);
251
251
  if (logicalValue === null || logicalValue === void 0) return logicalValue;
252
252
  if (typeof logicalValue === "object") {
253
- return _chunkCUU5CL3Vjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
253
+ return _chunkJ5P7VGV5js.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
254
254
  }
255
255
  return logicalValue;
256
256
  }
@@ -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 _chunkCUU5CL3Vjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
645
+ return _chunkJ5P7VGV5js.csvStringFromRows.call(void 0, projection.rows, projection.columns);
646
646
  }
647
647
  function writeExecutionOutput(result, options, { skipReceiptFile = false } = {}) {
648
648
  let temp;
@@ -770,7 +770,7 @@ function writeExecutionOutput(result, options, { skipReceiptFile = false } = {})
770
770
  };
771
771
  if (options.receiptOut && !skipReceiptFile) {
772
772
  persist(options.receiptOut, jsonText(receipt));
773
- _chunkCUU5CL3Vjs.markJsonOutputHandled.call(void 0, );
773
+ _chunkJ5P7VGV5js.markJsonOutputHandled.call(void 0, );
774
774
  } else {
775
775
  printReceipt(receipt, options, {
776
776
  data: hasData ? result.data : void 0,
@@ -939,7 +939,7 @@ function receiptText(receipt, options, extra) {
939
939
  problems.push(
940
940
  `Error: ${record(error) && typeof error.message === "string" ? error.message : JSON.stringify(error)}`
941
941
  );
942
- const diagnostic = _chunkCUU5CL3Vjs.formatCliFailureDiagnostic.call(void 0, error);
942
+ const diagnostic = _chunkJ5P7VGV5js.formatCliFailureDiagnostic.call(void 0, error);
943
943
  if (diagnostic) problems.push(...diagnostic.split("\n"));
944
944
  if (record(error) && typeof error.recoveryFile === "string") {
945
945
  problems.push(
@@ -1032,8 +1032,8 @@ function printReceipt(receipt, options, extra) {
1032
1032
  const text = options.receiptJson ? `${JSON.stringify(receipt, null, 2)}
1033
1033
  ` : receiptText(receipt, options, extra);
1034
1034
  if (options.receiptOut !== void 0) {
1035
- _chunkCUU5CL3Vjs.writeRawStderr.call(void 0, text);
1036
- _chunkCUU5CL3Vjs.markJsonOutputHandled.call(void 0, );
1035
+ _chunkJ5P7VGV5js.writeRawStderr.call(void 0, text);
1036
+ _chunkJ5P7VGV5js.markJsonOutputHandled.call(void 0, );
1037
1037
  } else {
1038
1038
  (dataOnStdout(options) ? process.stderr : process.stdout).write(text);
1039
1039
  }
@@ -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 _chunkCUU5CL3Vjs = require('./chunk-CUU5CL3V.js');
3
+ var _chunkJ5P7VGV5js = require('./chunk-J5P7VGV5.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
- _chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0,
60
+ _chunkJ5P7VGV5js.printCommandEnvelope.call(void 0,
61
61
  { ok: false, code, exitCode: 2, message },
62
62
  { json: true }
63
63
  );
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  seedToolListScript
3
- } from "./chunk-JNI4353Z.mjs";
3
+ } from "./chunk-GWJ4EOW2.mjs";
4
4
  import {
5
5
  addDescribeOptions
6
- } from "./chunk-O5TXP65R.mjs";
6
+ } from "./chunk-3OJLUVOS.mjs";
7
7
  import {
8
8
  describeLookupsFor,
9
9
  describeName,
@@ -14,16 +14,16 @@ import {
14
14
  } from "./chunk-BM4GE67C.mjs";
15
15
  import {
16
16
  DeeplineClient
17
- } from "./chunk-42RBMROP.mjs";
17
+ } from "./chunk-YAXYFPBF.mjs";
18
18
  import {
19
19
  failureReportHeaders,
20
20
  isFailureReportingDisabled,
21
21
  printCommandEnvelope
22
- } from "./chunk-JKBSEUFN.mjs";
22
+ } from "./chunk-RKB536LB.mjs";
23
23
  import {
24
24
  autoDetectBaseUrl,
25
25
  resolveApiKeyForBaseUrl
26
- } from "./chunk-EN36QYE7.mjs";
26
+ } from "./chunk-XHZFA67G.mjs";
27
27
 
28
28
  // src/cli/commands/describe.ts
29
29
  import { writeFileSync } from "fs";
@@ -1,15 +1,15 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkF5XQN6PUjs = require('./chunk-F5XQN6PU.js');
3
+ var _chunkPDHLHEULjs = require('./chunk-PDHLHEUL.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkCUU5CL3Vjs = require('./chunk-CUU5CL3V.js');
7
+ var _chunkJ5P7VGV5js = require('./chunk-J5P7VGV5.js');
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkM4ZL2H5Bjs = require('./chunk-M4ZL2H5B.js');
12
+ var _chunk5COJEZSBjs = require('./chunk-5COJEZSB.js');
13
13
 
14
14
  // src/cli/commands/sessions.ts
15
15
 
@@ -55,7 +55,7 @@ function codexSessionsRoot() {
55
55
  }
56
56
  function listClaudeSessionFiles() {
57
57
  const files = [];
58
- for (const root of _chunkM4ZL2H5Bjs.claudeProjectsRoots.call(void 0, )) {
58
+ for (const root of _chunk5COJEZSBjs.claudeProjectsRoots.call(void 0, )) {
59
59
  files.push(...listClaudeSessionFilesIn(root));
60
60
  }
61
61
  return files;
@@ -147,7 +147,7 @@ function currentSessionFile(agent) {
147
147
  const newestFirst = listSessionFiles(agent).sort(
148
148
  (a, b) => b.mtimeMs - a.mtimeMs
149
149
  );
150
- const sessionId = _chunkM4ZL2H5Bjs.agentSessionIdFromEnvironment.call(void 0,
150
+ const sessionId = _chunk5COJEZSBjs.agentSessionIdFromEnvironment.call(void 0,
151
151
  process.env,
152
152
  agent === "auto" ? void 0 : agent === "claude" ? "claude_code" : "codex"
153
153
  );
@@ -156,7 +156,7 @@ function currentSessionFile(agent) {
156
156
  (candidate) => candidate.sessionId === sessionId
157
157
  );
158
158
  if (named) return named;
159
- const cowork = agent === "codex" ? null : _chunkM4ZL2H5Bjs.coworkTranscriptFromEnvironment.call(void 0, );
159
+ const cowork = agent === "codex" ? null : _chunk5COJEZSBjs.coworkTranscriptFromEnvironment.call(void 0, );
160
160
  const coworkStat = cowork ? statIfReadable(cowork.filePath) : null;
161
161
  if (cowork && coworkStat) {
162
162
  return { agent: "claude", ...cowork, mtimeMs: coworkStat.mtimeMs };
@@ -166,7 +166,7 @@ function currentSessionFile(agent) {
166
166
  ), () => ( newestFirst[0])), () => ( null));
167
167
  }
168
168
  function feedbackAgentSessionId(agentRuntime) {
169
- return _nullishCoalesce(_chunkM4ZL2H5Bjs.agentSessionIdFromEnvironment.call(void 0, process.env, agentRuntime), () => ( (agentRuntime === "claude_cowork" || agentRuntime === "claude_code" ? _nullishCoalesce(_optionalChain([_chunkM4ZL2H5Bjs.coworkTranscriptFromEnvironment.call(void 0, ), 'optionalAccess', _17 => _17.sessionId]), () => ( null)) : null)));
169
+ return _nullishCoalesce(_chunk5COJEZSBjs.agentSessionIdFromEnvironment.call(void 0, process.env, agentRuntime), () => ( (agentRuntime === "claude_cowork" || agentRuntime === "claude_code" ? _nullishCoalesce(_optionalChain([_chunk5COJEZSBjs.coworkTranscriptFromEnvironment.call(void 0, ), 'optionalAccess', _17 => _17.sessionId]), () => ( null)) : null)));
170
170
  }
171
171
  function sessionStartedInDirectory(candidate, cwd) {
172
172
  if (candidate.agent === "claude") {
@@ -215,7 +215,7 @@ function readCodexSessionId(filePath) {
215
215
  return null;
216
216
  }
217
217
  function sessionSearchDescription(agent) {
218
- const claude = _chunkM4ZL2H5Bjs.claudeProjectsRoots.call(void 0, ).map((root) => _path.join.call(void 0, root, "*", "<session-id>.jsonl")).join(", ");
218
+ const claude = _chunk5COJEZSBjs.claudeProjectsRoots.call(void 0, ).map((root) => _path.join.call(void 0, root, "*", "<session-id>.jsonl")).join(", ");
219
219
  if (agent === "claude") return claude;
220
220
  if (agent === "codex") return "~/.codex/sessions/**/*.jsonl";
221
221
  return `${claude} or ~/.codex/sessions/**/*.jsonl`;
@@ -472,7 +472,7 @@ function buildSessionUploadContent(raw) {
472
472
  return { encodedContent: encoded, needsChunking: true };
473
473
  }
474
474
  async function uploadPayload(path, payload) {
475
- const { http } = _chunkCUU5CL3Vjs.getAuthedHttpClient.call(void 0, );
475
+ const { http } = _chunkJ5P7VGV5js.getAuthedHttpClient.call(void 0, );
476
476
  return await http.post(path, payload);
477
477
  }
478
478
  async function uploadChunkedSessions(sessions, options) {
@@ -550,7 +550,7 @@ async function uploadAgentSession(agentRuntime) {
550
550
  return target.sessionId;
551
551
  }
552
552
  async function handleSessionsSend(options) {
553
- if (_chunkF5XQN6PUjs.rejectRestrictedFeedback.call(void 0, options)) return;
553
+ if (_chunkPDHLHEULjs.rejectRestrictedFeedback.call(void 0, options)) return;
554
554
  const rating = parseSessionRating(options.rating);
555
555
  if (options.file) {
556
556
  const filePath = _path.resolve.call(void 0, options.file);
@@ -562,7 +562,7 @@ async function handleSessionsSend(options) {
562
562
  filename: _path.basename.call(void 0, filePath),
563
563
  ...rating ? { rating } : {}
564
564
  });
565
- _chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0,
565
+ _chunkJ5P7VGV5js.printCommandEnvelope.call(void 0,
566
566
  {
567
567
  ...response2,
568
568
  ok: true,
@@ -594,7 +594,7 @@ async function handleSessionsSend(options) {
594
594
  labeled: Boolean(_optionalChain([options, 'access', _27 => _27.label, 'optionalAccess', _28 => _28.length]))
595
595
  });
596
596
  const sessionIds = built.map((session) => session.sessionId);
597
- _chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0,
597
+ _chunkJ5P7VGV5js.printCommandEnvelope.call(void 0,
598
598
  {
599
599
  ...response,
600
600
  ok: true,
@@ -702,7 +702,7 @@ ${refreshMeta}
702
702
  </body>
703
703
  </html>`;
704
704
  _fs.writeFileSync.call(void 0, outputPath, html, "utf8");
705
- _chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0,
705
+ _chunkJ5P7VGV5js.printCommandEnvelope.call(void 0,
706
706
  {
707
707
  ok: true,
708
708
  file: outputPath,
@@ -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(); } }
2
2
 
3
- var _chunk6EJOADKBjs = require('./chunk-6EJOADKB.js');
3
+ var _chunkRFB52LP5js = require('./chunk-RFB52LP5.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkX6IDT5IIjs = require('./chunk-X6IDT5II.js');
7
+ var _chunkEVZDU7CFjs = require('./chunk-EVZDU7CF.js');
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -137,9 +137,9 @@ async function pinLocalPlayImports(client, graph) {
137
137
 
138
138
  // src/plays/client.ts
139
139
  function createPlayClient(options) {
140
- const config = _chunkX6IDT5IIjs.resolveConfig.call(void 0, options);
141
- return new (0, _chunk6EJOADKBjs.PlayClient)(
142
- new (0, _chunkX6IDT5IIjs.HttpClient)(config),
140
+ const config = _chunkEVZDU7CFjs.resolveConfig.call(void 0, options);
141
+ return new (0, _chunkRFB52LP5js.PlayClient)(
142
+ new (0, _chunkEVZDU7CFjs.HttpClient)(config),
143
143
  _nullishCoalesce(config.environment, () => ( process.env))
144
144
  );
145
145
  }
@@ -37,7 +37,7 @@ var _chunkPMH4GLMDjs = require('./chunk-PMH4GLMD.js');
37
37
 
38
38
 
39
39
 
40
- var _chunkM4ZL2H5Bjs = require('./chunk-M4ZL2H5B.js');
40
+ var _chunk5COJEZSBjs = require('./chunk-5COJEZSB.js');
41
41
 
42
42
 
43
43
  var _chunk6VLFQZK6js = require('./chunk-6VLFQZK6.js');
@@ -844,7 +844,7 @@ var ToolCalls = class {
844
844
  idempotencyKey,
845
845
  onResponse: (response2) => {
846
846
  lastResponse = null;
847
- atomicToolsSupported = response2.headers.get(_chunkM4ZL2H5Bjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
847
+ atomicToolsSupported = response2.headers.get(_chunk5COJEZSBjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
848
848
  recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
849
849
  if (_optionalChain([options, 'optionalAccess', _38 => _38.onServerTiming])) {
850
850
  try {
@@ -1231,15 +1231,15 @@ function runtimeSelectionHeaders(runtime, env) {
1231
1231
  }
1232
1232
  const receivers = _optionalChain([env, 'access', _63 => _63.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _64 => _64.trim, 'call', _65 => _65()]);
1233
1233
  return {
1234
- [_chunkM4ZL2H5Bjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1235
- ...receivers ? { [_chunkM4ZL2H5Bjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1234
+ [_chunk5COJEZSBjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1235
+ ...receivers ? { [_chunk5COJEZSBjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1236
1236
  };
1237
1237
  }
1238
1238
  function playRunStartHeaders(runtime, env) {
1239
1239
  const headers = runtimeSelectionHeaders(runtime, env);
1240
1240
  const experimentSwitches = _optionalChain([env, 'access', _66 => _66.DEEPLINE_EXPERIMENT_SWITCHES, 'optionalAccess', _67 => _67.trim, 'call', _68 => _68()]);
1241
1241
  if (!experimentSwitches) return headers;
1242
- return { ...headers, [_chunkM4ZL2H5Bjs.EXPERIMENT_SWITCHES_HEADER]: experimentSwitches };
1242
+ return { ...headers, [_chunk5COJEZSBjs.EXPERIMENT_SWITCHES_HEADER]: experimentSwitches };
1243
1243
  }
1244
1244
  function normalizeTestPolicyOverrides(value, source) {
1245
1245
  if (value && typeof value === "object" && !Array.isArray(value)) {
@@ -1309,7 +1309,7 @@ var PlayClient = class {
1309
1309
  return _chunkMJTVX4QKjs.startPlayRun.call(void 0,
1310
1310
  this.http,
1311
1311
  resolved.request,
1312
- _optionalChain([options, 'optionalAccess', _76 => _76.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkM4ZL2H5Bjs.SDK_API_MAJOR) } : headers,
1312
+ _optionalChain([options, 'optionalAccess', _76 => _76.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunk5COJEZSBjs.SDK_API_MAJOR) } : headers,
1313
1313
  options
1314
1314
  );
1315
1315
  }
@@ -3427,7 +3427,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
3427
3427
  "RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
3428
3428
  );
3429
3429
  }
3430
- return { [_chunkM4ZL2H5Bjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3430
+ return { [_chunk5COJEZSBjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3431
3431
  }
3432
3432
  function sleep(ms) {
3433
3433
  return new Promise((resolve) => setTimeout(resolve, ms));
@@ -4363,7 +4363,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
4363
4363
  );
4364
4364
  const headers = _optionalChain([options, 'optionalAccess', _200 => _200.cliAdmission]) ? {
4365
4365
  ...runtimeHeaders,
4366
- "X-Deepline-API-Major": String(_chunkM4ZL2H5Bjs.SDK_API_MAJOR)
4366
+ "X-Deepline-API-Major": String(_chunk5COJEZSBjs.SDK_API_MAJOR)
4367
4367
  } : runtimeHeaders;
4368
4368
  const http = this.http;
4369
4369
  let submitted = false;
@@ -4,14 +4,14 @@ import {
4
4
  resolveApiKeyForBaseUrl,
5
5
  resolveCliCommandContext,
6
6
  resolveConfig
7
- } from "./chunk-EN36QYE7.mjs";
7
+ } from "./chunk-XHZFA67G.mjs";
8
8
  import {
9
9
  SDK_VERSION,
10
10
  agentSessionIdFromEnvironment,
11
11
  deploymentProtectionHeaders,
12
12
  detectAgentRuntime,
13
13
  readToolFailureHint
14
- } from "./chunk-7HGJKBNU.mjs";
14
+ } from "./chunk-L4KUAJFR.mjs";
15
15
  import {
16
16
  DeeplineError,
17
17
  normalizeToolExecutionFailure,