@lore-co/sdk 0.2.22 → 0.2.23

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 +3 -0
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -105,6 +105,9 @@ If you already have a Lore event UUID (for example `learning.source.eventId`), u
105
105
  the complete response body. Responses are limited to 8 MiB of received
106
106
  (decompressed) bytes, including error responses. Override with `timeoutMs`
107
107
  and `maxResponseBytes` on `LoreClient`; both must be positive integers.
108
+ `prepareApproach` instead defaults to `PREPARE_APPROACH_TIMEOUT_MS`
109
+ (5.5 minutes), not the client timeout, so a slow reasoning draft can finish;
110
+ pass `timeoutMs` on the call to bound it more tightly.
108
111
  - Handle `LoreTransportError` codes `timeout` and `response_too_large` separately
109
112
  from API errors. Requests are aborted and response streams cancelled at the
110
113
  limit. The SDK does not automatically retry writes; reuse an idempotency key
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lore-co/sdk",
3
- "version": "0.2.22",
3
+ "version": "0.2.23",
4
4
  "description": "Typed HTTP client for Lore engineering memory",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -35,7 +35,7 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "zod": "^4.4.3",
38
- "@lore-co/core": "0.2.22"
38
+ "@lore-co/core": "0.2.23"
39
39
  },
40
40
  "scripts": {
41
41
  "dev": "tsc -p tsconfig.json --watch --preserveWatchOutput",