deepline 0.3.439 → 0.3.441

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 (135) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +10 -1
  3. package/dist/bundling-sources/shared_libs/play-runtime/deployment/commands/roll-execution-relay.ts +8 -4
  4. package/dist/bundling-sources/shared_libs/plays/tool-execution-error.ts +17 -3
  5. package/dist/bundling-sources/shared_libs/tool-execution-error.ts +17 -3
  6. package/dist/cli/{auth-FE2LP7A5.mjs → auth-D2ZF664Y.mjs} +6 -6
  7. package/dist/cli/auth-XTW4JZT4.js +40 -0
  8. package/dist/cli/{billing-GABU2MTX.mjs → billing-4MIYCPSV.mjs} +7 -7
  9. package/dist/cli/{billing-4QAWLCKH.js → billing-5OLSZRHE.js} +83 -83
  10. package/dist/cli/{chunk-72XLUEP6.js → chunk-27LQEDGO.js} +16 -16
  11. package/dist/cli/{chunk-FDQAOF3L.mjs → chunk-2LVCAPN7.mjs} +3 -3
  12. package/dist/cli/{chunk-TWXPEHTM.js → chunk-2MMUUSBN.js} +57 -57
  13. package/dist/cli/{chunk-XFVHEDRH.js → chunk-2VZKT2PE.js} +35 -35
  14. package/dist/cli/{chunk-D4VWHTDT.js → chunk-3IRJIEIE.js} +12 -12
  15. package/dist/cli/{chunk-FB3B2NKV.js → chunk-3XPO3MWC.js} +8 -8
  16. package/dist/cli/{chunk-F3ORKGAM.mjs → chunk-4N3ZT6OJ.mjs} +2 -2
  17. package/dist/cli/{chunk-MAMVGOSC.mjs → chunk-4QF2K7TM.mjs} +1 -1
  18. package/dist/cli/{chunk-HO2TOFKF.mjs → chunk-55GDG7QJ.mjs} +4 -4
  19. package/dist/cli/{chunk-N5D4EMIY.mjs → chunk-7DH2FD7Y.mjs} +1 -1
  20. package/dist/cli/{chunk-WU4U6VSB.js → chunk-A6QCMBGL.js} +5 -5
  21. package/dist/cli/{chunk-3TYXI7MD.js → chunk-AG5SQSH5.js} +6 -6
  22. package/dist/cli/{chunk-NPBJI7RE.js → chunk-ALJJRZNJ.js} +8 -8
  23. package/dist/cli/{chunk-2ELMQ6LW.mjs → chunk-ARVYJDPQ.mjs} +4 -4
  24. package/dist/cli/{chunk-KGR7SR3C.js → chunk-AVQ4V6Y7.js} +93 -93
  25. package/dist/cli/{chunk-N7T6S5SU.mjs → chunk-AZZCCHOL.mjs} +2 -2
  26. package/dist/cli/{chunk-KAJK6XVI.js → chunk-CFUTOWE4.js} +6 -6
  27. package/dist/cli/{chunk-76DCNYH3.js → chunk-DE354WOP.js} +2 -2
  28. package/dist/cli/{chunk-PPDBRJRW.js → chunk-DIAWYWT5.js} +6 -1
  29. package/dist/cli/{chunk-E6ESUF5C.mjs → chunk-DIDMHGVH.mjs} +1 -1
  30. package/dist/cli/{chunk-IX7ZGPLU.js → chunk-DV4G676C.js} +8 -8
  31. package/dist/cli/{chunk-WJ4PNSX3.js → chunk-F2EMJUDJ.js} +26 -26
  32. package/dist/cli/{chunk-KCC3FKIW.mjs → chunk-FAG4DFUC.mjs} +1 -1
  33. package/dist/cli/{chunk-BQQ4LEQB.mjs → chunk-FOLT3LUQ.mjs} +2 -2
  34. package/dist/cli/{chunk-FCF5BP3Q.js → chunk-GAGGHXYN.js} +2 -2
  35. package/dist/cli/{chunk-RDIN3NKA.js → chunk-GEQOPXOS.js} +2 -2
  36. package/dist/cli/{chunk-E4IXDAZI.mjs → chunk-HBL4PM5Q.mjs} +6 -1
  37. package/dist/cli/{chunk-SWZQBMXR.mjs → chunk-HS6ASYW5.mjs} +2 -2
  38. package/dist/cli/{chunk-EBW6KRTG.js → chunk-HUH6EA5B.js} +33 -33
  39. package/dist/cli/{chunk-2H4EY7KH.js → chunk-JKVRBCZL.js} +26 -26
  40. package/dist/cli/{chunk-XMSVK6O4.mjs → chunk-KSWTIOZT.mjs} +9 -9
  41. package/dist/cli/{chunk-MGBVCVJ7.mjs → chunk-LB5TQPKK.mjs} +1 -1
  42. package/dist/cli/{chunk-IAL3KSJT.mjs → chunk-M65GHY4K.mjs} +1 -1
  43. package/dist/cli/{chunk-HUBVYO52.mjs → chunk-NYLJMRYD.mjs} +2 -2
  44. package/dist/cli/{chunk-R3X55OMZ.js → chunk-OWXLYPMV.js} +20 -20
  45. package/dist/cli/{chunk-NUX2QHNC.mjs → chunk-OZDT2CZW.mjs} +1 -1
  46. package/dist/cli/{chunk-P4ITKGRQ.js → chunk-PNS3K6A2.js} +50 -50
  47. package/dist/cli/{chunk-QFTJ24UV.mjs → chunk-POSRLOHP.mjs} +3 -3
  48. package/dist/cli/{chunk-ZTJUGK5I.mjs → chunk-PPJ4PF6F.mjs} +3 -3
  49. package/dist/cli/{chunk-RIJ4VTYJ.mjs → chunk-PUWMWNBM.mjs} +4 -4
  50. package/dist/cli/{chunk-DS7Y7X26.mjs → chunk-SKXQZUMX.mjs} +1 -1
  51. package/dist/cli/{chunk-2I42ORGH.js → chunk-UJLPE55B.js} +1 -1
  52. package/dist/cli/{chunk-MPY4UD6H.js → chunk-XM5Z53VA.js} +101 -101
  53. package/dist/cli/{chunk-UN3F6ZKR.mjs → chunk-XUART5TY.mjs} +5 -5
  54. package/dist/cli/{csv-TVVXG42B.js → csv-PWSQ7DBG.js} +14 -14
  55. package/dist/cli/{csv-NZOZIEQP.mjs → csv-ZWRKX6NU.mjs} +5 -5
  56. package/dist/cli/{db-PEZHN563.mjs → db-AYIEGUOY.mjs} +7 -7
  57. package/dist/cli/{db-3Q2OPJW6.js → db-M24C22YN.js} +34 -34
  58. package/dist/cli/{describe-M7AP5WVH.js → describe-F34NXGCE.js} +22 -22
  59. package/dist/cli/{describe-GHSBWUUS.mjs → describe-K2CCAFJO.mjs} +16 -16
  60. package/dist/cli/describe-core.d.mts +2 -2
  61. package/dist/cli/describe-core.d.ts +2 -2
  62. package/dist/cli/describe-core.js +4 -4
  63. package/dist/cli/describe-core.mjs +3 -3
  64. package/dist/cli/{executions-7E3GU4QA.mjs → executions-TMH5FSYX.mjs} +7 -7
  65. package/dist/cli/{executions-YKR2SAZF.js → executions-UHHRRBBT.js} +9 -9
  66. package/dist/cli/{feedback-JSPMENHA.mjs → feedback-GCTX3HJS.mjs} +5 -5
  67. package/dist/cli/{feedback-JTRYBUQZ.js → feedback-Z7C47J2X.js} +9 -9
  68. package/dist/cli/git-MCFHPAML.js +24 -0
  69. package/dist/cli/{git-R4PATSRX.mjs → git-RDHXJML2.mjs} +6 -6
  70. package/dist/cli/index.js +136 -136
  71. package/dist/cli/index.mjs +38 -38
  72. package/dist/cli/{legacy-noops-W52GTS36.mjs → legacy-noops-3E75KHWC.mjs} +6 -6
  73. package/dist/cli/{legacy-noops-3OMVEANW.js → legacy-noops-X6QQUMNF.js} +9 -9
  74. package/dist/cli/{monitors-YA6X5BM4.js → monitors-AVTVW5L2.js} +93 -93
  75. package/dist/cli/{monitors-SIXLFZJ3.mjs → monitors-HCNIDGV2.mjs} +7 -7
  76. package/dist/cli/{org-EYFKI2ZI.mjs → org-ILD73S74.mjs} +7 -7
  77. package/dist/cli/{org-73YXPEZ5.js → org-QUJYCJJE.js} +69 -69
  78. package/dist/cli/{play-CSRSSDTC.js → play-7M53PMCN.js} +373 -373
  79. package/dist/cli/{play-7EF6XSS6.mjs → play-DQJ7LGQG.mjs} +15 -15
  80. package/dist/cli/{providers-IHQGSP3E.js → providers-3HC5S52G.js} +10 -10
  81. package/dist/cli/{providers-MKIVZMBG.mjs → providers-WV35XXID.mjs} +7 -7
  82. package/dist/cli/{quickstart-26QTTEHV.js → quickstart-KJZOURAH.js} +7 -7
  83. package/dist/cli/{quickstart-COU7YD7S.mjs → quickstart-UESOANHH.mjs} +5 -5
  84. package/dist/cli/search-255SE477.js +30 -0
  85. package/dist/cli/{search-YKN4OI4P.mjs → search-V3ZQE4UU.mjs} +8 -8
  86. package/dist/cli/{secrets-CQPQQJ76.mjs → secrets-ILDTXJ3L.mjs} +7 -7
  87. package/dist/cli/{secrets-W3DT7F7Q.js → secrets-IU2FWIQI.js} +16 -16
  88. package/dist/cli/{sessions-U5ULT5CF.mjs → sessions-4M6WBATB.mjs} +6 -6
  89. package/dist/cli/sessions-Y25VJZSV.js +16 -0
  90. package/dist/cli/{settings-U6ZOQ3FZ.js → settings-5BMSV6EL.js} +78 -78
  91. package/dist/cli/{settings-6MZCTUWD.mjs → settings-Z4R5U5OZ.mjs} +11 -11
  92. package/dist/cli/{setup-JFG3GZGE.mjs → setup-FWSJMJWR.mjs} +9 -9
  93. package/dist/cli/{setup-HEDWKIGE.js → setup-QZ3ZN4RI.js} +44 -44
  94. package/dist/cli/skills-4JXC4C57.js +29 -0
  95. package/dist/cli/{skills-VIY56KK5.mjs → skills-RA7HJTXG.mjs} +7 -7
  96. package/dist/cli/{tools-Y64ZTYTZ.mjs → tools-5VI3FPWV.mjs} +15 -15
  97. package/dist/cli/tools-BGVCWIZ5.js +44 -0
  98. package/dist/cli/update-GPXJHQXJ.js +31 -0
  99. package/dist/cli/{update-2RL67PK2.mjs → update-O7B44SN5.mjs} +9 -9
  100. package/dist/cli/{workflow-YRI7MT3F.mjs → workflow-3MOKM4IM.mjs} +8 -8
  101. package/dist/cli/{workflow-FHKZGJGS.js → workflow-7W3BTJPH.js} +18 -18
  102. package/dist/{client-Doml68vC.d.mts → client-BCmnJaL9.d.mts} +1 -1
  103. package/dist/{client-9nH8tx4R.d.ts → client-BqQ7Rb11.d.ts} +1 -1
  104. package/dist/{compiler-manifest-CF2qngKr.d.ts → compiler-manifest-CWz_sNOQ.d.mts} +6 -2
  105. package/dist/{compiler-manifest-CF2qngKr.d.mts → compiler-manifest-CWz_sNOQ.d.ts} +6 -2
  106. package/dist/{index-Bq37k0sE.d.ts → index-4NPXDzlD.d.ts} +1 -1
  107. package/dist/{index-DTI-iNw8.d.mts → index-BF2JB_Ug.d.mts} +1 -1
  108. package/dist/index.d.mts +5 -5
  109. package/dist/index.d.ts +5 -5
  110. package/dist/index.js +10 -10
  111. package/dist/index.mjs +6 -6
  112. package/dist/install-integrity.json +96 -96
  113. package/dist/plays/bundle-play-file.d.mts +3 -3
  114. package/dist/plays/bundle-play-file.d.ts +3 -3
  115. package/dist/plays/bundle-play-file.mjs +2 -2
  116. package/dist/plays/csv-data-input.js +3 -3
  117. package/dist/plays/csv-data-input.mjs +2 -2
  118. package/dist/plays/play-description.d.mts +2 -2
  119. package/dist/plays/play-description.d.ts +2 -2
  120. package/dist/plays/run-request.d.mts +2 -2
  121. package/dist/plays/run-request.d.ts +2 -2
  122. package/dist/plays/run-request.js +3 -3
  123. package/dist/plays/run-request.mjs +2 -2
  124. package/dist/release.d.mts +1 -1
  125. package/dist/release.d.ts +1 -1
  126. package/dist/release.js +2 -2
  127. package/dist/release.mjs +1 -1
  128. package/package.json +1 -1
  129. package/dist/cli/auth-5UUDH4A7.js +0 -40
  130. package/dist/cli/git-6QITFAMM.js +0 -24
  131. package/dist/cli/search-DOK42NBV.js +0 -30
  132. package/dist/cli/sessions-GYKUO55E.js +0 -16
  133. package/dist/cli/skills-FOGBZYDP.js +0 -29
  134. package/dist/cli/tools-ZN54N4NT.js +0 -44
  135. package/dist/cli/update-AZCNZXXP.js +0 -31
