Holding Cmd to preview sidebar jump badges or rolling off shortcuts like Cmd+Tab or Cmd+B before clicking a workspace row accidentally entered sticky multi-select mode. Outside select mode, only Shift+click (without Cmd/Ctrl) and the row menu now enter select mode; once select mode is active, Cmd/Ctrl+click and plain clicks continue to toggle rows and Shift+click continues to adjust ranges.
Also make readPressModifiers trust explicit boolean modifier flags on non-touch pointer events instead of ORing with the held-key tracker, so a swallowed key-up cannot cause phantom modifier clicks on desktop while keeping the fallback for native and touch-synthesized presses.
Two separate races let the restore gate drop early.
The daemon sends the workspace_update before the restore reply, but the
app batched workspace updates to the next animation frame. The reply
resolved first, the route never saw "restoring with the workspace
present", no post-restore handoff started, and the chat mounted while it
was still loading. Buffered workspace updates now flush when any reply
arrives, so a caller that reads the store after its reply sees the update.
Unsolicited updates keep their per-frame batching.
The handoff released after a fixed three frames, but the desktop tab row
shows tabs only after RN-web onLayout measures every label, which runs
through ResizeObserver and setTimeout and can land later. The gate then
dropped onto an empty tab strip. On-screen chrome behind the gate can now
hold the reveal; the tab row holds until its measured track matches its
labels. The 2.5s handoff timeout still bounds the hold.
* feat(server,app): group agent tools under one Enable tools setting
Replace the separate "Enable Paseo tools" and "Browser tools" settings with
one `daemon.tools` configuration: an `enabled` switch plus per-group switches
for orchestration, schedules, PR watching, and browser. Every built-in tool
now declares its group, scope, and daemon permission in one registry, so
native providers and the loopback MCP endpoint filter the same catalog.
Tools are on by default for hosts that never set the legacy injection flag.
Hosts that set `daemon.mcp.injectIntoAgents: false` keep tools off. Legacy
`daemon.mcp.*` and `daemon.browserTools.enabled` are still read when
`daemon.tools` is absent; those shims are tagged COMPAT.
Voice mode now requires tools. When tools are off it refuses with reasonCode
"tools_disabled" and the voice settings page offers a one-click Enable tools
action. Dictation is unaffected.
* fix(app): keep the host's tool groups when setup is shown again
The Orchestration step started its tool groups from the defaults and wrote
all four on Continue, so a host with Browser on or Schedules off lost those
choices when the user opened setup again. The groups sit in a collapsed row,
so the user never saw the switches. Setup now shows the host's groups and
writes only the groups the user changed.
The compact-layout setup test assumed the host starts with tools off; it now
turns them off first, since tools are on by default.
* fix(server): keep wire schemas out of the configuration entry point
tools-config.ts imported the default tool groups from protocol/messages,
which pulled every wire schema into @getpaseo/server/configuration. The
group constants now live in the Zod-free protocol/tool-groups module, and
messages re-exports them.
The WebSocket server read the config store behind a guard that only
existed for incomplete test stubs. The store is a required dependency, so
the guard is gone and the stubs provide get().
* feat(app): show only the Enable tools switch in setup
Setup is for getting started, so the Orchestration step shows a plain
Enable tools switch next to skills and the CLI. Tool groups stay in
Settings > Tools & prompts. Setup writes only the main switch, so the
groups a host already saved are never touched.
* fix(server,app): let voice mode deliver speak when agent tools are off
Main now delivers a speak-only tool set to an agent in voice mode when
agent tools are off (#11161). This branch refused voice mode in that case
with reasonCode "tools_disabled", which blocked that path.
Voice mode no longer checks the Enable tools setting. The master switch
still removes every built-in and plugin tool, except speak for an active
voice session. The voice settings alert, its Enable tools button, the
"Required for voice mode" hint, and the tools_disabled server capability
are removed.
Also removes a duplicate DaemonClient import that the rebase onto main
left in agent-mcp.e2e.test.ts.
The smoke test stopped before sending its prompt because it read the retired features property. Check the Plan toggle in session controls to exercise the current provider interface.
Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>
The socket-overflow restore test stalls the daemon until the PTY has
accepted an 8 MiB burst, with a 10 s limit. On Windows, ConPTY takes
2-6 s for that write on a normal run, and a loaded runner went past
10 s. Wait up to 30 s, and raise the test timeout to 60 s to match.
Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Existing user text keeps its generated web font class after the theme changes. Subscribe the message text to appearance changes so the open chat can refresh it in place.
Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>
Co-authored-by: bearyjd <28201062+bearyjd@users.noreply.github.com>
Paseo clears CLAUDE_AGENT_SDK_VERSION from the Claude process env along
with the parent-session vars. Without it, and with no explicit entrypoint,
Claude Code labels the process a bare `claude -p` run (`sdk-cli`) and never
writes the automatic chat title (`ai-title`) to the transcript. Keep the
version the SDK sets for its own child.
* fix(archive): keep worktrees with uncommitted changes
Archive used forced Git removal after workspace teardown, even when a file appeared after a clean status check. Check the worktree after teardown and preserve it unless the caller explicitly requests forced removal.
* Remove clean worktrees with initialized submodules
---------
Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>
The final row returns to its usual gap even when its travel is shorter than the toast. Let the toast expire on the normal browser clock and verify that the row moves through an intermediate position before it settles.
Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>
* perf(app): keep running-turn indicators off the main thread
The six-dot loader, the status ring and the tool-call label shimmer run for
as long as an agent works. Each of them was driven per frame from the thread
that runs React: a requestAnimationFrame loop for the loader on web, a
text-clipped background animation that repainted the label every frame, and
Reanimated shared values that commit a shadow tree every frame on native.
Hand each animation to the platform's animation engine once instead:
- Web: Web Animations API loops over transform and opacity, carried by the
compositor. No script, style or paint per frame. CSS @keyframes are not
used because React's root animationiteration listener makes Chromium wake
the main thread around every cycle of every CSS animation.
- Native: React Native's Animated native driver, with a never-slowing decay
as a frame-exact clock. The loader's six steps come from a timer aligned
to step boundaries, not a frame callback.
- One motion policy for all three: no motion under reduced motion, in a
hidden retained panel, or in the background; the indicator draws its
resting frame instead.
The look, cadence and phase-sharing of the indicators are unchanged.
Closes#4634
* fix(app): compose the native ring's turning style at render
The module-scope guard for Unistyles style reads flags any `*styles`
property read in a module initializer. Keep only the transform at module
scope and combine it with the rotator geometry in the component.
* fix(app): Keep chats synchronized after online connection replacement
Initialize each new timeline owner from its bound client's connection
state. An adaptive transport switch can replace the client while the host
stays online, so the connection-state effect does not otherwise rerun.
Cover the online replacement with a real browser/daemon regression and
include before/after QA evidence.
Co-Authored-By: Codex <noreply@openai.com>
* test(app): Harden online connection replacement coverage
Advance the browser clock while awaiting real heartbeat and probe cycles
to avoid minutes of wall-clock waits. Check continuous connectivity,
hidden-chat catch-up, and prompt dismissal of the reconnect indicator.
Keep exact subscription matching as the shared helper default. Record
RED and GREEN evidence from byte-identical final test sources.
Co-Authored-By: Codex <noreply@openai.com>
---------
Co-authored-by: Codex <noreply@openai.com>
* fix(app): keep Markdown table <br> line breaks inside their cells
* fix(app): scan HTML table wrappers in a single forward pass
* fix(app): preserve tag-only line prefixes before wrapped tables
* fix(app): pad <br> U+2028 separator on both sides for flanking emphasis
* build(app): rebuild the Markdown web parser with table cell line breaks
The engine moved into the repository, so the table cell change now lives
once in cpp/parser/MD4CParser.cpp and web gets it from a rebuilt WASM
instead of a second TypeScript pass over the parsed tree. Built with
emsdk 4.0.10; a build of the unchanged sources parses every Markdown file
in the repository the same as the previous artifact.
The parser now autolinks a bare URL after a table cell break, as it does
the first one. Sources without `<br` skip the extra table parse.
Co-authored-by: Ouyang Xingyuan <galaxyroaming@qq.com>
* fix(app): keep table cell line breaks when copying a table
A table cell can now hold a line break, but the copy paths wrote it as a
newline, which splits the Markdown row. Web selection copy and the native
serializers write it back as `<br>`. The native row accessibility label
joined the two lines into one word, so it now reads them apart.
---------
Co-authored-by: Mohamed Boudra <boudra.moha@gmail.com>
Claude Code reports things the user needs to know through
`{"type":"system","subtype":"notification"}`, for example that a requested
Code Mode did not start. The Claude provider had no branch for that subtype,
so the text only reached a trace-level raw event.
Map it to the existing timeline `notification` item (warning for `high` and
`immediate` priority, info otherwise) and log it as `claude.notification`
at warn or info.
Fixes#11241
Co-authored-by: minamorl <minamorl@users.noreply.github.com>
The composer laid out the entire draft in a hidden textarea on every edit. Once complete lines establish the height cap and fullscreen threshold, measure those lines and keep the full text in the editor.
Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>
Command discovery can launch Claude before the user sends a message. Start reading each query when it launches so a turn Claude starts on its own reaches the live timeline.
Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>
* fix(terminal): kill the program tree first on Windows in killAndWait
On Windows, node-pty's kill closes the pseudoconsole at once and kills
the console's processes only after a forked helper reports them.
Closing the pseudoconsole closes the output pipe, and node-pty reports
that as the program's exit. killAndWait therefore saw an exit inside
its graceful wait and skipped the force step added in #11147. The
terminal worker exits right after killAndWait during shutdown, so the
helper's kill never ran and the program kept running after "Restart
and close terminals".
On Windows, killAndWait now kills the program's process tree before it
closes the console. Windows has no graceful signal, and node-pty's own
kill was already TerminateProcess, so no graceful step is lost.
Refs #11134
* test(terminal): end the program before the caller of killAndWait exits
---------
Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>
* fix(acp): show the latest sessions in Import Session
ACP peers can return sessions in storage order. Applying the result limit before sorting discards newer sessions before the daemon receives them.
* fix(acp): keep import results when extra pages stall
Once the provider supplies enough sessions, bound the time spent looking for newer ones. Return the rows already collected and close the listing connection when the extra scan ends.
* test(website): check plugin search parameters by name
Native GET form submission and hydrated navigation serialize the same filters in different orders. Verify the term and ranking window in both flows.
* test(server): wait for the watcher before deleting a file
The native macOS watcher starts delivering events after subscription returns. Use the existing liveness canary before removing the file under test.
* fix(acp): start the optional scan budget with the listing
* test(acp): follow the connection that lists sessions
---------
Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>
Plugins can open, focus, move and close a workspace's panes and tabs, show or hide the Explorer, and read the layout, through a handle available in components, the client entry and commands. Requires Paseo 0.18.3 or later. `openPanel` is deprecated and behaves as before.
Tab closing moved out of the workspace screen into `@/workspace-tabs/close`, so plugin and UI closes share the same unsaved-work and destructive prompts.
Also fixes two problems a plugin's arrangement could reach: a chat in a phone's Explorer overlay never loaded, and a sheet from a hidden workspace was presented over the workspace on screen.
Includes two test-only repairs for CI failures outside this change: an ACP interrupt test with a too-short grace period, and a terminal lifecycle test whose failure message carried no daemon output.
React Native reports an error thrown out of a press handler, timer,
animation frame, or microtask to ErrorUtils as fatal, so one bad plugin
callback terminated a release app. The plugin error boundary only covers
render and effects.
Client bundles now evaluate with a paseo-plugin://<server>/<plugin>
source URL, and a wrapped global handler logs errors whose stack has a
plugin frame instead of forwarding them. Errors without a plugin frame
reach the previous handler unchanged.
Hermes prints an empty source for new Function code and records no
creation site, so the bundle receives a Function that appends a source
URL to code it compiles. Code compiled through eval, globalThis.Function,
or from already compiled code stays unattributed and fatal.
Refs #10978
A forge command can ignore the default termination signal and keep its workspace refresh slot occupied. Use a forceful signal at the existing deadline so the refresh can finish.
Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>
* fix(client): reconnect right away when the app returns to the foreground
While the app is hidden the OS blocks the network, so relay retries fail
and the backoff climbs to 24-30s. On returning, ensureConnected({ verify })
either waited for a connect attempt started while hidden to hit its 15s
timeout, or retried after that inflated backoff, leaving the mobile app on
"Reconnecting to host" for 40-60s.
Foregrounding now resets the backoff, and replaces a connect attempt that
has been pending for 3s or more instead of waiting out its timeout.
* fix(client): keep the base retry delay after a foreground reconnect
Use the immediate retry path when replacing a stalled connection attempt.
Arming a retry timer first would raise the backoff even though the
replacement cancels that timer before it fires.
Co-authored-by: 김동선 <88572124+dongsun1@users.noreply.github.com>
* fix(client): keep queued requests during foreground reconnect
A stalled handshake has not sent the queued requests. Replace its transport while the client remains connecting so the new handshake can send them with their existing deadlines.
* fix(client): serialize foreground credential lookup and handshake
Enter connecting before reading credentials so a foreground event shares the active connection attempt. Retire the previous transport before the read so no obsolete socket can disconnect the new one.
* fix(client): time out stalled credential lookups
Keep a single connection attempt from credential lookup through hello. Foreground recovery can replace that attempt, and only the current lookup can install a transport.
* fix(client): retire the connection deadline before retrying
A failed hello already schedules its retry. Clear the ended attempt at the retry transition so its deadline cannot change the error or raise the delay.
* Preserve the handshake timeout after credential lookup
---------
Co-authored-by: 김동선 <88572124+dongsun1@users.noreply.github.com>
Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>
* feat(app): switch Direct connection between Form and URI modes
The Advanced disclosure kept a second copy of the address. Connect read
the Host and Port fields while a tcp:// URI sat in the open Advanced
field, so a blank Host failed with "Host is required" and an edited URI
connected to the old address.
The step now holds one input whose type is the mode. Connect reads only
that input, so a hidden copy cannot exist. Switching modes converts the
input and never fails; an invalid port carries over as text so Connect
reports it. A tcp:// or relay:// address typed into Host moves to URI
mode, where its password and SSL settings count. A pairing link keeps
the Form segment disabled because it cannot be expressed as fields.
URI mode has no Password field, so a rejected password opens an inline
"Password for {host}" prompt, the same as Paste pairing link. URI mode
keeps the Form body's height and the actions sit in the sheet footer,
so Cancel and Connect stay put when the mode changes.
Closes#5495
Co-authored-by: thecardcheat <pitt.joshua.miller@gmail.com>
* fix(app): treat #offer= pairing links in Direct connection as a URI
paseo daemon pair prints an #offer= link next to the relay:// URI.
Pasted into Host it stayed in Form mode and probed the app's web host
as a daemon. All three pairing link formats now share one check.
* fix(app): show the whole Direct connection form on short phones
The compact sheet opened at the shared 65% stop. With Password always
visible and the mode switch above it, the form needs about 485dp of
sheet, so on phones about 690dp tall or shorter the footer covered the
Password field and its eye button. The sheet now opens at 80%.
---------
Co-authored-by: thecardcheat <pitt.joshua.miller@gmail.com>
The desktop app's Resources/app-dist was copied raw from packages/app/dist,
so the daemon-served web UI first load transferred about 25 MB. The server
already prefers `<asset>.br` / `<asset>.gz` beside an asset (web-ui.ts), but
only the standalone `build:daemon-web-ui` ever created them.
build:desktop now precompresses packages/app/dist after `expo export` and
before electron-builder copies it to app-dist via extraResources (no files
glob excludes .br/.gz). The compression code moves to
scripts/precompress-assets.mjs, shared with build-daemon-web-ui.mjs, with the
same extension list and brotli max quality (about 38 s for the 25 MB bundle;
first load drops to about 4 MB with br, 5.6 MB with gzip).
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
* fix(acp): reopen chats with a rejected saved thinking level
A stale thinking override aborted resume after the provider loaded the session. Preserve the loaded session when the provider rejects a value that its current model no longer offers, so the user can open the chat and select a supported value.
* fix(acp): report the restored model’s thinking level
Restoring the saved model can change the active thinking level before Paseo replays a saved preference. Read the level from the model response so a stale preference falls back to the current model’s setting.
* fix(acp): apply the thinking level from every full settings response
Restoring the saved mode can change the thinking level just like restoring the model. Keep the active level synchronized when accepting the provider’s selectors so resume reports the current setting after either change.
* fix(acp): refresh the thinking level only while restoring a chat
Reading the level from every settings response also changed what the thinking
picker shows after a live model switch. This fix is about reopening a saved
chat, so the read now happens once, after the saved mode and model are
restored. Open chats behave as before; #10336 tracks their picker updates.
---------
Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>
Co-authored-by: Mohamed Boudra <boudra.moha@gmail.com>
The palette check reads the terminal overrides before building the child environment. Supply an empty override object so the AppImage fixture reaches its shell assertions.
Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>
Electron RPMs can contain the same binary at different install paths. Turn off generated build-ID links so their RPMs can install alongside Paseo.
Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>
A child whose runtime was released (status closed) was listed in the
subagent track but treated as not finished, so the button skipped it
silently. Treat closed like idle/error, keeping the background-work and
parent/archived rechecks. Adds regression tests.
* fix(app): keep batched user messages on distinct timeline row ids
When multiple queued or joined human prompts share a single provider turn, projectAgentMessages emits separate user_message rows with distinct clientMessageIds and the same provider messageId. appendUserMessage and buildCanonicalUserMessage bypassed createUserMessage's clientMessageId ?? messageId precedence by passing id: messageId, producing duplicate React keys in WebStreamViewport mountedHistoryRows.
Prefer clientMessageId over messageId when building canonical user rows, and normalize previously cached or retained rows whose id inherited a shared provider messageId during reconciliation and replica-cache hydration.
* refactor(app): keep legacy user row id heal at replica cache boundary
Pre-fix rows with id === messageId only persist in the replica cache, which already normalizes them on read. Move the helper into replica-cache with a COMPAT tag and remove the unreachable merge-path heal in produceUserMessage.
An explicit daemon endpoint resolves relative paths from the daemon's working directory. Start the test daemon in the fixture repository so the checks exercise that path without reading the launch checkout.
Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>
The test daemon inherited settings that let built-in sources discover reports outside its temporary home. Give the usage fixture an explicit base environment so the list and removal assertions depend only on its plugin.
Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>
A cold launch on Hermes keeps the JavaScript thread busy until the restored
workspace is on screen, so work removed there is launch time removed. A
sampled profile of a release build showed four costs that bought nothing:
- The provider snapshot cache rebuilt its size-and-age index on every
launch by reading, parsing and validating every stored snapshot, about
390 ms with a full 4 MB cache. The index is now stored and trusted for
keys that still exist. Storage keys stay the authority: an indexed key
that is gone is dropped, and a stored key the index does not list is
read and measured.
- Zod compiled a parser for each object schema with `new Function`. Hermes
has no JIT, so the compile was pure cost, about 145 ms. Native builds turn
it off before any schema module loads; web and desktop keep it because V8
optimises the compiled parsers.
- `localeCompare` builds a collator on every call, which dominated the
project and workspace name sorts. They now share one collator.
- The replica cache measured each payload with a per-character loop, over
about 1 MB of directory rows on every refresh.
Time from tap to the workspace on an Android emulator, release build,
median of six cold launches: 2.45 s to 1.76 s with a full provider cache,
2.30 s to 1.67 s with a small one.
Co-authored-by: Marcel Wysocki <4222082+maci0@users.noreply.github.com>
Co-authored-by: luke <1686898+luoph@users.noreply.github.com>
Each retained workspace in the deck mounts git actions twice (header and
Changes surface). useGitActions subscribed to the whole workspaces map of the
host and resolved its workspace from the global active route. Any workspace
switch replaces that map, so every hidden workspace re-ran the hook and
rebuilt its actions. A hidden workspace also resolved the active workspace as
the one its archive action targets.
Callers now pass their own workspaceId, and the hook selects only that
descriptor, which the session store keeps by identity when other workspaces
change. The redirect after an archive reads the focused workspace when the
archive starts.