@remnic/plugin-openclaw 1.0.3 → 1.0.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/LICENSE +21 -0
- package/README.md +211 -4
- package/dist/{calibration-WZXRJMVP.js → calibration-3JHF25QT.js} +2 -2
- package/dist/{causal-chain-LA3IQNL6.js → causal-chain-OKDZSDEB.js} +3 -3
- package/dist/{causal-consolidation-YZLBOC7J.js → causal-consolidation-62IFBWHC.js} +22 -7
- package/dist/{causal-retrieval-ITNQBUQM.js → causal-retrieval-5UPIKZ4I.js} +4 -4
- package/dist/{causal-trajectory-graph-7Z5DD66L.js → causal-trajectory-graph-RQIT37DN.js} +1 -1
- package/dist/{chunk-BIBYVWVY.js → chunk-3SA5F4WT.js} +1 -1
- package/dist/{chunk-Y7JG2Q3V.js → chunk-5VTGFKKU.js} +2001 -275
- package/dist/{chunk-HSBPDYF4.js → chunk-BXTMZDRT.js} +2 -2
- package/dist/chunk-J2FCINY7.js +960 -0
- package/dist/{chunk-L46G4NGI.js → chunk-J7VGZNH4.js} +15 -4
- package/dist/chunk-NJG4HPAL.js +7099 -0
- package/dist/{chunk-BZ27H3BL.js → chunk-RMFPW4VK.js} +1 -1
- package/dist/{chunk-DMGIUDBO.js → chunk-UFU5GGGA.js} +8 -2
- package/dist/{chunk-JGEKL3WH.js → chunk-YHH3SXKD.js} +1 -1
- package/dist/{chunk-H3SKMYPU.js → chunk-Z7GRLVK3.js} +2 -2
- package/dist/{engine-GPDZXAXN.js → engine-BEV4BHEH.js} +3 -3
- package/dist/{fallback-llm-7UTWU27F.js → fallback-llm-HJRCHKSA.js} +2 -2
- package/dist/index.js +14018 -13908
- package/dist/{logger-NZE2OBVA.js → logger-TNOKCH7X.js} +1 -1
- package/dist/openai-53ZQ46RZ.js +44 -0
- package/dist/storage-HW6SRQCK.js +24 -0
- package/openclaw.plugin.json +807 -10
- package/package.json +8 -11
- package/dist/storage-AGYBIME4.js +0 -16
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
parseContinuityImprovementLoops,
|
|
4
4
|
parseContinuityIncident,
|
|
5
5
|
sanitizeMemoryContent
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5VTGFKKU.js";
|
|
7
7
|
import {
|
|
8
8
|
log
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-UFU5GGGA.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
12
|
} from "./chunk-MLKGABMK.js";
|
|
@@ -4881,12 +4881,13 @@ var CompoundingEngine = class {
|
|
|
4881
4881
|
let promotionCandidates = this.config.compoundingSemanticEnabled ? this.derivePromotionCandidates(outcomeSummary, mistakes.registry, rubrics) : [];
|
|
4882
4882
|
if (this.config.cmcConsolidationEnabled) {
|
|
4883
4883
|
try {
|
|
4884
|
-
const { deriveCausalPromotionCandidates } = await import("./causal-consolidation-
|
|
4884
|
+
const { deriveCausalPromotionCandidates, materializeAfterCausalConsolidation } = await import("./causal-consolidation-62IFBWHC.js");
|
|
4885
4885
|
const causalCandidates = await deriveCausalPromotionCandidates({
|
|
4886
4886
|
memoryDir: this.config.memoryDir,
|
|
4887
4887
|
causalTrajectoryStoreDir: this.config.causalTrajectoryStoreDir,
|
|
4888
4888
|
gatewayConfig: this.config.gatewayConfig,
|
|
4889
4889
|
gatewayAgentId: this.config.modelSource === "gateway" ? this.config.gatewayAgentId || void 0 : void 0,
|
|
4890
|
+
pluginConfig: this.config,
|
|
4890
4891
|
config: {
|
|
4891
4892
|
minRecurrence: this.config.cmcConsolidationMinRecurrence,
|
|
4892
4893
|
minSessions: this.config.cmcConsolidationMinSessions,
|
|
@@ -4896,13 +4897,23 @@ var CompoundingEngine = class {
|
|
|
4896
4897
|
if (causalCandidates.length > 0) {
|
|
4897
4898
|
promotionCandidates = [...promotionCandidates, ...causalCandidates];
|
|
4898
4899
|
}
|
|
4900
|
+
try {
|
|
4901
|
+
await materializeAfterCausalConsolidation({
|
|
4902
|
+
config: this.config,
|
|
4903
|
+
memoryDir: this.config.memoryDir
|
|
4904
|
+
});
|
|
4905
|
+
} catch (materializeError) {
|
|
4906
|
+
log.warn(
|
|
4907
|
+
`[cmc] Codex materialize post-hook failed (non-fatal): ${materializeError instanceof Error ? materializeError.message : String(materializeError)}`
|
|
4908
|
+
);
|
|
4909
|
+
}
|
|
4899
4910
|
} catch (error) {
|
|
4900
4911
|
log.warn(`[cmc] causal consolidation in synthesizeWeekly failed (non-fatal): ${error instanceof Error ? error.message : String(error)}`);
|
|
4901
4912
|
}
|
|
4902
4913
|
}
|
|
4903
4914
|
if (this.config.calibrationEnabled) {
|
|
4904
4915
|
try {
|
|
4905
|
-
const { runCalibrationConsolidation } = await import("./calibration-
|
|
4916
|
+
const { runCalibrationConsolidation } = await import("./calibration-3JHF25QT.js");
|
|
4906
4917
|
const calRules = await runCalibrationConsolidation({
|
|
4907
4918
|
memoryDir: this.config.memoryDir,
|
|
4908
4919
|
gatewayConfig: this.config.gatewayConfig,
|