@signetai/connector-codex 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
|
@@ -10853,6 +10853,30 @@ function up122(db) {
|
|
|
10853
10853
|
}
|
|
10854
10854
|
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)");
|
|
10855
10855
|
}
|
|
10856
|
+
function up123(db) {
|
|
10857
|
+
db.exec(`
|
|
10858
|
+
CREATE TABLE IF NOT EXISTS embedding_index_failures (
|
|
10859
|
+
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
10860
|
+
content_hash TEXT NOT NULL,
|
|
10861
|
+
source_type TEXT NOT NULL,
|
|
10862
|
+
source_id TEXT NOT NULL,
|
|
10863
|
+
agent_id TEXT,
|
|
10864
|
+
target_fingerprint TEXT NOT NULL,
|
|
10865
|
+
provider TEXT NOT NULL,
|
|
10866
|
+
model TEXT NOT NULL,
|
|
10867
|
+
failure_class TEXT NOT NULL CHECK (failure_class IN ('context_limit', 'invalid_input')),
|
|
10868
|
+
attempts INTEGER NOT NULL DEFAULT 1,
|
|
10869
|
+
retry_policy TEXT NOT NULL DEFAULT 'quarantined',
|
|
10870
|
+
first_failed_at TEXT NOT NULL,
|
|
10871
|
+
last_failed_at TEXT NOT NULL,
|
|
10872
|
+
UNIQUE(content_hash, target_fingerprint)
|
|
10873
|
+
);
|
|
10874
|
+
CREATE INDEX IF NOT EXISTS idx_embedding_index_failures_target
|
|
10875
|
+
ON embedding_index_failures(target_fingerprint, failure_class, last_failed_at);
|
|
10876
|
+
CREATE INDEX IF NOT EXISTS idx_embedding_index_failures_source
|
|
10877
|
+
ON embedding_index_failures(source_type, source_id);
|
|
10878
|
+
`);
|
|
10879
|
+
}
|
|
10856
10880
|
var MIGRATIONS = [
|
|
10857
10881
|
{
|
|
10858
10882
|
version: 1,
|
|
@@ -11847,6 +11871,12 @@ var MIGRATIONS = [
|
|
|
11847
11871
|
{ table: "dreaming_evidence_exclusions", column: "last_requeued_at" }
|
|
11848
11872
|
]
|
|
11849
11873
|
}
|
|
11874
|
+
},
|
|
11875
|
+
{
|
|
11876
|
+
version: 123,
|
|
11877
|
+
name: "embedding-index-failures",
|
|
11878
|
+
up: up123,
|
|
11879
|
+
artifacts: { tables: ["embedding_index_failures"] }
|
|
11850
11880
|
}
|
|
11851
11881
|
];
|
|
11852
11882
|
var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
|
|
@@ -19230,7 +19260,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
|
|
|
19230
19260
|
return true;
|
|
19231
19261
|
return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
|
|
19232
19262
|
}
|
|
19233
|
-
function
|
|
19263
|
+
function up124(db) {
|
|
19234
19264
|
db.exec(`
|
|
19235
19265
|
CREATE TABLE IF NOT EXISTS schema_migrations (
|
|
19236
19266
|
version INTEGER PRIMARY KEY,
|
|
@@ -19673,7 +19703,7 @@ function up1110(db) {
|
|
|
19673
19703
|
ON session_scores(session_key);
|
|
19674
19704
|
`);
|
|
19675
19705
|
}
|
|
19676
|
-
function
|
|
19706
|
+
function up125(db) {
|
|
19677
19707
|
db.exec(`
|
|
19678
19708
|
CREATE TABLE IF NOT EXISTS scheduled_tasks (
|
|
19679
19709
|
id TEXT PRIMARY KEY,
|
|
@@ -23115,11 +23145,35 @@ function up1222(db) {
|
|
|
23115
23145
|
}
|
|
23116
23146
|
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)");
|
|
23117
23147
|
}
|
|
23148
|
+
function up1232(db) {
|
|
23149
|
+
db.exec(`
|
|
23150
|
+
CREATE TABLE IF NOT EXISTS embedding_index_failures (
|
|
23151
|
+
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
23152
|
+
content_hash TEXT NOT NULL,
|
|
23153
|
+
source_type TEXT NOT NULL,
|
|
23154
|
+
source_id TEXT NOT NULL,
|
|
23155
|
+
agent_id TEXT,
|
|
23156
|
+
target_fingerprint TEXT NOT NULL,
|
|
23157
|
+
provider TEXT NOT NULL,
|
|
23158
|
+
model TEXT NOT NULL,
|
|
23159
|
+
failure_class TEXT NOT NULL CHECK (failure_class IN ('context_limit', 'invalid_input')),
|
|
23160
|
+
attempts INTEGER NOT NULL DEFAULT 1,
|
|
23161
|
+
retry_policy TEXT NOT NULL DEFAULT 'quarantined',
|
|
23162
|
+
first_failed_at TEXT NOT NULL,
|
|
23163
|
+
last_failed_at TEXT NOT NULL,
|
|
23164
|
+
UNIQUE(content_hash, target_fingerprint)
|
|
23165
|
+
);
|
|
23166
|
+
CREATE INDEX IF NOT EXISTS idx_embedding_index_failures_target
|
|
23167
|
+
ON embedding_index_failures(target_fingerprint, failure_class, last_failed_at);
|
|
23168
|
+
CREATE INDEX IF NOT EXISTS idx_embedding_index_failures_source
|
|
23169
|
+
ON embedding_index_failures(source_type, source_id);
|
|
23170
|
+
`);
|
|
23171
|
+
}
|
|
23118
23172
|
var MIGRATIONS2 = [
|
|
23119
23173
|
{
|
|
23120
23174
|
version: 1,
|
|
23121
23175
|
name: "baseline",
|
|
23122
|
-
up:
|
|
23176
|
+
up: up124,
|
|
23123
23177
|
artifacts: { tables: ["memories", "conversations", "embeddings"] }
|
|
23124
23178
|
},
|
|
23125
23179
|
{
|
|
@@ -23191,7 +23245,7 @@ var MIGRATIONS2 = [
|
|
|
23191
23245
|
{
|
|
23192
23246
|
version: 12,
|
|
23193
23247
|
name: "scheduled-tasks",
|
|
23194
|
-
up:
|
|
23248
|
+
up: up125,
|
|
23195
23249
|
artifacts: { tables: ["scheduled_tasks", "task_runs"] }
|
|
23196
23250
|
},
|
|
23197
23251
|
{
|
|
@@ -24109,6 +24163,12 @@ var MIGRATIONS2 = [
|
|
|
24109
24163
|
{ table: "dreaming_evidence_exclusions", column: "last_requeued_at" }
|
|
24110
24164
|
]
|
|
24111
24165
|
}
|
|
24166
|
+
},
|
|
24167
|
+
{
|
|
24168
|
+
version: 123,
|
|
24169
|
+
name: "embedding-index-failures",
|
|
24170
|
+
up: up1232,
|
|
24171
|
+
artifacts: { tables: ["embedding_index_failures"] }
|
|
24112
24172
|
}
|
|
24113
24173
|
];
|
|
24114
24174
|
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.192.
|
|
3
|
+
"version": "0.192.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.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",
|