5d39074a35
- Replace 11-param runInteractiveMode with InteractiveModeOptions - Add InteractiveMode.run() that handles init, warnings, prompts, and loop - Move version check, changelog loading, fdPath discovery inside InteractiveMode - Detect resumed sessions via session.state.messages.length - Export InteractiveModeOptions from modes/index.ts
10 lines
433 B
TypeScript
10 lines
433 B
TypeScript
/**
|
|
* Run modes for the coding agent.
|
|
*/
|
|
|
|
export { InteractiveMode, type InteractiveModeOptions } from "./interactive/interactive-mode.js";
|
|
export { runPrintMode } from "./print-mode.js";
|
|
export { type ModelInfo, RpcClient, type RpcClientOptions, type RpcEventListener } from "./rpc/rpc-client.js";
|
|
export { runRpcMode } from "./rpc/rpc-mode.js";
|
|
export type { RpcCommand, RpcResponse, RpcSessionState } from "./rpc/rpc-types.js";
|