mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-26 02:05:31 +00:00
aa0a91ff6c841c74740887d0fb6fc59ebf7ebf55
305
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
2789421fbd |
Merge remote-tracking branch 'origin/main' into plan-provider-switch-sqlite-timelines
# Conflicts: # packages/app/e2e/browser/agent-message-rewind.spec.ts # packages/app/e2e/browser/rewind-menu.ui-contract.spec.ts # packages/app/src/runtime/host-runtime.ts # packages/app/src/timeline/session-stream-reducers.test.ts # packages/server/src/server/agent/agent-manager.test.ts # packages/server/src/server/agent/agent-manager.ts # packages/server/src/server/agent/agent-timeline-store-types.ts # packages/server/src/server/agent/agent-timeline-store.test.ts # packages/server/src/server/agent/agent-timeline-store.ts # packages/server/src/server/agent/plugin-provider.ts # packages/server/src/server/agent/providers/claude/agent.ts |
||
|
|
cd66d8fd18 |
Open sidebar host settings with one click (#10562)
* Keep the host settings action out of the host row's pressable
The gear sat in the row's trailing slot, which ComboboxItem renders inside its
own pressable, so the row was a button containing a button. HTML forbids that:
React aborts the press handling, which is why the first click on the host
picker produced a hydration error and only the second one opened anything.
ComboboxItem gains a trailingAction slot that renders beside the row's
pressable instead of inside it. The split row carries the hover and active
background, the pressable keeps the row's padding, and the action column sits
outside the click target, so the gear reaches host settings on the first click.
(cherry picked from commit
|
||
|
|
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 |
||
|
|
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. |
||
|
|
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> |
||
|
|
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> |
||
|
|
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`. |
||
|
|
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 |
||
|
|
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. |
||
|
|
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. |
||
|
|
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> |
||
|
|
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> |
||
|
|
8edccf0503 |
test(app): press a fork trigger again when a streamed line moves it (#10156)
"forks a streaming assistant turn without interrupting it" pressed the in-flight turn's fork trigger once and waited for the menu. While the chat is shorter than the viewport, each streamed line moves the trigger down. A line that arrives between the press and the release moves the trigger out from under the pointer, the press opens nothing, and the wait for "Fork in a new tab" timed out. openForkMenu now presses the trigger until its menu shows. Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com> |
||
|
|
25f637e57c |
Merge remote-tracking branch 'origin/main' into plan-provider-switch-sqlite-timelines
# Conflicts: # packages/server/src/server/agent/agent-manager.test.ts # packages/server/src/server/agent/agent-manager.ts # packages/server/src/server/agent/providers/codex-app-server-agent.ts # packages/server/src/server/agent/tools/paseo-tools.ts |
||
|
|
f346e72691 |
fix(app): let the sidebar list scroll its last row clear of a toast (#10096)
The sidebar toast floats over the list's end, so at full scroll it covered the last row. The list now ends with a spacer the height of the toast while one shows. The spacer sits below every row, so growing it moves nothing. It shrinks over the toast's fade, so a list scrolled into that space settles back with the toast instead of snapping. Unlike the permanent room removed in #9667, the space exists only while a toast is up, so the list keeps its normal end the rest of the time. |
||
|
|
a030e905e8 |
test(app): enter a workspace row afresh until its kebab shows (#10103)
The workspace-labels journey hovered a row once and then waited for its kebab. The kebab mounts only while the row holds hover, and hover only arrives on pointerenter, so a row that lost hover under a parked pointer never showed it again and the click waited out the 3-minute test timeout. openWorkspaceSidebarKebab now moves the pointer off the row and hovers it again until the kebab is visible, and the labels journey uses it instead of its own copy. Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com> |
||
|
|
f81bc2b5a3 |
Keep the prompt and whole reply when an empty chat reconnects mid-reply (#9723)
Recover missing timeline rows when a chat was empty before disconnect and live reply rows arrive before history catch-up. Keep the replica cache at schema version 1. Closes #9650. Supersedes #9626. Co-authored-by: Okan YILDIRIM <63511519+ragokan@users.noreply.github.com> Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com> |
||
|
|
63a33ac3fd |
Let plugin screens use the plugin state hooks (#10049)
* Let plugin screens use the plugin state hooks A plugin screen opened from the Command Center or the sidebar showed "Plugin failed: Plugin state hooks must run inside a plugin host" as soon as it called useWorkspaces, useAgents or another state hook. Every plugin host paired the installation provider with its own state provider, and the screen host and the plugin settings host did not. The installation provider now supplies the state source for the installation's host, so every surface rendered under it can read state, and the hosts no longer wrap a second provider of their own. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Keep a sidebar view's cross-host state in its hooks A sidebar view renders once across every connected host and builds an unscoped state source for that. After the installation provider took over the state source, the environment provider dropped the view's own source, so its hooks read state scoped to one host. The installation provider now takes the surface's source when one is passed and falls back to the installation's host. 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> |
||
|
|
c8e3d67e29 |
Wait for each plugin content subscription id before checking its release (#10012)
The plugin-buttons journey reads the details' event subscription id to check that closing, crashing and disabling the content releases it. The id arrives with the daemon's subscription response, after the details render. The first open already waited for it; the reopens read it as soon as the cached summary showed, so the id could still be empty and the release poll then waited for an id that never exists. Every read now waits for a non-empty id. Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
94f2df6263 |
Keep the Import Session list in place when Load more fetches the next page (#9974)
Tapping Load more emptied the list until the larger page arrived: the sheet showed "Loading sessions...", unmounted the virtualized list, and brought it back scrolled to the top. The sessions queries set keepPreviousData, but useQueries gives a changed key a new observer with no previous data, so the placeholder was always empty. The placeholder is now the cached page that Load more grew from, for the same scope, search, and provider. The compact import-session journey flaked on this in CI: its scroll helper resolved a row, the list was replaced before the helper ran, and the walk up from the detached row found no scroller. The helper now scrolls the list itself, and the journey checks that Load more keeps the reader down the list. Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
349a2e43ea |
Keep the phone model-label sweep from reading the browser's clipped label (#9934)
* test(app): wait for the model control to re-measure in the label sweep The phone label sweep read the folded model control twice, 100ms apart, after each resize. A resize reflows the page at once and the browser clips the model label with its own ellipsis until the control's layout event arrives. On a slow runner both reads landed in that window, so the sweep recorded a truncated label beside the thinking label and stopped. A settled read now also requires the model label to fit its box, and gives up after 10s with the last state. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(app): settle the label sweep on the label its box fits The previous commit rejected one in-between state: the browser clipping the model label beside the thinking label. A slow runner can also leave the label truncated to "Ten second…" after the thinking label is gone, because the label's box widens at once but its text waits for the next layout event. A settled read now requires the shown label to match the box: the full text when the invisible full-text sizer fits, otherwise a truncation that fits. That covers both states, so the clipped-label special case goes. 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> |
||
|
|
e5352c9890 |
fix: size controls by the primary pointer, not any touch screen (#9909)
* feat(desktop): size controls by the primary pointer, not any touch screen The desktop app gave touch-sized controls to every machine with a touch screen, including Windows laptops driven by a trackpad. In Electron, ask whether a mouse-like primary pointer drives the UI instead: Chromium reports a fine primary pointer for those laptops and a coarse one for a tablet with no mouse or trackpad attached. Browsers and native keep the touch-screen check, so an iPad keeps touch sizes with a trackpad attached. Swipe gestures still follow the touch-screen capability. Refs #9892 * feat(app): size controls by the primary pointer on every platform Replace the Electron-only check with one rule everywhere: touch-sized when touch is the primary input, `(pointer: coarse)`, rather than when a touch screen exists at all. WebKit keeps touch primary on an iPad with a trackpad attached, so iPad Safari stays touch-sized; Chromium reports a fine primary pointer for a touch-screen laptop driven by its trackpad, in the browser and the desktop app. Native is always touch-sized. `hasTouchScreen()` and its `maxTouchPoints` fallback had no other caller and are removed. Swipe gestures still follow the touch-screen capability. Refs #9892 * test(app): exercise pointer sizing through the media source * test(app): cover touch laptops with a primary pointer --------- Co-authored-by: Mohamed Boudra <boudra.moha@gmail.com> |
||
|
|
b95f1bbf31 |
fix(app): draw the Add host text fields as inputs again (#9864) (#9865)
AdaptiveTextInput wraps its input with withUnistyles, and the pairing link and direct connection modals wrapped AdaptiveTextInput a second time. On web each wrapper is a display: contents element whose style lands on its direct child, so the outer style landed on the inner wrapper and the input lost its border, background and padding. Drop the outer wrapper, AdaptiveTextInput already themes the placeholder colour. Also give the host password field a placeholder and focus it when pairing asks for a password. |
||
|
|
6eb94611b3 |
test(e2e): wait for the isolated daemon itself, not any listener on its port (#9863)
* test(e2e): wait for the isolated daemon itself, not any listener on its port The helper reserves a port, releases it, and starts the daemon on it. If another process takes the port in between, the daemon exits with EADDRINUSE, but the readiness probe already succeeded against the other listener. The worker fixture then reported the daemon as started and its seed client retried a dead endpoint until the 60s fixture timeout. Readiness now requires /api/status on the port to report this daemon's server id, so the probe keeps waiting, sees the EADDRINUSE exit, and the existing retry moves to a fresh port. * test(e2e): authenticate the readiness probe with the daemon's local credential A password with spaces cannot travel as an HTTP bearer, so the status probe of a password-protected daemon stayed 401. The daemon writes a local credential into its home before listening and /api/status accepts it, as the CLI's local status does. --------- Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com> |
||
|
|
ee3a3ba8c5 |
test(app): pick a new port when an isolated daemon loses its reserved one (#9815)
The isolated host daemon helper reserves a port, releases it, and passes it to the daemon. Another process can bind it in between, and the daemon exits with EADDRINUSE. That failed a Playwright worker's own daemon in the e2eWorker fixture. The first start now reserves a fresh port and starts again when the daemon reports EADDRINUSE; restart() keeps the endpoint the app already knows. Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
2c5f5a1485 |
test(e2e): keep the planted zombie until its shell has exec'd (#9808)
The daemon-lifecycle cleanup-failure test planted a zombie with `sleep 0 & echo $!; exec sleep 600`. dash reaps any exited child after a builtin, so when `sleep 0` exited before `echo` returned, the shell reaped it and `ps -o stat= -p <pid>` failed. The child now reads fd 3 until the helper closes it, which it does only after the shell has become `sleep`. Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com> |
||
|
|
1c175b36b3 |
Keep a dropped Usage card in its new slot on web (#9780)
On web and desktop, dropping a Usage card made it jump above its new slot and slide back down for 200 ms. The web list cleared its drag state on drop and rendered the owner's data again. Usage saves the order through app settings, so the new order arrived in a later render. The render in between had the old order with dnd-kit's transforms cleared, which started a transition back to the old slot. The new order then moved the row's slot under that running transition. The list now holds the dropped key order until the owner's data changes order, and renders the owner's current rows in that order. The drop and the new order commit in one render, so dnd-kit skips the transition. A drag that starts during the hold picks up the rows as displayed. Sidebar lists already reorder in the drop's render and behave as before. The native list has followed the same rule since #9748. |
||
|
|
ef146bc62d |
Browse, install and manage plugins from a built-in gallery (#9752)
* feat(app): browse, install and manage plugins from a built-in gallery Settings → Host → Plugins becomes a gallery with two tabs. Installed lists the host's plugins with on/off switches and pending updates. Browse lists the plugin directory with featured cards, categories, sorting and search. Each plugin has its own page with its screenshots, overview, details, install or on/off controls, and its own settings screens inline. Every install asks first, in a sheet naming the source and version, because installing runs the plugin's code on the host. Uninstalling also asks first; its confirm says what is deleted. The daemon fetches the directory from its configured registry (plugin.registry.list/get, gated by server_info.features.pluginRegistry). The app never fetches from the registry itself, so a host with a private registry shows that registry. README overviews render with the registry's overview contract (the same one the website uses): only https links and images work, and nothing is read as a workspace file. Before this, a word like "Node.js" became a broken relative link. * fix(app): refresh plugin failures and leave Settings cleanly from a plugin page The Installed row read the app-side evaluation error without subscribing to the registry, so a plugin fixed by Reload kept its "failed" badge. Rows and the plugin page now subscribe through usePluginEvaluationError. Leaving Settings with no remembered workspace replaced only the top stack entry; with a plugin page pushed on top, the Plugins list stayed mounted underneath and reopening Settings stacked a second copy. Dismiss the Settings entries first. * fix(app): keep Browse working as the registry grows, and test it end to end Registry listings now reach apps through an open wire schema (plugin.registry.list/get carry PluginListing*), and the daemon drops a listing it cannot read instead of failing the whole index. A registry that adds an artifact kind or bumps schemaVersion no longer breaks Browse on older apps. The gallery picks its opening tab once, so installing the first plugin keeps the user on Browse. README links open only https: the parser still autolinks bare http, www and email text, so a press checks the URL again. Adds a Browse e2e test against a local registry and Git repository: install from a row through the confirm sheet, stay on Browse, open the listing page, uninstall from it. * test(server): give the oversized-sibling diff refresh the same time budget as its siblings expect.poll defaults to one second, which a Windows git diff refresh can exceed. * test(server): wait as long as the other observer tests for native watcher events expect.poll defaults to one second; macOS FSEvents can deliver later than that on CI. * fix(app): keep a listed plugin's page usable after uninstalling it, and fetch the directory less An installed plugin's page finds its listing through the plugin, so uninstalling a directory plugin from the Installed tab left "not installed or listed" with no way back. The page now becomes the listing's page, offering Install again. Updates are re-checked when the host's plugins change and after a failed update, whose proposal named a revision that no longer exists. The directory, listing and update queries refetch on mount only once stale, so opening a plugin's page no longer refetches the whole directory and every update check. * test(app): install the plugin before opening Plugins in the busy-queue reload test Plugins opens on Browse when the host has no plugins and stays there after the first install, so a plugin installed through the daemon after the page opened never showed on Installed. * test(website): wait for hydration before scrolling to the hero in a short window The router resets the scroll position when the page hydrates. Scrolling to the mockup before that left it below the window, so its start line never came on screen and the opening scene never played. It failed 7 of 10 runs on webkit. * fix(server): show the registry setup error on Browse instead of asking to retry The registry's request headers were built inside the try around fetch, so a setup error such as credentials over plain HTTP came back as "Could not reach plugin registry. Retry later." Install already built them first. * fix(app): show plugin errors without the request details meant for logs A daemon RPC error's message ends with requestType=… code=…; the daemon's own text is in userMessage. Gallery alerts and toasts now show that text. * fix(app): show why an update failed on the plugin's page The update operation's failure was recorded under the plugin ID, but the page only read it to show the spinner, so a failed update looked as if nothing happened. The page now shows the error in its own alert, without the plugin's Failed badge, because the installed version keeps running. While an update is still available the button reads Retry. * fix(app): show a plugin page's update error only while the update is offered The failed update stayed in the operations store after the plugin was updated elsewhere or uninstalled, so the page kept saying the update failed. The page now shows it with the Update button it belongs to, as the Installed tab's Updates row does, and uninstalling forgets it. |
||
|
|
116b0a9190 |
Open the Explorer from its toggle state after a resize to phone width (#9771)
ensureExplorerSidebar clicked the toggle only when no Explorer was visible. Right after a resize to phone width one still is for a moment: the wide layout until the app switches, then the closed phone overlay's first frame. The helper skipped the click and the phone Explorer, which starts closed, never opened. The helper now decides from the toggle's aria-expanded, and the Explorer spec waits for the app shell to switch layouts after resizing. Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com> |
||
|
|
a5015dba80 |
Pick the Usage host in Usage settings, and name it under the title (#9740)
* Share the host menu row, a plain sheet subtitle, and settings rows on a menu's rail - HostMenuItem: a host as a menu option (status dot, check), extracted from the sidebar Display menu so other host pages reuse it. - SheetHeaderSubtitle: one muted, truncating line under a sheet title. - MenuSettingsRows: settings rows that share a menu surface with menu rows put their labels on the menu rows' label rail (menuLabelInset). * Pick the Usage host in Usage settings, and name it under the title The host picker leaves the top of the Usage modal body. With more than one connected host, the cog's options lead with a Host row showing the current host; it opens a page of the same surface (a flyout when wide, an in-place page with Back in the compact sheet), so no sheet opens over another. The modal names the shown host in the header subtitle, muted and truncating, so a long host name never crowds the title. With one host, neither shows. Picking a host on a phone no longer dismisses Usage: only the body is keyed by host, so the compact sheet no longer remounts (and dismisses) on a switch. * A Usage host switch shows the new host loading, not the old host's cards The host's reports list was read with a list shape, which keeps the previous key's data while the next loads. Its key differs only by host, so after a switch the old host's cards showed under the new host's name until its reports arrived. Read it as a value. The title-row controls are keyed by host too, so a failed setting change on one host never shows on another. * Put menu settings rows on the menu's existing content rail menuRowContentInset already names the menu row's label rail next to the style it mirrors; drop the duplicate menuLabelInset. |
||
|
|
da3be528e9 |
Open the project chooser with Cmd+N on New workspace (#9741)
* feat(app): open the project chooser with the new workspace shortcut * fix(app): claim project shortcuts while projects load * fix(app): keep project shortcuts owned by the focused screen |
||
|
|
5f89e666d0 |
Keep New workspace plugin metadata when the first agent start is retried (#9734)
When New workspace hands its draft to the ready workspace's draft tab, the text and setup move with it but the draft's plugin metadata did not: it was cleared with the New workspace draft and never written to the destination draft. A send after a failed first start then created the agent without the metadata. Copy the metadata into the destination draft at handoff, before the New workspace draft is cleared. Closes #9716 Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com> Co-authored-by: Michael Wu <michaelmwu@gmail.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
41d6dc9cd7 |
Reorder and turn off Usage cards, with matching sheet header and host picker controls (#9660)
* feat(app): reorder and turn off usage cards Usage cards default to alphabetical order. Drag a card by its handle to reorder it; the handle shows on hover on web and is always visible on native and compact layouts. A card's switch turns it off: the card collapses to its header and its windows leave the sidebar summary. Order and off state are device-local usage preferences. Inside a native bottom sheet, a drag gesture can now keep the touch: the sheet's content pan waits for the list's drag pan (react-native-draggable-flatlist gains `dragGestureRef`), and the sheet scroll stops while a drag is active. * feat(app): one icon button for every sheet header The sheet header's back arrow, close X and actions now render through SheetHeaderIconButton, which takes the header island chrome CompactHeader uses: 26pt frame and 16pt glyph on pointer, 44pt and 20pt on touch, muted colour, hover fill and tooltip. Edge buttons hang into the row padding so their glyphs sit on the content rail; the row keeps its 64pt height and the trailing actions shrink before the title collapses. Migrates the diagnostic, import session, model browser, changelog, plugin logs and sheet pane actions, and moves the tool-call and tool-call overview sheets onto SheetHeaderView. The Usage refresh and options buttons size their glyph from the header scope. adaptive-modal-sheet and the migrated sheets leave the raw-pressable burn-down list. * feat(app): host picker trigger and Usage host placement HostFilter renders the shared ComboboxTrigger, as in Settings, and truncates long host names. Sessions, Schedules, plugin surfaces, the labels manager and Usage pick this up together. The Usage modal puts the host picker at the top of its body on every form factor. The header is title, Refresh all, Settings, X, so the title stays whole on a phone. |
||
|
|
6f685d37be |
Command center tabs, recent workspaces, and archived workspace search (#9689)
* feat(app): command center tabs, recent workspaces, and agents in workspace search
The command center gets All · Workspaces · Files · Actions tabs under the search
field. Tab and Shift+Tab rotate them on web, a tab keeps the query and starts at
its top, and Backspace on an empty field returns to All. ⌘P opens on Files in
place of the Files scope chip.
All leads with the three most recent workspaces other than the open one. Agent
rows are gone: an agent's title now finds its workspace, which shows the agent on
a third line and opens that agent's tab.
The selection now follows the first result until the user moves it, so rows that
load above it do not leave it on the row below.
* feat(app): archived workspaces in command center search
A query in All or Workspaces now also finds archived workspaces through
agent history, appended after the active matches. Archived rows show the
archive time and an Archived badge, and open the workspace's latest agent
where it can be unarchived. Hosts without history search contribute
nothing. History's archived badge moves into a shared ArchivedBadge.
* fix(app): put the command center divider between the field and the tabs
The tabs belong to the results, not the search field, so the rule now
separates the field from the tab bar. The tab-rotation test also pins the
list's top, since the tabs no longer live inside the header it measured.
* fix(app): rank agent matches by quality, keep background workspaces out of Recent, explain Files off-workspace
- Score each agent together with its workspace's title and subtitle, so a
query split across them ("payments login") finds the row, and pick the
workspace's own match only when it is as good as its best agent match.
Across workspaces, match quality now ranks before own-versus-agent.
- Carry the workspace's background flag through the project summary and
leave background workspaces out of Recent workspaces, as the sidebar
does. A query still finds them.
- The Files tab outside a workspace says "Open a workspace to search
files" instead of "No matches".
* fix(app): settle command center selection, name agents only for loose matches, drop Files off-workspace
- Name a workspace's agent only when the workspace's own text does not match
contiguously and the agent does; a change-request hit is always an own match.
- Follow the first row only until every source for the query and tab has
loaded, then keep the selection by ID so reorders do not move it.
- Projects stay loading until an online host's workspaces have arrived; the
agent directory reports ready first.
- Outside a workspace there is no Files tab and All lists no files; the All
placeholder names only what the available tabs search.
- The unqueried Workspaces list follows the sidebar's Show background setting.
* fix(app): keep Projects loading honest, rank own-name matches by their agents too, refresh archived search after archive
- The command center waits for online hosts' workspaces itself instead of
through useProjects. useProjects held isLoading until workspaces
hydrated, but a failed workspace request never hydrates, so the
Projects screen could spin forever.
- A workspace that matches on its own name is ranked by the better of
that match and its agents', so typing into an agent title shared with
another workspace no longer drops it below that workspace and back.
- Archiving a workspace marks agent history stale. Archived search reused
a cached page that still listed the agents as active, so a workspace
archived in the last 30 seconds matched in neither list.
* fix(app): decide command center agent matches by match class
One rule now picks both what a workspace row shows and how it ranks. A
match falls in a class: every word at a word boundary, a word inside a
word, or scattered/misspelled. A row names its agent only when the agent
matches in a closer class than the workspace's own text, never on a
change-request hit. Rows rank by class, then own text ahead of an agent,
then score, then recency.
The previous rules chose the ranking candidate and the displayed
candidate separately, so each fix moved the edge case: positional tier
gaps named agents mid-word, and ranking by a hidden agent let a mid-word
name outrank a word-boundary one with nothing on screen to explain it.
* style(app): format command center workspace search import
* fix(app): settle archived search when no history host is reachable
With no searchable host online, the history query is disabled under a new
key, and keepPreviousData kept serving the old key's rows as placeholder
data. Archived search read that as still waiting for results, so the
command center selection never settled and followed every re-rank.
Previous results now stand in only while the query can run.
|
||
|
|
7286d3ef81 |
Wait for Command Center rows to settle before counting renders (#9714)
The live-search test reset the row render counter after a fixed 600ms. On a loaded runner FlatList was still mounting overscan rows after that, and each late mount counted as a render of an unchanged row. Reset the counter only after a quiet period with no row render. Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
c81f38d7ca |
Give the sidebar list its end back: drop the permanent room for the toast (#9667)
The sidebar list's bottom padding goes back to 16 and stays constant. The archive toast stays over the list's bottom edge, as on main, so nothing moves when it appears or leaves. |
||
|
|
2fa0e4b169 |
fix(app): load older history when an upward wheel lands at the start (#9570)
A wheel listener can run before or after the browser applies the scroll it causes. When the reader had already stopped following output and the last notch landed exactly at the history start, the listener saw the pre-scroll position, did not re-arm history-start pagination, and no older page was requested. The upward scroll now re-arms loading itself. The turn-collapse journey hung on this race until its 120s timeout; the older-history page wait now fails with a message after the expect timeout. Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
a6a37b568d |
fix(app): correct composer glyph and placeholder tones (#9608)
* fix(app): mute labelled toolbar glyphs to match their labels Touch-sized composer glyphs rested at foreground while the label beside them used foregroundMuted. Use the existing label/icon glyph roles: a labelled glyph takes the muted tone, while an icon-only glyph keeps the foreground header-icon treatment from #8909. * test(app): keep toolbar tone coverage in the browser journey The component-level probe asserted the color prop handed to a stub icon in JSDOM, which the testing rules forbid. The real-browser journey already checks the rendered stroke and label colors for both glyph roles. * test(app): expect the muted tone for a labelled toolbar glyph The composer layout test still asserted the old foreground tone for the label role. * fix(app): quiet the composer placeholder to extra muted The empty composer painted its placeholder with surface4, a surface token, instead of a text tone. Use foregroundExtraMuted so it sits below foregroundMuted and above the background, and document the composer-specific exception. * test(app): clean up a composer tone fixture when setup fails The helper now releases the seeded agent and repository if navigation or the readiness check throws before the test owns cleanup. |
||
|
|
93d21e5612 |
Preserve the mobile sidebar when returning from Settings (#9641)
* fix(app): preserve mobile sidebar continuity through Settings Retain the sidebar for the Settings visit so Back resumes the original navigation surface without a new drawer animation. Native screen appearance owns the handoff because pathname and layout updates precede presentation. * fix(app): keep settings navigation imports lightweight Keep the Settings visit state accessible without loading native presentation hooks, and exercise continuity with a scrolled list and complete paint capture. |
||
|
|
6213df73dc |
Download files from unavailable previews (#9640)
* feat(app): download files from unavailable previews * fix(app): download files outside the workspace |
||
|
|
02d3a05d2b |
Let scrolling cancel sidebar press highlights (#9637)
* fix(app): let scrolling cancel sidebar press feedback The independent native highlight gesture painted on finger-down before a tap was recognized and competed with Pressable for mouse clicks. Use the standard Pressable lifecycle with a short activation delay so scrolling cancels pending feedback. * fix(app): show press feedback on the usage summary The summary only styled hover, leaving touch presses without visual acknowledgement. Share the standard delayed press primitive and paint its pressed state before opening Usage. * fix(app): keep floating action press feedback opaque Press styles replace the surface background. Give floating actions a solid pressed fill rather than a translucent overlay tint, and verify held feedback and release through the standard pressable. |
||
|
|
dd2281d82c | fix(app): shorten reconnecting toast text (#9636) | ||
|
|
85ce1aa828 |
fix(app): preserve settings scroll through appearance changes (#9605)
Preserve settings scroll and form edits across appearance changes while refreshing numeric typography at text and input leaves. Normalize displayed font sizes explicitly after commits. Closes #9600 Closes #6931 Closes #6915 Co-authored-by: Josh <joshuaamayer@gmail.com> |
||
|
|
7c35ad90b9 |
Start an edited agent draft after its first start failed (#9534)
* test(app): reproduce edited draft retries after a failed agent start Resubmitting an agent draft after its start failed reuses the draft ID as the creation key with different inputs, and the daemon rejects it with agent_request_key_conflict (or workspace_request_key_conflict from New workspace). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(app): start an edited agent draft after its first start failed The draft sent its draft ID as the creation key on every submit. After a failed start the daemon keeps that key's request, so resubmitting an edited draft was rejected with agent_request_key_conflict. The key now names the draft's exact request: a retry resumes it, an edit starts a new one. A retry after New workspace's agent failed to start creates the agent in the workspace that is already ready, instead of replaying workspace provisioning with a different agent. Co-authored-by: michaelmwu <421504+michaelmwu@users.noreply.github.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: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: michaelmwu <421504+michaelmwu@users.noreply.github.com> |
||
|
|
9eccb4722b |
Model picker profile buttons respond to taps on Android tablets (#9526)
* fix(app): keep the model picker's profile action tappable on Android On Android tablets the model list scrolls inside an independent viewport whose native scroll gesture cancels a plain Pressable's touches. Rows use the gesture-aware pressable; the profile + and the Profiles pencil were left as plain Pressables. Route both through the same gesture path. * test(app): cover the tablet model row's profile action on Android Adds an agent-device journey that taps a model row's `+` in the New workspace picker on an Android tablet and waits for the seeded profile form. It fails on main, where the tap is swallowed, and passes with the gesture-aware profile action. Co-authored-by: moevis <moevery@gmail.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(app): make the tablet profile journey follow the documented setup The journey now starts from a remembered model like its sibling, so it runs after model-tablet.android.ad, and asserts that closing the profile form leaves the remembered model selected, so a tap on `+` that also selected the row fails it. Co-authored-by: moevis <moevery@gmail.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(app): keep the no-profiles requirement for the tablet profile journey With a saved profile the picker opens on its root view, which has no Back, so the journey needs a host with no agent profiles. Co-authored-by: moevis <moevery@gmail.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(app): hide the model row's profile action through its style IconActionButton took a pointerEvents prop that only its web branch applied, so a native caller hiding the action would get an invisible button that still took taps. The hidden style now carries pointerEvents: "none", which every pressable branch already applies, and the prop is gone. The web journey checks the plus ignores taps until its row is hovered. Co-authored-by: moevis <moevery@gmail.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: moevis <moevery@gmail.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> |