@signetai/connector-codex 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
|
@@ -11271,6 +11271,29 @@ function up130(db) {
|
|
|
11271
11271
|
END;
|
|
11272
11272
|
`);
|
|
11273
11273
|
}
|
|
11274
|
+
function up131(db) {
|
|
11275
|
+
db.exec(`
|
|
11276
|
+
CREATE TABLE IF NOT EXISTS dreaming_evidence_consumption (
|
|
11277
|
+
agent_id TEXT NOT NULL,
|
|
11278
|
+
source_kind TEXT NOT NULL CHECK (source_kind IN ('memory', 'artifact', 'transcript', 'summary')),
|
|
11279
|
+
source_id TEXT NOT NULL,
|
|
11280
|
+
source_captured_at TEXT NOT NULL,
|
|
11281
|
+
source_entry_id TEXT NOT NULL DEFAULT '',
|
|
11282
|
+
source_revision TEXT NOT NULL,
|
|
11283
|
+
delivered_offset INTEGER NOT NULL CHECK (delivered_offset >= 0),
|
|
11284
|
+
source_length INTEGER NOT NULL CHECK (source_length >= 0),
|
|
11285
|
+
pass_id TEXT NOT NULL,
|
|
11286
|
+
updated_at TEXT NOT NULL,
|
|
11287
|
+
PRIMARY KEY (agent_id, source_kind, source_id, source_captured_at, source_entry_id, source_revision)
|
|
11288
|
+
);
|
|
11289
|
+
CREATE INDEX IF NOT EXISTS idx_dreaming_evidence_consumption_source
|
|
11290
|
+
ON dreaming_evidence_consumption(agent_id, source_entry_id, source_kind, source_revision);
|
|
11291
|
+
CREATE INDEX IF NOT EXISTS idx_dreaming_evidence_consumption_pending
|
|
11292
|
+
ON dreaming_evidence_consumption(agent_id, source_kind, source_id, source_captured_at, source_revision, delivered_offset, source_length);
|
|
11293
|
+
CREATE INDEX IF NOT EXISTS idx_dreaming_evidence_consumption_continuation
|
|
11294
|
+
ON dreaming_evidence_consumption(agent_id, pass_id, delivered_offset, source_length);
|
|
11295
|
+
`);
|
|
11296
|
+
}
|
|
11274
11297
|
var MIGRATIONS = [
|
|
11275
11298
|
{
|
|
11276
11299
|
version: 1,
|
|
@@ -12313,6 +12336,12 @@ var MIGRATIONS = [
|
|
|
12313
12336
|
name: "embedding-repair-state",
|
|
12314
12337
|
up: up130,
|
|
12315
12338
|
artifacts: { tables: ["embedding_repair_budget", "embedding_repair_backoff"] }
|
|
12339
|
+
},
|
|
12340
|
+
{
|
|
12341
|
+
version: 131,
|
|
12342
|
+
name: "dreaming-evidence-consumption",
|
|
12343
|
+
up: up131,
|
|
12344
|
+
artifacts: { tables: ["dreaming_evidence_consumption"] }
|
|
12316
12345
|
}
|
|
12317
12346
|
];
|
|
12318
12347
|
var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
|
|
@@ -19789,7 +19818,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
|
|
|
19789
19818
|
return true;
|
|
19790
19819
|
return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
|
|
19791
19820
|
}
|
|
19792
|
-
function
|
|
19821
|
+
function up132(db) {
|
|
19793
19822
|
db.exec(`
|
|
19794
19823
|
CREATE TABLE IF NOT EXISTS schema_migrations (
|
|
19795
19824
|
version INTEGER PRIMARY KEY,
|
|
@@ -20273,7 +20302,7 @@ function addColumnIfMissing52(db, table, column, definition) {
|
|
|
20273
20302
|
db.exec(`ALTER TABLE ${table} ADD COLUMN ${column} ${definition}`);
|
|
20274
20303
|
}
|
|
20275
20304
|
}
|
|
20276
|
-
function
|
|
20305
|
+
function up133(db) {
|
|
20277
20306
|
db.exec(`
|
|
20278
20307
|
CREATE TABLE IF NOT EXISTS ingestion_jobs (
|
|
20279
20308
|
id TEXT PRIMARY KEY,
|
|
@@ -23999,11 +24028,34 @@ function up1302(db) {
|
|
|
23999
24028
|
END;
|
|
24000
24029
|
`);
|
|
24001
24030
|
}
|
|
24031
|
+
function up1312(db) {
|
|
24032
|
+
db.exec(`
|
|
24033
|
+
CREATE TABLE IF NOT EXISTS dreaming_evidence_consumption (
|
|
24034
|
+
agent_id TEXT NOT NULL,
|
|
24035
|
+
source_kind TEXT NOT NULL CHECK (source_kind IN ('memory', 'artifact', 'transcript', 'summary')),
|
|
24036
|
+
source_id TEXT NOT NULL,
|
|
24037
|
+
source_captured_at TEXT NOT NULL,
|
|
24038
|
+
source_entry_id TEXT NOT NULL DEFAULT '',
|
|
24039
|
+
source_revision TEXT NOT NULL,
|
|
24040
|
+
delivered_offset INTEGER NOT NULL CHECK (delivered_offset >= 0),
|
|
24041
|
+
source_length INTEGER NOT NULL CHECK (source_length >= 0),
|
|
24042
|
+
pass_id TEXT NOT NULL,
|
|
24043
|
+
updated_at TEXT NOT NULL,
|
|
24044
|
+
PRIMARY KEY (agent_id, source_kind, source_id, source_captured_at, source_entry_id, source_revision)
|
|
24045
|
+
);
|
|
24046
|
+
CREATE INDEX IF NOT EXISTS idx_dreaming_evidence_consumption_source
|
|
24047
|
+
ON dreaming_evidence_consumption(agent_id, source_entry_id, source_kind, source_revision);
|
|
24048
|
+
CREATE INDEX IF NOT EXISTS idx_dreaming_evidence_consumption_pending
|
|
24049
|
+
ON dreaming_evidence_consumption(agent_id, source_kind, source_id, source_captured_at, source_revision, delivered_offset, source_length);
|
|
24050
|
+
CREATE INDEX IF NOT EXISTS idx_dreaming_evidence_consumption_continuation
|
|
24051
|
+
ON dreaming_evidence_consumption(agent_id, pass_id, delivered_offset, source_length);
|
|
24052
|
+
`);
|
|
24053
|
+
}
|
|
24002
24054
|
var MIGRATIONS2 = [
|
|
24003
24055
|
{
|
|
24004
24056
|
version: 1,
|
|
24005
24057
|
name: "baseline",
|
|
24006
|
-
up:
|
|
24058
|
+
up: up132,
|
|
24007
24059
|
artifacts: { tables: ["memories", "conversations", "embeddings"] }
|
|
24008
24060
|
},
|
|
24009
24061
|
{
|
|
@@ -24081,7 +24133,7 @@ var MIGRATIONS2 = [
|
|
|
24081
24133
|
{
|
|
24082
24134
|
version: 13,
|
|
24083
24135
|
name: "ingestion-tracking",
|
|
24084
|
-
up:
|
|
24136
|
+
up: up133,
|
|
24085
24137
|
artifacts: {
|
|
24086
24138
|
columns: [
|
|
24087
24139
|
{ table: "memories", column: "source_path" },
|
|
@@ -25041,6 +25093,12 @@ var MIGRATIONS2 = [
|
|
|
25041
25093
|
name: "embedding-repair-state",
|
|
25042
25094
|
up: up1302,
|
|
25043
25095
|
artifacts: { tables: ["embedding_repair_budget", "embedding_repair_backoff"] }
|
|
25096
|
+
},
|
|
25097
|
+
{
|
|
25098
|
+
version: 131,
|
|
25099
|
+
name: "dreaming-evidence-consumption",
|
|
25100
|
+
up: up1312,
|
|
25101
|
+
artifacts: { tables: ["dreaming_evidence_consumption"] }
|
|
25044
25102
|
}
|
|
25045
25103
|
];
|
|
25046
25104
|
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-codex",
|
|
3
|
-
"version": "0.199.
|
|
3
|
+
"version": "0.199.2",
|
|
4
4
|
"description": "Signet connector for Codex 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",
|