principles-disciple 1.235.0 → 1.236.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.
- package/dist/bundle.js +459 -449
- package/dist/constants/tools.d.ts +13 -5
- package/dist/governance-audit.js +3 -3
- package/dist/openclaw.plugin.json +1 -1
- package/dist/rulehost-evidence.js +127 -127
- package/dist/service/internalization-auto-consumer-service.d.ts +13 -0
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
|
@@ -15,5 +15,18 @@ export interface InternalizationAutoConsumerServiceShape {
|
|
|
15
15
|
start: (ctx: OpenClawPluginServiceContext) => void;
|
|
16
16
|
stop?: (ctx: OpenClawPluginServiceContext) => void;
|
|
17
17
|
}
|
|
18
|
+
/**
|
|
19
|
+
* PRI-741 (review round): persist the OpenClaw tool declaration as workspace
|
|
20
|
+
* provenance — host-neutral consumers (pd-cli activation / run-once) load it
|
|
21
|
+
* to run reliability validation with the SAME registry instead of guessing
|
|
22
|
+
* the host. The declaration derives from this package's constants (single
|
|
23
|
+
* source) and is a FACT about the host: it is refreshed on EVERY gateway
|
|
24
|
+
* start, independent of the internalization consumer flag, so a flag-off
|
|
25
|
+
* workspace never keeps a stale declaration whose phantom names defeat the
|
|
26
|
+
* activation gate's hasHostTool check.
|
|
27
|
+
*/
|
|
28
|
+
export declare function persistOpenClawToolDeclaration(workspaceDir: string, logger: {
|
|
29
|
+
warn: (msg: string) => void;
|
|
30
|
+
}): void;
|
|
18
31
|
export declare function runConsumerCycle(workspaceDir: string, logger: PluginLogger): Promise<void>;
|
|
19
32
|
export declare const InternalizationAutoConsumerService: InternalizationAutoConsumerServiceShape;
|
package/openclaw.plugin.json
CHANGED
|
@@ -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": "1.
|
|
5
|
+
"version": "1.236.0",
|
|
6
6
|
"activation": {
|
|
7
7
|
"onStartup": true,
|
|
8
8
|
"onCapabilities": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "principles-disciple",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.236.0",
|
|
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",
|