deepline 0.3.544 → 0.3.545

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 (152) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +5 -0
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/bundling-sources/shared_libs/monitors/fleets/errors.ts +5 -0
  4. package/dist/bundling-sources/shared_libs/monitors/fleets/issues.ts +5 -1
  5. package/dist/bundling-sources/shared_libs/monitors/fleets/limits.ts +6 -0
  6. package/dist/bundling-sources/shared_libs/monitors/fleets/plan.ts +35 -3
  7. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +10 -1
  8. package/dist/cli/auth-455MB4K6.js +43 -0
  9. package/dist/cli/{auth-IMWJAHPU.mjs → auth-VZAMAMFW.mjs} +5 -5
  10. package/dist/cli/{billing-Y55PR2PV.js → billing-ASZJDFH2.js} +92 -92
  11. package/dist/cli/{billing-YQMW3QJI.mjs → billing-DADQUQEZ.mjs} +8 -8
  12. package/dist/cli/{chunk-BEQ7RQLT.mjs → chunk-2CBX43LP.mjs} +5 -5
  13. package/dist/cli/{chunk-22OBDYHP.js → chunk-2FF3O2Y2.js} +12 -12
  14. package/dist/cli/{chunk-HAQRF6DJ.mjs → chunk-2HFSYH7V.mjs} +2 -2
  15. package/dist/cli/{chunk-UHIAQPVA.js → chunk-34UKDHRL.js} +26 -26
  16. package/dist/cli/{chunk-ZHY4T5M6.mjs → chunk-3M2QH3KA.mjs} +1 -1
  17. package/dist/cli/{chunk-DYDHLBSK.js → chunk-3NG43NXB.js} +53 -53
  18. package/dist/cli/{chunk-GV45TTI6.mjs → chunk-3TCHX7YK.mjs} +2 -2
  19. package/dist/cli/{chunk-LW274RO7.mjs → chunk-4NZ3OZNO.mjs} +1 -1
  20. package/dist/cli/{chunk-PFGOCUH3.mjs → chunk-52C6W7FG.mjs} +1 -1
  21. package/dist/cli/{chunk-IFIJ4DBJ.js → chunk-5YYWZ43J.js} +2 -2
  22. package/dist/cli/{chunk-3JDA23NN.mjs → chunk-7JZ27AFH.mjs} +2 -2
  23. package/dist/cli/{chunk-HXM2JUGD.mjs → chunk-7MFATEUC.mjs} +1 -1
  24. package/dist/cli/{chunk-COJHT2KF.js → chunk-7MHBJU73.js} +22 -22
  25. package/dist/cli/{chunk-57G4NYOL.mjs → chunk-7P72EGLK.mjs} +1 -1
  26. package/dist/cli/{chunk-3KGMM4KS.js → chunk-C6XYSTBW.js} +1 -1
  27. package/dist/cli/{chunk-ON56ISO6.js → chunk-CJ7DBYEQ.js} +3 -3
  28. package/dist/cli/{chunk-RUFR4PUO.js → chunk-CXETRZ3G.js} +10 -10
  29. package/dist/cli/{chunk-C4P2KLWT.js → chunk-D3SXB2NX.js} +41 -41
  30. package/dist/cli/{chunk-Z44YTSTA.js → chunk-DGKDCZGC.js} +13 -13
  31. package/dist/cli/{chunk-PDJ4UDCO.js → chunk-DZTVDL2X.js} +8 -8
  32. package/dist/cli/{chunk-4PKHFW56.js → chunk-EK5C2R7S.js} +15 -15
  33. package/dist/cli/{chunk-RG34YBDE.js → chunk-ERLW6RPA.js} +2 -2
  34. package/dist/cli/{chunk-YIRVKMON.mjs → chunk-EWA3M54M.mjs} +1 -1
  35. package/dist/cli/{chunk-JWVG7ZPX.js → chunk-FB7UPZ6M.js} +3 -3
  36. package/dist/cli/{chunk-ZY6FL4O4.js → chunk-G5TV6WLV.js} +19 -19
  37. package/dist/cli/{chunk-PKRW76XG.js → chunk-GFRJU2KB.js} +2 -2
  38. package/dist/cli/{chunk-Q7ZOWNKR.mjs → chunk-GWDPNOA7.mjs} +1 -1
  39. package/dist/cli/{chunk-RJPDCSTD.mjs → chunk-HLUNTJBO.mjs} +4 -4
  40. package/dist/cli/{chunk-LPUBBUKX.mjs → chunk-HPX7LLAM.mjs} +2 -2
  41. package/dist/cli/{chunk-W7X4KH45.js → chunk-HR5BT42R.js} +99 -99
  42. package/dist/cli/{chunk-DF2X7GJG.js → chunk-IYJO3RWR.js} +5 -5
  43. package/dist/cli/{chunk-DVDWAC2M.mjs → chunk-JL5JU3LD.mjs} +2 -2
  44. package/dist/cli/{chunk-SKS53WM6.mjs → chunk-KRW727W6.mjs} +4 -4
  45. package/dist/cli/{chunk-HBSWATOU.mjs → chunk-KYO2FICL.mjs} +5 -5
  46. package/dist/cli/{chunk-HVJQF5BI.mjs → chunk-LTCEZWPZ.mjs} +2 -2
  47. package/dist/cli/{chunk-5PR4VLLL.mjs → chunk-LWPFMYSO.mjs} +2 -2
  48. package/dist/cli/{chunk-7GNZEOTH.js → chunk-N4LADLCO.js} +6 -6
  49. package/dist/cli/{chunk-LQ6RRYXN.mjs → chunk-NAN3A4IF.mjs} +5 -5
  50. package/dist/cli/{chunk-3I26HMJ7.js → chunk-NCX2JH2F.js} +9 -9
  51. package/dist/cli/{chunk-UNMNGRPB.js → chunk-NZDZGK35.js} +7 -7
  52. package/dist/cli/{chunk-7HMMTSDA.js → chunk-OGQYAJSO.js} +5 -5
  53. package/dist/cli/{chunk-GQHRGBHV.js → chunk-QI57XUGA.js} +5 -5
  54. package/dist/cli/{chunk-KE6CSCUF.js → chunk-QM7PHHYZ.js} +44 -44
  55. package/dist/cli/{chunk-JBWOE6AP.js → chunk-TQKHXMV3.js} +16 -16
  56. package/dist/cli/{chunk-WUEORIOY.mjs → chunk-WP36UBRY.mjs} +1 -1
  57. package/dist/cli/{chunk-SK3HPU2J.mjs → chunk-XBYQZEUE.mjs} +1 -1
  58. package/dist/cli/{chunk-WBSGPLH5.mjs → chunk-XGEUPU3L.mjs} +2 -2
  59. package/dist/cli/{chunk-456RRXAP.mjs → chunk-XMUPZINS.mjs} +5 -5
  60. package/dist/cli/{chunk-G26VJCNT.js → chunk-YRQKRQDU.js} +4 -4
  61. package/dist/cli/{chunk-PMW5YP72.mjs → chunk-YWTRCKGD.mjs} +11 -11
  62. package/dist/cli/{chunk-REEOMNCO.mjs → chunk-Z4Y4BLW7.mjs} +3 -3
  63. package/dist/cli/{chunk-H4SAHB3Q.mjs → chunk-Z7QM244Q.mjs} +3 -3
  64. package/dist/cli/concurrent-runs-help-GFWXOKF5.js +21 -0
  65. package/dist/cli/{concurrent-runs-help-KBWPKSTP.mjs → concurrent-runs-help-YP7ALTDB.mjs} +6 -6
  66. package/dist/cli/{csv-XGGDZTQI.js → csv-67WT5EGR.js} +13 -13
  67. package/dist/cli/{csv-M5EBEMZH.mjs → csv-D5ITFSYI.mjs} +4 -4
  68. package/dist/cli/{db-CVPR54XK.js → db-GZS76X7R.js} +27 -27
  69. package/dist/cli/{db-M6FJ6J6E.mjs → db-SZYBRFYG.mjs} +6 -6
  70. package/dist/cli/{describe-X6QA2U3C.mjs → describe-YJ7ZLLLI.mjs} +18 -18
  71. package/dist/cli/describe-ZRGYAEBT.js +50 -0
  72. package/dist/cli/describe-core.d.mts +2 -2
  73. package/dist/cli/describe-core.d.ts +2 -2
  74. package/dist/cli/{executions-EHTS2XJX.mjs → executions-HMYGR32E.mjs} +6 -6
  75. package/dist/cli/{executions-VJEEWN22.js → executions-O5USTYGL.js} +8 -8
  76. package/dist/cli/{feedback-DQPUCUXO.js → feedback-RHLFDCRS.js} +14 -14
  77. package/dist/cli/{feedback-76VGY4GP.mjs → feedback-Z3NXWYUO.mjs} +6 -6
  78. package/dist/cli/{git-IY6DKKLR.mjs → git-CLFKXELB.mjs} +5 -5
  79. package/dist/cli/git-RC4XDATD.js +25 -0
  80. package/dist/cli/index.js +142 -142
  81. package/dist/cli/index.mjs +44 -44
  82. package/dist/cli/{integrations-242LE3TQ.mjs → integrations-FOACOBQB.mjs} +7 -7
  83. package/dist/cli/{integrations-CQSTIKFY.js → integrations-TZ4QEQGV.js} +15 -15
  84. package/dist/cli/{legacy-noops-SWTSTMRY.mjs → legacy-noops-6F6Y3BV7.mjs} +6 -6
  85. package/dist/cli/{legacy-noops-U72DO6ZF.js → legacy-noops-QRDOS33V.js} +9 -9
  86. package/dist/cli/{mcp-L473BKLJ.js → mcp-ETMMDDGB.js} +24 -24
  87. package/dist/cli/{mcp-JJH6JR52.mjs → mcp-UXRCWOZU.mjs} +4 -4
  88. package/dist/cli/{monitors-VSYHUBKC.mjs → monitors-6XEWR46R.mjs} +69 -11
  89. package/dist/cli/{monitors-3TF2DOFD.js → monitors-DITT7QTV.js} +162 -104
  90. package/dist/cli/{org-YKVI2ZTI.js → org-4DE37X3L.js} +88 -88
  91. package/dist/cli/{org-S5VIKU2E.mjs → org-CVSSH73G.mjs} +6 -6
  92. package/dist/cli/{play-DOWEG45Y.js → play-RH6P45CI.js} +317 -317
  93. package/dist/cli/{play-C7T5A3QM.mjs → play-Y5NCHOKK.mjs} +17 -17
  94. package/dist/cli/{providers-TAZPPFTB.js → providers-DU42DLOL.js} +9 -9
  95. package/dist/cli/{providers-BMVVX3VD.mjs → providers-VHUHC4IZ.mjs} +6 -6
  96. package/dist/cli/{quickstart-A3WKMKTW.mjs → quickstart-HJY5YYE5.mjs} +4 -4
  97. package/dist/cli/{quickstart-HD6FQXGR.js → quickstart-XJ43JLEC.js} +6 -6
  98. package/dist/cli/{run-FV7TWNOC.mjs → run-JAIXHVH7.mjs} +23 -23
  99. package/dist/cli/{run-BVVV2UX7.js → run-JXUS7QFI.js} +43 -43
  100. package/dist/cli/search-O5VVMXII.js +32 -0
  101. package/dist/cli/{search-MGK6WIKS.mjs → search-RDMNM2AX.mjs} +7 -7
  102. package/dist/cli/{search-output-6Y7KEPIE.js → search-output-RKAM2HBH.js} +6 -6
  103. package/dist/cli/{search-output-GM7LDZKE.mjs → search-output-ZKTR3WTJ.mjs} +4 -4
  104. package/dist/cli/{secrets-SISXIXSZ.js → secrets-TKFVMAYX.js} +15 -15
  105. package/dist/cli/{secrets-4RFAR7YI.mjs → secrets-WSW3FTF6.mjs} +6 -6
  106. package/dist/cli/sessions-3PWFWCHO.js +22 -0
  107. package/dist/cli/{sessions-CE3OMEG7.mjs → sessions-724BK6VP.mjs} +6 -6
  108. package/dist/cli/{settings-4HPM3K4A.js → settings-5LJZDAZU.js} +85 -85
  109. package/dist/cli/{settings-E22IDSX2.mjs → settings-YRC7J75G.mjs} +12 -12
  110. package/dist/cli/{setup-BDRSNLKX.js → setup-2F3DBSOS.js} +49 -49
  111. package/dist/cli/{setup-BK65MDZ6.mjs → setup-STNPX5MK.mjs} +9 -9
  112. package/dist/cli/{skills-FI2GZMR4.mjs → skills-D5PK56FO.mjs} +7 -7
  113. package/dist/cli/skills-RFOMVXIT.js +36 -0
  114. package/dist/cli/tools-CAO6EVUW.js +57 -0
  115. package/dist/cli/{tools-HMMWYUNW.mjs → tools-WOGWMBA3.mjs} +17 -17
  116. package/dist/cli/update-L4DQZY3G.js +34 -0
  117. package/dist/cli/{update-WDKBSXV5.mjs → update-PC6XSWMI.mjs} +9 -9
  118. package/dist/cli/{views-775AUDWQ.js → views-HLCLAPWN.js} +21 -21
  119. package/dist/cli/{views-JYIJCO23.mjs → views-IIHT4RYQ.mjs} +6 -6
  120. package/dist/cli/{workflow-4H6KQRFQ.js → workflow-CCZ2A7DI.js} +17 -17
  121. package/dist/cli/{workflow-FKKHE3IU.mjs → workflow-HK4MZ7LK.mjs} +7 -7
  122. package/dist/{client-DD_FyJVd.d.ts → client-BQ6yuSjM.d.ts} +1 -1
  123. package/dist/{client-ANT3pyoa.d.mts → client-DfdUc_MY.d.mts} +1 -1
  124. package/dist/{client-core-QHmo73k1.d.ts → client-core-3GQ8WMuk.d.ts} +9 -0
  125. package/dist/{client-core-Dg9tKhdB.d.mts → client-core-ClsNRytk.d.mts} +9 -0
  126. package/dist/index.d.mts +3 -3
  127. package/dist/index.d.ts +3 -3
  128. package/dist/index.js +9 -9
  129. package/dist/index.mjs +6 -6
  130. package/dist/install-integrity.json +114 -114
  131. package/dist/plays/play-description.d.mts +1 -1
  132. package/dist/plays/play-description.d.ts +1 -1
  133. package/dist/plays/run-request.d.mts +1 -1
  134. package/dist/plays/run-request.d.ts +1 -1
  135. package/dist/release.d.mts +1 -1
  136. package/dist/release.d.ts +1 -1
  137. package/dist/release.js +2 -2
  138. package/dist/release.mjs +1 -1
  139. package/dist/server.d.mts +2 -2
  140. package/dist/server.d.ts +2 -2
  141. package/dist/server.js +5 -5
  142. package/dist/server.mjs +3 -3
  143. package/package.json +1 -1
  144. package/dist/cli/auth-ENBXAKQS.js +0 -43
  145. package/dist/cli/concurrent-runs-help-TOMLCMV7.js +0 -21
  146. package/dist/cli/describe-RUODIS6M.js +0 -50
  147. package/dist/cli/git-RLHTSYRY.js +0 -25
  148. package/dist/cli/search-VJFCWUZN.js +0 -32
  149. package/dist/cli/sessions-OWWZJZXH.js +0 -22
  150. package/dist/cli/skills-ZLBFUAFR.js +0 -36
  151. package/dist/cli/tools-3K72VE33.js +0 -57
  152. package/dist/cli/update-QZV6DH5V.js +0 -34
