spur-board 0.149.0 → 0.149.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, c as tokenRequestStatusSchema, dt as errorContextSchema, ft as errorEnvelopeSchema, lt as ERRORS, mt as successEnvelopeSchema, o as tokenRequestResultSchema } from "./chunk-B49czSp7.mjs";
1
+ import { _ as renderJsonError, c as tokenRequestStatusSchema, dt as errorContextSchema, ft as errorEnvelopeSchema, lt as ERRORS, mt as successEnvelopeSchema, o as tokenRequestResultSchema } from "./chunk-Cy6VBP_I.mjs";
2
2
  import { randomUUID } from "node:crypto";
3
3
  import { z } from "zod";
4
4
  import { request } from "node:http";
@@ -1,5 +1,5 @@
1
- import { Ot as plainHttpAllowed, Tt as configSchema, d as buildCatalogSnapshot, p as OPERATIONS } from "./chunk-B49czSp7.mjs";
2
- import { o as CliError, t as fetchCatalogVersion } from "./chunk-BqpntwKX.mjs";
1
+ import { Ot as plainHttpAllowed, Tt as configSchema, d as buildCatalogSnapshot, p as OPERATIONS } from "./chunk-Cy6VBP_I.mjs";
2
+ import { o as CliError, t as fetchCatalogVersion } from "./chunk-BhHKMsqI.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";
@@ -2407,12 +2407,18 @@ const prChange = {
2407
2407
  from,
2408
2408
  to: S
2409
2409
  };
