You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(cli,docs): use the published package name in npx commands and expose agents-gitflow-guard in package.json#bin — the first-screen demo snippet across all 11 READMEs, cli.demo.wire in src/i18n.ts (en/zh), and docs/assets/demo.svg previously invoked npx gitflow-guard ..., which only worked on machines where the CLI was already on PATH and failed with 404 Not Found from the npm registry on any fresh machine (while leaving the unclaimed gitflow-guard package name open to squatting); package.json#bin now exposes both gitflow-guard and agents-gitflow-guard pointing to bin/gitflow-guard.mjs, every npx command in the 11 READMEs, src/i18n.ts and the regenerated docs/assets/demo.svg now uses npx agents-gitflow-guard ..., and tests/doc-consistency.spec.ts plus tests/cli.spec.ts guard against bare npx gitflow-guard regressions —— 修复 npx 首屏命令使用未注册包名的问题并在 package.json#bin 同步暴露 agents-gitflow-guard:此前 11 语言 README 首屏演示代码、src/i18n.ts(中英双语 cli.demo.wire)与 docs/assets/demo.svg 均写 npx gitflow-guard ...,仅在已全局安装使 gitflow-guard 位于 PATH 的机器上能运行,未安装的新用户执行即报 npm 404 Not Found(且未注册包名 gitflow-guard 存在被第三方抢注的风险);现 package.json#bin 同时暴露 gitflow-guard 与 agents-gitflow-guard 指向 bin/gitflow-guard.mjs,11 语言 README、src/i18n.ts 与重新生成的 docs/assets/demo.svg 统一改为 npx agents-gitflow-guard ...,并由 tests/doc-consistency.spec.ts 与 tests/cli.spec.ts 机械拦截回退。