deepline 0.3.529 → 0.3.531

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 (140) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/monitors/fleets/limits.ts +6 -0
  3. package/dist/bundling-sources/shared_libs/play-data-plane/r2.ts +10 -8
  4. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +95 -9
  5. package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +7 -0
  6. package/dist/bundling-sources/shared_libs/play-runtime/durable-summary-events.ts +615 -0
  7. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +115 -5
  8. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-pool.ts +29 -0
  9. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-progress.ts +26 -8
  10. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +27 -0
  11. package/dist/bundling-sources/shared_libs/play-runtime/tool-call-retry-facts.ts +317 -0
  12. package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +129 -39
  13. package/dist/cli/{auth-V7A6TU4G.mjs → auth-33B3OEM4.mjs} +5 -5
  14. package/dist/cli/auth-3UDRBF5D.js +43 -0
  15. package/dist/cli/{billing-5VBUYPWW.mjs → billing-X4OQRH6D.mjs} +7 -7
  16. package/dist/cli/{billing-XF6SAA5Y.js → billing-Y2M2ABLW.js} +82 -82
  17. package/dist/cli/{chunk-C2WTS7WY.mjs → chunk-2CUPFDW5.mjs} +5 -5
  18. package/dist/cli/{chunk-TEFO5AS2.js → chunk-2WWTIR2G.js} +98 -98
  19. package/dist/cli/{chunk-UMCEXTRM.js → chunk-3PMVNMG4.js} +16 -16
  20. package/dist/cli/{chunk-KSUWW26I.js → chunk-4M4AASO3.js} +13 -13
  21. package/dist/cli/{chunk-2GV54JFN.js → chunk-4O7UET74.js} +44 -44
  22. package/dist/cli/{chunk-PNWBODCB.js → chunk-4WPHK2R3.js} +7 -7
  23. package/dist/cli/{chunk-Y4P6XJHU.mjs → chunk-567HD6G6.mjs} +1 -1
  24. package/dist/cli/{chunk-ZYMX7KZE.mjs → chunk-57PPAYDB.mjs} +2 -2
  25. package/dist/cli/{chunk-DPGPXARU.js → chunk-5M24K577.js} +132 -81
  26. package/dist/cli/{chunk-6XZIXDLC.mjs → chunk-623FFVZU.mjs} +5 -5
  27. package/dist/cli/{chunk-FWC47SCG.mjs → chunk-6W73VXMK.mjs} +2 -2
  28. package/dist/cli/{chunk-AP7DNG6D.js → chunk-BUK6WHY2.js} +4 -4
  29. package/dist/cli/{chunk-DKX5CGTG.mjs → chunk-CVOFP6BU.mjs} +1 -1
  30. package/dist/cli/{chunk-XZ6OY3BH.js → chunk-D5BLTX5L.js} +1 -1
  31. package/dist/cli/{chunk-RWY2QLJ4.js → chunk-DWYX5DFJ.js} +41 -41
  32. package/dist/cli/{chunk-4A4OQMJX.mjs → chunk-EURLINZT.mjs} +1 -1
  33. package/dist/cli/{chunk-7FCD34YS.mjs → chunk-EVXRQXNV.mjs} +3 -2
  34. package/dist/cli/{chunk-M47I47FK.js → chunk-H26ZSNLX.js} +14 -14
  35. package/dist/cli/{chunk-ZULLXAJJ.mjs → chunk-HYPLMUMA.mjs} +5 -5
  36. package/dist/cli/{chunk-7RTDSHMB.js → chunk-IOOWKPF7.js} +2 -2
  37. package/dist/cli/{chunk-7SRZTSHU.js → chunk-IXOEKHOY.js} +5 -5
  38. package/dist/cli/{chunk-KAI64HV7.js → chunk-JFTO33FK.js} +7 -7
  39. package/dist/cli/{chunk-L3J7IAYE.js → chunk-L4XVL4LW.js} +9 -9
  40. package/dist/cli/{chunk-BOWZ3OOU.mjs → chunk-MGWYYTZN.mjs} +1 -1
  41. package/dist/cli/{chunk-GPU4ULMY.mjs → chunk-MYTA37IL.mjs} +10 -10
  42. package/dist/cli/{chunk-ZEIN5YJS.js → chunk-NXEQMKSM.js} +2 -2
  43. package/dist/cli/{chunk-FCNSJHED.js → chunk-O267YGUV.js} +6 -6
  44. package/dist/cli/{chunk-4722FTYU.js → chunk-O4NTPEQV.js} +16 -16
  45. package/dist/cli/{chunk-HV4UKMBB.mjs → chunk-O7EFJR6Y.mjs} +4 -4
  46. package/dist/cli/{chunk-NVH6ULDP.js → chunk-PTKSHGUM.js} +22 -22
  47. package/dist/cli/{chunk-YVJJEMNQ.mjs → chunk-PTOPMO22.mjs} +1 -1
  48. package/dist/cli/{chunk-H2JAXOPP.js → chunk-RBPCXQBE.js} +11 -11
  49. package/dist/cli/{chunk-7Z3ZXSOX.js → chunk-RLRPEHQ3.js} +3 -3
  50. package/dist/cli/{chunk-4BKE63Q7.js → chunk-RZXSCWEB.js} +26 -26
  51. package/dist/cli/{chunk-PJDYY5JL.mjs → chunk-SPODXGBZ.mjs} +6 -6
  52. package/dist/cli/{chunk-XEZSORKG.js → chunk-TDJCNVDE.js} +5 -5
  53. package/dist/cli/{chunk-PAAREIKG.mjs → chunk-TU7HU5K2.mjs} +2 -2
  54. package/dist/cli/{chunk-NDVCVFZW.mjs → chunk-U5YBINPF.mjs} +2 -2
  55. package/dist/cli/{chunk-XE4PQE2O.mjs → chunk-UNTFERUX.mjs} +1 -1
  56. package/dist/cli/{chunk-WL6GAZBD.js → chunk-V6LUMGVI.js} +3 -2
  57. package/dist/cli/{chunk-ETCGTKLF.mjs → chunk-VGWUCBNA.mjs} +1 -1
  58. package/dist/cli/{chunk-FXHKNZM2.mjs → chunk-VHIHGMZD.mjs} +1 -1
  59. package/dist/cli/{chunk-E7CN5GEM.mjs → chunk-VWOOOU6G.mjs} +2 -2
  60. package/dist/cli/{chunk-BRQDN67G.js → chunk-WDLY4HST.js} +6 -6
  61. package/dist/cli/{chunk-OA4FI5ZM.js → chunk-WHAMLN6B.js} +2 -2
  62. package/dist/cli/{chunk-K55VBSCA.mjs → chunk-XOXKVLJZ.mjs} +82 -31
  63. package/dist/cli/{chunk-R62Z4INU.mjs → chunk-XQGLHKDI.mjs} +2 -2
  64. package/dist/cli/{chunk-5NZEA2YV.mjs → chunk-XWQI4TMS.mjs} +1 -1
  65. package/dist/cli/{chunk-G4SYSUDB.mjs → chunk-YMGQP7WI.mjs} +5 -5
  66. package/dist/cli/{chunk-NVSMSP2J.mjs → chunk-YVOFNLGN.mjs} +2 -2
  67. package/dist/cli/{chunk-QTQWPSAK.js → chunk-ZBL4CP75.js} +3 -3
  68. package/dist/cli/{chunk-EW33RCLA.mjs → chunk-ZJQITGPV.mjs} +3 -3
  69. package/dist/cli/command-docs.js +2 -2
  70. package/dist/cli/command-docs.mjs +1 -1
  71. package/dist/cli/{csv-IHLVHG35.mjs → csv-CMUWCM46.mjs} +4 -4
  72. package/dist/cli/{csv-VEKMGGOE.js → csv-N4P2XOKP.js} +13 -13
  73. package/dist/cli/{db-NTFFISQG.js → db-GFI45WV5.js} +27 -27
  74. package/dist/cli/{db-RKLVYARP.mjs → db-J5HFGOUO.mjs} +6 -6
  75. package/dist/cli/describe-HFUWQN3A.js +50 -0
  76. package/dist/cli/{describe-62ELB5DZ.mjs → describe-NKHH3VVI.mjs} +18 -18
  77. package/dist/cli/{executions-5BMZW4C7.mjs → executions-54QEYYE6.mjs} +6 -6
  78. package/dist/cli/{executions-X7NMKMXW.js → executions-FMWHU72C.js} +8 -8
  79. package/dist/cli/{feedback-UHHWCIFD.mjs → feedback-HA4QUWMU.mjs} +6 -6
  80. package/dist/cli/{feedback-RDN5O4AT.js → feedback-R7C3AZKN.js} +14 -14
  81. package/dist/cli/git-ETBABM6D.js +25 -0
  82. package/dist/cli/{git-3M33GKOW.mjs → git-OVG63PJV.mjs} +5 -5
  83. package/dist/cli/index.js +145 -145
  84. package/dist/cli/index.mjs +44 -44
  85. package/dist/cli/{legacy-noops-ENKN6JU4.js → legacy-noops-GM2F7GMV.js} +9 -9
  86. package/dist/cli/{legacy-noops-7RVRPF5B.mjs → legacy-noops-PLQWYZ7A.mjs} +6 -6
  87. package/dist/cli/{monitors-FJPDMUQ6.mjs → monitors-QXK7JTRG.mjs} +7 -7
  88. package/dist/cli/{monitors-YOWDFGIR.js → monitors-SJBIPV4K.js} +100 -100
  89. package/dist/cli/{org-H24LOZAC.mjs → org-OFMMMVYT.mjs} +6 -6
  90. package/dist/cli/{org-4GBLI75H.js → org-XKO7BBT4.js} +86 -86
  91. package/dist/cli/{pages-BKM2D6BV.mjs → pages-NDI2K34M.mjs} +6 -6
  92. package/dist/cli/{pages-WWVLYB5K.js → pages-ZGXRON5S.js} +18 -18
  93. package/dist/cli/{play-TXHKCG6B.js → play-2YD5NTH6.js} +317 -317
  94. package/dist/cli/{play-M3CSYH3A.mjs → play-SMKNTBRK.mjs} +18 -18
  95. package/dist/cli/{providers-XL4SNFHU.js → providers-52PIA36O.js} +9 -9
  96. package/dist/cli/{providers-EW5WTMTX.mjs → providers-6SKF5W4Y.mjs} +6 -6
  97. package/dist/cli/{quickstart-AFQ5MCDL.js → quickstart-4Z22WVLK.js} +6 -6
  98. package/dist/cli/{quickstart-SZSLS553.mjs → quickstart-RVA335ED.mjs} +4 -4
  99. package/dist/cli/{run-MOFHGYSN.js → run-FDTSTMDM.js} +41 -41
  100. package/dist/cli/{run-TWXFNH6U.mjs → run-GMN4TCVV.mjs} +23 -23
  101. package/dist/cli/{search-2SW4V4IR.mjs → search-2FG2USCF.mjs} +8 -8
  102. package/dist/cli/search-63X5FPDM.js +33 -0
  103. package/dist/cli/{search-output-CJGRPJYD.js → search-output-5FKQYLFW.js} +6 -6
  104. package/dist/cli/{search-output-I6DNYXNT.mjs → search-output-AC3AAV6E.mjs} +4 -4
  105. package/dist/cli/{secrets-SD43HSLX.js → secrets-5A7AY2YU.js} +15 -15
  106. package/dist/cli/{secrets-4XXLR6QO.mjs → secrets-MA4ZTNVG.mjs} +6 -6
  107. package/dist/cli/{sessions-7G32HW5R.mjs → sessions-LBYKV5O4.mjs} +6 -6
  108. package/dist/cli/sessions-SMWWKKD4.js +22 -0
  109. package/dist/cli/{settings-HSYRY2L5.mjs → settings-6MQVNROV.mjs} +13 -13
  110. package/dist/cli/{settings-SYEBDDDJ.js → settings-HA3D4GNZ.js} +86 -86
  111. package/dist/cli/{setup-VTWCVCTK.js → setup-3JWTNSOK.js} +78 -63
  112. package/dist/cli/{setup-XZVBPKZK.mjs → setup-BXCUZOZH.mjs} +28 -13
  113. package/dist/cli/{skills-OMPEUMRT.mjs → skills-7ASML2WZ.mjs} +8 -8
  114. package/dist/cli/skills-OJ7NZL6S.js +37 -0
  115. package/dist/cli/{tools-UEDNJI4G.mjs → tools-7IJWJXZ3.mjs} +17 -17
  116. package/dist/cli/tools-Y2VMPUSI.js +57 -0
  117. package/dist/cli/{update-4YVCUSSI.mjs → update-JFKH4SVK.mjs} +10 -10
  118. package/dist/cli/update-JURCS2FE.js +35 -0
  119. package/dist/cli/{views-4FP4AJQ2.mjs → views-2EURG3P5.mjs} +6 -6
  120. package/dist/cli/{views-ZCCSKWMP.js → views-XTAIIX2Y.js} +18 -18
  121. package/dist/cli/{workflow-A2D5FALP.mjs → workflow-7FCQ34QD.mjs} +7 -7
  122. package/dist/cli/{workflow-SM4OD4VJ.js → workflow-AXOF74HO.js} +17 -17
  123. package/dist/index.js +9 -9
  124. package/dist/index.mjs +6 -6
  125. package/dist/install-integrity.json +108 -106
  126. package/dist/release.d.mts +1 -1
  127. package/dist/release.d.ts +1 -1
  128. package/dist/release.js +2 -2
  129. package/dist/release.mjs +1 -1
  130. package/dist/server.js +5 -5
  131. package/dist/server.mjs +3 -3
  132. package/package.json +1 -1
  133. package/dist/cli/auth-P7M7SXM5.js +0 -43
  134. package/dist/cli/describe-JXOGKT6C.js +0 -50
  135. package/dist/cli/git-7VZGGIGZ.js +0 -25
  136. package/dist/cli/search-V2AGWRLO.js +0 -33
  137. package/dist/cli/sessions-FIRDFPIZ.js +0 -22
  138. package/dist/cli/skills-RUY7CION.js +0 -37
  139. package/dist/cli/tools-KLIW7G6T.js +0 -57
  140. package/dist/cli/update-FDUZRKKU.js +0 -35
