Files
oh-my-pi/packages/coding-agent/src/modes/index.ts
T
can1357 e5e93ff762 feat(packages/coding-agent): enabled setup-version-gated startup flow
- Deferred setup wizard import until setup was forced or version stale.
- Dynamically loaded ACP, RPC, and print mode runners only when used.
- Added a marketplace auto-update scheduler with off-mode early exit and non-blocking errors.
- Added setup-version assertions to keep CURRENT_SETUP_VERSION aligned with scenes.
2026-06-06 22:58:33 +02:00

36 lines
949 B
TypeScript

import { emergencyTerminalRestore } from "@oh-my-pi/pi-tui";
import { postmortem } from "@oh-my-pi/pi-utils";
/**
* Interactive mode and embeddable RPC client exports for the coding agent.
*
* Branch-specific runners live in their concrete modules so importing this
* barrel does not pull print, RPC server, or ACP server mode into the normal
* TUI graph.
*/
export { InteractiveMode, type InteractiveModeOptions } from "./interactive-mode";
export {
defineRpcClientTool,
type ModelInfo,
RpcClient,
type RpcClientCustomTool,
type RpcClientOptions,
type RpcClientToolContext,
type RpcClientToolResult,
type RpcEventListener,
} from "./rpc/rpc-client";
export type {
RpcCommand,
RpcHostToolCallRequest,
RpcHostToolCancelRequest,
RpcHostToolDefinition,
RpcHostToolResult,
RpcHostToolUpdate,
RpcResponse,
RpcSessionState,
} from "./rpc/rpc-types";
postmortem.register("terminal-restore", () => {
emergencyTerminalRestore();
});