779ca4872b
- Removed Prettier configuration files (.prettierignore and .prettierrc) and migrated formatting to Biome. - Updated Biome configuration from version 2.3.11 to 2.3.12 and changed arrowParentheses rule from 'always' to 'asNeeded'. - Pinned @biomejs/biome dependency to exact version 2.3.12 in package.json and bun.lock. - Applied consistent arrow function formatting across 489 files by removing unnecessary parentheses around single parameters. - Removed blank lines after comment blocks and reorganized imports for consistency across the codebase.
16 lines
621 B
TypeScript
16 lines
621 B
TypeScript
import { emergencyTerminalRestore } from "@oh-my-pi/pi-tui";
|
|
import { postmortem } from "@oh-my-pi/pi-utils";
|
|
|
|
/**
|
|
* Run modes for the coding agent.
|
|
*/
|
|
export { InteractiveMode, type InteractiveModeOptions } from "./interactive-mode";
|
|
export { type PrintModeOptions, runPrintMode } from "./print-mode";
|
|
export { type ModelInfo, RpcClient, type RpcClientOptions, type RpcEventListener } from "./rpc/rpc-client";
|
|
export { runRpcMode } from "./rpc/rpc-mode";
|
|
export type { RpcCommand, RpcResponse, RpcSessionState } from "./rpc/rpc-types";
|
|
|
|
postmortem.register("terminal-restore", () => {
|
|
emergencyTerminalRestore();
|
|
});
|