@@ -11,20 +11,20 @@
11
11
 
12
12
 
13
13
 
14
- var _chunk2GV54JFNjs = require('./chunk-2GV54JFN.js');
14
+ var _chunk4O7UET74js = require('./chunk-4O7UET74.js');
15
15
 
16
16
 
17
- var _chunkKAI64HV7js = require('./chunk-KAI64HV7.js');
17
+ var _chunkJFTO33FKjs = require('./chunk-JFTO33FK.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunk7Z3ZXSOXjs = require('./chunk-7Z3ZXSOX.js');
23
+ var _chunkRLRPEHQ3js = require('./chunk-RLRPEHQ3.js');
24
24
 
25
25
 
26
26
 
27
- var _chunkAP7DNG6Djs = require('./chunk-AP7DNG6D.js');
27
+ var _chunkBUK6WHY2js = require('./chunk-BUK6WHY2.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 = _chunk7Z3ZXSOXjs.resolveProjectPinTarget.call(void 0, );
148
+ const target = _chunkRLRPEHQ3js.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, () => ( _chunkAP7DNG6Djs.detectAgentRuntime.call(void 0, )));
159
+ const runtime = _nullishCoalesce(input.runtime, () => ( _chunkBUK6WHY2js.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, _chunk7Z3ZXSOXjs.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, _chunkRLRPEHQ3js.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 = [..._chunk2GV54JFNjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
178
+ const legacyNames = [..._chunk4O7UET74js.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=${_chunk2GV54JFNjs.SKILLS_NPX_PACKAGE}`,
192
+ `--package=${_chunk4O7UET74js.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=${_chunk2GV54JFNjs.SKILLS_NPX_PACKAGE}`,
208
+ `--package=${_chunk4O7UET74js.SKILLS_NPX_PACKAGE}`,
209
209
  "--",
210
210
  "skills",
211
211
  "add",
212
- _chunk2GV54JFNjs.skillsSourceUrl.call(void 0, input.baseUrl),
212
+ _chunk4O7UET74js.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 = _chunk2GV54JFNjs.resolveShellSpawn.call(void 0,
249
+ const plan = _chunk4O7UET74js.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
- `${_chunk2GV54JFNjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
271
+ `${_chunk4O7UET74js.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(`${_chunk2GV54JFNjs.SKILLS_NPX_PACKAGE} exited ${code}.
282
+ process.stderr.write(`${_chunk4O7UET74js.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 = _chunk7Z3ZXSOXjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
290
+ const baseUrl = _chunkRLRPEHQ3js.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
- _chunkKAI64HV7js.printCommandEnvelope.call(void 0,
303
+ _chunkJFTO33FKjs.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
- _chunkKAI64HV7js.printCommandEnvelope.call(void 0,
313
+ _chunkJFTO33FKjs.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
- _chunkKAI64HV7js.printCommandEnvelope.call(void 0,
330
+ _chunkJFTO33FKjs.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
- _chunkKAI64HV7js.printCommandEnvelope.call(void 0,
353
+ _chunkJFTO33FKjs.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 = _chunk7Z3ZXSOXjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
365
+ const baseUrl = _chunkRLRPEHQ3js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
366
366
  const catalog = {
367
- skillNames: [..._chunk2GV54JFNjs.DEFAULT_SDK_SKILL_NAMES],
368
- version: _chunkAP7DNG6Djs.SDK_VERSION
367
+ skillNames: [..._chunk4O7UET74js.DEFAULT_SDK_SKILL_NAMES],
368
+ version: _chunkBUK6WHY2js.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
- _chunkKAI64HV7js.printCommandEnvelope.call(void 0,
373
+ _chunkJFTO33FKjs.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)) && !_chunk2GV54JFNjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
380
- _chunkKAI64HV7js.printCommandEnvelope.call(void 0,
379
+ if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunk4O7UET74js.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
380
+ _chunkJFTO33FKjs.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, ..._chunk2GV54JFNjs.LEGACY_SKILL_NAMES_TO_REMOVE])
412
+ .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunk4O7UET74js.LEGACY_SKILL_NAMES_TO_REMOVE])
413
413
  ];
414
414
  const agentRoots = workspaceSkillRootsForAgents(plan.agents);
415
- _chunk7Z3ZXSOXjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
415
+ _chunkRLRPEHQ3js.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 _chunk2GV54JFNjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
424
+ lease = scope === "global" ? await _chunk4O7UET74js.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 _chunk2GV54JFNjs.SkillsStateUnavailableError)) throw error;
433
- _chunkKAI64HV7js.printCommandEnvelope.call(void 0,
432
+ if (!(error instanceof _chunk4O7UET74js.SkillsStateUnavailableError)) throw error;
433
+ _chunkJFTO33FKjs.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
- _chunkKAI64HV7js.printCommandEnvelope.call(void 0,
449
+ _chunkJFTO33FKjs.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 ${_chunk2GV54JFNjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
458
+ next: `Retry in a moment: deepline skills install --scope ${scope}. If no refresh is running, remove ${_chunk4O7UET74js.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
- _chunkKAI64HV7js.printCommandEnvelope.call(void 0,
507
+ _chunkJFTO33FKjs.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
- _chunkKAI64HV7js.printCommandEnvelope.call(void 0,
523
+ _chunkJFTO33FKjs.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: _chunkAP7DNG6Djs.SDK_VERSION,
563
+ cliVersion: _chunkBUK6WHY2js.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
- _chunk2GV54JFNjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
576
+ _chunk4O7UET74js.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
577
577
  }
578
- _chunkKAI64HV7js.printCommandEnvelope.call(void 0,
578
+ _chunkJFTO33FKjs.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 ${_chunk2GV54JFNjs.SKILLS_NPX_PACKAGE},
627
+ This command reinstalls current Deepline-managed skills using ${_chunk4O7UET74js.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(_chunk2GV54JFNjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
639
+ program.command(_chunk4O7UET74js.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
- _chunkKAI64HV7js.printCommandEnvelope.call(void 0,
645
+ _chunkJFTO33FKjs.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 _chunk2GV54JFNjs.syncSdkSkillsIfNeeded.call(void 0, _chunk7Z3ZXSOXjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
658
+ await _chunk4O7UET74js.syncSdkSkillsIfNeeded.call(void 0, _chunkRLRPEHQ3js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
659
659
  mode: "inline",
660
660
  notices: "defer",
661
661
  claim
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeRawStderr
3
- } from "./chunk-E7CN5GEM.mjs";
3
+ } from "./chunk-VWOOOU6G.mjs";
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  import { InvalidArgumentError } from "commander";
@@ -300,8 +300,9 @@ Avoid:
300
300
  "auth register": {
301
301
  core: `
302
302
  Purpose:
303
- Start a device-style login: it prints an approval URL, and once a person
304
- approves it in a browser the shell receives a workspace API key.
303
+ Start device authorization. Open the URL in any browser and click Approve
304
+ if the displayed code matches your terminal. Approval gives the CLI a
305
+ workspace API key.
305
306
  When:
306
307
  Only in an interactive session where a person can open the URL. Never in an
307
308
  unattended agent shell: the command has nothing to do until a human acts.
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunk7Z3ZXSOXjs = require('./chunk-7Z3ZXSOX.js');
4
+ var _chunkRLRPEHQ3js = require('./chunk-RLRPEHQ3.js');
5
5
 
6
6
 
7
7
 
8
8
 
9
9
 
10
- var _chunkAP7DNG6Djs = require('./chunk-AP7DNG6D.js');
10
+ var _chunkBUK6WHY2js = require('./chunk-BUK6WHY2.js');
11
11
 
12
12
 
13
13
  var _chunkSQWET4SLjs = require('./chunk-SQWET4SL.js');
@@ -150,7 +150,7 @@ function buildEnvironmentContext() {
150
150
  node_version: process.version,
151
151
  runtime: "Node.js",
152
152
  hostname: _os.hostname.call(void 0, ),
153
- agent_runtime: _chunkAP7DNG6Djs.detectAgentRuntime.call(void 0, )
153
+ agent_runtime: _chunkBUK6WHY2js.detectAgentRuntime.call(void 0, )
154
154
  };
155
155
  for (const key of ["CLAUDE_CODE_REMOTE", "DEEPLINE_PLUGIN_MODE"]) {
156
156
  const normalized = _optionalChain([process, 'access', _5 => _5.env, 'access', _6 => _6[key], 'optionalAccess', _7 => _7.trim, 'call', _8 => _8()]);
@@ -171,18 +171,18 @@ function buildEnvironmentContext() {
171
171
  return context;
172
172
  }
173
173
  function failureReportHeaders(apiKey) {
174
- const agentSessionId = _chunkAP7DNG6Djs.agentSessionIdFromEnvironment.call(void 0, );
174
+ const agentSessionId = _chunkBUK6WHY2js.agentSessionIdFromEnvironment.call(void 0, );
175
175
  return {
176
- ..._chunkAP7DNG6Djs.deploymentProtectionHeaders.call(void 0, ),
176
+ ..._chunkBUK6WHY2js.deploymentProtectionHeaders.call(void 0, ),
177
177
  ...agentSessionId ? { "X-Deepline-Agent-Session-Id": agentSessionId } : {},
178
178
  Authorization: `Bearer ${apiKey}`,
179
179
  "Content-Type": "application/json",
180
- "User-Agent": `deepline-ts-sdk/${_chunkAP7DNG6Djs.SDK_VERSION}`,
180
+ "User-Agent": `deepline-ts-sdk/${_chunkBUK6WHY2js.SDK_VERSION}`,
181
181
  "X-Deepline-Client-Family": "sdk",
182
182
  "X-Deepline-CLI-Family": "sdk",
183
- "X-Deepline-Agent-Runtime": _chunkAP7DNG6Djs.detectAgentRuntime.call(void 0, ),
184
- "X-Deepline-CLI-Version": _chunkAP7DNG6Djs.SDK_VERSION,
185
- "X-Deepline-SDK-Version": _chunkAP7DNG6Djs.SDK_VERSION
183
+ "X-Deepline-Agent-Runtime": _chunkBUK6WHY2js.detectAgentRuntime.call(void 0, ),
184
+ "X-Deepline-CLI-Version": _chunkBUK6WHY2js.SDK_VERSION,
185
+ "X-Deepline-SDK-Version": _chunkBUK6WHY2js.SDK_VERSION
186
186
  };
187
187
  }
188
188
  async function postFailureReport(input) {
@@ -210,7 +210,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
210
210
  if (isFailureReportingDisabled()) return false;
211
211
  let apiKey = "";
212
212
  try {
213
- apiKey = _chunk7Z3ZXSOXjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
213
+ apiKey = _chunkRLRPEHQ3js.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
214
214
  } catch (e2) {
215
215
  return false;
216
216
  }
@@ -237,7 +237,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
237
237
  failure_code: failureCode2,
238
238
  failure_stage: failureStage,
239
239
  error_body: "Automatic Deepline skills installation failed.",
240
- cli_version: _chunkAP7DNG6Djs.SDK_VERSION,
240
+ cli_version: _chunkBUK6WHY2js.SDK_VERSION,
241
241
  context: {
242
242
  environment: buildEnvironmentContext(),
243
243
  skills_sync: {
@@ -357,7 +357,7 @@ function buildFailureReport(input) {
357
357
  failure_kind: failureKind,
358
358
  failure_code: code,
359
359
  failure_stage: input.error === void 0 ? "command_exit" : "cli_main",
360
- cli_version: _chunkAP7DNG6Djs.SDK_VERSION,
360
+ cli_version: _chunkBUK6WHY2js.SDK_VERSION,
361
361
  context: {
362
362
  base_url: redactFailureText(input.baseUrl, 400),
363
363
  command_summary: sanitizeCommand(input.argv),
@@ -377,8 +377,8 @@ async function maybeReportSdkCliFailure(input) {
377
377
  if (isServerLoggedPlayRunStartFailure(input)) return false;
378
378
  const exitCode = resolvedExitCode(input);
379
379
  if (!shouldReport({ exitCode, error: input.error })) return false;
380
- const baseUrl = _chunk7Z3ZXSOXjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
381
- const apiKey = _chunk7Z3ZXSOXjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
380
+ const baseUrl = _chunkRLRPEHQ3js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
381
+ const apiKey = _chunkRLRPEHQ3js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
382
382
  if (!apiKey) return false;
383
383
  return postFailureReport({
384
384
  baseUrl,
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-ETCGTKLF.mjs";
4
+ } from "./chunk-VGWUCBNA.mjs";
5
5
  import {
6
6
  runSkillsCommand
7
- } from "./chunk-HV4UKMBB.mjs";
7
+ } from "./chunk-O7EFJR6Y.mjs";
8
8
  import {
9
9
  resolveShellSpawn
10
- } from "./chunk-C2WTS7WY.mjs";
10
+ } from "./chunk-2CUPFDW5.mjs";
11
11
  import {
12
12
  printCommandEnvelope
13
- } from "./chunk-E7CN5GEM.mjs";
13
+ } from "./chunk-VWOOOU6G.mjs";
14
14
  import {
15
15
  autoDetectBaseUrl
16
- } from "./chunk-XE4PQE2O.mjs";
16
+ } from "./chunk-UNTFERUX.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 _chunkKAI64HV7js = require('./chunk-KAI64HV7.js');
3
+ var _chunkJFTO33FKjs = require('./chunk-JFTO33FK.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
- _chunkKAI64HV7js.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
36
+ _chunkJFTO33FKjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
37
37
  `);
38
38
  }
39
39
  async function traceCliSpan(phase, fields, run) {
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkPNWBODCBjs = require('./chunk-PNWBODCB.js');
3
+ var _chunk4WPHK2R3js = require('./chunk-4WPHK2R3.js');
4
4
 
5
5
 
6
6
 
7
- var _chunk7Z3ZXSOXjs = require('./chunk-7Z3ZXSOX.js');
7
+ var _chunkRLRPEHQ3js = require('./chunk-RLRPEHQ3.js');
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -137,9 +137,9 @@ async function pinLocalPlayImports(client, graph) {
137
137
 
138
138
  // src/plays/client.ts
139
139
  function createPlayClient(options) {
140
- const config = _chunk7Z3ZXSOXjs.resolveConfig.call(void 0, options);
141
- return new (0, _chunkPNWBODCBjs.PlayClient)(
142
- new (0, _chunk7Z3ZXSOXjs.HttpClient)(config),
140
+ const config = _chunkRLRPEHQ3js.resolveConfig.call(void 0, options);
141
+ return new (0, _chunk4WPHK2R3js.PlayClient)(
142
+ new (0, _chunkRLRPEHQ3js.HttpClient)(config),
143
143
  _nullishCoalesce(config.environment, () => ( process.env))
144
144
  );
145
145
  }
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunk7Z3ZXSOXjs = require('./chunk-7Z3ZXSOX.js');
5
+ var _chunkRLRPEHQ3js = require('./chunk-RLRPEHQ3.js');
6
6
 
7
7
 
8
- var _chunkAP7DNG6Djs = require('./chunk-AP7DNG6D.js');
8
+ var _chunkBUK6WHY2js = require('./chunk-BUK6WHY2.js');
9
9
 
10
10
 
11
11
 
@@ -294,8 +294,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
294
294
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
295
295
  var defaultBrowserCommandRunner = childProcess;
296
296
  function getAuthedHttpClient() {
297
- const config = _chunk7Z3ZXSOXjs.resolveConfig.call(void 0, );
298
- return { config, http: new (0, _chunk7Z3ZXSOXjs.HttpClient)(config) };
297
+ const config = _chunkRLRPEHQ3js.resolveConfig.call(void 0, );
298
+ return { config, http: new (0, _chunkRLRPEHQ3js.HttpClient)(config) };
299
299
  }
300
300
  function stableOsUserId() {
301
301
  try {
@@ -635,7 +635,7 @@ function collectLocalEnvInfo() {
635
635
  os: `${process.platform} ${process.arch}`,
636
636
  node_version: process.version,
637
637
  home_dir: homeDir,
638
- agent_runtime: _chunkAP7DNG6Djs.detectAgentRuntime.call(void 0, )
638
+ agent_runtime: _chunkBUK6WHY2js.detectAgentRuntime.call(void 0, )
639
639
  };
640
640
  const env = process.env;
641
641
  const optional = {
@@ -882,9 +882,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
882
882
  }
883
883
  function withAgentCommandContext(value) {
884
884
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
885
- return _chunkAP7DNG6Djs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
885
+ return _chunkBUK6WHY2js.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
886
886
  ...valueRecord,
887
- command_context: _chunk7Z3ZXSOXjs.resolveCliCommandContext.call(void 0, )
887
+ command_context: _chunkRLRPEHQ3js.resolveCliCommandContext.call(void 0, )
888
888
  } : value;
889
889
  }
890
890
  function printJson(value, fields) {
@@ -3,7 +3,7 @@
3
3
  var _chunkVLEVVDWGjs = require('./chunk-VLEVVDWG.js');
4
4
 
5
5
 
6
- var _chunkPNWBODCBjs = require('./chunk-PNWBODCB.js');
6
+ var _chunk4WPHK2R3js = require('./chunk-4WPHK2R3.js');
7
7
 
8
8
 
9
9
  var _chunk2KHUFWTKjs = require('./chunk-2KHUFWTK.js');
@@ -11,7 +11,7 @@ var _chunk2KHUFWTKjs = require('./chunk-2KHUFWTK.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkKAI64HV7js = require('./chunk-KAI64HV7.js');
14
+ var _chunkJFTO33FKjs = require('./chunk-JFTO33FK.js');
15
15
 
16
16
 
17
17
  var _chunkSQWET4SLjs = require('./chunk-SQWET4SL.js');
@@ -581,7 +581,7 @@ function parseInputFlagValue(raw) {
581
581
  return raw;
582
582
  }
583
583
  function parsePlayRunOptions(args, initialInput = null) {
584
- const selection = _chunkKAI64HV7js.parseJsonFields.call(void 0, args, "run");
584
+ const selection = _chunkJFTO33FKjs.parseJsonFields.call(void 0, args, "run");
585
585
  args = selection.args;
586
586
  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.";
587
587
  let filePath = null;
@@ -593,7 +593,7 @@ function parsePlayRunOptions(args, initialInput = null) {
593
593
  let revisionSelector = null;
594
594
  const watch = !args.includes("--no-wait");
595
595
  const dryRun = args.includes("--dry-run");
596
- let jsonOutput = dryRun ? _chunkKAI64HV7js.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkKAI64HV7js.argsWantJson.call(void 0, args);
596
+ let jsonOutput = dryRun ? _chunkJFTO33FKjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkJFTO33FKjs.argsWantJson.call(void 0, args);
597
597
  const fullJson = args.includes("--full");
598
598
  const force = args.includes("--force") || args.includes("--from-start");
599
599
  const forceToolRefresh = args.includes("--force-tool-refresh") || args.includes("--refresh-cache");
@@ -656,7 +656,7 @@ function parsePlayRunOptions(args, initialInput = null) {
656
656
  "--log-level requires one of: debug, info, warn, error."
657
657
  );
658
658
  }
659
- const parsed = _chunkPNWBODCBjs.parseLogLevel.call(void 0, value);
659
+ const parsed = _chunk4WPHK2R3js.parseLogLevel.call(void 0, value);
660
660
  if (!parsed) {
661
661
  throw new Error(
662
662
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -974,7 +974,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
974
974
  const hasExplicitLogLevel = options.logLevel !== void 0 || inputArgs.some(
975
975
  (arg) => arg === "--log-level" || arg.startsWith("--log-level=")
976
976
  );
977
- let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkPNWBODCBjs.parseLogLevel.call(void 0, options.logLevel);
977
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunk4WPHK2R3js.parseLogLevel.call(void 0, options.logLevel);
978
978
  if (!logLevel)
979
979
  throw new Error("--log-level requires one of: debug, info, warn, error.");
980
980
  const debugAlias = options.logs || options.debug === true || inputArgs.some(
@@ -988,13 +988,13 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
988
988
  if (debugAlias || debugMapLatency && logLevel === "info")
989
989
  logLevel = "debug";
990
990
  const fullJson = _nullishCoalesce(options.full, () => ( base.fullJson));
991
- const jsonFields = options.json === void 0 ? base.jsonFields : _chunkKAI64HV7js.parseJsonFields.call(void 0,
992
- [...fullJson ? ["--full"] : [], ..._chunkKAI64HV7js.jsonFieldArgs.call(void 0, options.json)],
991
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunkJFTO33FKjs.parseJsonFields.call(void 0,
992
+ [...fullJson ? ["--full"] : [], ..._chunkJFTO33FKjs.jsonFieldArgs.call(void 0, options.json)],
993
993
  "run"
994
994
  ).fields;
995
995
  const watch = options.wait === false ? false : base.watch;
996
996
  const explicitJson = options.json !== void 0 ? options.json !== false : base.jsonOutput;
997
- const jsonOutput = dryRun || !watch ? explicitJson || _chunkKAI64HV7js.argsWantJson.call(void 0, []) : explicitJson;
997
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunkJFTO33FKjs.argsWantJson.call(void 0, []) : explicitJson;
998
998
  const verboseLogs = Boolean(
999
999
  debugAlias || logLevel === "debug" || debugMapLatency
1000
1000
  );
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-ZPGGW27Q.mjs";
18
18
  import {
19
19
  SDK_RELEASE
20
- } from "./chunk-YVJJEMNQ.mjs";
20
+ } from "./chunk-PTOPMO22.mjs";
21
21
 
22
22
  // src/version.ts
23
23
  var SDK_VERSION = SDK_RELEASE.version;