@theokit/sdk-memory 0.6.4 → 0.7.4

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 (39) hide show
  1. package/CHANGELOG.md +51 -0
  2. package/dist/index.cjs +142 -702
  3. package/dist/index.cjs.map +1 -1
  4. package/dist/index.d.cts +2 -2
  5. package/dist/index.d.ts +2 -2
  6. package/dist/index.d.ts.map +1 -1
  7. package/dist/index.js +17 -669
  8. package/dist/index.js.map +1 -1
  9. package/dist/internal/active-memory/active-memory.d.ts +4 -130
  10. package/dist/internal/active-memory/active-memory.d.ts.map +1 -1
  11. package/dist/internal/adapter-catalog.d.ts +2 -10
  12. package/dist/internal/adapter-catalog.d.ts.map +1 -1
  13. package/dist/internal/embedding/azure-openai-embedding.d.ts +1 -42
  14. package/dist/internal/embedding/azure-openai-embedding.d.ts.map +1 -1
  15. package/dist/internal/embedding/cohere-embedding.d.ts +1 -29
  16. package/dist/internal/embedding/cohere-embedding.d.ts.map +1 -1
  17. package/dist/internal/embedding/deepinfra-embedding.d.ts +1 -30
  18. package/dist/internal/embedding/deepinfra-embedding.d.ts.map +1 -1
  19. package/dist/internal/embedding/gemini-embedding.d.ts +1 -26
  20. package/dist/internal/embedding/gemini-embedding.d.ts.map +1 -1
  21. package/dist/internal/embedding/jina-embedding.d.ts +1 -21
  22. package/dist/internal/embedding/jina-embedding.d.ts.map +1 -1
  23. package/dist/internal/embedding/mistral-embedding.d.ts +1 -23
  24. package/dist/internal/embedding/mistral-embedding.d.ts.map +1 -1
  25. package/dist/internal/embedding/ollama-embedding.d.ts +1 -61
  26. package/dist/internal/embedding/ollama-embedding.d.ts.map +1 -1
  27. package/dist/internal/embedding/openai-embedding.d.ts +1 -33
  28. package/dist/internal/embedding/openai-embedding.d.ts.map +1 -1
  29. package/dist/internal/embedding/openrouter-embedding.d.ts +1 -29
  30. package/dist/internal/embedding/openrouter-embedding.d.ts.map +1 -1
  31. package/dist/internal/embedding/voyage-embedding.d.ts +1 -24
  32. package/dist/internal/embedding/voyage-embedding.d.ts.map +1 -1
  33. package/dist/internal/store/markdown-store.d.ts +1 -1
  34. package/dist/internal/store/markdown-store.d.ts.map +1 -1
  35. package/dist/internal/tools.d.ts +3 -81
  36. package/dist/internal/tools.d.ts.map +1 -1
  37. package/package.json +3 -3
  38. package/dist/internal/circuit-breaker.d.ts +0 -53
  39. package/dist/internal/circuit-breaker.d.ts.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,56 @@
1
1
  # Changelog — @theokit/sdk-memory
2
2
 
