deepline 0.3.501 → 0.3.502

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 (134) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +2 -2
  3. package/dist/bundling-sources/shared_libs/play-runtime/deployment/vercel-fly-rollback-alignment.ts +29 -14
  4. package/dist/bundling-sources/shared_libs/play-runtime/prebuilt-result-quality.ts +264 -0
  5. package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +5 -0
  6. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +32 -0
  7. package/dist/bundling-sources/shared_libs/play-runtime/runtime-gateway-oidc.ts +30 -8
  8. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +22 -4
  9. package/dist/bundling-sources/shared_libs/product-notifications/slack-delivery.ts +2 -0
  10. package/dist/cli/{auth-6ECHXOI4.mjs → auth-EFHLOVG4.mjs} +5 -5
  11. package/dist/cli/auth-VM3IKP5F.js +43 -0
  12. package/dist/cli/{billing-75NZYRXA.mjs → billing-Q5XKEYPP.mjs} +6 -6
  13. package/dist/cli/{billing-QRR7O6BD.js → billing-SKT2VE34.js} +79 -79
  14. package/dist/cli/{chunk-RFV7PPLS.mjs → chunk-2JS3H6H6.mjs} +3 -3
  15. package/dist/cli/{chunk-66XDYH5T.mjs → chunk-2MVIS2UI.mjs} +2 -2
  16. package/dist/cli/{chunk-XEBFJ2PH.js → chunk-2S2F6YSI.js} +41 -41
  17. package/dist/cli/{chunk-463ZOO2L.js → chunk-32YQBJON.js} +7 -7
  18. package/dist/cli/{chunk-EOO7OSS4.mjs → chunk-3KEZVGGV.mjs} +4 -4
  19. package/dist/cli/{chunk-EHVFBD36.mjs → chunk-3MJSWVQ2.mjs} +1 -1
  20. package/dist/cli/{chunk-5S7MLAI7.mjs → chunk-4CCMD7QM.mjs} +20 -19
  21. package/dist/cli/{chunk-T7E3XEPG.mjs → chunk-4WTC5SSN.mjs} +7 -7
  22. package/dist/cli/{chunk-NA3J3F2Z.mjs → chunk-54QXWK3C.mjs} +1 -1
  23. package/dist/cli/{chunk-V5NHEYU7.mjs → chunk-7ZYSXSJJ.mjs} +5 -5
  24. package/dist/cli/{chunk-J6SVNKRP.js → chunk-AJL2Q6IQ.js} +2 -2
  25. package/dist/cli/{chunk-QQ3JJYE2.js → chunk-DKAMCJIT.js} +9 -9
  26. package/dist/cli/{chunk-C5R3UH5V.mjs → chunk-DRBD4IYQ.mjs} +1 -1
  27. package/dist/cli/{chunk-VVEMPC2I.js → chunk-DYHTXGLX.js} +2 -2
  28. package/dist/cli/{chunk-SV2TEZ2M.js → chunk-EUWRKWT4.js} +4 -4
  29. package/dist/cli/{chunk-GBICEYUA.js → chunk-FVM4PS5Q.js} +116 -8
  30. package/dist/cli/{chunk-I42EOZKQ.js → chunk-FWDAEWCD.js} +5 -5
  31. package/dist/cli/{chunk-FS7XYDOF.js → chunk-GINKIZ7S.js} +16 -16
  32. package/dist/cli/{chunk-VTDAJZIJ.mjs → chunk-HIVRCTDR.mjs} +1 -1
  33. package/dist/cli/{chunk-OKOXB3LY.mjs → chunk-HMZF2CSP.mjs} +2 -2
  34. package/dist/cli/{chunk-EKF4DKUA.js → chunk-IL666WJE.js} +5 -5
  35. package/dist/cli/{chunk-HDKXSHGA.js → chunk-JFBJLNBI.js} +53 -53
  36. package/dist/cli/{chunk-KSHAFYYG.mjs → chunk-JFUXUSKB.mjs} +112 -4
  37. package/dist/cli/{chunk-TOE7LHEA.js → chunk-JL6H4H3G.js} +6 -6
  38. package/dist/cli/{chunk-BOFCF4L7.js → chunk-JLYDLK6X.js} +3 -3
  39. package/dist/cli/{chunk-O3DDVP7Z.mjs → chunk-L5CTJY74.mjs} +1 -1
  40. package/dist/cli/{chunk-4OXHLTCP.js → chunk-LA3UYRVZ.js} +1 -1
  41. package/dist/cli/{chunk-Z6AUOV7D.mjs → chunk-MP5QY4A2.mjs} +2 -2
  42. package/dist/cli/{chunk-ZUQHQGC5.mjs → chunk-MYUISF3P.mjs} +5 -5
  43. package/dist/cli/{chunk-WJUDAHIQ.mjs → chunk-NKLM4J4X.mjs} +1 -1
  44. package/dist/cli/{chunk-UJRN6YP6.mjs → chunk-NXVYLX3F.mjs} +2 -2
  45. package/dist/cli/{chunk-J74N375S.mjs → chunk-NZXB27TP.mjs} +4 -4
  46. package/dist/cli/{chunk-VL72UKNW.js → chunk-OEUMXKR5.js} +26 -26
  47. package/dist/cli/{chunk-7L6QNHUL.mjs → chunk-OFBLT2LQ.mjs} +1 -1
  48. package/dist/cli/{chunk-PNF2ZU4R.js → chunk-OVZOMSH2.js} +8 -8
  49. package/dist/cli/{chunk-CJJ7JBM2.js → chunk-Q3NM6ZL3.js} +19 -19
  50. package/dist/cli/{chunk-APAHMCGR.js → chunk-QNELA7SX.js} +53 -53
  51. package/dist/cli/{chunk-EKZQ5LQO.js → chunk-QOJBRCAS.js} +3 -3
  52. package/dist/cli/{chunk-MSLXAVVK.mjs → chunk-R5F7JXT4.mjs} +2 -2
  53. package/dist/cli/{chunk-N2TJJNCW.js → chunk-TAK3MVXY.js} +270 -269
  54. package/dist/cli/{chunk-UR7JOSLT.js → chunk-UOANF3DR.js} +7 -7
  55. package/dist/cli/{chunk-MADTHS56.mjs → chunk-W5CHE5Q2.mjs} +1 -1
  56. package/dist/cli/{chunk-W6JTHVPF.js → chunk-WKFAX2K7.js} +21 -21
  57. package/dist/cli/{chunk-KTOAJP4N.js → chunk-X5MGQ7UT.js} +6 -6
  58. package/dist/cli/{chunk-RU5ROUFO.js → chunk-XMKUJ44Z.js} +5 -5
  59. package/dist/cli/{chunk-5X4AUFYW.js → chunk-YDXEXVBV.js} +7 -7
  60. package/dist/cli/{chunk-PXIF74UJ.mjs → chunk-YL2CCF6T.mjs} +4 -4
  61. package/dist/cli/{chunk-ZUOKIBLJ.mjs → chunk-YWOQYYYS.mjs} +2 -2
  62. package/dist/cli/{chunk-T4U245E4.mjs → chunk-Z2H7OQ6E.mjs} +2 -2
  63. package/dist/cli/{chunk-VD2374K7.mjs → chunk-ZNB6GR3P.mjs} +1 -1
  64. package/dist/cli/{csv-RZJ4SOIL.mjs → csv-6AEPKKCO.mjs} +4 -4
  65. package/dist/cli/{csv-JXX2LXK5.js → csv-OXGSCV75.js} +13 -13
  66. package/dist/cli/{db-T2KJNONM.js → db-6NVHDUZY.js} +27 -27
  67. package/dist/cli/{db-MUTT2NWI.mjs → db-K3KRK4CZ.mjs} +6 -6
  68. package/dist/cli/describe-JOUAXXPE.js +49 -0
  69. package/dist/cli/{describe-K3UMAAVO.mjs → describe-P3ZJS7TQ.mjs} +19 -20
  70. package/dist/cli/describe-core.js +3 -4
  71. package/dist/cli/describe-core.mjs +2 -3
  72. package/dist/cli/{executions-7HSLDRHR.js → executions-2C2FFG52.js} +8 -8
  73. package/dist/cli/{executions-PHS4R2OX.mjs → executions-I7XW6WWK.mjs} +6 -6
  74. package/dist/cli/{feedback-BJZRM637.js → feedback-47B57A5Y.js} +8 -8
  75. package/dist/cli/{feedback-RWMDCIDF.mjs → feedback-RSTNBJAI.mjs} +4 -4
  76. package/dist/cli/{git-YW6VHYZG.mjs → git-3G5AFKBT.mjs} +5 -5
  77. package/dist/cli/git-OPKIC6JQ.js +25 -0
  78. package/dist/cli/index.js +137 -137
  79. package/dist/cli/index.mjs +40 -40
  80. package/dist/cli/{legacy-noops-5UBSUPGG.mjs → legacy-noops-NQ262TKL.mjs} +5 -5
  81. package/dist/cli/{legacy-noops-2WUV2XD7.js → legacy-noops-P665PBG4.js} +8 -8
  82. package/dist/cli/{monitors-YZZRKSTG.js → monitors-IPWAD7LS.js} +95 -95
  83. package/dist/cli/{monitors-HWOQO3OK.mjs → monitors-KUPZODZS.mjs} +7 -7
  84. package/dist/cli/{org-JY7HLHBA.js → org-WFC3N672.js} +72 -72
  85. package/dist/cli/{org-NCXT6RB4.mjs → org-ZCQGEM3L.mjs} +6 -6
  86. package/dist/cli/{pages-6ZOHXL6X.js → pages-N5BNC67L.js} +18 -18
  87. package/dist/cli/{pages-QJO53QAT.mjs → pages-VE66IU7B.mjs} +6 -6
  88. package/dist/cli/{play-SQRS7JN3.mjs → play-EIMDIAJB.mjs} +17 -17
  89. package/dist/cli/{play-TAYGSR35.js → play-NKIRJSKX.js} +315 -315
  90. package/dist/cli/{providers-3IR3N5DT.mjs → providers-KDTJ63ED.mjs} +6 -6
  91. package/dist/cli/{providers-4Q5LOIQ5.js → providers-XU3AGY2F.js} +9 -9
  92. package/dist/cli/{quickstart-ITNUZENY.js → quickstart-OSCHOSXU.js} +6 -6
  93. package/dist/cli/{quickstart-KCZCYO6B.mjs → quickstart-TXFXUODF.mjs} +4 -4
  94. package/dist/cli/{run-YQ57LMKN.js → run-ET2KVTPK.js} +43 -44
  95. package/dist/cli/{run-JCWRWDSK.mjs → run-ODGML35U.mjs} +24 -25
  96. package/dist/cli/search-6U54Y3OK.js +32 -0
  97. package/dist/cli/{search-FUM27HQP.mjs → search-DK67K6PR.mjs} +7 -7
  98. package/dist/cli/{search-output-EWEYT34M.mjs → search-output-6SOKQTCW.mjs} +53 -75
  99. package/dist/cli/{search-output-XAMWKRJH.js → search-output-KXP4FA62.js} +58 -80
  100. package/dist/cli/{secrets-YTI4IAKR.mjs → secrets-C6SYTMU7.mjs} +6 -6
  101. package/dist/cli/{secrets-2IRRRZBL.js → secrets-WPS6NMNK.js} +15 -15
  102. package/dist/cli/{sessions-HWTRDXBQ.js → sessions-IP562J5Z.js} +6 -6
  103. package/dist/cli/{sessions-EFS4KUPF.mjs → sessions-PXVOH34X.mjs} +5 -5
  104. package/dist/cli/{settings-NTOO42DY.mjs → settings-FBUQGYVJ.mjs} +11 -11
  105. package/dist/cli/{settings-FRVEIOKR.js → settings-SUDUIVMY.js} +78 -78
  106. package/dist/cli/{setup-6ZIOAE2V.js → setup-I5H6IOEY.js} +49 -49
  107. package/dist/cli/{setup-PAVQPALX.mjs → setup-JSIMTR73.mjs} +9 -9
  108. package/dist/cli/{skills-3O3XTPUM.mjs → skills-FJQ3LX6N.mjs} +7 -7
  109. package/dist/cli/skills-VHININXC.js +36 -0
  110. package/dist/cli/{tools-7QSB65UL.mjs → tools-IGBK4BVE.mjs} +17 -18
  111. package/dist/cli/tools-XMBMHVKF.js +56 -0
  112. package/dist/cli/{update-T6CYS5ZT.mjs → update-7MTT6F5K.mjs} +9 -9
  113. package/dist/cli/update-H7JVW43I.js +34 -0
  114. package/dist/cli/{workflow-OMSXZ73T.mjs → workflow-PM2J2OU3.mjs} +7 -7
  115. package/dist/cli/{workflow-4KMJBMGX.js → workflow-UX3ZX6BQ.js} +17 -17
  116. package/dist/index.js +9 -9
  117. package/dist/index.mjs +6 -6
  118. package/dist/install-integrity.json +103 -104
  119. package/dist/release.d.mts +1 -1
  120. package/dist/release.d.ts +1 -1
  121. package/dist/release.js +2 -2
  122. package/dist/release.mjs +1 -1
  123. package/dist/server.js +5 -5
  124. package/dist/server.mjs +3 -3
  125. package/package.json +1 -1
  126. package/dist/cli/auth-VP7PMXKQ.js +0 -43
  127. package/dist/cli/chunk-XK5DMLZE.js +0 -111
  128. package/dist/cli/chunk-XRDXNAAY.mjs +0 -111
  129. package/dist/cli/describe-SEXUJLE4.js +0 -50
  130. package/dist/cli/git-VNS7UQWN.js +0 -25
  131. package/dist/cli/search-I425FRTK.js +0 -32
  132. package/dist/cli/skills-6ZNMO2PR.js +0 -36
  133. package/dist/cli/tools-DPV2JES6.js +0 -57
  134. package/dist/cli/update-Q5GUDEAW.js +0 -34
