@signetai/connector-forge 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 +54 -8
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -10402,6 +10402,18 @@ function up110(db) {
|
|
|
10402
10402
|
ON memory_entity_mentions(entity_id, memory_id);
|
|
10403
10403
|
`);
|
|
10404
10404
|
}
|
|
10405
|
+
function hasColumn19(db, table, column) {
|
|
10406
|
+
const rows = db.prepare(`PRAGMA table_info(${table})`).all();
|
|
10407
|
+
return rows.some((row) => row.name === column);
|
|
10408
|
+
}
|
|
10409
|
+
var COLUMNS2 = ["first_remember_at", "first_recall_at"];
|
|
10410
|
+
function up111(db) {
|
|
10411
|
+
for (const column of COLUMNS2) {
|
|
10412
|
+
if (!hasColumn19(db, "telemetry_install", column)) {
|
|
10413
|
+
db.exec(`ALTER TABLE telemetry_install ADD COLUMN ${column} TEXT`);
|
|
10414
|
+
}
|
|
10415
|
+
}
|
|
10416
|
+
}
|
|
10405
10417
|
var MIGRATIONS = [
|
|
10406
10418
|
{
|
|
10407
10419
|
version: 1,
|
|
@@ -11277,6 +11289,17 @@ var MIGRATIONS = [
|
|
|
11277
11289
|
version: 110,
|
|
11278
11290
|
name: "memory-mention-join-index",
|
|
11279
11291
|
up: up110
|
|
11292
|
+
},
|
|
11293
|
+
{
|
|
11294
|
+
version: 111,
|
|
11295
|
+
name: "telemetry-first-use",
|
|
11296
|
+
up: up111,
|
|
11297
|
+
artifacts: {
|
|
11298
|
+
columns: [
|
|
11299
|
+
{ table: "telemetry_install", column: "first_remember_at" },
|
|
11300
|
+
{ table: "telemetry_install", column: "first_recall_at" }
|
|
11301
|
+
]
|
|
11302
|
+
}
|
|
11280
11303
|
}
|
|
11281
11304
|
];
|
|
11282
11305
|
var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
|
|
@@ -18795,7 +18818,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
|
|
|
18795
18818
|
return true;
|
|
18796
18819
|
return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
|
|
18797
18820
|
}
|
|
18798
|
-
function
|
|
18821
|
+
function up112(db) {
|
|
18799
18822
|
db.exec(`
|
|
18800
18823
|
CREATE TABLE IF NOT EXISTS schema_migrations (
|
|
18801
18824
|
version INTEGER PRIMARY KEY,
|
|
@@ -18884,12 +18907,12 @@ function up111(db) {
|
|
|
18884
18907
|
} catch {}
|
|
18885
18908
|
createMemoriesFts2(db);
|
|
18886
18909
|
}
|
|
18887
|
-
function
|
|
18910
|
+
function hasColumn20(db, table, column) {
|
|
18888
18911
|
const rows = db.prepare(`PRAGMA table_info(${table})`).all();
|
|
18889
18912
|
return rows.some((r) => r.name === column);
|
|
18890
18913
|
}
|
|
18891
18914
|
function addColumnIfMissing23(db, table, column, definition) {
|
|
18892
|
-
if (!
|
|
18915
|
+
if (!hasColumn20(db, table, column)) {
|
|
18893
18916
|
db.exec(`ALTER TABLE ${table} ADD COLUMN ${column} ${definition}`);
|
|
18894
18917
|
}
|
|
18895
18918
|
}
|
|
@@ -19218,7 +19241,7 @@ function up1010(db) {
|
|
|
19218
19241
|
)
|
|
19219
19242
|
`);
|
|
19220
19243
|
}
|
|
19221
|
-
function
|
|
19244
|
+
function up113(db) {
|
|
19222
19245
|
db.exec(`
|
|
19223
19246
|
CREATE TABLE IF NOT EXISTS session_scores (
|
|
19224
19247
|
id TEXT PRIMARY KEY,
|
|
@@ -21464,9 +21487,9 @@ function hasColumn112(db, table, column) {
|
|
|
21464
21487
|
const rows = db.prepare(`PRAGMA table_info(${table})`).all();
|
|
21465
21488
|
return rows.some((row) => row.name === column);
|
|
21466
21489
|
}
|
|
21467
|
-
var
|
|
21490
|
+
var COLUMNS3 = ["harness", "session_id", "tool_use_id", "cwd", "origin", "args"];
|
|
21468
21491
|
function up822(db) {
|
|
21469
|
-
for (const column of
|
|
21492
|
+
for (const column of COLUMNS3) {
|
|
21470
21493
|
if (!hasColumn112(db, "skill_invocations", column)) {
|
|
21471
21494
|
db.exec(`ALTER TABLE skill_invocations ADD COLUMN ${column} TEXT`);
|
|
21472
21495
|
}
|
|
@@ -22218,11 +22241,23 @@ function up1102(db) {
|
|
|
22218
22241
|
ON memory_entity_mentions(entity_id, memory_id);
|
|
22219
22242
|
`);
|
|
22220
22243
|
}
|
|
22244
|
+
function hasColumn192(db, table, column) {
|
|
22245
|
+
const rows = db.prepare(`PRAGMA table_info(${table})`).all();
|
|
22246
|
+
return rows.some((row) => row.name === column);
|
|
22247
|
+
}
|
|
22248
|
+
var COLUMNS22 = ["first_remember_at", "first_recall_at"];
|
|
22249
|
+
function up1112(db) {
|
|
22250
|
+
for (const column of COLUMNS22) {
|
|
22251
|
+
if (!hasColumn192(db, "telemetry_install", column)) {
|
|
22252
|
+
db.exec(`ALTER TABLE telemetry_install ADD COLUMN ${column} TEXT`);
|
|
22253
|
+
}
|
|
22254
|
+
}
|
|
22255
|
+
}
|
|
22221
22256
|
var MIGRATIONS2 = [
|
|
22222
22257
|
{
|
|
22223
22258
|
version: 1,
|
|
22224
22259
|
name: "baseline",
|
|
22225
|
-
up:
|
|
22260
|
+
up: up112,
|
|
22226
22261
|
artifacts: { tables: ["memories", "conversations", "embeddings"] }
|
|
22227
22262
|
},
|
|
22228
22263
|
{
|
|
@@ -22288,7 +22323,7 @@ var MIGRATIONS2 = [
|
|
|
22288
22323
|
{
|
|
22289
22324
|
version: 11,
|
|
22290
22325
|
name: "session-scores",
|
|
22291
|
-
up:
|
|
22326
|
+
up: up113,
|
|
22292
22327
|
artifacts: { tables: ["session_scores"] }
|
|
22293
22328
|
},
|
|
22294
22329
|
{
|
|
@@ -23093,6 +23128,17 @@ var MIGRATIONS2 = [
|
|
|
23093
23128
|
version: 110,
|
|
23094
23129
|
name: "memory-mention-join-index",
|
|
23095
23130
|
up: up1102
|
|
23131
|
+
},
|
|
23132
|
+
{
|
|
23133
|
+
version: 111,
|
|
23134
|
+
name: "telemetry-first-use",
|
|
23135
|
+
up: up1112,
|
|
23136
|
+
artifacts: {
|
|
23137
|
+
columns: [
|
|
23138
|
+
{ table: "telemetry_install", column: "first_remember_at" },
|
|
23139
|
+
{ table: "telemetry_install", column: "first_recall_at" }
|
|
23140
|
+
]
|
|
23141
|
+
}
|
|
23096
23142
|
}
|
|
23097
23143
|
];
|
|
23098
23144
|
var LATEST_SCHEMA_VERSION2 = MIGRATIONS2[MIGRATIONS2.length - 1]?.version ?? 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@signetai/connector-forge",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.178.0",
|
|
4
4
|
"description": "Signet connector for ForgeCode - installs MCP, identity, and skills integration",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"typecheck": "tsc --noEmit"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@signetai/connector-base": "0.
|
|
28
|
-
"@signetai/core": "0.
|
|
27
|
+
"@signetai/connector-base": "0.178.0",
|
|
28
|
+
"@signetai/core": "0.178.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/node": "^22.0.0",
|