deepline 0.3.487 → 0.3.489

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 (123) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +7 -1
  2. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
  3. package/dist/cli/{auth-GIBZFTUJ.mjs → auth-5RIU6GT7.mjs} +5 -5
  4. package/dist/cli/auth-PSIS3XA6.js +43 -0
  5. package/dist/cli/{billing-T3SN2T4T.mjs → billing-T4TMPRFS.mjs} +6 -6
  6. package/dist/cli/{billing-TZINXSTI.js → billing-T5MAGF25.js} +79 -79
  7. package/dist/cli/{chunk-YVK3WEBE.mjs → chunk-2QUROYZU.mjs} +1 -1
  8. package/dist/cli/{chunk-76EUEG45.mjs → chunk-35N4S2E6.mjs} +1 -1
  9. package/dist/cli/{chunk-LE3BAE4T.mjs → chunk-3S5VBG6Z.mjs} +2 -2
  10. package/dist/cli/{chunk-TY7AFVAC.js → chunk-4EFD6R2V.js} +37 -37
  11. package/dist/cli/{chunk-IAK7OKDC.mjs → chunk-4GWEZPZR.mjs} +6 -1
  12. package/dist/cli/{chunk-XVSMWD6E.js → chunk-5DEJ3TLB.js} +7 -7
  13. package/dist/cli/{chunk-WZQSBYFU.js → chunk-6FMP5XRF.js} +6 -6
  14. package/dist/cli/{chunk-JH2XVGTM.mjs → chunk-6PHHQDM6.mjs} +1 -1
  15. package/dist/cli/{chunk-MQYUH3DR.mjs → chunk-7R243PYK.mjs} +15 -1
  16. package/dist/cli/{chunk-IL5AF6AR.mjs → chunk-A7ZMG2QZ.mjs} +24 -12
  17. package/dist/cli/{chunk-2EQPUMZG.mjs → chunk-C55LNEUF.mjs} +1 -1
  18. package/dist/cli/{chunk-6VW4YVWH.mjs → chunk-DHAJSTSH.mjs} +4 -4
  19. package/dist/cli/{chunk-TDUPHVI2.js → chunk-DY7T6VNT.js} +21 -21
  20. package/dist/cli/{chunk-BWXQIRPZ.js → chunk-F3TDT57M.js} +5 -5
  21. package/dist/cli/{chunk-ZJIFSEJS.js → chunk-FFDWL5N2.js} +16 -16
  22. package/dist/cli/{chunk-NR6ZSXYE.js → chunk-FH7ZABHW.js} +94 -94
  23. package/dist/cli/{chunk-WFMTJFGG.js → chunk-FL7NHJTS.js} +10 -10
  24. package/dist/cli/{chunk-O4LTC7S6.js → chunk-FNKSRKTA.js} +22 -8
  25. package/dist/cli/{chunk-ATEO2Y3W.mjs → chunk-G7POOFBJ.mjs} +2 -2
  26. package/dist/cli/{chunk-DAXLSR65.js → chunk-GW6HV7Z7.js} +3 -3
  27. package/dist/cli/{chunk-HK6RIWDN.mjs → chunk-H66YVVT7.mjs} +1 -1
  28. package/dist/cli/{chunk-JDFYXDDA.js → chunk-I4NWMPT3.js} +53 -53
  29. package/dist/cli/{chunk-BXOHHCXG.js → chunk-K2RUSHZ7.js} +4 -4
  30. package/dist/cli/{chunk-4AZFKKGK.mjs → chunk-L2GMFNAO.mjs} +3 -3
  31. package/dist/cli/{chunk-75LPU4AO.js → chunk-LM5UIDFA.js} +7 -7
  32. package/dist/cli/{chunk-VHXDX7WY.mjs → chunk-LMUOUIBV.mjs} +5 -5
  33. package/dist/cli/{chunk-WOG5SFF2.mjs → chunk-NBHCEVWY.mjs} +4 -4
  34. package/dist/cli/{chunk-OKAZHDYN.js → chunk-O3K22ZC7.js} +24 -12
  35. package/dist/cli/{chunk-6MRJ3SMS.mjs → chunk-OTQ2CO6M.mjs} +2 -2
  36. package/dist/cli/{chunk-CEJFXV7R.mjs → chunk-QJ4FWKUU.mjs} +2 -2
  37. package/dist/cli/{chunk-RXKFJTFH.mjs → chunk-QXWE6PHI.mjs} +2 -2
  38. package/dist/cli/{chunk-JZNSRGDL.js → chunk-R23HZ6AV.js} +2 -2
  39. package/dist/cli/{chunk-DJJ2UYSX.mjs → chunk-RACN23LT.mjs} +4 -4
  40. package/dist/cli/{chunk-WXEAAVBK.js → chunk-RI2PLVD4.js} +7 -7
  41. package/dist/cli/{chunk-QZ4DVKYU.js → chunk-S4F2R2LO.js} +9 -9
  42. package/dist/cli/{chunk-VPSK464I.mjs → chunk-S5PMBDY6.mjs} +10 -10
  43. package/dist/cli/{chunk-6YMPAQEI.js → chunk-SZHNIKTR.js} +26 -26
  44. package/dist/cli/{chunk-YWRMI4WC.mjs → chunk-TMQ3PCSY.mjs} +2 -2
  45. package/dist/cli/{chunk-FMN7S7KB.js → chunk-UI67QLIR.js} +53 -53
  46. package/dist/cli/{chunk-NDUZXNGV.js → chunk-UYZNRLDE.js} +6 -1
  47. package/dist/cli/{chunk-E2CSKE27.js → chunk-UZ7VPOTA.js} +3 -3
  48. package/dist/cli/{chunk-ZOENOU2W.js → chunk-VP65YKOA.js} +5 -5
  49. package/dist/cli/{chunk-YIVYI5XH.js → chunk-WIKIF67Q.js} +8 -8
  50. package/dist/cli/{chunk-JWTTCWZM.mjs → chunk-WRJ6MEY5.mjs} +1 -1
  51. package/dist/cli/{chunk-5BWN4XAO.mjs → chunk-Y3SG26KP.mjs} +4 -4
  52. package/dist/cli/{chunk-4LMPONJM.mjs → chunk-YEX3VNAY.mjs} +2 -2
  53. package/dist/cli/{chunk-HKK3NTTF.js → chunk-YSB44HZB.js} +2 -2
  54. package/dist/cli/{chunk-RFBM4KSE.mjs → chunk-ZICPJKMP.mjs} +5 -5
  55. package/dist/cli/command-docs.js +2 -2
  56. package/dist/cli/command-docs.mjs +1 -1
  57. package/dist/cli/{csv-42ZQOY2Y.mjs → csv-WAD54M7T.mjs} +4 -4
  58. package/dist/cli/{csv-IKHCVOV5.js → csv-XTKN255I.js} +13 -13
  59. package/dist/cli/{db-B3RLPXTA.mjs → db-2ELZMJFC.mjs} +6 -6
  60. package/dist/cli/{db-3AWAIV6O.js → db-TTS6Y4FI.js} +27 -27
  61. package/dist/cli/describe-2V7H5LJP.js +49 -0
  62. package/dist/cli/{describe-NEPMNE33.mjs → describe-Z7GWMGKU.mjs} +17 -17
  63. package/dist/cli/{executions-W53OBSB6.mjs → executions-2TQH54AB.mjs} +6 -6
  64. package/dist/cli/{executions-3KJXWIGK.js → executions-WUBVVJXN.js} +8 -8
  65. package/dist/cli/{feedback-3MSNFC6M.js → feedback-6KAY4LE6.js} +8 -8
  66. package/dist/cli/{feedback-GJNATGAP.mjs → feedback-QI75ZVF2.mjs} +4 -4
  67. package/dist/cli/{git-5BWKZFNE.mjs → git-3PI2SXVS.mjs} +5 -5
  68. package/dist/cli/git-DCADFTQ6.js +25 -0
  69. package/dist/cli/index.js +141 -141
  70. package/dist/cli/index.mjs +41 -41
  71. package/dist/cli/{legacy-noops-GSW6TMAJ.js → legacy-noops-BNEVRTQT.js} +8 -8
  72. package/dist/cli/{legacy-noops-A7YMA3NB.mjs → legacy-noops-SIDE3HLT.mjs} +5 -5
  73. package/dist/cli/{monitors-24QFIRCI.mjs → monitors-BYQ5V5MX.mjs} +7 -7
  74. package/dist/cli/{monitors-T5RMXFKT.js → monitors-WRWVVXUZ.js} +91 -91
  75. package/dist/cli/{org-3JJQOXLF.js → org-KWCSSJ3Y.js} +72 -72
  76. package/dist/cli/{org-ZZPKJOQY.mjs → org-OZNDX3G2.mjs} +6 -6
  77. package/dist/cli/{pages-ZFCV37XK.mjs → pages-DXU3TNND.mjs} +6 -6
  78. package/dist/cli/{pages-3GK3SKKB.js → pages-OQVOMVF5.js} +17 -17
  79. package/dist/cli/{play-4MINBQNW.js → play-6D7U66KO.js} +312 -312
  80. package/dist/cli/{play-DX36FVSU.mjs → play-ZFG4HDDX.mjs} +17 -17
  81. package/dist/cli/{providers-Z4EYMZJM.mjs → providers-4RRQIK3Q.mjs} +6 -6
  82. package/dist/cli/{providers-YDQHY35D.js → providers-H7R3Z5HS.js} +9 -9
  83. package/dist/cli/{quickstart-OTZVKVIE.js → quickstart-FQ5E5G6O.js} +6 -6
  84. package/dist/cli/{quickstart-YMI4OECS.mjs → quickstart-TFKRPMCH.mjs} +4 -4
  85. package/dist/cli/{run-OBU3YFOJ.mjs → run-GRCGGUUM.mjs} +30 -134
  86. package/dist/cli/{run-P345MQLC.js → run-QRDJTXKB.js} +44 -148
  87. package/dist/cli/search-2FB7WQUS.js +32 -0
  88. package/dist/cli/{search-5FBWOI2H.mjs → search-OEVSDE3U.mjs} +7 -7
  89. package/dist/cli/{search-output-WOTMZA55.js → search-output-F6KBWKT2.js} +6 -6
  90. package/dist/cli/{search-output-673LGTLF.mjs → search-output-VK5ZDVKL.mjs} +4 -4
  91. package/dist/cli/{secrets-QX45TZJK.mjs → secrets-DCRVVQV2.mjs} +6 -6
  92. package/dist/cli/{secrets-IWYY42YD.js → secrets-KKAAZENS.js} +15 -15
  93. package/dist/cli/{sessions-ZUK654NJ.js → sessions-FDHENJVG.js} +6 -6
  94. package/dist/cli/{sessions-Z2ZB3EZ7.mjs → sessions-XVBIXCXU.mjs} +5 -5
  95. package/dist/cli/{settings-ZXXP7DHM.js → settings-36HMWFAP.js} +78 -78
  96. package/dist/cli/{settings-6VY7HTEE.mjs → settings-OBVR52US.mjs} +11 -11
  97. package/dist/cli/{setup-SD66A4OE.mjs → setup-KFYQZYP3.mjs} +9 -9
  98. package/dist/cli/{setup-RE7T3PAE.js → setup-M6OWOPMB.js} +47 -47
  99. package/dist/cli/{skills-ARPNJ7MN.mjs → skills-AZDPA6IQ.mjs} +7 -7
  100. package/dist/cli/skills-URCPOKZZ.js +33 -0
  101. package/dist/cli/tools-4G5J5NQP.js +56 -0
  102. package/dist/cli/{tools-R3TUCRX3.mjs → tools-F6XEUK7H.mjs} +16 -16
  103. package/dist/cli/{update-2DPZJQK4.mjs → update-QMGJRICE.mjs} +9 -9
  104. package/dist/cli/update-UWVL2OYA.js +33 -0
  105. package/dist/cli/{workflow-2WPRQNRF.mjs → workflow-L5WNCAPB.mjs} +7 -7
  106. package/dist/cli/{workflow-GIWX7OZC.js → workflow-M4YPUASM.js} +17 -17
  107. package/dist/index.js +9 -9
  108. package/dist/index.mjs +6 -6
  109. package/dist/install-integrity.json +100 -100
  110. package/dist/release.d.mts +5 -1
  111. package/dist/release.d.ts +5 -1
  112. package/dist/release.js +2 -2
  113. package/dist/release.mjs +1 -1
  114. package/dist/server.js +5 -5
  115. package/dist/server.mjs +3 -3
  116. package/package.json +1 -1
  117. package/dist/cli/auth-Q4U7IFFV.js +0 -43
  118. package/dist/cli/describe-HLO35E5Y.js +0 -49
  119. package/dist/cli/git-WRFBKH6H.js +0 -25
  120. package/dist/cli/search-IV22OQLS.js +0 -32
  121. package/dist/cli/skills-ZDKFUVNP.js +0 -33
  122. package/dist/cli/tools-AUU42AVE.js +0 -56
  123. package/dist/cli/update-QLF3A6YY.js +0 -33
