Keep every live floating-panel host registered under its name. When one host unmounts, the surviving workspace can still position the slash and file pickers.
Closes#8945.
Co-authored-by: likaixuan <likaixuan@mucang.cn>
* feat(app): add Archive workspace to the mobile workspace actions menu
The compact header's actions menu had no way to archive the open workspace; it
was only reachable from the sidebar row or the keyboard shortcut. The route-keyed
archive logic behind the shortcut now lives in useActiveWorkspaceArchive so the
menu and the shortcut share one path (confirmation, undo toast, redirect).
* fix(app): redirect after archive from where you are now, not where the header was
The archive starts after the host check and confirmation. The header that began
it can be gone by then, and its last-rendered route would still match the
archived workspace, replacing the workspace you had since opened. Read the
current selection from the navigation owner when the archive starts.
* fix(app): skip the post-archive redirect when you have left workspace routes
The last-remembered workspace selection survives opening Settings, so an archive
that finished while Settings was open still redirected away from it. Read the
focused route instead, which is null on any non-workspace screen.
The Turn stats button narrows the timing column. On web, preserved spaces at soft wraps extend the timing text range past the button. Collapse wrapping spaces for the timing labels and include Turn stats in the existing hover stability check.
* feat(providers): let providers report session and turn metrics
Providers know things about a session and a turn that Paseo cannot derive:
timing, token flow, cache use, cost, the model that answered. They can now
report them as label/value rows that Paseo carries to clients unchanged, so
each provider decides which metrics make sense and how they read.
Session metrics live on the agent record and snapshot. Turn metrics are
stamped on the turn's footer row (last assistant message, else last tool
call) so they survive reload, pagination and a daemon restart, and so the
live turn_completed event and a later timeline fetch agree. Provider history
replay restores both.
Metrics are sanitized once where they enter the agent manager. The wire
schemas validate whole messages, so one malformed row from a provider would
otherwise make clients drop an entire snapshot, turn event or timeline page.
A live completed turn with no Model metric gets the agent's model, so every
provider shows model attribution before it is instrumented. Replayed turns do
not: they may have run on a different model than the agent has now.
Plugin providers publish session metrics behind a negotiated
`session.metrics` capability because an older daemon closes a connection
that sends an event type it does not know. Turn metrics ride an existing
event that older daemons strip, so they need no gate.
The wire additions are optional fields on existing schemas only.
* feat(providers): report session and turn metrics from OpenCode, OMP, Pi and Claude
Each provider now attaches metrics to turn_completed and emits
session_metrics_updated, live and when history is replayed.
- Live turns end on the adapter's clock. A provider's message timestamps
can come from another clock.
- Tool time merges overlapping runs, so parallel tools count once.
- A total that is missing any part is hidden, so a partial total is
never shown.
- Replayed history reports metrics only for turns that finished, which
matches live, where failed and interrupted turns report none.
- Claude reports cost as a running total for each query(). A resumed
query starts that total from a saved one, so a turn's cost is the
change since the previous result of the same query. The first turn of
a query shows no cost.
- Claude transcripts do not record result messages, so replayed Claude
history has no turn metrics.
- Session metrics come from each provider's own cumulative counters. The
cache hit is the last reply's or the last turn's, because a session-wide
figure blends prompts from before and after compactions.
* feat(app): show provider session and turn metrics
Session metrics appear in the context window details, between the context summary and the
account usage cards. A provider-reported Cost row replaces the app's own session cost line.
Each completed turn with metrics gets a stats button in its footer: a hover card on web, a
press-opened tooltip on native wide screens, and a sheet on compact screens. The context window
sheet becomes a shared DetailsSheet so both use the same content-sized sheet.
Metrics ride on the row that hosts the turn's footer (the turn's last assistant message, else its
last tool call), the same row the daemon stamps. Live turn_completed events and timeline pages
both stamp that row, so a refetch agrees with what the live event showed.
The daemon updates session metrics without bumping updatedAt, like usage, so a stale buffered
upsert may still carry the newest metrics and is accepted for that field.
* fix(app): keep a turn's stats after the cached timeline reloads
The local timeline cache dropped turnMetrics when it saved a turn's footer row. After a page
reload the cached rows painted without the stats icon, and the catch-up fetch had no new
entries to stamp them from.
* fix(providers): keep imported session stats and never count a steered turn short
Importing a Pi, Oh My Pi or OpenCode v2 session dropped the stats the provider returned with its
history, so imported chats showed none until a forced replay. Import now carries them the way
replay does.
Replaying a Pi or Oh My Pi transcript read a prompt that steered a running turn as the start of a
new turn, so the steered turn's stats counted only the steps after the steer. A turn that follows
one ending on tools now reports no total, because the transcript reads the same as a stop and a
new prompt.
* fix(providers): keep stats through merged messages and plugin imports, start Pi first-token timing at the request
A message the timeline merges from several chunks keeps the stats stamped on its last chunk. Plugin session imports carry the stats the plugin replayed, through the same history reader the other providers use. Steers queued together after an unclear turn stay unclear instead of attributing the final reply to the wrong turn. Pi measures time to first token from the request, not the first reply header.
* fix(providers): carry a turn's stats onto the message the timeline merges from text chunks
The previous change put the carry-over in the reasoning merge. The assistant message merge dropped the stats of its last chunk, so an imported reply of two text blocks lost its Turn stats button.
* fix(providers): carry a turn's stats onto the tool card the timeline merges from updates
An imported turn that ends on a tool call stamps the stats on the tool's last update. The tool merge kept the first update's fields, so the stats were lost.
* fix(opencode): replay no session stats for a session that has none
An empty OpenCode session replayed a session stats event with no metrics, which broke the empty-history check in the versioned runtime test.
* feat(usage): enable sidebar usage summary by default and add dedicated Sources list
Show the sidebar Usage summary by default instead of requiring opt-in in
Appearance settings, while honoring explicit off preferences and continuing
to hide the row when no enabled source has pinned windows.
Let usage sources declare optional provider hints (`providers` on the
registration and `provider` on discovered accounts) so the daemon can mark
reports `defaultEnabled: false` when their hinted providers are neither
enabled nor installed, keeping usage sources decoupled from agent providers
while avoiding clutter from leftover credentials.
Move per-source show/hide controls out of individual card headers into a
dedicated `Sources` submenu inside Usage Settings (with tri-state
`cardVisibility` preferences migrating legacy `cardsOff`) so disabled
sources stay out of the main card list.
* fix(usage): resolve provider hints per report, refresh on forceRefresh, and clarify inactive copy
Resolve each usage report's provider activity hint in parallel with its
fetch and enforce a real timeout deadline in `isProviderActiveForUsage` so
a slow provider probe never holds back unrelated reports or hangs past the
deadline on non-abortable plugin RPCs.
Give the availability hint a 5-minute freshness TTL and re-probe when
`forceRefresh` is requested, retaining the fresher probe result across
subsequent normal reads until a newer snapshot or TTL expiry supersedes it.
Rename the default-off Sources sublabel from "Provider not installed" to
"Provider inactive" across all locales so it accurately covers both
disabled and unavailable providers.
* fix(usage): share provider availability reading across snapshot publishes and usage probes
Record both `ready` and `unavailable` global snapshot publications into
`usageActivityCache` so `isProviderActiveForUsage` reads one timestamped
availability cache instead of relying on `fetchedAt` (which unavailable
snapshot entries do not carry).
* fix(app): add MenuCheckboxItem so Usage Sources toggles expose checked state to screen readers
Introduce `MenuCheckboxItem` / `DropdownMenuCheckboxItem` backed by
`accessibilityRole="checkbox"` so toggleable menu rows expose their checked
state in Chromium's accessibility tree and native screen readers while
leaving existing `MenuItem` roles unchanged.
* fix(app): keep compact menu sheet rows in Tab order and activate on Space
Use `tabIndex={0}` for `MenuRow` in `sheet` presentation (leaving
popover roving arrow-key navigation at `tabIndex={-1}`) and handle Space
in web sheet rows since React Native Web only activates Space for
`role="button"`, not `menuitem` or `checkbox`.
* test(usage): include provider hint in claude-usage-source keychain and stores assertions
* perf(ci): cut PR CI wall-clock time across server tests, Playwright shards, and workflow setup
* fix(ci): guard empty apt cache copy, use 100% Vitest workers in CI, revert Playwright to 2 workers with built supervisor
* docs(providers): simplify setup across supported provider pages
Lead each supported provider page with the official CLI/protocol Paseo uses and the simplest default setup path, removing config.json snippets from Getting started on Antigravity and Oh My Pi. Fixes the outdated Settings path on Codex and keeps all Chinese translations in sync.
* docs(providers): address review feedback on Antigravity, Codex, Muse, and Pi
* feat(providers): add docs links, sign-in facts and a tidier provider page
A user whose Antigravity models looked stale had no way to find out why
without asking in chat. agy 1.5.14 picks its sign-in from the
environment: with SSH_CONNECTION, SSH_CLIENT or SSH_TTY set it reads a
token file, otherwise the OS keyring
(google-antigravity/antigravity-cli#1336). The daemon is often started
outside SSH while the user tests agy over SSH, so the two can be signed
in to different accounts and list different models.
- The Antigravity status reports whether agy runs in an SSH session, and
the diagnostic report for plugin providers now includes the resolved
command, path and version like built-in providers do.
- Providers carry an optional docsUrl (protocol field, plugin SDK
registration, built-in definitions). The provider page links it from
Troubleshooting, and the Antigravity page documents the sign-in
mismatch.
- Provider and project settings get a breadcrumb title. Refresh moves to
the Models header, the model list scrolls inside a fixed height with a
full-width search, and section headers keep one spacing whether or not
they hold an action.
- A switch no longer makes its row taller than the track, and every
settings row is at least as tall as one with a switch, so a switch row
and a text row line up.
* fix(providers): report Antigravity's sign-in when ACP does not start
A sign-in problem can be what stops agy's ACP server from starting, so
the diagnostic report now shows the SSH session rows in that case too.
The plugin provider diagnostic test no longer compares the daemon PATH
and shell rows, which differ per host (Windows reports ComSpec).
* fix(server): show the same provider version in the report and Installation
The plugin diagnostic read the version by calling the provider's
inspect itself with a 10s deadline, while the Installation row reads it
through the installation service with a 20s deadline and a cache. A
version check between 10 and 20 seconds showed in Installation and as
an error in the report.
The snapshot manager now hands getDiagnostic an inspectInstallation
that reads through the installation service, so both show one answer
and agy --version runs once for both.
* feat(app): give rows that open something the same height as other rows
Detail rows and collapsible row headers reserved a button's height so a
list where only some rows held a switch kept one height. Now that every
settings row is at least as tall as a switch row, that reserve only made
rows like Diagnostic report and Docs taller than their neighbours.
* test(app): compare rows that open something with text and switch rows
* feat(app): size the provider icon to the page title
* fix(app): scale the provider title icon with the interface size
* Refresh enabled provider catalogues in the background every 30 minutes
A long-running daemon cached discovered models until a manual Refresh or a
restart, so a server-side model rollout stayed invisible. The daemon now
refreshes each enabled provider about every 30 minutes, one provider per
staggered slot. A recent refresh pushes the next one back. Background
refreshes join discovery already in flight, publish only changed
catalogues, and keep a ready catalogue when a probe fails.
Co-Authored-By: Claude <noreply@anthropic.com>
* Keep background refresh slots independent and its probes soft
Ticks no longer wait for a refresh to settle, so one slow provider cannot
delay the others. A provider with a background refresh still running is
skipped. The due check uses a fixed one-second timer slack instead of half
a slot, so a manual refresh always pushes the next probe a full interval.
Background probes pass force: false so OpenCode keeps its shared server.
A result that is not ready keeps a ready catalogue, which covers plugin
status probes that report a failed startup as unavailable.
Co-Authored-By: Claude <noreply@anthropic.com>
* Keep a ready catalogue when a background refresh returns a partial one
Claude falls back to its curated list without discovery-gated models when
model discovery fails or times out. That result is ready, so a background
refresh published it and Mythos left the picker. Providers now mark such a
catalogue incomplete, and a background refresh keeps the ready catalogue it
would have replaced. A manual refresh still publishes it.
Co-Authored-By: Claude <noreply@anthropic.com>
* Kill OpenCode servers whose startup is pending at shutdown
A probe still allocating its port when the daemon stopped spawned its
OpenCode server after shutdown returned, and the process outlived the
daemon. Background refresh makes that overlap likelier. Shutdown now waits
for pending startups and kills the generations they produce.
Co-Authored-By: Claude <noreply@anthropic.com>
* Stop running probes before provider shutdown
A probe checking availability when the daemon stopped could still go on to
discovery and start an OpenCode server after provider cleanup returned.
The manager now aborts every running probe through its refresh signal when
it stops, and shutdown waits up to ten seconds for them to settle before it
shuts down provider clients.
Co-Authored-By: Claude <noreply@anthropic.com>
* Refuse OpenCode spawns from operations begun before shutdown
A rotation accepted before shutdown waited for the old server to stop and
then started a replacement after cleanup returned. The server manager now
counts shutdowns; every operation that can start a server records the
epoch it began in, and the spawn step refuses once a shutdown has passed.
Operations begun after shutdown still start, since the manager is a
process-wide singleton.
Co-Authored-By: Claude <noreply@anthropic.com>
* Keep manual refresh precedence over concurrent background refreshes
* Avoid eager provider snapshot downloads for unobserved directories
---------
Co-authored-by: Claude <noreply@anthropic.com>
Homepage and docs visitors use the site-wide Plausible figure for the 30 complete days to 2026-11-21 (107,693), rounded down to 100,000. Discord members come from the live guild count (2,678). The README figure is unchanged because GitHub only exposes 14 days of traffic.
* feat(server): let agents queue, steer, or interrupt messages to other agents
An agent sender's `steer` used to mean "wait for the turn to end", unlike a
person's steer. Agents now get the same three choices a person has, plus a
named default: `queue` waits for the turn end, `steer` joins the running turn
(interrupting when the provider cannot steer), and `interrupt` replaces it.
A steer or interrupt carries the messages queued ahead of it, so delivery
order still equals admission order.
The receipt returns the applied behavior and guidance built from whether the
recipient is running and whether its provider can steer. A queued message's
guidance tells the sender to follow up with a short steer or interrupt
instead of resending, because a resent message is read twice.
Older clients send `steer` for every default agent send, so the daemon maps
their agent `steer` to `queue` when the client lacks the
`agent_active_turn_behaviors` capability. New clients talking to an older
daemon refuse `steer` rather than silently queueing it.
* fix(server): keep a steer's carried messages when the turn ends first
A steer that reached the provider after the turn ended made the manager
throw a plain error, and delivery failed the whole batch, including the
queued messages the steer carried. The manager now throws
AgentTurnChangedError, and delivery sends the batch again, into the next
turn or as a new one.
Also report the applied activeTurnBehavior in `paseo send --no-wait`
output, and expect the new hello capability in the client test.
* docs(skills): warn that an unread steer loses the messages it carried
* docs(skills): shorten the send_agent_prompt guidance
Keep what a sender acts on: leave activeTurnBehavior out, the three
values, read the guidance, follow up instead of resending, and the
steer loss case. Drop delivery facts the sender cannot act on.
* fix(server): stop the send_agent_prompt description promising an unread steer survives
The notice flagged chats moved to the then-new v2 runtime. v2 has been
stable, so the row is noise. Previously saved openCodeRuntimeNotices
metadata is left in place and no longer read.
* test(server): make recursive watcher inventory test deterministic
Deliver the file creation notification explicitly so the inventory check does not depend on the native watcher becoming ready. Hold scheduled scans until the test checks the inventory and require reconciliation to report the deletion.
* test(server): wait for the watcher callback without advancing audits
---------
Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>
* fix(app): ignore slash menu picks made before the menu filters
On web the cursor reaches the autocomplete after paint. A Tab or Enter
pressed right after typing could pick from the unfiltered list, where
/exit is the default highlight, and archive the agent. Skip the pick when
the typed command no longer matches the query the menu was built for.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(app): limit the stale slash menu guard to key presses
Clicks also pass the live input snapshot, so the guard could drop a
click on a visible option while the cursor update was still pending.
A click picks what the user sees. Check for a stale menu only when Tab
or Enter selects.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: 3ae3ae <ogyshjsm@naver.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>
Co-authored-by: Bae Seongmin <83870598+3ae3ae@users.noreply.github.com>
* fix(app): allow edited New workspace retries and unify composer errors
New workspace and the workspace setup dialog reused the mount's raw draft
or creation ID as the workspace.create idempotencyKey. When workspace
provisioning failed before readiness, the daemon kept that key's request
fingerprint on disk, so editing isolation, project, branch, prompt, or
model on the same screen failed with workspace_request_key_conflict.
Deriving the workspace idempotencyKey with draftCreationKey(id, request)
matches #9534 for agent drafts: unchanged retries (double-click,
reconnect, or resending as-is) keep one key, while edited retries start a
new workspace creation without requiring daemon or protocol changes.
Also move composer submission errors into one <Alert variant="error"
size="sm" /> slot owned by <Composer> (directly above the input, and in
ComposerFullscreenFooter when fullscreen) so New workspace, Workspace
draft tab, Workspace setup dialog, and active chat share the composer's
outer and inner rails without duplicate error toasts.
* fix(app): include launch target in creation key and toast background failures
Include launchTarget when deriving the New workspace creation key so
switching between blank Chat and a promptless terminal profile after a
pre-ready failure starts a fresh creation instead of replaying the failed
receipt.
Also show toast.error when workspace creation fails after the user has
left New workspace or closed WorkspaceSetupDialog, while keeping the
single composer alert with no duplicate toast when the form is still
visible.
* fix(app): avoid duplicate toast when handed-off agent startup fails
Once New workspace hands a ready workspace to its draft tab, the draft
tab awaits agentCreation.result and displays startup errors in its own
composer alert. Returning early after handoff prevents New workspace's
catch handler from firing a duplicate app-wide toast.
* fix(app): stop busy-heartbeat adaptive switches and back off online probes
Hosts with multiple saved connections still replaced healthy relay links
during active use: every 120 seconds the runtime compared an idle alternate
probe against the single latest heartbeat RTT on the busy active socket
using a fixed 40 ms threshold, then tore down the live socket before
connecting the replacement (leaving the host in connecting for ~2 s).
Use the 60-second rolling minimum of active heartbeats as the baseline,
require at least max(40 ms, 35% of baseline RTT) improvement to switch,
exponentially back off inactive online probes from 2m to 30m while the
active connection keeps winning (resetting on candidate win, reconnect,
connection list changes, or foreground verify), and connect the replacement
before disposing the live client on adaptive switches.
Closes#9149
* fix(app): preserve active listener, recheck candidate, and refresh caches on make-before-break upgrade
Keep installed active-client status listeners bound to `this.activeClient`
rather than `switchRequestVersion` so a pending or failed speculative
upgrade never mutes disconnect events on the active socket. Recheck that
the target connection still exists and matches before and after disposing
the old client so removing or editing an endpoint during handshake aborts
the upgrade. Track the last online `connectionEpoch` in `HostRuntimeStore`
so make-before-break upgrades that stay `online` still trigger reconnect
cache invalidation and history sync generation bumps.
* fix(server): prevent zombie children after plugin builds
Retiring a compiler thread closed its libuv loop while esbuild still owned a native child. Run the compiler in a subprocess so the daemon can reap it when the idle compiler disconnects.
* test(ci): check plugin compiler reaping on macOS
Antigravity returns end_turn while a recurring schedule stays in progress. Exclude cron registration from the provider's deferred-turn blockers so waiting for a tool completion cannot strand the foreground turn.
* docs(changelog): lead 0.17.1 with Antigravity and cut instructions from the entry
The 0.17.1 entry ranked Antigravity seventh and carried setup steps, click
paths, migration notes, and edge-case qualifiers. Each highlight is now one
sentence that announces the change, and Antigravity leads. Two details that
left their highlight keep their own bullet: plugin worktree management moves
to Plugins and green quota bars move to Changed.
docs/release.md allowed highlights up to three sentences and exempted them
from the conciseness rules, which is how the instructions got in. The rules
now cover highlights too, permit a second sentence only for a breaking
requirement, and put the headline change first whatever its ordering group.
* docs(changelog): keep shortened 0.17.1 bullets within what shipped
Three bullets lost a clause that limited their claim: provider updates exist
only for CLIs with an update command, the scroll fix leaves out HTML previews
on iOS, and Git status reloads when files changed during the disconnect. Each
bullet now names what it covers instead of carrying an exception clause, and
the release guide says to shorten that way.
The Antigravity requirement links the setup page, which has the `acp`
argument a custom command needs.
* docs(changelog): scope the agent message and quota forecast highlights
An explicit interrupt from another agent still replaces the running turn, and
Usage shows a run-out time only for a quota on pace to run out before it
resets. Both highlights now say so in one sentence, and the release guide uses
the agent message highlight as its example of keeping that distinction.
Rewind in Command Center applies to the latest turn, so the bullet names it
again.
* docs(antigravity): explain the Hub model error after the CLI upgrade
The 0.17.1 highlight used to carry this recovery step. The highlight now links
the setup page, so the step lives there in both languages.
* fix(acp): keep the whole history when an agent streams it after session/load
Reopening a long Antigravity agent after a daemon restart lost the end of its
timeline. When the client reads slowly, agy answers session/load part-way
through the history and keeps streaming the rest, with no end marker. The
replay window closed after a fixed five quiet periods (1 s), and every history
update processed after that was discarded as stale.
The window now closes only once a quiet period passes without a history
update. Command, configuration, mode and usage updates no longer count as
activity, so they cannot hold the session open. When the quiet period expires,
the loop reads pending input once before the silence is trusted, because a
stalled event loop reaches the timer with history still unread in the pipe.
The wait has no upper bound: any bound is another way to truncate, and the
agent goes silent once its history is sent.
* fix(acp): stop waiting for history replay when the connection closes
With the replay wait no longer capped, closing the provider connection while a
session was still replaying waited for the whole history, so a daemon stop
during a long reopen could run past its deadline. The connection marks itself
closed and then awaits in-flight opens, but the replay wait only checked the
runtime's own closing flag. The wait now also ends when the connection closes.
* fix(acp): only extend replay on history updates and fail open on mid-replay crash
* fix(server): bound shutdown flush so provider shutdown cancels in-flight reopens
* fix(acp): keep load replay open while a multi-read wire record is in flight
The daemon already schedules catalog discovery when provider configuration changes. Waiting on a second discovery kept the Add sheet open after the model was saved.
Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>
* fix(app): keep the composer focus hint off the placeholder
The web composer draws its focus shortcut hint over the input's top-right
corner. When the placeholder and the hint did not fit on one line, as in
French at a phone width or with the longer desktop placeholder, the hint
was drawn on top of the end of the placeholder. The input now reserves
the hint's width as right padding while the hint shows, so the
placeholder wraps before it.
Closes#6191
* test(app): wait for the focus hint padding before checking overlap
* Keep focus hint padding in sync with composer layout
Reveal the shortcut after the input reserves space for its label. Remeasure draft height when padding changes the available text width.
---------
Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>
* feat(website): refresh Paseo Hub page and add homepage Hub entry points
* chore(website): align Hub automation source copy and team visibility wording
* chore(website): simplify homepage Hub flow layout and remove highlight cards
* feat(website): unify page frame, rails, section rhythm, and hairline grids across home and /hub
* chore(website): remove forced eyebrow numbering and redundant section eyebrows
* feat(website): use Plus Jakarta Sans for display titles
* style(website): remove hairline rails from header and hero bands
* feat(website): derive landing page plugin count from published registry
* feat(website): replace Hub Discord demo with animated Slack mockup
* style(website): tighten display-scale Paseo Hub lockup gap
* website: interactive source showcase on /hub automations section
* website: prevent font-swap wrap jank and remove left bar on /hub source pills
* fix(website): align Hub examples and docs with service behavior
* fix(website): keep navigation and plugin carousels within the page frame
* fix(website): address Hub refresh review findings
* fix(website): preserve focus and labels in Hub showcase tabs
* fix(website): show the selected Hub preview immediately
* fix(website): keep Hub pricing tooltips inside their cards
* fix(website): wrap Hub source labels with larger text
* fix(website): scale Hub preview height with browser text
* fix(website): wrap long identifiers in Hub previews
* fix(website): wrap result chips in the Hub schedule preview
* fix(website): keep the Discord preview thread title readable
* fix(website): let Hub source descriptions wrap
* feat(website): link Hub previews to their trigger guides
Keep the self-hosting guides aligned with the Hub documentation already on main.
* fix(website): keep Hub previews readable at large font sizes
Let preview rows stack when the frame is too narrow for the avatar, padding, and text. Check the rendered text bounds at twice the default font size.
* fix(server): deliver an agent's messages in the order they were queued
An agent's interrupt was dispatched alone, ahead of the steers queued before
it. Those steers stayed queued and started a turn of their own after the
interrupt's turn ended, so a stale instruction ran after the newer message
that countermanded it.
The queue now keeps one ordered list per recipient and only ever dispatches
its front. An interrupt releases at admission and takes the older messages
along in the same replacing prompt. A person's prompt takes the queue along
the same way. Stop holds the queue for the recipient's next prompt instead
of releasing it into a new turn, and does not drop it: the queue also
carries finish notifications.
A quiet window now closes after ten seconds at most, so steady arrivals
cannot delay a waiting message without bound.
* fix(server): keep a prompt's place in line until the provider admits it
The queue removed a message when it handed the prompt to the agent
manager, before the provider had admitted it. In that gap the order was
no longer the queue's to decide:
- a person's prompt or a later interrupt sent while the provider was
still starting a turn could pass a prompt that was admitted first;
- Stop during that start no longer saw the interrupt waiting to replace
the turn, so the interrupt started a turn after the Stop;
- queued messages that rode a person's prompt were settled when the
prompt was handed over, so a turn the provider rejected dropped them.
A message now stays in its recipient's list until the provider admits
the prompt that carries it, fails it, or the message is withdrawn. Every
prompt takes its place at admission, one operation acts on a recipient
at a time, and each operation covers only what was admitted before it
got in line. Stop holds every message still in the list and clears the
interrupt's urgency, so a held interrupt waits like a steer.
A prompt is a command only when it starts with a slash and a name with
no second slash, matching how providers read it. A prompt that begins
with a path now carries the queue like any other text. An interrupt the
provider runs as a command beside the turn takes no queued message
along, because it replaces nothing.
Test wiring that builds the MCP catalog or stubs the agent manager now
supplies the delivery module and the stop signal the server requires.
* fix(server): keep queue decisions made before a Stop or shutdown from going stale
Three races in the window where the provider is still starting or
stopping a turn:
- An interrupt admitted while a polling queue step was already in line
got no step of its own. A person's steer sent next took the interrupt
along and steered the turn the interrupt should have replaced. An
interrupt now always reserves its place at admission.
- A dispatch in flight when Stop arrived checked the queue's phase to
learn it was void. A message admitted before the provider answered
moved the queue out of `held`, so the old dispatch became valid again:
an interrupt from before the Stop started a turn alone, and a batch
whose starting turn Stop canceled was rejected instead of kept. Each
dispatch now records the Stops its recipient had seen when it was
decided and is void once that count changes.
- Shutdown drained only what was queued when it began, so messages a
rejected person's turn returned afterwards were left to the retry
timer. The drain now runs after the operation in flight and reads the
queue then.
* fix(server): void queue steps that were reserved before a Stop
A queue step that was already in line when Stop arrived checked for a
Stop only from the moment it ran. When an interrupt arrived while the
provider was still stopping, the queue left `held`, and the old step
started a turn with the held messages. The new interrupt then replaced
that turn in a second one.
A step now watches for a Stop from the moment it reserves its place and
does nothing once one has arrived. The held messages go with the next
prompt admitted after the Stop, in one turn.
The interleaving test gains a variant with a provider that is slow to
answer. It checks, for every five-step sequence, that no queue dispatch
after a Stop carries only messages from before it.
* fix(server): hold the queue again when the message that reopened it is withdrawn
After a Stop, a message admitted later reopens the queue and takes the
held messages along. When that message was withdrawn before its quiet
window closed, for example a change-request update whose watch was
cancelled, the window still fired and the held messages started a turn
on their own.
A Stop now marks the messages it finds. When a withdrawal leaves only
marked messages, the queue is held again and waits for the next prompt.
* docs(server): state that cancel_agent with no turn to stop holds nothing
Stop holds the queue only when it stops a running or starting turn.
On an idle recipient cancel_agent reports that it canceled no run, and
a queued steer keeps its quiet window. The lifecycle doc says so and a
daemon-level test pins it.
* docs(server): state when a queued message counts as delivered
A message leaves the queue when the agent manager acknowledges the start
of the turn that carries it. A turn that fails after that point is not
delivered again, and a start that is not acknowledged within 60 seconds
returns the messages a person's prompt carried.
* fix(usage): clarify quota labels and show weekly forecasts sooner
* fix(usage): show the exhaustion time and keep exhausted bars red
* fix(usage): hide forecast text for quotas on track
* fix(usage): label quota times by local calendar date
* test(usage): keep the exhaustion clock test stable at midnight
A client that read checkout status while the worktree was absent can keep that response after Restore. Send the current status to subscribed clients before publishing the recovered workspace.
Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>
* fix(app): let every split divider drag after panes are added to a resized row
Divider drags store sizes per group id, apart from the layout tree. A group
keeps its id when panes are added, so after resizing a row and splitting it
again the stored list had fewer entries than panes, and dividers past its end
could not move. Use the dragged sizes only while they have one entry per pane.
Closes#5893
* refactor(app): choose split group sizes at the call site
* test(app): take the page from the divider locator in the split resize spec
* test(app): name the split resize helper arguments
---------
Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>
* chore(release): verify releases on isolated release branches and harden shipping
High-traffic merges on main cancel more than half of main CI runs, so waiting on main CI repeatedly stalls releases. Releases also ran duplicate post-tag CI, lacked a release-branch Desktop Packages trigger, hit unretried Apple notarytool polling errors and a finalize-rollout directory bug on macOS retries, and relied on a non-idempotent npm publish chain and conflict-prone reconcile cherry-picks.
This splits release execution into release:prep:* (reversible version commit without tagging, pushed once to release/** for isolated CI + Desktop Packages) and release:ship[:beta] (idempotent npm publishing with retry, propagation checks, automatic beta dist-tag sync on stable, and release/*-only tag push), adds conflict-free main reconciliation, and extends macOS xcrun retries to notarytool submit and wait.
* fix(release): address review findings on Docker retries, tag push, and reconciliation
Isolate manual Docker publish dispatches in their own non-cancelling concurrency group, verify HEAD matches origin/<release-branch> before release:ship publishes or tags (and remove one-shot combined scripts that bypassed release-branch checks), drop --refs from peeled annotated-tag lookups in push-current-release-tag.mjs, retry lockfile sync in reconcile-release.mjs when package-lock.json version lags package.json, and document cutting from pre-existing tags.
* fix(release): preserve TTY OTP prompts in npm publish and keep newer beta changelogs
Inherit TTY stdin/stdout for interactive npm publish and dist-tag add (plus --otp passthrough) while keeping stderr piped for retry classification, and keep newer beta or promoted stable changelog entries intact when an older beta tag is reconciled.
Codex loads configuration and starts MCP servers while restoring the thread. Send the session directory during resume so those steps use the requested workspace.
Closes#7699
Co-authored-by: tabulius-ux <252143044+tabulius-ux@users.noreply.github.com>
The forecast sat right-aligned and tone-coloured beside the reset line, so it
read as a second kind of information. It is now one more ' · '-separated
datapoint after the reset countdown and exact time; the meter keeps the tone.
* fix(server): preserve agent recovery on foreground shutdown
A terminal interrupt could reach provider runtimes before Paseo captured running agents. The development watcher also sent the interrupt down the daemon tree, including detached children. Keep provider shutdown under the supervisor's IPC lifecycle.
* fix(dev): keep protocol and client watchers running
Pass the watch flag through the final npm workspace command. Verify both watchers start before testing the dev runner shutdown.
* test(ci): exercise foreground shutdown with dependency watchers
* docs(hub): update guides for self-contained triggers
* docs(hub): match Activity and integration controls to the dashboard
* docs(hub): clarify overview and legacy bundle deployment
Preserve the provider command kind so Antigravity skills appear in inline autocomplete. Keep the built-in ACP commands available at the start of the prompt.
* feat(plugins): let plugins manage worktree create, remove, and restore
Adds server.registerWorktreeManager({ create, remove?, restore? }) so external worktree tools such as Worktrunk can own Git worktree creation, removal, and restoration instead of overloading worktree.create.before.
Keeping worktree.create.before purely transformative preserves multi-plugin chaining, rollback, and the 30s hook budget, while giving manager operations a 120s budget matching git worktree commands. Paseo snapshots existing worktrees before create so managers cannot hijack pre-existing user worktrees, writes comparison-base and owning plugin metadata into paseo/worktree.json and the workspace record, saves refs/paseo/kept-commits before removal so restore stays safe, and falls back to built-in Git if a manager declines or is disabled.
* fix(plugins): harden worktree manager lifecycle, rollback, and schema
* fix(plugins): pass untrusted on create, clean up rejected worktrees, and sync docs
* refactor(plugins): unify worktree manager checkout flow and metadata rules
* fix(plugins): verify managed worktree ownership and restore targets
A failed callback does not establish ownership of worktrees created during its call. Require the manager to identify the checkout before Paseo attempts rollback, and verify the requested Git target before reopening a restored workspace.
* fix(plugins): preserve worktree setup on retry and refresh branch bases
A failed setup could leave a new branch behind and send the retry through the built-in checkout. Use the manager's reported branch creation status during rollback. Share base preparation so both checkout paths start from the updated remote-tracking ref.
* fix(plugins): preserve managed checkout targets and rollback
Keep branch creation ownership with the linked checkout so a failed after-hook can be retried with the same branch. Leave same-repository change requests with a local branch collision to the checkout path that fetches the change request head. Use the worktree timeout for compatibility commands.
* fix(worktrees): carry source trust and await managed creation
Preserve fork provenance for manager callbacks and the workspace record. Honor tracking branch creation in the manager example and let the CLI wait on the existing workspace creation lifecycle.
* fix(plugins): verify PR head commits, restore CLI worktree RPC, and fix Windows rollback paths
* fix(plugins): pre-resolve PR head, use NUL worktree snapshots, and wait on CLI worktree create
* fix(plugins): unify worktree list reader with Git 2.35 fallback and fetch PR head once
* fix(plugins): require exact worktree snapshot for managers and configure PR push remotes on adoption
* fix(server): coordinate workspace restores across daemon sessions
* fix(server): coordinate archive, undo, and restore across daemon checkout boundary
* fix: serialize open-project with checkout archive, sync sibling owners, lift client timeouts, bump plugin version
* fix: forbid nested secondary worktrees, preserve nested checkouts on archive, wait on openProject
* fix(server): refuse deleting a worktree containing a live nested Git worktree
* test(server): normalize Windows paths and teardown command in worktree-manager E2E
* fix(server): guard cross-repo nested checkouts on delete and share checkout trust across sibling workspaces
* fix(worktrees): scope nested checkout protection to managed worktrees
The removal scan treated dependency clones and recursive submodules as independent worktrees. Identify linked worktrees through Git metadata and use the scan only for manager-owned removals.
* test(worktrees): accept native line endings in archive fixtures
The nested submodule fixture checks that Git populated the checkout. The README line endings depend on the runner's Git configuration.
* docs(plugins): document the example manager Git requirement
* fix(worktrees): name the manager that returns an invalid path
The destination validator serves both creation hooks and managers. Keep its errors about the path so the caller can identify the plugin and operation.
* fix(app): restore a host's workspaces after its cached directory is evicted
A host could keep a current directory checkpoint in the replica cache with
none of the rows it described. The daemon then answered "no changes" since
that cursor, and the sidebar had no projects to place cached workspaces
under, so every workspace for that host vanished and stayed missing across
restarts.
The cache already refused mutations for an evicted host, but it checked at
the moment a mutation was queued. Eviction happens later, inside the
serialized write, so anything queued before the eviction ran was still
written, checkpoint included. The check moves into materializePendingChanges
so it runs in the same serialized step that evicts, which also covers an
eviction that lands while an earlier persist is still indexing the store.
Checking at queue time was also losing good data: once a host was
invalidated, every mutation was dropped, including updates accepted between
a reconnect's baseline replacement and its write. Those are kept now,
because the baseline is in the same pending batch.
Version 1 checkpoints could have been written by that path, so they are no
longer trusted. A reader discards them and keeps the cached rows, so the
sidebar still paints from cache and each host re-syncs its directory once.
Later launches resume incrementally.
Both the race and the recovery live in the shared cache, so this covers iOS,
Android, web, and Electron. It does not address two tabs or windows sharing
one IndexedDB database, where another connection evicts the host.
* fix(app): hold workspace updates that arrive while the directory cache loads
A project update received while the cached directory was being read went
straight into the replica. It advanced the project cursor before any refresh
had established a baseline, and saved that cursor to the cache. On an install
damaged before the eviction fix, that write replaced the version 1 checkpoint
with a version 2 one before the reader could reject it. The refresh then asked
for project changes after the live update, the daemon had none, and projects
missing from the cache stayed missing across restarts.
Agents already open a transaction before the cache load, so their updates are
recorded and applied over the refreshed snapshot. Workspaces now do the same.
An update during the load also stops the cached cursors being adopted, so the
refresh fetches full snapshots, which is the recovery a damaged cache needs.
* fix(app): advance directory cursors from live updates only after a refresh
A live update moved the directory cursor whenever no refresh was in flight,
including when no refresh had ever completed on the current subscriptions.
If the first sync after discarding a version 1 checkpoint failed, the next
project update saved a cursor at its own sequence with only that project
stored. The retry asked for changes after it, the daemon had none, and the
other projects stayed missing across restarts. The previous commit closed
this window during the cache load only; a failed refresh reopened it.
A live event's sequence covers everything before it only when a refresh
completed on the subscriptions that delivered it, which is what
satisfiedDemandSource already records. Live events now update rows either
way but move the cursor only in that state, so a cursor never skips changes
the client did not receive. Once a refresh completes, live updates advance
the cursor as before.
The sidebar recovery e2e fixture unwrapped the checkpoint only when it was
version 1, so the version 2 writer made it abort before damaging the cache.
It now reads either envelope and stores the damage as version 1, the format
this branch stops trusting, so the test fails against the previous cache
module and passes here.
* fix(app): apply the eviction rule to malformed-row repairs
Repairing a malformed directory row reads the checkpoint, drops the affected
cursor, and writes the rest back. That write went straight to the row store
through queueOperation, outside the eviction check in the regular persist
path. If a write evicted the same host while the repair was reading, the
repair stored a checkpoint for a host with no directory rows, the state this
branch exists to prevent.
All three repair writes now go through one helper that runs in the serialized
writer and drops the checkpoint upsert when the host has been evicted since.
The deletes still apply.
* fix(app): record a host eviction only after its delete commits
Eviction marked the host as evicted before deleteHost ran. If storage aborted
that delete, the rows stayed stored but the mark remained. A malformed-row
repair running behind it trusted the mark: it skipped the checkpoint update
yet still deleted the row, leaving a workspace cursor with no workspace. The
next refresh then resumed past that workspace.
The mark is now set after the delete commits, so it always matches storage.
A failed eviction leaves no mark, and the repair updates the row and its
cursor together.
* fix(acp): keep Antigravity turn open while non-daemon background tools run
* fix(acp): address deferred turn steer, drain race, and echo scoping
* fix(acp): serialize deferred steers, gate on end_turn, and lock canceled tool updates
* fix(acp): unify deferred reply settlement and accept queued steers on send
* fix(acp): keep Stop unblocked during queued steers and gate reply settlement on post-tool updates
* fix(acp): ignore in-flight steer usage for settlement and deliver queued steers after RPC errors
* fix(acp): keep deferred background job running when a steer rejects and honor Stop cancellation
* fix(acp): settle deferred turn immediately on Stop even if a steer RPC is unanswered
* fix(acp): bound Stop drain for in-flight steers and tear down wedged runtimes
* fix(acp): terminate wedged child process on Stop timeout and reject prompts on closed sessions
* fix(acp): reject replacement prompt if session retires during interrupt and preserve streaming reply id
* fix(acp): always retire deferred ACP session cleanly on Stop and clear fallback id on steer start
* fix(server): reopen retired plugin sessions before applying configuration changes
* fix(acp): close deferred process before emitting cancel and synchronize mid-shutdown config changes
* fix(acp): do not reset deferred settle timer on excluded daemon tool updates
* fix(acp): release deferred turn when tool is reclassified as excluded
* fix(acp): gate deferred settlement reset on open qualifying tool membership
* fix(acp): decouple deferred reply tracking from open tool blockers
* fix(acp): track post-end_turn wire order and preserve settled reply across tool completion
* fix(acp): unify wire-order prompt response tracking and exclude daemon reclassification from crossedEndTurn
* fix(acp): preserve settled background reply across steers that start no new tools
* fix(acp): distinguish settled-with-open-tools reply state across steers
* fix(acp): share close and deferred interrupt retirement across overlapping calls
* fix(acp): make deferred retirement sole owner of prompt rejection and cancellation
* fix(acp): centralize session retirement in retireSession so rejected prompts never suppress session.closed
* fix(acp): bound session/cancel write in deferred retirement before teardown
* fix(acp,server): force-abort stalled connectors on Stop timeout and bound cancel wait in AgentManager
* fix(acp,server): enforce shutdown deadline on connector close and bound settings wait on queued Stop
* fix(acp): scope connector shutdown deadline to deferred retirement and finalize on late close
* fix(app): recover agent timelines after reconnect
Reconnecting resumed every hidden chat as soon as the visible chat settled, overwhelming the daemon when many tabs were open. Bound hidden catch-ups and give the visible chat priority. Refocusing a failed chat or foregrounding the app retries the timed-out fetch once per transition.
* fix(app): retain timeline retry paging policy
Carry the overflow policy with a failed request so retrying reconnect does not replay the entire backlog. Clear a failed attempt's parked follow-up so the scheduler can drain explicit retries without using the manual Retry indicator.
* fix(app): preserve history when a queued gap resumes
Choose the paging policy after a queued gap acquires its fetch slot. The tail that held the gap can establish coverage while it waits, so basing the policy on earlier coverage can unnecessarily replace history.
* perf(server): keep live image output responsive during history replay
A large attachment blocked all other provider images behind a daemon-wide queue. Share writes only for matching files and reduce the filesystem and decode turns needed to publish each image.
* fix(server): validate image storage and share the decode budget
Validate the cached directory before reusing an attachment and set file permissions without reading the process umask. A shared deadline bounds the work of concurrent decoders in each event-loop slice.
* perf(server): charge image decode slices for active work
Filesystem waits and unrelated event-loop work exhausted the wall-clock deadline before decoding started. Measure synchronous decode work against the shared budget so busy replay avoids extra yields.
* fix(server): speed up Claude history resume under load
Each record read gave other daemon work another event-loop turn before history could finish rebuilding. Read transcript windows and resolve workflow links in one scan so resume preserves the full conversation with far fewer I/O waits.
* test(server): cover Claude replay across read windows
* fix(server): yield during dense Claude history replay
A read window of short records can keep transcript parsing and timeline ingest on the microtask queue for hundreds of milliseconds. Yield on elapsed time within each window so the daemon can service other requests.
* fix(app): keep mobile composer buttons working on the first tap
After an unmatched native touch start (such as dismissing an Android Modal while a finger is down, double ACTION_DOWN in ReactRootView/ReactModalHostView, or a dropped synthetic ACTION_CANCEL), ReactFabric's ResponderEventPlugin left trackedTouchCount > 0 for the rest of the session because it only incremented/decremented by 1 instead of reconciling with nativeEvent.touches.length.
On Android, @mattermost/react-native-paste-input's PasteTextInput also set onSelectionChangeShouldSetResponder={emptyFunctionThatReturnsTrue} (which React Native core only sets on iOS). Whenever trackedTouchCount stayed > 0, every keystroke in the composer triggered topSelectionChange and let PasteTextInput claim the JS responder, swallowing the first tap on Send or any toolbar button.
Reconcile trackedTouchCount from nativeEvent.touches.length in ReactFabric (dev, prod, profiling) and ReactNativeResponder, remove the iOS-only onSelectionChangeShouldSetResponder prop from Android PasteTextInput, and drop the now-redundant createReactCancelEvent multi-pointer workaround from react-native-gesture-handler.
* fix(app): clear stale touchBank contacts when native touches reach zero
When a multi-touch gesture is cancelled by a single-pointer synthetic ACTION_CANCEL (or a prior touch end was dropped), ResponderTouchHistoryStore.recordTouchTrack only ended contacts listed in changedTouches, leaving other touchBank entries marked touchActive = true even though nativeEvent.touches.length was 0.
Mark all remaining active touchBank entries inactive whenever topTouchEnd or topTouchCancel reports 0 active native touches, so onResponderTerminate sees a clean touchHistory without needing RNGH's createReactCancelEvent workaround.
* Archive the active workspace from the shortcut while its sidebar row is collapsed
The workspace.archive handler was registered by each sidebar row and only
enabled on the selected row, so a collapsed project or status group left no
handler and the shortcut did nothing. Move it to one always-mounted handler
keyed on the active route selection, as #2299 did for the pin shortcut.
Fixes#10246
* fix(app): keep archive shortcuts available during another archive
A worktree teardown keeps the previous archive request pending after
the user opens another workspace. Read the active target from the
workspace list so the first archive only hides its own workspace.
Co-authored-by: hiennd <74246327+neihyud@users.noreply.github.com>
* fix(app): share pending archives by workspace
Hold an archive attempt from its checkout check through the daemon
reply. The row button and shortcut now share that attempt for the
same workspace, and another workspace can still archive while it runs.
* fix(app): preserve archive after undo and theme changes
The archive guard protects a workspace through confirmation and
dispatch. The optimistic workspace state takes over when dispatch
hides the workspace, so Undo can restore it for another archive.
Keep the shortcut host outside the appearance boundary so its
pending redirect keeps reading the active workspace after a theme
change.
* test(app): verify theme changes during workspace archive
Use the platform modifier for the theme shortcut and wait for the sidebar to remount before opening the next workspace.
---------
Co-authored-by: hiennd <hiennd@aidia.vn>
Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>
Co-authored-by: hiennd <74246327+neihyud@users.noreply.github.com>
* fix(terminal): restore mobile scrolling and touch keyboard focus
* fix(app): keep a touch drag from refocusing the browser terminal
Builds on the contributor commit for the Android browser keyboard.
A touch drag now keeps the dismissed keyboard closed, and a tap
still opens it.
- Keep calling onFocus on every pointer-down, so a touch drag still
marks the terminal as focused and claims its size as before. Only
the input focus waits for a tap.
- Move the test tap into a helper.
- Leave the native fullscreen scrolling change, its tests, the
inertial gesture check, and the QA video out of this branch. They
belong to #7762.
Refs #9481
Co-authored-by: Tony <liutuo@outlook.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(app): keep an open keyboard open when you swipe the browser terminal
A touch drag blurred the terminal input to stop Android from reopening a
keyboard that Back had hidden. It also closed a keyboard that was open,
so scrolling while typing needed a new tap. Blur only when the visual
viewport shows no software keyboard.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Preserve the Android terminal keyboard state on swipe
---------
Co-authored-by: Tony <liutuo@outlook.com>
Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>