Repository navigation
fix: 修复 StepPage 自动准备、插件误报和终端 PATH 持久化 - #223
Merged
Merged
Conversation
ZouR-Ma
force-pushed
the
fix/steppage-provisioning-and-path
branch
from
October 9, 2026 06:14
23a15a3 to
44f694e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题与修复
全新安装首次启动时,Step 一边后台安装 StepPage,一边连接尚不存在的
steppage-mcp,导致本次会话报错,即使稍后安装完成也不会重新连接。本次在安装、升级和启动时共享可执行文件准备逻辑:验证命令可用后再连接 MCP,MCP 连接超时从准备完成后开始计算;交互界面和其他 MCP 继续可用。同时修复两个相关问题:
兼容性与失败处理
curl安装命令、step mcp prepare和重启说明。~/.local/bin/steppage-mcp的绝对路径;准备完成后再次验证版本。STEP_NO_MODIFY_PATH=1保留;畸形的 shell 配置标记不改写。验证
494c8f2。npm run build:offline通过,已生成 workspace JavaScript 入口。bash test.sh通过:coding-agent 4051 项、CLI 656 项、脚本 32 项及其他包均通过;按既有条件跳过的平台和网络集成项保留。macOS 使用TMPDIR=/tmp避免既有 tsx socket 路径超长。23a15a3的完整 build/check/test CI 与提交署名检查均通过。2026-10-09 将两个提交的 author/committer 修正为ZouR-Ma <2605315944@qq.com>,当前 HEAD 为44f694e;代码树完全一致,新提交 CI 正在重跑。node --test scripts/release-bundle.test.mjs:15 项通过;3 项 PowerShell 执行测试因本机没有 pwsh 跳过。npm run check、补充 TypeScript 检查、git diff --check通过。验证边界
本地启动验证使用源码入口,未打包或发布新的独立二进制;未验证实际页面生成。原生 Windows 的 StepPage 自动安装仍不支持,本次保留可用的 Step 并提示平台限制;WSL 使用 Linux 路径。