Commit Graph

1991 Commits

Author SHA1 Message Date
Vincent Koc
968c87d798 fix(ui): move control ui chunking helper out of runtime source 2026-05-25 14:31:38 +02:00
Vincent Koc
dc26069a71 fix(build): keep control ui chunking out of deadcode 2026-05-25 14:24:15 +02:00
Vincent Koc
0bb9b421f3 fix(build): support Windows UI builds 2026-05-25 13:06:56 +02:00
Sergiusz
70c7d6f588 fix(ui): scope chat session picker to active agent (#85965)
* fix(ui): scope chat session picker to active agent

* fix(ui): preserve picker search result bounds

* fix(ui): keep chat picker pagination scoped

* test(ui): mock session subscription sync in chat view test
2026-05-25 20:58:30 +10:00
Peter Steinberger
bbc1772f4d build: enable modern TypeScript module syntax
* build: enable modern TypeScript flags

* build: drop erasable TypeScript syntax flag

* build: keep legacy class field semantics
2026-05-25 10:10:12 +01:00
Val Alexander
ab910f88ad fix: make compaction reinjection opt-in
Summary:
- Make post-compaction AGENTS.md reinjection explicit opt-in for configured sections.
- Carry the run workspace into compaction-safeguard AGENTS.md reads.
- Improve collapsed Control UI tool rows while preserving raw expanded tool details.

Verification:
- CI green on PR head 96101664f0.
- pnpm exec oxfmt --check --threads=1 <changed files>
- OPENCLAW_OXLINT_SKIP_PREPARE=1 node scripts/run-oxlint.mjs <changed ts/mjs files>
- node scripts/run-tsgo.mjs -p test/tsconfig/tsconfig.core.test.json --incremental --tsBuildInfoFile .artifacts/tsgo-cache/core-test.tsbuildinfo
- git diff --check origin/main...HEAD && git diff --check
- node scripts/run-vitest.mjs src/agents/pi-hooks/compaction-safeguard.test.ts src/agents/pi-embedded-runner/extensions.test.ts -t "workspace"
- node scripts/run-vitest.mjs src/auto-reply/reply/agent-runner.misc.runreplyagent.test.ts -t "reads opted-in post-compaction context"
- node scripts/run-vitest.mjs test/scripts/test-projects.test.ts -t "allows explicit split Vitest config targets"
- node scripts/run-vitest.mjs ui/src/ui/chat/tool-cards.test.ts ui/src/ui/chat/tool-cards.node.test.ts ui/src/ui/chat/grouped-render.test.ts ui/src/styles/chat/tool-cards.test.ts
- AUTOREVIEW_AUTO_TESTS=0 .agents/skills/autoreview/scripts/autoreview --mode branch

Fixes #45488.
Fixes #45649.
Supersedes #67090.
2026-05-25 00:59:59 -05:00
Val Alexander
3dd0e8ed6a feat(ui): add ephemeral Activity tab
Fixes #12831.

Adds a Control UI Activity tab at `/activity` under the Control nav group. The tab derives browser-local, memory-only activity entries from the existing `session.tool` / tool-event delivery path and stores only sanitized summaries, hidden-argument counts, and redacted/truncated output previews.

Includes filtering, tool selection, clear, expand/collapse, keyboard-native disclosure rows, auto-follow scrolling, navigation/i18n/docs/changelog coverage, and focused regression tests. Follow-up tracks #54577, #37816, and #47386 remain distinct and open.

Verification:
- `pnpm ui:i18n:sync`
- `git diff --check`
- Focused Vitest coverage for Activity, gateway/tool stream, chat item rendering, navigation, and gateway agent events
- Desktop/mobile browser smoke for sanitized Activity rendering and header de-duplication
- Testbox `pnpm check:changed`: `tbx_01ksen33c79b8rywayf6cxww4r`

Thanks @BunsDev.
2026-05-25 00:45:23 -05:00
Val Alexander
119a01c829 fix(webchat): stabilize live transcript run state
Stabilize WebChat transcript/run-state truth for Codex and selected-session observers.

Summary:
- Mirror Codex inbound prompts at turn start without duplicating suppressed persisted prompts.
- Deliver hidden external-channel live chat/tool/agent updates only to exact selected-session subscribers.
- Repair Control UI selected-session subscription state, alias-aware run adoption, and accumulated stream dedupe.
- Add focused Codex, gateway/session-event, and Control UI regression coverage.

Verification:
- Current-head CI: 101 green, 0 pending; stale canceled entries are superseded automation from prior force-pushed heads.
- Local focused Vitest shards passed: Codex app-server 2 files / 233 tests, gateway/session 4 files / 116 tests, UI 7 files / 238 tests.
- `node scripts/run-tsgo.mjs -p test/tsconfig/tsconfig.core.test.json --incremental --tsBuildInfoFile .artifacts/tsgo-cache/core-test.tsbuildinfo`
- `node --import tsx scripts/check-no-extension-test-core-imports.ts`
- `git diff --check origin/main..HEAD`

Closes #83528.
Closes #82611.
Refs #83949.
2026-05-24 23:07:29 -05:00
Vincent Koc
8bf4f7d4a8 fix(ui): split control ui runtime chunks 2026-05-24 22:20:33 +02:00
David
55f994a8d0 fix(memory-wiki): show vault totals in palace summary (#85824)
* fix(memory-wiki): show vault totals in palace summary

* fix(memory-wiki): avoid zero-page legacy question label

---------

Co-authored-by: nxmxbbd <32288+nxmxbbd@users.noreply.github.com>
2026-05-24 05:11:12 +01:00
Enjou
3b3b2cca9c fix(ui): handle empty strings with minLength constraint in config save (#85850)
* fix(ui): handle empty strings with minLength constraint in config save

Fixes #85831

When saving config in Control UI, required string fields with minLength
constraint (e.g., z.string().min(1)) were sent as empty strings instead
of being unset. This prevented schema defaults from applying.

Solution: coerce empty strings with minLength > 0 to undefined, allowing
schema defaults to take effect during validation.

Added 5 unit tests covering edge cases.

* fix(types): add minLength and maxLength to JsonSchema type
2026-05-24 04:15:21 +01:00
Shakker
5534cad6fc test: cover control ui source reply final retention 2026-05-24 03:37:43 +01:00
Shakker
5e2857477b fix: keep source reply finals live in control ui 2026-05-24 03:37:43 +01:00
Neerav Makwana
c614b59f03 fix(ui): delay WebChat done indicator until reply renders
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-24 02:36:07 +01:00
Peter Steinberger
13c0b1952e feat(ui): control active realtime talk runs
Co-authored-by: Colin <colin@solvely.net>
2026-05-24 02:35:04 +01:00
clawsweeper[bot]
1a60c19743 fix(ui): preserve source config for Control UI saves (#85879)
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
2026-05-24 02:23:09 +01:00
Jason O'Neal
cf70bdcceb fix(webchat): scope attachment button input 2026-05-23 23:59:48 +01:00
sallyom
266f38b261 fix(control-ui): restore light select arrows
Signed-off-by: sallyom <somalley@redhat.com>
2026-05-23 15:43:42 -04:00
Linux2010
ae79e6e5ec fix(web-ui): improve light theme visibility for select arrows and bubble hover
Problem:
- Select dropdown arrow uses hardcoded #888 SVG stroke, barely visible on
  light backgrounds
- Chat bubble hover border uses 28% accent blend, too subtle in light theme
  for meaningful visual feedback

Fix:
- Darken dropdown arrow SVG to #444 in light theme (.cfg-select)
- Increase chat-bubble:hover accent blend from 28% to 48% in light theme
- Add subtle box-shadow on bubble hover for clearer feedback

Fixes: #85713
2026-05-23 15:43:42 -04:00
brokemac79
f4b92f5e6c fix(agents): simplify subagent completion handoff
Simplify native subagent completion handoff and remove manual subagent control surfaces.

Co-authored-by: brokemac79 <martin_cleary@yahoo.co.uk>
2026-05-23 13:50:08 +01:00
github-actions[bot]
33df3be6ca chore(ui): refresh fa control ui locale 2026-05-23 05:41:25 +00:00
github-actions[bot]
908464bbe8 chore(ui): refresh nl control ui locale 2026-05-23 05:41:17 +00:00
github-actions[bot]
62b75f44e0 chore(ui): refresh vi control ui locale 2026-05-23 05:41:05 +00:00
github-actions[bot]
fc4ba31958 chore(ui): refresh th control ui locale 2026-05-23 05:40:51 +00:00
github-actions[bot]
5b1bdd1af8 chore(ui): refresh id control ui locale 2026-05-23 05:40:46 +00:00
github-actions[bot]
534d4b142e chore(ui): refresh pl control ui locale 2026-05-23 05:40:42 +00:00
github-actions[bot]
055c3bd6a5 chore(ui): refresh uk control ui locale 2026-05-23 05:40:21 +00:00
github-actions[bot]
89c5a68951 chore(ui): refresh ar control ui locale 2026-05-23 05:40:11 +00:00
github-actions[bot]
44ca805650 chore(ui): refresh it control ui locale 2026-05-23 05:40:09 +00:00
github-actions[bot]
933b53bf55 chore(ui): refresh tr control ui locale 2026-05-23 05:40:07 +00:00
github-actions[bot]
2240b0e77b chore(ui): refresh fr control ui locale 2026-05-23 05:39:41 +00:00
github-actions[bot]
5fa250b2ed chore(ui): refresh ko control ui locale 2026-05-23 05:39:36 +00:00
github-actions[bot]
f4ea401ccf chore(ui): refresh ja-JP control ui locale 2026-05-23 05:39:30 +00:00
github-actions[bot]
751dde052c chore(ui): refresh es control ui locale 2026-05-23 05:39:27 +00:00
github-actions[bot]
72a9b5b9bc chore(ui): refresh de control ui locale 2026-05-23 05:39:03 +00:00
github-actions[bot]
501b6e075a chore(ui): refresh pt-BR control ui locale 2026-05-23 05:39:00 +00:00
github-actions[bot]
58aa908660 chore(ui): refresh zh-CN control ui locale 2026-05-23 05:38:59 +00:00
github-actions[bot]
88dee79270 chore(ui): refresh zh-TW control ui locale 2026-05-23 05:38:50 +00:00
Alex Knight
bb5abefcf5 fix: smooth chat focus mode layout
Collapse the focused chat chrome, suppress focused-mode header scroll churn, and seed the mock chat UI with enough history to exercise scrolling.
2026-05-23 13:52:02 +10:00
Alex Knight
fe121632ba fix(ui): keep chat picker search current (#85547)
* fix(ui): keep chat picker search current

* test(ui): expand chat picker mock data

* test(openai): satisfy video buffer test typing

* fix(ui): avoid duplicate chat picker search on blur
2026-05-23 11:23:07 +10:00
Alex Knight
d69bcfd933 Revert chat session picker inline search (#85527)
* Revert "fix(ui): keep chat session search inline (#85490)"

This reverts commit 260145374f.

* fix(ui): clear applied chat picker search on empty input

* fix(ui): keep chat picker search current

* fix(ui): scope chat picker svg color fix
2026-05-23 09:39:17 +10:00
Rohit
2e15830d02 fix(dreaming): open report cards from memory palace (#85144) 2026-05-22 15:48:16 -07:00
Peter Steinberger
7e1237032b fix: keep session picker focus separate 2026-05-22 23:01:34 +01:00
Peter Steinberger
7e16a50c7e fix: simplify chat session search 2026-05-22 22:54:21 +01:00
Peter Steinberger
260145374f fix(ui): keep chat session search inline (#85490)
* fix(ui): keep chat session search inline

* fix(ui): tolerate partial chat session search state
2026-05-22 20:52:29 +01:00
Peter Steinberger
664611c1a5 fix(ui): strip ANSI from displayed gateway logs (#85453)
* fix(ui): strip ANSI from displayed gateway logs

* fix: reuse ansi stripping for ui logs
2026-05-22 18:24:22 +01:00
Peter Steinberger
bb4d88e557 fix(ui): hide thinking options for non-reasoning models (#85406)
* fix(ui): hide thinking options for non-reasoning models

* test(ui): satisfy thinking selector lint

* chore(deps): refresh generated shrinkwraps

* test(ui): remove redundant thinking selector assertion
2026-05-22 17:35:33 +01:00
Peter Steinberger
a03a8d91f6 fix(ui): attach pasted data image text (#85392) 2026-05-22 17:35:14 +01:00
Peter Steinberger
99d7c7077e fix(ui): sync talk transcript translations 2026-05-22 16:19:29 +01:00
Vincent Koc
8fc48af091 fix(ui): localize talk transcript labels
Localize realtime talk transcript aria labels and regenerate Control UI i18n fallback metadata.
2026-05-22 23:12:02 +08:00