mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-21 08:22:20 +02:00
Carry current-master compile repairs into Copilot freeze
Co-Authored-By: Paperclip <noreply@paperclip.ing> * codex/copilot-setup-v34: Preserve Copilot model binding type after lifecycle extraction Keep the synthetic Codex test binding outside server compilation
This commit is contained in:
commit
4444f7199a
2 files changed
+2
-1
No files matched your search
@@ -18,6 +18,7 @@ import {
|
||||
ADAPTER_AUTH_MISSING_CHECK_CODE,
|
||||
aiConnectionBindingSchema,
|
||||
aiRuntimeConnectionBindingSchema,
|
||||
type AiConnectionBinding,
|
||||
type AiRuntimeConnectionBinding,
|
||||
} from "@paperclipai/shared";
|
||||
import { toolConnections } from "@paperclipai/db";
|
||||
|
||||
@@ -762,7 +762,7 @@ const recoveryFakeCodex = resolve(
|
||||
await chmod(command, 0o700);
|
||||
// Installed dependency selection intentionally precedes PATH on mainline.
|
||||
// Bind this fixture's synthetic provider explicitly at that boundary.
|
||||
const codexCommandModule = await import("../../../../packages/paperclip-runner/src/drivers/codex/codex-command.js");
|
||||
const codexCommandModule = await import(new URL("../../../../packages/paperclip-runner/src/drivers/codex/codex-command.ts", import.meta.url).href);
|
||||
const codexCommandSelection = vi.spyOn(codexCommandModule, "resolveCodexCommand").mockReturnValue(command);
|
||||
restoreCodexCommand = () => codexCommandSelection.mockRestore();
|
||||
await new Promise<void>((done) => server.listen(0, "127.0.0.1", done));
|
||||
|
||||
Reference in new issue
Block a user