@signetai/signet-memory-openclaw 0.192.1 → 0.192.2
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 +30 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11111,6 +11111,30 @@ function up122(db) {
|
|
|
11111
11111
|
}
|
|
11112
11112
|
db.exec("CREATE INDEX IF NOT EXISTS idx_dreaming_evidence_exclusions_retry ON dreaming_evidence_exclusions (resolved_at, requeue_requested_at, failure_class, retry_count, last_requeued_at)");
|
|
11113
11113
|
}
|
|
11114
|
+
function up123(db) {
|
|
11115
|
+
db.exec(`
|
|
11116
|
+
CREATE TABLE IF NOT EXISTS embedding_index_failures (
|
|
11117
|
+
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
11118
|
+
content_hash TEXT NOT NULL,
|
|
11119
|
+
source_type TEXT NOT NULL,
|
|
11120
|
+
source_id TEXT NOT NULL,
|
|
11121
|
+
agent_id TEXT,
|
|
11122
|
+
target_fingerprint TEXT NOT NULL,
|
|
11123
|
+
provider TEXT NOT NULL,
|
|
11124
|
+
model TEXT NOT NULL,
|
|
11125
|
+
failure_class TEXT NOT NULL CHECK (failure_class IN ('context_limit', 'invalid_input')),
|
|
11126
|
+
attempts INTEGER NOT NULL DEFAULT 1,
|
|
11127
|
+
retry_policy TEXT NOT NULL DEFAULT 'quarantined',
|
|
11128
|
+
first_failed_at TEXT NOT NULL,
|
|
11129
|
+
last_failed_at TEXT NOT NULL,
|
|
11130
|
+
UNIQUE(content_hash, target_fingerprint)
|
|
11131
|
+
);
|
|
11132
|
+
CREATE INDEX IF NOT EXISTS idx_embedding_index_failures_target
|
|
11133
|
+
ON embedding_index_failures(target_fingerprint, failure_class, last_failed_at);
|
|
11134
|
+
CREATE INDEX IF NOT EXISTS idx_embedding_index_failures_source
|
|
11135
|
+
ON embedding_index_failures(source_type, source_id);
|
|
11136
|
+
`);
|
|
11137
|
+
}
|
|
11114
11138
|
var MIGRATIONS = [
|
|
11115
11139
|
{
|
|
11116
11140
|
version: 1,
|
|
@@ -12105,6 +12129,12 @@ var MIGRATIONS = [
|
|
|
12105
12129
|
{ table: "dreaming_evidence_exclusions", column: "last_requeued_at" }
|
|
12106
12130
|
]
|
|
12107
12131
|
}
|
|
12132
|
+
},
|
|
12133
|
+
{
|
|
12134
|
+
version: 123,
|
|
12135
|
+
name: "embedding-index-failures",
|
|
12136
|
+
up: up123,
|
|
12137
|
+
artifacts: { tables: ["embedding_index_failures"] }
|
|
12108
12138
|
}
|
|
12109
12139
|
];
|
|
12110
12140
|
var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
|