Setup 体验报告:Bootstrap 流程中的 5 个 UX 问题 #118
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
背景
在 SORA 设备上从零开始执行
uwf prompt bootstrap的完整 setup 流程,遇到了以下体验问题。问题 1:
uwf-hermesPATH 检测不够智能,警告信息误导用户现象:运行
uwf setup --agent uwf-hermes后输出:但实际上
uwf-hermes已经装好了,在/home/xiaonuo/.hermes/node/bin/uwf-hermes,只是这个目录不在当前 shell 的$PATH中。问题:
uwf setup只检查当前$PATH,没有检查常见的 npm/pnpm 全局 bin 路径建议:
~/.hermes/node/bin、~/.local/share/pnpm、/usr/local/bin、npm prefix 等uwf-hermes not found in PATH. Common locations: ~/.hermes/node/bin, ~/.local/share/pnpm. Add the correct directory to your PATH.问题 2:Bootstrap 文档假设 pnpm 可用
文档中所有安装命令都写的是
pnpm add -g ...,但很多用户(包括本机)没有安装 pnpm。实际用npm install -g也能正常工作。建议:文档应该明确说
pnpm(推荐)或npm都可以,并给出两种命令示例。问题 3:Bootstrap 没有提到安装后 PATH 验证
Step 0 检查了 Node.js、包管理器、bin 目录等,但 Step 1 装完 uwf 后没有验证步骤。本机装完后
uwf命令不在 PATH 中,需要用完整路径/home/xiaonuo/.hermes/node/bin/uwf才能运行。建议:Step 1 安装完成后加一个
uwf --version验证步骤,如果失败就提示用户修复 PATH。问题 4:Adapter 安装时机不明确
Bootstrap 文档在 Step 1 先让用户装 CLI,再装 adapter,但 Step 2 的
--agent参数需要 adapter 已存在。文档没有明确说"先装 adapter 再跑 setup"。建议:明确标注 adapter 必须在
uwf setup --agent之前安装。问题 5:
--base-url对 preset provider 的行为未说明uwf setup对 preset providers(如 dashscope)会自动填充 base URL,但 bootstrap 文档没有明确说明哪些 provider 是 preset、哪些需要手动指定--base-url。建议:在文档中列出所有 preset providers 及其对应的默认 base URL。