MCPcopy Create free account
hub / github.com/cortexkit/magic-context / serialize

Function serialize

packages/e2e-tests/tests/cache-stability.test.ts:58–60  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

56}
57
58function serialize(value: unknown): string {
59 return JSON.stringify(stripCacheControl(value));
60}
61
62describe("cache stability", () => {
63 it("system prompt stays stable across defer passes", async () => {

Callers 1

Calls 1

stripCacheControlFunction · 0.70

Tested by

no test coverage detected