@@ -11,20 +11,20 @@
11
11
 
12
12
 
13
13
 
14
- var _chunkAPAHMCGRjs = require('./chunk-APAHMCGR.js');
14
+ var _chunkQNELA7SXjs = require('./chunk-QNELA7SX.js');
15
15
 
16
16
 
17
- var _chunk5X4AUFYWjs = require('./chunk-5X4AUFYW.js');
17
+ var _chunkYDXEXVBVjs = require('./chunk-YDXEXVBV.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunkBOFCF4L7js = require('./chunk-BOFCF4L7.js');
23
+ var _chunkJLYDLK6Xjs = require('./chunk-JLYDLK6X.js');
24
24
 
25
25
 
26
26
 
27
- var _chunkSV2TEZ2Mjs = require('./chunk-SV2TEZ2M.js');
27
+ var _chunkEUWRKWT4js = require('./chunk-EUWRKWT4.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 = _chunkBOFCF4L7js.resolveProjectPinTarget.call(void 0, );
148
+ const target = _chunkJLYDLK6Xjs.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, () => ( _chunkSV2TEZ2Mjs.detectAgentRuntime.call(void 0, )));
159
+ const runtime = _nullishCoalesce(input.runtime, () => ( _chunkEUWRKWT4js.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, _chunkBOFCF4L7js.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, _chunkJLYDLK6Xjs.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 = [..._chunkAPAHMCGRjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
178
+ const legacyNames = [..._chunkQNELA7SXjs.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=${_chunkAPAHMCGRjs.SKILLS_NPX_PACKAGE}`,
192
+ `--package=${_chunkQNELA7SXjs.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=${_chunkAPAHMCGRjs.SKILLS_NPX_PACKAGE}`,
208
+ `--package=${_chunkQNELA7SXjs.SKILLS_NPX_PACKAGE}`,
209
209
  "--",
210
210
  "skills",
211
211
  "add",
212
- _chunkAPAHMCGRjs.skillsSourceUrl.call(void 0, input.baseUrl),
212
+ _chunkQNELA7SXjs.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 = _chunkAPAHMCGRjs.resolveShellSpawn.call(void 0,
249
+ const plan = _chunkQNELA7SXjs.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
- `${_chunkAPAHMCGRjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
271
+ `${_chunkQNELA7SXjs.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(`${_chunkAPAHMCGRjs.SKILLS_NPX_PACKAGE} exited ${code}.
282
+ process.stderr.write(`${_chunkQNELA7SXjs.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 = _chunkBOFCF4L7js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
290
+ const baseUrl = _chunkJLYDLK6Xjs.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
- _chunk5X4AUFYWjs.printCommandEnvelope.call(void 0,
303
+ _chunkYDXEXVBVjs.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
- _chunk5X4AUFYWjs.printCommandEnvelope.call(void 0,
313
+ _chunkYDXEXVBVjs.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
- _chunk5X4AUFYWjs.printCommandEnvelope.call(void 0,
330
+ _chunkYDXEXVBVjs.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
- _chunk5X4AUFYWjs.printCommandEnvelope.call(void 0,
353
+ _chunkYDXEXVBVjs.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 = _chunkBOFCF4L7js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
365
+ const baseUrl = _chunkJLYDLK6Xjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
366
366
  const catalog = {
367
- skillNames: [..._chunkAPAHMCGRjs.DEFAULT_SDK_SKILL_NAMES],
368
- version: _chunkSV2TEZ2Mjs.SDK_VERSION
367
+ skillNames: [..._chunkQNELA7SXjs.DEFAULT_SDK_SKILL_NAMES],
368
+ version: _chunkEUWRKWT4js.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
- _chunk5X4AUFYWjs.printCommandEnvelope.call(void 0,
373
+ _chunkYDXEXVBVjs.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)) && !_chunkAPAHMCGRjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
380
- _chunk5X4AUFYWjs.printCommandEnvelope.call(void 0,
379
+ if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkQNELA7SXjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
380
+ _chunkYDXEXVBVjs.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, ..._chunkAPAHMCGRjs.LEGACY_SKILL_NAMES_TO_REMOVE])
412
+ .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkQNELA7SXjs.LEGACY_SKILL_NAMES_TO_REMOVE])
413
413
  ];
414
414
  const agentRoots = workspaceSkillRootsForAgents(plan.agents);
415
- _chunkBOFCF4L7js.ensureProjectPrivatePathsIgnored.call(void 0, root, [
415
+ _chunkJLYDLK6Xjs.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 _chunkAPAHMCGRjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
424
+ lease = scope === "global" ? await _chunkQNELA7SXjs.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 _chunkAPAHMCGRjs.SkillsStateUnavailableError)) throw error;
433
- _chunk5X4AUFYWjs.printCommandEnvelope.call(void 0,
432
+ if (!(error instanceof _chunkQNELA7SXjs.SkillsStateUnavailableError)) throw error;
433
+ _chunkYDXEXVBVjs.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
- _chunk5X4AUFYWjs.printCommandEnvelope.call(void 0,
449
+ _chunkYDXEXVBVjs.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 ${_chunkAPAHMCGRjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
458
+ next: `Retry in a moment: deepline skills install --scope ${scope}. If no refresh is running, remove ${_chunkQNELA7SXjs.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
- _chunk5X4AUFYWjs.printCommandEnvelope.call(void 0,
507
+ _chunkYDXEXVBVjs.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
- _chunk5X4AUFYWjs.printCommandEnvelope.call(void 0,
523
+ _chunkYDXEXVBVjs.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: _chunkSV2TEZ2Mjs.SDK_VERSION,
563
+ cliVersion: _chunkEUWRKWT4js.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
- _chunkAPAHMCGRjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
576
+ _chunkQNELA7SXjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
577
577
  }
578
- _chunk5X4AUFYWjs.printCommandEnvelope.call(void 0,
578
+ _chunkYDXEXVBVjs.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 ${_chunkAPAHMCGRjs.SKILLS_NPX_PACKAGE},
627
+ This command reinstalls current Deepline-managed skills using ${_chunkQNELA7SXjs.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(_chunkAPAHMCGRjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
639
+ program.command(_chunkQNELA7SXjs.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
- _chunk5X4AUFYWjs.printCommandEnvelope.call(void 0,
645
+ _chunkYDXEXVBVjs.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 _chunkAPAHMCGRjs.syncSdkSkillsIfNeeded.call(void 0, _chunkBOFCF4L7js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
658
+ await _chunkQNELA7SXjs.syncSdkSkillsIfNeeded.call(void 0, _chunkJLYDLK6Xjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
659
659
  mode: "inline",
660
660
  notices: "defer",
661
661
  claim
@@ -3,14 +3,14 @@
3
3
  var _chunkD3BCSAN7js = require('./chunk-D3BCSAN7.js');
4
4
 
5
5
 
6
- var _chunkRU5ROUFOjs = require('./chunk-RU5ROUFO.js');
6
+ var _chunkXMKUJ44Zjs = require('./chunk-XMKUJ44Z.js');
7
7
 
8
8
 
9
- var _chunk5X4AUFYWjs = require('./chunk-5X4AUFYW.js');
9
+ var _chunkYDXEXVBVjs = require('./chunk-YDXEXVBV.js');
10
10
 
11
11
 
12
12
 
13
- var _chunkBOFCF4L7js = require('./chunk-BOFCF4L7.js');
13
+ var _chunkJLYDLK6Xjs = require('./chunk-JLYDLK6X.js');
14
14
 
15
15
  // src/cli/commands/search.ts
16
16
  var _commander = require('commander');
@@ -20,7 +20,7 @@ var _fs = require('fs');
20
20
  var _path = require('path');
21
21
  var SEARCH_REF_TTL_MS = 15 * 6e4;
22
22
  function lastSearchPath() {
23
- return _path.join.call(void 0, _chunkBOFCF4L7js.sdkCliStateDirPath.call(void 0, _chunkBOFCF4L7js.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
23
+ return _path.join.call(void 0, _chunkJLYDLK6Xjs.sdkCliStateDirPath.call(void 0, _chunkJLYDLK6Xjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
24
24
  }
25
25
  function rememberSearchRef(searchRef) {
26
26
  try {
@@ -119,7 +119,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
119
119
  console.error("--summary-width must be an integer of at least 2.");
120
120
  return 1;
121
121
  }
122
- const { search_ref: searchRef, ...result } = await new (0, _chunkRU5ROUFOjs.DeeplineClient)().search({
122
+ const { search_ref: searchRef, ...result } = await new (0, _chunkXMKUJ44Zjs.DeeplineClient)().search({
123
123
  query,
124
124
  types,
125
125
  exclude,
@@ -133,8 +133,8 @@ async function runSearch(queryInput, options, types, exclude = []) {
133
133
  });
134
134
  if (searchRef) rememberSearchRef(searchRef);
135
135
  pointAtDescribe(result);
136
- const { renderSearchResults } = await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-XAMWKRJH.js")));
137
- _chunk5X4AUFYWjs.printCommandEnvelope.call(void 0, result, {
136
+ const { renderSearchResults } = await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-KXP4FA62.js")));
137
+ _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, result, {
138
138
  json: options.json === true,
139
139
  text: renderSearchResults(result, summaryWidth)
140
140
  });
@@ -3,14 +3,14 @@ import {
3
3
  } from "./chunk-5AEDYVB6.mjs";
4
4
  import {
5
5
  DeeplineClient
6
- } from "./chunk-ZUOKIBLJ.mjs";
6
+ } from "./chunk-YWOQYYYS.mjs";
7
7
  import {
8
8
  printCommandEnvelope
9
- } from "./chunk-66XDYH5T.mjs";
9
+ } from "./chunk-2MVIS2UI.mjs";
10
10
  import {
11
11
  resolveConfig,
12
12
  sdkCliStateDirPath
13
- } from "./chunk-MADTHS56.mjs";
13
+ } from "./chunk-W5CHE5Q2.mjs";
14
14
 
15
15
  // src/cli/commands/search.ts
16
16
  import { Option } from "commander";
@@ -133,7 +133,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
133
133
  });
134
134
  if (searchRef) rememberSearchRef(searchRef);
135
135
  pointAtDescribe(result);
136
- const { renderSearchResults } = await import("./search-output-EWEYT34M.mjs");
136
+ const { renderSearchResults } = await import("./search-output-6SOKQTCW.mjs");
137
137
  printCommandEnvelope(result, {
138
138
  json: options.json === true,
139
139
  text: renderSearchResults(result, summaryWidth)
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-HBL4PM5Q.mjs";
17
17
  import {
18
18
  SDK_RELEASE
19
- } from "./chunk-7L6QNHUL.mjs";
19
+ } from "./chunk-OFBLT2LQ.mjs";
20
20
 
21
21
  // src/version.ts
22
22
  var SDK_VERSION = SDK_RELEASE.version;
@@ -2,17 +2,19 @@ import {
2
2
  addDescribeOptions,
3
3
  recordApiResponse,
4
4
  writeExecutionOutput
5
- } from "./chunk-O3DDVP7Z.mjs";
5
+ } from "./chunk-L5CTJY74.mjs";
6
6
  import {
7
7
  recentSearchRef,
8
8
  registerDeprecatedSearchCommand
9
- } from "./chunk-EOO7OSS4.mjs";
9
+ } from "./chunk-3KEZVGGV.mjs";
10
10
  import {
11
+ Capability,
11
12
  arrayField,
12
13
  formatModelDescription,
13
14
  isMonitorTypeTool,
14
15
  isPlayLikeTool,
15
16
  isRecord,
17
+ observedMaxText,
16
18
  playReferenceForTool,
17
19
  playResultExpression,
18
20
  playRunCommandForTool,
@@ -25,17 +27,13 @@ import {
25
27
  toolInputFieldsForDisplay,
26
28
  toolMetadataJsonForDescribe,
27
29
  toolOutputFieldsForDisplay
28
- } from "./chunk-KSHAFYYG.mjs";
30
+ } from "./chunk-JFUXUSKB.mjs";
29
31
  import {
30
32
  rateLimitQualifier
31
33
  } from "./chunk-SAW3FBCA.mjs";
32
34
  import {
33
35
  shellQuote
34
36
  } from "./chunk-OVDNJAJN.mjs";
35
- import {
36
- Capability,
37
- observedMaxText
38
- } from "./chunk-XRDXNAAY.mjs";
39
37
  import {
40
38
  playToolListGetterMode
41
39
  } from "./chunk-FR2ILQ4G.mjs";
@@ -48,10 +46,10 @@ import {
48
46
  } from "./chunk-FIVKWNMT.mjs";
49
47
  import {
50
48
  DeeplineClient
51
- } from "./chunk-ZUOKIBLJ.mjs";
49
+ } from "./chunk-YWOQYYYS.mjs";
52
50
  import {
53
51
  validateExecutionIdempotencyKey
54
- } from "./chunk-VTDAJZIJ.mjs";
52
+ } from "./chunk-HIVRCTDR.mjs";
55
53
  import {
56
54
  stableStringify
57
55
  } from "./chunk-BMCRTI6Z.mjs";
@@ -61,18 +59,18 @@ import {
61
59
  maybeAutoUpdateAndRelaunch,
62
60
  registerCompatibilityCatalog,
63
61
  runToolExecuteStage
64
- } from "./chunk-ZUQHQGC5.mjs";
62
+ } from "./chunk-MYUISF3P.mjs";
65
63
  import {
66
64
  isCliTraceEnabled,
67
65
  recordCliTrace,
68
66
  resolveCliMaintenancePolicy
69
- } from "./chunk-VD2374K7.mjs";
67
+ } from "./chunk-ZNB6GR3P.mjs";
70
68
  import {
71
69
  checkSdkCompatibility,
72
70
  enforceSdkCompatibilityResponse,
73
71
  flushDeferredSkillsSyncNotices,
74
72
  syncSdkSkillsIfNeeded
75
- } from "./chunk-J74N375S.mjs";
73
+ } from "./chunk-NZXB27TP.mjs";
76
74
  import {
77
75
  printCommandEnvelope,
78
76
  printCompactJson,
@@ -80,12 +78,12 @@ import {
80
78
  printJsonError,
81
79
  renderCommandEnvelopeText,
82
80
  shouldEmitJson
83
- } from "./chunk-66XDYH5T.mjs";
81
+ } from "./chunk-2MVIS2UI.mjs";
84
82
  import {
85
83
  readSdkSkillsLocalVersion,
86
84
  resolveConfig,
87
85
  sdkCliStateDirPath
88
- } from "./chunk-MADTHS56.mjs";
86
+ } from "./chunk-W5CHE5Q2.mjs";
89
87
  import {
90
88
  DeeplineError
91
89
  } from "./chunk-HBL4PM5Q.mjs";
@@ -1038,7 +1036,7 @@ Examples:
1038
1036
  process.exitCode = await narrowView();
1039
1037
  return;
1040
1038
  }
1041
- const { describeAnything } = await import("./describe-K3UMAAVO.mjs");
1039
+ const { describeAnything } = await import("./describe-P3ZJS7TQ.mjs");
1042
1040
  process.exitCode = await describeAnything(
1043
1041
  toolId,
1044
1042
  {
@@ -1587,13 +1585,16 @@ function toolPricingOnlyLines(tool, requestedToolId, options = {}) {
1587
1585
  const displayText = stringField(cost, "displayText");
1588
1586
  const summary = stringField(cost, "summary");
1589
1587
  const price = displayText || summary || (credits !== null ? `${formatDecimal(credits)} Deepline credits${usd !== null ? ` / ${formatUsd(usd)}` : ""} per ${unit}` : "pricing unavailable");
1588
+ const reference = cost.observedReference;
1589
+ const observedMax = observedMaxText(cost);
1590
1590
  return [
1591
1591
  `${options.heading ?? `Pricing: ${toolId}`}: ${price}`,
1592
- ...observedMaxText(cost) ? [` ${observedMaxText(cost)}`] : [],
1593
- ...cost.observedReference || cost.estimatedRange ? [
1594
- ...summary ? [` ${summary}`] : [],
1595
- ...(cost.details ?? []).map((detail) => ` ${detail}`)
1592
+ ...observedMax ? [` ${observedMax}`] : [],
1593
+ ...reference ? [
1594
+ ` Observed reference from ${reference.sampleSize} call(s) on ${reference.observedAt}. ${reference.inputMode} Not a quote.`
1596
1595
  ] : [],
1596
+ ...summary && summary !== price ? [` ${summary}`] : [],
1597
+ ...(cost.details ?? []).filter((detail) => detail !== price && detail !== summary).map((detail) => ` ${detail}`),
1597
1598
  `Billing: ${billing}`
1598
1599
  ];
1599
1600
  }
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  seedToolListScript
3
- } from "./chunk-5S7MLAI7.mjs";
3
+ } from "./chunk-4CCMD7QM.mjs";
4
4
  import {
5
5
  addDescribeOptions
6
- } from "./chunk-O3DDVP7Z.mjs";
6
+ } from "./chunk-L5CTJY74.mjs";
7
7
  import {
8
8
  describeLookupsFor,
9
9
  describeName,
10
10
  findNamed
11
- } from "./chunk-C5R3UH5V.mjs";
11
+ } from "./chunk-DRBD4IYQ.mjs";
12
12
  import {
13
13
  SCHEMA_LINE_LIMIT
14
14
  } from "./chunk-SAW3FBCA.mjs";
15
15
  import {
16
16
  DeeplineClient
17
- } from "./chunk-ZUOKIBLJ.mjs";
17
+ } from "./chunk-YWOQYYYS.mjs";
18
18
  import {
19
19
  failureReportHeaders,
20
20
  isFailureReportingDisabled
21
- } from "./chunk-J74N375S.mjs";
21
+ } from "./chunk-NZXB27TP.mjs";
22
22
  import {
23
23
  printCommandEnvelope
24
- } from "./chunk-66XDYH5T.mjs";
24
+ } from "./chunk-2MVIS2UI.mjs";
25
25
  import {
26
26
  autoDetectBaseUrl,
27
27
  resolveApiKeyForBaseUrl
28
- } from "./chunk-MADTHS56.mjs";
28
+ } from "./chunk-W5CHE5Q2.mjs";
29
29
 
30
30
  // src/cli/commands/describe.ts
31
31
  import { writeFileSync } from "fs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-J74N375S.mjs";
3
+ } from "./chunk-NZXB27TP.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-NA3J3F2Z.mjs";
4
+ } from "./chunk-54QXWK3C.mjs";
5
5
  import {
6
6
  runSkillsCommand
7
- } from "./chunk-PXIF74UJ.mjs";
7
+ } from "./chunk-YL2CCF6T.mjs";
8
8
  import {
9
9
  resolveShellSpawn
10
- } from "./chunk-J74N375S.mjs";
10
+ } from "./chunk-NZXB27TP.mjs";
11
11
  import {
12
12
  printCommandEnvelope
13
- } from "./chunk-66XDYH5T.mjs";
13
+ } from "./chunk-2MVIS2UI.mjs";
14
14
  import {
15
15
  autoDetectBaseUrl
16
- } from "./chunk-MADTHS56.mjs";
16
+ } from "./chunk-W5CHE5Q2.mjs";
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  import { spawn, spawnSync } from "child_process";
@@ -1,6 +1,6 @@
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 _chunk5X4AUFYWjs = require('./chunk-5X4AUFYW.js');
3
+ var _chunkYDXEXVBVjs = require('./chunk-YDXEXVBV.js');
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  var _commander = require('commander');
@@ -33,7 +33,7 @@ function recordCliTrace(event) {
33
33
  sinceStartMs: now - cliTraceStartedAt,
34
34
  ...event
35
35
  };
36
- _chunk5X4AUFYWjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
36
+ _chunkYDXEXVBVjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
37
37
  `);
38
38
  }
39
39
  async function traceCliSpan(phase, fields, run) {
@@ -3,7 +3,7 @@
3
3
  var _chunkVLEVVDWGjs = require('./chunk-VLEVVDWG.js');
4
4
 
5
5
 
6
- var _chunkUR7JOSLTjs = require('./chunk-UR7JOSLT.js');
6
+ var _chunkUOANF3DRjs = require('./chunk-UOANF3DR.js');
7
7
 
8
8
 
9
9
  var _chunkRNSHCJMEjs = require('./chunk-RNSHCJME.js');
@@ -11,7 +11,7 @@ var _chunkRNSHCJMEjs = require('./chunk-RNSHCJME.js');
11
11
 
12
12
 
13
13
 
14
- var _chunk5X4AUFYWjs = require('./chunk-5X4AUFYW.js');
14
+ var _chunkYDXEXVBVjs = require('./chunk-YDXEXVBV.js');
15
15
 
16
16
 
17
17
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
@@ -579,7 +579,7 @@ function parseInputFlagValue(raw) {
579
579
  return raw;
580
580
  }
581
581
  function parsePlayRunOptions(args, initialInput = null) {
582
- const selection = _chunk5X4AUFYWjs.parseJsonFields.call(void 0, args, "run");
582
+ const selection = _chunkYDXEXVBVjs.parseJsonFields.call(void 0, args, "run");
583
583
  args = selection.args;
584
584
  const usage = "Usage: deepline plays run <play-name> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run <play-file.ts> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --file <play-file.ts> [--input '{...}'] [--profile <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --name <name> [--input '{...}'] [--profile <id>] [--live|--latest|--revision-id <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--json] [--full] [--<input> value]\n Runs use the Absurd CJS runtime.\n --header '<name>: <value>' may repeat; each is sent on every request for this run.\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for idempotent call caching and deepline.dataset guidance.";
585
585
  let filePath = null;
@@ -591,7 +591,7 @@ function parsePlayRunOptions(args, initialInput = null) {
591
591
  let revisionSelector = null;
592
592
  const watch = !args.includes("--no-wait");
593
593
  const dryRun = args.includes("--dry-run");
594
- let jsonOutput = dryRun ? _chunk5X4AUFYWjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunk5X4AUFYWjs.argsWantJson.call(void 0, args);
594
+ let jsonOutput = dryRun ? _chunkYDXEXVBVjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkYDXEXVBVjs.argsWantJson.call(void 0, args);
595
595
  const fullJson = args.includes("--full");
596
596
  const force = args.includes("--force");
597
597
  const forceToolRefresh = args.includes("--force-tool-refresh");
@@ -654,7 +654,7 @@ function parsePlayRunOptions(args, initialInput = null) {
654
654
  "--log-level requires one of: debug, info, warn, error."
655
655
  );
656
656
  }
657
- const parsed = _chunkUR7JOSLTjs.parseLogLevel.call(void 0, value);
657
+ const parsed = _chunkUOANF3DRjs.parseLogLevel.call(void 0, value);
658
658
  if (!parsed) {
659
659
  throw new Error(
660
660
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -972,7 +972,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
972
972
  const hasExplicitLogLevel = options.logLevel !== void 0 || inputArgs.some(
973
973
  (arg) => arg === "--log-level" || arg.startsWith("--log-level=")
974
974
  );
975
- let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkUR7JOSLTjs.parseLogLevel.call(void 0, options.logLevel);
975
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkUOANF3DRjs.parseLogLevel.call(void 0, options.logLevel);
976
976
  if (!logLevel)
977
977
  throw new Error("--log-level requires one of: debug, info, warn, error.");
978
978
  const debugAlias = options.logs || options.debug === true || inputArgs.some(
@@ -986,13 +986,13 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
986
986
  if (debugAlias || debugMapLatency && logLevel === "info")
987
987
  logLevel = "debug";
988
988
  const fullJson = _nullishCoalesce(options.full, () => ( base.fullJson));
989
- const jsonFields = options.json === void 0 ? base.jsonFields : _chunk5X4AUFYWjs.parseJsonFields.call(void 0,
990
- [...fullJson ? ["--full"] : [], ..._chunk5X4AUFYWjs.jsonFieldArgs.call(void 0, options.json)],
989
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunkYDXEXVBVjs.parseJsonFields.call(void 0,
990
+ [...fullJson ? ["--full"] : [], ..._chunkYDXEXVBVjs.jsonFieldArgs.call(void 0, options.json)],
991
991
  "run"
992
992
  ).fields;
993
993
  const watch = options.wait === false ? false : base.watch;
994
994
  const explicitJson = options.json !== void 0 ? options.json !== false : base.jsonOutput;
995
- const jsonOutput = dryRun || !watch ? explicitJson || _chunk5X4AUFYWjs.argsWantJson.call(void 0, []) : explicitJson;
995
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunkYDXEXVBVjs.argsWantJson.call(void 0, []) : explicitJson;
996
996
  const verboseLogs = Boolean(
997
997
  debugAlias || logLevel === "debug" || debugMapLatency
998
998
  );