Commit 6268146
OpenCode Dev
fix(sdk): add timeout protection to SDK calls
- Wrap SDK calls with 60s timeout to prevent indefinite hangs
- Applies to agent.ts, session.ts, and run.ts
- Uses withTimeout utility for consistent timeout handling1 parent ea6b67c commit 6268146
File tree
3 files changed
+243
-185
lines changed- packages/opencode/src
- acp
- cli/cmd
3 files changed
+243
-185
lines changed
0 commit comments