@signetai/connector-base 0.176.12 → 0.178.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 +23 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -10421,6 +10421,18 @@ function up110(db) {
|
|
|
10421
10421
|
ON memory_entity_mentions(entity_id, memory_id);
|
|
10422
10422
|
`);
|
|
10423
10423
|
}
|
|
10424
|
+
function hasColumn19(db, table, column) {
|
|
10425
|
+
const rows = db.prepare(`PRAGMA table_info(${table})`).all();
|
|
10426
|
+
return rows.some((row) => row.name === column);
|
|
10427
|
+
}
|
|
10428
|
+
var COLUMNS2 = ["first_remember_at", "first_recall_at"];
|
|
10429
|
+
function up111(db) {
|
|
10430
|
+
for (const column of COLUMNS2) {
|
|
10431
|
+
if (!hasColumn19(db, "telemetry_install", column)) {
|
|
10432
|
+
db.exec(`ALTER TABLE telemetry_install ADD COLUMN ${column} TEXT`);
|
|
10433
|
+
}
|
|
10434
|
+
}
|
|
10435
|
+
}
|
|
10424
10436
|
var MIGRATIONS = [
|
|
10425
10437
|
{
|
|
10426
10438
|
version: 1,
|
|
@@ -11296,6 +11308,17 @@ var MIGRATIONS = [
|
|
|
11296
11308
|
version: 110,
|
|
11297
11309
|
name: "memory-mention-join-index",
|
|
11298
11310
|
up: up110
|
|
11311
|
+
},
|
|
11312
|
+
{
|
|
11313
|
+
version: 111,
|
|
11314
|
+
name: "telemetry-first-use",
|
|
11315
|
+
up: up111,
|
|
11316
|
+
artifacts: {
|
|
11317
|
+
columns: [
|
|
11318
|
+
{ table: "telemetry_install", column: "first_remember_at" },
|
|
11319
|
+
{ table: "telemetry_install", column: "first_recall_at" }
|
|
11320
|
+
]
|
|
11321
|
+
}
|
|
11299
11322
|
}
|
|
11300
11323
|
];
|
|
11301
11324
|
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.
|
|
3
|
+
"version": "0.178.0",
|
|
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.
|
|
29
|
+
"@signetai/core": "0.178.0",
|
|
30
30
|
"json5": "^2.2.3",
|
|
31
31
|
"jsonc-parser": "3.3.1"
|
|
32
32
|
},
|