diff --git a/server/src/routes/agents.ts b/server/src/routes/agents.ts index 27e306533bf..3d0cf2ad9bc 100644 --- a/server/src/routes/agents.ts +++ b/server/src/routes/agents.ts @@ -18,6 +18,7 @@ import { ADAPTER_AUTH_MISSING_CHECK_CODE, aiConnectionBindingSchema, aiRuntimeConnectionBindingSchema, + type AiConnectionBinding, type AiRuntimeConnectionBinding, } from "@paperclipai/shared"; import { toolConnections } from "@paperclipai/db"; diff --git a/server/src/services/native-runtime/native-session-resume.test.ts b/server/src/services/native-runtime/native-session-resume.test.ts index 80236ceb6a1..be6238e436f 100644 --- a/server/src/services/native-runtime/native-session-resume.test.ts +++ b/server/src/services/native-runtime/native-session-resume.test.ts @@ -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((done) => server.listen(0, "127.0.0.1", done));