@riconext/hermes-repo 1.1.1 → 1.2.1

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.
@@ -86,10 +86,20 @@ npx @riconext/hermes-repo flush
86
86
  "baseUrl": "https://api.openai.com/v1",
87
87
  "model": "gpt-4o",
88
88
  "apiKey": "sk-..."
89
+ },
90
+ "consolidate": {
91
+ "autoFlush": {
92
+ "enabled": false,
93
+ "minPendingSessions": 3,
94
+ "minIntervalMinutes": 30,
95
+ "maxPendingChars": 20000
96
+ }
89
97
  }
90
98
  }
91
99
  ```
92
100
 
101
+ `autoFlush.enabled` 设为 `true` 后,capture 成功写入时会按阈值后台触发 `hermes flush`。
102
+
93
103
  ## 常用命令
94
104
 
95
105
  | 命令 | 用途 |
@@ -1 +1 @@
1
- {"version": 2, "storage": {"backend": "file"}, "assistants": ["claude-code"], "debug": false, "llm": {"enabled": false, "provider": "openai", "baseUrl": "https://api.openai.com/v1", "model": "gpt-4o", "apiKey": "", "timeoutMs": 60000, "maxInputChars": 24000, "mode": "async"}, "consolidate": {"autoArchiveDays": 30}}
1
+ {"version": 2, "storage": {"backend": "file"}, "assistants": ["claude-code"], "debug": false, "llm": {"enabled": false, "provider": "openai", "baseUrl": "https://api.openai.com/v1", "model": "gpt-4o", "apiKey": "", "timeoutMs": 60000, "maxInputChars": 24000, "mode": "async"}, "consolidate": {"autoArchiveDays": 30, "autoFlush": {"enabled": false, "minPendingSessions": 3, "minIntervalMinutes": 30, "maxPendingChars": 20000}}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riconext/hermes-repo",
3
- "version": "1.1.1",
3
+ "version": "1.2.1",
4
4
  "description": "跨编程助手的项目级记忆系统",
5
5
  "packageManager": "bun@1.3.12",
6
6
  "type": "module",