import { configSchema } from "./config.js"; import type { AdapterConfig, AdapterResult, AgentContext, IssueRef, RunContext } from "./types.js"; export interface AdapterMetadata { name: string; version: string; provider: string; supportsLocalAgentJwt: boolean; configSchema: typeof configSchema; } export declare const adapterMetadata: AdapterMetadata; export declare const MiniMaxAdapter: { metadata: AdapterMetadata; /** * List the model IDs MiniMax currently advertises. Calls * `GET /v1/models` on the configured base URL. */ detectModel(config: AdapterConfig): Promise; /** * List skill files for the agent's workspace. * Skills are read-only at call time; sync is a no-op for this adapter * (the workspace owner commits skills, the adapter just loads them). */ listSkills(workspacePath: string | undefined, skillsDir?: string): Promise; /** No-op sync; skills are committed to disk by the workspace owner. */ syncSkills(workspacePath: string | undefined, _skillsDir?: string): Promise<{ added: string[]; updated: string[]; removed: string[]; }>; /** Re-export so Paperclip's adapter runner can call into us. */ sessionCodec: { serialize(params: Record | null): Record | null; deserialize(raw: unknown): Record | null; getDisplayId(params: Record | null): string | null; }; /** * Main heartbeat entry point. Paperclip's `heartbeat.ts` calls this * with the agent record, the run context (with the pre-minted JWT * already in our env), and the issue. */ run(args: { configOverrides?: Partial; agent: AgentContext; run: RunContext; issue: IssueRef; parentChain?: IssueRef[]; resumeSessionState?: Record; }): Promise; }; /** Sensible default instance for direct import. */ export declare const minimaxAdapter: { metadata: AdapterMetadata; /** * List the model IDs MiniMax currently advertises. Calls * `GET /v1/models` on the configured base URL. */ detectModel(config: AdapterConfig): Promise; /** * List skill files for the agent's workspace. * Skills are read-only at call time; sync is a no-op for this adapter * (the workspace owner commits skills, the adapter just loads them). */ listSkills(workspacePath: string | undefined, skillsDir?: string): Promise; /** No-op sync; skills are committed to disk by the workspace owner. */ syncSkills(workspacePath: string | undefined, _skillsDir?: string): Promise<{ added: string[]; updated: string[]; removed: string[]; }>; /** Re-export so Paperclip's adapter runner can call into us. */ sessionCodec: { serialize(params: Record | null): Record | null; deserialize(raw: unknown): Record | null; getDisplayId(params: Record | null): string | null; }; /** * Main heartbeat entry point. Paperclip's `heartbeat.ts` calls this * with the agent record, the run context (with the pre-minted JWT * already in our env), and the issue. */ run(args: { configOverrides?: Partial; agent: AgentContext; run: RunContext; issue: IssueRef; parentChain?: IssueRef[]; resumeSessionState?: Record; }): Promise; }; //# sourceMappingURL=adapter.d.ts.map