Commit Graph

2824 Commits

Author SHA1 Message Date
Peter Steinberger
5476930568 improve(ui): mark the default model inline (#103484)
* improve(ui): mark the default model inline

* chore: leave changelog to release workflow

---------

Co-authored-by: Peter Steinberger <peter@steipete.me>
2026-07-09 23:54:43 -07:00
Peter Steinberger
4a72a6cb2f feat(ui): move app chrome into a topbar and dock the session workspace rail (#103426)
* feat(ui): move app chrome into a topbar and dock the session workspace rail

The desktop shell now uses a slim topbar for brand, primary navigation
(Chat + pinned routes + More menu), command-palette search, pairing,
theme, and Settings; the left column slims down to a sessions-only
panel (Cmd+B hides it entirely — the 78px icon rail is gone). Split
view drops the fixed geometry-mirroring toolbar for in-flow per-pane
headers. The session workspace rail can dock right or bottom inside
its pane — drag its header between edges or use the dock button — and
the collapsed strip's file glyph is now a real button (it used to be a
dead, button-looking span) with a changed-file count badge. The Mac
app's injected chrome CSS slims down accordingly; its drag-region
geometry is unchanged and the topbar brand strip stays passive under
it.

* chore(ui): regenerate locale bundles for topbar and workspace dock strings

* fix(ui): keep the native macOS drawer clear of the titlebar overlay

The narrow-width slide-over drawer sits fixed at the window top, over
the AppKit traffic lights and drag regions. The old Mac-app-injected
CSS padded .sidebar-shell for this; that rule moved web-side for the
desktop topbar, so restore drawer clearance here for both the app
drawer and the in-drawer settings sidebar.

* chore(ui): translate topbar and workspace dock strings; regen docs map
2026-07-10 07:32:57 +01:00
Peter Steinberger
20bc552590 feat(webchat): pass-through visitors - strangers and the crab (#103352)
Roughly one load in ten, someone else walks across the footer ledge
once and leaves: usually a stranger lobster wearing a palette the
resident pet does not (hover: 'a stranger'), and on rare loads a crab
(hover: 'definitely a lobster') - wide shell, eye stalks, walks
strictly sideways, smug about it. Passers never perch, never react,
and never count for the Lobsterdex. Planned by a pure per-seed
function, gated by the visits setting, skipped under reduced motion,
and their timers reset with the seed and clean up on disconnect.
2026-07-10 07:22:09 +01:00
Peter Steinberger
7bb3df9b89 feat(webchat): lobster pet sentience - gaze, petting, honest reactions, vigil (#103344)
The pet watches your pointer between acts (facing follows the cursor,
throttled, reduced-motion inert). Press-and-hold now pets it - content
closed eyes and a floating heart - while a quick tap stays a poke.
Run endings are honest: resolveLobsterRunOutcome picks the most recently
ended session (endedAt first, activity stamps as fallback) so successes
cheer, failures earn a sympathetic droop with sagging antennae, and
user-aborted runs just get an acknowledging startle. Runs longer than
ten minutes summon the pet into a settled vigil pose that pauses all
acts until the run ends.
2026-07-10 06:54:29 +01:00
maweibin
f15f2d1092 fix(ui): normalize Unicode line/paragraph separators in markdown rendering (#102169)
* fix(ui): normalize Unicode line/paragraph separators in markdown

LLM outputs can contain U+2028/U+2029 chars that split() ignores,
causing content to render as one unbroken line in the chat UI.

Define LINE_SEP_RE using String.fromCodePoint() and apply it
alongside existing \r\n normalization in all five markdown
processing entry points. Mirrors normalizeDisplayLineBreaks()
in exec-approval-command-display.

* fix(ui): normalize markdown line breaks once

---------

Co-authored-by: Peter Steinberger <peter@steipete.me>
Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-07-10 06:38:07 +01:00
Peter Steinberger
a39a3ee1d0 fix(ui): reserve the pointer cursor for real links across the Control UI (#103411) 2026-07-10 06:29:19 +01:00
Peter Steinberger
2541720773 fix(ui): prevent stale locale elements in shared test runs (#103345)
* test(ui): isolate locale-sensitive custom elements

* chore: keep release notes in PR
2026-07-10 05:46:23 +01:00
Peter Steinberger
d3fae3c783 fix(ui): use default cursor for sidebar sessions, reserve pointer for links (#103357) 2026-07-10 05:41:01 +01:00
Peter Steinberger
a4d2d676f1 fix(ui): stabilize locale-reactivity tests (#103338) 2026-07-10 05:26:42 +01:00
Peter Steinberger
98b8c8c4ae feat(memory-wiki): isolate vaults per agent (#103349)
* feat(memory-wiki): isolate per-agent vaults

Refs #63829.

Co-authored-by: SunnyShu <shu.zongyu@xydigit.com>

* fix(memory-wiki): scope agent status metadata

Refs #103088 and #103196.

Co-authored-by: SunnyShu <shu.zongyu@xydigit.com>

---------

Co-authored-by: SunnyShu <shu.zongyu@xydigit.com>
2026-07-10 05:19:13 +01:00
Peter Steinberger
e8fcc93cd3 fix(talk): await realtime tool result delivery (#103268)
* fix(talk): await realtime tool result delivery

* fix(talk): terminally cancel queued results

* chore: keep release changelog out of PR

---------

Co-authored-by: Peter Steinberger <peter@steipete.me>
2026-07-09 20:11:20 -07:00
Peter Steinberger
5bdd580320 fix(ui): refresh profile and agent selector after language changes (#103293)
* fix(ui): refresh mounted translations

* chore: keep release notes in PR

---------

Co-authored-by: Peter Steinberger <peter@steipete.me>
2026-07-09 20:07:21 -07:00
Ayaan Zaidi
6da0af1cd3 fix(ci): use public plugin-sdk test seams and refresh generated surfaces 2026-07-10 07:53:37 +05:30
Ayaan Zaidi
9cca9afa70 feat(ui): accept dashboard bootstrap tokens 2026-07-10 07:53:37 +05:30
Peter Steinberger
67ff8dfc15 fix(ui): apply selected reasoning and speed before sending (#103253)
* fix(ui): gate sends on pending session settings

* chore(ui): keep changelog release-owned
2026-07-10 03:14:23 +01:00
Peter Steinberger
10b50843e7 feat(webchat): the Lobsterdex - a quiet collection of every lobster that visited (#103172)
Arrivals (visits and offline summons) log their palette id into a
best-effort localStorage set. Settings -> Appearance gains a Lobsterdex
row: mini canonical lobsters for all twelve palettes, seen ones in
color (grails keep their glow/translucency via the palette classes),
unseen ones as dim silhouettes, with a seen/total count. Minis render
standalone (closed-lid layer inline-hidden) since they live outside the
pet's CSS context. New quickSettings.appearance strings synced across
locale bundles.
2026-07-10 02:44:24 +01:00
Peter Steinberger
f12a92d3ca fix(ui): settle canonical session refreshes in lifecycle E2Es (#103224)
* test(ui): settle canonical session refreshes

* test(ui): isolate stale session event assertions
2026-07-10 02:34:15 +01:00
Peter Steinberger
874e4a2d40 feat(webchat): dreams scene sleeps your seeded lobster cameo (#103167)
The dreams page's generic sleeper is replaced by the agent's own seeded
lobster (same look system as the sidebar pet) rendered with a new
sleeping option: pupils hidden, closed-lid curves inline-visible so the
cameo needs no lobster-pet CSS context. Palette vars are supplied by
the cameo wrapper. Deletes the bespoke dreams svg.
2026-07-10 02:15:10 +01:00
Peter Steinberger
9e6900fc9f feat(webchat): seasonal lobster pet wardrobe and anniversary dress code (#103158)
December visitors can roll a santa hat and Oct 20-31 a pumpkin (extra
weighted entries joining the accessory pool on the right dates; one
roll either way so seeds keep the rest of their look). On Nov 24 - the
repository's birthday (GitHub created_at 2025-11-24) - every visitor
dresses as the classic-logo retro with a party hat and confetti-colored
z's. Look generation takes an injectable date so seasonal behavior is
pure and testable; existing look tests pin a neutral date.
2026-07-10 02:01:01 +01:00
Peter Steinberger
b0e77bbe72 feat(webchat): rare lobster pet events - molting and twin visits (#103154)
~12% of loads plan a molt: during the first idle act the pet shivers,
squashes, and pops one size tier bigger, leaving its old shell behind
as a frozen, washed-out silhouette that fades over a minute. The shell
keeps the true pre-molt size, respects dismissal and the visits
setting, and its timer resets with the seed. ~4% of loads are twin
days: a mini copycat ('<name> Jr.') tags along on the parent's trailing
side and mirrors every act a beat later via an act-delay variable
threaded through the act animations. Rare-event plans are pure
per-seed functions so tests probe them directly.
2026-07-10 01:32:42 +01:00
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