feat(chat): configurable interactive answer timeout - #362
Draft
FlowerRealm wants to merge 3 commits 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
… a fine-grained slider Move the interactive answer timeout off its standalone input card and into the AskUserQuestion tool row, replacing the fixed read-only 'allow' label with a stop-based slider. The stop table keeps 1-60 minutes fine-grained (1,2,3,4,5,6,8,10,12,15,20,25,30,40,50,60) and jumps straight to 99999 past one hour, so the slider reads as a plain duration without exposing any internal 'never' semantics. The tool detail copy no longer hardcodes '3 minutes'; it now points at the adjustable slider.
Keep a single one-line comment on the stop table and drop the duplicate block inside the render body; both mirrored files stay byte-identical.
Contributor
Author
|
太努力了, draft的pr还review |
Contributor
Author
|
感谢佬的review |
|
啊不好意思我看两天没动静以为是整得差不多了就拉下来测了下....之前没参与过和人协作,draft这些啥的也没概念 |
Contributor
Author
|
我最近有事没空处理这个, 佬可以把我的分支拉下来自己干 |
|
hhh等周一额度重置佬如果还没回来我就搞(
话说这种我是另外发一个pr吗?有没有办法接着你这个往下提交?
…---Original---
From: "Flower ***@***.***>
Date: Thu, Aug 6, 2026 10:26 AM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [Stack-Cairn/LiveAgent] feat(chat): configurable interactive answer timeout (PR #362)
FlowerRealm left a comment (Stack-Cairn/LiveAgent#362)
我最近有事没空处理这个, 佬可以把我的分支拉下来自己干
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Contributor
Author
|
没办法接着往下, 得开个新的pr |
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