@theokit/sdk-cache 1.0.0 → 1.0.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 1a4bbcf: Raises the `@theokit/sdk` peer floor from `>=4.0.0` to `>=4.54.0`, which is what this package
8
+ actually needs.
9
+
10
+ It reads `PostAssistantReplyContext.usedTools` to avoid replaying an answer that came from a tool
11
+ call, and that property first shipped in 4.54.0. The declared range therefore promised compatibility
12
+ with versions where installing it produces a build that fails:
13
+
14
+ ```
15
+ src/cache.ts(239,26): error TS2339: Property 'usedTools' does not exist on
16
+ type 'PostAssistantReplyContext'.
17
+ ```
18
+
19
+ Found by the CI leg that installs each package at the bottom of its own declared range and builds it
20
+ — not by any test in the repository. The existing floor test checks the MAJOR only, so `>=4.0.0`
21
+ satisfied it while being wrong. That limitation is now recorded there, along with this floor pinned
22
+ so it cannot silently drop back.
23
+
3
24
  ## 1.0.0
4
25
 
5
26
  ### Major Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theokit/sdk-cache",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Semantic LLM response cache for @theokit/sdk — vector + FTS hybrid lookup, in-memory + JSON file stores, plugin integration.",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/usetheokit/theokit-sdk#readme",
@@ -39,7 +39,7 @@
39
39
  ],
40
40
  "peerDependencies": {
41
41
  "@opentelemetry/api": "^1.9.0",
42
- "@theokit/sdk": ">=4.0.0",
42
+ "@theokit/sdk": ">=4.54.0",
43
43
  "zod": "^4.0.0"
44
44
  },
45
45
  "peerDependenciesMeta": {
@@ -53,7 +53,7 @@
53
53
  "typescript": "^5.7.2",
54
54
  "vitest": "^4.1.8",
55
55
  "zod": "^4.0.0",
56
- "@theokit/sdk": "4.54.0"
56
+ "@theokit/sdk": "4.59.0"
57
57
  },
58
58
  "publishConfig": {
59
59
  "provenance": true,