@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mobcode/openclaw-plugin",
3
- "version": "0.1.26",
3
+ "version": "0.1.27",
4
4
  "description": "MobCode integration plugin for OpenClaw",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -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,