@@ -11,10 +11,10 @@
11
11
 
12
12
 
13
13
 
14
- var _chunkTWXPEHTMjs = require('./chunk-TWXPEHTM.js');
14
+ var _chunk2MMUUSBNjs = require('./chunk-2MMUUSBN.js');
15
15
 
16
16
 
17
- var _chunkD4VWHTDTjs = require('./chunk-D4VWHTDT.js');
17
+ var _chunk3IRJIEIEjs = require('./chunk-3IRJIEIE.js');
18
18
 
19
19
 
20
20
 
@@ -22,7 +22,7 @@ var _chunkD4VWHTDTjs = require('./chunk-D4VWHTDT.js');
22
22
 
23
23
 
24
24
 
25
- var _chunkEBW6KRTGjs = require('./chunk-EBW6KRTG.js');
25
+ var _chunkHUH6EA5Bjs = require('./chunk-HUH6EA5B.js');
26
26
 
27
27
  // src/cli/commands/skills.ts
28
28
  var _child_process = require('child_process');
@@ -75,7 +75,7 @@ function inferActiveSkillsScope(entrypoint = _nullishCoalesce(process.argv[1], (
75
75
  return /[\\/]\.deepline[\\/]runtime[\\/]/.test(entrypoint) ? "local" : "global";
76
76
  }
77
77
  function resolveLocalRoot() {
78
- const target = _chunkEBW6KRTGjs.resolveProjectPinTarget.call(void 0, );
78
+ const target = _chunkHUH6EA5Bjs.resolveProjectPinTarget.call(void 0, );
79
79
  if (!target.ok) {
80
80
  throw new Error(
81
81
  `Cowork project folder is ambiguous. Candidate folders: ${target.candidates.join(
@@ -86,7 +86,7 @@ function resolveLocalRoot() {
86
86
  return target.dir;
87
87
  }
88
88
  function detectSkillsAgents(input) {
89
- const runtime = _nullishCoalesce(input.runtime, () => ( _chunkEBW6KRTGjs.detectAgentRuntime.call(void 0, )));
89
+ const runtime = _nullishCoalesce(input.runtime, () => ( _chunkHUH6EA5Bjs.detectAgentRuntime.call(void 0, )));
90
90
  const knownAgent = RUNTIME_TO_SKILLS_AGENT[runtime];
91
91
  if (knownAgent) return [knownAgent];
92
92
  const roots = [
@@ -101,11 +101,11 @@ function detectSkillsAgents(input) {
101
101
  return detected.length > 0 ? detected : ["*"];
102
102
  }
103
103
  function skillsStatePathForScope(baseUrl, scope, root) {
104
- return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkEBW6KRTGjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
104
+ return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkHUH6EA5Bjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
105
105
  }
106
106
  function buildSkillsPlan(input) {
107
107
  const scopeArgs = input.scope === "global" ? ["--global"] : [];
108
- const legacyNames = [..._chunkTWXPEHTMjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
108
+ const legacyNames = [..._chunk2MMUUSBNjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
109
109
  (a, b) => a.localeCompare(b)
110
110
  );
111
111
  return {
@@ -119,7 +119,7 @@ function buildSkillsPlan(input) {
119
119
  args: [
120
120
  "exec",
121
121
  "--yes",
122
- `--package=${_chunkTWXPEHTMjs.SKILLS_NPX_PACKAGE}`,
122
+ `--package=${_chunk2MMUUSBNjs.SKILLS_NPX_PACKAGE}`,
123
123
  "--",
124
124
  "skills",
125
125
  "remove",
@@ -135,11 +135,11 @@ function buildSkillsPlan(input) {
135
135
  args: [
136
136
  "exec",
137
137
  "--yes",
138
- `--package=${_chunkTWXPEHTMjs.SKILLS_NPX_PACKAGE}`,
138
+ `--package=${_chunk2MMUUSBNjs.SKILLS_NPX_PACKAGE}`,
139
139
  "--",
140
140
  "skills",
141
141
  "add",
142
- _chunkTWXPEHTMjs.skillsSourceUrl.call(void 0, input.baseUrl),
142
+ _chunk2MMUUSBNjs.skillsSourceUrl.call(void 0, input.baseUrl),
143
143
  "--agent",
144
144
  ...input.agents,
145
145
  ...scopeArgs,
@@ -176,7 +176,7 @@ function readSkillsInstallState(path) {
176
176
  }
177
177
  function runProcess(command, args, cwd) {
178
178
  return new Promise((resolve, reject) => {
179
- const plan = _chunkTWXPEHTMjs.resolveShellSpawn.call(void 0,
179
+ const plan = _chunk2MMUUSBNjs.resolveShellSpawn.call(void 0,
180
180
  command,
181
181
  args,
182
182
  process.platform,
@@ -198,7 +198,7 @@ function runProcess(command, args, cwd) {
198
198
  child.kill("SIGTERM");
199
199
  reject(
200
200
  new Error(
201
- `${_chunkTWXPEHTMjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
201
+ `${_chunk2MMUUSBNjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
202
202
  )
203
203
  );
204
204
  }, SKILLS_PROCESS_TIMEOUT_MS);
@@ -209,7 +209,7 @@ function runProcess(command, args, cwd) {
209
209
  child.once("close", (code) => {
210
210
  clearTimeout(timeout);
211
211
  if (code && stderr.trim()) {
212
- process.stderr.write(`${_chunkTWXPEHTMjs.SKILLS_NPX_PACKAGE} exited ${code}.
212
+ process.stderr.write(`${_chunk2MMUUSBNjs.SKILLS_NPX_PACKAGE} exited ${code}.
213
213
  `);
214
214
  }
215
215
  resolve(_nullishCoalesce(code, () => ( 1)));
@@ -223,7 +223,7 @@ async function runSkillsCommand(options, dependencies = {}) {
223
223
  scope = normalizeScope(options.scope);
224
224
  root = scope === "local" ? resolveLocalRoot() : null;
225
225
  } catch (error) {
226
- _chunkD4VWHTDTjs.printCommandEnvelope.call(void 0,
226
+ _chunk3IRJIEIEjs.printCommandEnvelope.call(void 0,
227
227
  {
228
228
  ok: false,
229
229
  status: "failed",
@@ -235,22 +235,22 @@ async function runSkillsCommand(options, dependencies = {}) {
235
235
  );
236
236
  return 2;
237
237
  }
238
- const baseUrl = _chunkEBW6KRTGjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
238
+ const baseUrl = _chunkHUH6EA5Bjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
239
239
  const catalog = {
240
- skillNames: [..._chunkTWXPEHTMjs.DEFAULT_SDK_SKILL_NAMES],
241
- version: _chunkEBW6KRTGjs.SDK_VERSION
240
+ skillNames: [..._chunk2MMUUSBNjs.DEFAULT_SDK_SKILL_NAMES],
241
+ version: _chunkHUH6EA5Bjs.SDK_VERSION
242
242
  };
243
243
  const agents = options.agent ? [options.agent] : detectSkillsAgents({ scope, root });
244
244
  const plan = buildSkillsPlan({ baseUrl, scope, root, agents, ...catalog });
245
245
  if (options.dryRun) {
246
- _chunkD4VWHTDTjs.printCommandEnvelope.call(void 0,
246
+ _chunk3IRJIEIEjs.printCommandEnvelope.call(void 0,
247
247
  { ok: true, status: "planned", dryRun: true, ...plan },
248
248
  { json: options.json }
249
249
  );
250
250
  return 0;
251
251
  }
252
- if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkTWXPEHTMjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
253
- _chunkD4VWHTDTjs.printCommandEnvelope.call(void 0,
252
+ if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunk2MMUUSBNjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
253
+ _chunk3IRJIEIEjs.printCommandEnvelope.call(void 0,
254
254
  {
255
255
  ok: true,
256
256
  status: "current",
@@ -282,10 +282,10 @@ async function runSkillsCommand(options, dependencies = {}) {
282
282
  }
283
283
  if (scope === "local" && root) {
284
284
  const managedNames = [
285
- .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkTWXPEHTMjs.LEGACY_SKILL_NAMES_TO_REMOVE])
285
+ .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunk2MMUUSBNjs.LEGACY_SKILL_NAMES_TO_REMOVE])
286
286
  ];
287
287
  const agentRoots = workspaceSkillRootsForAgents(plan.agents);
288
- _chunkEBW6KRTGjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
288
+ _chunkHUH6EA5Bjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
289
289
  ".deepline/",
290
290
  ...agentRoots.flatMap(
291
291
  (agentRoot) => managedNames.map((name) => `${agentRoot}/skills/${name}/`)
@@ -294,7 +294,7 @@ async function runSkillsCommand(options, dependencies = {}) {
294
294
  }
295
295
  let lease;
296
296
  try {
297
- lease = scope === "global" ? await _chunkTWXPEHTMjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
297
+ lease = scope === "global" ? await _chunk2MMUUSBNjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
298
298
  waitMs: _nullishCoalesce(dependencies.installLeaseWaitMs, () => ( SKILLS_INSTALL_LEASE_WAIT_MS)),
299
299
  onWait: () => process.stderr.write(
300
300
  "Waiting for a background Deepline skills refresh to finish...\n"
@@ -302,8 +302,8 @@ async function runSkillsCommand(options, dependencies = {}) {
302
302
  }) : { release: () => {
303
303
  } };
304
304
  } catch (error) {
305
- if (!(error instanceof _chunkTWXPEHTMjs.SkillsStateUnavailableError)) throw error;
306
- _chunkD4VWHTDTjs.printCommandEnvelope.call(void 0,
305
+ if (!(error instanceof _chunk2MMUUSBNjs.SkillsStateUnavailableError)) throw error;
306
+ _chunk3IRJIEIEjs.printCommandEnvelope.call(void 0,
307
307
  {
308
308
  ok: false,
309
309
  status: "failed",
@@ -319,7 +319,7 @@ async function runSkillsCommand(options, dependencies = {}) {
319
319
  return 5;
320
320
  }
321
321
  if (!lease) {
322
- _chunkD4VWHTDTjs.printCommandEnvelope.call(void 0,
322
+ _chunk3IRJIEIEjs.printCommandEnvelope.call(void 0,
323
323
  {
324
324
  ok: false,
325
325
  status: "failed",
@@ -328,7 +328,7 @@ async function runSkillsCommand(options, dependencies = {}) {
328
328
  scope,
329
329
  agents,
330
330
  message: "A background Deepline skills refresh is still running for these agents.",
331
- next: `Retry in a moment: deepline skills --scope ${scope}. If no refresh is running, remove ${_chunkTWXPEHTMjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
331
+ next: `Retry in a moment: deepline skills --scope ${scope}. If no refresh is running, remove ${_chunk2MMUUSBNjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
332
332
  },
333
333
  { json: options.json }
334
334
  );
@@ -365,7 +365,7 @@ async function runSkillsInstallWithLease(input) {
365
365
  throw new Error("Could not install the current Deepline skills.");
366
366
  }
367
367
  } catch (error) {
368
- _chunkD4VWHTDTjs.printCommandEnvelope.call(void 0,
368
+ _chunk3IRJIEIEjs.printCommandEnvelope.call(void 0,
369
369
  {
370
370
  ok: false,
371
371
  status: "failed",
@@ -404,7 +404,7 @@ async function runSkillsInstallWithLease(input) {
404
404
  {
405
405
  schemaVersion: 1,
406
406
  installedAt: (/* @__PURE__ */ new Date()).toISOString(),
407
- cliVersion: _chunkEBW6KRTGjs.SDK_VERSION,
407
+ cliVersion: _chunkHUH6EA5Bjs.SDK_VERSION,
408
408
  scope,
409
409
  agents,
410
410
  skillsVersion: plan.version,
@@ -417,9 +417,9 @@ async function runSkillsInstallWithLease(input) {
417
417
  "utf8"
418
418
  );
419
419
  if (scope === "global") {
420
- _chunkTWXPEHTMjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
420
+ _chunk2MMUUSBNjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
421
421
  }
422
- _chunkD4VWHTDTjs.printCommandEnvelope.call(void 0,
422
+ _chunk3IRJIEIEjs.printCommandEnvelope.call(void 0,
423
423
  {
424
424
  ok: true,
425
425
  status: "complete",
@@ -450,7 +450,7 @@ function registerSkillsCommand(program) {
450
450
  "after",
451
451
  `
452
452
  Notes:
453
- This command reinstalls current Deepline-managed skills using ${_chunkTWXPEHTMjs.SKILLS_NPX_PACKAGE},
453
+ This command reinstalls current Deepline-managed skills using ${_chunk2MMUUSBNjs.SKILLS_NPX_PACKAGE},
454
454
  then removes legacy Deepline skill names. Local scope writes into the resolved
455
455
  persistent project.
456
456
 
@@ -462,13 +462,13 @@ Examples:
462
462
  ).action(async (options) => {
463
463
  process.exitCode = await runSkillsCommand(options);
464
464
  });
465
- program.command(_chunkTWXPEHTMjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
465
+ program.command(_chunk2MMUUSBNjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
466
466
  "--claim <token>",
467
467
  "Owner token of the leases this child was started for."
468
468
  ).action(async (options) => {
469
469
  const claim = _optionalChain([options, 'access', _ => _.claim, 'optionalAccess', _2 => _2.trim, 'call', _3 => _3()]);
470
470
  if (!claim) {
471
- _chunkD4VWHTDTjs.printCommandEnvelope.call(void 0,
471
+ _chunk3IRJIEIEjs.printCommandEnvelope.call(void 0,
472
472
  {
473
473
  ok: false,
474
474
  status: "failed",
@@ -481,7 +481,7 @@ Examples:
481
481
  process.exitCode = 2;
482
482
  return;
483
483
  }
484
- await _chunkTWXPEHTMjs.syncSdkSkillsIfNeeded.call(void 0, _chunkEBW6KRTGjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
484
+ await _chunk2MMUUSBNjs.syncSdkSkillsIfNeeded.call(void 0, _chunkHUH6EA5Bjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
485
485
  mode: "inline",
486
486
  notices: "defer",
487
487
  claim
@@ -3,11 +3,11 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkEBW6KRTGjs = require('./chunk-EBW6KRTG.js');
6
+ var _chunkHUH6EA5Bjs = require('./chunk-HUH6EA5B.js');
7
7
 
8
8
 
9
9
 
10
- var _chunkPPDBRJRWjs = require('./chunk-PPDBRJRW.js');
10
+ var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
11
11
 
12
12
  // src/cli/json-fields.ts
13
13
  var RUN_FIELDS = new Set(
@@ -42,7 +42,7 @@ function parseJsonFields(args, surface) {
42
42
  if (parts.some(
43
43
  (part) => !/^[a-zA-Z_][a-zA-Z_0-9]*$/.test(part) || ["__proto__", "prototype", "constructor"].includes(part)
44
44
  ) || !allowed.has(parts[0])) {
45
- throw new (0, _chunkPPDBRJRWjs.DeeplineError)(
45
+ throw new (0, _chunkDIAWYWT5js.DeeplineError)(
46
46
  `Unknown --json field '${path}'. Available roots: ${[...allowed].join(", ")}.`,
47
47
  void 0,
48
48
  "INVALID_ARGUMENT"
@@ -50,7 +50,7 @@ function parseJsonFields(args, surface) {
50
50
  }
51
51
  if (parts[0] === "run" && parts[1] && !RUN_FIELDS.has(parts[1])) {
52
52
  const hint = parts[1] === "url" ? " Use run.dashboardUrl." : parts[1] === "stats" ? " Dataset summaries are in datasets; run timing is in run.durationMs." : "";
53
- throw new (0, _chunkPPDBRJRWjs.DeeplineError)(
53
+ throw new (0, _chunkDIAWYWT5js.DeeplineError)(
54
54
  `Unknown --json run field '${parts[1]}'. Available: ${[...RUN_FIELDS].join(", ")}.${hint}`,
55
55
  void 0,
56
56
  "INVALID_ARGUMENT"
@@ -60,7 +60,7 @@ function parseJsonFields(args, surface) {
60
60
  const target = args[0] && !args[0].startsWith("-") ? args[0] : "<target>";
61
61
  const command = surface === "get" ? "runs get" : `plays ${surface}`;
62
62
  const quotedTarget = `'${target.replace(/'/g, "'\\''")}'`;
63
- throw new (0, _chunkPPDBRJRWjs.DeeplineError)(
63
+ throw new (0, _chunkDIAWYWT5js.DeeplineError)(
64
64
  `--json diagnostics requires --full. For inspection, use: deepline ${surface === "run" ? "runs get <run-id>" : `${command} ${quotedTarget}`} --full`,
65
65
  void 0,
66
66
  "INVALID_ARGUMENT"
@@ -70,7 +70,7 @@ function parseJsonFields(args, surface) {
70
70
  fields = [..._nullishCoalesce(fields, () => ( [])), ...paths];
71
71
  }
72
72
  if (fields && normalized.includes("--input") && surface === "get") {
73
- throw new (0, _chunkPPDBRJRWjs.DeeplineError)(
73
+ throw new (0, _chunkDIAWYWT5js.DeeplineError)(
74
74
  "--json fields selects the run response, not --input. Use bare --json with --input.",
75
75
  void 0,
76
76
  "INVALID_ARGUMENT"
@@ -288,8 +288,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
288
288
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
289
289
  var defaultBrowserCommandRunner = childProcess;
290
290
  function getAuthedHttpClient() {
291
- const config = _chunkEBW6KRTGjs.resolveConfig.call(void 0, );
292
- return { config, http: new (0, _chunkEBW6KRTGjs.HttpClient)(config) };
291
+ const config = _chunkHUH6EA5Bjs.resolveConfig.call(void 0, );
292
+ return { config, http: new (0, _chunkHUH6EA5Bjs.HttpClient)(config) };
293
293
  }
294
294
  function stableOsUserId() {
295
295
  try {
@@ -629,7 +629,7 @@ function collectLocalEnvInfo() {
629
629
  os: `${process.platform} ${process.arch}`,
630
630
  node_version: process.version,
631
631
  home_dir: homeDir,
632
- agent_runtime: _chunkEBW6KRTGjs.detectAgentRuntime.call(void 0, )
632
+ agent_runtime: _chunkHUH6EA5Bjs.detectAgentRuntime.call(void 0, )
633
633
  };
634
634
  const env = process.env;
635
635
  const optional = {
@@ -876,9 +876,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
876
876
  }
877
877
  function withAgentCommandContext(value) {
878
878
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
879
- return _chunkEBW6KRTGjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
879
+ return _chunkHUH6EA5Bjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
880
880
  ...valueRecord,
881
- command_context: _chunkEBW6KRTGjs.resolveCliCommandContext.call(void 0, )
881
+ command_context: _chunkHUH6EA5Bjs.resolveCliCommandContext.call(void 0, )
882
882
  } : value;
883
883
  }
884
884
  function printJson(value, fields) {
@@ -894,7 +894,7 @@ function printCompactJson(value) {
894
894
  );
895
895
  }
896
896
  function cliToolExecutionFailure(error) {
897
- const failure = _chunkPPDBRJRWjs.serializeToolExecutionFailure.call(void 0, error);
897
+ const failure = _chunkDIAWYWT5js.serializeToolExecutionFailure.call(void 0, error);
898
898
  if (!failure) return null;
899
899
  const { publicDetails: _publicDetails, ...facts } = failure;
900
900
  return facts;
@@ -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(); } } 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 _chunkD4VWHTDTjs = require('./chunk-D4VWHTDT.js');
4
+ var _chunk3IRJIEIEjs = require('./chunk-3IRJIEIE.js');
5
5
 
6
6
 
7
- var _chunkEBW6KRTGjs = require('./chunk-EBW6KRTG.js');
7
+ var _chunkHUH6EA5Bjs = require('./chunk-HUH6EA5B.js');
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
 
@@ -139,7 +139,7 @@ function currentSessionFile(agent) {
139
139
  const newestFirst = listSessionFiles(agent).sort(
140
140
  (a, b) => b.mtimeMs - a.mtimeMs
141
141
  );
142
- const sessionId = _chunkEBW6KRTGjs.agentSessionIdFromEnvironment.call(void 0,
142
+ const sessionId = _chunkHUH6EA5Bjs.agentSessionIdFromEnvironment.call(void 0,
143
143
  process.env,
144
144
  agent === "auto" ? void 0 : agent === "claude" ? "claude_code" : "codex"
145
145
  );
@@ -451,7 +451,7 @@ function buildSessionUploadContent(raw) {
451
451
  return { encodedContent: encoded, needsChunking: true };
452
452
  }
453
453
  async function uploadPayload(path, payload) {
454
- const { http } = _chunkD4VWHTDTjs.getAuthedHttpClient.call(void 0, );
454
+ const { http } = _chunk3IRJIEIEjs.getAuthedHttpClient.call(void 0, );
455
455
  return await http.post(path, payload);
456
456
  }
457
457
  async function uploadChunkedSessions(sessions, options) {
@@ -484,7 +484,7 @@ async function uploadChunkedSessions(sessions, options) {
484
484
  ...options.rating ? { rating: options.rating } : {}
485
485
  });
486
486
  const sessionIds = sessions.map((session) => session.sessionId);
487
- _chunkD4VWHTDTjs.printCommandEnvelope.call(void 0,
487
+ _chunk3IRJIEIEjs.printCommandEnvelope.call(void 0,
488
488
  {
489
489
  ...response,
490
490
  ok: true,
@@ -516,7 +516,7 @@ async function handleSessionsSend(options) {
516
516
  filename: _path.basename.call(void 0, filePath),
517
517
  ...rating ? { rating } : {}
518
518
  });
519
- _chunkD4VWHTDTjs.printCommandEnvelope.call(void 0,
519
+ _chunk3IRJIEIEjs.printCommandEnvelope.call(void 0,
520
520
  {
521
521
  ...response2,
522
522
  ok: true,
@@ -566,7 +566,7 @@ async function handleSessionsSend(options) {
566
566
  ...rating ? { rating } : {}
567
567
  });
568
568
  const sessionIds = built.map((session) => session.sessionId);
569
- _chunkD4VWHTDTjs.printCommandEnvelope.call(void 0,
569
+ _chunk3IRJIEIEjs.printCommandEnvelope.call(void 0,
570
570
  {
571
571
  ...response,
572
572
  ok: true,
@@ -674,7 +674,7 @@ ${refreshMeta}
674
674
  </body>
675
675
  </html>`;
676
676
  _fs.writeFileSync.call(void 0, outputPath, html, "utf8");
677
- _chunkD4VWHTDTjs.printCommandEnvelope.call(void 0,
677
+ _chunk3IRJIEIEjs.printCommandEnvelope.call(void 0,
678
678
  {
679
679
  ok: true,
680
680
  file: outputPath,
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-BQQ4LEQB.mjs";
5
+ } from "./chunk-FOLT3LUQ.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-ZTJUGK5I.mjs";
8
+ } from "./chunk-PPJ4PF6F.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -3,7 +3,7 @@ import {
3
3
  brandAsProviderTransientError,
4
4
  brandAsToolExecutionError,
5
5
  isProviderTransientFailure
6
- } from "./chunk-E4IXDAZI.mjs";
6
+ } from "./chunk-HBL4PM5Q.mjs";
7
7
 
8
8
  // src/errors.ts
9
9
  var CustomerDbQueryOutcomeUnknownError = class extends DeeplineError {
@@ -15,7 +15,7 @@ import {
15
15
  preparePlayRunAdmission,
16
16
  stagePlayFiles,
17
17
  startPlayRun
18
- } from "./chunk-KCC3FKIW.mjs";
18
+ } from "./chunk-FAG4DFUC.mjs";
19
19
  import {
20
20
  describePlayDetail,
21
21
  describePlayListItem
@@ -28,16 +28,16 @@ import {
28
28
  RUNTIME_ENVIRONMENT_TOKEN_HEADER,
29
29
  SDK_API_MAJOR,
30
30
  resolveConfig
31
- } from "./chunk-ZTJUGK5I.mjs";
31
+ } from "./chunk-PPJ4PF6F.mjs";
32
32
  import {
33
33
  CustomerDbQueryOutcomeUnknownError
34
- } from "./chunk-MAMVGOSC.mjs";
34
+ } from "./chunk-4QF2K7TM.mjs";
35
35
  import {
36
36
  DeeplineError,
37
37
  TOOL_EXECUTION_ERROR_SCHEMA_HEADER,
38
38
  TOOL_EXECUTION_ERROR_SCHEMA_VERSION,
39
39
  ToolExecutionError
40
- } from "./chunk-E4IXDAZI.mjs";
40
+ } from "./chunk-HBL4PM5Q.mjs";
41
41
 
42
42
  // src/pagination.ts
43
43
  async function* iterateCursorPages(fetchPage) {
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  SUPPORTED_TOOL_EXECUTION_ERROR_SCHEMA_VERSIONS,
16
16
  TOOL_EXECUTION_ERROR_SCHEMA_VERSION
17
- } from "./chunk-E4IXDAZI.mjs";
17
+ } from "./chunk-HBL4PM5Q.mjs";
18
18
  import {
19
19
  CURRENT_PLAY_ARTIFACT_CONTRACT_VERSION
20
20
  } from "./chunk-WZYKRD7T.mjs";
@@ -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 _chunkPPDBRJRWjs = require('./chunk-PPDBRJRW.js');
3
+ var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
4
4
 
5
5
  // node_modules/csv-parse/dist/esm/sync.js
6
6
  var global$1 = typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {};
@@ -3000,7 +3000,7 @@ function parseCsvDataInput(source, content, options = {}) {
3000
3000
  } : {}
3001
3001
  });
3002
3002
  } catch (error) {
3003
- throw new (0, _chunkPPDBRJRWjs.DeeplineError)(
3003
+ throw new (0, _chunkDIAWYWT5js.DeeplineError)(
3004
3004
  `Input ${source.inputPath} could not be parsed as CSV (${source.value}): ${error instanceof Error ? error.message : String(error)}. This usually means an unclosed quote or ragged quoting. No run was created.`,
3005
3005
  void 0,
3006
3006
  "PLAY_INPUT_FILE_PREFLIGHT",
@@ -3008,7 +3008,7 @@ function parseCsvDataInput(source, content, options = {}) {
3008
3008
  );
3009
3009
  }
3010
3010
  if (records.length === 0) {
3011
- throw new (0, _chunkPPDBRJRWjs.DeeplineError)(
3011
+ throw new (0, _chunkDIAWYWT5js.DeeplineError)(
3012
3012
  `${source.value} is empty: it has no header row and no data rows. No run was created.`,
3013
3013
  void 0,
3014
3014
  "PLAY_INPUT_FILE_PREFLIGHT",
@@ -3023,7 +3023,7 @@ function parseCsvDataInput(source, content, options = {}) {
3023
3023
  if (name.length === 0) continue;
3024
3024
  const prior = seen.get(name);
3025
3025
  if (prior) {
3026
- throw new (0, _chunkPPDBRJRWjs.DeeplineError)(
3026
+ throw new (0, _chunkDIAWYWT5js.DeeplineError)(
3027
3027
  `Input ${source.inputPath} (${source.value}) has a duplicate CSV header "${name}" (columns ${prior.index + 1} and ${i + 1}). The second column would silently overwrite the first. Rename one of them. No run was created.`,
3028
3028
  void 0,
3029
3029
  "PLAY_INPUT_FILE_PREFLIGHT",
@@ -3039,7 +3039,7 @@ function parseCsvDataInput(source, content, options = {}) {
3039
3039
  seen.set(name, { index: i, raw });
3040
3040
  }
3041
3041
  if (records.length - 1 < 1) {
3042
- throw new (0, _chunkPPDBRJRWjs.DeeplineError)(
3042
+ throw new (0, _chunkDIAWYWT5js.DeeplineError)(
3043
3043
  `${source.value} has a header row but no data rows. No run was created.`,
3044
3044
  void 0,
3045
3045
  "PLAY_INPUT_FILE_PREFLIGHT",
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk76DCNYH3js = require('./chunk-76DCNYH3.js');
3
+ var _chunkDE354WOPjs = require('./chunk-DE354WOP.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkTWXPEHTMjs = require('./chunk-TWXPEHTM.js');
8
+ var _chunk2MMUUSBNjs = require('./chunk-2MMUUSBN.js');
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -14,17 +14,17 @@ function usesInlinePlayAdmission(command, args) {
14
14
  );
15
15
  }
16
16
  async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configured") {
17
- if (maintenancePolicy !== "off") _chunkTWXPEHTMjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
18
- const compatibility = await _chunk76DCNYH3js.traceCliSpan.call(void 0,
17
+ if (maintenancePolicy !== "off") _chunk2MMUUSBNjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
18
+ const compatibility = await _chunkDE354WOPjs.traceCliSpan.call(void 0,
19
19
  "cli.sdk_compatibility",
20
20
  { baseUrl, command: "plays run" },
21
- () => _chunkTWXPEHTMjs.checkSdkCompatibility.call(void 0, baseUrl, {
21
+ () => _chunk2MMUUSBNjs.checkSdkCompatibility.call(void 0, baseUrl, {
22
22
  command: "plays run",
23
23
  persistCache: maintenancePolicy !== "off"
24
24
  })
25
25
  );
26
26
  if (compatibility.error) throw compatibility.error;
27
- _chunkTWXPEHTMjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
27
+ _chunk2MMUUSBNjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
28
28
  quietAdvisory: true
29
29
  });
30
30
  }
@@ -3,10 +3,10 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkPPDBRJRWjs = require('./chunk-PPDBRJRW.js');
6
+ var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
7
7
 
8
8
  // src/errors.ts
9
- var CustomerDbQueryOutcomeUnknownError = (_class = class extends _chunkPPDBRJRWjs.DeeplineError {
9
+ var CustomerDbQueryOutcomeUnknownError = (_class = class extends _chunkDIAWYWT5js.DeeplineError {
10
10
  __init() {this.outcome = "unknown"}
11
11
 
12
12
 
@@ -28,14 +28,14 @@ var CustomerDbQueryOutcomeUnknownError = (_class = class extends _chunkPPDBRJRWj
28
28
  Object.defineProperty(this, "cause", { value: cause, configurable: true });
29
29
  }
30
30
  }, _class);
31
- var AuthError = class extends _chunkPPDBRJRWjs.DeeplineError {
31
+ var AuthError = class extends _chunkDIAWYWT5js.DeeplineError {
32
32
  /** Constructed by the SDK when Deepline rejects the caller's credentials. */
33
33
  constructor(message = "Authentication failed. Check your DEEPLINE_API_KEY.") {
34
34
  super(message, 401, "AUTH_ERROR");
35
35
  this.name = "AuthError";
36
36
  }
37
37
  };
38
- var RateLimitError = class extends _chunkPPDBRJRWjs.DeeplineError {
38
+ var RateLimitError = class extends _chunkDIAWYWT5js.DeeplineError {
39
39
  /** Milliseconds to wait before retrying, from the `Retry-After` response header. Defaults to 5000. */
40
40
 
41
41
  /** Constructed by the SDK after exhausting HTTP-level rate-limit retries. */
@@ -89,13 +89,13 @@ var ToolRateLimitError = class extends RateLimitError {
89
89
  this.networkScope = options.networkScope;
90
90
  this.publicDetails = _nullishCoalesce(options.publicDetails, () => ( null));
91
91
  this.details = options.details;
92
- _chunkPPDBRJRWjs.brandAsToolExecutionError.call(void 0, this);
93
- if (_chunkPPDBRJRWjs.isProviderTransientFailure.call(void 0, this)) {
94
- _chunkPPDBRJRWjs.brandAsProviderTransientError.call(void 0, this);
92
+ _chunkDIAWYWT5js.brandAsToolExecutionError.call(void 0, this);
93
+ if (_chunkDIAWYWT5js.isProviderTransientFailure.call(void 0, this)) {
94
+ _chunkDIAWYWT5js.brandAsProviderTransientError.call(void 0, this);
95
95
  }
96
96
  }
97
97
  };
98
- var ConfigError = class extends _chunkPPDBRJRWjs.DeeplineError {
98
+ var ConfigError = class extends _chunkDIAWYWT5js.DeeplineError {
99
99
  /** Construct a local SDK configuration failure. */
100
100
  constructor(message) {
101
101
  super(message, void 0, "CONFIG_ERROR");
@@ -4,18 +4,18 @@ import {
4
4
  resolveUpdatePlan,
5
5
  runAutomaticUpdatePlan,
6
6
  shouldRunCliAutoUpdate
7
- } from "./chunk-UN3F6ZKR.mjs";
7
+ } from "./chunk-XUART5TY.mjs";
8
8
  import {
9
9
  isCiEnvironment
10
- } from "./chunk-RIJ4VTYJ.mjs";
10
+ } from "./chunk-PUWMWNBM.mjs";
11
11
  import {
12
12
  addJsonNotice,
13
13
  isJsonOutputMode
14
- } from "./chunk-BQQ4LEQB.mjs";
14
+ } from "./chunk-FOLT3LUQ.mjs";
15
15
  import {
16
16
  SDK_VERSION,
17
17
  resolveApiKeyForBaseUrl
18
- } from "./chunk-ZTJUGK5I.mjs";
18
+ } from "./chunk-PPJ4PF6F.mjs";
19
19
 
20
20
  // src/cli/compatibility-catalog.ts
21
21
  var readers = /* @__PURE__ */ new WeakMap();