Commit Graph
2045 Commits
Author SHA1 Message Date
Xubin Ren d37d7c07c0 fix(agent): redact private recovery and reconnect diagnostics 2026-09-21 15:24:38 +08:00
Xubin Ren 2640251076 fix(agent): respect temporary chat privacy in tool execution 2026-09-21 15:24:38 +08:00
Xubin Ren 804e4c4ea6 fix(webui): cancel Copilot sign-in while loading device prompt 2026-09-21 00:13:46 +08:00
Xubin Renandchengyongru a44f28e656 fix(webui): complete Copilot device sign-in in the browser
Reuse the device-flow adapter from #5498, expose its prompt in the existing OAuth dialog, and keep credential persistence scoped to uncancelled completion.

Co-authored-by: chengyongru <chengyongru.ai@gmail.com>
2026-09-21 00:13:46 +08:00
Xubin Ren 448767d147 fix(webui): identify OAuth reauthentication behind fallback replies 2026-09-21 00:13:46 +08:00
Xubin Ren 024fe8f636 fix(webui): surface OAuth model catalog authorization failures 2026-09-21 00:13:46 +08:00
chengyongru a478c96bde test(agent): provide history consolidator in response source test 2026-09-20 22:48:35 +08:00
chengyongru 0983762fe5 refactor(webui): remove legacy message projection (#5823)
* refactor(webui): defer oversized replay traces as events

* fix(webui): type deferred trace index set

* refactor(webui): remove legacy message projection

* fix(webui): type event protocol boundaries

* test(webui): assert canonical thread events
2026-09-20 16:48:13 +08:00
chengyongru 29ba4c7f2d fix(agent): remove local context tail truncation (#5820)
* fix(agent): remove local context tail truncation

* fix(agent): defer subagent type annotations

* fix(agent): require context consolidator for runner

* refactor(agent): minimize consolidator contract diff
2026-09-20 16:00:44 +08:00
Xubin Ren 8d0430c761 feat(webui): show persisted fallback preset on replies (NAN-133) 2026-09-20 15:16:35 +08:00
chengyongru db675a43b6 refactor(webui): unify live and replay event projection (#5819)
* refactor(webui): unify live and replay event projection

* chore(webui): mark legacy projection cleanup

* fix(webui): rewrite streamed replay media URLs
2026-09-20 13:52:43 +08:00
chengyongru 3d4200ff0d refactor: remove expired write_stdin compatibility 2026-09-20 13:22:41 +08:00
Xubin Ren fa754c2204 test(agent): verify stopped followups stay canceled across restarts 2026-09-20 10:38:08 +08:00
yu-xin-c 1127b3ea20 fix(agent): discard stopped follow-up recovery journal 2026-09-20 10:38:08 +08:00
chengyongru e9414da243 feat(channels): add native Linear agent channel
Add OAuth installation, signed webhook ingestion, durable event handling, native Agent Session activities, WebUI setup, localized copy, and an end-to-end configuration guide.
2026-09-19 01:24:27 +08:00
chengyongru 078e35f317 fix(agent): run explicit recovery continuations 2026-09-18 18:07:03 +08:00
AlfredChaos 24c41a6af0 fix(channels): drop compaction notices on channels without an in-place affordance (#5799)
* fix(channels): drop compaction notices on channels without an in-place affordance

QQ's C2C/group message API has no edit or recall endpoint, so the
compaction lifecycle reached the chat as two permanent standalone
messages. Add a show_compaction_notices capability that defaults to
true (Telegram/Discord/WebSocket keep their in-place lifecycle) and
opt QQ out, with a per-channel showCompactionNotices config override.

Fixes #5784

* fix(qq): keep compaction-notice suppression inside the QQ channel

Per review on #5799: drop ContextCompactionEvent in QQChannel.send()
based on a QQ-local QQConfig.show_compaction_notices (default false,
camel alias showCompactionNotices) instead of a cross-channel
BaseChannel capability plus manager-level configuration and dispatch
policy. BaseChannel, ChannelManager and the manager compaction test
return to their upstream shape.

Also adds the missing zh-TW locale copy (plus es/id/ko/vi so all ten
QQ locales carry the new setup field) and QQ-level tests covering the
default drop, the enabled path, ordinary-message passthrough, and the
camelCase config override.
2026-09-18 00:45:58 +08:00
chengyongru a0a99f24da test(agent): consolidate session inbox coverage 2026-09-17 22:18:38 +08:00
chengyongru 5f378c9aff fix(session): keep compaction continuations out of later turns 2026-09-17 22:18:38 +08:00
chengyongru 28d9721bfd fix(agent): complete automation cancelled before execution 2026-09-17 22:18:38 +08:00
chengyongru b669c2036c refactor(agent): unify session message admission 2026-09-17 22:18:38 +08:00
chengyongru 7208fb663f fix(agent): preserve queued turn semantics and completion 2026-09-17 22:18:38 +08:00
chengyongru b15a5e8cb4 test(agent): await session inbox admission 2026-09-17 22:18:38 +08:00
chengyongru 4e2173c9eb fix(agent): serialize session inbox processing 2026-09-17 22:18:38 +08:00
chengyongru 56f7afcfe4 fix(agent): preserve per-session message order 2026-09-17 22:18:38 +08:00
Xubin Ren b6b7caafd3 fix(api): preserve nullable stream compatibility 2026-09-17 21:20:58 +08:00
FanouZeng-TTandClaude Code 12c2c95cbb fix(api): require boolean stream values
Validate the OpenAI-compatible stream flag before choosing the response mode so string values such as "false" are rejected instead of enabling SSE.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-17 21:20:58 +08:00
Xubin Ren 122a0f5d6f fix(memory): sanitize raw history before lossless chunking 2026-09-17 21:13:23 +08:00
dajiaohuang d4e23dec12 fix(memory): preserve full consolidation input 2026-09-17 21:13:23 +08:00
FanouZeng-TTandClaude Code 835cac0ae7 fix(cron): reject conflicting schedule fields
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-17 21:05:13 +08:00
FanouZeng-TTandClaude Code b1d54b2ca2 fix(cron): reject past one-time schedules in the cron tool
The webui automation path already rejects one-time schedules that are
not in the future, but the agent cron tool silently accepted them: a
past ISO datetime produced an enabled job with next_run_at_ms=None
that never fires and never honors delete_after_run, while the tool
reported success. Reject the request at the tool boundary with an
actionable error instead.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-17 20:57:51 +08:00
Xubin Ren d8efb852da build: bundle native TUI in platform wheels 2026-09-16 02:38:34 +08:00
Xubin Ren d24ae06117 fix(release): verify TUI materials before tagging 2026-09-16 01:30:47 +08:00
Arthur K.andchengyongru 0374f74bb7 fix(providers): preserve assistant content with tool calls (#5783)
* fix(providers/openai-compatible): config option to preserve message content with tool calls

* fix(providers): preserve assistant content with tool calls

---------

Co-authored-by: chengyongru <2755839590@qq.com>
2026-09-16 00:32:42 +08:00
chengyongru d386ba138e fix(tools): scope file-read dedup to model context (#5775)
* fix(tools): scope file-read dedup to model context

* refactor(tools): narrow file-read context and build results lazily
2026-09-15 16:09:56 +08:00
Xubin Ren 8c4eb2c807 fix(session): bound retained history search results across pages
Discard raw replay pages after filtering, retaining only the requested latest matches while counting pages for stable global message indexes. Cover raw-page release and durable-source precedence across index rebuilds and restart.
2026-09-15 14:11:59 +08:00
beemines 151173c8ba fix(session): search older pages of persisted conversation history 2026-09-15 14:11:59 +08:00
Xubin Ren 4535496064 fix(feishu): preserve QR query values and registration expiry
Restrict the launcher workaround to its known host and exact path. Honor expires_in while retaining the legacy expire_in response. Cover both hosts, opaque query values and old/new TTL fields.
2026-09-15 14:02:29 +08:00
ubuntuandHammerHound AI 1fd0cca7e2 fix(feishu): use /page/cli verification URL for QR onboarding
Co-authored-by: HammerHound AI <26013314+hammerhoundai@users.noreply.github.com>
2026-09-15 14:02:29 +08:00
Xubin Ren 0afebd4747 fix(qq): keep inbound URL validation off the event loop
Add mixed-DNS, invalid-scheme, cancellation and partial-write coverage. Isolate media roots for activated QQ tests.
2026-09-15 13:49:49 +08:00
KDB 9b50a02275 fix(qq): validate inbound attachments and reject redirects 2026-09-15 13:49:49 +08:00
chengyongru f4843ba11e fix(memory): recover archive tool calls before raw fallback (#5774)
* fix(memory): recover archive tool calls

* refactor(memory): reuse provider state controller
2026-09-15 11:55:12 +08:00
chengyongru aa257a705e perf: reduce streaming text processing and classic CLI redraws (#5728)
* perf: skip tag parsing for ordinary streamed text

* perf: coalesce classic CLI stream refreshes
2026-09-15 11:48:40 +08:00
chengyongru 1c3c68262f refactor(tools): unify edit summaries with shared fast diffs
Return compact, workspace-relative summaries from edit_file and apply_patch.
Compute one RapidFuzz line alignment per file and reuse it for summary counts
and WebUI unified diffs, checking snapshots before reuse. Summarize batched
edits by their final file state.

Warn only when a recorded file version changed, without asking for a read
after an edit has already succeeded. Preserve existing edit errors.

Validate summary and activity reuse, repetitive files, diff formatting,
snapshot changes, file creation, and read-state behavior.
2026-09-15 11:25:01 +08:00
Kail Tian 3a725b35a7 fix(tools): preserve line boundaries when deleting inline suffixes 2026-09-15 11:25:01 +08:00
chengyongru 60b7c8cf3c fix(cron): recheck pending jobs before execution 2026-09-14 17:48:10 +08:00
Kuang-xianxin 02ca8f6558 fix(cron): defer timer rearming while jobs execute 2026-09-14 17:48:10 +08:00
beeminesandbeemines 93b51121d1 fix(cron): preserve pending runs when editing automation details (#5751)
Co-authored-by: beemines <182060364+beemines@users.noreply.github.com>
2026-09-14 15:30:10 +08:00
ggbond 524e96ff68 test(security): keep proxy-clearing fixtures hermetic on hosts with OS-level proxies 2026-09-14 13:21:45 +08:00
chengyongru ddd6b302c9 fix(webui): support remote project paths and honor picker capabilities (#5673)
* fix(webui): honor remote workspace picker capability

* feat(webui): allow remote project path selection

* test(webui): isolate native picker availability from host platform
2026-09-14 13:14:00 +08:00