@signetai/connector-forge 0.164.5 → 0.166.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 +40 -6
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -10349,6 +10349,15 @@ function up105(db) {
|
|
|
10349
10349
|
INSERT INTO entities_fts(entities_fts) VALUES ('rebuild');
|
|
10350
10350
|
`);
|
|
10351
10351
|
}
|
|
10352
|
+
function hasColumn17(db, table, column) {
|
|
10353
|
+
return db.prepare(`PRAGMA table_info(${table})`).all().some((row) => row.name === column);
|
|
10354
|
+
}
|
|
10355
|
+
function up106(db) {
|
|
10356
|
+
if (!hasColumn17(db, "memories", "review_after")) {
|
|
10357
|
+
db.exec("ALTER TABLE memories ADD COLUMN review_after TEXT;");
|
|
10358
|
+
}
|
|
10359
|
+
db.exec("CREATE INDEX IF NOT EXISTS idx_memories_review_after ON memories(review_after);");
|
|
10360
|
+
}
|
|
10352
10361
|
var MIGRATIONS = [
|
|
10353
10362
|
{
|
|
10354
10363
|
version: 1,
|
|
@@ -11181,6 +11190,14 @@ var MIGRATIONS = [
|
|
|
11181
11190
|
version: 105,
|
|
11182
11191
|
name: "agent-scoped-entity-name",
|
|
11183
11192
|
up: up105
|
|
11193
|
+
},
|
|
11194
|
+
{
|
|
11195
|
+
version: 106,
|
|
11196
|
+
name: "memory-review-after",
|
|
11197
|
+
up: up106,
|
|
11198
|
+
artifacts: {
|
|
11199
|
+
columns: [{ table: "memories", column: "review_after" }]
|
|
11200
|
+
}
|
|
11184
11201
|
}
|
|
11185
11202
|
];
|
|
11186
11203
|
var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
|
|
@@ -18699,7 +18716,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
|
|
|
18699
18716
|
return true;
|
|
18700
18717
|
return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
|
|
18701
18718
|
}
|
|
18702
|
-
function
|
|
18719
|
+
function up107(db) {
|
|
18703
18720
|
db.exec(`
|
|
18704
18721
|
CREATE TABLE IF NOT EXISTS schema_migrations (
|
|
18705
18722
|
version INTEGER PRIMARY KEY,
|
|
@@ -18788,12 +18805,12 @@ function up106(db) {
|
|
|
18788
18805
|
} catch {}
|
|
18789
18806
|
createMemoriesFts2(db);
|
|
18790
18807
|
}
|
|
18791
|
-
function
|
|
18808
|
+
function hasColumn18(db, table, column) {
|
|
18792
18809
|
const rows = db.prepare(`PRAGMA table_info(${table})`).all();
|
|
18793
18810
|
return rows.some((r) => r.name === column);
|
|
18794
18811
|
}
|
|
18795
18812
|
function addColumnIfMissing23(db, table, column, definition) {
|
|
18796
|
-
if (!
|
|
18813
|
+
if (!hasColumn18(db, table, column)) {
|
|
18797
18814
|
db.exec(`ALTER TABLE ${table} ADD COLUMN ${column} ${definition}`);
|
|
18798
18815
|
}
|
|
18799
18816
|
}
|
|
@@ -19111,7 +19128,7 @@ function up910(db) {
|
|
|
19111
19128
|
db.exec(`CREATE INDEX IF NOT EXISTS idx_summary_jobs_status
|
|
19112
19129
|
ON summary_jobs(status)`);
|
|
19113
19130
|
}
|
|
19114
|
-
function
|
|
19131
|
+
function up108(db) {
|
|
19115
19132
|
db.exec(`
|
|
19116
19133
|
CREATE TABLE IF NOT EXISTS umap_cache (
|
|
19117
19134
|
id INTEGER PRIMARY KEY,
|
|
@@ -22069,11 +22086,20 @@ function up1052(db) {
|
|
|
22069
22086
|
INSERT INTO entities_fts(entities_fts) VALUES ('rebuild');
|
|
22070
22087
|
`);
|
|
22071
22088
|
}
|
|
22089
|
+
function hasColumn172(db, table, column) {
|
|
22090
|
+
return db.prepare(`PRAGMA table_info(${table})`).all().some((row) => row.name === column);
|
|
22091
|
+
}
|
|
22092
|
+
function up1062(db) {
|
|
22093
|
+
if (!hasColumn172(db, "memories", "review_after")) {
|
|
22094
|
+
db.exec("ALTER TABLE memories ADD COLUMN review_after TEXT;");
|
|
22095
|
+
}
|
|
22096
|
+
db.exec("CREATE INDEX IF NOT EXISTS idx_memories_review_after ON memories(review_after);");
|
|
22097
|
+
}
|
|
22072
22098
|
var MIGRATIONS2 = [
|
|
22073
22099
|
{
|
|
22074
22100
|
version: 1,
|
|
22075
22101
|
name: "baseline",
|
|
22076
|
-
up:
|
|
22102
|
+
up: up107,
|
|
22077
22103
|
artifacts: { tables: ["memories", "conversations", "embeddings"] }
|
|
22078
22104
|
},
|
|
22079
22105
|
{
|
|
@@ -22133,7 +22159,7 @@ var MIGRATIONS2 = [
|
|
|
22133
22159
|
{
|
|
22134
22160
|
version: 10,
|
|
22135
22161
|
name: "umap-cache",
|
|
22136
|
-
up:
|
|
22162
|
+
up: up108,
|
|
22137
22163
|
artifacts: { tables: ["umap_cache"] }
|
|
22138
22164
|
},
|
|
22139
22165
|
{
|
|
@@ -22901,6 +22927,14 @@ var MIGRATIONS2 = [
|
|
|
22901
22927
|
version: 105,
|
|
22902
22928
|
name: "agent-scoped-entity-name",
|
|
22903
22929
|
up: up1052
|
|
22930
|
+
},
|
|
22931
|
+
{
|
|
22932
|
+
version: 106,
|
|
22933
|
+
name: "memory-review-after",
|
|
22934
|
+
up: up1062,
|
|
22935
|
+
artifacts: {
|
|
22936
|
+
columns: [{ table: "memories", column: "review_after" }]
|
|
22937
|
+
}
|
|
22904
22938
|
}
|
|
22905
22939
|
];
|
|
22906
22940
|
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.166.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.166.0",
|
|
28
|
+
"@signetai/core": "0.166.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/node": "^22.0.0",
|