@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
|
@@ -11,9 +11,15 @@ var NOOP_LOGGER = {
|
|
|
11
11
|
};
|
|
12
12
|
var _backend = NOOP_LOGGER;
|
|
13
13
|
var _debug = false;
|
|
14
|
+
var CONSOLE_LOGGER = {
|
|
15
|
+
info: console.info.bind(console),
|
|
16
|
+
warn: console.warn.bind(console),
|
|
17
|
+
error: console.error.bind(console),
|
|
18
|
+
debug: console.debug.bind(console)
|
|
19
|
+
};
|
|
14
20
|
function initLogger(backend, debug) {
|
|
15
|
-
_backend = backend;
|
|
16
|
-
_debug = debug;
|
|
21
|
+
_backend = backend ?? CONSOLE_LOGGER;
|
|
22
|
+
_debug = debug ?? false;
|
|
17
23
|
}
|
|
18
24
|
var log = {
|
|
19
25
|
info(msg, ...args) {
|
|
@@ -228,7 +228,7 @@ var GraphIndex = class _GraphIndex {
|
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
230
|
} catch (err) {
|
|
231
|
-
const { log } = await import("./logger-
|
|
231
|
+
const { log } = await import("./logger-TNOKCH7X.js");
|
|
232
232
|
log.warn(`[graph] onMemoryWritten error: ${err}`);
|
|
233
233
|
} finally {
|
|
234
234
|
this.edgeCache = null;
|
|
@@ -309,7 +309,7 @@ var GraphIndex = class _GraphIndex {
|
|
|
309
309
|
graphType: provenance.get(p)?.graphType ?? "entity"
|
|
310
310
|
})).sort((a, b) => b.score - a.score);
|
|
311
311
|
} catch (err) {
|
|
312
|
-
const { log } = await import("./logger-
|
|
312
|
+
const { log } = await import("./logger-TNOKCH7X.js");
|
|
313
313
|
log.warn(`[graph] spreadingActivation error: ${err}`);
|
|
314
314
|
return [];
|
|
315
315
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CompoundingEngine,
|
|
3
3
|
defaultTierMigrationCycleBudget
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-J7VGZNH4.js";
|
|
5
|
+
import "./chunk-5VTGFKKU.js";
|
|
6
|
+
import "./chunk-UFU5GGGA.js";
|
|
7
7
|
import "./chunk-MLKGABMK.js";
|
|
8
8
|
export {
|
|
9
9
|
CompoundingEngine,
|