@signetai/signet-memory-openclaw 0.185.5 → 0.185.7
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 +21 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11020,6 +11020,22 @@ function up117(db) {
|
|
|
11020
11020
|
ON session_transcripts(agent_id, content_hash);
|
|
11021
11021
|
`);
|
|
11022
11022
|
}
|
|
11023
|
+
function up118(db) {
|
|
11024
|
+
db.exec(`
|
|
11025
|
+
CREATE INDEX IF NOT EXISTS idx_memory_jobs_pressure_status
|
|
11026
|
+
ON memory_jobs(status)
|
|
11027
|
+
WHERE status IN ('pending', 'leased') AND job_type <> 'extract';
|
|
11028
|
+
CREATE INDEX IF NOT EXISTS idx_memory_jobs_pressure_created_at
|
|
11029
|
+
ON memory_jobs(created_at)
|
|
11030
|
+
WHERE status IN ('pending', 'leased') AND job_type <> 'extract';
|
|
11031
|
+
CREATE INDEX IF NOT EXISTS idx_summary_jobs_pressure_status
|
|
11032
|
+
ON summary_jobs(status)
|
|
11033
|
+
WHERE status IN ('pending', 'leased');
|
|
11034
|
+
CREATE INDEX IF NOT EXISTS idx_summary_jobs_pressure_created_at
|
|
11035
|
+
ON summary_jobs(created_at)
|
|
11036
|
+
WHERE status IN ('pending', 'leased');
|
|
11037
|
+
`);
|
|
11038
|
+
}
|
|
11023
11039
|
var MIGRATIONS = [
|
|
11024
11040
|
{
|
|
11025
11041
|
version: 1,
|
|
@@ -11970,6 +11986,11 @@ var MIGRATIONS = [
|
|
|
11970
11986
|
{ table: "session_transcripts", column: "content_hash" }
|
|
11971
11987
|
]
|
|
11972
11988
|
}
|
|
11989
|
+
},
|
|
11990
|
+
{
|
|
11991
|
+
version: 118,
|
|
11992
|
+
name: "queue-pressure-indices",
|
|
11993
|
+
up: up118
|
|
11973
11994
|
}
|
|
11974
11995
|
];
|
|
11975
11996
|
var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
|