self-evolve-framework 1.0.0 → 1.0.2

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 +3 -1
  2. package/bin/cli.js +3 -1
  3. package/package.json +3 -5
package/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # Self-Evolve Framework
2
2
 
3
- > 可复用的 CodeBuddy 自我进化飞轮 — Post-Edit 验证闭环 + 规则自动推荐 + 离线进化分析
3
+ > **CodeBuddy IDE** 自我进化飞轮 — Post-Edit 验证闭环 + 规则自动推荐 + 离线进化分析
4
+ >
5
+ > ⚠️ 此包专为 [CodeBuddy](https://www.codebuddy.ai) 设计,依赖 `.codebuddy/rules/` 和 `.codebuddy/skills/` 目录结构,非 CodeBuddy 环境无效。
4
6
 
5
7
  ## 安装
6
8
 
package/bin/cli.js CHANGED
@@ -137,7 +137,9 @@ for (let i = 3; i < process.argv.length; i++) {
137
137
  }
138
138
  }
139
139
 
140
- fn.run(args).catch((err) => {
140
+ const result = fn.run(args)
141
+ // 兼容 sync 和 async 的 run 函数
142
+ Promise.resolve(result).catch((err) => {
141
143
  console.error("❌ 错误:", err.message)
142
144
  process.exit(1)
143
145
  })
package/package.json CHANGED
@@ -1,14 +1,12 @@
1
1
  {
2
2
  "name": "self-evolve-framework",
3
- "version": "1.0.0",
4
- "description": "CodeBuddy 自我进化飞轮 — Post-Edit 验证闭环 + 规则自动推荐 + 离线进化分析",
3
+ "version": "1.0.2",
4
+ "description": "CodeBuddy 自我进化飞轮 — 仅适用于 CodeBuddy IDE。Post-Edit 验证闭环 + 规则自动推荐 + 离线进化分析",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "self-evolve": "bin/cli.js"
8
8
  },
9
- "scripts": {
10
- "postinstall": "node bin/cli.js help"
11
- },
9
+ "scripts": {},
12
10
  "keywords": [
13
11
  "codebuddy",
14
12
  "self-evolution",