refactor(tools): remove artificial analysis ceilings

This commit is contained in:
morluto
2026-09-29 16:29:23 +08:00
parent 36aeec9586
commit 2f08c7c932
202 changed files with 2314 additions and 3072 deletions
+11
View File
@@ -1,6 +1,7 @@
import { describe, expect, it } from "vitest";
import {
bundleComparisonInputSchema,
bundleComparisonResultSchema,
compareBundles,
} from "./bundleComparison.js";
@@ -24,6 +25,16 @@ const evidence = (label: string) =>
});
describe("bundle comparison", () => {
it("accepts long caller-selected bundle paths", () => {
const path = `/${"deep/".repeat(1_000)}bundle.json`;
expect(
bundleComparisonInputSchema.parse({
left_bundle_path: path,
right_bundle_path: path,
}),
).toMatchObject({ left_bundle_path: path, right_bundle_path: path });
});
it("returns unchanged only for equal canonical bundles", () => {
const first = evidence("first");
const second = evidence("second");