/** * createAgentSession() — universal factory for agent sessions. * * Handles workspace preparation, skaile.yaml writing, runtime selection, * startup, and cleanup registration. Returns a ready-to-use {@link AgentSession}. * * For multi-session managers (forge-tui) or bots (forge-mattermost) that need * custom session subclasses, use LocalRuntime directly: * * const runtime = new LocalRuntime(); * await runtime.start({ projectDir: dir, agentDir }); * const session = new MySession(id, name, runtime); * * @docLink packages/sdk/concepts#create-agent-session */ import { AgentSession } from "./agent-session.js"; import type { CreateAgentSessionOptions } from "./types.js"; export declare function createAgentSession(opts?: CreateAgentSessionOptions): Promise; //# sourceMappingURL=factory.d.ts.map