3
+ ## 0.7.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1474](https://github.com/usetheokit/theokit-sdk/pull/1474) [`69282a9`](https://github.com/usetheokit/theokit-sdk/commit/69282a9e4cb1e8e5869bbc1ce16ecb014dc80bde) Thanks [@aifactory-paulohenriquevn](https://github.com/apps/aifactory-paulohenriquevn)! - `@theokit/sdk-memory` now re-exports `runActiveMemory` and the `memory_search` / `memory_get` tool factories from `@theokit/sdk` instead of carrying copies, so a fix to one reaches users of the other. The SDK's recall and tool options now accept any index that has `search`.
8
+
9
+ ## 0.7.3
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies [[`f836198`](https://github.com/usetheokit/theokit-sdk/commit/f8361986f4366174486f903a8eea29abd1376cff)]:
14
+ - @theokit/sdk@9.0.0
15
+
16
+ ## 0.7.2
17
+
18
+ ### Patch Changes
19
+
20
+ - Updated dependencies [[`616082e`](https://github.com/usetheokit/theokit-sdk/commit/616082e1a6426e7c8fd6a02ab0a48ee117b88cc6), [`24110d0`](https://github.com/usetheokit/theokit-sdk/commit/24110d0406c4f0e595acac568d84ca1d281bc725), [`30fabe6`](https://github.com/usetheokit/theokit-sdk/commit/30fabe699a6efd189555ae77545256a2f0599ea7), [`30fabe6`](https://github.com/usetheokit/theokit-sdk/commit/30fabe699a6efd189555ae77545256a2f0599ea7)]:
21
+ - @theokit/sdk@8.0.0
22
+
23
+ ## 0.7.1
24
+
25
+ ### Patch Changes
26
+
27
+ - [#1412](https://github.com/usetheokit/theokit-sdk/pull/1412) [`3365e10`](https://github.com/usetheokit/theokit-sdk/commit/3365e10f1889a962111fb7956aed017ce5bc9a5e) Thanks [@aifactory-paulohenriquevn](https://github.com/apps/aifactory-paulohenriquevn)! - `@theokit/sdk/retry` now exports `CircuitBreaker` and `CircuitBreakerOptions`; `@theokit/sdk-memory` re-exports that class instead of shipping its own copy.
28
+
29
+ - [#1404](https://github.com/usetheokit/theokit-sdk/pull/1404) [`70eed5a`](https://github.com/usetheokit/theokit-sdk/commit/70eed5a1c78cfdc693e6fbd032834471efde4c38) Thanks [@aifactory-paulohenriquevn](https://github.com/apps/aifactory-paulohenriquevn)! - The ten embedding provider adapters now live only in `@theokit/sdk`; `@theokit/sdk-memory` re-exports them from `@theokit/sdk/internal/memory-adapters`, so an adapter fix no longer has to be applied twice.
30
+ - Updated dependencies [[`3365e10`](https://github.com/usetheokit/theokit-sdk/commit/3365e10f1889a962111fb7956aed017ce5bc9a5e), [`3467c6c`](https://github.com/usetheokit/theokit-sdk/commit/3467c6c4e200c79eb2d494f8e75bf6beb06b7984), [`273b354`](https://github.com/usetheokit/theokit-sdk/commit/273b354228b661473a2b7bb3e0eb87db0c6f8505), [`70eed5a`](https://github.com/usetheokit/theokit-sdk/commit/70eed5a1c78cfdc693e6fbd032834471efde4c38), [`9b7c142`](https://github.com/usetheokit/theokit-sdk/commit/9b7c142637e0944e7124851b47167b2835bbe899), [`2e0b1af`](https://github.com/usetheokit/theokit-sdk/commit/2e0b1afa300d46baa9f098a423f31e2908a0a59b), [`52ed77d`](https://github.com/usetheokit/theokit-sdk/commit/52ed77dee461a07c94535915659c76071850f79a), [`f327fe1`](https://github.com/usetheokit/theokit-sdk/commit/f327fe1b27f033765cfae46481d2c2a9ce6b0fcf), [`2f79474`](https://github.com/usetheokit/theokit-sdk/commit/2f79474d61f1e5198fcfed7fe03765be5e09752d), [`422629d`](https://github.com/usetheokit/theokit-sdk/commit/422629d43b7d261c4f8ae0ad02305af55091ee81), [`48205d6`](https://github.com/usetheokit/theokit-sdk/commit/48205d688a87831bf6c1f16be3f03a524a1cada3), [`20bbcdb`](https://github.com/usetheokit/theokit-sdk/commit/20bbcdb58b2f53153f484d7f0ad2f46dccb2bdb7), [`e476785`](https://github.com/usetheokit/theokit-sdk/commit/e47678530db226342f7097827f9315bbf317965b)]:
31
+ - @theokit/sdk@7.0.0
32
+
33
+ ## 0.7.0
34
+
35
+ ### Minor Changes
36
+
37
+ - [#1360](https://github.com/usetheokit/theokit-sdk/pull/1360) [`974277b`](https://github.com/usetheokit/theokit-sdk/commit/974277b6b781de2b390463a05221d26d4fcb6c3a) Thanks [@aifactory-paulohenriquevn](https://github.com/apps/aifactory-paulohenriquevn)! - Breaking: removed `resetMigrationStateForTests` from the root entry. It was a test helper; `migrateLegacyJson` and `MigrationResult` are still exported.
38
+
39
+ ### Patch Changes
40
+
41
+ - Updated dependencies [[`0312049`](https://github.com/usetheokit/theokit-sdk/commit/03120492204a1db8ac0d2b4779e10119264c9f13), [`cd71b80`](https://github.com/usetheokit/theokit-sdk/commit/cd71b80eba1c27c39490d38a12060929de02dad4), [`0970314`](https://github.com/usetheokit/theokit-sdk/commit/0970314edc9d11174c9759641b2c63fe35f0ab83), [`5fe79be`](https://github.com/usetheokit/theokit-sdk/commit/5fe79be6f3c0e28eabcfceed07092185eb721cd6), [`d2a7000`](https://github.com/usetheokit/theokit-sdk/commit/d2a70005daf4008ff830de82b7cd4863680cd11b), [`18b1e2d`](https://github.com/usetheokit/theokit-sdk/commit/18b1e2d4e8e6d41adc98e62efe395f26e4f1c90d), [`dc51bf2`](https://github.com/usetheokit/theokit-sdk/commit/dc51bf231ab50000eadf57f77453c4179a9abf0d), [`b32a3f5`](https://github.com/usetheokit/theokit-sdk/commit/b32a3f591a37bf53518ed84754f76e4834bc31b2), [`dc51bf2`](https://github.com/usetheokit/theokit-sdk/commit/dc51bf231ab50000eadf57f77453c4179a9abf0d), [`656181b`](https://github.com/usetheokit/theokit-sdk/commit/656181be34a3b6234a28330dd2a37a528616d809), [`96f9b46`](https://github.com/usetheokit/theokit-sdk/commit/96f9b46ea1c590046e3bea92b773b49bcaa2f448), [`96f9b46`](https://github.com/usetheokit/theokit-sdk/commit/96f9b46ea1c590046e3bea92b773b49bcaa2f448), [`d699f50`](https://github.com/usetheokit/theokit-sdk/commit/d699f504ebd2e7c6ba8a2d0a87efe360f59765f0), [`4a8c1d4`](https://github.com/usetheokit/theokit-sdk/commit/4a8c1d4c22c5a72f17e488466926a0d2126cb762), [`a613a6d`](https://github.com/usetheokit/theokit-sdk/commit/a613a6d68e4e7bd349665ca1dfc07127b081484f), [`c0a23b3`](https://github.com/usetheokit/theokit-sdk/commit/c0a23b37c261bc740a6b71619f6249548a7c6a46), [`378b855`](https://github.com/usetheokit/theokit-sdk/commit/378b85541c9f8cb51122d8aa59e064da3013aee8), [`bf5b17e`](https://github.com/usetheokit/theokit-sdk/commit/bf5b17e53be219cfb848fb53f9a0624332c7936b), [`974277b`](https://github.com/usetheokit/theokit-sdk/commit/974277b6b781de2b390463a05221d26d4fcb6c3a), [`88604c7`](https://github.com/usetheokit/theokit-sdk/commit/88604c71de235aa960e79a52428b474b1454411b), [`a85e847`](https://github.com/usetheokit/theokit-sdk/commit/a85e84774873f4b62c36f3f826c7836ba756cb65), [`a85e847`](https://github.com/usetheokit/theokit-sdk/commit/a85e84774873f4b62c36f3f826c7836ba756cb65), [`ef69798`](https://github.com/usetheokit/theokit-sdk/commit/ef69798bc4ab6d5632ff265074a8163a2c7c7fec), [`fa3e29c`](https://github.com/usetheokit/theokit-sdk/commit/fa3e29c6d2bbff097dbd484e1045e46b74644bb8), [`91edaec`](https://github.com/usetheokit/theokit-sdk/commit/91edaec0131a8af18570bbfc1b3e1ebf4d011c37), [`5d9ab84`](https://github.com/usetheokit/theokit-sdk/commit/5d9ab84e2fb90374e5ec03f8ff268610c45a7433), [`712e132`](https://github.com/usetheokit/theokit-sdk/commit/712e1327974dc2e8c1f9889e2b2f2aaa3c50319e), [`237b277`](https://github.com/usetheokit/theokit-sdk/commit/237b277377f90551e159d4b07aba2baab1398a66), [`272eea6`](https://github.com/usetheokit/theokit-sdk/commit/272eea648d7654f41ce916410d95ccbc5a97a6a6), [`ef69798`](https://github.com/usetheokit/theokit-sdk/commit/ef69798bc4ab6d5632ff265074a8163a2c7c7fec)]:
42
+ - @theokit/sdk@6.0.0
43
+
44
+ ## 0.6.5
45
+
46
+ ### Patch Changes
47
+
48
+ - [#1198](https://github.com/usetheokit/theokit-sdk/pull/1198) [`cd578d4`](https://github.com/usetheokit/theokit-sdk/commit/cd578d43d8f59382fa888a5e50c130ac73b1ecdc) Thanks [@aifactory-paulohenriquevn](https://github.com/apps/aifactory-paulohenriquevn)! - Add `listMemoryFacts`, `removeMemoryFact`, `StoredMemoryFact` and `MemoryFactNotRemovableError` for the built-in memory store. The public signatures take the public `MemorySettings` (mapped internally to the internal location config, which stays unexported). An id found in more than one root rejects with `MemoryFactAmbiguousError` and removes nothing. Entries outside the write root, such as the Claude Code CLI's store, are listed with `removable: false` and refuse removal.
49
+
50
+ `@theokit/sdk-memory` re-exports the two new internal store helpers (`listFactEntries`, `removeFactEntry`) to stay in step with the SDK store.
51
+
52
+ Removal also deletes the entry's rows from the sqlite search index (and the corpus sync now prunes rows of files that left the disk), so recall does not return a removed fact. A sync racing a removal in another process can briefly re-insert the rows; the next sync drops them. The built-in store feeds only the sqlite index, so a Lance index is not touched. Two identical legacy bullets in one root share an id; removal takes the first.
53
+
3
54
  ## 0.6.4
4
55
 
5
56
  ### Patch Changes