* 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.
6.2 KiB
title, description, nav
| title | description | nav |
|---|---|---|
| 故障排查 | 修复 Linux AppImage 启动错误、找不到 Provider 以及环境不一致的问题。 | 常见问题 |
故障排查
Linux 上 AppImage 无法打开
让下载的 AppImage 可执行,然后在终端中启动它,查看错误信息:
chmod +x Paseo-x86_64.AppImage
./Paseo-x86_64.AppImage
如果报告 error loading libfuse.so.2,请不使用 FUSE 运行:
./Paseo-x86_64.AppImage --appimage-extract-and-run
Paseo 窗口应该会打开。你也可以从下载页面获取 .deb(Debian/Ubuntu)或 .rpm(Fedora)进行安装。
Paseo 找不到我的 Provider
你已经安装的 Provider 显示为 未安装。
Paseo 启动的是你已经安装的 Agent CLI,它并不自带这些 CLI(参见 Provider)。所以它必须在自己的 PATH 中找到命令。如果你的 shell 只在特定条件下才把该位置加入 PATH,Paseo 就可能找不到它。
查看 Paseo 看到的内容
打开 设置 → 你的主机 → Providers,点击该 Provider,然后点击 诊断报告。重要的几行:
- Resolved path:Paseo 找到二进制文件的位置,或
not found。 - Daemon PATH:Paseo 正在搜索的
PATH。把它和新终端中echo $PATH的结果进行比较。 - Version:二进制文件是否真的能运行。
在终端或 Agent 中,可以向受影响的 daemon 请求同样的诊断信息:
paseo provider diagnostic <provider>
paseo --host <host:port> provider diagnostic <provider> --json
当受影响的 daemon 不是 CLI 默认的本地 daemon 时,请使用全局的 --host 选项。
最常见的情况是:显示 not found,并且 Daemon PATH 中缺少你的二进制文件所在的目录。也就是说,这个目录在你终端的 PATH 中,却不在 Paseo 的 PATH 中。
修复
持久的修复方法是确保该命令在普通登录 shell 的 PATH 中,然后重启 Paseo。为什么要以此为准,请参见 Paseo 的环境为何可能与终端不同。
如果你更想直接固定路径,请在 ~/.paseo/config.json 中设置二进制文件路径:
{
"agents": {
"providers": {
"claude": {
"command": ["/absolute/path/to/claude"]
}
}
}
}
command 的格式是 [binary, ...args],它会完全替换该 Provider 的默认启动命令。用 which -a claude 查找真实路径。type -a claude 还能告诉你 claude 是否只是一个 shell 别名或函数;这些都不起作用,因为 Paseo 直接运行二进制文件,所以请使用它指向的路径。编辑后重新加载配置(见下文)。
关于替代端点、多个配置、自定义二进制文件和 ACP Agent,请参见自定义 Provider。各 Agent 的安装链接见支持的 Provider。
Paseo 的环境为何可能与终端不同
只要 Paseo 运行你的工具、Agent 或终端,就可能出现同样的不一致:你每天都在用的命令被报告为 command not found。
当你从 Dock 或 Finder 打开桌面应用时,操作系统给它的是一个精简过的环境,而不是你终端里的 PATH。为了弥补这一点,Paseo 会在启动时运行一次你的登录 shell($SHELL -i -l -c),捕获它的环境,并把它交给 daemon 及其启动的所有进程。经验法则:如果一个全新的终端能运行该命令,Paseo 也应该能。 这也是检验方法:打开一个新终端,在那里试一试。
当你自己在终端中启动 daemon(paseo)时,没有登录 shell 这一步,它直接继承该终端的环境。
无论哪种方式,缺少工具的修复都在你的 shell 配置(.zshrc、.zprofile 等)中,而不在 Paseo 中。通过版本管理器(asdf、mise、nvm 等)安装的工具最常出问题,请确保它们在干净的登录 shell 中也会初始化,而不仅仅是在你已经打开的 shell 中。
这一登录 shell 步骤在 macOS 和 Linux 上运行。在 Windows 上,Paseo 使用它启动时所带的环境。
查看日志
- 桌面应用:登录 shell 的解析过程记录在这里。查找
[login-shell-env]:applied表示成功(会记录前后的PATH);failed; keeping inherited env表示它退回到了精简环境,并附带reason(超时、shell 配置以非零状态退出、没有输出等)。最常见的原因是.zshrc/.zprofile运行缓慢或出错。 - daemon:
~/.paseo/daemon.log(如果你设置了自定义 home,则是$PASEO_HOME/daemon.log)。
桌面应用日志位置:
| 平台 | 路径 |
|---|---|
| macOS | ~/Library/Logs/Paseo/main.log |
| Linux | ~/.config/Paseo/logs/main.log |
| Windows | %APPDATA%\Paseo\logs\main.log |
我修改了 config.json,但什么都没发生
编辑后重新加载文件:
paseo reload
Paseo 会应用可以在运行时安全生效的设置,并列出需要重启的路径。JSON 无效或 schema 错误时,不会应用任何内容;修复报告的错误后再次运行该命令。如果某个改动的设置由启动时的环境变量或参数决定,reload 会单独报告它。
只有当 reload 要求时才运行 paseo daemon restart。在应用中,打开 设置 → 你的主机 → 概览 并使用 重启 Daemon。正在运行的 Agent 会继续运行,客户端会自动重连。
仍然无法解决?
- 自定义 Provider:端点、多个配置、二进制文件、ACP Agent。
- 配置:
config.json、环境变量、日志。 - Paseo 如何解析你的登录 shell:加载你的 shell 环境的具体代码。
- 报告问题。