wontopos 2.2.19 → 2.2.20

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/README.md CHANGED
@@ -8,6 +8,10 @@ npm install wontopos
8
8
  import { Client } from "wontopos";
9
9
 
10
10
  const mem = new Client({ apiKey: "wos-..." });
11
+
12
+ // Each end-user / agent / topic gets its own store — create it once.
13
+ // (A `default` store already exists, so you can skip this and omit the id.)
14
+ await mem.createStore("alice");
11
15
  await mem.add("she prefers tea over coffee", "alice");
12
16
 
13
17
  // one call → short-term + long-term + context, ready for your LLM prompt
package/dist/wontopos.js CHANGED
@@ -37,7 +37,7 @@
37
37
  * runtime's (never disabled by this SDK; Node 18+ floors TLS at 1.2). Prefer
38
38
  * `Client.fromEnv()` over keys in source code.
39
39
  */
40
- const VERSION = "2.2.19";
40
+ const VERSION = "2.2.20";
41
41
  /** Runtime info helps support debug a report ("node 18 on Windows...") —
42
42
  * platform only, never anything identifying. Browsers have no `process` (and
43
43
  * silently drop the UA header anyway). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wontopos",
3
- "version": "2.2.19",
3
+ "version": "2.2.20",
4
4
  "description": "Wontopos — long-term memory for AI agents. Pure semantic retrieval, identical recall in every language, ~100× lower LLM bill.",
5
5
  "keywords": [
6
6
  "memory",