OpenCode GraphAgent v1.0.48-dev.1
Pre-releaseopencode 1.0.48-dev.1
Prerelease release from dev branch. Questions now expire after a configurable wait while preserving explicit user interaction across every supported client.
馃幆 Features
- The root
question_timeoutsetting controls the server-owned question deadline in seconds. It defaults to 60 and accepts positive integers. - TUI, web app and direct
runprompts show the remaining time. Selecting an option or focusing the custom-answer input cancels the deadline for the whole request; navigation, hovering, tab changes and default selection do not. - Timed-out questions are removed from pending state and tell the agent that the user is temporarily away. The agent analyzes the available choices itself and continues within the task's existing authorization without attributing an answer to the user.
- Both question API generations expose an interaction endpoint and broadcast interaction and timeout events, so connected and reconnecting clients share the same deadline state.
馃И Test Summary
Bun: 1.3.14
Core question/config/tool: 28 passed, 0 failed
Runtime question/run tests: 95 passed, 0 failed, 5 skipped
TUI package tests: 270 passed, 0 failed, 1 skipped
Source-process TUI timeout: 1 passed, 21 assertions
Web Playwright timeout: 1 passed, 0 failed
HTTP API exerciser: 234 passed, 0 failed, 0 skipped
Workspace typecheck: 29 packages passed
Workspace lint: 4,846 warnings, 0 errors (4,850 ratchet)
馃攳 Verification
Source regressions cover the default and configured deadlines, invalid configuration, timeout delivery, interaction before the deadline, reply cleanup, interruption and disposal, exact agent-facing output, direct-run rendering and a real source-process TUI flow. The source-process test proves that navigation alone still times out while option selection and custom-input focus permanently cancel the deadline. Release CI and candidate binary acceptance are recorded separately after the release workflow build; neither has run for this source change yet.
Full changelog: graphagent-v1.0.47...graphagent-v1.0.48-dev.1