@signetai/connector-gemini 0.192.1 → 0.192.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 +64 -4
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -10867,6 +10867,30 @@ function up122(db) {
|
|
|
10867
10867
|
}
|
|
10868
10868
|
db.exec("CREATE INDEX IF NOT EXISTS idx_dreaming_evidence_exclusions_retry ON dreaming_evidence_exclusions (resolved_at, requeue_requested_at, failure_class, retry_count, last_requeued_at)");
|
|
10869
10869
|
}
|
|
10870
|
+
function up123(db) {
|
|
10871
|
+
db.exec(`
|
|
10872
|
+
CREATE TABLE IF NOT EXISTS embedding_index_failures (
|
|
10873
|
+
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
10874
|
+
content_hash TEXT NOT NULL,
|
|
10875
|
+
source_type TEXT NOT NULL,
|
|
10876
|
+
source_id TEXT NOT NULL,
|
|
10877
|
+
agent_id TEXT,
|
|
10878
|
+
target_fingerprint TEXT NOT NULL,
|
|
10879
|
+
provider TEXT NOT NULL,
|
|
10880
|
+
model TEXT NOT NULL,
|
|
10881
|
+
failure_class TEXT NOT NULL CHECK (failure_class IN ('context_limit', 'invalid_input')),
|
|
10882
|
+
attempts INTEGER NOT NULL DEFAULT 1,
|
|
10883
|
+
retry_policy TEXT NOT NULL DEFAULT 'quarantined',
|
|
10884
|
+
first_failed_at TEXT NOT NULL,
|
|
10885
|
+
last_failed_at TEXT NOT NULL,
|
|
10886
|
+
UNIQUE(content_hash, target_fingerprint)
|
|
10887
|
+
);
|
|
10888
|
+
CREATE INDEX IF NOT EXISTS idx_embedding_index_failures_target
|
|
10889
|
+
ON embedding_index_failures(target_fingerprint, failure_class, last_failed_at);
|
|
10890
|
+
CREATE INDEX IF NOT EXISTS idx_embedding_index_failures_source
|
|
10891
|
+
ON embedding_index_failures(source_type, source_id);
|
|
10892
|
+
`);
|
|
10893
|
+
}
|
|
10870
10894
|
var MIGRATIONS = [
|
|
10871
10895
|
{
|
|
10872
10896
|
version: 1,
|
|
@@ -11861,6 +11885,12 @@ var MIGRATIONS = [
|
|
|
11861
11885
|
{ table: "dreaming_evidence_exclusions", column: "last_requeued_at" }
|
|
11862
11886
|
]
|
|
11863
11887
|
}
|
|
11888
|
+
},
|
|
11889
|
+
{
|
|
11890
|
+
version: 123,
|
|
11891
|
+
name: "embedding-index-failures",
|
|
11892
|
+
up: up123,
|
|
11893
|
+
artifacts: { tables: ["embedding_index_failures"] }
|
|
11864
11894
|
}
|
|
11865
11895
|
];
|
|
11866
11896
|
var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
|
|
@@ -19261,7 +19291,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
|
|
|
19261
19291
|
return true;
|
|
19262
19292
|
return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
|
|
19263
19293
|
}
|
|
19264
|
-
function
|
|
19294
|
+
function up124(db) {
|
|
19265
19295
|
db.exec(`
|
|
19266
19296
|
CREATE TABLE IF NOT EXISTS schema_migrations (
|
|
19267
19297
|
version INTEGER PRIMARY KEY,
|
|
@@ -19704,7 +19734,7 @@ function up1110(db) {
|
|
|
19704
19734
|
ON session_scores(session_key);
|
|
19705
19735
|
`);
|
|
19706
19736
|
}
|
|
19707
|
-
function
|
|
19737
|
+
function up125(db) {
|
|
19708
19738
|
db.exec(`
|
|
19709
19739
|
CREATE TABLE IF NOT EXISTS scheduled_tasks (
|
|
19710
19740
|
id TEXT PRIMARY KEY,
|
|
@@ -23146,11 +23176,35 @@ function up1222(db) {
|
|
|
23146
23176
|
}
|
|
23147
23177
|
db.exec("CREATE INDEX IF NOT EXISTS idx_dreaming_evidence_exclusions_retry ON dreaming_evidence_exclusions (resolved_at, requeue_requested_at, failure_class, retry_count, last_requeued_at)");
|
|
23148
23178
|
}
|
|
23179
|
+
function up1232(db) {
|
|
23180
|
+
db.exec(`
|
|
23181
|
+
CREATE TABLE IF NOT EXISTS embedding_index_failures (
|
|
23182
|
+
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
23183
|
+
content_hash TEXT NOT NULL,
|
|
23184
|
+
source_type TEXT NOT NULL,
|
|
23185
|
+
source_id TEXT NOT NULL,
|
|
23186
|
+
agent_id TEXT,
|
|
23187
|
+
target_fingerprint TEXT NOT NULL,
|
|
23188
|
+
provider TEXT NOT NULL,
|
|
23189
|
+
model TEXT NOT NULL,
|
|
23190
|
+
failure_class TEXT NOT NULL CHECK (failure_class IN ('context_limit', 'invalid_input')),
|
|
23191
|
+
attempts INTEGER NOT NULL DEFAULT 1,
|
|
23192
|
+
retry_policy TEXT NOT NULL DEFAULT 'quarantined',
|
|
23193
|
+
first_failed_at TEXT NOT NULL,
|
|
23194
|
+
last_failed_at TEXT NOT NULL,
|
|
23195
|
+
UNIQUE(content_hash, target_fingerprint)
|
|
23196
|
+
);
|
|
23197
|
+
CREATE INDEX IF NOT EXISTS idx_embedding_index_failures_target
|
|
23198
|
+
ON embedding_index_failures(target_fingerprint, failure_class, last_failed_at);
|
|
23199
|
+
CREATE INDEX IF NOT EXISTS idx_embedding_index_failures_source
|
|
23200
|
+
ON embedding_index_failures(source_type, source_id);
|
|
23201
|
+
`);
|
|
23202
|
+
}
|
|
23149
23203
|
var MIGRATIONS2 = [
|
|
23150
23204
|
{
|
|
23151
23205
|
version: 1,
|
|
23152
23206
|
name: "baseline",
|
|
23153
|
-
up:
|
|
23207
|
+
up: up124,
|
|
23154
23208
|
artifacts: { tables: ["memories", "conversations", "embeddings"] }
|
|
23155
23209
|
},
|
|
23156
23210
|
{
|
|
@@ -23222,7 +23276,7 @@ var MIGRATIONS2 = [
|
|
|
23222
23276
|
{
|
|
23223
23277
|
version: 12,
|
|
23224
23278
|
name: "scheduled-tasks",
|
|
23225
|
-
up:
|
|
23279
|
+
up: up125,
|
|
23226
23280
|
artifacts: { tables: ["scheduled_tasks", "task_runs"] }
|
|
23227
23281
|
},
|
|
23228
23282
|
{
|
|
@@ -24140,6 +24194,12 @@ var MIGRATIONS2 = [
|
|
|
24140
24194
|
{ table: "dreaming_evidence_exclusions", column: "last_requeued_at" }
|
|
24141
24195
|
]
|
|
24142
24196
|
}
|
|
24197
|
+
},
|
|
24198
|
+
{
|
|
24199
|
+
version: 123,
|
|
24200
|
+
name: "embedding-index-failures",
|
|
24201
|
+
up: up1232,
|
|
24202
|
+
artifacts: { tables: ["embedding_index_failures"] }
|
|
24143
24203
|
}
|
|
24144
24204
|
];
|
|
24145
24205
|
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.192.
|
|
3
|
+
"version": "0.192.2",
|
|
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.192.
|
|
28
|
-
"@signetai/core": "0.192.
|
|
27
|
+
"@signetai/connector-base": "0.192.2",
|
|
28
|
+
"@signetai/core": "0.192.2"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/node": "^22.0.0",
|