MCPcopy Create free account
hub / github.com/diegosouzapw/OmniRoute / commandCodeStream

Function commandCodeStream

tests/unit/command-code-vision.test.ts:22–25  ·  view source on GitHub ↗
(lines: unknown[])

Source from the content-addressed store, hash-verified

20const originalFetch = globalThis.fetch;
21
22function commandCodeStream(lines: unknown[]) {
23 const text = lines.map((l) => JSON.stringify(l)).join("\n") + "\n";
24 return new Response(text, { status: 200, headers: { "Content-Type": "application/x-ndjson" } });
25}
26
27test.after(() => {
28 globalThis.fetch = originalFetch;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected