Setup 体验反馈:PATH/hermes 可用性校验 + 报错信息优化 #114
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的 Scenario A 流程,完整走完了 install → setup → skills → e2e verify。以下是遇到的问题和建议。🔴 主要问题(影响使用)
1.
uwf setup不校验 agent adapter 的实际可用性--agent uwf-hermes,setup 成功保存了配置uwf thread exec时才报spawn hermes ENOENTwhich一下 adapter 命令及其依赖(比如 hermes),不可用时给 warning 或直接报错2. PATH 问题是最大的坑,但 bootstrap 只写了「检查」没写「修复」
npm install -g后 PATH 不会自动更新echo 'export PATH="$(npm prefix -g)/bin:$PATH"' >> ~/.bashrc,而不是让用户自己判断3.
uwf thread exec的 hermes ENOENT 报错不够友好spawn hermes ENOENT,对用户来说不知道是 hermes 没装还是不在 PATH"hermes not found in PATH. Run: which hermes or check your PATH config"🟡 次要问题(体验优化)
4. SQLite ExperimentalWarning 每次都打印
--no-warningsflag5. bootstrap 文档版本号滞后
uwf --version # should print 0.1.2,实际已经是 0.2.1-rc.3 了6.
uwf setup非交互模式没有打印配置路径Config saved to ~/.uwf/config.yaml ✓🟢 做得好的地方
uwf prompt bootstrap内容很完整,Scenario A/B 分流清晰$START.new+$START.resume的 v0.2.0 迁移说明很贴心环境信息
@united-workforce/cli@0.2.1-rc.3@united-workforce/agent-hermes(latest)npm install -g