Commit Graph

31476 Commits

Author SHA1 Message Date
scotthuang
28871e7dd9 test(ui): add regression test for session.message guard during active chat run
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 09:55:12 +01:00
scotthuang
9eb497c4f5 fix(ui): skip chat history reload during active sends to prevent message card delay
When a user sends a message, the Control UI performs an optimistic update to
display the message immediately. However, if a session.message gateway event
arrives during the send, it triggers an unconditional loadChatHistory() call.
This race condition resets chatStream to null, causing the optimistic message
card to disappear until the first LLM delta arrives.

The fix adds a guard to skip history reload while a chat run is active
(host.chatRunId is set). The chat event handler already manages streaming state
and appends the final assistant message, making the concurrent reload unnecessary
during active sends. External message refresh is preserved for idle sessions.

Fixes the regression introduced in commit 20266c14cb (added session.message
event handling for qa-lab testing).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 09:55:12 +01:00
Srinivas Pavan
fb4395c1fe fix(cron): preserve all fields in announce delivery by removing summarization instruction (#65638)
* fix(cron): preserve all fields in announce delivery by removing summarization instruction

The delivery instruction appended to the cron agent prompt contained the word
'summary', causing LLMs to condense structured output non-deterministically and
drop fields on delivery. Replace with 'response' and add explicit instruction
to reproduce all fields exactly.

Fixes #58535

* chore(changelog): add cron announce entry

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-04-15 09:40:26 +01:00
Vincent Koc
ea4889ecdc fix(update): keep dist verify compat-safe 2026-04-15 09:39:18 +01:00
Vincent Koc
9e665e4328 fix(ts): use typed runtime semver helpers 2026-04-15 09:20:26 +01:00
Vincent Koc
7f35f76914 fix(update): harden dist inventory handling 2026-04-15 09:16:46 +01:00
Xin Sun
df918c4de5 feat(memory-lancedb): add cloud storage support to memory-lancedb (#63502)
* feat(memory-lancedb): add cloud storage support to memory-lancedb

- Pass storageOptions to LanceDB connection

# Conflicts:
#	extensions/memory-lancedb/index.ts

# Conflicts:
#	extensions/memory-lancedb/config.ts

* support env var

* make storageOptions sensitive
2026-04-15 16:07:49 +08:00
Ayaan Zaidi
94d5c3dd6b fix: prune stale dist chunks after npm upgrades (#66959) 2026-04-15 13:22:04 +05:30
Ayaan Zaidi
2e61d2ce3f fix(lint): drop dead compat sidecar imports 2026-04-15 13:22:04 +05:30
Ayaan Zaidi
a1d4eb255a fix(inventory): omit qa-matrix dist artifacts 2026-04-15 13:22:04 +05:30
Ayaan Zaidi
2791b00e72 fix(build): move compat sidecars into src 2026-04-15 13:22:04 +05:30
Ayaan Zaidi
8b79141997 fix(update): infer legacy bundled sidecars 2026-04-15 13:22:04 +05:30
Ayaan Zaidi
2a8226f8e2 fix(postinstall): reject dist symlink escapes 2026-04-15 13:22:04 +05:30
Ayaan Zaidi
64f258fc49 fix(update): keep downgrade follow-ups in-process 2026-04-15 13:22:04 +05:30
Ayaan Zaidi
60e2ccbd5b fix(update): preserve legacy downgrade verify 2026-04-15 13:22:04 +05:30
Ayaan Zaidi
aaa6b05f3b fix(update): preserve legacy global verify 2026-04-15 13:22:04 +05:30
Ayaan Zaidi
9e1df98475 fix(postinstall): reject unsafe dist symlinks 2026-04-15 13:22:04 +05:30
Ayaan Zaidi
5e7306bcfc fix(update): filter dist inventory to packed files 2026-04-15 13:22:04 +05:30
Ayaan Zaidi
1077cb74f9 test(postinstall): use real dist inventory fixtures 2026-04-15 13:22:04 +05:30
Ayaan Zaidi
5754667c87 fix(postinstall): prune stale packaged dist files 2026-04-15 13:22:04 +05:30
Ayaan Zaidi
18d0af3a13 fix(update): verify packaged dist inventory 2026-04-15 13:22:04 +05:30
Peter Steinberger
277885f0a4 build: refresh plugin sdk api baseline 2026-04-15 08:09:48 +01:00
Sliverp
dd90297dfc doc:add qq support to README (#67039)
* doc:add qq support to README

* Update README.md

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

---------

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-04-15 15:08:48 +08:00
Mason Huang
059d4b6d47 docs-i18n: add behavior baseline fixtures (#64073)
Merged via squash.

Prepared head SHA: 4ccd4c5fc0
Co-authored-by: hxy91819 <8814856+hxy91819@users.noreply.github.com>
Co-authored-by: hxy91819 <8814856+hxy91819@users.noreply.github.com>
Reviewed-by: @hxy91819
2026-04-15 15:03:49 +08:00
Chunyue Wang
6aa4515798 fix(context-engine): gracefully degrade to legacy engine on third-party plugin resolution failure (#66930)
Merged via squash.

Prepared head SHA: 969c67716c
Co-authored-by: openperf <80630709+openperf@users.noreply.github.com>
Co-authored-by: openperf <80630709+openperf@users.noreply.github.com>
Reviewed-by: @openperf
2026-04-15 14:59:29 +08:00
Ivan Fofanov
732db75279 fix: classify "No conversation found" as session_expired (#65028)
Merged via squash.

Prepared head SHA: f429ba2de0
Co-authored-by: Ivan-Fn <1247214+Ivan-Fn@users.noreply.github.com>
Co-authored-by: altaywtf <9790196+altaywtf@users.noreply.github.com>
Reviewed-by: @altaywtf
2026-04-15 09:31:55 +03:00
github-actions[bot]
9b1b56aad1 chore(ui): refresh uk control ui locale 2026-04-15 05:45:22 +00:00
github-actions[bot]
8602c81068 chore(ui): refresh id control ui locale 2026-04-15 05:45:18 +00:00
github-actions[bot]
2e230021b6 chore(ui): refresh pl control ui locale 2026-04-15 05:45:14 +00:00
github-actions[bot]
b778253cca chore(ui): refresh tr control ui locale 2026-04-15 05:45:08 +00:00
github-actions[bot]
1c3c9c9d29 chore(ui): refresh ko control ui locale 2026-04-15 05:44:02 +00:00
github-actions[bot]
0c3354c320 chore(ui): refresh es control ui locale 2026-04-15 05:44:00 +00:00
github-actions[bot]
bf136ab1d9 chore(ui): refresh fr control ui locale 2026-04-15 05:43:58 +00:00
github-actions[bot]
1d8713bae3 chore(ui): refresh ja-JP control ui locale 2026-04-15 05:43:54 +00:00
github-actions[bot]
0ac265f418 chore(ui): refresh pt-BR control ui locale 2026-04-15 05:42:42 +00:00
github-actions[bot]
d204471879 chore(ui): refresh zh-CN control ui locale 2026-04-15 05:42:39 +00:00
github-actions[bot]
adff956863 chore(ui): refresh zh-TW control ui locale 2026-04-15 05:42:36 +00:00
github-actions[bot]
808ba47a89 chore(ui): refresh de control ui locale 2026-04-15 05:42:33 +00:00
Omar Shahine
507b718917 feat(ui): add Model Auth status card to Overview dashboard (#66211)
* feat(gateway,ui): add Model Auth status card to Overview

Adds a new `models.authStatus` gateway endpoint that combines
`buildAuthHealthSummary()` (token expiry/status) with
`loadProviderUsageSummary()` (rate limits) into a single response
suitable for UI rendering. Strips credentials - only ships status,
expiry, remaining time, and rate-limit windows.

Adds a corresponding "Model Auth" card to the Overview dashboard
showing provider token status and rate limits at a glance. Attention
items are raised when OAuth tokens are expiring or expired.

Also catches the OAuth token sink class of bug: if multiple profiles
exist per provider/account and tokens are drifting out of sync, this
surfaces it immediately in the dashboard instead of silently falling
back to a different provider.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* CHANGELOG: note Model Auth status card on Overview

* UI/Overview: render Model Auth card during load with N/A placeholder

* models.authStatus: env-backed OAuth escape hatch + expectsOAuth missing signal

---------

Co-authored-by: Lobster <10343873+omarshahine@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 22:40:42 -07:00
Mason Huang
3d2f51c0a4 CLI/plugins: stop forced-unsafe installs from falling back to hook packs (#58909)
Merged via squash.

Prepared head SHA: 7cf146efb6
Co-authored-by: hxy91819 <8814856+hxy91819@users.noreply.github.com>
Co-authored-by: hxy91819 <8814856+hxy91819@users.noreply.github.com>
Reviewed-by: @hxy91819
2026-04-15 13:23:17 +08:00
Peter Steinberger
7fc5a18d89 test(qa-matrix): isolate flaky beta scenarios 2026-04-15 06:10:37 +01:00
Ayaan Zaidi
2cc97989d3 style: use non-capturing pnpm regex group 2026-04-15 10:35:43 +05:30
Ayaan Zaidi
ccedc506a5 fix: handle native pnpm execpath 2026-04-15 10:35:43 +05:30
Mason Huang
0aea99883c Add Mason Huang as maintainer (#66974) 2026-04-15 12:36:11 +08:00
Gustavo Madeira Santana
7d7dc7510e QA: speed up Matrix live lane 2026-04-15 00:16:23 -04:00
Roger Chien
2e2cbdd19d fix(onboard): crash at channel selection on globally installed CLI (#66736)
* fix(channels): resolve bundled channel catalog from dist/extensions/ in published installs

* refactor(channels): delegate bundled channel catalog loader to resolveBundledPluginsDir

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-04-15 11:08:01 +07:00
Peter Steinberger
cd3e6e1faf build: refresh config baseline 2026-04-15 05:03:12 +01:00
Peter Steinberger
ec7635256b build: refresh bundled channel metadata 2026-04-15 05:01:43 +01:00
Peter Steinberger
5ca65c84cc fix: type media private-network request flag 2026-04-15 04:58:11 +01:00
xinmotlanthua
90c06c04c8 fix: guard against undefined event.content in cron agentTurn payload (#66302)
* fix: remove documentation fences from HEARTBEAT.md template

The HEARTBEAT.md template wrapped its content in markdown code fences
and a doc heading for display purposes. Since loadTemplate() only strips
YAML front matter, these artifacts leaked into generated workspace files,
causing isHeartbeatContentEffectivelyEmpty() to consider them non-empty
and triggering unnecessary API calls.

Remove the markdown fences and doc heading so the template produces
clean content after front-matter stripping.

Closes #66284

* fix: guard against undefined event.content in cron agentTurn payload

When a cron job fires with agentTurn payload, event.content is undefined.
parseFaceTags(undefined) returned undefined, which propagated to
userContent.startsWith("/") causing a TypeError crash.

- Fix parseFaceTags and filterInternalMarkers to return "" for falsy input
  instead of returning the falsy value itself
- Add null coalescing fallback at the gateway call site
- Add unit tests for undefined/null/empty string inputs

Closes #66283

* fix: address review — remove redundant guards, casts, and unrelated HEARTBEAT.md change

* fix: guard against undefined event.content in cron agentTurn payload (#66302) (thanks @xinmotlanthua)

---------

Co-authored-by: khanhkhanhlele <namkhanh2172@gmail.com>
Co-authored-by: sliverp <870080352@qq.com>
2026-04-15 11:47:21 +08:00