* 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.
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>
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>
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.
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.
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.
Prevent Responses API errors when conversation history is reused in a new provider request.
Fresh and pending Chat-style history conversions no longer include stale
provider-generated item IDs, while preserving function-call IDs for tool
output linkage.
During opaque Responses state replay, remove unsupported status fields from
reasoning items before sending them to the provider. Preserve encrypted
reasoning content and other valid provider fields.
Add regression coverage for stale item IDs and replayed reasoning items with
unsupported status fields.
Replace the dense automation workspace with a calm list and on-demand details, show current linked-chat titles, and remember manual system-task expansion preferences.
Reuse disclosure transitions across expandable controls, preserve drafts and focus through closing, and release large diffs after their exit animation.
Refs NAN-116
Automatic compaction delivered two standalone Discord messages,
"Compressing context…" and "Context compacted.", even with
sendProgress off. The lifecycle itself is information the user should
keep seeing (it changes the context of every later turn), so the
dispatcher keeps delivering both events to every channel; the noise is
a presentation problem of the Discord adapter.
The Discord client now remembers the message it sent for a compaction's
"started" event, keyed by compaction_id, and edits that message with the
outcome when it arrives, so one compaction is one message. Without a
stored notice (restart, or the edit being refused) the outcome is sent
as before. The earlier dispatcher-level filtering is dropped, and the
manager test pins that both lifecycle events reach a channel whose
progress messages are off.
Fixes#5719
Rework after review: compaction changes the context of every later turn,
so its outcome (compacted / failed / cancelled) is always delivered,
whether the user or the scheduler started it. Only the transient
"Compressing context…" start notice follows the channel's send_progress
setting, so a channel with progress off receives one notice per
compaction instead of two. The manual flag is gone.