@t0ken.ai/memoryx-openclaw-plugin 2.0.0 → 2.0.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.
Files changed (2) hide show
  1. package/README.md +6 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -124,12 +124,14 @@ openclaw gateway restart
124
124
 
125
125
  ## How it Works
126
126
 
127
+ Powered by **@t0ken.ai/memoryx-sdk** with conversation preset.
128
+
127
129
  ### Recall (`before_agent_start`)
128
130
 
129
131
  - Builds a `/v1/memories/search` request using the current prompt
130
132
  - Injects relevant memories via `prependContext`:
131
133
  ```
132
- [相关记忆]
134
+ [Relevant Memories]
133
135
  - [preference] User prefers dark mode
134
136
  - [fact] User's timezone is UTC+8
135
137
  [End of memories]
@@ -137,10 +139,10 @@ openclaw gateway restart
137
139
 
138
140
  ### Add (`message_received` + `assistant_response`)
139
141
 
140
- - Buffers messages with precise token counting (tiktoken)
142
+ - Buffers messages with precise token counting
141
143
  - Flushes to `/v1/conversations/flush` when:
142
- - 2 conversation rounds completed (user + assistant = 1 round)
143
- - 30 minutes timeout
144
+ - 30k tokens reached
145
+ - 5 minutes idle timeout
144
146
  - Server extracts entities, facts, and preferences automatically
145
147
 
146
148
  ### Auto Registration
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@t0ken.ai/memoryx-openclaw-plugin",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "MemoryX real-time memory capture and recall plugin for OpenClaw (powered by @t0ken.ai/memoryx-sdk)",
5
5
  "type": "module",
6
6
  "author": "MemoryX Team",