Commit Graph
4576 Commits
Author SHA1 Message Date
yu-xin-c ac3d7eb4c1 fix(discord): clean up reaction state on stop 2026-09-24 20:31:46 +08:00
Xubin Ren 62aa6ba6a3 test(agent): cover background failure while draining shutdown 2026-09-24 19:55:21 +08:00
yu-xin-c aa117e7271 fix(agent): report background task failures 2026-09-24 19:55:21 +08:00
chengyongru eb3fc07087 fix(webui): allow custom context window token budgets (#5901)
* fix(webui): allow custom context window token budgets

* fix(i18n): translate context window hints in all locales

* fix(webui): accept context window K and M shorthand

* fix(webui): shorten context window hints

* refactor(webui): simplify context window validation
2026-09-24 18:26:03 +08:00
chengyongru fdee134afb fix(webui): play completion sound in background tabs 2026-09-24 17:34:33 +08:00
Li Fengmin 7c2bf8949c feat(webui): add completion notification sound preference
When a turn finishes while the user is watching the page there is no
audible cue; the existing browser notifications only cover the
background case. Add a `notificationSound` local preference (off by
default, next to `browserNotifications`) and play a short bundled
chime from the `turn_end` handler only while the page is visible, so
background tabs stay silent.

- webui/src/lib/notification-sound.ts: visibility- and preference-gated
  playback of the bundled /notification.wav, one reused Audio element
- Overview settings toggle with localized copy in all 10 locales
- Tests cover the default-off, visible, hidden, reuse and
  playback-rejection paths
2026-09-24 17:34:33 +08:00
chengyongru 3ecc3d3556 refactor: remove unused helpers and internal exports 2026-09-24 17:11:28 +08:00
chengyongru cab3a360ea fix(tools): make oversized line truncation explicit 2026-09-24 16:24:06 +08:00
FanouZeng-TT f57eba2b07 fix(tools): keep read_file progressing when a single line exceeds the output budget
ReadFileTool stops at the first numbered line that does not fit the
128 KiB budget. When that line is the first one, no line is appended and
the tool returns an empty page that reports lines 2-1 and repeats the
same offset, so the caller can never reach the rest of the file. A long
line further down has the same effect for everything after it.

Emit a bounded prefix of that line and advance the continuation offset
past it, so every read returns content and makes progress.
2026-09-24 16:24:06 +08:00
Kail Tian a724ad4fcd fix(providers): backfill missing reasoning history for deepseek-flash 2026-09-24 16:14:14 +08:00
chengyongru d898998c47 feat(webui): invite returning users to star nanobot (#5895)
* feat(webui): invite returning users to star nanobot

* fix(webui): place About Star link in settings list

* fix(webui): use neutral About repository label

* fix(webui): add localized Star link to About footer

* fix(webui): align Star invitation with existing dialog styling

* fix(webui): shorten and localize Star invitation copy

* fix(webui): skip Star invitation after user interaction

* fix(webui): align Star invitation meaning across locales

* fix(webui): clarify Star reminder dismissal errors
2026-09-24 15:37:18 +08:00
Xubin Ren 09b2ae9a31 fix(webui): preserve preview paint and scroll ownership 2026-09-24 15:17:05 +08:00
Xubin Ren 8b02d56e6c fix(webui): keep file preview tab switching responsive 2026-09-24 15:17:05 +08:00
Xubin Ren ebb29759c0 fix(webui): unify file reference icons across preview surfaces 2026-09-24 15:17:05 +08:00
Xubin Ren f8bfcf4250 fix(webui): ignore stale file menu clipboard results 2026-09-24 15:17:05 +08:00
Xubin Ren 7aac9355ec feat(webui): refine mobile message actions and hover timestamps 2026-09-24 15:17:05 +08:00
Xubin Ren 4693bba81f fix(webui): preserve native touch menus with message link actions 2026-09-24 15:17:05 +08:00
Xubin Ren b08c9da8de refactor(webui): keep website actions in compact context menus 2026-09-24 15:17:05 +08:00
Xubin Ren c2edd5632e fix(webui): preserve previews during credential renewal 2026-09-24 15:17:05 +08:00
Xubin Ren b555164a17 feat(webui): polish tabbed previews and image presentation 2026-09-24 15:17:05 +08:00
Xubin Ren fccf415283 feat(webui): add isolated website previews and link actions 2026-09-24 15:17:05 +08:00
Xubin Ren 05bee21b10 feat(webui): unify file preview actions 2026-09-24 15:17:05 +08:00
Xubin Ren af5acabb33 fix(webui): restore session-scoped file previews 2026-09-24 15:17:05 +08:00
chengyongru 1457904e8d fix(cli): shorten session storage startup guidance 2026-09-24 13:38:57 +08:00
chengyongru 1bc43f84e4 docs: shorten session storage troubleshooting 2026-09-24 13:38:57 +08:00
chengyongru 839992630c fix(cli): explain session storage conflicts before startup 2026-09-24 13:38:57 +08:00
chengyongru 6f49eee2ac test(webui): provide local handshake for session deletion 2026-09-24 13:17:39 +08:00
chengyongru 9a6d328d7f fix(webui): require handshake headers for Full Access eligibility 2026-09-24 13:17:39 +08:00
chengyongru 80c246744f refactor(webui): clear turns only through the owner registry 2026-09-24 13:09:12 +08:00
chengyongru 06dd977838 refactor(api): use typed application state consistently 2026-09-24 13:08:36 +08:00
chengyongru a4a733d965 refactor(tools): remove unused global file state compatibility 2026-09-24 13:08:08 +08:00
chengyongru ad52fa97c2 fix(cli): reuse WebUI model discovery in onboarding 2026-09-24 13:07:42 +08:00
chengyongru e998268661 refactor(dingtalk): use streaming media downloads in tests and runtime 2026-09-24 11:51:45 +08:00
Kail Tian 8cc5748464 fix(providers): preserve image inputs for deepseek-flash 2026-09-24 10:27:32 +08:00
chengyongru ecf6519ef1 fix(linear): restore issue context only when needed 2026-09-23 18:29:52 +08:00
chengyongru 2dac0d330c refactor(linear): keep workspace API types inside channel 2026-09-23 18:29:52 +08:00
chengyongru c5f78bbd5c fix(mcp): handle OAuth interruptions through Loguru 2026-09-23 18:29:52 +08:00
chengyongru 422033af7d fix(linear): acknowledge sessions before downloading unique attachments 2026-09-23 18:29:52 +08:00
chengyongru b4b7d340cf test: allow Windows CI time for WebUI turn completion 2026-09-23 18:29:52 +08:00
chengyongru f9048dc514 fix(linear): retain issue context and clarify OAuth diagnostics 2026-09-23 18:29:52 +08:00
chengyongru 1fc44e091b fix(linear): clarify setup actions and MCP configuration 2026-09-23 18:29:52 +08:00
chengyongru d699088705 feat(linear): improve native agent UX 2026-09-23 18:29:52 +08:00
chengyongru c75192975c fix(agent): preserve state for required Codex compaction (#5883)
* fix(agent): preserve state for required Codex compaction

* fix(codex): keep pending tool exchanges after compaction

* refactor(agent): simplify compaction context forwarding and strengthen tests
2026-09-23 18:13:27 +08:00
chengyongru 155a6ada02 fix(webui): clear stale restart prompt after reconnect (#5813)
* fix(webui): clear stale restart prompt after reconnect

* fix(webui): retry settings refresh after reconnect
2026-09-23 17:27:34 +08:00
chengyongru dc996aba2d docs: correct context compaction behavior and document compact command 2026-09-23 16:05:33 +08:00
chengyongru e68afef670 fix(agent): log mid-turn injected messages (#5878)
* fix(agent): log messages consumed by mid-turn injection

* fix(agent): log injected batches after appending to transcript

* fix(agent): narrow injection metadata dictionary types

* refactor(agent): keep injection logging preview inline
2026-09-23 14:58:26 +08:00
chengyongru 3fe109bf01 test(utils): simplify atomic write tests and remove stale note 2026-09-23 14:48:29 +08:00
Frank_zhu d3f90e0944 test(utils): make atomic_write_lines directory fsync tests Windows-safe 2026-09-23 14:48:29 +08:00
Frank_zhu 23de1f1e34 refactor(utils): dedupe atomic JSONL write helper
Extract atomic_write_lines so history.jsonl, session JSONL saves, and
WebUI transcript rewrites share unique temp files, optional fsync, and
BaseException cleanup.

Closes #5290
2026-09-23 14:48:29 +08:00
chengyongru 27b3e81434 refactor(tools): build grep context pages incrementally 2026-09-23 14:39:41 +08:00