@signetai/connector-gemini 0.164.4 → 0.165.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;
|
|
@@ -18577,7 +18594,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
|
|
|
18577
18594
|
return true;
|
|
18578
18595
|
return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
|
|
18579
18596
|
}
|
|
18580
|
-
function
|
|
18597
|
+
function up107(db) {
|
|
18581
18598
|
db.exec(`
|
|
18582
18599
|
CREATE TABLE IF NOT EXISTS schema_migrations (
|
|
18583
18600
|
version INTEGER PRIMARY KEY,
|
|
@@ -18666,12 +18683,12 @@ function up106(db) {
|
|
|
18666
18683
|
} catch {}
|
|
18667
18684
|
createMemoriesFts2(db);
|
|
18668
18685
|
}
|
|
18669
|
-
function
|
|
18686
|
+
function hasColumn18(db, table, column) {
|
|
18670
18687
|
const rows = db.prepare(`PRAGMA table_info(${table})`).all();
|
|
18671
18688
|
return rows.some((r) => r.name === column);
|
|
18672
18689
|
}
|
|
18673
18690
|
function addColumnIfMissing23(db, table, column, definition) {
|
|
18674
|
-
if (!
|
|
18691
|
+
if (!hasColumn18(db, table, column)) {
|
|
18675
18692
|
db.exec(`ALTER TABLE ${table} ADD COLUMN ${column} ${definition}`);
|
|
18676
18693
|
}
|
|
18677
18694
|
}
|
|
@@ -18989,7 +19006,7 @@ function up910(db) {
|
|
|
18989
19006
|
db.exec(`CREATE INDEX IF NOT EXISTS idx_summary_jobs_status
|
|
18990
19007
|
ON summary_jobs(status)`);
|
|
18991
19008
|
}
|
|
18992
|
-
function
|
|
19009
|
+
function up108(db) {
|
|
18993
19010
|
db.exec(`
|
|
18994
19011
|
CREATE TABLE IF NOT EXISTS umap_cache (
|
|
18995
19012
|
id INTEGER PRIMARY KEY,
|
|
@@ -21947,11 +21964,20 @@ function up1052(db) {
|
|
|
21947
21964
|
INSERT INTO entities_fts(entities_fts) VALUES ('rebuild');
|
|
21948
21965
|
`);
|
|
21949
21966
|
}
|
|
21967
|
+
function hasColumn172(db, table, column) {
|
|
21968
|
+
return db.prepare(`PRAGMA table_info(${table})`).all().some((row) => row.name === column);
|
|
21969
|
+
}
|
|
21970
|
+
function up1062(db) {
|
|
21971
|
+
if (!hasColumn172(db, "memories", "review_after")) {
|
|
21972
|
+
db.exec("ALTER TABLE memories ADD COLUMN review_after TEXT;");
|
|
21973
|
+
}
|
|
21974
|
+
db.exec("CREATE INDEX IF NOT EXISTS idx_memories_review_after ON memories(review_after);");
|
|
21975
|
+
}
|
|
21950
21976
|
var MIGRATIONS2 = [
|
|
21951
21977
|
{
|
|
21952
21978
|
version: 1,
|
|
21953
21979
|
name: "baseline",
|
|
21954
|
-
up:
|
|
21980
|
+
up: up107,
|
|
21955
21981
|
artifacts: { tables: ["memories", "conversations", "embeddings"] }
|
|
21956
21982
|
},
|
|
21957
21983
|
{
|
|
@@ -22011,7 +22037,7 @@ var MIGRATIONS2 = [
|
|
|
22011
22037
|
{
|
|
22012
22038
|
version: 10,
|
|
22013
22039
|
name: "umap-cache",
|
|
22014
|
-
up:
|
|
22040
|
+
up: up108,
|
|
22015
22041
|
artifacts: { tables: ["umap_cache"] }
|
|
22016
22042
|
},
|
|
22017
22043
|
{
|
|
@@ -22779,6 +22805,14 @@ var MIGRATIONS2 = [
|
|
|
22779
22805
|
version: 105,
|
|
22780
22806
|
name: "agent-scoped-entity-name",
|
|
22781
22807
|
up: up1052
|
|
22808
|
+
},
|
|
22809
|
+
{
|
|
22810
|
+
version: 106,
|
|
22811
|
+
name: "memory-review-after",
|
|
22812
|
+
up: up1062,
|
|
22813
|
+
artifacts: {
|
|
22814
|
+
columns: [{ table: "memories", column: "review_after" }]
|
|
22815
|
+
}
|
|
22782
22816
|
}
|
|
22783
22817
|
];
|
|
22784
22818
|
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-gemini",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.165.0",
|
|
4
4
|
"description": "Signet connector for Gemini CLI",
|
|
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.165.0",
|
|
28
|
+
"@signetai/core": "0.165.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/node": "^22.0.0",
|