MCPcopy Create free account
hub / github.com/cortexkit/magic-context / context-handler.test.ts

File context-handler.test.ts

packages/pi-plugin/src/context-handler.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { afterEach, describe, expect, it, mock, spyOn } from "bun:test";
2import { readFileSync } from "node:fs";
3import { join } from "node:path";
4import { appendCompartments } from "@magic-context/core/features/magic-context/compartment-storage";

Callers

nothing calls this directly

Calls 15

createTestDbFunction · 0.90
createTaggerFunction · 0.90
userMessageFunction · 0.90
createPiTranscriptFunction · 0.90
tagTranscriptFunction · 0.90
textOfFunction · 0.90
closeQuietlyFunction · 0.90
assistantToolCallFunction · 0.90
toolResultMessageFunction · 0.90
getTagsBySessionFunction · 0.90
insertTagFunction · 0.90
queuePendingOpFunction · 0.90

Tested by

no test coverage detected