Commit Graph
4703 Commits
Author SHA1 Message Date
Xubin Ren 4e77584eb7 fix(webui): keep touch app chrome inside the visual viewport 2026-10-04 10:40:09 +08:00
Xubin Ren 69a368fdf8 test(webui): declare isolated preview support in navigation fixture 2026-10-04 10:26:47 +08:00
Xubin Ren bcd0423ce3 fix(webui): gate website preview actions by browser capability 2026-10-04 10:26:47 +08:00
Xubin Ren 4b4b5cfa9f fix(webui): preserve queued guidance and command semantics during sends 2026-10-04 10:16:56 +08:00
moran 42b85efa98 feat(webui): interject via the send button while streaming
While a turn is streaming, the primary action button stays Stop only while
the composer is empty. Once the user types, the send affordance takes over
(ChatGPT-style): tapping Send stops the running turn for the agent and
immediately delivers the new message with continueActiveTurn semantics —
the same backend contract the queued-guidance flush uses.

This restores 插嘴 (interjection) on touch devices, where Enter now inserts
a newline instead of queueing guidance (the queue-guidance flow stays
available on precision-pointer devices via Enter, and the queued prompt
stack still sends already-queued prompts anywhere).

submit() now carries continueActiveTurn while streaming; the button icon
switches to the send arrow in that state.
2026-10-04 10:16:56 +08:00
moran 2750a19601 feat(webui): newline instead of send on touch keyboards
A plain Enter in the composer now inserts a newline on coarse-pointer
devices; sending stays on the send button. The slash/mention pickers
still select with Enter, and precision-pointer (desktop) behavior is
unchanged. Adds enterKeyHint to label the soft keyboard action and
enables interactive-widget=resizes-content in the viewport meta so
Android keyboards resize the layout viewport.
2026-10-04 10:16:56 +08:00
FanouZeng-TTandClaude Code 96ad7b4dbf fix(api): return 400 for invalid multimodal field types
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-10-03 21:08:47 +08:00
RaycarlLei 8052c3a460 fix(tools): scope recursive directory ignores to listed root 2026-10-03 20:40:37 +08:00
Xubin Ren b0d2382856 docs(webui): clarify PWA workaround evidence and acceptance 2026-10-03 20:39:46 +08:00
Xubin Ren 4a99c0342e fix(webui): provide iOS PWA top-edge color surface 2026-10-03 20:39:46 +08:00
Shuhan Si 9136fe364e fix(runtime): preserve case in web fetch throttle keys 2026-10-03 20:21:09 +08:00
Xubin Ren 5e54043492 test(tools): verify nullable enum with multiple union types 2026-10-03 20:03:48 +08:00
Xubin Ren e3fc2a7c7a fix(tools): separate null-only guard from union validation 2026-10-03 20:03:48 +08:00
Shuhan Si 9ea3268dfb fix: 执行 null 参数的类型和枚举校验 2026-10-03 20:03:48 +08:00
bob 0848565067 fix(providers): sum compound durations in 'try again in' retry hints
OpenAI-style 429 bodies report waits as Go durations such as 'try again in 1m30s'. The parser only read the first component, so the retry slept 60s instead of 90s and spent an attempt on a guaranteed second 429. Sum every h/m/s/ms component while keeping the existing precedence and single-unit formats.
2026-10-03 19:46:51 +08:00
Xubin Ren d8c3b3cab5 test(cron): cover rejected updates and legacy interval recovery 2026-10-03 19:28:39 +08:00
bob b5f539292d fix(cron): reject non-positive every_seconds intervals
A negative every_seconds created a job with no next run and still reported 'Created job', so it silently never fired. every_seconds=0 passed the exactly-one-schedule check but then fell through the truthiness test to the misleading 'either every_seconds, cron_expr, or at is required' error. Declare minimum=1 in the tool schema, check every_seconds explicitly, and have CronService refuse every schedules without a positive every_ms, matching the WebUI parser.
2026-10-03 19:28:39 +08:00
Shuhan Si e2cd6908c7 fix(evaluator): reject non-boolean notification decisions 2026-10-03 19:10:44 +08:00
Shuhan Si 03b880f256 fix(email): fall back to UTF-8 for unknown body charsets 2026-10-03 18:52:05 +08:00
Shuhan Si 009caef555 fix(telegram): preserve whitespace-delimited command arguments 2026-10-03 18:36:18 +08:00
bob a3ef95f725 fix(slack): keep full text of button messages beyond 3000 chars
When buttons are attached, Slack renders the blocks instead of the text field, and the only section block carried text[:3000]. Anything past 3000 characters of the final chunk (up to 39000) was silently dropped. Split the chunk across multiple section blocks that each respect the Block Kit limit.
2026-10-03 18:19:14 +08:00
bob 2d52db2478 fix(telegram): keep link URLs intact when rendering Markdown to HTML
Bold, italic and strikethrough passes ran over generated href attributes, so URLs such as .../__init__.py became .../<b>init</b>.py and Telegram rejected or mis-linked the message. Protect URLs with placeholders until inline formatting is done and escape double quotes inside href.
2026-10-03 18:01:37 +08:00
chengyongru 4904305450 refactor(session): decouple history tools from WebUI replay (#6017)
* refactor(session): decouple history tools from WebUI replay

* test(oauth): make callback expiry independent of thread scheduling
2026-10-03 17:43:55 +08:00
Shuhan Si ae6801d3eb fix(tools): preserve supplied newlines when creating files 2026-10-03 17:38:18 +08:00
Kail Tian 042bcbbe46 fix(tools): preserve indentation in newline-terminated fallback edits 2026-10-03 17:15:11 +08:00
Kail Tian e36a016b6f fix(tools): preserve separator whitespace in inline replacements 2026-10-03 16:57:04 +08:00
chengyongru 9d7cc0204c fix(webui): serialize manifest reads with atomic replacement 2026-10-03 15:46:53 +08:00
Kail Tian 432421bceb fix(tools): preserve valid JSON Schema union arguments 2026-10-03 01:16:54 +08:00
Kail Tian 5825e15a6f fix(agent): clear stale failure state when resuming runner iterations 2026-10-03 01:01:30 +08:00
KDB ae1eb02cd8 fix(linear): reject stale member access updates after reauthorization 2026-10-03 00:37:03 +08:00
Kail Tian 1535cb1b6b fix(exec): enforce session hard timeouts without polling 2026-10-03 00:22:31 +08:00
yu-xin-c 0dcc03c4a9 fix(cron): preserve pending actions until store save succeeds 2026-10-03 00:08:49 +08:00
Kail Tian f2737ae813 fix(agent): preserve explicitly empty tool registries 2026-10-02 23:52:09 +08:00
chengyongru 4fd6807d3d test(webui): normalize math fixture checkout line endings 2026-10-02 20:44:50 +08:00
chengyongru 870dc2466f fix(webui): avoid empty inline TeX tokens 2026-10-02 20:44:50 +08:00
chengyongru 810802e016 fix(webui): preserve TeX formula boundaries in streaming Markdown 2026-10-02 20:44:50 +08:00
Xubin Ren d0d0a44e57 docs(remote): align host view guide with local client rendering 2026-10-02 11:36:34 +08:00
Xubin Ren c734f6b6f9 test(remote): isolate gateway smoke from frontend build artifacts 2026-10-02 11:36:34 +08:00
Xubin Ren 2330bfc5a5 fix(remote): simplify connection mutations and preserve host state 2026-10-02 11:36:34 +08:00
Xubin Ren 0ffdf86619 fix(webui): polish remote setup and simplify connection dialogs 2026-10-02 11:36:34 +08:00
Xubin Ren 5aa91b66cc feat(remote): serve local WebUI with an explicit host contract 2026-10-02 11:36:34 +08:00
Xubin Ren 02ce0cfb6f fix(remote): replace failed routes without duplicate-instance errors 2026-10-02 11:36:34 +08:00
Xubin Ren fd9681ef8b fix(remote): preserve pairing on failed forget and respect asset cache policy 2026-10-02 11:36:34 +08:00
Xubin Ren 49eb3a27f9 test(remote): read renamed profile fixtures as UTF-8 on Windows 2026-10-02 11:36:34 +08:00
Xubin Ren 0cac850737 fix(webui): keep model management available and bundle core provider logos 2026-10-02 11:36:34 +08:00
Xubin Ren 4fd4dc522d perf(remote): reuse guarded SSH transports and cache static assets 2026-10-02 11:36:34 +08:00
Xubin Ren 719a5c3fcf feat(remote): rename servers without interrupting host sessions 2026-10-02 11:36:34 +08:00
Xubin Ren 47c587217d fix(webui): render remote revocation commands as copyable code blocks 2026-10-02 11:36:34 +08:00
Xubin Ren 450e455b57 fix(remote): group verified instances without dropping authorizations 2026-10-02 11:36:34 +08:00
Xubin Ren 94c137511a fix(webui): restore full-page remote connection management 2026-10-02 11:36:34 +08:00