@signetai/signet-memory-openclaw 0.226.18 → 0.226.20
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/index.js +28 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -16160,6 +16160,12 @@ function up157(db) {
|
|
|
16160
16160
|
);
|
|
16161
16161
|
`);
|
|
16162
16162
|
}
|
|
16163
|
+
function up158(db) {
|
|
16164
|
+
db.exec(`
|
|
16165
|
+
CREATE INDEX IF NOT EXISTS idx_memories_agent_kind
|
|
16166
|
+
ON memories(agent_id, memory_kind);
|
|
16167
|
+
`);
|
|
16168
|
+
}
|
|
16163
16169
|
var MIGRATIONS = [
|
|
16164
16170
|
{
|
|
16165
16171
|
version: 1,
|
|
@@ -17440,6 +17446,12 @@ var MIGRATIONS = [
|
|
|
17440
17446
|
tables: ["embedding_repair_progress"],
|
|
17441
17447
|
columns: [{ table: "embedding_repair_checkpoints", column: "profile_fingerprint" }]
|
|
17442
17448
|
}
|
|
17449
|
+
},
|
|
17450
|
+
{
|
|
17451
|
+
version: 158,
|
|
17452
|
+
name: "dreaming-candidate-scan-index",
|
|
17453
|
+
up: up158,
|
|
17454
|
+
artifacts: { indexes: ["idx_memories_agent_kind"] }
|
|
17443
17455
|
}
|
|
17444
17456
|
];
|
|
17445
17457
|
var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
|
|
@@ -28489,7 +28501,7 @@ var DAEMON_DERIVED_MEMORY_SOURCE_TYPES2 = [
|
|
|
28489
28501
|
"checkpoint",
|
|
28490
28502
|
"dreaming"
|
|
28491
28503
|
];
|
|
28492
|
-
function
|
|
28504
|
+
function up159(db) {
|
|
28493
28505
|
const hasColumn26 = (table, column) => {
|
|
28494
28506
|
const statement = db.prepare(`SELECT 1 FROM pragma_table_info('${table}') WHERE name = ?`);
|
|
28495
28507
|
try {
|
|
@@ -29139,7 +29151,7 @@ function up1410(db) {
|
|
|
29139
29151
|
)
|
|
29140
29152
|
`);
|
|
29141
29153
|
}
|
|
29142
|
-
function
|
|
29154
|
+
function up1510(db) {
|
|
29143
29155
|
db.exec(`
|
|
29144
29156
|
CREATE TABLE IF NOT EXISTS session_scores (
|
|
29145
29157
|
id TEXT PRIMARY KEY,
|
|
@@ -33797,6 +33809,12 @@ function up1572(db) {
|
|
|
33797
33809
|
);
|
|
33798
33810
|
`);
|
|
33799
33811
|
}
|
|
33812
|
+
function up1582(db) {
|
|
33813
|
+
db.exec(`
|
|
33814
|
+
CREATE INDEX IF NOT EXISTS idx_memories_agent_kind
|
|
33815
|
+
ON memories(agent_id, memory_kind);
|
|
33816
|
+
`);
|
|
33817
|
+
}
|
|
33800
33818
|
var MIGRATIONS2 = [
|
|
33801
33819
|
{
|
|
33802
33820
|
version: 1,
|
|
@@ -33867,7 +33885,7 @@ var MIGRATIONS2 = [
|
|
|
33867
33885
|
{
|
|
33868
33886
|
version: 11,
|
|
33869
33887
|
name: "session-scores",
|
|
33870
|
-
up:
|
|
33888
|
+
up: up1510,
|
|
33871
33889
|
artifacts: { tables: ["session_scores"] }
|
|
33872
33890
|
},
|
|
33873
33891
|
{
|
|
@@ -35004,7 +35022,7 @@ var MIGRATIONS2 = [
|
|
|
35004
35022
|
{
|
|
35005
35023
|
version: 151,
|
|
35006
35024
|
name: "transcript-import-bytes",
|
|
35007
|
-
up:
|
|
35025
|
+
up: up159,
|
|
35008
35026
|
artifacts: {
|
|
35009
35027
|
tables: [
|
|
35010
35028
|
"source_import_chunks",
|
|
@@ -35077,6 +35095,12 @@ var MIGRATIONS2 = [
|
|
|
35077
35095
|
tables: ["embedding_repair_progress"],
|
|
35078
35096
|
columns: [{ table: "embedding_repair_checkpoints", column: "profile_fingerprint" }]
|
|
35079
35097
|
}
|
|
35098
|
+
},
|
|
35099
|
+
{
|
|
35100
|
+
version: 158,
|
|
35101
|
+
name: "dreaming-candidate-scan-index",
|
|
35102
|
+
up: up1582,
|
|
35103
|
+
artifacts: { indexes: ["idx_memories_agent_kind"] }
|
|
35080
35104
|
}
|
|
35081
35105
|
];
|
|
35082
35106
|
var LATEST_SCHEMA_VERSION2 = MIGRATIONS2[MIGRATIONS2.length - 1]?.version ?? 0;
|