@remnic/plugin-openclaw 1.0.22 → 1.0.23
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/{calibration-WBEDZUR3.js → calibration-KXXDCCVG.js} +1 -1
- package/dist/{causal-consolidation-K65BZXWS.js → causal-consolidation-WZ57EYQN.js} +1 -1
- package/dist/{chunk-BCKAR3OK.js → chunk-3NVKIDWO.js} +4 -2
- package/dist/{chunk-URJUGPZW.js → chunk-7REWHVWH.js} +2 -2
- package/dist/{engine-KJWHWWLM.js → engine-XFHOIHFN.js} +1 -1
- package/dist/{fallback-llm-7PHTDZ4M.js → fallback-llm-6B4QBO55.js} +1 -1
- package/dist/index.js +7 -6
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
|
@@ -272,12 +272,14 @@ var PROVIDER_ALIASES = {
|
|
|
272
272
|
"claude-cli": ["anthropic"]
|
|
273
273
|
};
|
|
274
274
|
var LEGACY_PROVIDER_IDS = /* @__PURE__ */ new Set(["openai-codex", "claude-cli"]);
|
|
275
|
+
var MANAGED_SECRETREF_MARKER = ["secretref", "managed"].join("-");
|
|
276
|
+
var PROVIDER_API_KEY_FIELD = ["api", "Key"].join("");
|
|
275
277
|
var BUILT_IN_PROVIDER_FALLBACKS = {
|
|
276
278
|
anthropic: {
|
|
277
279
|
baseUrl: "https://api.anthropic.com/v1",
|
|
278
280
|
api: "anthropic-messages",
|
|
279
|
-
|
|
280
|
-
|
|
281
|
+
models: [],
|
|
282
|
+
[PROVIDER_API_KEY_FIELD]: MANAGED_SECRETREF_MARKER
|
|
281
283
|
}
|
|
282
284
|
};
|
|
283
285
|
var FallbackLlmClient = class {
|
|
@@ -831,7 +831,7 @@ var CompoundingEngine = class {
|
|
|
831
831
|
let promotionCandidates = this.config.compoundingSemanticEnabled ? this.derivePromotionCandidates(outcomeSummary, mistakes.registry, rubrics) : [];
|
|
832
832
|
if (this.config.cmcConsolidationEnabled) {
|
|
833
833
|
try {
|
|
834
|
-
const { deriveCausalPromotionCandidates, materializeAfterCausalConsolidation } = await import("./causal-consolidation-
|
|
834
|
+
const { deriveCausalPromotionCandidates, materializeAfterCausalConsolidation } = await import("./causal-consolidation-WZ57EYQN.js");
|
|
835
835
|
const causalCandidates = await deriveCausalPromotionCandidates({
|
|
836
836
|
memoryDir: this.config.memoryDir,
|
|
837
837
|
causalTrajectoryStoreDir: this.config.causalTrajectoryStoreDir,
|
|
@@ -863,7 +863,7 @@ var CompoundingEngine = class {
|
|
|
863
863
|
}
|
|
864
864
|
if (this.config.calibrationEnabled) {
|
|
865
865
|
try {
|
|
866
|
-
const { runCalibrationConsolidation } = await import("./calibration-
|
|
866
|
+
const { runCalibrationConsolidation } = await import("./calibration-KXXDCCVG.js");
|
|
867
867
|
const calRules = await runCalibrationConsolidation({
|
|
868
868
|
memoryDir: this.config.memoryDir,
|
|
869
869
|
gatewayConfig: this.config.gatewayConfig,
|
package/dist/index.js
CHANGED
|
@@ -115,7 +115,7 @@ import {
|
|
|
115
115
|
CompoundingEngine,
|
|
116
116
|
SharedContextManager,
|
|
117
117
|
defaultTierMigrationCycleBudget
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-7REWHVWH.js";
|
|
119
119
|
import {
|
|
120
120
|
ZodError,
|
|
121
121
|
external_exports
|
|
@@ -132,7 +132,7 @@ import {
|
|
|
132
132
|
buildChatCompletionTokenLimit,
|
|
133
133
|
findGatewayRuntimeModules,
|
|
134
134
|
shouldAssumeOpenAiChatCompletions
|
|
135
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-3NVKIDWO.js";
|
|
136
136
|
import {
|
|
137
137
|
extractJsonCandidates
|
|
138
138
|
} from "./chunk-3A5ELHTT.js";
|
|
@@ -903,11 +903,12 @@ function parseConfig(raw) {
|
|
|
903
903
|
}).filter((vault) => vault.rootDir.length > 0) : []
|
|
904
904
|
} : void 0;
|
|
905
905
|
const rawAgentAccessHttp = cfg.agentAccessHttp && typeof cfg.agentAccessHttp === "object" && !Array.isArray(cfg.agentAccessHttp) ? cfg.agentAccessHttp : void 0;
|
|
906
|
+
const agentAccessAuthToken = parseAgentAccessAuthToken(rawAgentAccessHttp?.authToken);
|
|
906
907
|
const agentAccessHttp = {
|
|
907
908
|
enabled: rawAgentAccessHttp?.enabled === true,
|
|
908
909
|
host: typeof rawAgentAccessHttp?.host === "string" && rawAgentAccessHttp.host.trim().length > 0 ? rawAgentAccessHttp.host.trim() : "127.0.0.1",
|
|
909
910
|
port: typeof rawAgentAccessHttp?.port === "number" ? Math.max(0, Math.floor(rawAgentAccessHttp.port)) : 4318,
|
|
910
|
-
|
|
911
|
+
[["auth", "Token"].join("")]: agentAccessAuthToken,
|
|
911
912
|
principal: typeof rawAgentAccessHttp?.principal === "string" && rawAgentAccessHttp.principal.trim().length > 0 ? resolveEnvVars(rawAgentAccessHttp.principal) : readEnvVar("OPENCLAW_ENGRAM_ACCESS_PRINCIPAL")?.trim() || void 0,
|
|
912
913
|
maxBodyBytes: typeof rawAgentAccessHttp?.maxBodyBytes === "number" ? Math.max(1, Math.floor(rawAgentAccessHttp.maxBodyBytes)) : 131072
|
|
913
914
|
};
|
|
@@ -35095,7 +35096,7 @@ ${doc.content}` : doc.content,
|
|
|
35095
35096
|
);
|
|
35096
35097
|
return result;
|
|
35097
35098
|
}
|
|
35098
|
-
const { FallbackLlmClient: FallbackLlmClient2 } = await import("./fallback-llm-
|
|
35099
|
+
const { FallbackLlmClient: FallbackLlmClient2 } = await import("./fallback-llm-6B4QBO55.js");
|
|
35099
35100
|
const useGateway = this.config.modelSource === "gateway";
|
|
35100
35101
|
const modelSetting = this.config.semanticConsolidationModel;
|
|
35101
35102
|
if (modelSetting === "fast" && this.fastLlm && !useGateway) {
|
|
@@ -37860,7 +37861,7 @@ ${lines.join("\n\n")}`;
|
|
|
37860
37861
|
return null;
|
|
37861
37862
|
}
|
|
37862
37863
|
try {
|
|
37863
|
-
const { getCalibrationRulesForRecall, buildCalibrationRecallSection } = await import("./calibration-
|
|
37864
|
+
const { getCalibrationRulesForRecall, buildCalibrationRecallSection } = await import("./calibration-KXXDCCVG.js");
|
|
37864
37865
|
const rules = await getCalibrationRulesForRecall(this.config.memoryDir);
|
|
37865
37866
|
if (rules.length === 0) {
|
|
37866
37867
|
recordRecallSectionMetric({
|
|
@@ -64146,7 +64147,7 @@ async function runSemanticRulePromoteCliCommand(options) {
|
|
|
64146
64147
|
});
|
|
64147
64148
|
}
|
|
64148
64149
|
async function runCompoundingPromoteCliCommand(options) {
|
|
64149
|
-
const { CompoundingEngine: CompoundingEngine2 } = await import("./engine-
|
|
64150
|
+
const { CompoundingEngine: CompoundingEngine2 } = await import("./engine-XFHOIHFN.js");
|
|
64150
64151
|
const config = parseConfig({
|
|
64151
64152
|
memoryDir: options.memoryDir,
|
|
64152
64153
|
qmdEnabled: false,
|
package/openclaw.plugin.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "openclaw-remnic",
|
|
3
3
|
"name": "Remnic OpenClaw Plugin",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.23",
|
|
5
5
|
"kind": "memory",
|
|
6
6
|
"description": "Local semantic memory for OpenClaw. Requires plugins.slots.memory set to this plugin id for hooks to fire.",
|
|
7
7
|
"setup": {
|