mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-26 02:05:31 +00:00
v0.17.2
3446
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
b2ca56ee73 | chore(release): cut 0.17.2 | ||
|
|
884adbcc2f |
Archive the open workspace from the mobile workspace actions menu (#10507)
* 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. |
||
|
|
91247c8218 |
fix(app): keep turn timing inside the footer (#10510)
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. |
||
|
|
2d09c47672 |
Show provider session and turn metrics (#10496)
* 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. |
||
|
|
52377f595a |
Enable sidebar usage summary by default and move source toggles to a dedicated Sources list (#10491)
* 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
|
||
|
|
9cb521dda2 |
perf(ci): speed up server tests, Playwright shards, desktop/website E2E, and apt cache (#10504)
* 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 |
||
|
|
3914893aa1 |
Troubleshoot providers from their settings page, and tidy provider settings (#10487)
* 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 |
||
|
|
ede181d39a |
Refresh enabled provider catalogues in the background every 30 minutes (#10481)
* 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> |
||
|
|
ff5a83bc5a |
Keep stale slash menu choices from archiving agents (#10484)
* 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> |
||
|
|
9cb0625cf5 |
Start an edited New workspace after a failed creation, and unify composer errors (#10482)
* 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. |
||
|
|
03adc4d4ba |
Keep working host connections from flapping on busy heartbeats and back off background probes (#10395)
* 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. |
||
|
|
6ea095cb49 | chore(release): reconcile v0.17.1 (#10457) | ||
|
|
2445adecdf |
fix(app): finish custom model saves when the daemon confirms them (#10432)
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> |
||
|
|
0c02cfdfb1 |
fix(app): keep the composer focus hint from covering the placeholder (#6200)
* 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> |
||
|
|
1e30f9e046 |
Polish Usage quota bars, labels, and forecasts (#10397)
* 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 |
||
|
|
344da5d088 |
Let every split divider drag after panes are added to a resized row (#5996)
* 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> |
||
|
|
b3ea018d77 |
fix(app): show the quota forecast as a plain datapoint on the usage line (#10385)
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. |
||
|
|
24a30b183a |
Polish Antigravity tool calls in the timeline (#10379)
* fix(providers): render Antigravity tools with timeline details * fix(providers): preserve search queries and ambiguous MCP names * fix(app): bound tool call diff previews |
||
|
|
fd2f885afd |
Restore a host's workspaces when its cached directory is evicted (#10318)
* 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. |
||
|
|
a6a9d0b8c7 |
Keep agent timelines responsive after reconnect (#10368)
* 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. |
||
|
|
efb65d7b82 |
Archive the active workspace from a collapsed sidebar (#10356)
* 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> |
||
|
|
27c126d352 |
Keep the Android browser keyboard closed when you swipe a terminal (#10225)
* 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> |
||
|
|
7e3826ad6c |
Forecast when provider quotas will run out (#10289)
* feat(usage): forecast quota remaining at reset Show whether current usage will last until reset and how much quota is likely to remain. Anchor estimates to the last successful reading so the countdown does not move the projected runout between refreshes. * fix(usage): keep quota forecasts tied to their readings A cached provider observation must keep its own timestamp across refreshes. Hide forecasts after a failed request until a newer reading takes its place, and keep reset text within its column on narrow screens. * fix(usage): hide stale forecasts after Refresh all fails Store refresh failures with the cached readings they affect so card and list requests use the same forecast rule. Reports that arrive during a refresh retain their forecasts. * test(usage): cover a timed-out Refresh all and retry * test(usage): timestamp the expired-login refresh fixture The expired-login result represents a new attempt. Give it a fresh timestamp so the UI can accept it without relaxing the guard against older reports. * fix(usage): keep refresh errors visible alongside quota Store request feedback with its refresh control. A newer report can restore the forecast while an overlapping failed request still needs to surface its error. |
||
|
|
c853f98b90 |
fix(server): wait for restored checkout status on concurrent reads (#10304)
Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com> |
||
|
|
a7fed94e51 |
Keep the Mac Explorer toggle in place (#10297)
Keep one titlebar toggle mounted while Explorer opens and closes. Reserve its footprint in the active rail so native pointer clicks and the header tab sequence work, and verify clearance from the Windows window controls. |
||
|
|
36dffc9503 |
feat(plugin): let plugin navigation focus the destination host in the sidebar (#5574)
* feat(plugin): let plugin navigation focus the destination host in the sidebar Plugins that link across hosts open agents and workspaces with navigation.openAgent and navigation.openWorkspace, but the sidebar keeps its host, project and label filters, so the destination can be hidden. Plugins can't change those client-side filters. Add an opt-in focusHost flag. With focusHost: true the client selects only the destination host in the sidebar and clears project and label filters that could hide it, keeping the grouping mode. Calls without the flag are unchanged, and navigation.supportsFocusHost lets plugins detect support. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Normalize plugin navigation host IDs * Preserve sidebar filters for removed hosts * Focus the host returned by plugin navigation --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Mohamed Boudra <boudra.moha@gmail.com> |
||
|
|
d78cc90e4d |
Install bundled orchestration skills for Antigravity (#10273)
* feat(skills): install bundled orchestration skills for Antigravity Antigravity CLI (`agy`), App, and IDE do not scan `~/.agents/skills` or `~/.claude/skills` globally; they discover global skills one level deep from `~/.gemini/config/skills/<skill>/SKILL.md`. Gemini CLI already discovers `~/.agents/skills`, so targeting `~/.gemini/config/skills` only (instead of `~/.gemini/skills`) avoids duplicate skill entries in both Gemini CLI and `agy`. Appends `antigravityDir` at root index 3 in skill transactions so any in-flight pre-upgrade transaction manifest retains its existing backup indices, and includes `antigravityDir` in legacy Codex alias checks so symlinked roots are not retired. * fix(skills): unify install roots and keep rollback/updates resilient to unwritable targets - Replace separate per-target fields on SkillTargets with an ordered `installDirs` list plus `codexDir`, deriving status, sync, removal, legacy Codex alias checks, and transaction root indexing from one source while preserving pre-upgrade backup indices 0–2 (`codexDir` at index 2, additional install roots at index 3+). - Skip unreadable `add` entries with no backup during transaction rollback so an ENOTDIR/EACCES parent under `~/.gemini` does not fail rollback and leave a stuck transaction blocking later skills calls. - Ignore `ENOTDIR` in `removeSkill` (a skill cannot exist below a regular file). - Continue syncing remaining skills and install roots in `syncSkills` before throwing the first error so an unwritable `~/.gemini` does not block startup auto-updates from reaching `~/.agents` and `~/.claude`. * fix(skills): finish removing reachable skills during uninstall when one root is unreadable Continue across every target root in `removeSkill` and every managed skill in `uninstallSkills` before throwing the first error (matching `syncSkills`), while still reporting `EACCES` rather than ignoring it. * test(agent): synchronize stale-session retry before checking cleared run Replace the racy `setTimeout(0)` in `agent-manager.test.ts` with a deferred gate on `resumeSession`. Under CI load, `setTimeout(0)` could fire after the immediate retry had already resumed and started its new in-flight run, causing `hasInFlightRun(agent.id)` to read `true`. |
||
|
|
0f57c2b4c7 |
Prevent duplicate slash-command entries from breaking composer autocomplete (#10275)
* fix(commands): deduplicate provider slash commands by name Antigravity ACP emits both its built-in slash commands and discovered skills in one available_commands_update without deduplicating colliding names (such as a local plan skill alongside built-in /plan). Both entries flowed through plugin ACP, plugin-provider, and mergeSlashCommandSources into Autocomplete's FlatList, triggering React's duplicate key error on .$plan. Enforce unique command names (first-wins) at the plugin ACP, plugin provider, core ACP, and Codex boundaries so every daemon consumer gets a valid catalog, and claim provider command names in mergeSlashCommandSources and inline skill filtering so the app stays safe against older daemons. * refactor(commands): enforce unique command names at daemon and app boundaries Move slash-command deduplication from six per-provider and per-consumer copies to the two single boundaries: handleListCommandsRequest in packages/server/src/server/session.ts (covering live agents and drafts for every provider) and fetchAgentCommands in packages/app/src/agent-commands/use-query.ts (covering all app consumers, including against older daemons). * chore(app): tag app-side command deduplication as a COMPAT shim |
||
|
|
ddd7aff9be |
Keep the composer and chat column aligned with the chat outline rail (#10277)
* fix(app): keep composer and chat column on the outline rail Previously only WebStreamViewport reserved the 44px chat outline gutter and clamped right gutter on wide web panes (>= 918px), leaving the composer, floating track bar, and callouts at symmetric 16px padding. On Full width, on Wide (1200px) below 1320px pane width, and on Default (820px) between 918px and 939px, the composer extended off the timeline's vertical rail. Move outline gutter ownership to a platform-split chat-rail module mounted at the chat pane surface. On web it measures the pane width once against the 918px threshold and publishes the shared left and clamped right gutters via CSS custom properties so composer, tracks, and callouts stay aligned with zero resize re-renders or dynamic Unistyles rules, while native stays a zero-hook pass-through. Removing direct outline measurement from AgentStreamView also stops ProviderSubagentPanel from reserving space for an outline it never renders. * fix(app): keep outline prompt index across 918px crossings and exclude draft error from fullscreen rail |
||
|
|
7eec266f50 |
fix(usage): keep window shorthands visible in sidebar usage row (#10274)
* fix(usage): keep window shorthands visible in sidebar usage row Antigravity usage windows emitted full group names and raw period strings (for example "Gemini Models weekly") in shortLabel, which pushed the measured labels row past the maximum sidebar width. On the app side, choosePinnedUsageLayout dropped every window on the row straight to bare percentages whenever any scoped short label overflowed the row. Normalize Antigravity shortLabel periods (weekly -> wk, monthly -> mo) and shorten group prefixes, and add a compact period-shorthand tier between full labels and bare percentages in PinnedUsageTrigger so tight sidebar rows keep shorthands like 5h and wk visible instead of collapsing to percentages alone. * test(usage): expect compact shorthands in usage modal sidebar summary With the compact period-shorthand tier between full labels and bare percentages, three Weekly windows now render as "31% wk", "20% wk", "12% wk" in the 320px sidebar instead of dropping to bare percentages. |
||
|
|
7b9c6a7d4a |
feat(providers): bundle goose plugin with multi-provider model selection (#9719)
Moves goose into a built-in opt-in provider plugin (`plugins/goose-provider`) and lists models from every provider configured in goose. - Bundles `plugins/goose-provider` with `server_info.features.gooseProvider`, legacy host catalog fallback, legacy `extends: "acp"` config migration, and legacy session handle decoding (`COMPAT(gooseProvider)`). - Adds `context.request(method, params)` and synchronous `config(state, context)` hooks to `@getpaseo/plugin/server/acp`. - Queries goose's provider inventory RPC during discovery to expose `<provider>/<model>` entries (falling back to the base catalog if unavailable), switches provider before model on selection, and namespaces session config snapshots. Co-authored-by: James Dumay <james@generalinference.xyz> |
||
|
|
a0ed629b7d |
fix(app): word and line selection in diff views (#10252)
Use the native mouse click count to select words and source lines in canvas diffs. Extend the selection by whole words or lines while dragging. Closes #10116. |
||
|
|
93ff95b20f |
Reconcile 0.17.0 beta metadata (#10233)
* docs(changelog): prepare 0.17.0 beta (cherry picked from commit |
||
|
|
d5d385afa7 |
Show each provider's state in the list and open one provider page everywhere (#9661)
* fix(app): leave providers that are not installed out of the model picker An agent's own provider stays in its selector, labelled Unavailable. * feat(app): open a provider's detail as a Settings page or a sheet Settings → Providers now pushes a provider page, like Projects and Plugins; the model picker gear and setup keep a sheet. Both frame one body, ordered error, Enabled, Installation, Models, Troubleshooting, Danger zone, so the old sheet's sticky footer and Retry button are gone. Refresh lives once, in the Troubleshooting status row. The page header (back link, icon, title) moves into the shared settings kit so projects, plugins and providers line up on the same rails. * feat(app): show each provider's version, updates and faults in the list Each row now says how its provider is: version and model count, Update available, a spinner while an update runs, a red dot with the error, or Not installed / Disabled. Only a broken provider gets a dot, and a provider that is not installed has no switch, since the model picker already leaves it out. The kebab is gone; Remove lives on the detail. Rows read the same installation and update queries as the detail, so opening a provider costs no new requests. Hosts without providerInstallation still get a correct list from the snapshot alone. Add provider is a "+ Provider" button in the header and a muted last row; both open one sheet with search and catalog rows, replacing the tile grid. After Add, the new provider's detail opens. The row is the settings kit's detail row, which gains a leading icon, a hint status (spinner, error dot, or a held line) and a control before the chevron. The Unistyles test stub now applies withUnistyles theme mappings, so browser tests render components that read colours through the theme. * feat(app): open setup's provider pages over the setup card The detail and Add provider sheets take the setup card's frame and a back arrow, so they read as pages of setup instead of a sheet over it. The step is renamed "Your providers" to match the list it shows. * docs: describe the provider list and pages as they are now * fix(app): keep settings rows one height and on one icon rail on phones On touch layouts a switch reserves a 44px control, so in the provider list rows with a switch stood 10px taller than "Not installed" rows without one. Card rows now reserve a default control's height, the rule nested rows already follow. A compact SettingsRow wrapped with a full `gap`, which added 12px on top of the leading slot's margin: catalog icons sat 24px from their labels instead of 12px. The wrap only needs space between lines, so it uses `rowGap`. * fix(app): keep a provider row's error to one line A long or multi-line error wrapped the hint to two lines with the dot centred between them. The row cuts it to one line; the provider's page shows it in full. * fix(app): title a provider's Settings page like a project's The page title and the detail header both named the provider. The screen now titles it "Providers" and the page names the provider once, the way a project's page does. * fix(app): keep a settings row's switch out of the row's button The provider row's switch rendered inside the row's <button>. That is invalid markup, and keys reached both: Enter on the switch toggled it and also opened the provider's page, and Space on it opened the page without toggling. SettingsRowHeader now lays its press target under the row's content as a sibling of the control. The content lets presses through to the button and stays out of the accessibility tree, where the button's label already names the row. Hover is tracked on the row, so it holds over the switch. * fix(app): reserve a control's height only on rows that open something The previous change gave every card row a control's minimum height and the design doc said so, but rows built directly on settingsStyles.row (66 uses) never got it: a single-line row was 48px or 64px depending on which code path built it. The minimum now belongs to SettingsRowHeader, the row with an optional control slot, so a list where only some rows carry a switch keeps one height. SettingsRow and hand-built rows take their content's height again, as on the base branch, and the doc states the narrower rule. * test(app): give the Unistyles stub the light theme's full colours Since the stub started applying withUnistyles theme mappings, a mapping reading a colour the stub's theme lacked crashed: the markdown styles read colors.terminal and failed the plan card disclosure tests. The stub's colours now start from the light theme, with its own values pinned on top. * test(app): find the provider page's buttons in the compact sheet On compact layouts AdaptiveModalSheet puts its testID on the header only, so buttons in the page body cannot be found inside it. The spec looks them up on the page, as it did before the page moved into the sheet. * fix(app): let screen readers read a settings row's state line The row's button carries the row's name as its label, so only the title is hidden from assistive tech now; the hint below it (a provider's version, error or Not installed) is read again. The Enter-on-switch test now dispatches its key events synchronously inside one act. An awaited keyboard call let the Switch's animation run a frame after the test, which Vitest reported as an unhandled error and failed the run. * fix(app): don't open a provider's page after its Add sheet was closed Adding a provider waits for the daemon to probe it. If the user closed the sheet during that wait, the completed add still navigated to the provider's page. The add now remembers which sheet session started it and only opens the page if that session is still current. * fix(app): say Not installed for a disabled provider that is not installed A disabled provider's snapshot status is unavailable, so the row said Disabled even when the binary was missing. The installation inspection is checked first, so Not installed wins over Disabled. * fix(app): keep a saved provider choice visible when it is not installed The provider picker drops unavailable providers. A schedule or metadata-generation setting saved against such a provider then showed Select model. The picker now keeps the saved provider, labelled Unavailable, so the user sees what is set and can change it. * test(app): wait for an added catalog provider's probe before continuing Adding a provider opens its page only after the daemon probes it, which can outlast the default expect timeout on CI. * refactor(app): name the provider picker's connection and saved-choice options Callers passed a bare true to reach the saved-choice argument. * fix(app): show a provider page's loading and not-found states A provider page opened from its URL (a reload, a cold start, a shared link) rendered its title over nothing until the host's providers arrived, and forever when the id named a provider the host doesn't have. The page body now says Loading..., that the host is offline, that the providers couldn't be read, or that the provider isn't on this host, in the same notice card the provider list uses when it is offline. The page and both sheet frames share the body. * fix(app): don't call a just-removed provider missing while its page closes The daemon can publish the provider list without the removed provider before it answers the config patch, so the page said "This provider isn't on this host" until the answer arrived and it navigated away; in a sheet, through the exit animation as well. A page that has shown its provider now shows nothing once it leaves the list. The not-found notice is for a page that never found its provider. The removal e2e holds the config answer so it always sees that order. * fix(app): show the not-found notice when a provider is removed elsewhere The page hid the notice for any provider it had shown before, to cover its own Remove. A removal from another client, the CLI or a plugin then left the page blank with no way to tell why. The page now owns its Remove: while that runs and once it succeeds the body shows nothing, and any other absence says the provider isn't on this host. The removal e2e routes only the e2e daemon's socket, so the fixture's port-6767 guard stays in force. * fix(app): show progress on the provider page's in-flight buttons Remove, Add model and the diagnostic re-run now show their work on the pressed control, like the page's Refresh and Update: a spinner, no further presses and, on a labelled button, "Removing..." or "Adding...". Remove kept its label and only disabled itself, and the page went blank mid-removal: the daemon publishes the provider list without the removed provider before it answers the config patch, so the body had nothing to show and each frame's title fell back to the raw id. The removal now keeps the entry the user confirmed, and one hook feeds the frame's title and the body, so both keep showing the provider until the page closes. The in-flight state also starts after confirmation, not while the dialog is open. The diagnostic sheet's header icon buttons had lost the base branch's spinner and dimming; SheetHeaderIconButton now takes loading and disabled, the way Button does. * fix(app): don't leave a re-added provider's sheet stuck on Removing... The setup step and the model picker's gear keep a provider's sheet mounted after it closes, keyed by provider. A finished removal stayed set in that sheet, so adding the same provider back reopened it with Remove spinning and disabled. A finished removal now ends when the host lists the provider again. * fix(app): keep the composer's remembered provider in its picker The picker leaves out providers that aren't installed, except the one holding the picker's current choice. The schedule form and metadata page passed that choice; the new-agent composer didn't, so a remembered provider not installed on this host vanished from the picker and the trigger read "Select model" with no reason given. The builder now requires every caller to say what its current choice is, or null. * fix(app): guide a missing catalog provider's install and keep custom models while one fails A provider added from the Add provider catalog runs through the generic ACP client, which reports no installation, so its page said nothing when the CLI was missing. The page now shows the Installation section's Not installed row with Install opening the catalog's guide. A link the host supplies still wins. Custom models live in config, so the page lists them and offers Add model whenever the provider is enabled and installed, including while it fails. The provider's own models, and the search over them, still show only while it runs. * fix(app): make settings rows pressable on iOS and Android React Native 0.86 no longer exports StyleSheet.absoluteFillObject, and Unistyles' native StyleSheet copies it from React Native, so the spread was empty there. The row's press target then had no size: on Android, tapping a provider row or a Voice row did nothing. Web was unaffected because Unistyles' web StyleSheet still defines the key. Use StyleSheet.absoluteFill, as the rest of the app does. * fix(app): let setup's provider sheets leave out the close button again The base's sheet header rewrite dropped SheetHeaderView's showCloseButton, which the provider page and Add provider sheets pass when setup's back arrow is the only way out. Restore it on the header. * test(app): prove a refresh clears a failed update from the provider's row The update-failure journey now also walks the provider list: after Refresh on the page the row reads its version and model count with no error dot, and a refresh from another client clears a row that is open in the list. Without the provider.installation.update.cleared handling both row checks fail. The helper's Refresh now uses the page's Troubleshooting button, since Settings opens the provider as a page, not a sheet. * fix(app): show a catalog provider's install guide on hosts that cannot report installations A host without providerInstallation returns an unsupported installation, which the page passed through, so a catalog provider whose CLI is missing showed no Installation section and no guide anywhere. The guide is the app's own catalog data, so the page builds the same Not installed row from it on those hosts. |
||
|
|
86ebdedcbe |
Apply content width presets to open chats (#10231)
* fix(app): apply content width presets to open chats Retained rows kept the numeric width in their generated web styles. Use a CSS variable so the timeline, composer, and Markdown previews follow the same preference while mounted. Reserve the outline gutter when the outline is enabled on a wide pane. * fix(app): keep capped chats centered beside the outline Reserve the left outline gutter and match it on the right when the selected column fits between both gutters. |
||
|
|
4d29ee415a |
Show provider versions and run provider updates from provider settings (#9568)
* feat(providers): show installed version and install link in provider settings Providers can now declare `installation`: install and update links plus an `inspect` callback that reports installed state and an opaque version string. Built-in clients and plugin providers share one contract; plugins receive the daemon-resolved launch with `resolved: false` when the executable is missing, so they can report not installed instead of failing. The daemon calls `inspect` only on the new `provider.installation.inspect.request` RPC, never from availability probing, discovery or session creation, so a slow version probe cannot delay agents. Results are cached per client for 30s, deadlined at 20s, and links survive a failed probe. The app gates the provider sheet's Installation row on `server_info.features.providerInstallation`, so older hosts show nothing new. * feat(providers): show available updates in provider settings Providers can now declare `installation.checkForUpdates`, returning `current`, `available` with opaque `versions` and `message`, or `unknown`. The provider decides what counts as newer; Paseo shows its answer as written and never parses or compares versions. The check is its own RPC, `provider.installation.check_updates`, so the installed version never waits on a network lookup. The daemon caches a conclusive answer for an hour and an inconclusive one for 30s, shares in-flight calls, and deadlines the call at 25s, below the plugin RPC timeout. A throw or timeout comes back as `error`, which the app shows as inconclusive, never as up to date. The sheet's Refresh bypasses the cache. Codex and Claude Code read the release source their own updaters use: the Homebrew cask for cask installs, otherwise the GitHub latest release for Codex and the configured `autoUpdatesChannel` for Claude Code. `codex doctor --json` reports the same answer but scans local state and took close to a minute, so it is not used. Muse compares its build with the launcher's channel manifest, the same rule the launcher updates by. The install link now shows whenever the provider declares `installUrl` and is not reported installed: the Install button for `not_installed`, a quieter "Install instructions" link when the check failed or the provider only links to a guide. * feat(providers): run provider updates from provider settings Providers can declare `update(context)`, and the Installation section shows an Update button when an update is available. The daemon owns the operation: one per provider, joined by later requests, kept in memory past client disconnects, streamed to subscribers through an owned subscription, and aborted only when the daemon stops. The provider's answer is the outcome; the daemon adds no verification. After success it drops the cached inspection and update check and refreshes discovery, without restarting agents. Codex and Claude run their own `update` subcommand and pass the output through. Muse has no update subcommand, so it does not declare one. Updater output is capped at 64 KiB per update so a chatty updater cannot grow daemon memory. Starting an update requires daemon.manage because it runs commands on the host. * feat(providers): report installation for the remaining providers Copilot, OpenCode, Pi, Oh My Pi, Antigravity and Hoplite now show an install link and the installed version in provider settings. Each one declares only what its CLI offers: - Update checks ask the source the CLI's own updater reads: Pi's latest-version endpoint, `omp update --check`, and Hoplite's latest.json. Copilot and OpenCode resolve their release inside the binary, so they declare no check. - Updates run the CLI's own command: `copilot update`, `opencode upgrade`, `pi update --self` (leaves Pi packages alone), `omp update`. Antigravity and Hoplite document no self-update. OpenCode's success message asks for a daemon restart, because all OpenCode agents share one server that keeps running the old version. * docs(providers): document the provider installation contract Plugin authors get the contract in the provider guide, with a worked example that reports a version, checks for an update and runs the CLI's own updater, and every field, deadline and cache in the reference. The internal provider and plugin docs record why the three callbacks are separate, that versions are opaque, that Paseo adds no verification to an update, and how the plugin bridge carries and cancels each request. * chore(protocol): mark provider installation as shipping in v0.17.0 main is on the 0.16 beta series, and a promotion ships the tested beta's content without pulling from main, so this lands in the next minor. * fix(app): bound update output and show refresh failures in provider settings The screen appended every progress chunk with no limit while open, so a noisy updater grew memory and never showed the truncation note that a reopened screen shows. Progress now folds with the daemon's 64 KiB limit. A manual refresh stored its result and failure outside the queries the screen reads, so a failed refresh brought back the old answer with no warning. Refresh now runs through those queries. It passes staleTime 0 because the app's default staleTime of Infinity would otherwise answer from the cache. The not-connected error uses the translated string the i18n check requires. * fix(providers): keep update checks in step with the installed version A conclusive check is cached for an hour and was not tied to the version it answered for. After a CLI updated outside Paseo, settings showed the new version and still offered Update to it. When an inspection reports a different version, the cached check is dropped. Versions are compared for equality, so they stay opaque. The release comparison dropped prerelease suffixes, so Codex 0.200.0-alpha.1 looked current against 0.200.0. A prerelease now comes before the release with the same numbers. Two different prereleases of the same release are reported as unknown. * docs(providers): say when Update instructions shows * fix(providers): reuse a cached update check only for the version it answered The previous fix dropped the cached check after an inspection settled with a new version. On reopen the app sends inspect and check together, so the check answered from the stale entry before the inspection settled. A cached check now records the installed version it was computed against and is reused only when the current inspection, shared if in flight, reports the same version. * fix(app): refresh provider version after an update settles while disconnected The installation and update queries were invalidated only by a live succeeded progress event. A connection dropped mid-update delivered the settled operation as a snapshot on reconnect, which left the old version and Update on screen. A success the view saw running now rereads them whether it arrives as progress or as a snapshot. * fix(providers): keep update checks within their own deadline Tying a cached check to its version made every check wait for a fresh inspection, which could add the 20 s inspect deadline to the 25 s check deadline. A check now never starts an inspection. It waits on one only when the inspection is cached or already running and the check would reuse a cached answer. When it asks the provider, it records the version afterwards. * test(app): assert provider installation states are visible * fix(providers): share one update check when two clients reopen after a version change * fix(muse): report the build the update check compares Paseo reuses a cached update check while inspect reports the same version string. Muse reported 1.4.18 but compared its build (1.4.18-R8600.1), so a new build of the same release kept the stale "Update available" for up to an hour. The contract docs now say to include everything the check compares in the reported version. * test(app): scroll custom model rows into view before checking them The provider sheet now shows an Installation section above the model lists. At 390x1000 the custom model row sits under the sheet footer until scrolled. The spec checks that a long model id leaves its Remove button reachable. It had assumed the row needed no vertical scroll. * test(app): keep the custom model check sensitive to a Remove button pushed off the sheet scrollIntoViewIfNeeded on the Remove button scrolled the overflow-hidden model card sideways too, so the check passed with the long-id layout fix undone. Scroll only the Custom models heading into view, which moves the sheet vertically and leaves the card at scrollLeft 0. With the layout fix undone the spec now fails at 1200px and 390px again. * feat(app): offer provider updates whether or not an update check answers Update and Update instructions lived inside the row that appeared only after checkForUpdates answered, so Copilot and OpenCode, which declare update but no check, never offered either. A check is a convenience: the Updates row now shows for an installed provider that offers an update, keeps Update or Update instructions in place in every check state (none, checking, up to date, available, couldn't check), and shows what the check knows as a hint beside it. A provider that offers no update still shows the check's answer once it has one. The daemon already ran update without a check; a test now says so. * fix(app): let update output scroll inside the provider sheet on Android The output box is a ScrollView nested in the sheet's scrolling body. Android hands the drag to the outer ScrollView unless the inner one sets nestedScrollEnabled, so only the last 240px of a long update's output was readable. The tool-call detail views set the same flag. * fix(app): show one progress indicator per provider update and refresh While an update ran, the Update button and the update's row each showed a spinner. The button's spinner also widened it, and the row's leading spinner shifted the title when the update settled. The update's row now owns progress from the tap until the update settles: it shows the update starting before the host answers, so the indicator never moves, and the Update button only disables. Refresh blanked the Installation rows while the provider was asked again, then moved "Checking…" from the Version row to the Updates row. The rows now keep their last answers until the new ones arrive, and the Refresh button shows the refresh until both the models and the installation are read again. * fix(app): show a provider update's progress on its Update button The pressed button carries an action's progress everywhere else in Settings: Button's own loading state with a present-participle label, as Browser data's Clear and Project settings' Save do. Update now does the same, reading "Updating..." from the tap until the update settles, and the update's row holds only the output while it runs, then the result. This replaces the row-owned spinner from the previous commit, which no other surface uses. The installation's in-flight labels use three dots like their siblings. * fix(app): keep a running update's progress visible whatever the inspection reads Update carries the update's progress, but its row rendered only while the inspection read "installed". An inspection that ran during the update (on reopen or Refresh) could read loading, not installed or failed while the binary was replaced, and the sheet then showed nothing about the running update. The Updates row now stays while an update runs. * fix(server): show and update the provider CLI its agents launch The installation contract found the CLI on the daemon's PATH, while agents spawn the bare command with the provider's environment. A provider whose env sets PATH could launch one copy and show and update another, so an update succeeded while new agents kept the old version. The CLI is now resolved with the provider's environment. The section test's check-state table now always names the text it expects, so no case can skip its assertion. * test(server): name the provider PATH test for what it shows The availability check that gates a Copilot spawn still looks on the daemon's PATH, so the copy on the provider's PATH is not always the one agents launch. * test(antigravity-provider): read the version from the CLI, not its acp subcommand Antigravity now launches `agy acp --disable-telemetry`, so the launch the installation receives ends with the ACP subcommand. The version read drops it, since `agy acp --version` starts the ACP server. * feat(plugin): pass the inspected version to checkForUpdates checkForUpdates now receives installedVersion, the version inspect reported, and the daemon keys the cached answer on it. Before, each provider read its version a second time and the daemon recorded which version a cached check answered for, so a check could compare a different version than the one shown, and a plugin had to put everything its check compared into the reported version. An update check now waits for the provider's inspection (shared with a concurrent inspect, refreshed with it), answers Not installed or the inspection's error without asking the provider, and is asked again once the inspection reports a different version. * fix(server): clear a failed provider update when the provider is refreshed The daemon kept a provider's last update for its whole lifetime, so a failed update stayed the current update until a later update succeeded or the daemon restarted, and the provider looked broken after the user fixed it. A refresh of the provider's installation or update check now drops a failed result. A running update is never dropped. * docs(server): say which agents look up the provider CLI on its PATH * fix(server): tell open provider views when a refresh drops a failed update A refresh deleted the failed update on the daemon but sent nothing, so a view already observing the provider's updates, in this client or another one, kept showing the failure until it observed again. The daemon now pushes provider.installation.update.cleared with the dropped operation's id to every subscriber, and the app clears the update it shows when the ids match. |
||
|
|
c951de2332 |
Keep waiting heartbeats out of Running (#10216)
* fix(agents): keep waiting heartbeats out of Running * fix(protocol): keep the work count default as a wire contract * test(app): verify heartbeat status before, during, and after its turn |
||
|
|
69c6bd7464 |
Keep the model tooltip closed when opening the picker
Pressing the model picker shortcut now focuses search without opening the button tooltip. Attach picker hints to the shared trigger button so focus inside the picker stays independent. |
||
|
|
ad3c490a52 |
Keep a file view's scroll position when switching Preview and Source (#10195)
* Keep a file view's scroll offset when switching Preview and Source A file tab rendered either its Preview or its Source, so each switch unmounted the view on screen and its scroll offset with it. Coming back started at the top of the file. Each view now stays mounted once shown and is hidden with RetainedPanel while the other view shows. The hidden Preview keeps the text it last showed, so editing in Source does not render it on every change. Co-authored-by: apple-ouyang <45086632+apple-ouyang@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Assert what the file pane shows, not that the other view unmounted The Preview and Source views now stay mounted once shown, so the file editing spec checks the visible heading and a hidden HTML preview. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Load the HTML preview again in the WebView that shows after a hidden panel iOS destroys the native WebView of a hidden retained panel and makes a new one when the panel shows. The navigation guard latched the document per component mount, so it refused the new WebView's load of the same document and the preview stayed blank after Source -> Preview. The guard now releases the latch while its retained panel is hidden. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Name the iOS HTML preview as the view that does not keep its offset Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Load a changed HTML document in a new preview frame on web The Preview stays mounted and hidden while Source shows. When the file changed meanwhile, the Preview got the new document in the same render that showed it again. Chromium left the reused iframe blank in that case until the next Source/Preview switch. Key the iframe by its document so each document loads in a new frame. 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: apple-ouyang <45086632+apple-ouyang@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
120df507a9 |
Start a workspace in an existing worktree, and branch off or check out any branch or pull request (#10190)
* feat(server): branch off a pull request and list every git worktree A workspace.create worktree source with action "branch-off" and a checkoutSource used to check the pull request out, because core took any change request as a checkout. Branch-off now fetches the pull request's head into a remote-tracking ref (origin/<head> for a same-repo head, paseo-pr-<N>/<head> otherwise) and starts the new branch there, with no upstream and no remote added. A request with no action still checks the pull request out, as older clients expect. checkout.worktrees.list returns all git worktrees of the repository, not only the ones Paseo created, so the New workspace screen can offer any of them. Bare and prunable entries are left out. Hosts advertise both through server_info.features: worktreeRefActions and checkoutWorktreeList. Older hosts ignore the branch-off action on a pull request, so the app must gate on the flag. * feat(app): pick an existing worktree, and branch off or check out a ref Isolation now offers Project directory (was "Local"), New worktree, and Existing worktree. Existing worktree is a local workspace at the chosen worktree's path, not a third isolation value, so plugins, preferences, and the create request still see "local". The list comes from checkout.worktrees.list, so it includes worktrees Paseo did not create. The ref picker gains Branches / Pull requests pills and a Branch off / Check out toggle with a tooltip per action. Branches default to Branch off and pull requests to Check out. On a host without worktreeRefActions the toggle is hidden and the defaults apply. Git keeps a branch in one worktree at a time. Picking a held branch in Check out mode moves to the worktree that holds it, and creating from a held branch that was never picked fails with an explanation. Without this the server would silently check out a "<branch>-1" copy. * docs: describe Existing worktree and Branch off / Check out * fix(server): give a fork pull request branch-off a base the repository has A branch off a fork's pull request stored the fork's head as its base, under refs/remotes/paseo-pr-<N>. Create PR then asked for a pull request into a branch the base repository does not have, and the ref piled up in base branch pickers because no remote owns it. The new branch now starts at the fetched head, kept under refs/paseo/change-requests/<N>, and its base is the pull request's base branch. A same-repository branch-off still stacks on the pull request's branch. A routed create_workspace with a prNumber and no mode checks the pull request out again, as before branch-off could start from a pull request. The worktree list skips a locked worktree whose directory is gone, since it cannot be opened. * fix(app): start an existing worktree's agent in that worktree Existing worktree created the workspace at the worktree, but the composer and terminal still used the project directory, so the daemon rejected the first agent as outside the workspace. The screen now derives one working directory from the isolation and uses it for the workspace, the composer, and the terminal. A worktree that left the list is no longer a choice. The ref picker names change requests the way the project's forge does, so a GitLab project shows Merge requests. The schedule form uses the isolation labels Project directory and New worktree. * fix(server): compare a fork pull request branch-off against the remote base The base was stored as the bare branch name, which resolves to the local branch first. A local main behind origin/main put upstream commits in the workspace's changes for its whole life, and a base branch the clone never fetched failed creation. The base branch is now fetched from origin and stored as its remote-tracking ref. * fix(server): take a pull request's base and a checked-out branch from the remote that has them A fork branch-off fetched its base from origin. In a clone whose base repository is upstream, origin is the user's fork or missing, so the base was stale or the create failed. The base now comes from the remote that served the pull request, and a failed base fetch falls back to the bare branch name. Check out of a branch that only a remote other than origin has failed with an unknown branch. The local branch is now created from the one remote-tracking ref with that name, tracking it, as git does. The fork branch-off test passes a git identity to commit-tree, which CI runners do not have. * fix(server): branch off a pull request from the remote that serves it A same-repository pull request's head was fetched into refs/remotes/origin. In a fork clone, upstream serves the pull request and origin is the fork, so the base refresh replaced the head with the fork's branch of the same name and the new branch started from code that is not the pull request. The head now lands under refs/paseo/change-requests/<N>, the branch starts there, and the base is fetched from the remote that served the head. A routed create_workspace that branches off a pull request is refused, as it is on the local host. * fix(app): branch off a plugin's base ref whatever the branch action setBaseRef chose the base but kept the user's Check out switch, so a plugin's base became a checkout or a held-branch error. A base is what a new worktree starts from, so setBaseRef switches branches back to Branch off. |
||
|
|
808766ed7f |
Acknowledge workspace taps promptly and reduce destination mount work (#9887)
* fix(app): acknowledge accepted workspace taps before navigation Short taps finish before the delayed hold feedback paints, then navigation occupies JS. Paint accepted feedback on the native UI thread while retaining the existing press cancellation and delay rules. * fix(app): avoid persistent tint on selected docked workspace rows * perf(app): reduce workspace mount work and narrow panel subscriptions |
||
|
|
9faa3034f1 |
fix(app): keep a submenu open when its row is tapped on a touch screen (#10175)
A tap on the web arrives as pointer events: the finger enters the row as it lands and leaves as it lifts. The submenu row and its flyout read both as hover, so the leave queued a close just as the press opened the flyout, and it disappeared about a quarter of a second later. A tap inside an open flyout closed it the same way. Hover intent now ignores pointer events whose pointerType is touch. Mouse and pen behave as before, including on touch screens with a mouse attached. Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com> |
||
|
|
157abbbbda |
Let agents choose which desktop opens a browser tab (#10189)
* fix(browser): let agents choose which desktop opens a tab Registration order sent new tabs to the wrong desktop window. Let the agent discover and select the intended window by name, and require a choice when several windows can open tabs. * test(desktop): run browser host selection in a fresh app session Closing the second window can leave the existing browser journey in a different renderer state. Give both journeys their own windows and daemon so the routing test does not change the old test setup. * fix(browser): keep window names visible and stable across reconnects Frameless desktop windows need an in-app place to see and copy their name. Give each window one browser host identity so a reconnect replaces a lingering connection without creating a duplicate choice. * test(desktop): cover host selection in the browser journey Open the second window after the existing browser checks finish so their setup remains isolated within one CI run. |
||
|
|
2c22e64644 |
Keep dictation working after closing another chat (#10185)
* fix(app): keep dictation working after closing another chat Keep the shared native recorder alive while a client still uses it. Report microphone startup errors at the composer so the user can retry from the same control. Co-authored-by: Brandon Elliott <923787+Brandon168@users.noreply.github.com> * fix(app): explain how to recover from dictation startup failures Classify known microphone failures at the capture boundary. Keep daemon stream errors available to the composer and clear stale capture feedback on the next attempt. * fix(app): keep permission guidance when the native request fails * fix(app): show dictation errors after a terminal prompt shortcut --------- Co-authored-by: Brandon Elliott <923787+Brandon168@users.noreply.github.com> |
||
|
|
4e78d15bdc |
Search agent settings in Cmd-K before the first message (#10182)
* fix(app): make agent controls searchable before the first message New workspace already renders the shared draft controls, but Command Center registration lived in the workspace tab. Register from the draft controls and use the active composer scope so each host gets the same behavior. Co-authored-by: Christoph Leiter <135764+cleiter@users.noreply.github.com> * fix(app): keep agent settings searchable in fullscreen Compact fullscreen editing used to unmount the toolbar and remove the active composer settings from Command Center. Keep the controls registered while fullscreen hides the inline toolbar. * fix(app): show composer settings from compact sidebar search The sidebar suspends editor shortcuts while it covers the pane. Give Command Center an explicit target so sidebar search still uses the center composer and Explorer keeps its own scope when open. * test(app): cover compact Command Center settings for running agents --------- Co-authored-by: Christoph Leiter <135764+cleiter@users.noreply.github.com> |
||
|
|
2327701497 |
fix(codex): support flex speed (#9809)
* fix(codex): offer the Flex speed and thread it through Speed choices came from the model list's `serviceTiers`, and Codex never advertises Flex there: `ModelInfo::supports_service_tier` treats it as an API request option that is valid whatever the model advertises. So the Speed menu could never list it, choosing `flex` threw "Codex speed 'flex' is not available", and a stored `service_tier: "flex"` was rewritten to Normal before the first turn. Flex now joins Normal as a tier Paseo knows, on every Codex model. The Speed control and the tier checks read one list, so what the control offers is what the session runs: `turn/start` and rewind's `thread/fork` carry `serviceTier: "flex"`, a saved Flex survives open and model switches, and a catalog that does advertise Flex keeps its own entry instead of duplicating it. Ref: #9773 * Verify Codex Flex in the browser Speed menu * Gate unadvertised Flex on Codex 0.156 Codex 0.155 silently strips Flex from outgoing requests when the catalog omits it. Use the connected app-server version to gate the locally added option and normalize unsupported saved selections. Keep the Speed icon highlight for any explicitly selected tier and verify Flex follows that behavior. --------- Co-authored-by: Mohamed Boudra <boudra.moha@gmail.com> |
||
|
|
a6da22f86a |
fix(app): keep a toast that replaces one timing out (#10183)
When a toast replaced another just as the other's timer expired, the old timer fired before the viewport rescheduled it and dismissed the new toast. The new toast showed for one frame and faded out. The timer now dismisses only the toast it was set for. This made "Reloaded npm-review" vanish in the plugin-management e2e journey when the reload finished about 2200 ms after the install toast. Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
a8456ee63f |
Rewind the latest turn from Command Center (#10144)
* feat(app): rewind the latest turn from Command Center Make the latest prompt easy to revise without finding its message menu. Focus the composer when a rewind restores that prompt so editing can resume immediately. * fix(app): hide rewind for attachment-only prompts Keep the Command Center and message menu eligibility aligned. Rewinding an attachment-only prompt removes the turn without a prompt the composer can restore. * fix(app): wait for current history before rewinding the latest turn Keep cached prompts out of the Command Center rewind target while the active chat catches up. The visible-message menu still targets the specific prompt the user chose. |
||
|
|
cf91362af4 |
Add composer shortcuts for model and effort (#10147)
* feat(app): add composer model and effort shortcuts * fix(app): route composer shortcuts to the focused input |
||
|
|
4663f3e40f |
Find a plugin toast in e2e while the previous toast still fades out (#10168)
* test(app): find a plugin toast while the previous one still fades A toast that times out stays in the page during its 140 ms fade. When the next toast appears in that window, the plugin helper's locator matched both and failed in strict mode. Wait for the toast that carries the message. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(app): match toast text with case so Installed differs from Uninstalled A string passed to hasText matches part of the text and ignores case, so "Installed e2e-plugin" also matched the "Uninstalled e2e-plugin" toast that the spec shows just before it reinstalls. Use a case-sensitive pattern, as toContainText did before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(app): find a plugin toast while a toast with the same text fades Two "Reloaded e2e-plugin" toasts can share the screen during the 140 ms fade, and the filtered locator then matched both. Either one shows the message, so take the first. 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: Claude Opus 5.5 <noreply@anthropic.com> |