Skip to content

fix(opencode): advertise configured shell timeout - #28998

Merged
rekram1-node merged 1 commit into
devfrom
fix/shell-default-timeout-prompt
May 23, 2026
Merged

rekram1-node merged 1 commit into
devfrom
fix/shell-default-timeout-prompt

Conversation

@rekram1-node

Copy link
Copy Markdown
Collaborator

Summary

  • render the shell tool default timeout from the configured runtime value instead of hardcoded prompt text
  • pass timeout milliseconds explicitly alongside truncation limits
  • verify configured defaults are both advertised and enforced

Testing

  • bun test test/tool/shell.test.ts --timeout 30000
  • bun typecheck

Closes #25913

Co-authored-by: Nabs [email protected]

@rekram1-node
rekram1-node merged commit ba43706 into dev May 23, 2026
11 checks passed
@rekram1-node
rekram1-node deleted the fix/shell-default-timeout-prompt branch May 23, 2026 15:43
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
isaacfinnegan pushed a commit to isaacfinnegan/whispercode that referenced this pull request Jun 15, 2026
MarsQiu007 referenced this pull request in MarsQiu007/openNovel Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

shell tool description advertises hardcoded 2-minute default, even when OPENCODE_EXPERIMENTAL_BASH_DEFAULT_TIMEOUT_MS is set

1 participant