wontopos 2.1.0 → 2.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.
@@ -9,9 +9,9 @@
9
9
  * const hits = await mem.search("what does alice drink?", "alice");
10
10
  *
11
11
  * The API key picks *which memory* (your account); `model` picks *which engine*
12
- * reads it — like Claude's `model`. All models share one memory, so you can store
12
+ * reads it. All models share one memory, so you can store
13
13
  * with one and recall with another. Set a default in the constructor, or override
14
- * a single call with `mem.withModel("scroll").recall(...)`.
14
+ * a single call with `mem.withModel("tablet-1").recall(...)`.
15
15
  *
16
16
  * Pure semantic retrieval — no keyword/BM25 matching, so it works the SAME in every
17
17
  * language. Storing and searching call no LLM; you only pay for embeddings.
@@ -67,7 +67,7 @@ export declare class Client {
67
67
  /**
68
68
  * A client that uses `model` (sent as `X-WOS-Model`). Use it to set the default
69
69
  * (`new Client({ apiKey, model })`) or to override one call
70
- * (`client.withModel("scroll").recall(...)`).
70
+ * (`client.withModel("tablet-1").recall(...)`).
71
71
  */
72
72
  withModel(model: string): Client;
73
73
  /** Store one memory. `metadata` optional (e.g. { event_date: "2026-03-01" }). */
package/dist/wontopos.js CHANGED
@@ -9,9 +9,9 @@
9
9
  * const hits = await mem.search("what does alice drink?", "alice");
10
10
  *
11
11
  * The API key picks *which memory* (your account); `model` picks *which engine*
12
- * reads it — like Claude's `model`. All models share one memory, so you can store
12
+ * reads it. All models share one memory, so you can store
13
13
  * with one and recall with another. Set a default in the constructor, or override
14
- * a single call with `mem.withModel("scroll").recall(...)`.
14
+ * a single call with `mem.withModel("tablet-1").recall(...)`.
15
15
  *
16
16
  * Pure semantic retrieval — no keyword/BM25 matching, so it works the SAME in every
17
17
  * language. Storing and searching call no LLM; you only pay for embeddings.
@@ -46,7 +46,7 @@ export class Client {
46
46
  /**
47
47
  * A client that uses `model` (sent as `X-WOS-Model`). Use it to set the default
48
48
  * (`new Client({ apiKey, model })`) or to override one call
49
- * (`client.withModel("scroll").recall(...)`).
49
+ * (`client.withModel("tablet-1").recall(...)`).
50
50
  */
51
51
  withModel(model) {
52
52
  return new Client({ apiKey: this.apiKey, baseUrl: this.base, timeoutMs: this.timeoutMs, model });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wontopos",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
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",