@signetai/connector-base 0.196.0 → 0.196.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 +17 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -11200,6 +11200,18 @@ function up127(db) {
|
|
|
11200
11200
|
ON ontology_contradictions(agent_id, left_source_id, right_source_id);
|
|
11201
11201
|
`);
|
|
11202
11202
|
}
|
|
11203
|
+
function up128(db) {
|
|
11204
|
+
db.exec(`
|
|
11205
|
+
CREATE INDEX IF NOT EXISTS idx_memory_jobs_diagnostics_status_created_at
|
|
11206
|
+
ON memory_jobs(status, created_at)
|
|
11207
|
+
WHERE job_type <> 'extract';
|
|
11208
|
+
CREATE INDEX IF NOT EXISTS idx_memory_jobs_diagnostics_error_updated_at
|
|
11209
|
+
ON memory_jobs(updated_at DESC)
|
|
11210
|
+
WHERE status IN ('pending', 'leased', 'dead')
|
|
11211
|
+
AND job_type <> 'extract'
|
|
11212
|
+
AND error IS NOT NULL;
|
|
11213
|
+
`);
|
|
11214
|
+
}
|
|
11203
11215
|
var MIGRATIONS = [
|
|
11204
11216
|
{
|
|
11205
11217
|
version: 1,
|
|
@@ -12226,6 +12238,11 @@ var MIGRATIONS = [
|
|
|
12226
12238
|
name: "ontology-contradictions",
|
|
12227
12239
|
up: up127,
|
|
12228
12240
|
artifacts: { tables: ["ontology_contradictions"] }
|
|
12241
|
+
},
|
|
12242
|
+
{
|
|
12243
|
+
version: 128,
|
|
12244
|
+
name: "bounded-queue-diagnostics",
|
|
12245
|
+
up: up128
|
|
12229
12246
|
}
|
|
12230
12247
|
];
|
|
12231
12248
|
var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@signetai/connector-base",
|
|
3
|
-
"version": "0.196.
|
|
3
|
+
"version": "0.196.2",
|
|
4
4
|
"description": "Base class for Signet harness connectors",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"typecheck": "tsc --noEmit"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@signetai/core": "0.196.
|
|
29
|
+
"@signetai/core": "0.196.2",
|
|
30
30
|
"json5": "^2.2.3",
|
|
31
31
|
"jsonc-parser": "3.3.1"
|
|
32
32
|
},
|