@mobcode/openclaw-plugin 0.1.13 → 0.1.14
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-tools.js +1 -0
package/package.json
CHANGED
package/src/plugin-tools.js
CHANGED
|
@@ -183,6 +183,7 @@ export function registerMobcodeTools({ api, store }) {
|
|
|
183
183
|
if (!sessionKey) {
|
|
184
184
|
throw new Error("sessionKey is required for present_artifact.");
|
|
185
185
|
}
|
|
186
|
+
await store.init();
|
|
186
187
|
const document = normalizeArtifactDocument(args.artifact);
|
|
187
188
|
const saved = await store.upsertArtifact({
|
|
188
189
|
sessionKey,
|