feat(tools): 2.0 phase 5 wave 5b - ai pool: ocr-pdf, transcription, background composites (5 tools) (#226)

This commit is contained in:
SnapOtter
2026-06-13 10:19:47 +08:00
parent 6e1b9865f1
commit 51666cdd5f
59 changed files with 5423 additions and 611 deletions
+3 -2
View File
@@ -37,14 +37,15 @@ describe("Feature manifest structure", () => {
expect(manifest.basePackages).toBeInstanceOf(Array);
});
it("all 6 bundles are defined", () => {
expect(Object.keys(bundles)).toHaveLength(6);
it("all 7 bundles are defined", () => {
expect(Object.keys(bundles)).toHaveLength(7);
expect(bundles["background-removal"]).toBeDefined();
expect(bundles["face-detection"]).toBeDefined();
expect(bundles["object-eraser-colorize"]).toBeDefined();
expect(bundles["upscale-enhance"]).toBeDefined();
expect(bundles["photo-restoration"]).toBeDefined();
expect(bundles.ocr).toBeDefined();
expect(bundles.transcription).toBeDefined();
});
it("every bundle has required fields", () => {
+1 -1
View File
@@ -446,7 +446,7 @@ describe("Composite state - getFeatureStates", () => {
for (const state of states) {
expect(state.status).toBe("not_installed");
}
expect(states.length).toBe(6);
expect(states.length).toBe(7);
});
it("installed bundle with valid models returns installed with version", () => {