Commit Graph

1382 Commits

Author SHA1 Message Date
Shakker
ab3a3d14f0 fix: satisfy chat pending switch lint 2026-05-07 22:40:31 +01:00
Peter Steinberger
6785633d13 fix(ui): wait for pending model switches before send 2026-05-07 22:05:46 +01:00
Vincent Koc
c97998ce21 chore(channels): remove bluebubbles bundled surface 2026-05-07 12:52:48 -07:00
Shakker
0fd6607d56 fix: await control ui chat startup refresh 2026-05-07 11:50:48 +01:00
Val Alexander
6b4ff8be81 fix(ui): bound sessions to configured agents
Fixes #41685.\n\nSummary:\n- Adds an additive sessions.list configuredAgentsOnly option for Control UI.\n- Filters default Control UI session listing to configured agents while preserving broad Gateway discovery for explicit callers.\n- Falls back restored unconfigured agent session keys before chat refresh.\n\nValidation:\n- pnpm protocol:check\n- pnpm test ui/src/ui/controllers/sessions.test.ts ui/src/ui/app-gateway.node.test.ts src/gateway/server.sessions.store-rpc.test.ts -- --reporter=verbose\n- pnpm format:docs:check\n- pnpm lint:swift\n- pnpm check:no-conflict-markers\n- git diff --check
2026-05-07 03:26:47 -05:00
Peter Steinberger
330ba1fa31 refactor: move canvas to plugin surfaces 2026-05-07 09:07:18 +01:00
Val Alexander
5a90179e8f feat(ui): show persistent chat context usage
Summary:
- Show a persistent compact Control UI/WebChat context usage indicator whenever fresh session token/context data is available below the high-pressure threshold.
- Preserve stale usage snapshot hiding plus the existing high-pressure warning and compact-session action thresholds.
- Update Control UI docs and changelog attribution.

Fixes #46398.
Refs #73744, #45048, #50071, #32188, and #62167.

