(
input: RunInput & { createSession?: CreateSession },
deps?: RunRuntimeDeps,
)
| 785 | |
| 786 | // Attach mode. Uses the caller-provided SDK client directly. |
| 787 | export async function runInteractiveMode( |
| 788 | input: RunInput & { createSession?: CreateSession }, |
| 789 | deps?: RunRuntimeDeps, |
| 790 | ): Promise<void> { |
| 791 | return runInteractiveRuntime( |
| 792 | { |
| 793 | files: input.files, |
| 794 | initialInput: input.initialInput, |
| 795 | thinking: input.thinking, |
| 796 | backgroundSubagents: input.backgroundSubagents, |
| 797 | replay: input.replay, |
| 798 | replayLimit: input.replayLimit, |
| 799 | demo: input.demo, |
| 800 | boot: async () => ({ |
| 801 | sdk: input.sdk, |
| 802 | directory: input.directory, |
| 803 | sessionID: input.sessionID, |
| 804 | sessionTitle: input.sessionTitle, |
| 805 | resume: input.resume, |
| 806 | agent: input.agent, |
| 807 | model: input.model, |
| 808 | variant: input.variant, |
| 809 | }), |
| 810 | createSession: createSessionResolver(input.createSession), |
| 811 | }, |
| 812 | deps, |
| 813 | ) |
| 814 | } |
no test coverage detected