A local plugin for image-heavy chats in Codex, Claude Code and other agents: earlier images stop going out with every message, and the model fetches the one it needs by its ID, also after compaction.
TypeScript ai-agentsclaude-codeclaude-code-plugincodexcodex-plugincontext-managementdeveloper-toolsimage-generationmcpmultimodal
fix(tests): use a file URL for the Windows proxy fixture import
lin-coco539a31fe960d
diff --git a/spike/src/proxy-http-fixture.ts b/spike/src/proxy-http-fixture.tsindex 5cfadb0..894ce7c 100644--- a/spike/src/proxy-http-fixture.ts+++ b/spike/src/proxy-http-fixture.ts@@ -12,6 +12,7 @@ tls.connect = ((_options: unknown, callback: () => void) => net.connect(upstreamconst delay = Number(process.env.CAM_TEST_CONNECT_DELAY ?? 0);if (delay) setTimeout(callback, delay).unref(); else callback();})) as typeof tls.connect;-const script = fileURLToPath(new URL("../../plugin/src/proxy.ts", import.meta.url));+const scriptUrl = new URL("../../plugin/src/proxy.ts", import.meta.url);+const script = fileURLToPath(scriptUrl);process.argv = [process.execPath, script, "--stay", "--port", process.env.CAM_TEST_PROXY_PORT!];-await import(script);+await import(scriptUrl.href);