@scotthuang/engram 0.2.8 → 0.2.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.
@@ -41,7 +41,7 @@
41
41
  "settleModel": {
42
42
  "type": "string",
43
43
  "description": "沉淀使用的 LLM 模型",
44
- "default": "volcengine-plan/ark-code-latest"
44
+ "default": "doubao-seed-2.0-code"
45
45
  },
46
46
  "embedding": {
47
47
  "type": "object",
@@ -68,6 +68,31 @@
68
68
  },
69
69
  "required": ["apiKey", "baseUrl"]
70
70
  },
71
+ "condense": {
72
+ "type": "object",
73
+ "description": "精简 LLM API 配置(字节 Coding Plan)",
74
+ "properties": {
75
+ "apiKey": {
76
+ "type": "string",
77
+ "description": "字节 API Key(ARK_API_KEY)"
78
+ },
79
+ "baseUrl": {
80
+ "type": "string",
81
+ "description": "字节 Coding Plan API URL",
82
+ "default": "https://ark.cn-beijing.volces.com/api/coding/v3"
83
+ },
84
+ "model": {
85
+ "type": "string",
86
+ "description": "精简使用的模型",
87
+ "default": "doubao-seed-2.0-code"
88
+ }
89
+ }
90
+ },
91
+ "saveStagingFile": {
92
+ "type": "boolean",
93
+ "description": "是否保存中间文件(staging)供调试",
94
+ "default": true
95
+ },
71
96
  "lancedbDir": {
72
97
  "type": "string",
73
98
  "description": "LanceDB 数据库目录(默认 workspace/memory/lancedb)"
@@ -80,6 +105,7 @@
80
105
  "recallTopK": { "label": "召回条数", "placeholder": "3" },
81
106
  "minScore": { "label": "最低分数", "placeholder": "0.4" },
82
107
  "vectorWeight": { "label": "向量权重", "placeholder": "0.7" },
83
- "textWeight": { "label": "BM25权重", "placeholder": "0.3" }
108
+ "textWeight": { "label": "BM25权重", "placeholder": "0.3" },
109
+ "saveStagingFile": { "label": "保存调试文件", "placeholder": "true" }
84
110
  }
85
111
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scotthuang/engram",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
4
4
  "description": "分层语义记忆系统 - OpenClaw Plugin",
5
5
  "type": "module",
6
6
  "openclaw": {