Commit Graph

2874 Commits

Author SHA1 Message Date
Peter Steinberger
e26a850fbd feat(webchat): lobster pet charm bundle - names, celebrations, poke moods, night owl (#103149)
Every pet gets a seeded name shown via native hover tooltip (rare
palettes carry signature names: Goldie, Boo, Picasso, Patches, Lantern,
Blueberry, OG). A busy->idle mode flip now earns a cheer act (double hop
with a mid-air twirl, claws up) instead of a startle, so the lobster
celebrates finished runs. Three fast pokes make it grumpy for a minute
(angry brows + frown overlay); ten pokes send it off in a huff until a
later scheduled visit (offline pets are on duty and never huff).
Visits between 22:00 and 06:00 local always act sleepy regardless of
personality.
2026-07-10 01:15:20 +01:00
maweibin
8dd45e864e fix(ui): preserve sidebar sessions through reconnect (#102424)
Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-07-10 01:02:10 +01:00
Ayaan Zaidi
f351288a0d chore(repo): remove stale repository artifacts (#103152)
* docs: remove merged cron design document
* chore(repo): remove stale planning and proof artifacts

---------

Co-authored-by: Ayaan Zaidi <hi@obviy.us>
2026-07-10 05:28:12 +05:30
Peter Steinberger
fe2486247b feat(ui): add settings sidebar search (#103138)
* feat(ui): add settings sidebar search

* chore: keep release notes in PR body

* fix(i18n): translate settings search labels
2026-07-10 00:08:13 +01:00
Peter Steinberger
5a93880d7d improve(webchat): compact the model picker reasoning and speed rows (#103127)
Reasoning header drops the '(Default is Off)' reset text and the verbose
'Default (Off)' value: inherited defaults render as a muted level word with
no reset, overrides render strong with an icon-only reset. The Faster/
Smarter scale row is removed along with its i18n keys, and the menu gets
tighter dimensions (392px wide, shorter model rows). Screen readers keep the
verbose default phrasing via aria-valuetext.
2026-07-09 23:46:37 +01:00
Peter Steinberger
af3a76f320 fix(ui): refresh session windows after events (#103134)
* fix(ui): refresh session windows after events

* chore: defer session fix release note
2026-07-09 23:43:07 +01:00
Peter Steinberger
7c38c78f43 feat(webchat): lobster pet visits instead of living in the corner (#103111)
The sidebar pet becomes a seeded guest: ~25% of loads never get a
visit, the rest see arrivals after 15s-3min, stays of 1.5-5min, and
returns after 6-18min, all from a dedicated seeded RNG stream. Each
arrival re-rolls its perch: the classic ledge above the footer divider
or standing inside the footer bar next to the gateway status dot
(size-clamped). Gateway disconnects always summon the pet - even shy
ones - until the connection returns. Right-click shoos it away for the
rest of the page load and also beats offline summons. A new 'Lobster
visits' toggle in Settings -> Appearance (client-side UiSettings pref,
only opt-out persists, live via the theme.refresh republish channel)
disables visits entirely. New quickSettings.appearance i18n strings
synced across locale bundles.
2026-07-09 23:29:28 +01:00
Peter Steinberger
ecad886cd1 feat(ui): redesign cron/tasks summary cards and give both nav routes distinct icons (#103122)
* feat(ui): redesign cron/tasks summary cards and give both nav routes distinct icons

* fix(i18n): translate new control-ui strings and resync raw-copy baseline
2026-07-09 23:10:02 +01:00
Peter Steinberger
d2163e672c fix(ui): keep hidden sessions out of configured-only lists (#103101)
* fix(ui): preserve session list event scope

Co-authored-by: 0668001336 <wang.lizhang@xydigit.com>

* test(ui): scope session filter e2e locator

---------

Co-authored-by: 0668001336 <wang.lizhang@xydigit.com>
2026-07-09 23:03:38 +01:00
Peter Steinberger
db44b284ff fix: keep usage day buckets correct across DST (#103097)
* fix: bucket usage days across DST

* docs: document DST-aware usage dates

* perf: reuse usage day formatters

* fix: preserve usage fallback on older gateways

* docs: normalize usage changelog entry

* docs: leave release changelog unchanged

* fix: handle skipped timezone dates
2026-07-09 22:39:57 +01:00
Peter Steinberger
d793575a76 improve(webchat): picker speed control becomes a single fast-mode toggle (#103104)
* improve(webchat): replace picker speed buttons with a fast-mode toggle

Speed is now one bolt toggle per provider contract: OpenAI toggles the
priority tier (Standard/Fast), other fast-mode providers toggle between the
inherited default and fast; auto and explicit standard stay reachable via
/fast and render truthfully. openrouter is removed from the supported set
because it has no runtime fast-mode mapping. Also fixes a render freeze
shipped with the immediate-apply picker: the slider drag preview wrote
textContent into a Lit-managed span, ejecting its ChildPart markers and
breaking every later menu render.

* fix(webchat): keep unmapped-provider speed overrides clear-only

* fix(webchat): make the active speed toggle always write an explicit off
2026-07-09 22:10:56 +01:00
Peter Steinberger
62de86c978 fix(ui): split-view pane header opens a hidden session dropdown when clicked (#103107)
* fix(ui): replace split pane header session select with a static title

* test(ui): focus split pane button in chat-flow e2e after select removal
2026-07-09 22:03:48 +01:00
Simon-XYDT
bb16ca50d6 fix(identity): keep bounded identity values UTF-16 safe (#103034)
* fix(identity): keep bounded values UTF-16 safe

Co-authored-by: simon-w <weng.qimeng@xydigit.com>

* test(identity): cover reachable surrogate boundary

---------

Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-07-09 21:27:01 +01:00
Peter Steinberger
45f571e739 feat(webchat): lobster pet shape variants (build, claw size, tail fan) (#103091)
Adds three seeded shape traits composable with all existing looks:
round/squat/slender builds via aspect-ratio stretch (svg renders with
preserveAspectRatio=none so eyes, claws, accessories, and rare-variant
geometry stay aligned), dainty/regular/mighty claw sizes scaled on the
paths inside the claw groups so wave/snip act animations still compose,
and a ~30% tail fan with lobes peeking out behind the lower body. Shape
rolls come after the original traits in the RNG sequence, so existing
seeds keep their palette and personality. The sprite svg gains
overflow: visible so scaled mighty claws are not clipped at the viewBox
edge; the host strip still owns the ledge clipping.
2026-07-09 21:23:20 +01:00
Peter Steinberger
127a2c550d feat(ui): add single-key shortcuts to session and link context menus (#103090)
Session menu items (Open chat, Pin, Mark unread, Rename, Fork, Workboard,
Archive, Delete) and native link menu items (Sidebar, Browser, Copy) now
render right-aligned accelerator hints and activate on bare letter keys
while the menu is open. Disabled items and modified keystrokes are ignored;
buttons expose aria-keyshortcuts.

Closes #103086
2026-07-09 21:16:28 +01:00
Shakker
88f2785a0f test: cover session workspace shortcut hint 2026-07-09 19:30:37 +01:00
Shakker
fe8e0bd508 test: cover session workspace keyboard shortcut 2026-07-09 19:30:37 +01:00
Shakker
d909af51a0 test: cover session workspace toggle 2026-07-09 19:30:37 +01:00
Shakker
56a398725d feat: show session workspace shortcut 2026-07-09 19:30:37 +01:00
Shakker
60f25c31c6 feat: toggle session workspace from keyboard 2026-07-09 19:30:37 +01:00
Shakker
58f53ed326 refactor: centralize session workspace toggle 2026-07-09 19:30:37 +01:00
Peter Steinberger
5013f4a166 test(ui): harden device token revoke flow (#103016) 2026-07-09 18:12:14 +01:00
Peter Steinberger
491e1e5f10 fix(ci): sync Nodes raw-copy baseline (#102968) 2026-07-09 16:43:00 +01:00
Peter Steinberger
d8d369b065 feat(macos): open dashboard links in a sidebar browser (#102899)
* feat(macos): add dashboard link browser

* fix(macos): preserve browser navigation state

* fix(macos): preserve accessible external link activation

* fix(macos): preserve trusted editor handoff

* docs: refresh dashboard link map

* chore: keep dashboard release note in PR

* fix(macos): harden sidebar browser lifecycle
2026-07-09 16:40:50 +01:00
Peter Steinberger
4bf348bec8 test(ui): isolate chat pane custom-element registration (#102869)
* test(ui): isolate chat pane registration

* test(ui): document shared registry invariant

* test(ui): isolate chat page environment
2026-07-09 15:54:03 +01:00
Peter Steinberger
b80062be3a improve(ui): drop the redundant desktop top bar and add back/forward navigation to the macOS app (#102808)
* feat(ui): drop the desktop top bar in favor of sidebar navigation

The Control UI top bar only rendered the OpenClaw › agent › page breadcrumb
on desktop, duplicating the sidebar. Desktop now renders no topbar row; the
row returns solely as the chat split toolbar's backdrop. Narrow viewports
keep the header (drawer toggle, brand, command-palette search) and now show
the brand across the whole drawer range. Routing already uses pushState, so
browser back/forward traverses navigation.

* feat(macos): add back/forward controls to the dashboard window

Native titlebar buttons next to the traffic lights drive WKWebView history,
which carries the Control UI's pushState navigation; enabled state tracks
canGoBack/canGoForward via KVO and trackpad swipe gestures are enabled too.
Back/forward traversals to entries from a replaced gateway endpoint cancel
silently instead of opening a dead URL in the system browser.

* fix(macos): keep the dashboard drag strip off the web content column

With the desktop topbar row removed, the 28px mid-window drag region sat on
top of the content column (chat thread has no top padding) and swallowed
clicks as window drags. Shrink it to a 12px edge strip; the sidebar region
over the reserved native-chrome padding stays the primary drag surface.
2026-07-09 15:46:59 +01:00
Peter Steinberger
8985598302 fix(gateway): stop paired-device duplication and redesign the Nodes page (#102810)
* fix(gateway): prune superseded silent device pairings on auto-approve

* feat(ui): unified nodes & devices inventory with dedupe and cleanup

* docs: nodes page inventory + silent pairing supersede cleanup

* refactor(gateway): run silent-pairing prune after approval broadcast

* fix(ui): surface node list errors on the nodes inventory card

* fix(gateway): restrict pairing auto-prune to same-host silent approvals

* fix(gateway): report live device connections and guard pairing prune races

* docs(ui): document bulk-cleanup name-collision tradeoff

* fix(gateway): avoid map-spread when marking live device connections

* docs: regenerate docs map
2026-07-09 15:40:30 +01:00
Peter Steinberger
3e492e0146 test(ui): scope default agent selector (#102902) 2026-07-09 15:39:59 +01:00
Peter Steinberger
428c68a3c7 feat: show provider plan usage (5h/weekly/credits) in the chat context popover, keep API cost for API billing (#102784)
* feat(usage): route claude-cli to Anthropic plan usage with plan label and billing

* feat(webchat): redesign context popover with plan-usage bars and API-cost gating

* fix(usage): match plan usage across CLI provider aliases and source plan label from synced auth profile

* docs(plugins): document plan metadata on usage auth token

* chore(usage): document provider-level billing attribution limits, fix overview test types

* fix(webchat): avoid map-spread in quota group collection

* test(webchat): deflake subscription popover reset fixture
2026-07-09 15:36:13 +01:00
Peter Steinberger
772e0f7683 fix(ui): hide Workboard selects before positioning (#102867)
Co-authored-by: wm0018 <wu.min5@xydigit.com>
2026-07-09 15:25:01 +01:00
Peter Steinberger
2ff33f97eb improve(webchat): model picker applies changes immediately, no Save/Discard row (#102871)
* feat(webchat): apply model picker changes immediately, drop Save/Discard row

* test(webchat): keep unavailable-default picker assertion

* fix(webchat): render picker check marks only on the selected row

* fix(webchat): lock reasoning and speed while a model switch is pending

* fix(webchat): guard immediate picker patches against stale rollbacks

* docs(webchat): note send gating invariant in picker commit path
2026-07-09 15:23:39 +01:00
Peter Steinberger
5ef269c2bb fix: keep bounded Unicode text valid across UTF-16 boundaries (#102823)
* fix(text): keep bounded output UTF-16 safe

Co-authored-by: 黄剑雄0668001315 <huang.jianxiong@xydigit.com>
Co-authored-by: 0668000539 <shu.zongyu@xydigit.com>
Co-authored-by: 张鹊平0668001085 <zhang.queping@xydigit.com>
Co-authored-by: 赵旺0668001248 <zhao.wang1@xydigit.com>
Co-authored-by: 陈宪彪0668000387 <chen.xianbiao@xydigit.com>
Co-authored-by: lizeyu-xydt <li.zeyu@xydigit.com>

* chore(changelog): defer release note to automation

* refactor(qa-lab): keep text helper behind SDK

---------

Co-authored-by: 黄剑雄0668001315 <huang.jianxiong@xydigit.com>
Co-authored-by: 0668000539 <shu.zongyu@xydigit.com>
Co-authored-by: 张鹊平0668001085 <zhang.queping@xydigit.com>
Co-authored-by: 赵旺0668001248 <zhao.wang1@xydigit.com>
Co-authored-by: 陈宪彪0668000387 <chen.xianbiao@xydigit.com>
Co-authored-by: lizeyu-xydt <li.zeyu@xydigit.com>
2026-07-09 15:21:23 +01:00
Peter Steinberger
b8cdb93f6f refactor(ui): simplify Lit state ownership (#102848)
Co-authored-by: Peter Steinberger <peter@steipete.me>
2026-07-09 07:15:19 -07:00
Peter Steinberger
70bb770e6b feat(webchat): rare lobster pet variants incl. retro homage to the classic logo (#102829)
* feat(webchat): rare lobster pet variants modeled on real lobster genetics

Extends the sidebar pet's palette ladder with a rare tier: blue (7%),
calico with mottled spots (3%), deep-sea abyss with glowing eye glints
(2%), translucent ghost/albino (1%), and a bicolor split two-tone with
mismatched claws and antennae (1%). Weights loosely mirror real-world
odds (blue ~1 in 2M, calico ~1 in 30M, split ~1 in 50M, ghost ~1 in
100M). Offline mode still greys out every variant's glints. Drops the
unused --lob-dim inline variable.

* feat(webchat): retro grail variant honoring the classic OpenClaw logo

Adds a ~0.5% super-rare 'retro' lobster pet: classic logo red with a
white sticker-outline halo, one oversized raised claw with a pincer
notch (small left pincher stays), determined angled brows, a smirk, and
tall V antennae. The mega claw rides the .lob-claw--r group so wave and
snip acts swing it.
2026-07-09 15:14:11 +01:00
Peter Steinberger
2f013382a0 feat(ui): add settings profile page with lifetime token stats, streaks, and activity heatmap (#102842)
* feat(ui): add settings profile i18n strings and regenerated locale bundles

* feat(ui): add settings profile page with token stats, streak heatmap, and top tools

* chore(ui): record intentional OpenClaw brand string in raw-copy baseline
2026-07-09 15:03:12 +01:00
xingzhou
763ef215e0 fix(ui): keep event payload previews UTF-16 safe (#102625)
* fix(ui): keep event payload previews UTF-16 safe

* chore: use shared utf16 truncator in presenter

* fix(ui): use canonical utf16 truncator import

* refactor(ui): reuse canonical text truncation

---------

Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-07-09 15:01:17 +01:00
Peter Steinberger
f9bafcc240 feat(ui): show agent avatars in the agents page selector (#102817)
Replace the native <select> on the Agents page with an accessible custom
listbox dropdown (openclaw-agent-select) that renders each agent's avatar
image, identity emoji, or initial. Local /avatar/<id> routes are fetched
with the bearer credential and rendered as cached blob URLs when gateway
token auth is active, matching the chat-avatar contract.

Refs #102792, #57067
2026-07-09 14:55:25 +01:00
Peter Steinberger
25e18fc3b5 fix(ci): sync lobster pet raw-copy baseline 2026-07-09 09:21:08 -04:00
Peter Steinberger
fdd19e3017 feat(ui): merge the voice level meter into the stop-voice pill and disambiguate the stop controls (#102786)
* feat(ui): merge voice level meter into the stop-voice pill and disambiguate stop controls

* docs(web): describe the live voice pill control in Talk mode

* test(ui): capture dark-mode voice control proof in talk e2e

* fix(ui): keep the live voice pill wide at phone widths

* fix(ui): show the stop glyph instead of a fake listening meter when a talk session errors

* test(ui): assemble the mock talk client secret so scanners do not flag it
2026-07-09 13:55:56 +01:00
Peter Steinberger
07a7d596ff feat(providers): add Qwen 3.6 Flash and Gemini 3.1 Live (#102791)
* feat(providers): add current Qwen and Gemini Live models

* fix(google): align live thinking enum type

* fix(google): align live thinking enum type
2026-07-09 13:37:16 +01:00
Peter Steinberger
01f4596d5a feat(webchat): sidebar lobster status pet (seeded per session) (#102766)
* feat(webchat): composer lobster mascot perches on the empty prompt

A decorative OpenClaw lobster (smooth icons.lobster style) sits on the
composer edge while the prompt is idle, ducks away on typing/runs, and
plays personality-weighted idle acts (scuttle, wave, snip, hop, spin,
peek, bubbles, nap with z's; poke to startle). Look and personality are
seeded per session + page load: palette, size, antennae, accessory,
perch, facing, temperament. Decorative contract: aria-hidden, no config,
reduced-motion stays fully static, timers pause on hidden tabs and clean
up on disconnect. Hidden on short-landscape viewports where the composer
scrolls.

Closes #102754

* refactor(webchat): move lobster mascot from composer to sidebar status pet

The composer perch read too close to Claude Code's input mascot. The pet
now lives on the sidebar footer ledge above the connection dot and
mirrors gateway state: idle personality acts when quiet, a faster scurry
pool while runs are active, grey-eyed worried pacing while disconnected,
and a startle on every status flip. Composer wiring reverted; element
renamed openclaw-lobster-pet; hidden in the collapsed rail.
2026-07-09 13:34:29 +01:00
Peter Steinberger
deb7faf7b0 refactor(ui): harden Lit lifecycle boundaries (#102745)
* refactor(ui): harden Lit lifecycle boundaries

* fix(ui): clear ChatPage subscriptions before teardown

* test(ui): satisfy lifecycle lint gates

* chore: defer Lit lifecycle release note

* fix(ui): sync raw-copy baseline

* test(ui): avoid order-sensitive Sessions mock

---------

Co-authored-by: Peter Steinberger <peter@steipete.me>
2026-07-09 05:28:52 -07:00
Peter Steinberger
e45e755fb9 feat(ui): add native link routing bridge (#102783) 2026-07-09 13:26:24 +01:00
Vincent Koc
aaf5ddd832 refactor(ui): localize internal declarations (#102793) 2026-07-09 05:16:06 -07:00
Peter Steinberger
5f9e0e20d4 fix: scope task suggestions to supported surfaces (#102743)
* fix: make task suggestions surface-aware

* fix: honor task suggestion action scopes

* fix: align task surface compatibility types

* fix: isolate task suggestions across surfaces

* style: satisfy task selector lint

* chore: defer task suggestion release note

* test: dedupe gateway capability fixture

* test: cover combined gateway capabilities
2026-07-09 12:59:50 +01:00
Peter Steinberger
c9b3358d43 improve(ui): flatten sessions page surfaces (#102760)
Drops the decorative layer from the sessions roster per maintainer feedback:
overview tiles, the drawer hero, detail sections, stat cards, checkpoint
cards, and the goal chip become flat token surfaces (no gradients, no inset
highlight shadows, no translucent color-mix glass); kind avatars and overview
icon chips lose their nested borders and read as flat tints; the skeleton
shimmer gradient becomes a plain opacity pulse. Focus rings, the drag-drop
target outline, and the live status dot ring stay - those are signal, not
decoration.
2026-07-09 12:55:24 +01:00
Peter Steinberger
8d6c54f513 improve(ui): remove the Context Profile presets card from Quick Settings (#102748)
* fix(control-ui): remove the Context Profile presets card from Quick Settings

* fix(control-ui): regenerate i18n raw-copy baseline after Gateway Host card rebase
2026-07-09 12:50:50 +01:00
Peter Steinberger
3ccf2a0739 feat: render inline web chat widgets via capability-gated show_widget tool (#101840)
Adds client-capability-gated tool availability: gateway clients declare
capabilities at connect (new inline-widgets cap), chat.send stamps them into
the run context, and every tool assembly path (embedded runner, queued
followups, Codex app-server harness, plugin-only construction plans) drops
tools whose requiredClientCaps the originating client did not declare. The
Canvas plugin ships the first such tool, show_widget: agents pass SVG or an
HTML fragment plus a title; the plugin hosts it as a bounded, retention-scoped
Canvas document and returns the existing canvas preview handle, which web chat
renders as a sandboxed iframe fitted to the widget's reported content height.
Widget frames never get allow-same-origin (per-preview sandbox ceiling,
including the sidebar path) and the Canvas host serves widget documents with a
CSP sandbox header so direct navigation runs in an opaque origin. Verified
live end-to-end on a Testbox with gpt-5.5 (screenshots on the PR). CLI-backed
model backends do not carry client caps yet and stay fail-closed (#102577).

Closes #101790
2026-07-09 12:29:50 +01:00
Peter Steinberger
2806195e11 feat(ui): redesign Gateway Host settings card as identity block with resource meters (#102714) 2026-07-09 12:22:30 +01:00
Peter Steinberger
7abf1c7f85 improve(ui): calmer sessions roster with dot status and drawer-level runtime (#102664)
Feedback pass on the sessions redesign: status pills become a plain colored
dot + label (green pulse for live, green dot with neutral label for done,
muted idle, red failed) in both the roster and the drawer hero, and the
Runtime column moves out of the table into the row drawer as Runtime (agent
runtime) plus Run duration. Runtime stays searchable. Responsive breakpoints
reflow for the 7-column roster and the actions column shrinks to the chevron
and row menu that landed in #102564.

Closes #102654
2026-07-09 12:13:19 +01:00