/** * STANDALONE entry point for Paperclip's install sandbox. * * This file: * - Has NO static imports of any project file * - Has NO re-exports * - Defines `createServerAdapter` directly and exports it as a named function * - Returns a ServerAdapterModule that matches the openrouter shape * exactly: type, execute, testEnvironment, sessionCodec, models, * agentConfigurationDoc (plus the standard optional ones) * - Implements everything synchronously where possible, with * process.env fallback to make heartbeats work even if the * external project files can't be loaded * * Why this approach: the previous 0.1.x versions all re-exported * `createServerAdapter` from another file or had top-level imports * that could fail at module-load time. The Paperclip install * sandbox wraps any module-load error as the generic "does not * export createServerAdapter" message. With this file, the import * chain is zero: just one function, one return object, no other * project modules touched. * * The full implementation (execute loop, tools, etc.) lives in * `src/index.ts` and `src/execute.ts`. The Paperclip runtime will * call into `execute(ctx)` here, which uses process.env for config * and an in-process HTTP client (no cross-file imports needed). */ import type { ServerAdapterModule } from "@paperclipai/adapter-utils"; export declare function createServerAdapter(): ServerAdapterModule; //# sourceMappingURL=entry.d.ts.map