principles-disciple 1.199.2 ā 1.199.4
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/dist/bundle.js +110 -110
- package/dist/openclaw.plugin.json +1 -1
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
- package/scripts/sync-plugin.mjs +10 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "principles-disciple",
|
|
3
3
|
"name": "Principles Disciple",
|
|
4
4
|
"description": "Turn repeated Agent corrections into Owner-approved, observable, reversible behavior principles. Stop correcting the same AI behavior across sessions.",
|
|
5
|
-
"version": "1.199.
|
|
5
|
+
"version": "1.199.4",
|
|
6
6
|
"activation": {
|
|
7
7
|
"onCapabilities": [
|
|
8
8
|
"hook"
|
package/openclaw.plugin.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "principles-disciple",
|
|
3
3
|
"name": "Principles Disciple",
|
|
4
4
|
"description": "Turn repeated Agent corrections into Owner-approved, observable, reversible behavior principles. Stop correcting the same AI behavior across sessions.",
|
|
5
|
-
"version": "1.199.
|
|
5
|
+
"version": "1.199.4",
|
|
6
6
|
"activation": {
|
|
7
7
|
"onCapabilities": [
|
|
8
8
|
"hook"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "principles-disciple",
|
|
3
|
-
"version": "1.199.
|
|
3
|
+
"version": "1.199.4",
|
|
4
4
|
"description": "Turn repeated Agent corrections into Owner-approved, observable, reversible behavior principles. Stop correcting the same AI behavior across sessions.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
package/scripts/sync-plugin.mjs
CHANGED
|
@@ -925,7 +925,16 @@ function injectLocalWorkspacePackages() {
|
|
|
925
925
|
function installTargetDependencies() {
|
|
926
926
|
console.log('\nš¦ Installing production dependencies in target...');
|
|
927
927
|
try {
|
|
928
|
-
|
|
928
|
+
// --legacy-peer-deps: the plugin's devDependencies include @typescript-eslint
|
|
929
|
+
// (peer typescript <6.1) which npm 7+ strictly validates even under --omit=dev,
|
|
930
|
+
// causing ETARGET. Since production install omits devDeps anyway, legacy peer
|
|
931
|
+
// resolution is safe and only bypasses the over-strict peer check.
|
|
932
|
+
//
|
|
933
|
+
// --prefer-offline removed: it caused ETARGET for better-sqlite3@^13.0.1 when
|
|
934
|
+
// the local npm cache was stale (registry had 13.0.3 but cache only had an
|
|
935
|
+
// older resolution). Letting npm use its default offline/online heuristic
|
|
936
|
+
// avoids the stale-cache hard failure.
|
|
937
|
+
execSync('npm install --omit=dev --no-audit --no-fund --legacy-peer-deps', {
|
|
929
938
|
cwd: INSTALL_DIR,
|
|
930
939
|
stdio: 'inherit'
|
|
931
940
|
});
|