chore: 按用途整理工程脚本与验证入口
将内部脚本归入 build、release、generate、dev 和 checks,保留公开安装脚本路径。 同步命令、CI、发布流程、脚本间调用及根目录定位,补齐脚本说明与完成报告。 验证:929 项测试、类型与版本检查通过;二进制及插件构建、冒烟与打包通过。 OpenAPI 产物不变;工作流 Schema 导出存在基线即可复现的 Zod transform 错误,单独记录。
This commit is contained in:
1 parent
b1e9c7eed3
commit
c71b20c25b
24 files changed
+133
-44
No files matched your search
@@ -30,7 +30,7 @@ jobs:
|
||||
- run: bun run check
|
||||
- run: bun test
|
||||
- run: bun run build:binary
|
||||
- run: bun run scripts/verify-binary.ts dist/bin/hose-use
|
||||
- run: bun run scripts/build/verify-binary.ts dist/bin/hose-use
|
||||
- run: bun run build:plugin
|
||||
- run: bun run scripts/verify-binary.ts dist/mcp/server.js --plugin
|
||||
- run: bun run scripts/build/verify-binary.ts dist/mcp/server.js --plugin
|
||||
- run: bun run package:plugin
|
||||
@@ -50,7 +50,7 @@ jobs:
|
||||
- name: Verify release commit and version
|
||||
run: |
|
||||
git fetch --no-tags origin main:refs/remotes/origin/main
|
||||
bun run scripts/verify-release.ts "$RELEASE_TAG"
|
||||
bun run scripts/release/verify-release.ts "$RELEASE_TAG"
|
||||
|
||||
- name: Install dependencies
|
||||
if: ${{ !inputs.mirror_only }}
|
||||
@@ -76,17 +76,17 @@ jobs:
|
||||
if: ${{ !inputs.mirror_only }}
|
||||
run: |
|
||||
mkdir -p dist/bin
|
||||
node scripts/build-binary.mjs --all --release
|
||||
node scripts/build/build-binary.mjs --all --release
|
||||
|
||||
- name: Verify packaged MCP entrypoint
|
||||
if: ${{ !inputs.mirror_only }}
|
||||
run: bun run scripts/verify-binary.ts dist/bin/hose-use-linux-x64
|
||||
run: bun run scripts/build/verify-binary.ts dist/bin/hose-use-linux-x64
|
||||
|
||||
- name: Verify plugin bundle runtime
|
||||
if: ${{ !inputs.mirror_only }}
|
||||
run: |
|
||||
bun run build:plugin
|
||||
bun run scripts/verify-binary.ts dist/mcp/server.js --plugin
|
||||
bun run scripts/build/verify-binary.ts dist/mcp/server.js --plugin
|
||||
|
||||
- name: Package plugin archive
|
||||
if: ${{ !inputs.mirror_only }}
|
||||
|
||||
Reference in new issue
Block a user