wontopos 2.2.40 → 2.2.41

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
@@ -80,14 +80,14 @@ const hits = await mem.search("...the conversation so far...", "alice", 10,
80
80
 
81
81
  Built in, no configuration needed:
82
82
 
83
- - **Automatic retries** — 429 always, and 408 / 502 / 503 / 504 or a connection error
84
- only when a retry cannot double-process a write. The writes and the searches are
85
- POSTs, and any of those four may have been returned *after* the write already
86
- landed, so those get 429 and connect-level failures only. The reads and the
87
- deletes that address a whole store — `listStores`, `listSpeakers`, `deleteStore`,
88
- `removeSpeaker`, `forgetImage` — are GET or DELETE and do retry all four. Twice, with
89
- exponential backoff + jitter, honoring the server's `Retry-After`. Tune with
90
- `new Client({ maxRetries })`; `0` disables.
83
+ - **Automatic retries** — 429 and a 409 for a write already in flight always, and 408 /
84
+ 502 / 503 / 504 or a connection error only when a retry cannot double-process a write.
85
+ The writes and the searches are POSTs, and any of those four may have been returned
86
+ *after* the write already landed, so those get 429, that 409 and connect-level
87
+ failures only. The GET and DELETE calls — `ping`, `listStores`, `listSpeakers`,
88
+ `listModels`, `listEngrams`, `usage`, `deleteStore`, `removeSpeaker`, `forgetImage` —
89
+ retry all four. Twice, with exponential backoff + jitter, honoring the server's
90
+ `Retry-After` up to 30s. Tune with `new Client({ maxRetries })`; `0` disables.
91
91
  - **Redirects refused** — the API key never follows a 3xx to another host.
92
92
  - **Timeouts** — 30s per attempt by default (`timeoutMs`), and a total budget for
93
93
  the whole call across every retry with `deadlineMs` / `withDeadline(ms)`. At the
@@ -209,7 +209,7 @@ data to fix it.
209
209
  ## Changelog
210
210
 
211
211
  The three clients release in lockstep — same version, same surface, same day. Patch
212
- releases are additive. Six inside 2.2 were not, deliberately and each with its
212
+ releases are additive. Seven inside 2.2 were not, deliberately and each with its
213
213
  reason; the changelog lists them.
214
214
 
215
215
  See [CHANGELOG.md](https://github.com/wontopos/wontopos-node/blob/main/CHANGELOG.md).