Verification:
- pnpm docs:list
- pnpm format:docs:check
- pnpm exec oxfmt --check --threads=1 CHANGELOG.md docs/web/control-ui.md ui/src/styles/chat/layout.css ui/src/ui/chat/context-notice.ts ui/src/ui/chat/run-controls.test.ts
- pnpm test ui/src/ui/chat/run-controls.test.ts
- pnpm changed:lanes --json selected core, coreTests, docs only
- Blacksmith Testbox pnpm check:changed passed on tbx_01kr0pvxy0ssp70p3qe49j5dcb: https://github.com/openclaw/openclaw/actions/runs/25483307211
- GitHub PR checks for 04b8ad2e09 were clean before merge.
2026-05-07 02:59:42 -05:00
Peter Steinberger
1ef85c7d4c test: make suites safe without isolation (#78834)
* test: make suites safe without isolation

* fix: narrow auth profile credential types

* test: inject channel module loader factory locally
2026-05-07 08:43:29 +01:00
Val Alexander
a8d8d49ab8 fix(ui): label inherited thinking overrides
Closes #77581.

## Summary

- Add a shared thinking-label formatter for inherited vs explicit reasoning values.
- Show inherited thinking controls as `Inherited (Default: <Level>)` in chat and Sessions selectors.
- Preserve provider/model labels for explicit thinking overrides and document the inherited/default wording.

## Verification

- `pnpm docs:list`
- `pnpm tsgo:core` on current `origin/main` (`70defcc046`) -> passes
- `git diff --check`
- `pnpm exec oxfmt --check --threads=1 ui/src/ui/thinking-labels.ts ui/src/ui/chat/session-controls.ts ui/src/ui/views/chat.test.ts ui/src/ui/views/sessions.ts ui/src/ui/views/sessions.test.ts docs/tools/thinking.md CHANGELOG.md`
- `pnpm changed:lanes --json` -> `core`, `coreTests`, `docs`
- `pnpm test ui/src/ui/views/chat.test.ts ui/src/ui/views/sessions.test.ts src/gateway/server.sessions.list-changed.test.ts` -> 3 Vitest shards, 58 tests
- Testbox `pnpm check:changed` on `a906cb75ce` -> passes
- GitHub PR checks for #78176 on `a906cb75ce` -> no pending or failed jobs
2026-05-07 00:31:41 -05:00
Peter Steinberger
610e882dbf fix(openrouter): canonicalize auto selector refs 2026-05-07 05:48:14 +01:00
github-actions[bot]
d71c11983f chore(ui): refresh nl control ui locale 2026-05-06 03:22:57 +00:00
github-actions[bot]
186d247209 chore(ui): refresh fa control ui locale 2026-05-06 03:22:53 +00:00
github-actions[bot]
020581ac7f chore(ui): refresh vi control ui locale 2026-05-06 03:22:49 +00:00
github-actions[bot]
f51436868b chore(ui): refresh th control ui locale 2026-05-06 03:22:09 +00:00
github-actions[bot]
9ce00b7756 chore(ui): refresh pl control ui locale 2026-05-06 03:22:01 +00:00
github-actions[bot]
a0a74608ff chore(ui): refresh id control ui locale 2026-05-06 03:21:47 +00:00
github-actions[bot]
b868f4e2be chore(ui): refresh uk control ui locale 2026-05-06 03:21:39 +00:00
github-actions[bot]
4e867ea2c9 chore(ui): refresh tr control ui locale 2026-05-06 03:21:05 +00:00
github-actions[bot]
1a3d77531d chore(ui): refresh it control ui locale 2026-05-06 03:20:59 +00:00
github-actions[bot]
b9eb969d9a chore(ui): refresh ar control ui locale 2026-05-06 03:20:54 +00:00
github-actions[bot]
fc6737bd0a chore(ui): refresh fr control ui locale 2026-05-06 03:20:29 +00:00
github-actions[bot]
c17bcb99e1 chore(ui): refresh ko control ui locale 2026-05-06 03:20:03 +00:00
github-actions[bot]
3cff0d3dc8 chore(ui): refresh ja-JP control ui locale 2026-05-06 03:20:01 +00:00
github-actions[bot]
19071cc6a5 chore(ui): refresh es control ui locale 2026-05-06 03:19:54 +00:00
github-actions[bot]
76e8f59f17 chore(ui): refresh zh-CN control ui locale 2026-05-06 03:19:13 +00:00
github-actions[bot]
931645e090 chore(ui): refresh zh-TW control ui locale 2026-05-06 03:19:06 +00:00
github-actions[bot]
47b65154ae chore(ui): refresh de control ui locale 2026-05-06 03:19:02 +00:00
github-actions[bot]
9111f83765 chore(ui): refresh pt-BR control ui locale 2026-05-06 03:18:55 +00:00
Val Alexander
c17121b1cc test(control-ui): refresh i18n raw copy baseline 2026-05-05 22:16:30 -05:00
Val Alexander
8aa377babe fix(control-ui): refine sessions compaction details 2026-05-05 22:16:30 -05:00
Val Alexander
60171e8638 Keep Control UI responsive under slow status and history loads 2026-05-05 22:07:39 -05:00
Val Alexander
49c4a13231 fix(sessions): restore Control UI /new hooks
Fixes #76957.

Restores the Control UI /new hook lifecycle through an explicit sessions.create emitCommandHooks opt-in, preserving hook-free defaults for programmatic parent-session creates.

Validation:
- pnpm protocol:check
- pnpm test src/gateway/server.sessions.reset-hooks.test.ts ui/src/ui/app-render.helpers.node.test.ts
- pnpm exec oxlint on touched TS files
- pnpm exec oxfmt --check --threads=1 on touched files
- git diff --check
- OPENCLAW_LOCAL_CHECK=1 OPENCLAW_LOCAL_CHECK_MODE=throttled env NODE_OPTIONS=--max-old-space-size=4096 pnpm check:changed
- GitHub PR checks green on 3a446ec78e
- ClawSweeper re-review completed with no blocking findings and security cleared

Duplicate triage:
- #77376, #77004, and #76967 were superseded closed attempts for #76957
- #77562 is a closed duplicate issue
- #77880 mentions #76957 but is not a duplicate of this hook fix
2026-05-05 21:57:22 -05:00
Peter Steinberger
f1636d5e28 refactor: unify talk session runtime 2026-05-06 02:39:15 +01:00
Peter Steinberger
9e6f38f4e1 feat: unify browser realtime talk clients 2026-05-06 02:39:15 +01:00
Vincent Koc
16454f5c7a fix(ui): show session runtime in sessions table 2026-05-05 15:52:58 -07:00
Val Alexander
1d6de8da9f fix(ui): hide heartbeat acknowledgements
Suppress assistant HEARTBEAT_OK acknowledgements at the Control UI live-event and persisted-history render boundaries.

The persisted transcript case can include hidden thinking/reasoning blocks plus a final HEARTBEAT_OK text block, so the display filter now ignores hidden reasoning while preserving turns with visible non-text content.

Validation:
- pnpm test ui/src/ui/controllers/chat.test.ts ui/src/ui/chat/build-chat-items.test.ts
- pnpm exec oxfmt --check --threads=1 CHANGELOG.md docs/web/control-ui.md ui/src/ui/chat/build-chat-items.test.ts ui/src/ui/chat/build-chat-items.ts ui/src/ui/chat/heartbeat-display.ts ui/src/ui/controllers/chat.test.ts ui/src/ui/controllers/chat.ts
- git diff --check
- pnpm check:changelog-attributions
- Testbox: pnpm check:changed
- In-app browser preview confirmed HEARTBEAT_OK count 0 in the astra chat DOM
2026-05-04 23:59:28 -05:00
Vincent Koc
a90be474f4 test: repair current main checks 2026-05-04 05:09:21 -07:00
github-actions[bot]
c59c20e9fd chore(ui): refresh fa control ui locale 2026-05-04 12:05:27 +00:00
github-actions[bot]
1ce136ce16 chore(ui): refresh nl control ui locale 2026-05-04 12:04:59 +00:00
github-actions[bot]
909894c8c4 chore(ui): refresh th control ui locale 2026-05-04 12:04:35 +00:00
github-actions[bot]
df7d18f6d3 chore(ui): refresh vi control ui locale 2026-05-04 12:04:28 +00:00
github-actions[bot]
2db259503b chore(ui): refresh pl control ui locale 2026-05-04 12:04:20 +00:00
github-actions[bot]
4abba333fe chore(ui): refresh id control ui locale 2026-05-04 12:03:58 +00:00
github-actions[bot]
0909ff16d9 chore(ui): refresh uk control ui locale 2026-05-04 12:03:22 +00:00
github-actions[bot]
87e3f3779f chore(ui): refresh it control ui locale 2026-05-04 12:03:17 +00:00
github-actions[bot]
863e8d0c38 chore(ui): refresh tr control ui locale 2026-05-04 12:03:13 +00:00
github-actions[bot]
ea8d5b1877 chore(ui): refresh ar control ui locale 2026-05-04 12:02:50 +00:00
github-actions[bot]
e069675c1d chore(ui): refresh fr control ui locale 2026-05-04 12:02:01 +00:00
github-actions[bot]
47b7df3c5d chore(ui): refresh ko control ui locale 2026-05-04 12:01:57 +00:00
github-actions[bot]
7c696e0e73 chore(ui): refresh ja-JP control ui locale 2026-05-04 12:01:53 +00:00