create-principles-disciple 1.145.7 → 1.145.8
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/_release/product-identity.json +1 -1
- package/codex-adapter/dist/ingestion/explicit-owner-statement.d.ts +1 -17
- package/codex-adapter/dist/ingestion/explicit-owner-statement.js +1 -21
- package/core/dist/runtime-v2/context-payload.d.ts +4 -4
- package/core/dist/runtime-v2/context-payload.d.ts.map +1 -1
- package/core/dist/runtime-v2/context-payload.js +1 -0
- package/core/dist/runtime-v2/context-payload.js.map +1 -1
- package/core/dist/runtime-v2/index.d.ts +1 -0
- package/core/dist/runtime-v2/index.d.ts.map +1 -1
- package/core/dist/runtime-v2/index.js +1 -0
- package/core/dist/runtime-v2/index.js.map +1 -1
- package/core/dist/runtime-v2/task-status.d.ts +1 -1
- package/core/package.json +1 -1
- package/dist/installers/workbuddy-host-installer.d.ts +10 -3
- package/dist/installers/workbuddy-host-installer.d.ts.map +1 -1
- package/dist/installers/workbuddy-host-installer.js +400 -39
- package/dist/installers/workbuddy-host-installer.js.map +1 -1
- package/host-runtime/dist/explicit-owner-statement-prefix.d.ts +17 -0
- package/host-runtime/dist/explicit-owner-statement-prefix.js +21 -0
- package/host-runtime/dist/governance-signal-admission.d.ts +2 -2
- package/host-runtime/dist/governance-signal-admission.js +15 -8
- package/host-runtime/dist/index.d.ts +1 -0
- package/host-runtime/dist/index.js +1 -0
- package/host-runtime/package.json +1 -1
- package/package.json +2 -2
- package/plugin/dist/bundle.js +234 -234
- package/plugin/openclaw.plugin.json +1 -1
- package/plugin/package.json +1 -1
- package/release-manager/dist/installers/workbuddy-host-installer.d.ts +10 -3
- package/release-manager/dist/installers/workbuddy-host-installer.d.ts.map +1 -1
- package/release-manager/dist/installers/workbuddy-host-installer.js +400 -39
- package/release-manager/dist/installers/workbuddy-host-installer.js.map +1 -1
- package/release-manager/package.json +2 -2
- package/workbuddy-adapter/dist/explicit-owner-statement.d.ts +3 -0
- package/workbuddy-adapter/dist/explicit-owner-statement.js +52 -0
- package/workbuddy-adapter/dist/pd-hook.js +31 -7
- package/workbuddy-adapter/plugin/scripts/pd-control.cjs +45 -0
- package/workbuddy-adapter/plugin/skills/pd-disable/SKILL.md +18 -0
- package/workbuddy-adapter/plugin/skills/pd-record-pain/SKILL.md +21 -0
- package/workbuddy-adapter/plugin/skills/pd-review/SKILL.md +16 -0
- package/workbuddy-adapter/plugin/skills/pd-status/SKILL.md +17 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "principles-disciple",
|
|
3
3
|
"name": "Principles Disciple",
|
|
4
4
|
"description": "Principles Disciple is an AI Agent Governance System. Stop correcting the same AI behavior across sessions. Turn repeated Agent corrections into Owner-approved, observable, reversible behavior principles.",
|
|
5
|
-
"version": "2.1.
|
|
5
|
+
"version": "2.1.8",
|
|
6
6
|
"activation": {
|
|
7
7
|
"onStartup": true,
|
|
8
8
|
"onCapabilities": [
|
package/plugin/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "principles-disciple",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.8",
|
|
4
4
|
"description": "Principles Disciple is an AI Agent Governance System. Stop correcting the same AI behavior across sessions. Turn repeated Agent corrections into Owner-approved, observable, reversible behavior principles.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -223,6 +223,7 @@ export declare class WorkBuddyHostInstaller implements HostInstaller {
|
|
|
223
223
|
*/
|
|
224
224
|
private initializeGovernanceWorkspace;
|
|
225
225
|
private registerPlugin;
|
|
226
|
+
private pluginCacheMatchesPayload;
|
|
226
227
|
/**
|
|
227
228
|
* Set enabledPlugins[OUR_KEY]=true in settings.json, preserving every other
|
|
228
229
|
* key (same protected write discipline as the direct-write registration).
|
|
@@ -233,8 +234,8 @@ export declare class WorkBuddyHostInstaller implements HostInstaller {
|
|
|
233
234
|
/**
|
|
234
235
|
* Direct-write registration for engine-unreachable machines, aligned with the
|
|
235
236
|
* frozen P01 formats: enabledPlugins[key]=true in settings.json (other keys
|
|
236
|
-
* and other plugins preserved), installed_plugins.json v2
|
|
237
|
-
*
|
|
237
|
+
* and other plugins preserved), installed_plugins.json v2 user registration
|
|
238
|
+
* (native scope array or legacy object), and the versioned cache
|
|
238
239
|
* copy under plugins/cache/<marketplace>/<plugin>/<version>/.
|
|
239
240
|
*/
|
|
240
241
|
private directWriteRegistration;
|
|
@@ -250,8 +251,14 @@ export declare class WorkBuddyHostInstaller implements HostInstaller {
|
|
|
250
251
|
/** Explicit disable of PD governance (reversible rollback path). */
|
|
251
252
|
disableGovernance(): FlagOverrideResult;
|
|
252
253
|
uninstall(_ctx: HostUninstallContext): Promise<HostUninstallResult>;
|
|
253
|
-
/**
|
|
254
|
+
/**
|
|
255
|
+
* Remove the USER-scope registration only (frozen formats). Other scopes of
|
|
256
|
+
* the same key are host-owned: dropping the whole key would delete a
|
|
257
|
+
* project/local/managed install PD never owned.
|
|
258
|
+
*/
|
|
254
259
|
private directWriteRemoval;
|
|
260
|
+
/** installPaths still referenced by ANY surviving scope record of our key. */
|
|
261
|
+
private referencedCacheDirs;
|
|
255
262
|
detect(): HostDetectResult;
|
|
256
263
|
/** Detailed detect: install presence vs host discovery vs registration vs enablement vs runtime reachability. */
|
|
257
264
|
detectDetails(): WorkbuddyDetectDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workbuddy-host-installer.d.ts","sourceRoot":"","sources":["../../src/installers/workbuddy-host-installer.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"workbuddy-host-installer.d.ts","sourceRoot":"","sources":["../../src/installers/workbuddy-host-installer.ts"],"names":[],"mappings":"AA2DA,OAAO,KAAK,EACV,aAAa,EACb,kBAAkB,EAClB,iBAAiB,EACjB,oBAAoB,EACpB,mBAAmB,EACnB,gBAAgB,EACjB,MAAM,uBAAuB,CAAC;AAM/B,yFAAyF;AACzF,e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