@subseam/mcp 0.4.16 → 0.4.17
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.
- package/dist/main.js +12 -6
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -30587,7 +30587,9 @@ var definitionDraft = external_exports.object({
|
|
|
30587
30587
|
atTip: external_exports.object({
|
|
30588
30588
|
sha: external_exports.string(),
|
|
30589
30589
|
failures: external_exports.array(external_exports.object({ path: external_exports.string(), line: external_exports.number(), cause: external_exports.string() })),
|
|
30590
|
-
uncomputed: external_exports.array(external_exports.object({ path: external_exports.string(), reason: external_exports.string() }))
|
|
30590
|
+
uncomputed: external_exports.array(external_exports.object({ path: external_exports.string(), reason: external_exports.string() })),
|
|
30591
|
+
/** Why the rule has no verdict at the tip; null when it was evaluated. Absent from older servers. */
|
|
30592
|
+
notEvaluated: external_exports.string().nullable().optional()
|
|
30591
30593
|
}),
|
|
30592
30594
|
gated: external_exports.string().nullable().optional(),
|
|
30593
30595
|
conflicts: external_exports.literal("not checked")
|
|
@@ -30614,14 +30616,18 @@ function renderDraft(d) {
|
|
|
30614
30616
|
const h = d.history;
|
|
30615
30617
|
const since = h === null || h.since === null ? "" : ` since ${at(h.since)}`;
|
|
30616
30618
|
const partial2 = h !== null && h.complete === false ? ` so far (still running: ${h.of} of ${h.planned ?? "?"} trunk versions counted, through ${h.reached === void 0 ? "?" : at(h.reached)})` : "";
|
|
30617
|
-
const
|
|
30618
|
-
const
|
|
30619
|
+
const evaluatedVersions = h === null ? 0 : h.of - h.uncomputedVersions;
|
|
30620
|
+
const history = h === null ? "not computed yet" : h.of > 0 && evaluatedVersions === 0 ? `not evaluated at any of ${h.of} trunk versions${since}${partial2}` : h.last === null ? h.uncomputedVersions === 0 ? `never fired on ${h.of} trunk versions${since}${partial2}` : `never fired on the ${evaluatedVersions} of ${h.of} trunk versions it could be evaluated at${since}${partial2}` : `would have fired at ${h.fired} of ${h.of} trunk versions${since}, last at ${at(h.last)}${partial2}`;
|
|
30621
|
+
const floor = h === null || h.uncomputedVersions === 0 || evaluatedVersions === 0 || h.last === null ? [] : [` ${h.uncomputedVersions} of those versions could not be evaluated: the count is a floor there`];
|
|
30619
30622
|
const shown = d.atTip.failures.slice(0, FAILURES_SHOWN).map((f) => `${f.path}:${f.line} ${f.cause}`);
|
|
30620
30623
|
const more = d.atTip.failures.length - shown.length;
|
|
30621
|
-
const
|
|
30624
|
+
const notEvaluated = d.atTip.notEvaluated ?? null;
|
|
30625
|
+
const tipAt = ` at tip ${d.atTip.sha.slice(0, 9)}`;
|
|
30626
|
+
const tip = d.atTip.failures.length > 0 ? `${tipAt}: ${d.atTip.failures.length} failing: ` + shown.join("; ") + (more > 0 ? `; \u2026 and ${more} more` : "") : notEvaluated !== null ? `${tipAt}: not evaluated (${notEvaluated})` : `${tipAt}: holds`;
|
|
30627
|
+
const tipRest = d.atTip.failures.length > 0 && notEvaluated !== null ? [`${tipAt}, the rest was not evaluated (${notEvaluated})`] : [];
|
|
30622
30628
|
const open7 = notComputedLines(d.atTip.uncomputed);
|
|
30623
30629
|
if (typeof d.gated === "string") return [` ${d.statement}`, ` gated: ${d.gated} This definition is not evaluated.`, ` conflicts: ${d.conflicts}`].join("\n");
|
|
30624
|
-
return [` ${d.statement}`, ...exampleLines(d.examples), ` history: ${history}`, ...floor, tip, ...open7, ` conflicts: ${d.conflicts}`].join("\n");
|
|
30630
|
+
return [` ${d.statement}`, ...exampleLines(d.examples), ` history: ${history}`, ...floor, tip, ...tipRest, ...open7, ` conflicts: ${d.conflicts}`].join("\n");
|
|
30625
30631
|
}
|
|
30626
30632
|
|
|
30627
30633
|
// ../define/src/tool/define.ts
|
|
@@ -48344,7 +48350,7 @@ var workReadTools = createWorkReadToolProviders({ capability: "work" });
|
|
|
48344
48350
|
var bundledProviders = [src_default2, src_default, tension_default, ...defineTools, ...decisionTools, ...captureTools, ...buildTools, secureTool, ...workTools, ...workReadTools];
|
|
48345
48351
|
|
|
48346
48352
|
// package.json
|
|
48347
|
-
var version2 = "0.4.
|
|
48353
|
+
var version2 = "0.4.17";
|
|
48348
48354
|
|
|
48349
48355
|
// src/server.ts
|
|
48350
48356
|
var SERVER_VERSION = version2;
|