wolbarg 0.5.2 → 0.5.3
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 +11 -0
- package/README.md +1 -1
- package/dist/index.cjs +10 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +10 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,17 @@ All notable changes to this project are documented here.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/).
|
|
7
7
|
|
|
8
|
+
## [0.5.3] — 2026-07-20
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- **Official framework adapters (`@1.0.0`)** — `@wolbarg/openai`, `@wolbarg/langchain`, `@wolbarg/llamaindex`, `@wolbarg/mastra` (alongside existing `@wolbarg/vercel-ai`)
|
|
13
|
+
- Docs + runnable examples under `examples/adapters/*` and [Integrations](https://wolbarg.com/docs/integrations)
|
|
14
|
+
|
|
15
|
+
### Compatibility
|
|
16
|
+
|
|
17
|
+
- Additive only. Core API unchanged from **0.5.2**. Adapter packages peer-depend on `wolbarg >= 0.5.3`.
|
|
18
|
+
|
|
8
19
|
## [0.5.2] — 2026-07-19
|
|
9
20
|
|
|
10
21
|
### Added
|
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ npm install wolbarg
|
|
|
17
17
|
|
|
18
18
|
Wolbarg is **memory infrastructure**, not an agent framework. Agents call `remember()` / `recall()` (and optionally ingest, compress, subscribe, and link memories in a graph). You bring SQLite or PostgreSQL, any OpenAI-compatible embedding API, and optional peers for PDF/DOCX/OCR/Neo4j.
|
|
19
19
|
|
|
20
|
-
**Current release: [v0.5.
|
|
20
|
+
**Current release: [v0.5.3](./CHANGELOG.md)** — official framework adapters (`@wolbarg/openai`, `@wolbarg/langchain`, `@wolbarg/llamaindex`, `@wolbarg/mastra`, `@wolbarg/vercel-ai`). Still includes experimental `rememberFromMessages()`, 0.5 graph memory (SQLite + Neo4j), `includeGraph` recall, and [Wolbarg Studio](https://wolbarg.com/docs/observability).
|
|
21
21
|
|
|
22
22
|
---
|
|
23
23
|
|
package/dist/index.cjs
CHANGED
|
@@ -1634,7 +1634,7 @@ var SQL = {
|
|
|
1634
1634
|
AND k = ?
|
|
1635
1635
|
`,
|
|
1636
1636
|
insertEmbeddingBlob: `
|
|
1637
|
-
INSERT INTO memory_embeddings_blob (memory_rowid, embedding) VALUES (?, ?)
|
|
1637
|
+
INSERT OR REPLACE INTO memory_embeddings_blob (memory_rowid, embedding) VALUES (?, ?)
|
|
1638
1638
|
`,
|
|
1639
1639
|
deleteEmbeddingBlob: `
|
|
1640
1640
|
DELETE FROM memory_embeddings_blob WHERE memory_rowid = ?
|
|
@@ -2590,6 +2590,13 @@ var SqliteStorageProvider = class _SqliteStorageProvider {
|
|
|
2590
2590
|
this.deleteEmbeddingsForScope(organization);
|
|
2591
2591
|
this.deleteFtsForScope(organization);
|
|
2592
2592
|
const result = stmts.deleteMemoriesByOrg.run(organization);
|
|
2593
|
+
try {
|
|
2594
|
+
this.requireDb().exec(`
|
|
2595
|
+
DELETE FROM memory_embeddings_blob
|
|
2596
|
+
WHERE memory_rowid NOT IN (SELECT rowid FROM memories)
|
|
2597
|
+
`);
|
|
2598
|
+
} catch {
|
|
2599
|
+
}
|
|
2593
2600
|
return Number(result.changes);
|
|
2594
2601
|
});
|
|
2595
2602
|
}
|
|
@@ -3104,7 +3111,7 @@ var SqliteStorageProvider = class _SqliteStorageProvider {
|
|
|
3104
3111
|
if (!stmt) {
|
|
3105
3112
|
const values = Array.from({ length: n }, () => "(?, ?)").join(", ");
|
|
3106
3113
|
stmt = this.requireDb().prepare(
|
|
3107
|
-
`INSERT INTO memory_embeddings_blob (memory_rowid, embedding) VALUES ${values}`
|
|
3114
|
+
`INSERT OR REPLACE INTO memory_embeddings_blob (memory_rowid, embedding) VALUES ${values}`
|
|
3108
3115
|
);
|
|
3109
3116
|
this.batchBlobEmbStatements.set(n, stmt);
|
|
3110
3117
|
}
|
|
@@ -5171,7 +5178,7 @@ function createDatabaseProvider(config) {
|
|
|
5171
5178
|
}
|
|
5172
5179
|
|
|
5173
5180
|
// src/version.ts
|
|
5174
|
-
var SDK_VERSION = "0.5.
|
|
5181
|
+
var SDK_VERSION = "0.5.3";
|
|
5175
5182
|
|
|
5176
5183
|
// src/memory/transfer.ts
|
|
5177
5184
|
var SqliteMemoryTransferProvider = class {
|