cogn 2.2.11 → 2.2.13

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