agentdb 1.5.3 → 1.5.5
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/dist/agentdb.min.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! AgentDB Browser Bundle v1.5.
|
|
1
|
+
/*! AgentDB Browser Bundle v1.5.4 | MIT License | https://agentdb.ruv.io */
|
|
2
2
|
/*! Backward compatible with v1.0.7 API | Uses sql.js WASM SQLite */
|
|
3
3
|
|
|
4
4
|
// We are modularizing this manually because the current modularize setting in Emscripten has some issues:
|
|
@@ -193,7 +193,7 @@ else if (typeof exports === 'object'){
|
|
|
193
193
|
;(function(global) {
|
|
194
194
|
'use strict';
|
|
195
195
|
|
|
196
|
-
// AgentDB v1.5.
|
|
196
|
+
// AgentDB v1.5.4 - v1.0.7 Compatible Browser Bundle
|
|
197
197
|
|
|
198
198
|
var sqlReady = false;
|
|
199
199
|
var SQL = null;
|
|
@@ -539,7 +539,7 @@ else if (typeof exports === 'object'){
|
|
|
539
539
|
|
|
540
540
|
// Create AgentDB namespace with all exports
|
|
541
541
|
var AgentDB = {
|
|
542
|
-
version: '1.5.
|
|
542
|
+
version: '1.5.4',
|
|
543
543
|
Database: Database,
|
|
544
544
|
ready: false,
|
|
545
545
|
|
|
@@ -577,6 +577,6 @@ else if (typeof exports === 'object'){
|
|
|
577
577
|
global.SQLiteVectorDB = Database;
|
|
578
578
|
}
|
|
579
579
|
|
|
580
|
-
console.log('AgentDB v1.5.
|
|
580
|
+
console.log('AgentDB v1.5.4 loaded (v1.0.7 API compatible)');
|
|
581
581
|
|
|
582
582
|
})(typeof window !== 'undefined' ? window : this);
|
|
@@ -339,3 +339,24 @@ WHERE e1.id != e2.id AND e2.id != e3.id AND e1.id != e3.id
|
|
|
339
339
|
-- Features: Causal Memory Graph, Explainable Recall Certificates
|
|
340
340
|
-- Compatible with: AgentDB 1.x
|
|
341
341
|
-- ============================================================================
|
|
342
|
+
|
|
343
|
+
-- ============================================================================
|
|
344
|
+
-- FEATURE 3: Reinforcement Learning Experiences
|
|
345
|
+
-- ============================================================================
|
|
346
|
+
|
|
347
|
+
-- Learning experiences for RL training
|
|
348
|
+
CREATE TABLE IF NOT EXISTS learning_experiences (
|
|
349
|
+
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
350
|
+
session_id TEXT NOT NULL,
|
|
351
|
+
state TEXT NOT NULL,
|
|
352
|
+
action TEXT NOT NULL,
|
|
353
|
+
reward REAL NOT NULL,
|
|
354
|
+
next_state TEXT,
|
|
355
|
+
success INTEGER NOT NULL DEFAULT 0,
|
|
356
|
+
timestamp INTEGER NOT NULL DEFAULT (strftime('%s', 'now')),
|
|
357
|
+
metadata JSON
|
|
358
|
+
);
|
|
359
|
+
|
|
360
|
+
CREATE INDEX IF NOT EXISTS idx_learning_experiences_session ON learning_experiences(session_id);
|
|
361
|
+
CREATE INDEX IF NOT EXISTS idx_learning_experiences_timestamp ON learning_experiences(timestamp DESC);
|
|
362
|
+
CREATE INDEX IF NOT EXISTS idx_learning_experiences_reward ON learning_experiences(reward DESC);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentdb",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.5",
|
|
4
4
|
"description": "AgentDB - Frontier Memory Features with MCP Integration: Causal reasoning, reflexion memory, skill library, and automated learning. 150x faster vector search. Full Claude Desktop support via Model Context Protocol.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -339,3 +339,24 @@ WHERE e1.id != e2.id AND e2.id != e3.id AND e1.id != e3.id
|
|
|
339
339
|
-- Features: Causal Memory Graph, Explainable Recall Certificates
|
|
340
340
|
-- Compatible with: AgentDB 1.x
|
|
341
341
|
-- ============================================================================
|
|
342
|
+
|
|
343
|
+
-- ============================================================================
|
|
344
|
+
-- FEATURE 3: Reinforcement Learning Experiences
|
|
345
|
+
-- ============================================================================
|
|
346
|
+
|
|
347
|
+
-- Learning experiences for RL training
|
|
348
|
+
CREATE TABLE IF NOT EXISTS learning_experiences (
|
|
349
|
+
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
350
|
+
session_id TEXT NOT NULL,
|
|
351
|
+
state TEXT NOT NULL,
|
|
352
|
+
action TEXT NOT NULL,
|
|
353
|
+
reward REAL NOT NULL,
|
|
354
|
+
next_state TEXT,
|
|
355
|
+
success INTEGER NOT NULL DEFAULT 0,
|
|
356
|
+
timestamp INTEGER NOT NULL DEFAULT (strftime('%s', 'now')),
|
|
357
|
+
metadata JSON
|
|
358
|
+
);
|
|
359
|
+
|
|
360
|
+
CREATE INDEX IF NOT EXISTS idx_learning_experiences_session ON learning_experiences(session_id);
|
|
361
|
+
CREATE INDEX IF NOT EXISTS idx_learning_experiences_timestamp ON learning_experiences(timestamp DESC);
|
|
362
|
+
CREATE INDEX IF NOT EXISTS idx_learning_experiences_reward ON learning_experiences(reward DESC);
|