@signetai/signet-memory-openclaw 0.190.0 → 0.191.0
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
|
@@ -11094,6 +11094,23 @@ function up121(db) {
|
|
|
11094
11094
|
VALUES (1, CURRENT_TIMESTAMP);
|
|
11095
11095
|
`);
|
|
11096
11096
|
}
|
|
11097
|
+
function up122(db) {
|
|
11098
|
+
const columns = db.prepare("PRAGMA table_info(dreaming_evidence_exclusions)").all();
|
|
11099
|
+
const names = new Set(columns.map((column) => column.name));
|
|
11100
|
+
if (!names.has("failure_class")) {
|
|
11101
|
+
db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN failure_class TEXT NOT NULL DEFAULT 'unknown' CHECK (failure_class IN ('incomplete_transcript', 'source_projection', 'scope_mismatch', 'quote_mismatch', 'unknown'))");
|
|
11102
|
+
}
|
|
11103
|
+
if (!names.has("source_fingerprint")) {
|
|
11104
|
+
db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN source_fingerprint TEXT");
|
|
11105
|
+
}
|
|
11106
|
+
if (!names.has("retry_count")) {
|
|
11107
|
+
db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN retry_count INTEGER NOT NULL DEFAULT 0");
|
|
11108
|
+
}
|
|
11109
|
+
if (!names.has("last_requeued_at")) {
|
|
11110
|
+
db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN last_requeued_at TEXT");
|
|
11111
|
+
}
|
|
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
|
+
}
|
|
11097
11114
|
var MIGRATIONS = [
|
|
11098
11115
|
{
|
|
11099
11116
|
version: 1,
|
|
@@ -12075,6 +12092,19 @@ var MIGRATIONS = [
|
|
|
12075
12092
|
{ table: "telemetry_events", column: "last_failure_code" }
|
|
12076
12093
|
]
|
|
12077
12094
|
}
|
|
12095
|
+
},
|
|
12096
|
+
{
|
|
12097
|
+
version: 122,
|
|
12098
|
+
name: "dreaming-evidence-retry",
|
|
12099
|
+
up: up122,
|
|
12100
|
+
artifacts: {
|
|
12101
|
+
columns: [
|
|
12102
|
+
{ table: "dreaming_evidence_exclusions", column: "failure_class" },
|
|
12103
|
+
{ table: "dreaming_evidence_exclusions", column: "source_fingerprint" },
|
|
12104
|
+
{ table: "dreaming_evidence_exclusions", column: "retry_count" },
|
|
12105
|
+
{ table: "dreaming_evidence_exclusions", column: "last_requeued_at" }
|
|
12106
|
+
]
|
|
12107
|
+
}
|
|
12078
12108
|
}
|
|
12079
12109
|
];
|
|
12080
12110
|
var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
|