@theokit/sdk-memory 0.3.0 → 0.3.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.
- package/CHANGELOG.md +20 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/internal/embedding/embedding-adapter.d.ts +1 -1
- package/dist/internal/embedding/mistral-embedding.d.ts +1 -1
- package/dist/internal/index/memory-index.d.ts +1 -1
- package/dist/internal/memory-types.d.ts +1 -1
- package/dist/internal/tools.d.ts +1 -1
- package/package.json +2 -2
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Memory embedding provider adapter contract (ADR D3 of memory-system-peer-project-parity).
|
|
3
3
|
*
|
|
4
4
|
* Mirrors peer-project's `MemoryEmbeddingProviderAdapter` from
|
|
5
|
-
* `
|
|
5
|
+
* `reference/peer-project/extensions/openai/memory-embedding-adapter.ts` so
|
|
6
6
|
* adding a new provider becomes one new file under `adapters/`.
|
|
7
7
|
*
|
|
8
8
|
* @internal
|
|
@@ -4,7 +4,7 @@ import type { MemoryEmbeddingProviderAdapter } from "./embedding-adapter.js";
|
|
|
4
4
|
* (`POST /v1/embeddings` against `https://api.mistral.ai`). Default model
|
|
5
5
|
* `mistral-embed` (1024 dims).
|
|
6
6
|
*
|
|
7
|
-
* Mirrors `
|
|
7
|
+
* Mirrors `reference/peer-project/extensions/mistral/memory-embedding-adapter.ts`.
|
|
8
8
|
*
|
|
9
9
|
* Iter 74 (Stage 3 source-move #32): hybrid copy from sdk-core's
|
|
10
10
|
* `internal/memory/adapters/mistral-embedding.ts`.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* `close()` — the union of those four methods is the portable surface.
|
|
9
9
|
*
|
|
10
10
|
* Why a separate file (vs declaring inline in `index-manager.ts`)? D43
|
|
11
|
-
* promised "
|
|
11
|
+
* promised "extract an abstract `MemoryIndex` interface in
|
|
12
12
|
* `internal/memory/index-interface.ts`". Keeping the contract physically
|
|
13
13
|
* separated from one of its implementations preserves OCP — future
|
|
14
14
|
* backends (Qdrant, PGVector) can land without touching IndexManager.
|
|
@@ -41,7 +41,7 @@ export declare function legacyMemoryJsonPath(cwd: string, config: MemoryConfig):
|
|
|
41
41
|
* used downstream by the embedding cache.
|
|
42
42
|
*
|
|
43
43
|
* Mirrors peer-project's `MemoryChunk` shape
|
|
44
|
-
* (`
|
|
44
|
+
* (`reference/peer-project/packages/memory-host-sdk/src/host/engine-storage.ts`).
|
|
45
45
|
*
|
|
46
46
|
* @internal
|
|
47
47
|
*/
|
package/dist/internal/tools.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { MemoryIndex } from "./index/memory-index.js";
|
|
|
2
2
|
/**
|
|
3
3
|
* Memory tools (`memory_search` + `memory_get`) — ADR D5 of
|
|
4
4
|
* memory-system-peer-project-parity. Tool schemas mirror peer-project
|
|
5
|
-
* (`
|
|
5
|
+
* (`reference/peer-project/extensions/memory-core/src/tools.ts:228-475`).
|
|
6
6
|
*
|
|
7
7
|
* Each tool is exposed as a `MemoryTool` (name + description + JSON schema +
|
|
8
8
|
* async execute). The agent-loop integration wires them via the existing
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theokit/sdk-memory",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Memory subsystem for @theokit/sdk — MemoryProvider impls (markdown file store today; LanceDB + embeddings + circuit breaker next iters). Consumes the kernel-facing port from sdk-core.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://github.com/usetheodev/theokit-sdk#readme",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@types/better-sqlite3": "^7.6.13",
|
|
62
62
|
"better-sqlite3": "^12.10.0",
|
|
63
63
|
"sqlite-vec": "^0.1.6",
|
|
64
|
-
"@theokit/sdk": "4.
|
|
64
|
+
"@theokit/sdk": "4.43.0"
|
|
65
65
|
},
|
|
66
66
|
"publishConfig": {
|
|
67
67
|
"access": "public"
|