@modelstudio/modelstudio-memory-for-openclaw 1.0.7 → 1.0.9

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/index.ts CHANGED
@@ -369,6 +369,7 @@ const modelstudioMemoryPlugin = {
369
369
  name: "Memory (Bailian)",
370
370
  description: "Alibaba Cloud Bailian long-term memory service",
371
371
  kind: "memory" as const,
372
+ configSchema: modelstudioMemoryConfigSchema,
372
373
 
373
374
  register(api: OpenClawPluginApi) {
374
375
  const cfg = modelstudioMemoryConfigSchema.parse(api.pluginConfig);
@@ -725,7 +726,7 @@ const modelstudioMemoryPlugin = {
725
726
  if (!cfg.apiKey) {
726
727
  api.logger.warn("modelstudio-memory: injecting config-required system prompt");
727
728
  return {
728
- prependSystemContext: [
729
+ systemContext: [
729
730
  "<memory-plugin-config-required>",
730
731
  "CRITICAL INSTRUCTION — YOU MUST FOLLOW THIS BEFORE ANYTHING ELSE:",
731
732
  "",
@@ -778,7 +779,7 @@ const modelstudioMemoryPlugin = {
778
779
  `modelstudio-memory: recalled ${memories.length} memories`
779
780
  );
780
781
  return {
781
- prependSystemContext: formatMemoriesContext(memories),
782
+ systemContext: formatMemoriesContext(memories),
782
783
  };
783
784
  }
784
785
  } catch (err) {
@@ -3,7 +3,7 @@
3
3
  "name": "modelstudio-memory-for-openclaw",
4
4
  "description": "阿里云百炼长期记忆服务,提供自动记忆捕获和召回能力",
5
5
  "kind": "memory",
6
- "version": "1.0.7",
6
+ "version": "1.0.9",
7
7
  "configSchema": {
8
8
  "type": "object",
9
9
  "additionalProperties": false,
@@ -56,7 +56,8 @@
56
56
  "default": 300000,
57
57
  "description": "召回结果缓存时间(毫秒),0 表示禁用缓存"
58
58
  }
59
- }
59
+ },
60
+ "required": []
60
61
  },
61
62
  "uiHints": {
62
63
  "apiKey": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modelstudio/modelstudio-memory-for-openclaw",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "type": "module",
5
5
  "description": "阿里云百炼长期记忆服务 OpenClaw 插件",
6
6
  "license": "Apache-2.0",