mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-26 02:05:31 +00:00
aa0a91ff6c841c74740887d0fb6fc59ebf7ebf55
1041
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 |
||
|
|
da74f7de1f |
Offer Push and Pull for a branch whose remote is not named origin (#10679)
* fix(git): offer Push and Pull for a branch whose remote is not origin A checkout whose only remote has another name, with main tracking that remote's main, got no Push, Pull or Pull and push. The app gated all three on hasRemote, which is true only when origin is configured, and the daemon's pull refused to run without origin. Neither action needs origin. The daemon now reports where each one goes for the current branch (pullRemote, pushRemote) and the app offers the actions from those. One resolver picks the push destination for both the status and the push, so the offer and the push cannot disagree. Without origin, Push follows the upstream only when the upstream branch has the branch's own name and git pushes the branch to that remote. A branch such as feature tracking upstream/main can be pulled and is not pushed. With origin, every push goes where it went before. firstPushRemote stays on the wire for apps that predate pushRemote. * fix(git): follow Git's own push destination when origin is missing Without origin, Push compared the upstream's remote with the remote Git pushes the branch to. That missed a push refspec: with remote.<upstream>.push set, plain `git push` updates another branch, and Paseo still updated the upstream. A regular checkout with a push refspec on branch.<name>.pushRemote was pushed there and stayed ahead of its upstream. Push now asks Git where `git push` sends the branch (%(push)) and follows the upstream only when that is the upstream. This also covers push.default. A Paseo worktree keeps the push refspec Paseo configures for a PR checkout. Pull no longer requires a configured upstream before it runs. Git decides, so a branch with no upstream in a single-branch clone pulls again. * fix(git): compare the push remote by name when origin is missing Push compared Git's push destination with the upstream as remote-tracking refs. Two remotes whose fetch refspecs map onto the same tracking namespace give the same ref for different repositories, so a branch Git pushes to one remote was sent to the other. The remote Git pushes to is now compared by name as well. * fix(git): leave a matching-mode push to the user when origin is missing Under push.default=matching, git push sends a branch only when the remote still has it. The checkout's remote-tracking ref can outlive a branch deleted on the remote, so the daemon cannot tell from local metadata that the push would go to the upstream, and its explicit push would recreate the branch. Without origin, Push is now refused in that mode. |
||
|
|
1fea66215d |
Show Push for a branch that was never pushed (#10631)
* fix(git): offer Push for never-pushed branches and non-origin remotes The Changes pane decided whether to offer Push from two daemon fields that answered a different question. `aheadOfOrigin` is null both when a branch has no upstream and when its upstream was deleted, so the app could only treat null as a first push inside Paseo worktrees; a never-pushed branch in a regular checkout got no Push. `hasRemote` is true only for a remote named origin, so a branch tracking any other remote got "not connected to a remote" while the daemon's push would have used the tracked remote. The daemon now reports the two facts the decision needs: `upstreamState` (tracked, none, gone, unknown) and `pushRemote`, resolved by the same function `pushCurrentBranch` uses, so the button and the push cannot disagree. A deleted upstream stays out of first-push in regular checkouts so Paseo does not silently re-publish a branch whose remote copy was removed; Paseo worktrees keep re-publishing, as before. Both fields are optional on the wire. Against an older daemon the app keeps the previous rule, tagged COMPAT(checkoutPushTarget). * fix(git): keep a published branch out of first push in single-branch clones A `--single-branch` or `--depth` clone keeps no remote-tracking ref for a feature branch, so git reports a blank upstream even after `push -u` set `branch.<name>.remote` and `.merge`. The daemon read that blank as "never pushed", and a regular checkout then offered Push, which re-created the branch after it was deleted on the remote. A blank upstream is now "none" only when no upstream is configured. A configured upstream git cannot resolve is "unknown". Paseo worktrees keep publishing in that state, as they did before upstreamState existed. * fix(git): do not push to the upstream when git pushes the branch elsewhere With `branch.<name>.pushRemote` or `remote.pushDefault` naming a fork, git pushes a branch that tracks `upstream/main` to the fork. The daemon ignored a push remote that has no HEAD push refspec and pushed HEAD to the tracked branch instead, which is the shared base. Offering Push for remotes not named origin made that reachable in checkouts that have no origin. The push target is now empty when git's push remote differs from the remote the daemon would use, so status reports no push remote and the push refuses with a message that names git's push remote. Push remotes Paseo configures itself carry a HEAD push refspec and are unaffected. * fix(git): withhold Pull and push when Push has no remote to send to Pull and push checked only that origin exists, so it stayed available when the daemon reports no push remote. It then pulled, which can create a merge commit, and failed at the push. It now uses the same push remote check as Push. * fix(git): do not extend pushes to a differently named upstream branch The daemon pushes a tracked branch to its upstream branch whatever that branch is called, so `feature` tracking `main` pushes to `main`. The app offered Push only in checkouts that have origin. Reporting a push remote for any tracked remote made the same push reachable without origin, for example `feature` tracking `upstream/main`. Without origin, the upstream is now a push target only when its branch has the same name as the local branch, which is the push git itself makes by default. Checkouts that have origin behave as before. * fix(git): limit the Push fix to never-pushed branches Push for branches that track a remote other than origin is removed from this change. Supporting it means following Git's push settings (branch.<name>.pushRemote, remote.pushDefault, push.default) for every remote, and each review round found another setup where the push would have gone to the wrong place. The daemon's push is the same as before this branch again. What stays is upstreamState on the checkout status, which lets the app tell a never-pushed branch from one whose remote copy was deleted, and the app rule that offers a first push in a regular checkout. * fix(git): withhold first Push when git pushes the branch to another remote The daemon publishes a branch with no upstream to origin. Git picks the remote for a push from branch.<name>.pushRemote, then remote.pushDefault, so in a fork setup `git push` sends a new branch to the fork while Push sent it to origin. Offering a first push in regular checkouts made that reachable there. The checkout status now reports firstPushRemote: origin when git would push the branch to origin too, null otherwise. A regular checkout offers a first push only when it is set. Paseo worktrees and the daemon's push are unchanged. The never-pushed browser test read the branch's upstream as soon as the remote had the branch. Git writes the upstream after that, so the test now waits for it. * fix(git): check the first push destination again before pushing The app offers a first push from a checkout status that can be older than the git configuration. If remote.pushDefault or branch.<name>.pushRemote changed after the status loaded, Push still published the branch to origin. The daemon now makes the same check when it pushes: in a regular checkout, a branch with no upstream is published to origin only when git would push it there too. Otherwise the push is refused with a message that names git's remote. Paseo worktrees, and branches whose upstream is a local branch, push as before. * fix(git): describe a missing upstream without blaming the remote A branch can track a local branch. When that branch is deleted, git reports the upstream as gone, and the Push menu said the branch was deleted on the remote, which never happened. The message now says the tracked branch no longer exists, which is true for a local and a remote upstream. * test(server): expect the Paseo home in the session push call The checkout session now gives pushCurrentBranch the Paseo home, so the push can tell a Paseo worktree from a regular checkout. The session test still asserted the old single argument. * fix(git): read a branch's Git settings under its real name when a tag shares it With a tag of the same name, git spells the current branch heads/<name>. The daemon used that spelling to read branch.<name>.* settings and the branch ref, so it found none of them. A never-pushed branch set to push to a fork was reported as publishable to origin and was pushed there, a branch whose remote copy was deleted was reported as never pushed, and a branch tracking a fork was pushed to origin. The status and push paths now read those settings and the ref under the name from the symbolic HEAD ref. getCurrentBranch, the branch name sent to clients, and the refspec of the first push keep git's short spelling, which is the right one for a revision. |
||
|
|
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
|
||
|
|
80c44321cc |
Move the Markdown engine into the repository and fix two Android list layouts (#10499)
* chore(app): vendor react-native-enriched-markdown with the Paseo patch applied Copy react-native-enriched-markdown@1.2.0-nightly-20261014-766fc0e67 (upstream software-mansion/enriched-markdown 766fc0e67) into packages/react-native-enriched-markdown, with patches/react-native-enriched-markdown+1.2.0-nightly-20261014-766fc0e67.patch applied. Nothing else changes in this commit; the package is not a workspace yet. Reproduce: npm pack react-native-enriched-markdown@1.2.0-nightly-20261014-766fc0e67 tar xzf react-native-enriched-markdown-*.tgz mkdir -p t/node_modules && mv package t/node_modules/react-native-enriched-markdown (cd t && git init -q && git apply ../patches/react-native-enriched-markdown+*.patch) diff -r t/node_modules/react-native-enriched-markdown packages/react-native-enriched-markdown The diff is empty. * chore(app): consume react-native-enriched-markdown from its workspace Make packages/react-native-enriched-markdown a private workspace and point the app at it, then remove the patch-package patch it replaces. - package.json: private, version follows the root like every workspace, only the postinstall script that downloads tree-sitter grammars. Upstream's devDependencies would install a second react-native, so they are gone. - The package keeps its name, so autolinking, the Gradle project :react-native-enriched-markdown, the CocoaPods spec and imports are unchanged. - Lockfile: drop the nested registry copy under packages/app/node_modules; npm links node_modules/react-native-enriched-markdown to the workspace. - Formatting, lint and knip skip the vendored code. CI routes changes to it through the app and browser suites. - The codegen test checks the vendored package's generated props. - docs/markdown-renderer.md describes the fork and how to edit it. * fix(app): keep numbered sub-list markers off their text on Android From #9964, moved from the package patch into the vendored package. On Android, a numbered list nested in a bulleted item drew "1." over the first letters of each item. A nested item's text indent summed the root list's narrow bullet column with a fixed marginLeft, while its marker was right-aligned to its own wider "99." column, so the number landed on the text. iOS already indents from the item's own column. Backport the Android hunks of upstream enriched-markdown #1015 (size the number column to the widest marker) and #1023 (nested items start their text from their own marker column). test:android now also runs the backported ListRenderingTest and TaskListInteractionTest suites. docs/markdown-renderer.md lists the fork's backports, this one and #924, which the removed postinstall comment used to track. The vendored tree equals the #9964 patch applied to the pristine package. * fix(app): keep Android assistant replies inside their turns From #10380, moved from the package patch into the vendored package. On Android, an assistant reply with blockquotes nested inside a list could overlap its "Worked for ..." footer and the next user message: the displayed text and the layout measurement applied spans in different orders, and the list-wide line height inflated the blockquote spacers when it ran after them. Use the same span order for Android Markdown measurement and display. Apply list line height before blockquote spacers so nested quotes keep their configured padding and the reply fits above the turn footer. test:android now also runs ListBlockquoteMeasurementTest. Applied on top of #9964; the two changes share only ListRenderer.kt, where #10380's import and line-height call sit beside #9964's marker width code. Every other file equals the #10380 patch applied to the pristine package. * chore(app): match the vendored Markdown web block renderer source to its build The package patch changed lib/module/web/renderers/BlockRenderers.js (the renderers.codeBlock override and the zoom-in cursor on images) but not src/web/renderers/BlockRenderers.tsx. The app runs lib, so behavior does not change. Port both changes into src so src stays the source of lib. |
||
|
|
ec22b82659 |
Let iPhone sheets expand and collapse from their body, so every workspace tab is reachable (#10525)
* fix(app): let iOS sheet bodies expand and collapse their sheet PaseoScrollViewComponentView defined a private helper named contentView, which overrode RCTViewComponentView's contentView getter. Gesture-handler reads that getter to choose the view a gesture binds to, so a bottom sheet scroll view's native gesture bound to its content child. Its pairing with the UIScrollView pan failed, and below the top detent the sheet locked scrolling while body drags no longer moved the sheet: the workspace tab picker, Usage and tool detail sheets stayed stuck at their first height. Renaming the helper restores the inherited getter. * test(app): cover dragging the iPhone tab switcher sheet by its list The sheet exposes its rows to XCUITest as one element, so the flow taps fixed points that hit a row only at the expected sheet height and asserts which tab opens. It fails at the expansion step without the scroll view fix, and at the final step when the collapse swipe is removed. |
||
|
|
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. |
||
|
|
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 |
||
|
|
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. |
||
|
|
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> |
||
|
|
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. |
||
|
|
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> |
||
|
|
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 |
||
|
|
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. |
||
|
|
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. |
||
|
|
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> |
||
|
|
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> |
||
|
|
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> |
||
|
|
2a10550a02 |
Paste copied reply text as displayed in plain-text targets (#10079)
* fix(app): preserve literal text in selection copy * fix(app): keep literal angle brackets in copied selection HTML Unwrapping a recognized URL left displayed text such as `<http://localhost:3000>` in the Markdown that feeds text/html. Turndown does not escape `<`, so the clipboard renderer turned it into an autolink and dropped the brackets. Escape `<` in the Markdown flavor. Describe the renderer/copy link contract in docs/markdown-renderer.md instead of restating the code. Co-authored-by: Dan Berindei <dan.berindei@gmail.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(app): keep recognized web links and table pipes in rich and plain copy Unwrapping recognized links in the shared copy DOM removed them from both clipboard flavors, so a copied `#12` lost its forge URL in rich paste. The renderer now marks recognized links with their own attribute: text/plain carries them as the text the reply showed, and text/html keeps them as links when they point to a web page. Workspace paths stay plain text in both. text/plain still emits tables as GFM syntax, so keep the cell-pipe escape in both flavors. Co-authored-by: Dan Berindei <dan.berindei@gmail.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(app): copy recognized Windows drive paths as text in rich paste The rich-paste link check accepted any URI scheme, so `C:\repo\x.ts` kept a link with an unopenable `C:` href. Keep recognized links in text/html only for http and https URLs. Co-authored-by: Dan Berindei <dan.berindei@gmail.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(app): keep split line-start Markdown literal in copied selection HTML Selecting from the `#` in `**C#**` to the end of the paragraph left `#` and ` for ...` as separate text nodes after unwrapping, so Turndown did not escape the heading marker and rich paste showed a heading. Merge the text nodes before serializing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Dan Berindei <dan.berindei@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> |
||
|
|
62fc15d77a | feat(agents): show and stop heartbeats alongside background tasks (#10097) | ||
|
|
f1f2509c12 |
Keep Android composer taps working after zooming a chat image (#10057)
* fix(android): keep composer taps working after pinching an image React Native counted two touches at the start of a pinch but received a native takeover cancellation for just one. Typing could then claim the responder and consume the first toolbar tap. Cancel the active contacts when the gesture handler takes over. * docs(android): describe the chat image fixture for the pinch regression |
||
|
|
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> |
||
|
|
59d6018dac |
Preserve commits when archiving workspaces (#10009)
* fix(workspaces): preserve commits when archiving worktrees A removed worktree can be the only reference to its HEAD. Keep that commit before deletion and record the checkout so detached workspaces restore at the same commit. Co-authored-by: Okan YILDIRIM <63511519+ragokan@users.noreply.github.com> * fix(workspaces): restore saved checkouts through one git path Keep existing archive and deletion behavior when Git cannot read a worktree HEAD, and record every readable checkout for a common restore path. * fix(workspaces): preserve git HEAD identity through restore Record Git’s full HEAD ref or commit so restore can pass branch and detached checkouts to Git without guessing from a short name. * fix(workspaces): scope saved HEAD to each archive An archive with no readable checkout must not retain the HEAD saved by an earlier archive. * test(workspaces): verify detached checkout after restore Update the browser journey for detached restore and allow the daemon restart test enough time on Windows runners. --------- Co-authored-by: Okan YILDIRIM <63511519+ragokan@users.noreply.github.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> |