@mobcode/openclaw-plugin 0.1.26 → 0.1.27
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/package.json +1 -1
- package/src/plugin-definition.js +2 -0
package/package.json
CHANGED
package/src/plugin-definition.js
CHANGED
|
@@ -118,6 +118,7 @@ export function createMobcodePluginDefinition() {
|
|
|
118
118
|
rootDir: path.join(stateDir, "plugins", "mobcode"),
|
|
119
119
|
logger: log,
|
|
120
120
|
});
|
|
121
|
+
const storeReady = store.init();
|
|
121
122
|
|
|
122
123
|
log.warn(`[mobcode-debug] register loggerShape ${describeLoggerShape(api)}`);
|
|
123
124
|
|
|
@@ -190,6 +191,7 @@ export function createMobcodePluginDefinition() {
|
|
|
190
191
|
messageId ?? "-",
|
|
191
192
|
);
|
|
192
193
|
try {
|
|
194
|
+
await storeReady;
|
|
193
195
|
const appendResult = await store.appendMessage({
|
|
194
196
|
sessionKey: ctx?.sessionKey,
|
|
195
197
|
message: persistedMessage,
|