fix: preserve gitbundle tool wrapper paths
This commit is contained in:
@@ -77,7 +77,7 @@ gitbundle skill 聚合规则:
|
||||
|
||||
workspace `tools/` 装配规则:
|
||||
|
||||
- runner 把 workspace `tools/` 追加到 `PATH`;repo 内的短命令文件本身承担 wrapper 语义。
|
||||
- runner 把 workspace `tools/` 暴露到 `PATH`;如 runtime 需要稳定 bin 目录,只能安装执行原始 workspace tool 的 shim,不能复制 tool 文件导致相对路径语义改变。repo 内的短命令文件本身承担 wrapper 语义。
|
||||
- `tools/` 顶层 `.ts` 脚本必须带 shebang;带 shebang 的脚本会被 `chmod +x`。
|
||||
- Event/result 只输出工具文件名、hash、bytes、shebang 摘要和 count,不输出脚本文本。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user