@@ -11,20 +11,20 @@
11
11
 
12
12
 
13
13
 
14
- var _chunkKE6CSCUFjs = require('./chunk-KE6CSCUF.js');
14
+ var _chunkQM7PHHYZjs = require('./chunk-QM7PHHYZ.js');
15
15
 
16
16
 
17
- var _chunkZY6FL4O4js = require('./chunk-ZY6FL4O4.js');
17
+ var _chunkG5TV6WLVjs = require('./chunk-G5TV6WLV.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunkON56ISO6js = require('./chunk-ON56ISO6.js');
23
+ var _chunkCJ7DBYEQjs = require('./chunk-CJ7DBYEQ.js');
24
24
 
25
25
 
26
26
 
27
- var _chunkG26VJCNTjs = require('./chunk-G26VJCNT.js');
27
+ var _chunkYRQKRQDUjs = require('./chunk-YRQKRQDU.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 = _chunkON56ISO6js.resolveProjectPinTarget.call(void 0, );
148
+ const target = _chunkCJ7DBYEQjs.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, () => ( _chunkG26VJCNTjs.detectAgentRuntime.call(void 0, )));
159
+ const runtime = _nullishCoalesce(input.runtime, () => ( _chunkYRQKRQDUjs.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, _chunkON56ISO6js.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, _chunkCJ7DBYEQjs.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 = [..._chunkKE6CSCUFjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
178
+ const legacyNames = [..._chunkQM7PHHYZjs.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=${_chunkKE6CSCUFjs.SKILLS_NPX_PACKAGE}`,
192
+ `--package=${_chunkQM7PHHYZjs.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=${_chunkKE6CSCUFjs.SKILLS_NPX_PACKAGE}`,
208
+ `--package=${_chunkQM7PHHYZjs.SKILLS_NPX_PACKAGE}`,
209
209
  "--",
210
210
  "skills",
211
211
  "add",
212
- _chunkKE6CSCUFjs.skillsSourceUrl.call(void 0, input.baseUrl),
212
+ _chunkQM7PHHYZjs.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 = _chunkKE6CSCUFjs.resolveShellSpawn.call(void 0,
249
+ const plan = _chunkQM7PHHYZjs.resolveShellSpawn.call(void 0,
250
250
  command,
251
251
  args,
252
252
  process.platform,
@@ -268,7 +268,7 @@ function runProcess(command, args, cwd) {
268
268
  child.kill("SIGTERM");
269
269
  reject(
270
270
  new Error(
271
- `${_chunkKE6CSCUFjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
271
+ `${_chunkQM7PHHYZjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
272
272
  )
273
273
  );
274
274
  }, SKILLS_PROCESS_TIMEOUT_MS);
@@ -279,7 +279,7 @@ function runProcess(command, args, cwd) {
279
279
  child.once("close", (code) => {
280
280
  clearTimeout(timeout);
281
281
  if (code && stderr.trim()) {
282
- process.stderr.write(`${_chunkKE6CSCUFjs.SKILLS_NPX_PACKAGE} exited ${code}.
282
+ process.stderr.write(`${_chunkQM7PHHYZjs.SKILLS_NPX_PACKAGE} exited ${code}.
283
283
  `);
284
284
  }
285
285
  resolve(_nullishCoalesce(code, () => ( 1)));
@@ -287,7 +287,7 @@ function runProcess(command, args, cwd) {
287
287
  });
288
288
  }
289
289
  async function showSkills(options, name) {
290
- const baseUrl = _chunkON56ISO6js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
290
+ const baseUrl = _chunkCJ7DBYEQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
291
291
  const url = name ? `${baseUrl}/.well-known/skills/${encodeURIComponent(name)}/SKILL.md` : `${baseUrl}/.well-known/skills/index.json`;
292
292
  try {
293
293
  const response = await fetch(url, {
@@ -300,7 +300,7 @@ async function showSkills(options, name) {
300
300
  }
301
301
  if (name) {
302
302
  const markdown = await response.text();
303
- _chunkZY6FL4O4js.printCommandEnvelope.call(void 0,
303
+ _chunkG5TV6WLVjs.printCommandEnvelope.call(void 0,
304
304
  { ok: true, status: "completed", skill: { name, markdown } },
305
305
  { json: options.json, text: markdown }
306
306
  );
@@ -310,7 +310,7 @@ async function showSkills(options, name) {
310
310
  const skills = (_nullishCoalesce(index.skills, () => ( []))).filter(
311
311
  (skill) => skill.install_surface === "v1" && skill.name
312
312
  );
313
- _chunkZY6FL4O4js.printCommandEnvelope.call(void 0,
313
+ _chunkG5TV6WLVjs.printCommandEnvelope.call(void 0,
314
314
  {
315
315
  ok: true,
316
316
  status: "completed",
@@ -327,7 +327,7 @@ Read one with: deepline skills show <name>
327
327
  );
328
328
  return 0;
329
329
  } catch (error) {
330
- _chunkZY6FL4O4js.printCommandEnvelope.call(void 0,
330
+ _chunkG5TV6WLVjs.printCommandEnvelope.call(void 0,
331
331
  {
332
332
  ok: false,
333
333
  status: "failed",
@@ -350,7 +350,7 @@ async function runSkillsCommand(options, dependencies = {}) {
350
350
  scope = normalizeScope(options.scope);
351
351
  root = scope === "local" ? resolveLocalRoot() : null;
352
352
  } catch (error) {
353
- _chunkZY6FL4O4js.printCommandEnvelope.call(void 0,
353
+ _chunkG5TV6WLVjs.printCommandEnvelope.call(void 0,
354
354
  {
355
355
  ok: false,
356
356
  status: "failed",
@@ -362,22 +362,22 @@ async function runSkillsCommand(options, dependencies = {}) {
362
362
  );
363
363
  return 2;
364
364
  }
365
- const baseUrl = _chunkON56ISO6js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
365
+ const baseUrl = _chunkCJ7DBYEQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
366
366
  const catalog = {
367
- skillNames: [..._chunkKE6CSCUFjs.DEFAULT_SDK_SKILL_NAMES],
368
- version: _chunkG26VJCNTjs.SDK_VERSION
367
+ skillNames: [..._chunkQM7PHHYZjs.DEFAULT_SDK_SKILL_NAMES],
368
+ version: _chunkYRQKRQDUjs.SDK_VERSION
369
369
  };
370
370
  const agents = options.agent ? [options.agent] : detectSkillsAgents({ scope, root });
371
371
  const plan = buildSkillsPlan({ baseUrl, scope, root, agents, ...catalog });
372
372
  if (options.dryRun) {
373
- _chunkZY6FL4O4js.printCommandEnvelope.call(void 0,
373
+ _chunkG5TV6WLVjs.printCommandEnvelope.call(void 0,
374
374
  { ok: true, status: "planned", dryRun: true, ...plan },
375
375
  { json: options.json }
376
376
  );
377
377
  return 0;
378
378
  }
379
- if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkKE6CSCUFjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
380
- _chunkZY6FL4O4js.printCommandEnvelope.call(void 0,
379
+ if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkQM7PHHYZjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
380
+ _chunkG5TV6WLVjs.printCommandEnvelope.call(void 0,
381
381
  {
382
382
  ok: true,
383
383
  status: "current",
@@ -409,10 +409,10 @@ async function runSkillsCommand(options, dependencies = {}) {
409
409
  }
410
410
  if (scope === "local" && root) {
411
411
  const managedNames = [
412
- .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkKE6CSCUFjs.LEGACY_SKILL_NAMES_TO_REMOVE])
412
+ .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkQM7PHHYZjs.LEGACY_SKILL_NAMES_TO_REMOVE])
413
413
  ];
414
414
  const agentRoots = workspaceSkillRootsForAgents(plan.agents);
415
- _chunkON56ISO6js.ensureProjectPrivatePathsIgnored.call(void 0, root, [
415
+ _chunkCJ7DBYEQjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
416
416
  ".deepline/",
417
417
  ...agentRoots.flatMap(
418
418
  (agentRoot) => managedNames.map((name) => `${agentRoot}/skills/${name}/`)
@@ -421,7 +421,7 @@ async function runSkillsCommand(options, dependencies = {}) {
421
421
  }
422
422
  let lease;
423
423
  try {
424
- lease = scope === "global" ? await _chunkKE6CSCUFjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
424
+ lease = scope === "global" ? await _chunkQM7PHHYZjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
425
425
  waitMs: _nullishCoalesce(dependencies.installLeaseWaitMs, () => ( SKILLS_INSTALL_LEASE_WAIT_MS)),
426
426
  onWait: () => process.stderr.write(
427
427
  "Waiting for a background Deepline skills refresh to finish...\n"
@@ -429,8 +429,8 @@ async function runSkillsCommand(options, dependencies = {}) {
429
429
  }) : { release: () => {
430
430
  } };
431
431
  } catch (error) {
432
- if (!(error instanceof _chunkKE6CSCUFjs.SkillsStateUnavailableError)) throw error;
433
- _chunkZY6FL4O4js.printCommandEnvelope.call(void 0,
432
+ if (!(error instanceof _chunkQM7PHHYZjs.SkillsStateUnavailableError)) throw error;
433
+ _chunkG5TV6WLVjs.printCommandEnvelope.call(void 0,
434
434
  {
435
435
  ok: false,
436
436
  status: "failed",
@@ -446,7 +446,7 @@ async function runSkillsCommand(options, dependencies = {}) {
446
446
  return 5;
447
447
  }
448
448
  if (!lease) {
449
- _chunkZY6FL4O4js.printCommandEnvelope.call(void 0,
449
+ _chunkG5TV6WLVjs.printCommandEnvelope.call(void 0,
450
450
  {
451
451
  ok: false,
452
452
  status: "failed",
@@ -455,7 +455,7 @@ async function runSkillsCommand(options, dependencies = {}) {
455
455
  scope,
456
456
  agents,
457
457
  message: "A background Deepline skills refresh is still running for these agents.",
458
- next: `Retry in a moment: deepline skills install --scope ${scope}. If no refresh is running, remove ${_chunkKE6CSCUFjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
458
+ next: `Retry in a moment: deepline skills install --scope ${scope}. If no refresh is running, remove ${_chunkQM7PHHYZjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
459
459
  },
460
460
  { json: options.json }
461
461
  );
@@ -504,7 +504,7 @@ async function runSkillsInstallWithLease(input) {
504
504
  }
505
505
  }
506
506
  } catch (error) {
507
- _chunkZY6FL4O4js.printCommandEnvelope.call(void 0,
507
+ _chunkG5TV6WLVjs.printCommandEnvelope.call(void 0,
508
508
  {
509
509
  ok: false,
510
510
  status: "failed",
@@ -520,7 +520,7 @@ async function runSkillsInstallWithLease(input) {
520
520
  return 5;
521
521
  }
522
522
  if (missing.length > 0) {
523
- _chunkZY6FL4O4js.printCommandEnvelope.call(void 0,
523
+ _chunkG5TV6WLVjs.printCommandEnvelope.call(void 0,
524
524
  {
525
525
  ok: false,
526
526
  status: "failed",
@@ -560,7 +560,7 @@ async function runSkillsInstallWithLease(input) {
560
560
  {
561
561
  schemaVersion: 1,
562
562
  installedAt: (/* @__PURE__ */ new Date()).toISOString(),
563
- cliVersion: _chunkG26VJCNTjs.SDK_VERSION,
563
+ cliVersion: _chunkYRQKRQDUjs.SDK_VERSION,
564
564
  scope,
565
565
  agents,
566
566
  skillsVersion: plan.version,
@@ -573,9 +573,9 @@ async function runSkillsInstallWithLease(input) {
573
573
  "utf8"
574
574
  );
575
575
  if (scope === "global") {
576
- _chunkKE6CSCUFjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
576
+ _chunkQM7PHHYZjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
577
577
  }
578
- _chunkZY6FL4O4js.printCommandEnvelope.call(void 0,
578
+ _chunkG5TV6WLVjs.printCommandEnvelope.call(void 0,
579
579
  {
580
580
  ok: true,
581
581
  status: "complete",
@@ -624,7 +624,7 @@ Examples:
624
624
  "after",
625
625
  `
626
626
  Notes:
627
- This command reinstalls current Deepline-managed skills using ${_chunkKE6CSCUFjs.SKILLS_NPX_PACKAGE},
627
+ This command reinstalls current Deepline-managed skills using ${_chunkQM7PHHYZjs.SKILLS_NPX_PACKAGE},
628
628
  then removes legacy Deepline skill names. Local scope writes into the resolved
629
629
  persistent project.
630
630
 
@@ -636,13 +636,13 @@ Examples:
636
636
  ).action(async (options) => {
637
637
  process.exitCode = await runSkillsCommand(options);
638
638
  });
639
- program.command(_chunkKE6CSCUFjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
639
+ program.command(_chunkQM7PHHYZjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
640
640
  "--claim <token>",
641
641
  "Owner token of the leases this child was started for."
642
642
  ).action(async (options) => {
643
643
  const claim = _optionalChain([options, 'access', _9 => _9.claim, 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]);
644
644
  if (!claim) {
645
- _chunkZY6FL4O4js.printCommandEnvelope.call(void 0,
645
+ _chunkG5TV6WLVjs.printCommandEnvelope.call(void 0,
646
646
  {
647
647
  ok: false,
648
648
  status: "failed",
@@ -655,7 +655,7 @@ Examples:
655
655
  process.exitCode = 2;
656
656
  return;
657
657
  }
658
- await _chunkKE6CSCUFjs.syncSdkSkillsIfNeeded.call(void 0, _chunkON56ISO6js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
658
+ await _chunkQM7PHHYZjs.syncSdkSkillsIfNeeded.call(void 0, _chunkCJ7DBYEQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
659
659
  mode: "inline",
660
660
  notices: "defer",
661
661
  claim
@@ -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 _chunkRG34YBDEjs = require('./chunk-RG34YBDE.js');
3
+ var _chunkERLW6RPAjs = require('./chunk-ERLW6RPA.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkZY6FL4O4js = require('./chunk-ZY6FL4O4.js');
7
+ var _chunkG5TV6WLVjs = require('./chunk-G5TV6WLV.js');
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkG26VJCNTjs = require('./chunk-G26VJCNT.js');
12
+ var _chunkYRQKRQDUjs = require('./chunk-YRQKRQDU.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 _chunkG26VJCNTjs.claudeProjectsRoots.call(void 0, )) {
58
+ for (const root of _chunkYRQKRQDUjs.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 = _chunkG26VJCNTjs.agentSessionIdFromEnvironment.call(void 0,
150
+ const sessionId = _chunkYRQKRQDUjs.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 : _chunkG26VJCNTjs.coworkTranscriptFromEnvironment.call(void 0, );
159
+ const cowork = agent === "codex" ? null : _chunkYRQKRQDUjs.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(_chunkG26VJCNTjs.agentSessionIdFromEnvironment.call(void 0, process.env, agentRuntime), () => ( (agentRuntime === "claude_cowork" || agentRuntime === "claude_code" ? _nullishCoalesce(_optionalChain([_chunkG26VJCNTjs.coworkTranscriptFromEnvironment.call(void 0, ), 'optionalAccess', _17 => _17.sessionId]), () => ( null)) : null)));
169
+ return _nullishCoalesce(_chunkYRQKRQDUjs.agentSessionIdFromEnvironment.call(void 0, process.env, agentRuntime), () => ( (agentRuntime === "claude_cowork" || agentRuntime === "claude_code" ? _nullishCoalesce(_optionalChain([_chunkYRQKRQDUjs.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 = _chunkG26VJCNTjs.claudeProjectsRoots.call(void 0, ).map((root) => _path.join.call(void 0, root, "*", "<session-id>.jsonl")).join(", ");
218
+ const claude = _chunkYRQKRQDUjs.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 } = _chunkZY6FL4O4js.getAuthedHttpClient.call(void 0, );
475
+ const { http } = _chunkG5TV6WLVjs.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 (_chunkRG34YBDEjs.rejectRestrictedFeedback.call(void 0, options)) return;
553
+ if (_chunkERLW6RPAjs.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
- _chunkZY6FL4O4js.printCommandEnvelope.call(void 0,
565
+ _chunkG5TV6WLVjs.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
- _chunkZY6FL4O4js.printCommandEnvelope.call(void 0,
597
+ _chunkG5TV6WLVjs.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
- _chunkZY6FL4O4js.printCommandEnvelope.call(void 0,
705
+ _chunkG5TV6WLVjs.printCommandEnvelope.call(void 0,
706
706
  {
707
707
  ok: true,
708
708
  file: outputPath,
@@ -36,7 +36,7 @@ var _chunkPMH4GLMDjs = require('./chunk-PMH4GLMD.js');
36
36
 
37
37
 
38
38
 
39
- var _chunkG26VJCNTjs = require('./chunk-G26VJCNT.js');
39
+ var _chunkYRQKRQDUjs = require('./chunk-YRQKRQDU.js');
40
40
 
41
41
 
42
42
  var _chunk2GJZLIKWjs = require('./chunk-2GJZLIKW.js');
@@ -688,7 +688,7 @@ var ToolCalls = class {
688
688
  idempotencyKey,
689
689
  onResponse: (response2) => {
690
690
  lastResponse = null;
691
- atomicToolsSupported = response2.headers.get(_chunkG26VJCNTjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
691
+ atomicToolsSupported = response2.headers.get(_chunkYRQKRQDUjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
692
692
  recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
693
693
  if (_optionalChain([options, 'optionalAccess', _33 => _33.onServerTiming])) {
694
694
  try {
@@ -1075,15 +1075,15 @@ function runtimeSelectionHeaders(runtime, env) {
1075
1075
  }
1076
1076
  const receivers = _optionalChain([env, 'access', _58 => _58.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _59 => _59.trim, 'call', _60 => _60()]);
1077
1077
  return {
1078
- [_chunkG26VJCNTjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1079
- ...receivers ? { [_chunkG26VJCNTjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1078
+ [_chunkYRQKRQDUjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1079
+ ...receivers ? { [_chunkYRQKRQDUjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1080
1080
  };
1081
1081
  }
1082
1082
  function playRunStartHeaders(runtime, env) {
1083
1083
  const headers = runtimeSelectionHeaders(runtime, env);
1084
1084
  const experimentSwitches = _optionalChain([env, 'access', _61 => _61.DEEPLINE_EXPERIMENT_SWITCHES, 'optionalAccess', _62 => _62.trim, 'call', _63 => _63()]);
1085
1085
  if (!experimentSwitches) return headers;
1086
- return { ...headers, [_chunkG26VJCNTjs.EXPERIMENT_SWITCHES_HEADER]: experimentSwitches };
1086
+ return { ...headers, [_chunkYRQKRQDUjs.EXPERIMENT_SWITCHES_HEADER]: experimentSwitches };
1087
1087
  }
1088
1088
  function normalizeTestPolicyOverrides(value, source) {
1089
1089
  if (value && typeof value === "object" && !Array.isArray(value)) {
@@ -1153,7 +1153,7 @@ var PlayClient = class {
1153
1153
  return _chunkSL6MYJYMjs.startPlayRun.call(void 0,
1154
1154
  this.http,
1155
1155
  resolved.request,
1156
- _optionalChain([options, 'optionalAccess', _71 => _71.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkG26VJCNTjs.SDK_API_MAJOR) } : headers,
1156
+ _optionalChain([options, 'optionalAccess', _71 => _71.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkYRQKRQDUjs.SDK_API_MAJOR) } : headers,
1157
1157
  options
1158
1158
  );
1159
1159
  }
@@ -3369,7 +3369,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
3369
3369
  "RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
3370
3370
  );
3371
3371
  }
3372
- return { [_chunkG26VJCNTjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3372
+ return { [_chunkYRQKRQDUjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3373
3373
  }
3374
3374
  function sleep(ms) {
3375
3375
  return new Promise((resolve) => setTimeout(resolve, ms));
@@ -4284,7 +4284,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
4284
4284
  );
4285
4285
  const headers = _optionalChain([options, 'optionalAccess', _202 => _202.cliAdmission]) ? {
4286
4286
  ...runtimeHeaders,
4287
- "X-Deepline-API-Major": String(_chunkG26VJCNTjs.SDK_API_MAJOR)
4287
+ "X-Deepline-API-Major": String(_chunkYRQKRQDUjs.SDK_API_MAJOR)
4288
4288
  } : runtimeHeaders;
4289
4289
  const http = this.http;
4290
4290
  let submitted = false;
@@ -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 _chunkW7X4KH45js = require('./chunk-W7X4KH45.js');
3
+ var _chunkHR5BT42Rjs = require('./chunk-HR5BT42R.js');
4
4
 
5
5
 
6
- var _chunkUNMNGRPBjs = require('./chunk-UNMNGRPB.js');
6
+ var _chunkNZDZGK35js = require('./chunk-NZDZGK35.js');
7
7
 
8
8
 
9
9
 
@@ -14,16 +14,16 @@ var _chunkRKF263LRjs = require('./chunk-RKF263LR.js');
14
14
  var _chunkXYIECA7Mjs = require('./chunk-XYIECA7M.js');
15
15
 
16
16
 
17
- var _chunkDF2X7GJGjs = require('./chunk-DF2X7GJG.js');
17
+ var _chunkIYJO3RWRjs = require('./chunk-IYJO3RWR.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
- var _chunkZY6FL4O4js = require('./chunk-ZY6FL4O4.js');
22
+ var _chunkG5TV6WLVjs = require('./chunk-G5TV6WLV.js');
23
23
 
24
24
 
25
25
 
26
- var _chunkON56ISO6js = require('./chunk-ON56ISO6.js');
26
+ var _chunkCJ7DBYEQjs = require('./chunk-CJ7DBYEQ.js');
27
27
 
28
28
  // src/cli/commands/describe.ts
29
29
  var _fs = require('fs');
@@ -32,14 +32,14 @@ var _path = require('path');
32
32
  // src/cli/doc-read-reporting.ts
33
33
  var REPORT_TIMEOUT_MS = 1e3;
34
34
  async function reportDocRead(docId) {
35
- if (_chunkZY6FL4O4js.isFailureReportingDisabled.call(void 0, )) return;
35
+ if (_chunkG5TV6WLVjs.isFailureReportingDisabled.call(void 0, )) return;
36
36
  try {
37
- const baseUrl = _chunkON56ISO6js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
38
- const apiKey = _chunkON56ISO6js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
37
+ const baseUrl = _chunkCJ7DBYEQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
38
+ const apiKey = _chunkCJ7DBYEQjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
39
39
  if (!apiKey) return;
40
40
  await fetch(new URL("/api/v2/telemetry/doc-read", baseUrl), {
41
41
  method: "POST",
42
- headers: _chunkZY6FL4O4js.failureReportHeaders.call(void 0, apiKey),
42
+ headers: _chunkG5TV6WLVjs.failureReportHeaders.call(void 0, apiKey),
43
43
  body: JSON.stringify({ doc_id: docId }),
44
44
  signal: AbortSignal.timeout(REPORT_TIMEOUT_MS)
45
45
  });
@@ -52,16 +52,16 @@ function nothingNamed(name) {
52
52
  return `Nothing named "${name}". Search for it: deepline search ${JSON.stringify(name.replace(/[-_./]+/g, " "))}`;
53
53
  }
54
54
  function findNamed2(name, options) {
55
- return _chunkRKF263LRjs.findNamed.call(void 0, name, options, _chunkRKF263LRjs.describeLookupsFor.call(void 0, new (0, _chunkDF2X7GJGjs.DeeplineClient)()));
55
+ return _chunkRKF263LRjs.findNamed.call(void 0, name, options, _chunkRKF263LRjs.describeLookupsFor.call(void 0, new (0, _chunkIYJO3RWRjs.DeeplineClient)()));
56
56
  }
57
57
  async function describeAnything(name, options, onMissing) {
58
- const client = new (0, _chunkDF2X7GJGjs.DeeplineClient)();
58
+ const client = new (0, _chunkIYJO3RWRjs.DeeplineClient)();
59
59
  const lookups = _chunkRKF263LRjs.describeLookupsFor.call(void 0, client);
60
60
  const outcome = await _chunkRKF263LRjs.describeName.call(void 0, name, options, {
61
61
  ...lookups,
62
62
  // `tools describe` has already fetched the tool for its compatibility check.
63
63
  tool: async (toolName) => _nullishCoalesce(options.fetchedTool, () => ( lookups.tool(toolName))),
64
- seedStarterScript: _chunkW7X4KH45js.seedToolListScript
64
+ seedStarterScript: _chunkHR5BT42Rjs.seedToolListScript
65
65
  });
66
66
  if (outcome.status === "missing") {
67
67
  if (onMissing) return onMissing();
@@ -87,18 +87,18 @@ function deliver(envelope, lines, { json, out }) {
87
87
  ` : text;
88
88
  _fs.writeFileSync.call(void 0, path, content);
89
89
  const bytes = Buffer.byteLength(content);
90
- _chunkZY6FL4O4js.printCommandEnvelope.call(void 0,
90
+ _chunkG5TV6WLVjs.printCommandEnvelope.call(void 0,
91
91
  { path, bytes },
92
92
  { json, text: `Wrote ${path} (${bytes} bytes)
93
93
  ` }
94
94
  );
95
95
  return 0;
96
96
  }
97
- _chunkZY6FL4O4js.printCommandEnvelope.call(void 0, envelope, { json, text });
97
+ _chunkG5TV6WLVjs.printCommandEnvelope.call(void 0, envelope, { json, text });
98
98
  return 0;
99
99
  }
100
100
  function registerDescribeCommand(program) {
101
- _chunkUNMNGRPBjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
101
+ _chunkNZDZGK35js.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
102
102
  "Describe anything search returns: a tool, monitor type, or play."
103
103
  ).addHelpText(
104
104
  "after",
@@ -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 _chunkZY6FL4O4js = require('./chunk-ZY6FL4O4.js');
3
+ var _chunkG5TV6WLVjs = require('./chunk-G5TV6WLV.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
- _chunkZY6FL4O4js.printCommandEnvelope.call(void 0,
60
+ _chunkG5TV6WLVjs.printCommandEnvelope.call(void 0,
61
61
  { ok: false, code, exitCode: 2, message },
62
62
  { json: true }
63
63
  );
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isJsonOutputMode
3
- } from "./chunk-DVDWAC2M.mjs";
3
+ } from "./chunk-JL5JU3LD.mjs";
4
4
 
5
5
  // src/cli/progress.ts
6
6
  import { Worker } from "worker_threads";
@@ -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; } var _class;
2
2
 
3
- var _chunkZY6FL4O4js = require('./chunk-ZY6FL4O4.js');
3
+ var _chunkG5TV6WLVjs = require('./chunk-G5TV6WLV.js');
4
4
 
5
5
  // src/cli/progress.ts
6
6
  var _worker_threads = require('worker_threads');
@@ -19,7 +19,7 @@ var CliProgress = (_class = class {
19
19
  __init9() {this.quiet = false}
20
20
  // --json output is one JSON document: progress never renders under it.
21
21
  constructor(enabled) {;_class.prototype.__init.call(this);_class.prototype.__init2.call(this);_class.prototype.__init3.call(this);_class.prototype.__init4.call(this);_class.prototype.__init5.call(this);_class.prototype.__init6.call(this);_class.prototype.__init7.call(this);_class.prototype.__init8.call(this);_class.prototype.__init9.call(this);
22
- this.enabled = enabled && !_chunkZY6FL4O4js.isJsonOutputMode.call(void 0, );
22
+ this.enabled = enabled && !_chunkG5TV6WLVjs.isJsonOutputMode.call(void 0, );
23
23
  }
24
24
  setLogWriter(writer) {
25
25
  this.logWriter = writer;
@@ -59,7 +59,7 @@ var CliProgress = (_class = class {
59
59
  this.logWriter(line);
60
60
  return;
61
61
  }
62
- if (_chunkZY6FL4O4js.isJsonOutputMode.call(void 0, )) return;
62
+ if (_chunkG5TV6WLVjs.isJsonOutputMode.call(void 0, )) return;
63
63
  if (!this.enabled) {
64
64
  process.stderr.write(`${line}
65
65
  `);