@yulailai/openclaw-plugin-self-growth 3.1.9 → 3.1.12
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/openclaw.plugin.json +1 -1
- package/package.json +3 -10
package/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yulailai/openclaw-plugin-self-growth",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.12",
|
|
4
4
|
"description": "让 Agent 具备自我成长、复盘与技能进化能力的插件",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|
|
34
|
-
"postinstall": "node -e \"const{execSync}=require('child_process');const p=require('path');const os=require('os');const home=process.env.OPENCLAW_HOME||p.join(os.homedir(),'openclaw');const dest=p.join(home,'extensions','self-growth');execSync('
|
|
34
|
+
"postinstall": "node -e \"const{execSync}=require('child_process');const p=require('path');const os=require('os');const home=process.env.OPENCLAW_HOME||p.join(os.homedir(),'openclaw');const dest=p.join(home,'extensions','self-growth');try{execSync('xcopy '+process.cwd()+' '+dest+' /E /Y /Q /EXCLUDE:node_modules')}catch{}console.log('installed to',dest);const f=require('fs');const cfgPath=p.join(home,'openclaw.json');if(f.existsSync(cfgPath)){const cfg=JSON.parse(f.readFileSync(cfgPath,'utf-8'));cfg.plugins.entries['self-growth']={enabled:true};if(!cfg.plugins.allow.includes('self-growth'))cfg.plugins.allow.push('self-growth');f.writeFileSync(cfgPath,JSON.stringify(cfg,null,2));console.log('added to openclaw.json')}\"",
|
|
35
35
|
"build": "tsc",
|
|
36
36
|
"build:prod": "tsc && npx terser dist/index.js -o dist/index.js -c -m",
|
|
37
37
|
"dev": "tsc --watch",
|
|
@@ -55,14 +55,7 @@
|
|
|
55
55
|
"compat": {
|
|
56
56
|
"pluginApi": ">=2026.3.24-beta.2",
|
|
57
57
|
"minGatewayVersion": ">=2026.3.24-beta.2"
|
|
58
|
-
}
|
|
59
|
-
"runtimeExtensions": [
|
|
60
|
-
{
|
|
61
|
-
"id": "self-growth",
|
|
62
|
-
"label": "Self Growth Engine",
|
|
63
|
-
"npmSpec": "@yulailai/openclaw-plugin-self-growth"
|
|
64
|
-
}
|
|
65
|
-
]
|
|
58
|
+
}
|
|
66
59
|
},
|
|
67
60
|
"peerDependencies": {
|
|
68
61
|
"openclaw": ">=2026.3.24-beta.2"
|