@augmem/cortext-openclaw-plugin 0.1.0 → 0.1.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.
package/dist/cortext.js CHANGED
@@ -18,9 +18,11 @@ export class CortextEngine {
18
18
  if (!trimmed)
19
19
  return null;
20
20
  try {
21
- const ctx = this.engine.processText(trimmed, sourceId, { retention: "durable" });
22
- this.engine.flush(); // commit so subsequent recalls see it (no cross-turn cache)
23
- return ctx;
21
+ // Durable processText commits on its own: the write is immediately
22
+ // visible to recall, even from a fresh handle on the same DB (verified
23
+ // empirically against @augmem/cortext 1.2.0). No per-message flush;
24
+ // flush() remains only at deliberate checkpoints (compact/evict/dispose).
25
+ return this.engine.processText(trimmed, sourceId, { retention: "durable" });
24
26
  }
25
27
  catch {
26
28
  return null;
package/dist/engine.js CHANGED
@@ -45,7 +45,7 @@ export class CortextContextEngine {
45
45
  info = {
46
46
  id: "cortext",
47
47
  name: "Cortext Memory",
48
- version: "0.1.0",
48
+ version: "0.1.1",
49
49
  ownsCompaction: false,
50
50
  };
51
51
  constructor(store, bus, logger, autoConsolidate, recallLimit) {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "cortext",
3
3
  "name": "Cortext Memory",
4
- "version": "0.1.0",
4
+ "version": "0.1.1",
5
5
  "description": "Durable local memory for OpenClaw. Per-conversation-isolated context engine with an interrupt gate over streaming reasoning.",
6
6
  "kind": "context-engine",
7
7
  "configSchema": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@augmem/cortext-openclaw-plugin",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Cortext memory for OpenClaw: a per-conversation-isolated context engine plus an interrupt gate over streaming reasoning.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",