refactor(tools): return complete analysis results inline

This commit is contained in:
morluto
2026-09-29 14:53:50 +08:00
parent c34efca4cd
commit 2a6eb41147
156 changed files with 2529 additions and 1891 deletions
+7
View File
@@ -28,6 +28,13 @@ describe("web content artifacts", () => {
.success,
).toBe(false);
});
it("preserves provider media types longer than the former field ceiling", () => {
const mediaType = `application/${"x".repeat(300)}`;
const artifact = createWebTextArtifact("content", mediaType);
expect(webTextArtifactSchema.parse(artifact).media_type).toBe(mediaType);
});
});
describe("stable web inventory", () => {