feat(chat): configurable interactive answer timeout - #362
Draft
FlowerRealm wants to merge 1 commit into
Draft
Conversation
Make the answer window shared by the AskUserQuestion card and the tool approval bar configurable via settings.system.interactiveTimeoutMinutes (minutes, default 3, preserving current behavior). A very large value (e.g. 99999) approximates never timing out. The window is injected into both tools at runtime; every deadline stays a finite timestamp, so the countdown logic needs no special never-handling. Refs Stack-Cairn#354 (timeout configurability).
Contributor
|
PR governance checks failed — this PR has been converted to draft.
Fix the items above, then click Ready for review to re-run the checks. |
StackCairn
marked this pull request as draft
August 2, 2026 08:16
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Allow configuring the answer window shared by the AskUserQuestion card and the tool approval bar —
settings.system.interactiveTimeoutMinutes(minutes, default 3, preserving current behavior). A very large value (e.g.99999) ≈ never time out.Addresses the timeout-configuration part of #354. Notifications / taskbar flashing are out of scope (tracked separately).
How
interactiveTimeoutMinutesfield inSystemSettings, synced to the gateway WebUI; input added to the mirrored System Tools settings section.setAskUserQuestionTimeoutMs/setToolApprovalTimeoutMs) — avoids threading through the 6+ tool-preview call sites.ToolApprovalBar.tsxandgatewayToolPreview.tsend up with zero diff.Verification
tsc --noEmitcleanscripts/check-mirror.mjs): 119 files byte-identical