(config: RunnerConfig, state: RunnerStateFile)
| 263 | } |
| 264 | |
| 265 | async function persistState(config: RunnerConfig, state: RunnerStateFile): Promise<void> { |
| 266 | state.updatedAt = nowIso(); |
| 267 | await writeJsonAtomic(config.paths.stateFile, state); |
| 268 | } |
| 269 | |
| 270 | function createClient(config: RunnerConfig): OpencodeClient { |
| 271 | return createOpencodeClient({ |
no test coverage detected