hypnotranz 1a0419dc0c feat: initial Matrix SDK
Full SDK workspace: core, contracts, sdk, cli, browser-host, browser-kit,
federation, omega-core, oracle, self-healing, strategies, tools, emacs.
Clean extraction from the development monorepo.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-07 15:54:15 -06:00

11 lines
393 B
TypeScript

import { describe, expect, it } from "vitest";
import { SemanticCache } from "../src/semanticCache";
describe("oracle/cached-infer package smoke", () => {
it("exports a semantic cache implementation", () => {
const cache = new SemanticCache({ maxEntries: 4, hashAlgorithm: "simple" });
cache.set("prompt", "response", "model");
expect(cache.has("prompt")).toBe(true);
});
});