@signetai/connector-forge 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;
|
|
@@ -19945,7 +19974,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
|
|
|
19945
19974
|
return true;
|
|
19946
19975
|
return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
|
|
19947
19976
|
}
|
|
19948
|
-
function
|
|
19977
|
+
function up132(db) {
|
|
19949
19978
|
db.exec(`
|
|
19950
19979
|
CREATE TABLE IF NOT EXISTS schema_migrations (
|
|
19951
19980
|
version INTEGER PRIMARY KEY,
|
|
@@ -20429,7 +20458,7 @@ function addColumnIfMissing52(db, table, column, definition) {
|
|
|
20429
20458
|
db.exec(`ALTER TABLE ${table} ADD COLUMN ${column} ${definition}`);
|
|
20430
20459
|
}
|
|
20431
20460
|
}
|
|
20432
|
-
function
|
|
20461
|
+
function up133(db) {
|
|
20433
20462
|
db.exec(`
|
|
20434
20463
|
CREATE TABLE IF NOT EXISTS ingestion_jobs (
|
|
20435
20464
|
id TEXT PRIMARY KEY,
|
|
@@ -24155,11 +24184,34 @@ function up1302(db) {
|
|
|
24155
24184
|
END;
|
|
24156
24185
|
`);
|
|
24157
24186
|
}
|
|
24187
|
+
function up1312(db) {
|
|
24188
|
+
db.exec(`
|
|
24189
|
+
CREATE TABLE IF NOT EXISTS dreaming_evidence_consumption (
|
|
24190
|
+
agent_id TEXT NOT NULL,
|
|
24191
|
+
source_kind TEXT NOT NULL CHECK (source_kind IN ('memory', 'artifact', 'transcript', 'summary')),
|
|
24192
|
+
source_id TEXT NOT NULL,
|
|
24193
|
+
source_captured_at TEXT NOT NULL,
|
|
24194
|
+
source_entry_id TEXT NOT NULL DEFAULT '',
|
|
24195
|
+
source_revision TEXT NOT NULL,
|
|
24196
|
+
delivered_offset INTEGER NOT NULL CHECK (delivered_offset >= 0),
|
|
24197
|
+
source_length INTEGER NOT NULL CHECK (source_length >= 0),
|
|
24198
|
+
pass_id TEXT NOT NULL,
|
|
24199
|
+
updated_at TEXT NOT NULL,
|
|
24200
|
+
PRIMARY KEY (agent_id, source_kind, source_id, source_captured_at, source_entry_id, source_revision)
|
|
24201
|
+
);
|
|
24202
|
+
CREATE INDEX IF NOT EXISTS idx_dreaming_evidence_consumption_source
|
|
24203
|
+
ON dreaming_evidence_consumption(agent_id, source_entry_id, source_kind, source_revision);
|
|
24204
|
+
CREATE INDEX IF NOT EXISTS idx_dreaming_evidence_consumption_pending
|
|
24205
|
+
ON dreaming_evidence_consumption(agent_id, source_kind, source_id, source_captured_at, source_revision, delivered_offset, source_length);
|
|
24206
|
+
CREATE INDEX IF NOT EXISTS idx_dreaming_evidence_consumption_continuation
|
|
24207
|
+
ON dreaming_evidence_consumption(agent_id, pass_id, delivered_offset, source_length);
|
|
24208
|
+
`);
|
|
24209
|
+
}
|
|
24158
24210
|
var MIGRATIONS2 = [
|
|
24159
24211
|
{
|
|
24160
24212
|
version: 1,
|
|
24161
24213
|
name: "baseline",
|
|
24162
|
-
up:
|
|
24214
|
+
up: up132,
|
|
24163
24215
|
artifacts: { tables: ["memories", "conversations", "embeddings"] }
|
|
24164
24216
|
},
|
|
24165
24217
|
{
|
|
@@ -24237,7 +24289,7 @@ var MIGRATIONS2 = [
|
|
|
24237
24289
|
{
|
|
24238
24290
|
version: 13,
|
|
24239
24291
|
name: "ingestion-tracking",
|
|
24240
|
-
up:
|
|
24292
|
+
up: up133,
|
|
24241
24293
|
artifacts: {
|
|
24242
24294
|
columns: [
|
|
24243
24295
|
{ table: "memories", column: "source_path" },
|
|
@@ -25197,6 +25249,12 @@ var MIGRATIONS2 = [
|
|
|
25197
25249
|
name: "embedding-repair-state",
|
|
25198
25250
|
up: up1302,
|
|
25199
25251
|
artifacts: { tables: ["embedding_repair_budget", "embedding_repair_backoff"] }
|
|
25252
|
+
},
|
|
25253
|
+
{
|
|
25254
|
+
version: 131,
|
|
25255
|
+
name: "dreaming-evidence-consumption",
|
|
25256
|
+
up: up1312,
|
|
25257
|
+
artifacts: { tables: ["dreaming_evidence_consumption"] }
|
|
25200
25258
|
}
|
|
25201
25259
|
];
|
|
25202
25260
|
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.199.
|
|
3
|
+
"version": "0.199.2",
|
|
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.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",
|