@chenmk/superflow 0.5.5 → 0.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/INSTALL.en.md +1 -1
- package/INSTALL.md +3 -3
- package/README.md +1 -1
- package/README.zh-CN.md +2 -2
- package/installer/bin/superflow-installer.cjs +1 -1
- package/package.json +1 -1
- package/scripts/preinstall.js +2 -2
- package/installer/package.json +0 -16
package/INSTALL.en.md
CHANGED
|
@@ -8,7 +8,7 @@ aliases, scripts, rules, and handoff state for Claude Code and Codex.
|
|
|
8
8
|
## 1. Install
|
|
9
9
|
|
|
10
10
|
```bash
|
|
11
|
-
npx --yes --package=@chenmk/superflow@
|
|
11
|
+
npx --yes --package=@chenmk/superflow@0.5.6 superflow-install
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
> **Node.js requirement:** Node.js 20 or later is required. If `node -v` is older,
|
package/INSTALL.md
CHANGED
|
@@ -43,7 +43,7 @@ docs -> design -> implement -> verify -> archive
|
|
|
43
43
|
### 2.1 npm 全局安装(推荐给普通用户)
|
|
44
44
|
|
|
45
45
|
```bash
|
|
46
|
-
npx --yes --package=@chenmk/superflow@
|
|
46
|
+
npx --yes --package=@chenmk/superflow@0.5.6 superflow-install
|
|
47
47
|
superflow --version
|
|
48
48
|
```
|
|
49
49
|
|
|
@@ -51,7 +51,7 @@ superflow --version
|
|
|
51
51
|
|
|
52
52
|
```bash
|
|
53
53
|
npm config set registry https://registry.npmmirror.com
|
|
54
|
-
npx --yes --package=@chenmk/superflow@
|
|
54
|
+
npx --yes --package=@chenmk/superflow@0.5.6 superflow-install
|
|
55
55
|
```
|
|
56
56
|
|
|
57
57
|
### 2.2 从源码安装(贡献者或本地调试)
|
|
@@ -669,7 +669,7 @@ superflow pipeline --agent codex
|
|
|
669
669
|
|
|
670
670
|
| 场景 | 命令 |
|
|
671
671
|
|------|------|
|
|
672
|
-
| 安装 CLI | `npx --yes --package=@chenmk/superflow@
|
|
672
|
+
| 安装 CLI | `npx --yes --package=@chenmk/superflow@0.5.6 superflow-install` |
|
|
673
673
|
| 初始化并选择工具 | `superflow init` |
|
|
674
674
|
| 非交互初始化两侧 | `superflow init --yes` |
|
|
675
675
|
| 检查健康 | `superflow doctor` |
|
package/README.md
CHANGED
|
@@ -151,7 +151,7 @@ Each phase has a clear owner and an exit gate:
|
|
|
151
151
|
## Install
|
|
152
152
|
|
|
153
153
|
```bash
|
|
154
|
-
npx --yes --package=@chenmk/superflow@
|
|
154
|
+
npx --yes --package=@chenmk/superflow@0.5.6 superflow-install
|
|
155
155
|
```
|
|
156
156
|
|
|
157
157
|
> **Node.js requirement:** Node.js 20 or later is required. On an older runtime,
|
package/README.zh-CN.md
CHANGED
|
@@ -100,7 +100,7 @@ docs -> design -> implement -> verify -> archive
|
|
|
100
100
|
## 安装
|
|
101
101
|
|
|
102
102
|
```bash
|
|
103
|
-
npx --yes --package=@chenmk/superflow@
|
|
103
|
+
npx --yes --package=@chenmk/superflow@0.5.6 superflow-install
|
|
104
104
|
# 或本地源码:
|
|
105
105
|
# git clone https://github.com/.../superflow-cli && cd superflow-cli && bash install.sh
|
|
106
106
|
```
|
|
@@ -112,7 +112,7 @@ npx --yes --package=@chenmk/superflow@latest superflow-install
|
|
|
112
112
|
从源码执行 `bash install.sh` 时,会检测本机已有的 Codex、Claude,并一次完成
|
|
113
113
|
CLI、Skills/Hooks 与对应托管 MCP 注册;安装后重启检测到的 Agent 即可。
|
|
114
114
|
|
|
115
|
-
> **💡 装完即全局生效,无需逐项目 init**:`npx --yes --package=@chenmk/superflow@
|
|
115
|
+
> **💡 装完即全局生效,无需逐项目 init**:`npx --yes --package=@chenmk/superflow@0.5.6 superflow-install`(或 `bash install.sh`)会自动把 superflow hooks 注册到 `~/.claude/settings.json`(全局),**本机上所有项目仓库**都获得 superflow 守门。钩子内部靠 `.sdd-enforced` 标记懒激活(没跑 `superflow clarify` 之前所有钩子静默放行,零干扰)。
|
|
116
116
|
>
|
|
117
117
|
> 只有需要项目级产物(OpenSpec change 目录 / `.sdd/` 任务文件 / 团队约定)时,才在项目根目录跑 `superflow init`。**绝大多数项目不需要这一步**——hooks 已经在全局生效了。
|
|
118
118
|
|
|
@@ -6,7 +6,7 @@ const { existsSync, readFileSync, writeFileSync } = require('fs');
|
|
|
6
6
|
const { join } = require('path');
|
|
7
7
|
|
|
8
8
|
const NODE_MIN = 20;
|
|
9
|
-
const MAIN =
|
|
9
|
+
const MAIN = `@chenmk/superflow@${require('../../package.json').version}`;
|
|
10
10
|
const NVM_URL = 'https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.7/install.sh';
|
|
11
11
|
|
|
12
12
|
function run(command, args, options) {
|
package/package.json
CHANGED
package/scripts/preinstall.js
CHANGED
|
@@ -28,7 +28,7 @@ export function buildNodeVersionMessage(version, language) {
|
|
|
28
28
|
commands,
|
|
29
29
|
'',
|
|
30
30
|
'完成后重新打开终端,再运行:',
|
|
31
|
-
' npx --yes --package=@chenmk/superflow@
|
|
31
|
+
' npx --yes --package=@chenmk/superflow@0.5.6 superflow-install',
|
|
32
32
|
'未安装 nvm 时,请用系统包管理器或 https://nodejs.org 安装 Node.js 20。',
|
|
33
33
|
].join('\n');
|
|
34
34
|
}
|
|
@@ -41,7 +41,7 @@ export function buildNodeVersionMessage(version, language) {
|
|
|
41
41
|
commands,
|
|
42
42
|
'',
|
|
43
43
|
'Open a new terminal, then rerun:',
|
|
44
|
-
' npx --yes --package=@chenmk/superflow@
|
|
44
|
+
' npx --yes --package=@chenmk/superflow@0.5.6 superflow-install',
|
|
45
45
|
'Without nvm, use your system package manager or https://nodejs.org to install Node.js 20.',
|
|
46
46
|
].join('\n');
|
|
47
47
|
}
|
package/installer/package.json
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@chenmk/superflow-installer",
|
|
3
|
-
"version": "0.1.0",
|
|
4
|
-
"description": "One-command Node and Superflow installer",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"main": "bin/superflow-installer.js",
|
|
7
|
-
"bin": {
|
|
8
|
-
"superflow-installer": "bin/superflow-installer.js"
|
|
9
|
-
},
|
|
10
|
-
"files": ["bin", "README.md"],
|
|
11
|
-
"engines": { "node": ">=14" },
|
|
12
|
-
"publishConfig": {
|
|
13
|
-
"access": "public",
|
|
14
|
-
"registry": "https://registry.npmjs.org"
|
|
15
|
-
}
|
|
16
|
-
}
|