@@ -11,20 +11,20 @@
11
11
 
12
12
 
13
13
 
14
- var _chunkFMN7S7KBjs = require('./chunk-FMN7S7KB.js');
14
+ var _chunkUI67QLIRjs = require('./chunk-UI67QLIR.js');
15
15
 
16
16
 
17
- var _chunkWXEAAVBKjs = require('./chunk-WXEAAVBK.js');
17
+ var _chunkRI2PLVD4js = require('./chunk-RI2PLVD4.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunkE2CSKE27js = require('./chunk-E2CSKE27.js');
23
+ var _chunkUZ7VPOTAjs = require('./chunk-UZ7VPOTA.js');
24
24
 
25
25
 
26
26
 
27
- var _chunkBXOHHCXGjs = require('./chunk-BXOHHCXG.js');
27
+ var _chunkK2RUSHZ7js = require('./chunk-K2RUSHZ7.js');
28
28
 
29
29
  // src/cli/commands/skills.ts
30
30
  var _child_process = require('child_process');
@@ -132,7 +132,7 @@ function inferActiveSkillsScope(entrypoint = _nullishCoalesce(process.argv[1], (
132
132
  return /[\\/]\.deepline[\\/]runtime[\\/]/.test(entrypoint) ? "local" : "global";
133
133
  }
134
134
  function resolveLocalRoot() {
135
- const target = _chunkE2CSKE27js.resolveProjectPinTarget.call(void 0, );
135
+ const target = _chunkUZ7VPOTAjs.resolveProjectPinTarget.call(void 0, );
136
136
  if (!target.ok) {
137
137
  throw new Error(
138
138
  `Cowork project folder is ambiguous. Candidate folders: ${target.candidates.join(
@@ -143,7 +143,7 @@ function resolveLocalRoot() {
143
143
  return target.dir;
144
144
  }
145
145
  function detectSkillsAgents(input) {
146
- const runtime = _nullishCoalesce(input.runtime, () => ( _chunkBXOHHCXGjs.detectAgentRuntime.call(void 0, )));
146
+ const runtime = _nullishCoalesce(input.runtime, () => ( _chunkK2RUSHZ7js.detectAgentRuntime.call(void 0, )));
147
147
  const knownAgent = RUNTIME_TO_SKILLS_AGENT[runtime];
148
148
  if (knownAgent) return [knownAgent];
149
149
  const roots = [
@@ -158,11 +158,11 @@ function detectSkillsAgents(input) {
158
158
  return detected.length > 0 ? detected : ["*"];
159
159
  }
160
160
  function skillsStatePathForScope(baseUrl, scope, root) {
161
- return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkE2CSKE27js.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
161
+ return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkUZ7VPOTAjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
162
162
  }
163
163
  function buildSkillsPlan(input) {
164
164
  const scopeArgs = input.scope === "global" ? ["--global"] : [];
165
- const legacyNames = [..._chunkFMN7S7KBjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
165
+ const legacyNames = [..._chunkUI67QLIRjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
166
166
  (a, b) => a.localeCompare(b)
167
167
  );
168
168
  return {
@@ -176,7 +176,7 @@ function buildSkillsPlan(input) {
176
176
  args: [
177
177
  "exec",
178
178
  "--yes",
179
- `--package=${_chunkFMN7S7KBjs.SKILLS_NPX_PACKAGE}`,
179
+ `--package=${_chunkUI67QLIRjs.SKILLS_NPX_PACKAGE}`,
180
180
  "--",
181
181
  "skills",
182
182
  "remove",
@@ -192,11 +192,11 @@ function buildSkillsPlan(input) {
192
192
  args: [
193
193
  "exec",
194
194
  "--yes",
195
- `--package=${_chunkFMN7S7KBjs.SKILLS_NPX_PACKAGE}`,
195
+ `--package=${_chunkUI67QLIRjs.SKILLS_NPX_PACKAGE}`,
196
196
  "--",
197
197
  "skills",
198
198
  "add",
199
- _chunkFMN7S7KBjs.skillsSourceUrl.call(void 0, input.baseUrl),
199
+ _chunkUI67QLIRjs.skillsSourceUrl.call(void 0, input.baseUrl),
200
200
  "--agent",
201
201
  ...input.agents,
202
202
  ...scopeArgs,
@@ -233,7 +233,7 @@ function readSkillsInstallState(path) {
233
233
  }
234
234
  function runProcess(command, args, cwd) {
235
235
  return new Promise((resolve, reject) => {
236
- const plan = _chunkFMN7S7KBjs.resolveShellSpawn.call(void 0,
236
+ const plan = _chunkUI67QLIRjs.resolveShellSpawn.call(void 0,
237
237
  command,
238
238
  args,
239
239
  process.platform,
@@ -255,7 +255,7 @@ function runProcess(command, args, cwd) {
255
255
  child.kill("SIGTERM");
256
256
  reject(
257
257
  new Error(
258
- `${_chunkFMN7S7KBjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
258
+ `${_chunkUI67QLIRjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
259
259
  )
260
260
  );
261
261
  }, SKILLS_PROCESS_TIMEOUT_MS);
@@ -266,7 +266,7 @@ function runProcess(command, args, cwd) {
266
266
  child.once("close", (code) => {
267
267
  clearTimeout(timeout);
268
268
  if (code && stderr.trim()) {
269
- process.stderr.write(`${_chunkFMN7S7KBjs.SKILLS_NPX_PACKAGE} exited ${code}.
269
+ process.stderr.write(`${_chunkUI67QLIRjs.SKILLS_NPX_PACKAGE} exited ${code}.
270
270
  `);
271
271
  }
272
272
  resolve(_nullishCoalesce(code, () => ( 1)));
@@ -280,7 +280,7 @@ async function runSkillsCommand(options, dependencies = {}) {
280
280
  scope = normalizeScope(options.scope);
281
281
  root = scope === "local" ? resolveLocalRoot() : null;
282
282
  } catch (error) {
283
- _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
283
+ _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
284
284
  {
285
285
  ok: false,
286
286
  status: "failed",
@@ -292,22 +292,22 @@ async function runSkillsCommand(options, dependencies = {}) {
292
292
  );
293
293
  return 2;
294
294
  }
295
- const baseUrl = _chunkE2CSKE27js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
295
+ const baseUrl = _chunkUZ7VPOTAjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
296
296
  const catalog = {
297
- skillNames: [..._chunkFMN7S7KBjs.DEFAULT_SDK_SKILL_NAMES],
298
- version: _chunkBXOHHCXGjs.SDK_VERSION
297
+ skillNames: [..._chunkUI67QLIRjs.DEFAULT_SDK_SKILL_NAMES],
298
+ version: _chunkK2RUSHZ7js.SDK_VERSION
299
299
  };
300
300
  const agents = options.agent ? [options.agent] : detectSkillsAgents({ scope, root });
301
301
  const plan = buildSkillsPlan({ baseUrl, scope, root, agents, ...catalog });
302
302
  if (options.dryRun) {
303
- _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
303
+ _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
304
304
  { ok: true, status: "planned", dryRun: true, ...plan },
305
305
  { json: options.json }
306
306
  );
307
307
  return 0;
308
308
  }
309
- if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkFMN7S7KBjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
310
- _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
309
+ if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkUI67QLIRjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
310
+ _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
311
311
  {
312
312
  ok: true,
313
313
  status: "current",
@@ -339,10 +339,10 @@ async function runSkillsCommand(options, dependencies = {}) {
339
339
  }
340
340
  if (scope === "local" && root) {
341
341
  const managedNames = [
342
- .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkFMN7S7KBjs.LEGACY_SKILL_NAMES_TO_REMOVE])
342
+ .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkUI67QLIRjs.LEGACY_SKILL_NAMES_TO_REMOVE])
343
343
  ];
344
344
  const agentRoots = workspaceSkillRootsForAgents(plan.agents);
345
- _chunkE2CSKE27js.ensureProjectPrivatePathsIgnored.call(void 0, root, [
345
+ _chunkUZ7VPOTAjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
346
346
  ".deepline/",
347
347
  ...agentRoots.flatMap(
348
348
  (agentRoot) => managedNames.map((name) => `${agentRoot}/skills/${name}/`)
@@ -351,7 +351,7 @@ async function runSkillsCommand(options, dependencies = {}) {
351
351
  }
352
352
  let lease;
353
353
  try {
354
- lease = scope === "global" ? await _chunkFMN7S7KBjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
354
+ lease = scope === "global" ? await _chunkUI67QLIRjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
355
355
  waitMs: _nullishCoalesce(dependencies.installLeaseWaitMs, () => ( SKILLS_INSTALL_LEASE_WAIT_MS)),
356
356
  onWait: () => process.stderr.write(
357
357
  "Waiting for a background Deepline skills refresh to finish...\n"
@@ -359,8 +359,8 @@ async function runSkillsCommand(options, dependencies = {}) {
359
359
  }) : { release: () => {
360
360
  } };
361
361
  } catch (error) {
362
- if (!(error instanceof _chunkFMN7S7KBjs.SkillsStateUnavailableError)) throw error;
363
- _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
362
+ if (!(error instanceof _chunkUI67QLIRjs.SkillsStateUnavailableError)) throw error;
363
+ _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
364
364
  {
365
365
  ok: false,
366
366
  status: "failed",
@@ -376,7 +376,7 @@ async function runSkillsCommand(options, dependencies = {}) {
376
376
  return 5;
377
377
  }
378
378
  if (!lease) {
379
- _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
379
+ _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
380
380
  {
381
381
  ok: false,
382
382
  status: "failed",
@@ -385,7 +385,7 @@ async function runSkillsCommand(options, dependencies = {}) {
385
385
  scope,
386
386
  agents,
387
387
  message: "A background Deepline skills refresh is still running for these agents.",
388
- next: `Retry in a moment: deepline skills --scope ${scope}. If no refresh is running, remove ${_chunkFMN7S7KBjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
388
+ next: `Retry in a moment: deepline skills --scope ${scope}. If no refresh is running, remove ${_chunkUI67QLIRjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
389
389
  },
390
390
  { json: options.json }
391
391
  );
@@ -434,7 +434,7 @@ async function runSkillsInstallWithLease(input) {
434
434
  }
435
435
  }
436
436
  } catch (error) {
437
- _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
437
+ _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
438
438
  {
439
439
  ok: false,
440
440
  status: "failed",
@@ -450,7 +450,7 @@ async function runSkillsInstallWithLease(input) {
450
450
  return 5;
451
451
  }
452
452
  if (missing.length > 0) {
453
- _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
453
+ _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
454
454
  {
455
455
  ok: false,
456
456
  status: "failed",
@@ -490,7 +490,7 @@ async function runSkillsInstallWithLease(input) {
490
490
  {
491
491
  schemaVersion: 1,
492
492
  installedAt: (/* @__PURE__ */ new Date()).toISOString(),
493
- cliVersion: _chunkBXOHHCXGjs.SDK_VERSION,
493
+ cliVersion: _chunkK2RUSHZ7js.SDK_VERSION,
494
494
  scope,
495
495
  agents,
496
496
  skillsVersion: plan.version,
@@ -503,9 +503,9 @@ async function runSkillsInstallWithLease(input) {
503
503
  "utf8"
504
504
  );
505
505
  if (scope === "global") {
506
- _chunkFMN7S7KBjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
506
+ _chunkUI67QLIRjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
507
507
  }
508
- _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
508
+ _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
509
509
  {
510
510
  ok: true,
511
511
  status: "complete",
@@ -536,7 +536,7 @@ function registerSkillsCommand(program) {
536
536
  "after",
537
537
  `
538
538
  Notes:
539
- This command reinstalls current Deepline-managed skills using ${_chunkFMN7S7KBjs.SKILLS_NPX_PACKAGE},
539
+ This command reinstalls current Deepline-managed skills using ${_chunkUI67QLIRjs.SKILLS_NPX_PACKAGE},
540
540
  then removes legacy Deepline skill names. Local scope writes into the resolved
541
541
  persistent project.
542
542
 
@@ -548,13 +548,13 @@ Examples:
548
548
  ).action(async (options) => {
549
549
  process.exitCode = await runSkillsCommand(options);
550
550
  });
551
- program.command(_chunkFMN7S7KBjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
551
+ program.command(_chunkUI67QLIRjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
552
552
  "--claim <token>",
553
553
  "Owner token of the leases this child was started for."
554
554
  ).action(async (options) => {
555
555
  const claim = _optionalChain([options, 'access', _5 => _5.claim, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]);
556
556
  if (!claim) {
557
- _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
557
+ _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
558
558
  {
559
559
  ok: false,
560
560
  status: "failed",
@@ -567,7 +567,7 @@ Examples:
567
567
  process.exitCode = 2;
568
568
  return;
569
569
  }
570
- await _chunkFMN7S7KBjs.syncSdkSkillsIfNeeded.call(void 0, _chunkE2CSKE27js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
570
+ await _chunkUI67QLIRjs.syncSdkSkillsIfNeeded.call(void 0, _chunkUZ7VPOTAjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
571
571
  mode: "inline",
572
572
  notices: "defer",
573
573
  claim
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
49
49
  // getters keep their established compatibility behavior.
50
50
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
51
51
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
52
- version: "0.3.487",
52
+ version: "0.3.489",
53
53
  updateSummary: {
54
54
  introducedIn: "0.3.90",
55
55
  summary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release."
@@ -87,6 +87,11 @@ var SDK_RELEASE = {
87
87
  minimumSupported: "0.1.53",
88
88
  deprecatedBelow: "0.3.1",
89
89
  commandIntroducedIn: [
90
+ {
91
+ command: "run",
92
+ introducedIn: "0.3.462",
93
+ reason: "deepline run was added in SDK CLI 0.3.462 as the one command for tools, plays, play files, and inline code. On an older version run deepline tools execute or deepline plays run, or update."
94
+ },
90
95
  {
91
96
  command: "describe",
92
97
  introducedIn: "0.3.312",
@@ -31,7 +31,7 @@ var _chunkNMU3VR5Ujs = require('./chunk-NMU3VR5U.js');
31
31
 
32
32
 
33
33
 
34
- var _chunkBXOHHCXGjs = require('./chunk-BXOHHCXG.js');
34
+ var _chunkK2RUSHZ7js = require('./chunk-K2RUSHZ7.js');
35
35
 
36
36
 
37
37
  var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
@@ -652,7 +652,7 @@ var ToolCalls = class {
652
652
  idempotencyKey,
653
653
  onResponse: (response2) => {
654
654
  lastResponse = null;
655
- atomicToolsSupported = response2.headers.get(_chunkBXOHHCXGjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
655
+ atomicToolsSupported = response2.headers.get(_chunkK2RUSHZ7js.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
656
656
  recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
657
657
  if (_optionalChain([options, 'optionalAccess', _30 => _30.onServerTiming])) {
658
658
  try {
@@ -1031,8 +1031,8 @@ function runtimeSelectionHeaders(runtime, env) {
1031
1031
  }
1032
1032
  const receivers = _optionalChain([env, 'access', _52 => _52.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _53 => _53.trim, 'call', _54 => _54()]);
1033
1033
  return {
1034
- [_chunkBXOHHCXGjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1035
- ...receivers ? { [_chunkBXOHHCXGjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1034
+ [_chunkK2RUSHZ7js.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1035
+ ...receivers ? { [_chunkK2RUSHZ7js.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1036
1036
  };
1037
1037
  }
1038
1038
  function normalizeTestPolicyOverrides(value, source) {
@@ -1103,7 +1103,7 @@ var PlayClient = class {
1103
1103
  return _chunkAUQQVDABjs.startPlayRun.call(void 0,
1104
1104
  this.http,
1105
1105
  resolved.request,
1106
- _optionalChain([options, 'optionalAccess', _62 => _62.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkBXOHHCXGjs.SDK_API_MAJOR) } : headers,
1106
+ _optionalChain([options, 'optionalAccess', _62 => _62.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkK2RUSHZ7js.SDK_API_MAJOR) } : headers,
1107
1107
  options
1108
1108
  );
1109
1109
  }
@@ -3200,7 +3200,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
3200
3200
  "RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
3201
3201
  );
3202
3202
  }
3203
- return { [_chunkBXOHHCXGjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3203
+ return { [_chunkK2RUSHZ7js.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3204
3204
  }
3205
3205
  function sleep(ms) {
3206
3206
  return new Promise((resolve) => setTimeout(resolve, ms));
@@ -4001,7 +4001,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
4001
4001
  );
4002
4002
  const headers = _optionalChain([options, 'optionalAccess', _181 => _181.cliAdmission]) ? {
4003
4003
  ...runtimeHeaders,
4004
- "X-Deepline-API-Major": String(_chunkBXOHHCXGjs.SDK_API_MAJOR)
4004
+ "X-Deepline-API-Major": String(_chunkK2RUSHZ7js.SDK_API_MAJOR)
4005
4005
  } : runtimeHeaders;
4006
4006
  const http = this.http;
4007
4007
  let submitted = false;
@@ -1,11 +1,11 @@
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 _chunkHKK3NTTFjs = require('./chunk-HKK3NTTF.js');
3
+ var _chunkYSB44HZBjs = require('./chunk-YSB44HZB.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkFMN7S7KBjs = require('./chunk-FMN7S7KB.js');
8
+ var _chunkUI67QLIRjs = require('./chunk-UI67QLIR.js');
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -18,11 +18,11 @@ function usesCliPlayAdmission(command, args) {
18
18
  }
19
19
  async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configured", signal) {
20
20
  _optionalChain([signal, 'optionalAccess', _ => _.throwIfAborted, 'call', _2 => _2()]);
21
- if (maintenancePolicy !== "off") _chunkFMN7S7KBjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
- const compatibility = await _chunkHKK3NTTFjs.traceCliSpan.call(void 0,
21
+ if (maintenancePolicy !== "off") _chunkUI67QLIRjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
+ const compatibility = await _chunkYSB44HZBjs.traceCliSpan.call(void 0,
23
23
  "cli.sdk_compatibility",
24
24
  { baseUrl, command: "plays run" },
25
- () => _chunkFMN7S7KBjs.checkSdkCompatibility.call(void 0, baseUrl, {
25
+ () => _chunkUI67QLIRjs.checkSdkCompatibility.call(void 0, baseUrl, {
26
26
  command: "plays run",
27
27
  persistCache: maintenancePolicy !== "off",
28
28
  signal
@@ -30,7 +30,7 @@ async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configure
30
30
  );
31
31
  _optionalChain([signal, 'optionalAccess', _3 => _3.throwIfAborted, 'call', _4 => _4()]);
32
32
  if (compatibility.error) throw compatibility.error;
33
- _chunkFMN7S7KBjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
33
+ _chunkUI67QLIRjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
34
34
  quietAdvisory: true
35
35
  });
36
36
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-5BWN4XAO.mjs";
3
+ } from "./chunk-Y3SG26KP.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isJsonOutputMode
3
- } from "./chunk-4LMPONJM.mjs";
3
+ } from "./chunk-YEX3VNAY.mjs";
4
4
 
5
5
  // src/cli/progress.ts
6
6
  import { Worker } from "worker_threads";
@@ -15,6 +15,8 @@ var CliProgress = class {
15
15
  /** Where live log lines go instead of stderr, as `deepline run --logs-out` sets. */
16
16
  logWriter = null;
17
17
  enabled;
18
+ /** Progress goes to the log writer, not stderr, as a non-terminal `deepline run` sets. */
19
+ quiet = false;
18
20
  // --json output is one JSON document: progress never renders under it.
19
21
  constructor(enabled) {
20
22
  this.enabled = enabled && !isJsonOutputMode();
@@ -22,10 +24,18 @@ var CliProgress = class {
22
24
  setLogWriter(writer) {
23
25
  this.logWriter = writer;
24
26
  }
27
+ setQuiet(quiet) {
28
+ this.quiet = quiet;
29
+ }
25
30
  phase(message) {
26
31
  if (!this.enabled || this.lastMessage === message) {
27
32
  return;
28
33
  }
34
+ if (this.quiet) {
35
+ this.lastMessage = message;
36
+ this.logWriter?.(message);
37
+ return;
38
+ }
29
39
  if (this.interactive && this.lastMessage) {
30
40
  this.settle("\u2713");
31
41
  }
@@ -71,6 +81,10 @@ var CliProgress = class {
71
81
  }
72
82
  }
73
83
  writeLine(line, stream = process.stderr) {
84
+ if (this.quiet && stream === process.stderr) {
85
+ this.logWriter?.(line);
86
+ return;
87
+ }
74
88
  if (!this.enabled || !this.interactive) {
75
89
  stream.write(`${line}
76
90
  `);
@@ -439,21 +439,33 @@ Cost:
439
439
  run: {
440
440
  core: `
441
441
  Purpose:
442
- Run a tool, a play or a play file by name, or code inline with -e, with
443
- one JSON input. Every kind answers with the same receipt.
442
+ Run a tool, a play, a play file, or a few lines of code. One command for
443
+ all of them.
444
444
  When:
445
- After describe, once you know the inputs. --dry-run checks the input and
446
- the price first. -e runs a few lines that call tools without writing a
447
- play file.
445
+ After describe, once you know the inputs. For paid work, add --dry-run
446
+ first to check the input and see the price.
447
+ Input:
448
+ The id from search, and one JSON object: --input '{...}' or
449
+ --input-file input.json. A play that reads a CSV takes its path:
450
+ --input '{"csv":"leads.csv"}'. -e '<code>' runs code as a play body.
451
+ <play>@latest runs the newest revision; deepline/<id> runs Deepline's
452
+ version when your workspace has one with the same name.
453
+ Examples:
454
+ deepline run hunter_email_verifier --input '{"email":"a@b.com"}'
455
+ deepline run person-to-email-batch --input '{"csv":"leads.csv"}' --dry-run
456
+ deepline run person-to-email-batch --input '{"csv":"leads.csv"}' --csv-out emails.csv
457
+ deepline run my.play.ts --input-file input.json --json-out result.json
458
+ deepline run -e 'return { doubled: input.n * 2 };' --input '{"n":21}'
448
459
  Output:
449
- The data in a file, and a receipt with what ran, its cost, and the values
450
- that came back. --json prints the receipt as JSON.
451
- Next:
452
- Read the data file the receipt names. deepline runs get <id> reads the
453
- run or tool call again.
460
+ A receipt: what ran, its status and cost, where the data was saved, and
461
+ the first values. The full data is always saved to a file; --csv-out and
462
+ --json-out choose where. --fields picks values and CSV columns. Exit code
463
+ 0 completed, 1 failed or still running, 2 nothing ran.
454
464
  Cost:
455
- Spends credits as the tool or play does. Running an interrupted call again
456
- replays it at no extra cost.
465
+ What the tool or play charges. --max-credits caps a play run. Running an
466
+ interrupted call again replays it without paying twice.
467
+ Next:
468
+ Read the saved file. deepline runs get <id> shows the run again.
457
469
  `
458
470
  },
459
471
  tools: {
@@ -31,7 +31,7 @@ import {
31
31
  RETAINED_PIPELINE_RECEIVERS_HEADER,
32
32
  RUNTIME_ENVIRONMENT_TOKEN_HEADER,
33
33
  SDK_API_MAJOR
34
- } from "./chunk-JWTTCWZM.mjs";
34
+ } from "./chunk-WRJ6MEY5.mjs";
35
35
  import {
36
36
  CustomerDbQueryOutcomeUnknownError
37
37
  } from "./chunk-4QF2K7TM.mjs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  seedToolListScript
3
- } from "./chunk-VPSK464I.mjs";
3
+ } from "./chunk-S5PMBDY6.mjs";
4
4
  import {
5
5
  addDescribeOptions
6
- } from "./chunk-HK6RIWDN.mjs";
6
+ } from "./chunk-H66YVVT7.mjs";
7
7
  import {
8
8
  describeLookupsFor,
9
9
  describeName,
@@ -14,10 +14,10 @@ import {
14
14
  } from "./chunk-JVHOS3K3.mjs";
15
15
  import {
16
16
  DeeplineClient
17
- } from "./chunk-RXKFJTFH.mjs";
17
+ } from "./chunk-QXWE6PHI.mjs";
18
18
  import {
19
19
  printCommandEnvelope
20
- } from "./chunk-4LMPONJM.mjs";
20
+ } from "./chunk-YEX3VNAY.mjs";
21
21
 
22
22
  // src/cli/commands/describe.ts
23
23
  import { writeFileSync } from "fs";
@@ -4,20 +4,20 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkZJIFSEJSjs = require('./chunk-ZJIFSEJS.js');
7
+ var _chunkFFDWL5N2js = require('./chunk-FFDWL5N2.js');
8
8
 
9
9
 
10
- var _chunkFMN7S7KBjs = require('./chunk-FMN7S7KB.js');
10
+ var _chunkUI67QLIRjs = require('./chunk-UI67QLIR.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkWXEAAVBKjs = require('./chunk-WXEAAVBK.js');
14
+ var _chunkRI2PLVD4js = require('./chunk-RI2PLVD4.js');
15
15
 
16
16
 
17
- var _chunkE2CSKE27js = require('./chunk-E2CSKE27.js');
17
+ var _chunkUZ7VPOTAjs = require('./chunk-UZ7VPOTA.js');
18
18
 
19
19
 
20
- var _chunkBXOHHCXGjs = require('./chunk-BXOHHCXG.js');
20
+ var _chunkK2RUSHZ7js = require('./chunk-K2RUSHZ7.js');
21
21
 
22
22
  // src/cli/compatibility-catalog.ts
23
23
  var readers = /* @__PURE__ */ new WeakMap();
@@ -44,7 +44,7 @@ function trustedAutoUpdateRegistryUrl(baseUrl) {
44
44
  async function reportAutoUpdateEvent(input) {
45
45
  let apiKey = "";
46
46
  try {
47
- apiKey = _chunkE2CSKE27js.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
47
+ apiKey = _chunkUZ7VPOTAjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
48
48
  } catch (e2) {
49
49
  return;
50
50
  }
@@ -60,15 +60,15 @@ async function reportAutoUpdateEvent(input) {
60
60
  headers: {
61
61
  Authorization: `Bearer ${apiKey}`,
62
62
  "Content-Type": "application/json",
63
- "User-Agent": `deepline-ts-sdk/${_chunkBXOHHCXGjs.SDK_VERSION}`,
63
+ "User-Agent": `deepline-ts-sdk/${_chunkK2RUSHZ7js.SDK_VERSION}`,
64
64
  "X-Deepline-Client-Family": "sdk",
65
65
  "X-Deepline-CLI-Family": "sdk",
66
- "X-Deepline-CLI-Version": _chunkBXOHHCXGjs.SDK_VERSION,
67
- "X-Deepline-SDK-Version": _chunkBXOHHCXGjs.SDK_VERSION
66
+ "X-Deepline-CLI-Version": _chunkK2RUSHZ7js.SDK_VERSION,
67
+ "X-Deepline-SDK-Version": _chunkK2RUSHZ7js.SDK_VERSION
68
68
  },
69
69
  body: JSON.stringify({
70
70
  event: input.event,
71
- current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkBXOHHCXGjs.SDK_VERSION,
71
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkK2RUSHZ7js.SDK_VERSION,
72
72
  target_version: input.response.latest,
73
73
  reason: _optionalChain([input, 'access', _8 => _8.response, 'access', _9 => _9.auto_update, 'optionalAccess', _10 => _10.reason]),
74
74
  command: _nullishCoalesce(input.response.command, () => ( null)),
@@ -87,13 +87,13 @@ function envTruthy(name) {
87
87
  return value === "1" || value === "true" || value === "yes";
88
88
  }
89
89
  function shouldSkipSelfUpdate(policy) {
90
- return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkZJIFSEJSjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkFMN7S7KBjs.isCiEnvironment.call(void 0, );
90
+ return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkFFDWL5N2js.shouldRunCliAutoUpdate.call(void 0, ) || _chunkUI67QLIRjs.isCiEnvironment.call(void 0, );
91
91
  }
92
92
  function isDowngradeAutoUpdateResponse(response) {
93
93
  const target = _optionalChain([response, 'optionalAccess', _17 => _17.latest, 'optionalAccess', _18 => _18.trim, 'call', _19 => _19()]);
94
- const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkBXOHHCXGjs.SDK_VERSION;
94
+ const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkK2RUSHZ7js.SDK_VERSION;
95
95
  if (!target) return false;
96
- return _chunkZJIFSEJSjs.compareUpdateVersions.call(void 0, target, current) < 0;
96
+ return _chunkFFDWL5N2js.compareUpdateVersions.call(void 0, target, current) < 0;
97
97
  }
98
98
  function relaunchCurrentCommand(plan, runtime = {}) {
99
99
  return new Promise((resolve) => {
@@ -146,7 +146,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
146
146
  }
147
147
  if (isDowngradeAutoUpdateResponse(response)) {
148
148
  const target = response.latest;
149
- const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkBXOHHCXGjs.SDK_VERSION;
149
+ const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkK2RUSHZ7js.SDK_VERSION;
150
150
  process.stderr.write(
151
151
  `Deepline SDK/CLI auto-update refused: server advertised older ${target} than current ${current}. Continuing without mutating the CLI.
152
152
  `
@@ -154,21 +154,21 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
154
154
  return false;
155
155
  }
156
156
  const packageSpec = response.latest ? `deepline@${response.latest}` : void 0;
157
- const plan = _chunkZJIFSEJSjs.resolveUpdatePlan.call(void 0, {
157
+ const plan = _chunkFFDWL5N2js.resolveUpdatePlan.call(void 0, {
158
158
  packageSpec,
159
159
  requireVerifiedNpmOwnership: true,
160
160
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
161
161
  });
162
- if (!_chunkZJIFSEJSjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
162
+ if (!_chunkFFDWL5N2js.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
163
163
  return false;
164
164
  }
165
165
  if (!autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
166
166
  deferredAutoUpdate = async () => {
167
167
  await applyAutoUpdate(response, baseUrl, plan, "next_command");
168
168
  };
169
- if (_chunkWXEAAVBKjs.isJsonOutputMode.call(void 0, )) {
169
+ if (_chunkRI2PLVD4js.isJsonOutputMode.call(void 0, )) {
170
170
  const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
171
- _chunkWXEAAVBKjs.addJsonNotice.call(void 0, {
171
+ _chunkRI2PLVD4js.addJsonNotice.call(void 0, {
172
172
  code: "sdk_update_queued",
173
173
  message: `Deepline SDK/CLI update${target ? ` to ${target}` : ""} is queued after this command; the next command will use it if installation succeeds.`
174
174
  });
@@ -181,7 +181,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
181
181
  return true;
182
182
  }
183
183
  async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
184
- if (!_chunkZJIFSEJSjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
184
+ if (!_chunkFFDWL5N2js.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
185
185
  const autoUpdate = response.auto_update;
186
186
  const label = _optionalChain([autoUpdate, 'optionalAccess', _32 => _32.reason]) === "rollback_forced" ? "has a server rollback pending and needs the latest rollback-aware CLI" : _optionalChain([autoUpdate, 'optionalAccess', _33 => _33.reason]) === "deprecated" ? "is deprecated and will update automatically" : _optionalChain([autoUpdate, 'optionalAccess', _34 => _34.required]) ? "requires an update" : "has an update available and will update automatically";
187
187
  process.stderr.write(
@@ -194,7 +194,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
194
194
  event: "started",
195
195
  installKind: plan.kind
196
196
  });
197
- const updateResult = await _chunkZJIFSEJSjs.runAutomaticUpdatePlan.call(void 0, plan);
197
+ const updateResult = await _chunkFFDWL5N2js.runAutomaticUpdatePlan.call(void 0, plan);
198
198
  if (updateResult.status === "skipped_previous_failure") {
199
199
  void reportAutoUpdateEvent({
200
200
  baseUrl,
@@ -245,7 +245,7 @@ var _crypto = require('crypto');
245
245
  var TOOL_EXECUTE_PROGRESS_INTERVAL_MS = 15e3;
246
246
  var activeToolExecuteCommand = null;
247
247
  function progressLine(line) {
248
- if (!_chunkWXEAAVBKjs.isJsonOutputMode.call(void 0, )) console.error(line);
248
+ if (!_chunkRI2PLVD4js.isJsonOutputMode.call(void 0, )) console.error(line);
249
249
  }
250
250
  function beginToolExecuteCommand() {
251
251
  if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;