cogn 1.0.0

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.
Files changed (3) hide show
  1. package/README.md +33 -0
  2. package/bin.js +2 -0
  3. package/package.json +27 -0
package/README.md ADDED
@@ -0,0 +1,33 @@
1
+ # cogn
2
+
3
+ Cognitive Modules CLI - 结构化 AI 任务执行工具。
4
+
5
+ 这是 `cognitive-modules-cli` 的短名别名包。
6
+
7
+ ## 一行代码使用
8
+
9
+ ```bash
10
+ # 零安装运行
11
+ npx cogn run code-reviewer --args "def login(u,p): pass"
12
+
13
+ # 列出模块
14
+ npx cogn list
15
+
16
+ # 查看帮助
17
+ npx cogn --help
18
+ ```
19
+
20
+ ## 全局安装
21
+
22
+ ```bash
23
+ npm install -g cogn
24
+
25
+ # 然后直接使用
26
+ cogn run code-reviewer --args "..."
27
+ ```
28
+
29
+ ## 更多信息
30
+
31
+ - GitHub: https://github.com/ziel-io/cognitive-modules
32
+ - 文档: https://ziel-io.github.io/cognitive-modules/
33
+ - PyPI: https://pypi.org/project/cognitive-modules/
package/bin.js ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ require('cognitive-modules-cli/dist/cli.js');
package/package.json ADDED
@@ -0,0 +1,27 @@
1
+ {
2
+ "name": "cogn",
3
+ "version": "1.0.0",
4
+ "description": "Cognitive Modules CLI - Structured AI Task Execution (alias for cognitive-modules-cli)",
5
+ "bin": {
6
+ "cogn": "./bin.js"
7
+ },
8
+ "scripts": {},
9
+ "keywords": [
10
+ "cognitive",
11
+ "ai",
12
+ "llm",
13
+ "cli",
14
+ "modules",
15
+ "npx"
16
+ ],
17
+ "license": "MIT",
18
+ "author": "ziel-io",
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "https://github.com/ziel-io/cognitive-modules.git"
22
+ },
23
+ "homepage": "https://ziel-io.github.io/cognitive-modules/",
24
+ "dependencies": {
25
+ "cognitive-modules-cli": "^1.1.0"
26
+ }
27
+ }