cogn 2.2.12 → 2.2.14
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/CHANGELOG.md +9 -0
- package/README.md +6 -6
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this package are documented in this file.
|
|
4
4
|
|
|
5
|
+
## 2.2.14 - 2026-03-08
|
|
6
|
+
|
|
7
|
+
- Alias package aligned with `cognitive-modules-cli@2.2.14`.
|
|
8
|
+
- Publish gate now runs the primary runtime release checks before alias-package checks.
|
|
9
|
+
|
|
10
|
+
## 2.2.13 - 2026-02-08
|
|
11
|
+
|
|
12
|
+
- Alias package aligned with `cognitive-modules-cli@2.2.13`.
|
|
13
|
+
|
|
5
14
|
## 2.2.12 - 2026-02-08
|
|
6
15
|
|
|
7
16
|
- Alias package aligned with `cognitive-modules-cli@2.2.12`.
|
package/README.md
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
# cogn
|
|
2
2
|
|
|
3
|
-
Cognitive Modules Node.js CLI 的短名别名包。文档统一使用明确入口 `npx cogn@2.2.
|
|
3
|
+
Cognitive Modules Node.js CLI 的短名别名包。文档统一使用明确入口 `npx cogn@2.2.14 ...`,避免本机 PATH 上存在其他同名命令导致的错觉。
|
|
4
4
|
|
|
5
5
|
## 一行代码使用
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
# 零安装运行
|
|
9
|
-
npx cogn@2.2.
|
|
9
|
+
npx cogn@2.2.14 run code-reviewer --args "def login(u,p): pass"
|
|
10
10
|
|
|
11
11
|
# 列出模块
|
|
12
|
-
npx cogn@2.2.
|
|
12
|
+
npx cogn@2.2.14 list
|
|
13
13
|
|
|
14
14
|
# 查看帮助
|
|
15
|
-
npx cogn@2.2.
|
|
15
|
+
npx cogn@2.2.14 --help
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
## 全局安装
|
|
19
19
|
|
|
20
20
|
```bash
|
|
21
|
-
npm install -g cogn@2.2.
|
|
21
|
+
npm install -g cogn@2.2.14
|
|
22
22
|
|
|
23
23
|
# 然后使用(推荐仍保持 npx 入口,避免命令名冲突)
|
|
24
|
-
npx cogn@2.2.
|
|
24
|
+
npx cogn@2.2.14 run code-reviewer --args "..."
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
## 更多信息
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cogn",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.14",
|
|
4
4
|
"description": "Cognitive Modules CLI - Structured AI Task Execution (alias for cognitive-modules-cli)",
|
|
5
5
|
"bin": {
|
|
6
6
|
"cogn": "bin.js",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
},
|
|
9
9
|
"scripts": {
|
|
10
10
|
"pack:check": "npm pack --dry-run --json --cache ../../.npm-cache",
|
|
11
|
-
"release:check": "node ../../scripts/release/check-npm-package.js --package packages/cogn && npm run pack:check",
|
|
11
|
+
"release:check": "npm --prefix ../cli-node run release:check && node ../../scripts/release/check-npm-package.js --package packages/cogn && npm run pack:check",
|
|
12
12
|
"prepublishOnly": "npm run release:check"
|
|
13
13
|
},
|
|
14
14
|
"keywords": [
|
|
@@ -42,6 +42,6 @@
|
|
|
42
42
|
"node": ">=18.0.0"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"cognitive-modules-cli": "2.2.
|
|
45
|
+
"cognitive-modules-cli": "2.2.14"
|
|
46
46
|
}
|
|
47
47
|
}
|