spur-board 0.114.1 → 0.115.1

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.
@@ -1,4 +1,4 @@
1
- import { _ as renderJsonError, at as successEnvelopeSchema, c as tokenRequestStatusSchema, et as ERRORS, nt as errorContextSchema, o as tokenRequestResultSchema, rt as errorEnvelopeSchema } from "./chunk-B2Tiv_Pb.mjs";
1
+ import { _ as renderJsonError, at as successEnvelopeSchema, c as tokenRequestStatusSchema, et as ERRORS, nt as errorContextSchema, o as tokenRequestResultSchema, rt as errorEnvelopeSchema } from "./chunk-BX1CGMgV.mjs";
2
2
  import { randomUUID } from "node:crypto";
3
3
  import { z } from "zod";
4
4
  import { request } from "node:http";
@@ -2961,13 +2961,18 @@ const hostUsageSchema = (total, available, used) => z.strictObject({
2961
2961
  totalBytes: z.number().nonnegative().describe(total),
2962
2962
  availableBytes: z.number().nonnegative().describe(available),
2963
2963
  usedPercent: z.number().min(0).max(100).describe(used)
2964
- }).nullable();
2964
+ });
2965
+ const hostVolumeSchema = z.strictObject({
2966
+ mount: z.string().min(1).describe("Mount point of the volume: the topmost directory on the same device. A bind mount of the same device shows its parent mount."),
2967
+ ...hostUsageSchema("Size of the volume in bytes, root-reserved blocks included.", "Free bytes an unprivileged user can still write, without root-reserved blocks.", "Percent of the volume in use, as df shows it: used over used plus available, without root-reserved blocks; one decimal.").shape
2968
+ });
2965
2969
  const hostSchema = z.strictObject({
2966
2970
  sampledAt: z.iso.datetime().describe("When the daemon took this sample, ISO 8601 UTC. It samples every 30 seconds; reads never take a new sample, so an old value means sampling is stuck."),
2967
2971
  cpuPercent: z.number().min(0).max(100).nullable().describe("Host CPU busy percent over all cores since the previous sample, one decimal; null on the first sample or when unreadable."),
2968
- memory: hostUsageSchema("Total host memory in bytes.", "Host memory available for new work without swapping, in bytes.", "Percent of host memory in use: total minus available, over total; one decimal.").describe("Host memory; null when unreadable."),
2969
- disk: hostUsageSchema("Size of the volume in bytes, root-reserved blocks included.", "Free bytes an unprivileged user can still write, without root-reserved blocks.", "Percent of the volume in use, as df shows it: used over used plus available, without root-reserved blocks; one decimal.").describe("The volume holding the board data; null when unreadable.")
2970
- }).nullable().describe("Host CPU, memory and data-volume disk usage from the last sample of the daemon; null before the first sample.");
2972
+ memory: hostUsageSchema("Total host memory in bytes.", "Host memory available for new work without swapping, in bytes.", "Percent of host memory in use: total minus available, over total; one decimal.").nullable().describe("Host memory; null when unreadable."),
2973
+ disk: hostVolumeSchema.nullable().describe("The volume closest to running out: the first of volumes, with the least free bytes; null when no volume could be read."),
2974
+ volumes: z.array(hostVolumeSchema).describe("Each distinct volume among /, the board data directory and the temp directory, least free bytes first. A volume that cannot be read is left out.")
2975
+ }).nullable().describe("Host CPU, memory and disk usage from the last sample of the daemon; null before the first sample.");
2971
2976
  const serviceSchema = z.strictObject({
2972
2977
  service: z.string().min(1).describe("daemon, github, jira, spur, or a chat gateway kind such as slack."),
2973
2978
  state: z.enum([
@@ -3362,10 +3367,22 @@ const OPERATIONS = [
3362
3367
  usedPercent: 50
3363
3368
  },
3364
3369
  disk: {
3370
+ mount: "/",
3365
3371
  totalBytes: 107374182400,
3366
3372
  availableBytes: 64424509440,
3367
3373
  usedPercent: 40
3368
- }
3374
+ },
3375
+ volumes: [{
3376
+ mount: "/",
3377
+ totalBytes: 107374182400,
3378
+ availableBytes: 64424509440,
3379
+ usedPercent: 40
3380
+ }, {
3381
+ mount: "/home",
3382
+ totalBytes: 536870912e3,
3383
+ availableBytes: 375809638400,
3384
+ usedPercent: 30
3385
+ }]
3369
3386
  },
3370
3387
  services: [daemonService],
3371
3388
  transport: [],
@@ -1,5 +1,5 @@
1
- import { d as buildCatalogSnapshot, gt as plainHttpAllowed, mt as configSchema, p as OPERATIONS } from "./chunk-B2Tiv_Pb.mjs";
2
- import { o as CliError, t as fetchCatalogVersion } from "./chunk-B0z_BGGY.mjs";
1
+ import { d as buildCatalogSnapshot, gt as plainHttpAllowed, mt as configSchema, p as OPERATIONS } from "./chunk-BX1CGMgV.mjs";
2
+ import { o as CliError, t as fetchCatalogVersion } from "./chunk-ALQZAGOg.mjs";
3
3
  import { randomUUID } from "node:crypto";
4
4
  import { closeSync, constants, fstatSync, lstatSync, mkdirSync, openSync, readFileSync, realpathSync, renameSync, statSync, unlinkSync, writeFileSync } from "node:fs";
5
5
  import { homedir } from "node:os";
package/dist/cli.mjs CHANGED
@@ -1,7 +1,7 @@
1
- import { St as SLACK_BOT_SCOPES, Y as actorIdSchema, _t as requiredSecretKeys, a as requestHashOf, at as successEnvelopeSchema, et as ERRORS, f as roleCanUseOperation, mt as configSchema, p as OPERATIONS, r as remoteDoctorReportSchema, u as SYSTEMD_SERVICE_SETTINGS, ut as DEFAULT_STAND_PORT_RANGE, vt as resolveWebOrigin } from "./chunk-B2Tiv_Pb.mjs";
1
+ import { St as SLACK_BOT_SCOPES, Y as actorIdSchema, _t as requiredSecretKeys, a as requestHashOf, at as successEnvelopeSchema, et as ERRORS, f as roleCanUseOperation, mt as configSchema, p as OPERATIONS, r as remoteDoctorReportSchema, u as SYSTEMD_SERVICE_SETTINGS, ut as DEFAULT_STAND_PORT_RANGE, vt as resolveWebOrigin } from "./chunk-BX1CGMgV.mjs";
2
2
  import { t as apiBaseUrl } from "./chunk-Bzb7aI8R.mjs";
3
- import { a as requestTokenEnrollment, c as renderCliError, i as requestSkillReload, l as escapeTerminalControls, n as fetchTokenStatus, o as CliError, r as requestOperation, s as errorExitCode } from "./chunk-B0z_BGGY.mjs";
4
- import { a as memoryVerdictCache, c as loadClientConfig, d as resolveDaemonAddress, f as tokenInFolder, i as fileVerdictCache, l as loadEnrollmentConfig, n as cliPackageVersion, o as configFile, s as dataDirectory, t as checkCatalog, u as readConfiguredPort } from "./chunk-Cx0Al2U6.mjs";
3
+ import { a as requestTokenEnrollment, c as renderCliError, i as requestSkillReload, l as escapeTerminalControls, n as fetchTokenStatus, o as CliError, r as requestOperation, s as errorExitCode } from "./chunk-ALQZAGOg.mjs";
4
+ import { a as memoryVerdictCache, c as loadClientConfig, d as resolveDaemonAddress, f as tokenInFolder, i as fileVerdictCache, l as loadEnrollmentConfig, n as cliPackageVersion, o as configFile, s as dataDirectory, t as checkCatalog, u as readConfiguredPort } from "./chunk-FWOV2NJc.mjs";
5
5
  import { createHash, randomBytes, randomUUID } from "node:crypto";
6
6
  import { accessSync, chmodSync, closeSync, constants, cpSync, existsSync, ftruncateSync, lstatSync, mkdirSync, mkdtempSync, openSync, readFileSync, readdirSync, readlinkSync, realpathSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync, writeSync } from "node:fs";
7
7
  import { homedir, hostname, tmpdir, userInfo } from "node:os";
@@ -554,9 +554,9 @@ async function runDoctor(options = {}) {
554
554
  const projectPaths = configured.size === 0 ? null : await spurProjectPaths(config.adapters.spur.baseUrl, ports);
555
555
  const states = /* @__PURE__ */ new Map();
556
556
  const missing = [];
557
+ const installed = /* @__PURE__ */ new Set();
557
558
  if (projectPaths !== null) {
558
559
  const codexHome = env["CODEX_HOME"];
559
- const installed = /* @__PURE__ */ new Set();
560
560
  for (const copy of [join(home, ".claude", "skills", "spur-board"), codexHome ? join(resolve(codexHome), "skills", "spur-board") : join(home, ".codex", "skills", "spur-board")]) try {
561
561
  installed.add(ports.realPath(copy));
562
562
  } catch {}
@@ -579,8 +579,18 @@ async function runDoctor(options = {}) {
579
579
  }
580
580
  const unknown = [...states].filter(([, state]) => state === "unknown").map(([name]) => name);
581
581
  checks.push(configured.size === 0 ? result("skills.codex_visibility", true, codexVisibilityFix) : projectPaths === null ? warning("skills.codex_visibility", "Start Spur or correct adapters.spur.baseUrl in config.yaml, then rerun board doctor to check the Codex skill install.") : [...states.values()].includes("broken") ? warning("skills.codex_visibility", codexVisibilityFix) : missing.length > 0 || unknown.length > 0 ? warning("skills.codex_visibility", [...missing.length > 0 ? [`Correct spurProjects or projects[].spurProjects in config.yaml or register these projects in Spur${listing(safeIds(missing))}.`] : [], ...unknown.length > 0 ? [`Check that projects.<id>.symlinks in each project's spur.yaml lists .agents/skills/spur-board${listing(safeIds(unknown))}.`] : []].join(" ")) : result("skills.codex_visibility", true, codexVisibilityFix));
582
- const oldSessions = codexSessions.filter((session) => session.project !== void 0 && states.get(session.project) === "ok" && !(session.cwd !== void 0 && ports.exists(join(session.cwd, ".agents", "skills", "spur-board", "SKILL.md")) || session.codexHome !== void 0 && ports.exists(join(session.codexHome, "skills", "spur-board", "SKILL.md"))));
583
- checks.push(oldSessions.length > 0 ? warning("sessions.codex_skill", `Start new Spur sessions to replace Codex sessions created before the skill link${listing(safeIds([...new Set(oldSessions.map((session) => session.id))]))}; Spur links .agents/skills/spur-board only into new worktrees.`) : result("sessions.codex_skill", true, "Start new Spur sessions."));
582
+ const seesSkill = (session) => {
583
+ if (session.codexHome !== void 0 && ports.exists(join(session.codexHome, "skills", "spur-board", "SKILL.md"))) return true;
584
+ if (session.cwd === void 0 || !ports.exists(join(session.cwd, skillLink, "SKILL.md"))) return false;
585
+ try {
586
+ return installed.has(ports.realPath(join(session.cwd, skillLink)));
587
+ } catch {
588
+ return false;
589
+ }
590
+ };
591
+ const seeing = new Set(codexSessions.filter(seesSkill).map((session) => session.id));
592
+ const oldSessions = codexSessions.filter((session) => session.project !== void 0 && states.get(session.project) === "ok" && !seeing.has(session.id));
593
+ checks.push(oldSessions.length > 0 ? warning("sessions.codex_skill", `Start new Spur sessions to replace Codex sessions that cannot see the installed spur-board skill${listing(safeIds([...new Set(oldSessions.map((session) => session.id))]))}; Spur links .agents/skills/spur-board only into new worktrees.`) : result("sessions.codex_skill", true, "Start new Spur sessions."));
584
594
  const version = ports.productVersion();
585
595
  const stamps = [".claude", ".codex"].flatMap((agent) => ["spur-board", "spur-board-setup"].map((skill) => stamp(ports, join(home, agent, "skills", skill, ".spur-board-install.json"))));
586
596
  const newest = stamps.reduce((latest, entry) => entry !== null && (latest === null || entry.installedAt > latest.installedAt) ? entry : latest, null);
package/dist/client.mjs CHANGED
@@ -1 +1 @@
1
- export { t as fetchCatalogVersion, n as fetchTokenStatus, r as requestOperation, i as requestSkillReload, a as requestTokenEnrollment } from "./chunk-B0z_BGGY.mjs";
1
+ export { t as fetchCatalogVersion, n as fetchTokenStatus, r as requestOperation, i as requestSkillReload, a as requestTokenEnrollment } from "./chunk-ALQZAGOg.mjs";
package/dist/daemon.mjs CHANGED
@@ -1,15 +1,15 @@
1
- import { $ as parseRef$1, A as defaultBranchFactSchema, B as isExternalAuthor, C as messageRefSchema, Ct as TASK_HOLDS, D as eventPayloadSchemas, E as GATE_REASONS, F as trackerSourceId, G as sessionFactsSchema, H as prFactsSchema, I as PR_STATES, J as REF_NUMBER, K as ticketFactsSchema, L as REVIEW_STATES, M as prSourceId, N as sessionTransitionSchema, O as AdapterError, P as sourceCursorSchema, Q as parseActorId, R as SESSION_HEALTH_STATES, S as interactionRefSchema, St as SLACK_BOT_SCOPES, T as EVENT_KINDS, U as prRefSchema, V as parseRingMarker, W as ringMarker, X as encodeActorId, Y as actorIdSchema, Z as errorCodeOf, _t as requiredSecretKeys, a as requestHashOf, at as successEnvelopeSchema, b as conversationRefSchema, bt as DISPATCHER_MODES, c as tokenRequestStatusSchema, d as buildCatalogSnapshot, dt as RESERVED_PROJECT, et as ERRORS, f as roleCanUseOperation, ft as boardWideSpurProject, g as renderHttpProblem, gt as plainHttpAllowed, h as turnHandedSchema, ht as defaultAddressee, i as TOKEN_REQUEST_LIMITS, it as ok, j as entityRefSchema, k as batchSchema, l as BOARD_TICK_MS, lt as DEFAULT_SLACK_COMMAND, m as defaultBranchViewSchema, mt as configSchema, n as doctorReportSchema, o as tokenRequestResultSchema, p as OPERATIONS, pt as configBindings, q as JIRA_PROJECT_KEY, s as tokenRequestSchema, st as DEFAULT_LINK, t as assertNever, tt as err, vt as resolveWebOrigin, w as userIdSchema, wt as VIAS, x as inboundEventSchema, xt as ITEM_KINDS, y as SPACE_IDS, yt as COLUMN_IDS, z as SESSION_STATUSES } from "./chunk-B2Tiv_Pb.mjs";
1
+ import { $ as parseRef$1, A as defaultBranchFactSchema, B as isExternalAuthor, C as messageRefSchema, Ct as TASK_HOLDS, D as eventPayloadSchemas, E as GATE_REASONS, F as trackerSourceId, G as sessionFactsSchema, H as prFactsSchema, I as PR_STATES, J as REF_NUMBER, K as ticketFactsSchema, L as REVIEW_STATES, M as prSourceId, N as sessionTransitionSchema, O as AdapterError, P as sourceCursorSchema, Q as parseActorId, R as SESSION_HEALTH_STATES, S as interactionRefSchema, St as SLACK_BOT_SCOPES, T as EVENT_KINDS, U as prRefSchema, V as parseRingMarker, W as ringMarker, X as encodeActorId, Y as actorIdSchema, Z as errorCodeOf, _t as requiredSecretKeys, a as requestHashOf, at as successEnvelopeSchema, b as conversationRefSchema, bt as DISPATCHER_MODES, c as tokenRequestStatusSchema, d as buildCatalogSnapshot, dt as RESERVED_PROJECT, et as ERRORS, f as roleCanUseOperation, ft as boardWideSpurProject, g as renderHttpProblem, gt as plainHttpAllowed, h as turnHandedSchema, ht as defaultAddressee, i as TOKEN_REQUEST_LIMITS, it as ok, j as entityRefSchema, k as batchSchema, l as BOARD_TICK_MS, lt as DEFAULT_SLACK_COMMAND, m as defaultBranchViewSchema, mt as configSchema, n as doctorReportSchema, o as tokenRequestResultSchema, p as OPERATIONS, pt as configBindings, q as JIRA_PROJECT_KEY, s as tokenRequestSchema, st as DEFAULT_LINK, t as assertNever, tt as err, vt as resolveWebOrigin, w as userIdSchema, wt as VIAS, x as inboundEventSchema, xt as ITEM_KINDS, y as SPACE_IDS, yt as COLUMN_IDS, z as SESSION_STATUSES } from "./chunk-BX1CGMgV.mjs";
2
2
  import { t as apiBaseUrl } from "./chunk-Bzb7aI8R.mjs";
3
3
  import { createRequire } from "node:module";
4
4
  import { createHash, randomUUID } from "node:crypto";
5
5
  import { chmodSync, closeSync, existsSync, fchmodSync, fstatSync, fsyncSync, ftruncateSync, linkSync, mkdirSync, openSync, readFileSync, readdirSync, renameSync, rmSync, statSync, writeSync } from "node:fs";
6
- import { cpus, freemem, homedir, hostname, totalmem } from "node:os";
6
+ import { cpus, freemem, homedir, hostname, tmpdir, totalmem } from "node:os";
7
7
  import path, { basename, dirname, extname, isAbsolute, join, normalize, resolve } from "node:path";
8
8
  import { z } from "zod";
9
9
  import YAML from "yaml";
10
10
  import { spawn, spawnSync } from "node:child_process";
11
11
  import { parseEnv } from "node:util";
12
- import { lstat, readFile, readdir, statfs } from "node:fs/promises";
12
+ import { lstat, readFile, readdir, realpath, stat, statfs } from "node:fs/promises";
13
13
  import Database from "better-sqlite3";
14
14
  import { Kysely, SqliteDialect, sql } from "kysely";
15
15
  import { AsyncLocalStorage } from "node:async_hooks";
@@ -25559,9 +25559,29 @@ function createBoardModules(ctxFor, options = {}) {
25559
25559
  };
25560
25560
  }
25561
25561
  // ../daemon/src/host-metrics.ts
25562
- /** Reads the host through `node:os` and `statfs(dataDir)`; `disk` rejects without `dataDir`. */
25562
+ /**
25563
+ * The topmost ancestor of `real` (a resolved path on device `dev`) that is still on `dev`. A bind
25564
+ * mount of the same device resolves to its parent mount.
25565
+ */
25566
+ async function mountOf(real, dev) {
25567
+ let mount = real;
25568
+ for (;;) {
25569
+ const parent = dirname(mount);
25570
+ if (parent === mount || (await stat(parent)).dev !== dev) return mount;
25571
+ mount = parent;
25572
+ }
25573
+ }
25574
+ /**
25575
+ * Reads the host through `node:os`, `stat` and `statfs`. It measures `/`, `dataDir` when given
25576
+ * and `os.tmpdir()`.
25577
+ */
25563
25578
  function createHostProbe(dataDir) {
25564
25579
  return {
25580
+ diskPaths: [
25581
+ "/",
25582
+ ...dataDir === void 0 ? [] : [dataDir],
25583
+ tmpdir()
25584
+ ],
25565
25585
  cpuTimes() {
25566
25586
  let idle = 0;
25567
25587
  let total = 0;
@@ -25578,10 +25598,13 @@ function createHostProbe(dataDir) {
25578
25598
  totalBytes: totalmem(),
25579
25599
  availableBytes: freemem()
25580
25600
  }),
25581
- async disk() {
25582
- if (dataDir === void 0) throw new Error("No data directory to measure");
25583
- const { blocks, bfree, bavail, bsize } = await statfs(dataDir);
25601
+ async volume(path) {
25602
+ const real = await realpath(path);
25603
+ const { dev } = await stat(real);
25604
+ const { blocks, bfree, bavail, bsize } = await statfs(real);
25584
25605
  return {
25606
+ dev,
25607
+ mount: await mountOf(real, dev),
25585
25608
  blocks,
25586
25609
  bfree,
25587
25610
  bavail,
@@ -25618,18 +25641,24 @@ function untilAborted(promise, signal) {
25618
25641
  }
25619
25642
  /**
25620
25643
  * Samples the host every `intervalMs` (first run in the background) and keeps the last sample;
25621
- * `read` never samples. A metric whose read fails is null, with one warning per metric. Stop
25622
- * aborts a pending disk read instead of waiting for it, and that run writes nothing.
25644
+ * `read` never samples. A metric whose read fails is null, with one warning per metric; a disk
25645
+ * path whose read fails is left out of `volumes`, with one warning per path. Volumes are deduped
25646
+ * by device and listed least free bytes first; `disk` is the first. Stop aborts pending disk
25647
+ * reads instead of waiting for them, and that run writes nothing.
25623
25648
  */
25624
25649
  function createHostSampler(options) {
25625
25650
  const { probe, clock, log, intervalMs = HOST_SAMPLE_MS } = options;
25626
25651
  let last = null;
25627
25652
  let previousCpu;
25628
25653
  const warned = /* @__PURE__ */ new Set();
25629
- const failed = (metric, err) => {
25654
+ const failed = (metric, err, path) => {
25630
25655
  if (warned.has(metric)) return;
25631
25656
  warned.add(metric);
25632
- log.warn({ err }, `host ${metric} unreadable`);
25657
+ if (path === void 0) log.warn({ err }, `host ${metric} unreadable`);
25658
+ else log.warn({
25659
+ err,
25660
+ path
25661
+ }, "host disk unreadable");
25633
25662
  };
25634
25663
  const attempt = (metric, read) => {
25635
25664
  try {
@@ -25647,12 +25676,30 @@ function createHostSampler(options) {
25647
25676
  previousCpu = cpu ?? void 0;
25648
25677
  const cpuPercent = cpu === null || before === void 0 || cpu.total <= before.total ? null : percent(100 * (1 - (cpu.idle - before.idle) / (cpu.total - before.total)));
25649
25678
  const mem = attempt("memory", () => probe.memory());
25650
- const read = await untilAborted((async () => probe.disk())(), signal);
25679
+ const paths = probe.diskPaths;
25680
+ const read = await untilAborted(Promise.allSettled(paths.map(async (path) => probe.volume(path))), signal);
25651
25681
  if (read === ABORTED) return;
25652
- if ("error" in read) failed("disk", read.error);
25653
- const fs = "value" in read ? read.value : null;
25654
- const used = fs === null ? 0 : (fs.blocks - fs.bfree) * fs.bsize;
25655
- const available = fs === null ? 0 : fs.bavail * fs.bsize;
25682
+ const volumes = [];
25683
+ const seen = /* @__PURE__ */ new Set();
25684
+ ("value" in read ? read.value : []).forEach((result, index) => {
25685
+ const path = paths[index] ?? "";
25686
+ if (result.status === "rejected") {
25687
+ failed(`disk ${path}`, result.reason, path);
25688
+ return;
25689
+ }
25690
+ const fs = result.value;
25691
+ if (seen.has(fs.dev)) return;
25692
+ seen.add(fs.dev);
25693
+ const used = (fs.blocks - fs.bfree) * fs.bsize;
25694
+ const available = fs.bavail * fs.bsize;
25695
+ volumes.push({
25696
+ mount: fs.mount,
25697
+ totalBytes: fs.blocks * fs.bsize,
25698
+ availableBytes: available,
25699
+ usedPercent: used + available > 0 ? percent(100 * used / (used + available)) : 0
25700
+ });
25701
+ });
25702
+ volumes.sort((a, b) => a.availableBytes - b.availableBytes);
25656
25703
  last = {
25657
25704
  sampledAt,
25658
25705
  cpuPercent,
@@ -25661,11 +25708,8 @@ function createHostSampler(options) {
25661
25708
  availableBytes: mem.availableBytes,
25662
25709
  usedPercent: mem.totalBytes > 0 ? percent(100 * (mem.totalBytes - mem.availableBytes) / mem.totalBytes) : 0
25663
25710
  },
25664
- disk: fs === null ? null : {
25665
- totalBytes: fs.blocks * fs.bsize,
25666
- availableBytes: available,
25667
- usedPercent: used + available > 0 ? percent(100 * used / (used + available)) : 0
25668
- }
25711
+ disk: volumes[0] ?? null,
25712
+ volumes
25669
25713
  };
25670
25714
  };
25671
25715
  const own = new AbortController();
package/dist/mcp.mjs CHANGED
@@ -1,6 +1,6 @@
1
- import { et as ERRORS, p as OPERATIONS, v as renderMcpError } from "./chunk-B2Tiv_Pb.mjs";
2
- import { o as CliError, r as requestOperation } from "./chunk-B0z_BGGY.mjs";
3
- import { a as memoryVerdictCache, c as loadClientConfig, r as compareCatalogs, t as checkCatalog } from "./chunk-Cx0Al2U6.mjs";
1
+ import { et as ERRORS, p as OPERATIONS, v as renderMcpError } from "./chunk-BX1CGMgV.mjs";
2
+ import { o as CliError, r as requestOperation } from "./chunk-ALQZAGOg.mjs";
3
+ import { a as memoryVerdictCache, c as loadClientConfig, r as compareCatalogs, t as checkCatalog } from "./chunk-FWOV2NJc.mjs";
4
4
  import { randomUUID } from "node:crypto";
5
5
  import { readFileSync } from "node:fs";
6
6
  import { z } from "zod";