Commit Graph

1374 Commits

Author SHA1 Message Date
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
github-actions[bot]
510a2dc80c chore(ui): refresh es control ui locale 2026-05-04 12:01:49 +00:00
github-actions[bot]
ad534fdb1b chore(ui): refresh pt-BR control ui locale 2026-05-04 12:01:00 +00:00
github-actions[bot]
bd183072e4 chore(ui): refresh zh-TW control ui locale 2026-05-04 12:00:48 +00:00
github-actions[bot]
1d16ce3f24 chore(ui): refresh de control ui locale 2026-05-04 12:00:43 +00:00
github-actions[bot]
a68c6e20e9 chore(ui): refresh zh-CN control ui locale 2026-05-04 12:00:39 +00:00
Val Alexander
8469a51326 Control UI explicit action feedback
Add explicit Control UI feedback for repeated actions: session switches now announce through the chat controls live-status path and flash the active session selector, config actions show inline busy state, and session list empty states distinguish filtered results with a Show all reset. Also refresh generated Control UI locale metadata and fallback markers.
2026-05-04 06:58:31 -05:00
Vincent Koc
a7c5a04259 test: stabilize full crabbox sweep 2026-05-04 04:07:33 -07:00
Peter Steinberger
a9f1882047 test: harden plugin and UI isolation checks 2026-05-04 11:46:05 +01:00