Passwords typed at a terminal prompt (sudo, SSH passphrases) were learned
by Gboard and offered as suggestions in other apps. The hidden terminal
input turned off suggestions and autofill, but nothing set
IME_FLAG_NO_PERSONALIZED_LEARNING, the flag keyboards read as "incognito".
React Native's TextInput has no prop for it, and its view is prebuilt, so
PaseoTerminal adds the flag when React Native applies the terminal input's
nativeID, before the input can take focus. Input type and layout are
unchanged, so typing, composition and the language switch keep working.
* fix(server): keep the daemon alive when a plugin session closes after its process dies
PluginSessionSocket.close() sent paseo_close to the plugin child without a
callback. Node does not throw when that send fails: it emits "error" on the
ChildProcess, and the runtime has no error listener, so the failure became an
uncaught exception. The try/catch around the send never ran.
When a plugin process dies, a frame write to its session fails with EPIPE, the
websocket server's outbound transport closes the socket, and the close's own
send then crashed the daemon with "write EPIPE" (or ERR_IPC_CHANNEL_CLOSED once
Node has seen the disconnect). Passing a callback makes the failed send a
handled result.
* test(server): skip the POSIX-only plugin EPIPE test on Windows
Trigger save validation used the host-wide provider catalog, so it rejected models offered by the workspace catalog. Pass the optional working directory through to provider discovery.
MCP startup failures previously reached only the unhandled trace log. Keep a diagnostic summary at warning level and omit raw error text from tracing because it can contain credentials and response bodies.
* 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 ccff20dae7)
* fix(sidebar): let Enter activate the focused host gear
Combobox Enter handling was taking precedence over the focused trailing button. Leave Enter to that control so keyboard and pointer input open the same host Overview. Cover both paths through the desktop sidebar in Playwright.
* fix(sidebar): give the host gear priority over Enter shortcuts
Let the browser activate a focused host gear while the combobox keeps Enter out of the app shortcut dispatcher. Make the gear button fill its column so the highlighted edge opens settings too.
---------
Co-authored-by: ShalokShalom <shalokshalom@protonmail.ch>
* fix(server): serve agent MCP over the 2026-07-28 protocol
Reasoning:
- The bundled `@modelcontextprotocol/sdk@1.29.0` only speaks up to protocol `2025-11-25`, while current MCP clients (Claude Code, Codex, Grok CLI, ACP harnesses) send `mcp-protocol-version: 2026-07-28` and get `400 Bad Request: Unsupported protocol version` on the first request after `initialize`. The agent then runs without any Paseo tool, so `list_agents`, `create_agent`, and the rest silently disappear from the tool surface (#3009).
- Widening the accepted version list (the approach in #4570 / #4375) hides the rejection but leaves the server implementing 2025 semantics while telling the client it speaks 2026-07-28.
Changes:
- Replace the v1 `StreamableHTTPServerTransport` wiring in `bootstrap.ts` with the v2 dual-era `createMcpHandler(..., { legacy: "stateless" })` plus `toNodeHandler` from `@modelcontextprotocol/node`. Modern 2026-07-28 requests and 2025-era clients are served by the same handler; per-request stateless serving is unchanged.
- Move `agent/mcp-server.ts` to `@modelcontextprotocol/server` (`McpServer`, `ServerContext`, `context.mcpReq.signal`).
- Keep `@modelcontextprotocol/sdk` for the existing client-side integrations (e.g. the OMP MCP bridge).
- Assert the JSON-RPC `-32602` rejection in `mcp-server.test.ts`: a call to an unregistered tool is a protocol error, which the v1 server folded into an `isError` result.
Verification:
- `npx tsc -p packages/server/tsconfig.server.json` clean; `npm run typecheck` clean; `oxfmt`/`oxlint` clean on the touched files.
- `npm ci --dry-run` accepts the lockfile.
- `packages/server`: `mcp-server.test.ts` 194/194, `agent-mcp.e2e.test.ts` 8/8, `mcp-parity.e2e.test.ts` 38/38.
- Manual check on macOS against a real daemon: a `dsh` agent (sends 2026-07-28) lists Paseo tools (`create_workspace`, `list_workspaces`, `create_agent`) and the daemon logs zero `MCP transport error` / `Unsupported protocol version` entries.
* test(server): cover the modern MCP envelope on the agent endpoint
Reasoning:
- Greptile flagged that the tool registration used a `registerTool` re-cast, which defeats the SDK's type check on a path every agent tool call goes through.
- The modern (2026-07-28) path had no regression coverage, so a looser "accept the version header" implementation would also pass the existing tests.
Changes:
- Narrow only the schema at the registration boundary (`inputSchema as StandardSchemaWithJSON`) and document why: Paseo declares schemas through the `zod` root entry, the SDK types them through `zod/v4` core; same runtime, distinct type identities.
- Add a modern-protocol test that drives `createMcpHandler` with a per-request envelope (`_meta` protocol version + `mcp-method` header) and asserts the catalog tools come back.
Verification:
- `npx vitest run src/server/agent/mcp-server.test.ts` 195/195.
- `npx tsc -p packages/server/tsconfig.server.json` clean; `oxfmt` / `oxlint` clean.
* test(server): expect the agent MCP handler's own rejection
The stateless MCP handler answers a body-less POST with 415 (unsupported
media type) instead of the old transport's 406. The smoke test only needs the
route to be live before the reload and gone after it, so assert that answer and
say why the code changed.
* fix(server): give native host tools the schema the agent MCP serves
The agent MCP endpoint now registers tools with @modelcontextprotocol/server,
which converts input schemas with zod at the draft 2020-12 target. The OpenCode
bridge and OMP host tools still serialized through the v1 SDK internals as
draft-07, so the plugin parity test (native schema equals advertised schema)
failed. Serialize with the same zod conversion so one schema reaches both paths,
and drop the dependency on unexported v1 SDK internals.
OpenCode reads both dialects and defaults to 2020-12. OMP rewrites draft-07 to
2020-12 before sending to a model.
* test(server): negotiate the agent MCP with pinned, auto and legacy clients
Drive a real daemon's /mcp/agents with @modelcontextprotocol/client 2.4.0:
- pinned to 2026-07-28: fails on the v1 transport ("server did not offer
pinned protocol version 2026-07-28").
- auto: falls back to 2025-11-25 on the v1 transport. The test also asserts
that the daemon logs no transport errors.
- legacy: the 2025-era compatibility guard.
Run the block in test:integration so CI keeps it, and translate the modern
envelope test comment to English.
* test(ci): route the agent MCP negotiation block through server integration
The block shares the existing name-filtered vitest invocation, so it adds no extra vitest start to the Windows integration job.
* test(website): play the orchestration scene on a held page clock
The scene player advances at most 64ms per animation frame, so on a CI
runner where headless WebKit paints a few frames a second the scene ran
in slow motion and missed the 20s wait for the subagents pill. The test
now pauses Playwright's page clock after hydration, checks the empty
chat, then runs the clock past the scene before asserting the roster.
---------
Co-authored-by: Ouyang Xingyuan <galaxyroaming@qq.com>
* 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.
* Use the filesystem’s capitalization in directory suggestions
* fix(server): preserve conversations across path casing changes
A case-insensitive volume can resolve the old and new record paths to the file installed by the same atomic write. Check file identity before removing the old entry so startup recovery preserves both the record and its workspace.
* fix(server): keep case-only symlink names in directory suggestions
A case-sensitive volume can store a symlink whose name differs from its target only by capitalization. Inspect the changed components before using the resolved spelling so Add Project receives the visible path.
* fix(server): preserve symlinks under case-distinct parents
A symlink can point into a parent whose name differs only in case while keeping the same basename. Inspect each changed path component before choosing the resolved spelling.
---------
Co-authored-by: yz <43207690+yzim@users.noreply.github.com>
* fix(opencode): replace stale bridge tool definitions instead of failing the bind
The shared bridge plugin keeps tool definitions in an in-memory cache
(state.mjs) that survives OpenCode's plugin reloads. When the Paseo daemon
upgrades and ships a changed tool definition (e.g. the description or input
schema changes), the next bind finds a signature mismatch and throws
"Conflicting Paseo tool definition", leaving every existing session in that
location unable to rebind. This is the upgrade path: the bridge changed, not
a second live bridge.
Treat a changed definition as a refresh, not a conflict: dispose the stale
registration and re-register the new one. Track the whole installed manifest
per location and reconcile on each bind so removed tools also disappear,
instead of letting the first per-tool difference fail the bind.
Add tests covering a definition upgrade (bind succeeds, tool reflects the
new schema) and a manifest drift (a removed tool leaves the registry).
* fix(opencode): resume sessions after bridge tool definitions change
A retired bridge can leave tool definitions cached in a shared OpenCode location. Replace a conflicting definition once the bound sessions confirm that it is unused. Preserve tools that other live sessions still use.
Co-authored-by: Peanut-HZM <34237301+Peanut-HZM@users.noreply.github.com>
* test(server): wait for the worktree manager ready marker
The marker confirms that the plugin entered the create hook. Give the hook the same deadline as the other worktree fixture handshakes, and observe the pending request if teardown closes the client.
---------
Co-authored-by: huazhongmin <peanut_hzm@163.com>
Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>
Co-authored-by: Peanut-HZM <34237301+Peanut-HZM@users.noreply.github.com>
* 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.
agy lists `thought_level` choices only for the selected model, and drops
the option entirely for Orchestrator and GPT-OSS. ACP catalog discovery
read one session/new and copied the startup model's levels onto every
model, so the composer offered and defaulted to a thinking level for
Orchestrator. Opening the draft session then set the model, found no
`thought_level`, and failed with "ACP session does not expose thinking
configuration".
The new `acpOptions.perModelThinkingOptions` makes discovery select each
model in the throwaway catalog session and record the levels the agent
lists for it, or none; Antigravity turns it on. It is opt-in because
selecting a model can reset other options in some agents. The server
also stops giving a model the catalog's default when the model brings
its own options, since that default came from another model's list.
Closes#10468
Release the fixture connection from plugin cleanup so the parent test runner does not have to write a file before the runtime shutdown deadline.
Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>
Keep every live floating-panel host registered under its name. When one host unmounts, the surviving workspace can still position the slash and file pickers.
Closes#8945.
Co-authored-by: likaixuan <likaixuan@mucang.cn>
* feat(app): add Archive workspace to the mobile workspace actions menu
The compact header's actions menu had no way to archive the open workspace; it
was only reachable from the sidebar row or the keyboard shortcut. The route-keyed
archive logic behind the shortcut now lives in useActiveWorkspaceArchive so the
menu and the shortcut share one path (confirmation, undo toast, redirect).
* fix(app): redirect after archive from where you are now, not where the header was
The archive starts after the host check and confirmation. The header that began
it can be gone by then, and its last-rendered route would still match the
archived workspace, replacing the workspace you had since opened. Read the
current selection from the navigation owner when the archive starts.
* fix(app): skip the post-archive redirect when you have left workspace routes
The last-remembered workspace selection survives opening Settings, so an archive
that finished while Settings was open still redirected away from it. Read the
focused route instead, which is null on any non-workspace screen.
The Turn stats button narrows the timing column. On web, preserved spaces at soft wraps extend the timing text range past the button. Collapse wrapping spaces for the timing labels and include Turn stats in the existing hover stability check.
* feat(providers): let providers report session and turn metrics
Providers know things about a session and a turn that Paseo cannot derive:
timing, token flow, cache use, cost, the model that answered. They can now
report them as label/value rows that Paseo carries to clients unchanged, so
each provider decides which metrics make sense and how they read.
Session metrics live on the agent record and snapshot. Turn metrics are
stamped on the turn's footer row (last assistant message, else last tool
call) so they survive reload, pagination and a daemon restart, and so the
live turn_completed event and a later timeline fetch agree. Provider history
replay restores both.
Metrics are sanitized once where they enter the agent manager. The wire
schemas validate whole messages, so one malformed row from a provider would
otherwise make clients drop an entire snapshot, turn event or timeline page.
A live completed turn with no Model metric gets the agent's model, so every
provider shows model attribution before it is instrumented. Replayed turns do
not: they may have run on a different model than the agent has now.
Plugin providers publish session metrics behind a negotiated
`session.metrics` capability because an older daemon closes a connection
that sends an event type it does not know. Turn metrics ride an existing
event that older daemons strip, so they need no gate.
The wire additions are optional fields on existing schemas only.
* feat(providers): report session and turn metrics from OpenCode, OMP, Pi and Claude
Each provider now attaches metrics to turn_completed and emits
session_metrics_updated, live and when history is replayed.
- Live turns end on the adapter's clock. A provider's message timestamps
can come from another clock.
- Tool time merges overlapping runs, so parallel tools count once.
- A total that is missing any part is hidden, so a partial total is
never shown.
- Replayed history reports metrics only for turns that finished, which
matches live, where failed and interrupted turns report none.
- Claude reports cost as a running total for each query(). A resumed
query starts that total from a saved one, so a turn's cost is the
change since the previous result of the same query. The first turn of
a query shows no cost.
- Claude transcripts do not record result messages, so replayed Claude
history has no turn metrics.
- Session metrics come from each provider's own cumulative counters. The
cache hit is the last reply's or the last turn's, because a session-wide
figure blends prompts from before and after compactions.
* feat(app): show provider session and turn metrics
Session metrics appear in the context window details, between the context summary and the
account usage cards. A provider-reported Cost row replaces the app's own session cost line.
Each completed turn with metrics gets a stats button in its footer: a hover card on web, a
press-opened tooltip on native wide screens, and a sheet on compact screens. The context window
sheet becomes a shared DetailsSheet so both use the same content-sized sheet.
Metrics ride on the row that hosts the turn's footer (the turn's last assistant message, else its
last tool call), the same row the daemon stamps. Live turn_completed events and timeline pages
both stamp that row, so a refetch agrees with what the live event showed.
The daemon updates session metrics without bumping updatedAt, like usage, so a stale buffered
upsert may still carry the newest metrics and is accepted for that field.
* fix(app): keep a turn's stats after the cached timeline reloads
The local timeline cache dropped turnMetrics when it saved a turn's footer row. After a page
reload the cached rows painted without the stats icon, and the catch-up fetch had no new
entries to stamp them from.
* fix(providers): keep imported session stats and never count a steered turn short
Importing a Pi, Oh My Pi or OpenCode v2 session dropped the stats the provider returned with its
history, so imported chats showed none until a forced replay. Import now carries them the way
replay does.
Replaying a Pi or Oh My Pi transcript read a prompt that steered a running turn as the start of a
new turn, so the steered turn's stats counted only the steps after the steer. A turn that follows
one ending on tools now reports no total, because the transcript reads the same as a stop and a
new prompt.
* fix(providers): keep stats through merged messages and plugin imports, start Pi first-token timing at the request
A message the timeline merges from several chunks keeps the stats stamped on its last chunk. Plugin session imports carry the stats the plugin replayed, through the same history reader the other providers use. Steers queued together after an unclear turn stay unclear instead of attributing the final reply to the wrong turn. Pi measures time to first token from the request, not the first reply header.
* fix(providers): carry a turn's stats onto the message the timeline merges from text chunks
The previous change put the carry-over in the reasoning merge. The assistant message merge dropped the stats of its last chunk, so an imported reply of two text blocks lost its Turn stats button.
* fix(providers): carry a turn's stats onto the tool card the timeline merges from updates
An imported turn that ends on a tool call stamps the stats on the tool's last update. The tool merge kept the first update's fields, so the stats were lost.
* fix(opencode): replay no session stats for a session that has none
An empty OpenCode session replayed a session stats event with no metrics, which broke the empty-history check in the versioned runtime test.
* feat(usage): enable sidebar usage summary by default and add dedicated Sources list
Show the sidebar Usage summary by default instead of requiring opt-in in
Appearance settings, while honoring explicit off preferences and continuing
to hide the row when no enabled source has pinned windows.
Let usage sources declare optional provider hints (`providers` on the
registration and `provider` on discovered accounts) so the daemon can mark
reports `defaultEnabled: false` when their hinted providers are neither
enabled nor installed, keeping usage sources decoupled from agent providers
while avoiding clutter from leftover credentials.
Move per-source show/hide controls out of individual card headers into a
dedicated `Sources` submenu inside Usage Settings (with tri-state
`cardVisibility` preferences migrating legacy `cardsOff`) so disabled
sources stay out of the main card list.
* fix(usage): resolve provider hints per report, refresh on forceRefresh, and clarify inactive copy
Resolve each usage report's provider activity hint in parallel with its
fetch and enforce a real timeout deadline in `isProviderActiveForUsage` so
a slow provider probe never holds back unrelated reports or hangs past the
deadline on non-abortable plugin RPCs.
Give the availability hint a 5-minute freshness TTL and re-probe when
`forceRefresh` is requested, retaining the fresher probe result across
subsequent normal reads until a newer snapshot or TTL expiry supersedes it.
Rename the default-off Sources sublabel from "Provider not installed" to
"Provider inactive" across all locales so it accurately covers both
disabled and unavailable providers.
* fix(usage): share provider availability reading across snapshot publishes and usage probes
Record both `ready` and `unavailable` global snapshot publications into
`usageActivityCache` so `isProviderActiveForUsage` reads one timestamped
availability cache instead of relying on `fetchedAt` (which unavailable
snapshot entries do not carry).
* fix(app): add MenuCheckboxItem so Usage Sources toggles expose checked state to screen readers
Introduce `MenuCheckboxItem` / `DropdownMenuCheckboxItem` backed by
`accessibilityRole="checkbox"` so toggleable menu rows expose their checked
state in Chromium's accessibility tree and native screen readers while
leaving existing `MenuItem` roles unchanged.
* fix(app): keep compact menu sheet rows in Tab order and activate on Space
Use `tabIndex={0}` for `MenuRow` in `sheet` presentation (leaving
popover roving arrow-key navigation at `tabIndex={-1}`) and handle Space
in web sheet rows since React Native Web only activates Space for
`role="button"`, not `menuitem` or `checkbox`.
* test(usage): include provider hint in claude-usage-source keychain and stores assertions
* perf(ci): cut PR CI wall-clock time across server tests, Playwright shards, and workflow setup
* fix(ci): guard empty apt cache copy, use 100% Vitest workers in CI, revert Playwright to 2 workers with built supervisor
* docs(providers): simplify setup across supported provider pages
Lead each supported provider page with the official CLI/protocol Paseo uses and the simplest default setup path, removing config.json snippets from Getting started on Antigravity and Oh My Pi. Fixes the outdated Settings path on Codex and keeps all Chinese translations in sync.
* docs(providers): address review feedback on Antigravity, Codex, Muse, and Pi
* feat(providers): add docs links, sign-in facts and a tidier provider page
A user whose Antigravity models looked stale had no way to find out why
without asking in chat. agy 1.5.14 picks its sign-in from the
environment: with SSH_CONNECTION, SSH_CLIENT or SSH_TTY set it reads a
token file, otherwise the OS keyring
(google-antigravity/antigravity-cli#1336). The daemon is often started
outside SSH while the user tests agy over SSH, so the two can be signed
in to different accounts and list different models.
- The Antigravity status reports whether agy runs in an SSH session, and
the diagnostic report for plugin providers now includes the resolved
command, path and version like built-in providers do.
- Providers carry an optional docsUrl (protocol field, plugin SDK
registration, built-in definitions). The provider page links it from
Troubleshooting, and the Antigravity page documents the sign-in
mismatch.
- Provider and project settings get a breadcrumb title. Refresh moves to
the Models header, the model list scrolls inside a fixed height with a
full-width search, and section headers keep one spacing whether or not
they hold an action.
- A switch no longer makes its row taller than the track, and every
settings row is at least as tall as one with a switch, so a switch row
and a text row line up.
* fix(providers): report Antigravity's sign-in when ACP does not start
A sign-in problem can be what stops agy's ACP server from starting, so
the diagnostic report now shows the SSH session rows in that case too.
The plugin provider diagnostic test no longer compares the daemon PATH
and shell rows, which differ per host (Windows reports ComSpec).
* fix(server): show the same provider version in the report and Installation
The plugin diagnostic read the version by calling the provider's
inspect itself with a 10s deadline, while the Installation row reads it
through the installation service with a 20s deadline and a cache. A
version check between 10 and 20 seconds showed in Installation and as
an error in the report.
The snapshot manager now hands getDiagnostic an inspectInstallation
that reads through the installation service, so both show one answer
and agy --version runs once for both.
* feat(app): give rows that open something the same height as other rows
Detail rows and collapsible row headers reserved a button's height so a
list where only some rows held a switch kept one height. Now that every
settings row is at least as tall as a switch row, that reserve only made
rows like Diagnostic report and Docs taller than their neighbours.
* test(app): compare rows that open something with text and switch rows
* feat(app): size the provider icon to the page title
* fix(app): scale the provider title icon with the interface size
* Refresh enabled provider catalogues in the background every 30 minutes
A long-running daemon cached discovered models until a manual Refresh or a
restart, so a server-side model rollout stayed invisible. The daemon now
refreshes each enabled provider about every 30 minutes, one provider per
staggered slot. A recent refresh pushes the next one back. Background
refreshes join discovery already in flight, publish only changed
catalogues, and keep a ready catalogue when a probe fails.
Co-Authored-By: Claude <noreply@anthropic.com>
* Keep background refresh slots independent and its probes soft
Ticks no longer wait for a refresh to settle, so one slow provider cannot
delay the others. A provider with a background refresh still running is
skipped. The due check uses a fixed one-second timer slack instead of half
a slot, so a manual refresh always pushes the next probe a full interval.
Background probes pass force: false so OpenCode keeps its shared server.
A result that is not ready keeps a ready catalogue, which covers plugin
status probes that report a failed startup as unavailable.
Co-Authored-By: Claude <noreply@anthropic.com>
* Keep a ready catalogue when a background refresh returns a partial one
Claude falls back to its curated list without discovery-gated models when
model discovery fails or times out. That result is ready, so a background
refresh published it and Mythos left the picker. Providers now mark such a
catalogue incomplete, and a background refresh keeps the ready catalogue it
would have replaced. A manual refresh still publishes it.
Co-Authored-By: Claude <noreply@anthropic.com>
* Kill OpenCode servers whose startup is pending at shutdown
A probe still allocating its port when the daemon stopped spawned its
OpenCode server after shutdown returned, and the process outlived the
daemon. Background refresh makes that overlap likelier. Shutdown now waits
for pending startups and kills the generations they produce.
Co-Authored-By: Claude <noreply@anthropic.com>
* Stop running probes before provider shutdown
A probe checking availability when the daemon stopped could still go on to
discovery and start an OpenCode server after provider cleanup returned.
The manager now aborts every running probe through its refresh signal when
it stops, and shutdown waits up to ten seconds for them to settle before it
shuts down provider clients.
Co-Authored-By: Claude <noreply@anthropic.com>
* Refuse OpenCode spawns from operations begun before shutdown
A rotation accepted before shutdown waited for the old server to stop and
then started a replacement after cleanup returned. The server manager now
counts shutdowns; every operation that can start a server records the
epoch it began in, and the spawn step refuses once a shutdown has passed.
Operations begun after shutdown still start, since the manager is a
process-wide singleton.
Co-Authored-By: Claude <noreply@anthropic.com>
* Keep manual refresh precedence over concurrent background refreshes
* Avoid eager provider snapshot downloads for unobserved directories
---------
Co-authored-by: Claude <noreply@anthropic.com>
Homepage and docs visitors use the site-wide Plausible figure for the 30 complete days to 2026-11-21 (107,693), rounded down to 100,000. Discord members come from the live guild count (2,678). The README figure is unchanged because GitHub only exposes 14 days of traffic.
* feat(server): let agents queue, steer, or interrupt messages to other agents
An agent sender's `steer` used to mean "wait for the turn to end", unlike a
person's steer. Agents now get the same three choices a person has, plus a
named default: `queue` waits for the turn end, `steer` joins the running turn
(interrupting when the provider cannot steer), and `interrupt` replaces it.
A steer or interrupt carries the messages queued ahead of it, so delivery
order still equals admission order.
The receipt returns the applied behavior and guidance built from whether the
recipient is running and whether its provider can steer. A queued message's
guidance tells the sender to follow up with a short steer or interrupt
instead of resending, because a resent message is read twice.
Older clients send `steer` for every default agent send, so the daemon maps
their agent `steer` to `queue` when the client lacks the
`agent_active_turn_behaviors` capability. New clients talking to an older
daemon refuse `steer` rather than silently queueing it.
* fix(server): keep a steer's carried messages when the turn ends first
A steer that reached the provider after the turn ended made the manager
throw a plain error, and delivery failed the whole batch, including the
queued messages the steer carried. The manager now throws
AgentTurnChangedError, and delivery sends the batch again, into the next
turn or as a new one.
Also report the applied activeTurnBehavior in `paseo send --no-wait`
output, and expect the new hello capability in the client test.
* docs(skills): warn that an unread steer loses the messages it carried
* docs(skills): shorten the send_agent_prompt guidance
Keep what a sender acts on: leave activeTurnBehavior out, the three
values, read the guidance, follow up instead of resending, and the
steer loss case. Drop delivery facts the sender cannot act on.
* fix(server): stop the send_agent_prompt description promising an unread steer survives
The notice flagged chats moved to the then-new v2 runtime. v2 has been
stable, so the row is noise. Previously saved openCodeRuntimeNotices
metadata is left in place and no longer read.
* test(server): make recursive watcher inventory test deterministic
Deliver the file creation notification explicitly so the inventory check does not depend on the native watcher becoming ready. Hold scheduled scans until the test checks the inventory and require reconciliation to report the deletion.
* test(server): wait for the watcher callback without advancing audits
---------
Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>
* fix(app): ignore slash menu picks made before the menu filters
On web the cursor reaches the autocomplete after paint. A Tab or Enter
pressed right after typing could pick from the unfiltered list, where
/exit is the default highlight, and archive the agent. Skip the pick when
the typed command no longer matches the query the menu was built for.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(app): limit the stale slash menu guard to key presses
Clicks also pass the live input snapshot, so the guard could drop a
click on a visible option while the cursor update was still pending.
A click picks what the user sees. Check for a stale menu only when Tab
or Enter selects.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: 3ae3ae <ogyshjsm@naver.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>
Co-authored-by: Bae Seongmin <83870598+3ae3ae@users.noreply.github.com>
* fix(app): allow edited New workspace retries and unify composer errors
New workspace and the workspace setup dialog reused the mount's raw draft
or creation ID as the workspace.create idempotencyKey. When workspace
provisioning failed before readiness, the daemon kept that key's request
fingerprint on disk, so editing isolation, project, branch, prompt, or
model on the same screen failed with workspace_request_key_conflict.
Deriving the workspace idempotencyKey with draftCreationKey(id, request)
matches #9534 for agent drafts: unchanged retries (double-click,
reconnect, or resending as-is) keep one key, while edited retries start a
new workspace creation without requiring daemon or protocol changes.
Also move composer submission errors into one <Alert variant="error"
size="sm" /> slot owned by <Composer> (directly above the input, and in
ComposerFullscreenFooter when fullscreen) so New workspace, Workspace
draft tab, Workspace setup dialog, and active chat share the composer's
outer and inner rails without duplicate error toasts.
* fix(app): include launch target in creation key and toast background failures
Include launchTarget when deriving the New workspace creation key so
switching between blank Chat and a promptless terminal profile after a
pre-ready failure starts a fresh creation instead of replaying the failed
receipt.
Also show toast.error when workspace creation fails after the user has
left New workspace or closed WorkspaceSetupDialog, while keeping the
single composer alert with no duplicate toast when the form is still
visible.
* fix(app): avoid duplicate toast when handed-off agent startup fails
Once New workspace hands a ready workspace to its draft tab, the draft
tab awaits agentCreation.result and displays startup errors in its own
composer alert. Returning early after handoff prevents New workspace's
catch handler from firing a duplicate app-wide toast.
* fix(app): stop busy-heartbeat adaptive switches and back off online probes
Hosts with multiple saved connections still replaced healthy relay links
during active use: every 120 seconds the runtime compared an idle alternate
probe against the single latest heartbeat RTT on the busy active socket
using a fixed 40 ms threshold, then tore down the live socket before
connecting the replacement (leaving the host in connecting for ~2 s).
Use the 60-second rolling minimum of active heartbeats as the baseline,
require at least max(40 ms, 35% of baseline RTT) improvement to switch,
exponentially back off inactive online probes from 2m to 30m while the
active connection keeps winning (resetting on candidate win, reconnect,
connection list changes, or foreground verify), and connect the replacement
before disposing the live client on adaptive switches.
Closes#9149
* fix(app): preserve active listener, recheck candidate, and refresh caches on make-before-break upgrade
Keep installed active-client status listeners bound to `this.activeClient`
rather than `switchRequestVersion` so a pending or failed speculative
upgrade never mutes disconnect events on the active socket. Recheck that
the target connection still exists and matches before and after disposing
the old client so removing or editing an endpoint during handshake aborts
the upgrade. Track the last online `connectionEpoch` in `HostRuntimeStore`
so make-before-break upgrades that stay `online` still trigger reconnect
cache invalidation and history sync generation bumps.
* fix(server): prevent zombie children after plugin builds
Retiring a compiler thread closed its libuv loop while esbuild still owned a native child. Run the compiler in a subprocess so the daemon can reap it when the idle compiler disconnects.
* test(ci): check plugin compiler reaping on macOS
Antigravity returns end_turn while a recurring schedule stays in progress. Exclude cron registration from the provider's deferred-turn blockers so waiting for a tool completion cannot strand the foreground turn.
* docs(changelog): lead 0.17.1 with Antigravity and cut instructions from the entry
The 0.17.1 entry ranked Antigravity seventh and carried setup steps, click
paths, migration notes, and edge-case qualifiers. Each highlight is now one
sentence that announces the change, and Antigravity leads. Two details that
left their highlight keep their own bullet: plugin worktree management moves
to Plugins and green quota bars move to Changed.
docs/release.md allowed highlights up to three sentences and exempted them
from the conciseness rules, which is how the instructions got in. The rules
now cover highlights too, permit a second sentence only for a breaking
requirement, and put the headline change first whatever its ordering group.
* docs(changelog): keep shortened 0.17.1 bullets within what shipped
Three bullets lost a clause that limited their claim: provider updates exist
only for CLIs with an update command, the scroll fix leaves out HTML previews
on iOS, and Git status reloads when files changed during the disconnect. Each
bullet now names what it covers instead of carrying an exception clause, and
the release guide says to shorten that way.
The Antigravity requirement links the setup page, which has the `acp`
argument a custom command needs.
* docs(changelog): scope the agent message and quota forecast highlights
An explicit interrupt from another agent still replaces the running turn, and
Usage shows a run-out time only for a quota on pace to run out before it
resets. Both highlights now say so in one sentence, and the release guide uses
the agent message highlight as its example of keeping that distinction.
Rewind in Command Center applies to the latest turn, so the bullet names it
again.
* docs(antigravity): explain the Hub model error after the CLI upgrade
The 0.17.1 highlight used to carry this recovery step. The highlight now links
the setup page, so the step lives there in both languages.
* fix(acp): keep the whole history when an agent streams it after session/load
Reopening a long Antigravity agent after a daemon restart lost the end of its
timeline. When the client reads slowly, agy answers session/load part-way
through the history and keeps streaming the rest, with no end marker. The
replay window closed after a fixed five quiet periods (1 s), and every history
update processed after that was discarded as stale.
The window now closes only once a quiet period passes without a history
update. Command, configuration, mode and usage updates no longer count as
activity, so they cannot hold the session open. When the quiet period expires,
the loop reads pending input once before the silence is trusted, because a
stalled event loop reaches the timer with history still unread in the pipe.
The wait has no upper bound: any bound is another way to truncate, and the
agent goes silent once its history is sent.
* fix(acp): stop waiting for history replay when the connection closes
With the replay wait no longer capped, closing the provider connection while a
session was still replaying waited for the whole history, so a daemon stop
during a long reopen could run past its deadline. The connection marks itself
closed and then awaits in-flight opens, but the replay wait only checked the
runtime's own closing flag. The wait now also ends when the connection closes.
* fix(acp): only extend replay on history updates and fail open on mid-replay crash
* fix(server): bound shutdown flush so provider shutdown cancels in-flight reopens
* fix(acp): keep load replay open while a multi-read wire record is in flight
The daemon already schedules catalog discovery when provider configuration changes. Waiting on a second discovery kept the Add sheet open after the model was saved.
Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>
* fix(app): keep the composer focus hint off the placeholder
The web composer draws its focus shortcut hint over the input's top-right
corner. When the placeholder and the hint did not fit on one line, as in
French at a phone width or with the longer desktop placeholder, the hint
was drawn on top of the end of the placeholder. The input now reserves
the hint's width as right padding while the hint shows, so the
placeholder wraps before it.
Closes#6191
* test(app): wait for the focus hint padding before checking overlap
* Keep focus hint padding in sync with composer layout
Reveal the shortcut after the input reserves space for its label. Remeasure draft height when padding changes the available text width.
---------
Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>
* feat(website): refresh Paseo Hub page and add homepage Hub entry points
* chore(website): align Hub automation source copy and team visibility wording
* chore(website): simplify homepage Hub flow layout and remove highlight cards
* feat(website): unify page frame, rails, section rhythm, and hairline grids across home and /hub
* chore(website): remove forced eyebrow numbering and redundant section eyebrows
* feat(website): use Plus Jakarta Sans for display titles
* style(website): remove hairline rails from header and hero bands
* feat(website): derive landing page plugin count from published registry
* feat(website): replace Hub Discord demo with animated Slack mockup
* style(website): tighten display-scale Paseo Hub lockup gap
* website: interactive source showcase on /hub automations section
* website: prevent font-swap wrap jank and remove left bar on /hub source pills
* fix(website): align Hub examples and docs with service behavior
* fix(website): keep navigation and plugin carousels within the page frame
* fix(website): address Hub refresh review findings
* fix(website): preserve focus and labels in Hub showcase tabs
* fix(website): show the selected Hub preview immediately
* fix(website): keep Hub pricing tooltips inside their cards
* fix(website): wrap Hub source labels with larger text
* fix(website): scale Hub preview height with browser text
* fix(website): wrap long identifiers in Hub previews
* fix(website): wrap result chips in the Hub schedule preview
* fix(website): keep the Discord preview thread title readable
* fix(website): let Hub source descriptions wrap
* feat(website): link Hub previews to their trigger guides
Keep the self-hosting guides aligned with the Hub documentation already on main.
* fix(website): keep Hub previews readable at large font sizes
Let preview rows stack when the frame is too narrow for the avatar, padding, and text. Check the rendered text bounds at twice the default font size.
* fix(server): deliver an agent's messages in the order they were queued
An agent's interrupt was dispatched alone, ahead of the steers queued before
it. Those steers stayed queued and started a turn of their own after the
interrupt's turn ended, so a stale instruction ran after the newer message
that countermanded it.
The queue now keeps one ordered list per recipient and only ever dispatches
its front. An interrupt releases at admission and takes the older messages
along in the same replacing prompt. A person's prompt takes the queue along
the same way. Stop holds the queue for the recipient's next prompt instead
of releasing it into a new turn, and does not drop it: the queue also
carries finish notifications.
A quiet window now closes after ten seconds at most, so steady arrivals
cannot delay a waiting message without bound.
* fix(server): keep a prompt's place in line until the provider admits it
The queue removed a message when it handed the prompt to the agent
manager, before the provider had admitted it. In that gap the order was
no longer the queue's to decide:
- a person's prompt or a later interrupt sent while the provider was
still starting a turn could pass a prompt that was admitted first;
- Stop during that start no longer saw the interrupt waiting to replace
the turn, so the interrupt started a turn after the Stop;
- queued messages that rode a person's prompt were settled when the
prompt was handed over, so a turn the provider rejected dropped them.
A message now stays in its recipient's list until the provider admits
the prompt that carries it, fails it, or the message is withdrawn. Every
prompt takes its place at admission, one operation acts on a recipient
at a time, and each operation covers only what was admitted before it
got in line. Stop holds every message still in the list and clears the
interrupt's urgency, so a held interrupt waits like a steer.
A prompt is a command only when it starts with a slash and a name with
no second slash, matching how providers read it. A prompt that begins
with a path now carries the queue like any other text. An interrupt the
provider runs as a command beside the turn takes no queued message
along, because it replaces nothing.
Test wiring that builds the MCP catalog or stubs the agent manager now
supplies the delivery module and the stop signal the server requires.
* fix(server): keep queue decisions made before a Stop or shutdown from going stale
Three races in the window where the provider is still starting or
stopping a turn:
- An interrupt admitted while a polling queue step was already in line
got no step of its own. A person's steer sent next took the interrupt
along and steered the turn the interrupt should have replaced. An
interrupt now always reserves its place at admission.
- A dispatch in flight when Stop arrived checked the queue's phase to
learn it was void. A message admitted before the provider answered
moved the queue out of `held`, so the old dispatch became valid again:
an interrupt from before the Stop started a turn alone, and a batch
whose starting turn Stop canceled was rejected instead of kept. Each
dispatch now records the Stops its recipient had seen when it was
decided and is void once that count changes.
- Shutdown drained only what was queued when it began, so messages a
rejected person's turn returned afterwards were left to the retry
timer. The drain now runs after the operation in flight and reads the
queue then.
* fix(server): void queue steps that were reserved before a Stop
A queue step that was already in line when Stop arrived checked for a
Stop only from the moment it ran. When an interrupt arrived while the
provider was still stopping, the queue left `held`, and the old step
started a turn with the held messages. The new interrupt then replaced
that turn in a second one.
A step now watches for a Stop from the moment it reserves its place and
does nothing once one has arrived. The held messages go with the next
prompt admitted after the Stop, in one turn.
The interleaving test gains a variant with a provider that is slow to
answer. It checks, for every five-step sequence, that no queue dispatch
after a Stop carries only messages from before it.
* fix(server): hold the queue again when the message that reopened it is withdrawn
After a Stop, a message admitted later reopens the queue and takes the
held messages along. When that message was withdrawn before its quiet
window closed, for example a change-request update whose watch was
cancelled, the window still fired and the held messages started a turn
on their own.
A Stop now marks the messages it finds. When a withdrawal leaves only
marked messages, the queue is held again and waits for the next prompt.
* docs(server): state that cancel_agent with no turn to stop holds nothing
Stop holds the queue only when it stops a running or starting turn.
On an idle recipient cancel_agent reports that it canceled no run, and
a queued steer keeps its quiet window. The lifecycle doc says so and a
daemon-level test pins it.
* docs(server): state when a queued message counts as delivered
A message leaves the queue when the agent manager acknowledges the start
of the turn that carries it. A turn that fails after that point is not
delivered again, and a start that is not acknowledged within 60 seconds
returns the messages a person's prompt carried.
* fix(usage): clarify quota labels and show weekly forecasts sooner
* fix(usage): show the exhaustion time and keep exhausted bars red
* fix(usage): hide forecast text for quotas on track
* fix(usage): label quota times by local calendar date
* test(usage): keep the exhaustion clock test stable at midnight
A client that read checkout status while the worktree was absent can keep that response after Restore. Send the current status to subscribed clients before publishing the recovered workspace.
Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>
* fix(app): let every split divider drag after panes are added to a resized row
Divider drags store sizes per group id, apart from the layout tree. A group
keeps its id when panes are added, so after resizing a row and splitting it
again the stored list had fewer entries than panes, and dividers past its end
could not move. Use the dragged sizes only while they have one entry per pane.
Closes#5893
* refactor(app): choose split group sizes at the call site
* test(app): take the page from the divider locator in the split resize spec
* test(app): name the split resize helper arguments
---------
Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>
* chore(release): verify releases on isolated release branches and harden shipping
High-traffic merges on main cancel more than half of main CI runs, so waiting on main CI repeatedly stalls releases. Releases also ran duplicate post-tag CI, lacked a release-branch Desktop Packages trigger, hit unretried Apple notarytool polling errors and a finalize-rollout directory bug on macOS retries, and relied on a non-idempotent npm publish chain and conflict-prone reconcile cherry-picks.
This splits release execution into release:prep:* (reversible version commit without tagging, pushed once to release/** for isolated CI + Desktop Packages) and release:ship[:beta] (idempotent npm publishing with retry, propagation checks, automatic beta dist-tag sync on stable, and release/*-only tag push), adds conflict-free main reconciliation, and extends macOS xcrun retries to notarytool submit and wait.
* fix(release): address review findings on Docker retries, tag push, and reconciliation
Isolate manual Docker publish dispatches in their own non-cancelling concurrency group, verify HEAD matches origin/<release-branch> before release:ship publishes or tags (and remove one-shot combined scripts that bypassed release-branch checks), drop --refs from peeled annotated-tag lookups in push-current-release-tag.mjs, retry lockfile sync in reconcile-release.mjs when package-lock.json version lags package.json, and document cutting from pre-existing tags.
* fix(release): preserve TTY OTP prompts in npm publish and keep newer beta changelogs
Inherit TTY stdin/stdout for interactive npm publish and dist-tag add (plus --otp passthrough) while keeping stderr piped for retry classification, and keep newer beta or promoted stable changelog entries intact when an older beta tag is reconciled.
Codex loads configuration and starts MCP servers while restoring the thread. Send the session directory during resume so those steps use the requested workspace.
Closes#7699
Co-authored-by: tabulius-ux <252143044+tabulius-ux@users.noreply.github.com>