2410
+ const checkRuns = z.array(prFactsSchema.shape.checks.element.pick({
2411
+ name: true,
2412
+ completedAt: true
2413
+ })).optional();
2410
2414
  const eventPayloadSchemas = {
2411
2415
  head_moved: z.looseObject(prChange),
2412
2416
  pr_facts_changed: z.looseObject({ facts: prFactsSchema }),
2413
2417
  checks_changed: z.looseObject({
2414
2418
  ...prChange,
2415
- sha: S
2419
+ sha: S,
2420
+ waiting: checkRuns,
2421
+ confirmed: checkRuns
2416
2422
  }),
2417
2423
  review_submitted: z.looseObject({
2418
2424
  repo: S,
package/dist/cli.mjs CHANGED
@@ -1,7 +1,7 @@
1
- import { At as requiredSecretKeys, D as sortSkillFiles, Lt as SLACK_BOT_SCOPES, T as skillReloadFileSchema, Tt as configSchema, a as requestHashOf, f as roleCanUseOperation, it as actorIdSchema, jt as resolveWebOrigin, lt as ERRORS, mt as successEnvelopeSchema, p as OPERATIONS, r as remoteDoctorReportSchema, u as SYSTEMD_SERVICE_SETTINGS, yt as DEFAULT_STAND_PORT_RANGE } from "./chunk-B49czSp7.mjs";
1
+ import { At as requiredSecretKeys, D as sortSkillFiles, Lt as SLACK_BOT_SCOPES, T as skillReloadFileSchema, Tt as configSchema, a as requestHashOf, f as roleCanUseOperation, it as actorIdSchema, jt as resolveWebOrigin, lt as ERRORS, mt as successEnvelopeSchema, p as OPERATIONS, r as remoteDoctorReportSchema, u as SYSTEMD_SERVICE_SETTINGS, yt as DEFAULT_STAND_PORT_RANGE } from "./chunk-Cy6VBP_I.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-BqpntwKX.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-CwyzJDIl.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-BhHKMsqI.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-C-Jr3pwy.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";
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-BqpntwKX.mjs";
1
+ export { t as fetchCatalogVersion, n as fetchTokenStatus, r as requestOperation, i as requestSkillReload, a as requestTokenEnrollment } from "./chunk-BhHKMsqI.mjs";
package/dist/daemon.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as ringMarker, A as eventPayloadSchemas, At as requiredSecretKeys, B as sourceCursorSchema, Bt as VIAS, C as messageRefSchema, Ct as columnTurnTimings, D as sortSkillFiles, Dt as externalQuietAfterMs, E as skillReloadFilesSchema, Et as defaultAddressee, F as defaultBranchFactSchema, Ft as DISPATCHER_MODES, G as SESSION_HEALTH_STATES, H as PR_STATES, I as entityRefSchema, It as ITEM_KINDS, J as parseRingMarker, K as SESSION_STATUSES, L as mirrorSourceId, Lt as SLACK_BOT_SCOPES, M as MIRROR_FAILURES, Mt as COLUMNS, N as MIRROR_FAILURE_CODES, Nt as COLUMN_GROUPS, O as EVENT_KINDS, Ot as plainHttpAllowed, P as batchSchema, Pt as COLUMN_IDS, Q as prReviewRuleSchema, R as prSourceId, Rt as TASK_HOLDS, S as interactionRefSchema, St as boardWideSpurProject, Tt as configSchema, U as REVIEW_DECISIONS, V as trackerSourceId, Vt as isTodoGroupColumn, W as REVIEW_STATES, X as prFactsSchema, Y as prApprovalPairSchema, Z as prRefSchema, a as requestHashOf, at as encodeActorId, b as conversationRefSchema, bt as RESERVED_PROJECT, c as tokenRequestStatusSchema, ct as parseRef$1, d as buildCatalogSnapshot, et as sessionFactsSchema, f as roleCanUseOperation, g as renderHttpProblem, gt as DEFAULT_LINK, h as turnHandedSchema, i as TOKEN_REQUEST_LIMITS, it as actorIdSchema, j as AdapterError, jt as resolveWebOrigin, k as GATE_REASONS, kt as readyMirrorOf, l as BOARD_TICK_MS, lt as ERRORS, m as defaultBranchViewSchema, mt as successEnvelopeSchema, n as doctorReportSchema, nt as JIRA_PROJECT_KEY, o as tokenRequestResultSchema, ot as errorCodeOf, p as OPERATIONS, pt as ok, q as isExternalAuthor, rt as REF_NUMBER, s as tokenRequestSchema, st as parseActorId, t as assertNever, tt as ticketFactsSchema, ut as err, vt as DEFAULT_SLACK_COMMAND, w as userIdSchema, wt as configBindings, x as inboundEventSchema, xt as approvalRuleOf, y as SPACE_IDS, z as sessionTransitionSchema, zt as TODO_GROUP_COLUMN_IDS } from "./chunk-B49czSp7.mjs";
1
+ import { $ as ringMarker, A as eventPayloadSchemas, At as requiredSecretKeys, B as sourceCursorSchema, Bt as VIAS, C as messageRefSchema, Ct as columnTurnTimings, D as sortSkillFiles, Dt as externalQuietAfterMs, E as skillReloadFilesSchema, Et as defaultAddressee, F as defaultBranchFactSchema, Ft as DISPATCHER_MODES, G as SESSION_HEALTH_STATES, H as PR_STATES, I as entityRefSchema, It as ITEM_KINDS, J as parseRingMarker, K as SESSION_STATUSES, L as mirrorSourceId, Lt as SLACK_BOT_SCOPES, M as MIRROR_FAILURES, Mt as COLUMNS, N as MIRROR_FAILURE_CODES, Nt as COLUMN_GROUPS, O as EVENT_KINDS, Ot as plainHttpAllowed, P as batchSchema, Pt as COLUMN_IDS, Q as prReviewRuleSchema, R as prSourceId, Rt as TASK_HOLDS, S as interactionRefSchema, St as boardWideSpurProject, Tt as configSchema, U as REVIEW_DECISIONS, V as trackerSourceId, Vt as isTodoGroupColumn, W as REVIEW_STATES, X as prFactsSchema, Y as prApprovalPairSchema, Z as prRefSchema, a as requestHashOf, at as encodeActorId, b as conversationRefSchema, bt as RESERVED_PROJECT, c as tokenRequestStatusSchema, ct as parseRef$1, d as buildCatalogSnapshot, et as sessionFactsSchema, f as roleCanUseOperation, g as renderHttpProblem, gt as DEFAULT_LINK, h as turnHandedSchema, i as TOKEN_REQUEST_LIMITS, it as actorIdSchema, j as AdapterError, jt as resolveWebOrigin, k as GATE_REASONS, kt as readyMirrorOf, l as BOARD_TICK_MS, lt as ERRORS, m as defaultBranchViewSchema, mt as successEnvelopeSchema, n as doctorReportSchema, nt as JIRA_PROJECT_KEY, o as tokenRequestResultSchema, ot as errorCodeOf, p as OPERATIONS, pt as ok, q as isExternalAuthor, rt as REF_NUMBER, s as tokenRequestSchema, st as parseActorId, t as assertNever, tt as ticketFactsSchema, ut as err, vt as DEFAULT_SLACK_COMMAND, w as userIdSchema, wt as configBindings, x as inboundEventSchema, xt as approvalRuleOf, y as SPACE_IDS, z as sessionTransitionSchema, zt as TODO_GROUP_COLUMN_IDS } from "./chunk-Cy6VBP_I.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";
@@ -11610,13 +11610,19 @@ function noCiWaives(pr, project) {
11610
11610
  return project.reposWithoutCi.some((listed) => listed.toLowerCase() === repo);
11611
11611
  }
11612
11612
  /**
11613
- * The verdict over the required checks on head, or, when none is required, over every check on
11614
- * head except skipped ones. No check gives pending, and red wins over pending. `waived` (from
11615
- * `noCiWaives`, so the head has no checks) gives green.
11613
+ * The checks the gate and History count: the required checks on head, or, when none is required,
11614
+ * every check on head except skipped ones.
11615
+ */
11616
+ function countedChecks(pr) {
11617
+ return pr.requiredChecks.length > 0 ? pr.requiredChecks : pr.checks.filter((check) => check.state !== "skipped");
11618
+ }
11619
+ /**
11620
+ * The verdict over the counted checks (`countedChecks`). No check gives pending, and red wins over
11621
+ * pending. `waived` (from `noCiWaives`, so the head has no checks) gives green.
11616
11622
  */
11617
11623
  function checksVerdict(pr, waived) {
11618
11624
  if (waived) return "green";
11619
- const verdicts = (pr.requiredChecks.length > 0 ? pr.requiredChecks : pr.checks.filter((check) => check.state !== "skipped")).map((check) => VERDICT[check.state]);
11625
+ const verdicts = countedChecks(pr).map((check) => VERDICT[check.state]);
11620
11626
  if (verdicts.includes("red")) return "red";
11621
11627
  if (verdicts.length === 0 || verdicts.includes("pending")) return "pending";
11622
11628
  return "green";
@@ -14562,21 +14568,26 @@ function cancelledOnHead(fact) {
14562
14568
  });
14563
14569
  }
14564
14570
  const sameRun = (left, right) => left.name === right.name && left.completedAt === right.completedAt;
14571
+ const NO_CANCELS = {
14572
+ waiting: [],
14573
+ confirmed: []
14574
+ };
14565
14575
  /**
14566
14576
  * Counts the polls since each cancelled check on the PR head was first seen: a new entry starts at
14567
14577
  * 0, a scheduled complete poll adds 1, and a head change starts over. It deletes the row of a PR
14568
- * that is not open or has no cancelled check. Returns true when this poll confirms a cancel.
14578
+ * that is not open or has no cancelled check. Returns the runs still waiting after this poll and
14579
+ * the runs this poll confirms as red, each once by name and completion time, in check order.
14569
14580
  */
14570
14581
  async function countCancelledChecks(trx, source, fact, scheduled) {
14571
14582
  const key = cancelledChecksKey(source, fact);
14572
14583
  const cancelled = fact.state === "open" ? cancelledOnHead(fact) : [];
14573
14584
  if (cancelled.length === 0) {
14574
14585
  await trx.deleteFrom("meta").where("key", "=", key).execute();
14575
- return false;
14586
+ return NO_CANCELS;
14576
14587
  }
14577
14588
  const head = fact.headSha.toLowerCase();
14578
14589
  const previous = await countsOnHead(trx, key, head);
14579
- let confirmed = false;
14590
+ const confirmed = [];
14580
14591
  const next = cancelled.map((check) => {
14581
14592
  const before = previous.find((entry) => sameRun(entry, check));
14582
14593
  if (before === void 0) return {
@@ -14584,7 +14595,7 @@ async function countCancelledChecks(trx, source, fact, scheduled) {
14584
14595
  polls: 0
14585
14596
  };
14586
14597
  if (!scheduled || before.polls >= CANCEL_CONFIRM_POLLS) return before;
14587
- if (before.polls + 1 === CANCEL_CONFIRM_POLLS) confirmed = true;
14598
+ if (before.polls + 1 === CANCEL_CONFIRM_POLLS) confirmed.push(check);
14588
14599
  return {
14589
14600
  ...before,
14590
14601
  polls: before.polls + 1
@@ -14598,7 +14609,13 @@ async function countCancelledChecks(trx, source, fact, scheduled) {
14598
14609
  key,
14599
14610
  value
14600
14611
  }).onConflict((oc) => oc.column("key").doUpdateSet({ value })).execute();
14601
- return confirmed;
14612
+ return {
14613
+ waiting: next.filter((entry) => entry.polls < CANCEL_CONFIRM_POLLS).map(({ name, completedAt }) => ({
14614
+ name,
14615
+ completedAt
14616
+ })),
14617
+ confirmed
14618
+ };
14602
14619
  }
14603
14620
  /**
14604
14621
  * The PR with each cancelled check on head that is not confirmed yet read as pending: no stored
@@ -18803,19 +18820,32 @@ function factsSummary(entity, previous) {
18803
18820
  const texts = named.slice(0, NAMED_CHANGES).map((field) => changeText(field, previous[field], entity.facts[field]));
18804
18821
  return `${entity.prefix}: ${texts.join(", ")}${more(named.length)}`;
18805
18822
  }
18806
- /** `Checks on <ref>:` with the failed names, or the green and pending counts. */
18823
+ /**
18824
+ * `Checks on <ref>:` with the failed names, or the green and pending counts. A cancelled check
18825
+ * whose run (name and completion time) the row lists as `waiting` counts as pending; a clause names
18826
+ * the counted cancels whose run this poll confirmed, then the ones still waiting.
18827
+ */
18807
18828
  function checksSummary(payload) {
18808
18829
  const lists = checksSchema.safeParse(parsedJson(payload.to));
18809
18830
  if (!lists.success) return null;
18810
18831
  const [checks, requiredChecks] = lists.data;
18811
- const list = requiredChecks.length > 0 ? requiredChecks : checks.filter((check) => check.state !== "skipped");
18832
+ const list = countedChecks({
18833
+ checks,
18834
+ requiredChecks
18835
+ });
18812
18836
  const head = `Checks on ${ref$1(payload.repo, payload.pr)}`;
18813
18837
  if (list.length === 0) return `${head}: none`;
18814
- const failed = list.filter((check) => VERDICT[check.state] === "red").map(({ name }) => name);
18815
- if (failed.length > 0) return `${head}: ${String(failed.length)} failed: ${failed.slice(0, NAMED_CHANGES).join(", ")}${more(failed.length)}`;
18838
+ const listed = (check, runs) => check.state === "cancelled" && (runs ?? []).some((run) => sameRun(run, check));
18839
+ const clause = (runs, text) => {
18840
+ const counted = [...new Set(list.filter((check) => listed(check, runs)).map(({ name }) => name))];
18841
+ return counted.length === 0 ? "" : `; ${counted.slice(0, NAMED_CHANGES).join(", ")}${more(counted.length)} cancelled, ${text}`;
18842
+ };
18843
+ const clauses = clause(payload.confirmed, "now counts as red") + clause(payload.waiting, "waiting for a new run");
18844
+ const failed = list.filter((check) => VERDICT[check.state] === "red" && !listed(check, payload.waiting)).map(({ name }) => name);
18845
+ if (failed.length > 0) return `${head}: ${String(failed.length)} failed: ${failed.slice(0, NAMED_CHANGES).join(", ")}${more(failed.length)}${clauses}`;
18816
18846
  const green = list.filter((check) => VERDICT[check.state] === "green").length;
18817
18847
  const pending = list.length - green;
18818
- return `${head}: ${String(green)}/${String(list.length)} green${pending > 0 ? `, ${String(pending)} pending` : ""}`;
18848
+ return `${head}: ${String(green)}/${String(list.length)} green${pending > 0 ? `, ${String(pending)} pending` : ""}${clauses}`;
18819
18849
  }
18820
18850
  const gates = (gate) => gate === void 0 || gate.length === 0 ? "" : ` (${gate.join(", ")})`;
18821
18851
  const optional = (prefix, value) => value === void 0 ? "" : `${prefix}${value}`;
@@ -21102,7 +21132,10 @@ function comparableFacts(facts, timestamp) {
21102
21132
  * Applies one PR fact. `scheduled` is a complete scheduled poll, the only kind that advances the
21103
21133
  * cancelled-check count; `reviewRule` is the full read's review rule of a github-rules source.
21104
21134
  * Returns true when this poll confirmed a cancelled check as red, or changed the review rule with
21105
- * the facts unchanged: no fact event dispatches the PR's tasks then.
21135
+ * the facts unchanged: no fact event dispatches the PR's tasks then. A `checks_changed` row lists
21136
+ * the cancelled runs still in their grace window and the ones this poll confirms; a confirm of a
21137
+ * counted check's run (`countedChecks`, by name and completion time) with the checks unchanged
21138
+ * still writes one, with `from` equal to `to`.
21106
21139
  */
21107
21140
  async function pr(trx, config, fact, at, source, scheduled, reviewRule) {
21108
21141
  await trx.deleteFrom("source_miss").where("source", "=", source).where("ref_key", "=", refKey({
@@ -21150,7 +21183,9 @@ async function pr(trx, config, fact, at, source, scheduled, reviewRule) {
21150
21183
  });
21151
21184
  const project = projectForSource(config, source);
21152
21185
  if (project === void 0) return false;
21153
- const confirmed = project.checksGate !== "dev" && await countCancelledChecks(trx, source, fact, scheduled);
21186
+ const cancels = project.checksGate === "dev" ? NO_CANCELS : await countCancelledChecks(trx, source, fact, scheduled);
21187
+ const confirmed = cancels.confirmed.length > 0;
21188
+ const confirmRow = countedChecks(fact).some((check) => check.state === "cancelled" && cancels.confirmed.some((run) => sameRun(run, check)));
21154
21189
  const ruled = approvalRuleOf(project) === "github-rules" && await recordReviewRule(trx, source, fact, reviewRule, at, project.operatorGithubLogin);
21155
21190
  for (const key of fact.ticketKeys) {
21156
21191
  const task = await trx.selectFrom("task").selectAll().where("project", "=", project.id).where("key", "=", key).executeTakeFirst();
@@ -21184,7 +21219,7 @@ async function pr(trx, config, fact, at, source, scheduled, reviewRule) {
21184
21219
  else await trx.updateTable("link").set({ pr_open: 1 }).where("id", "=", link.id).execute();
21185
21220
  }
21186
21221
  await applyPendingReopen(trx, fact, at);
21187
- if (!changed) return confirmed || ruled;
21222
+ if (!changed && !confirmRow) return confirmed || ruled;
21188
21223
  const links = await trx.selectFrom("link").select(["task_id"]).where("entity", "=", "pr").where(sql`lower(repo) = ${fact.repo.toLowerCase()}`).where("number", "=", fact.number).execute();
21189
21224
  for (const link of links) {
21190
21225
  const task = await trx.selectFrom("task").selectAll().where("id", "=", link.task_id).executeTakeFirstOrThrow();
@@ -21194,12 +21229,15 @@ async function pr(trx, config, fact, at, source, scheduled, reviewRule) {
21194
21229
  from: previous.headSha,
21195
21230
  to: fact.headSha
21196
21231
  });
21197
- if (previous !== null && JSON.stringify([previous.checks, previous.requiredChecks]) !== JSON.stringify([fact.checks, fact.requiredChecks])) await emit(trx, "checks_changed", task.project, task.id, at, {
21232
+ const from = previous === null ? null : checksJson(previous);
21233
+ if (from !== null && from !== checksJson(fact) || confirmRow) await emit(trx, "checks_changed", task.project, task.id, at, {
21198
21234
  repo: fact.repo,
21199
21235
  pr: fact.number,
21200
- from: JSON.stringify([previous.checks, previous.requiredChecks]),
21201
- to: JSON.stringify([fact.checks, fact.requiredChecks]),
21202
- sha: fact.headSha
21236
+ from,
21237
+ to: checksJson(fact),
21238
+ sha: fact.headSha,
21239
+ ...cancels.waiting.length > 0 && { waiting: cancels.waiting },
21240
+ ...confirmed && { confirmed: cancels.confirmed }
21203
21241
  });
21204
21242
  if (previous !== null && previous.mergeable !== fact.mergeable) await emit(trx, "mergeable_changed", task.project, task.id, at, {
21205
21243
  repo: fact.repo,
@@ -21222,11 +21260,13 @@ async function pr(trx, config, fact, at, source, scheduled, reviewRule) {
21222
21260
  state: review.state
21223
21261
  });
21224
21262
  }
21263
+ if (!changed) continue;
21225
21264
  await emit(trx, "pr_facts_changed", task.project, task.id, at, { facts: fact });
21226
21265
  await markTaskChanged(trx, task.id, at);
21227
21266
  }
21228
21267
  return confirmed;
21229
21268
  }
21269
+ const checksJson = (facts) => JSON.stringify([facts.checks, facts.requiredChecks]);
21230
21270
  function branchHasKey(branch, key) {
21231
21271
  const text = branch.toLowerCase();
21232
21272
  const needle = key.toLowerCase();
package/dist/mcp.mjs CHANGED
@@ -1,6 +1,6 @@
1
- import { lt as ERRORS, p as OPERATIONS, v as renderMcpError } from "./chunk-B49czSp7.mjs";
2
- import { o as CliError, r as requestOperation } from "./chunk-BqpntwKX.mjs";
3
- import { a as memoryVerdictCache, c as loadClientConfig, r as compareCatalogs, t as checkCatalog } from "./chunk-CwyzJDIl.mjs";
1
+ import { lt as ERRORS, p as OPERATIONS, v as renderMcpError } from "./chunk-Cy6VBP_I.mjs";
2
+ import { o as CliError, r as requestOperation } from "./chunk-BhHKMsqI.mjs";
3
+ import { a as memoryVerdictCache, c as loadClientConfig, r as compareCatalogs, t as checkCatalog } from "./chunk-C-Jr3pwy.mjs";
4
4
  import { randomUUID } from "node:crypto";
5
5
  import { readFileSync } from "node:fs";
6
6
  import { z } from "zod";