@signetai/connector-gemini 0.199.0 → 0.199.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 +62 -4
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -11285,6 +11285,29 @@ function up130(db) {
|
|
|
11285
11285
|
END;
|
|
11286
11286
|
`);
|
|
11287
11287
|
}
|
|
11288
|
+
function up131(db) {
|
|
11289
|
+
db.exec(`
|
|
11290
|
+
CREATE TABLE IF NOT EXISTS dreaming_evidence_consumption (
|
|
11291
|
+
agent_id TEXT NOT NULL,
|
|
11292
|
+
source_kind TEXT NOT NULL CHECK (source_kind IN ('memory', 'artifact', 'transcript', 'summary')),
|
|
11293
|
+
source_id TEXT NOT NULL,
|
|
11294
|
+
source_captured_at TEXT NOT NULL,
|
|
11295
|
+
source_entry_id TEXT NOT NULL DEFAULT '',
|
|
11296
|
+
source_revision TEXT NOT NULL,
|
|
11297
|
+
delivered_offset INTEGER NOT NULL CHECK (delivered_offset >= 0),
|
|
11298
|
+
source_length INTEGER NOT NULL CHECK (source_length >= 0),
|
|
11299
|
+
pass_id TEXT NOT NULL,
|
|
11300
|
+
updated_at TEXT NOT NULL,
|
|
11301
|
+
PRIMARY KEY (agent_id, source_kind, source_id, source_captured_at, source_entry_id, source_revision)
|
|
11302
|
+
);
|
|
11303
|
+
CREATE INDEX IF NOT EXISTS idx_dreaming_evidence_consumption_source
|
|
11304
|
+
ON dreaming_evidence_consumption(agent_id, source_entry_id, source_kind, source_revision);
|
|
11305
|
+
CREATE INDEX IF NOT EXISTS idx_dreaming_evidence_consumption_pending
|
|
11306
|
+
ON dreaming_evidence_consumption(agent_id, source_kind, source_id, source_captured_at, source_revision, delivered_offset, source_length);
|
|
11307
|
+
CREATE INDEX IF NOT EXISTS idx_dreaming_evidence_consumption_continuation
|
|
11308
|
+
ON dreaming_evidence_consumption(agent_id, pass_id, delivered_offset, source_length);
|
|
11309
|
+
`);
|
|
11310
|
+
}
|
|
11288
11311
|
var MIGRATIONS = [
|
|
11289
11312
|
{
|
|
11290
11313
|
version: 1,
|
|
@@ -12327,6 +12350,12 @@ var MIGRATIONS = [
|
|
|
12327
12350
|
name: "embedding-repair-state",
|
|
12328
12351
|
up: up130,
|
|
12329
12352
|
artifacts: { tables: ["embedding_repair_budget", "embedding_repair_backoff"] }
|
|
12353
|
+
},
|
|
12354
|
+
{
|
|
12355
|
+
version: 131,
|
|
12356
|
+
name: "dreaming-evidence-consumption",
|
|
12357
|
+
up: up131,
|
|
12358
|
+
artifacts: { tables: ["dreaming_evidence_consumption"] }
|
|
12330
12359
|
}
|
|
12331
12360
|
];
|
|
12332
12361
|
var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
|
|
@@ -19823,7 +19852,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
|
|
|
19823
19852
|
return true;
|
|
19824
19853
|
return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
|
|
19825
19854
|
}
|
|
19826
|
-
function
|
|
19855
|
+
function up132(db) {
|
|
19827
19856
|
db.exec(`
|
|
19828
19857
|
CREATE TABLE IF NOT EXISTS schema_migrations (
|
|
19829
19858
|
version INTEGER PRIMARY KEY,
|
|
@@ -20307,7 +20336,7 @@ function addColumnIfMissing52(db, table, column, definition) {
|
|
|
20307
20336
|
db.exec(`ALTER TABLE ${table} ADD COLUMN ${column} ${definition}`);
|
|
20308
20337
|
}
|
|
20309
20338
|
}
|
|
20310
|
-
function
|
|
20339
|
+
function up133(db) {
|
|
20311
20340
|
db.exec(`
|
|
20312
20341
|
CREATE TABLE IF NOT EXISTS ingestion_jobs (
|
|
20313
20342
|
id TEXT PRIMARY KEY,
|
|
@@ -24033,11 +24062,34 @@ function up1302(db) {
|
|
|
24033
24062
|
END;
|
|
24034
24063
|
`);
|
|
24035
24064
|
}
|
|
24065
|
+
function up1312(db) {
|
|
24066
|
+
db.exec(`
|
|
24067
|
+
CREATE TABLE IF NOT EXISTS dreaming_evidence_consumption (
|
|
24068
|
+
agent_id TEXT NOT NULL,
|
|
24069
|
+
source_kind TEXT NOT NULL CHECK (source_kind IN ('memory', 'artifact', 'transcript', 'summary')),
|
|
24070
|
+
source_id TEXT NOT NULL,
|
|
24071
|
+
source_captured_at TEXT NOT NULL,
|
|
24072
|
+
source_entry_id TEXT NOT NULL DEFAULT '',
|
|
24073
|
+
source_revision TEXT NOT NULL,
|
|
24074
|
+
delivered_offset INTEGER NOT NULL CHECK (delivered_offset >= 0),
|
|
24075
|
+
source_length INTEGER NOT NULL CHECK (source_length >= 0),
|
|
24076
|
+
pass_id TEXT NOT NULL,
|
|
24077
|
+
updated_at TEXT NOT NULL,
|
|
24078
|
+
PRIMARY KEY (agent_id, source_kind, source_id, source_captured_at, source_entry_id, source_revision)
|
|
24079
|
+
);
|
|
24080
|
+
CREATE INDEX IF NOT EXISTS idx_dreaming_evidence_consumption_source
|
|
24081
|
+
ON dreaming_evidence_consumption(agent_id, source_entry_id, source_kind, source_revision);
|
|
24082
|
+
CREATE INDEX IF NOT EXISTS idx_dreaming_evidence_consumption_pending
|
|
24083
|
+
ON dreaming_evidence_consumption(agent_id, source_kind, source_id, source_captured_at, source_revision, delivered_offset, source_length);
|
|
24084
|
+
CREATE INDEX IF NOT EXISTS idx_dreaming_evidence_consumption_continuation
|
|
24085
|
+
ON dreaming_evidence_consumption(agent_id, pass_id, delivered_offset, source_length);
|
|
24086
|
+
`);
|
|
24087
|
+
}
|
|
24036
24088
|
var MIGRATIONS2 = [
|
|
24037
24089
|
{
|
|
24038
24090
|
version: 1,
|
|
24039
24091
|
name: "baseline",
|
|
24040
|
-
up:
|
|
24092
|
+
up: up132,
|
|
24041
24093
|
artifacts: { tables: ["memories", "conversations", "embeddings"] }
|
|
24042
24094
|
},
|
|
24043
24095
|
{
|
|
@@ -24115,7 +24167,7 @@ var MIGRATIONS2 = [
|
|
|
24115
24167
|
{
|
|
24116
24168
|
version: 13,
|
|
24117
24169
|
name: "ingestion-tracking",
|
|
24118
|
-
up:
|
|
24170
|
+
up: up133,
|
|
24119
24171
|
artifacts: {
|
|
24120
24172
|
columns: [
|
|
24121
24173
|
{ table: "memories", column: "source_path" },
|
|
@@ -25075,6 +25127,12 @@ var MIGRATIONS2 = [
|
|
|
25075
25127
|
name: "embedding-repair-state",
|
|
25076
25128
|
up: up1302,
|
|
25077
25129
|
artifacts: { tables: ["embedding_repair_budget", "embedding_repair_backoff"] }
|
|
25130
|
+
},
|
|
25131
|
+
{
|
|
25132
|
+
version: 131,
|
|
25133
|
+
name: "dreaming-evidence-consumption",
|
|
25134
|
+
up: up1312,
|
|
25135
|
+
artifacts: { tables: ["dreaming_evidence_consumption"] }
|
|
25078
25136
|
}
|
|
25079
25137
|
];
|
|
25080
25138
|
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.199.
|
|
3
|
+
"version": "0.199.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.199.
|
|
28
|
-
"@signetai/core": "0.199.
|
|
27
|
+
"@signetai/connector-base": "0.199.2",
|
|
28
|
+
"@signetai/core": "0.199.2"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/node": "^22.0.0",
|