Skip to content

fix(shell): normalize timeout_s alias for shell/acp timeouts#1840

Draft
bloodycoder wants to merge 1 commit intoMoonshotAI:mainfrom
bloodycoder:autopilot/issue-1761-shell-timeout
Draft

fix(shell): normalize timeout_s alias for shell/acp timeouts#1840
bloodycoder wants to merge 1 commit intoMoonshotAI:mainfrom
bloodycoder:autopilot/issue-1761-shell-timeout

Conversation

@bloodycoder
Copy link
Copy Markdown

@bloodycoder bloodycoder commented Apr 11, 2026

Summary

  • support timeout_s as an accepted alias for timeout in shell tool params
  • reject unsupported timeout keys (timeout_ms, timeoutSeconds) with explicit validation errors
  • enforce conflict validation when both timeout and timeout_s are provided
  • align ACP timeout handling/message with normalized effective timeout

Tests

  • pytest tests/acp/test_terminal_timeout.py tests/tools/test_background_tools.py tests/tools/test_shell_bash.py -q
    • 48 passed

Fixes #1761

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.

Kimi-CLI does not seem to respect task timeout parameters, leading to persistent timeouts

1 participant