@signetai/connector-codex 0.147.12 → 0.147.18
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 +65 -23
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -9867,6 +9867,19 @@ function up86(db) {
|
|
|
9867
9867
|
ON summary_jobs(agent_id, session_key, content_hash)
|
|
9868
9868
|
`);
|
|
9869
9869
|
}
|
|
9870
|
+
function addColumnIfMissing22(db, table, column, definition) {
|
|
9871
|
+
const cols = db.prepare(`PRAGMA table_info(${table})`).all();
|
|
9872
|
+
if (cols.some((col) => col.name === column))
|
|
9873
|
+
return;
|
|
9874
|
+
db.exec(`ALTER TABLE ${table} ADD COLUMN ${column} ${definition}`);
|
|
9875
|
+
}
|
|
9876
|
+
function up87(db) {
|
|
9877
|
+
addColumnIfMissing22(db, "summary_jobs", "boundary_reason", "TEXT");
|
|
9878
|
+
db.exec(`
|
|
9879
|
+
CREATE INDEX IF NOT EXISTS idx_summary_jobs_boundary_reason
|
|
9880
|
+
ON summary_jobs(agent_id, session_key, boundary_reason)
|
|
9881
|
+
`);
|
|
9882
|
+
}
|
|
9870
9883
|
var MIGRATIONS = [
|
|
9871
9884
|
{
|
|
9872
9885
|
version: 1,
|
|
@@ -10570,6 +10583,14 @@ var MIGRATIONS = [
|
|
|
10570
10583
|
artifacts: {
|
|
10571
10584
|
columns: [{ table: "summary_jobs", column: "content_hash" }]
|
|
10572
10585
|
}
|
|
10586
|
+
},
|
|
10587
|
+
{
|
|
10588
|
+
version: 87,
|
|
10589
|
+
name: "summary-jobs-boundary-reason",
|
|
10590
|
+
up: up87,
|
|
10591
|
+
artifacts: {
|
|
10592
|
+
columns: [{ table: "summary_jobs", column: "boundary_reason" }]
|
|
10593
|
+
}
|
|
10573
10594
|
}
|
|
10574
10595
|
];
|
|
10575
10596
|
var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
|
|
@@ -17920,7 +17941,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
|
|
|
17920
17941
|
return true;
|
|
17921
17942
|
return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
|
|
17922
17943
|
}
|
|
17923
|
-
function
|
|
17944
|
+
function up88(db) {
|
|
17924
17945
|
db.exec(`
|
|
17925
17946
|
CREATE TABLE IF NOT EXISTS schema_migrations (
|
|
17926
17947
|
version INTEGER PRIMARY KEY,
|
|
@@ -18013,27 +18034,27 @@ function hasColumn13(db, table, column) {
|
|
|
18013
18034
|
const rows = db.prepare(`PRAGMA table_info(${table})`).all();
|
|
18014
18035
|
return rows.some((r) => r.name === column);
|
|
18015
18036
|
}
|
|
18016
|
-
function
|
|
18037
|
+
function addColumnIfMissing23(db, table, column, definition) {
|
|
18017
18038
|
if (!hasColumn13(db, table, column)) {
|
|
18018
18039
|
db.exec(`ALTER TABLE ${table} ADD COLUMN ${column} ${definition}`);
|
|
18019
18040
|
}
|
|
18020
18041
|
}
|
|
18021
18042
|
function up210(db) {
|
|
18022
|
-
|
|
18023
|
-
|
|
18024
|
-
|
|
18025
|
-
|
|
18026
|
-
|
|
18027
|
-
|
|
18028
|
-
|
|
18029
|
-
|
|
18030
|
-
|
|
18031
|
-
|
|
18032
|
-
|
|
18033
|
-
|
|
18034
|
-
|
|
18035
|
-
|
|
18036
|
-
|
|
18043
|
+
addColumnIfMissing23(db, "memories", "content_hash", "TEXT");
|
|
18044
|
+
addColumnIfMissing23(db, "memories", "normalized_content", "TEXT");
|
|
18045
|
+
addColumnIfMissing23(db, "memories", "is_deleted", "INTEGER DEFAULT 0");
|
|
18046
|
+
addColumnIfMissing23(db, "memories", "deleted_at", "TEXT");
|
|
18047
|
+
addColumnIfMissing23(db, "memories", "extraction_status", "TEXT DEFAULT 'none'");
|
|
18048
|
+
addColumnIfMissing23(db, "memories", "embedding_model", "TEXT");
|
|
18049
|
+
addColumnIfMissing23(db, "memories", "extraction_model", "TEXT");
|
|
18050
|
+
addColumnIfMissing23(db, "memories", "update_count", "INTEGER DEFAULT 0");
|
|
18051
|
+
addColumnIfMissing23(db, "memories", "who", "TEXT");
|
|
18052
|
+
addColumnIfMissing23(db, "memories", "why", "TEXT");
|
|
18053
|
+
addColumnIfMissing23(db, "memories", "project", "TEXT");
|
|
18054
|
+
addColumnIfMissing23(db, "memories", "pinned", "INTEGER DEFAULT 0");
|
|
18055
|
+
addColumnIfMissing23(db, "memories", "importance", "REAL DEFAULT 0.5");
|
|
18056
|
+
addColumnIfMissing23(db, "memories", "last_accessed", "TEXT");
|
|
18057
|
+
addColumnIfMissing23(db, "memories", "access_count", "INTEGER DEFAULT 0");
|
|
18037
18058
|
db.exec(`
|
|
18038
18059
|
CREATE TABLE IF NOT EXISTS memory_history (
|
|
18039
18060
|
id TEXT PRIMARY KEY,
|
|
@@ -18129,7 +18150,7 @@ function up210(db) {
|
|
|
18129
18150
|
ON memory_entity_mentions(entity_id);
|
|
18130
18151
|
`);
|
|
18131
18152
|
}
|
|
18132
|
-
function
|
|
18153
|
+
function addColumnIfMissing24(db, table, column, definition) {
|
|
18133
18154
|
const rows = db.prepare(`PRAGMA table_info(${table})`).all();
|
|
18134
18155
|
if (rows.some((r) => r.name === column))
|
|
18135
18156
|
return false;
|
|
@@ -18137,8 +18158,8 @@ function addColumnIfMissing23(db, table, column, definition) {
|
|
|
18137
18158
|
return true;
|
|
18138
18159
|
}
|
|
18139
18160
|
function up310(db) {
|
|
18140
|
-
|
|
18141
|
-
|
|
18161
|
+
addColumnIfMissing24(db, "memories", "why", "TEXT");
|
|
18162
|
+
addColumnIfMissing24(db, "memories", "project", "TEXT");
|
|
18142
18163
|
db.exec(`DROP INDEX IF EXISTS idx_memories_content_hash`);
|
|
18143
18164
|
db.exec(`
|
|
18144
18165
|
UPDATE memories
|
|
@@ -18295,7 +18316,7 @@ function up710(db) {
|
|
|
18295
18316
|
db.exec("ALTER TABLE memory_jobs ADD COLUMN document_id TEXT");
|
|
18296
18317
|
}
|
|
18297
18318
|
}
|
|
18298
|
-
function
|
|
18319
|
+
function up89(db) {
|
|
18299
18320
|
const tables = db.prepare("SELECT name FROM sqlite_master WHERE type='table' AND name='embeddings'").all();
|
|
18300
18321
|
if (tables.length === 0)
|
|
18301
18322
|
return;
|
|
@@ -20849,11 +20870,24 @@ function up862(db) {
|
|
|
20849
20870
|
ON summary_jobs(agent_id, session_key, content_hash)
|
|
20850
20871
|
`);
|
|
20851
20872
|
}
|
|
20873
|
+
function addColumnIfMissing222(db, table, column, definition) {
|
|
20874
|
+
const cols = db.prepare(`PRAGMA table_info(${table})`).all();
|
|
20875
|
+
if (cols.some((col) => col.name === column))
|
|
20876
|
+
return;
|
|
20877
|
+
db.exec(`ALTER TABLE ${table} ADD COLUMN ${column} ${definition}`);
|
|
20878
|
+
}
|
|
20879
|
+
function up872(db) {
|
|
20880
|
+
addColumnIfMissing222(db, "summary_jobs", "boundary_reason", "TEXT");
|
|
20881
|
+
db.exec(`
|
|
20882
|
+
CREATE INDEX IF NOT EXISTS idx_summary_jobs_boundary_reason
|
|
20883
|
+
ON summary_jobs(agent_id, session_key, boundary_reason)
|
|
20884
|
+
`);
|
|
20885
|
+
}
|
|
20852
20886
|
var MIGRATIONS2 = [
|
|
20853
20887
|
{
|
|
20854
20888
|
version: 1,
|
|
20855
20889
|
name: "baseline",
|
|
20856
|
-
up:
|
|
20890
|
+
up: up88,
|
|
20857
20891
|
artifacts: { tables: ["memories", "conversations", "embeddings"] }
|
|
20858
20892
|
},
|
|
20859
20893
|
{
|
|
@@ -20902,7 +20936,7 @@ var MIGRATIONS2 = [
|
|
|
20902
20936
|
{
|
|
20903
20937
|
version: 8,
|
|
20904
20938
|
name: "embeddings-unique-hash",
|
|
20905
|
-
up:
|
|
20939
|
+
up: up89
|
|
20906
20940
|
},
|
|
20907
20941
|
{
|
|
20908
20942
|
version: 9,
|
|
@@ -21552,6 +21586,14 @@ var MIGRATIONS2 = [
|
|
|
21552
21586
|
artifacts: {
|
|
21553
21587
|
columns: [{ table: "summary_jobs", column: "content_hash" }]
|
|
21554
21588
|
}
|
|
21589
|
+
},
|
|
21590
|
+
{
|
|
21591
|
+
version: 87,
|
|
21592
|
+
name: "summary-jobs-boundary-reason",
|
|
21593
|
+
up: up872,
|
|
21594
|
+
artifacts: {
|
|
21595
|
+
columns: [{ table: "summary_jobs", column: "boundary_reason" }]
|
|
21596
|
+
}
|
|
21555
21597
|
}
|
|
21556
21598
|
];
|
|
21557
21599
|
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.147.
|
|
3
|
+
"version": "0.147.18",
|
|
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.147.
|
|
28
|
-
"@signetai/core": "0.147.
|
|
27
|
+
"@signetai/connector-base": "0.147.18",
|
|
28
|
+
"@signetai/core": "0.147.18"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/node": "^22.0.0",
|