@signetai/connector-codex 0.151.0 → 0.152.1
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 +144 -2
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -9898,6 +9898,61 @@ function up88(db) {
|
|
|
9898
9898
|
ON transcript_capture_jobs(agent_id, session_id, status);
|
|
9899
9899
|
`);
|
|
9900
9900
|
}
|
|
9901
|
+
function up89(db) {
|
|
9902
|
+
db.exec(`
|
|
9903
|
+
CREATE TABLE IF NOT EXISTS job_cancellations (
|
|
9904
|
+
id TEXT PRIMARY KEY,
|
|
9905
|
+
source_table TEXT NOT NULL,
|
|
9906
|
+
source_id TEXT NOT NULL,
|
|
9907
|
+
status_before TEXT NOT NULL,
|
|
9908
|
+
payload_json TEXT NOT NULL,
|
|
9909
|
+
reason TEXT,
|
|
9910
|
+
actor TEXT NOT NULL,
|
|
9911
|
+
actor_type TEXT NOT NULL,
|
|
9912
|
+
request_id TEXT,
|
|
9913
|
+
created_at TEXT NOT NULL
|
|
9914
|
+
)
|
|
9915
|
+
`);
|
|
9916
|
+
if (!indexExists(db, "job_cancellations", "idx_job_cancellations_source")) {
|
|
9917
|
+
db.exec(`CREATE INDEX IF NOT EXISTS idx_job_cancellations_source
|
|
9918
|
+
ON job_cancellations(source_table, source_id)`);
|
|
9919
|
+
}
|
|
9920
|
+
if (!indexExists(db, "job_cancellations", "idx_job_cancellations_created_at")) {
|
|
9921
|
+
db.exec(`CREATE INDEX IF NOT EXISTS idx_job_cancellations_created_at
|
|
9922
|
+
ON job_cancellations(created_at)`);
|
|
9923
|
+
}
|
|
9924
|
+
}
|
|
9925
|
+
function indexExists(db, table, indexName) {
|
|
9926
|
+
const rows = db.prepare(`PRAGMA index_list(${table})`).all();
|
|
9927
|
+
return rows.some((row) => row.name === indexName);
|
|
9928
|
+
}
|
|
9929
|
+
function up90(db) {
|
|
9930
|
+
db.exec(`
|
|
9931
|
+
CREATE TABLE IF NOT EXISTS job_archive (
|
|
9932
|
+
id TEXT PRIMARY KEY,
|
|
9933
|
+
source_table TEXT NOT NULL,
|
|
9934
|
+
source_id TEXT NOT NULL,
|
|
9935
|
+
status TEXT NOT NULL,
|
|
9936
|
+
payload_json TEXT NOT NULL,
|
|
9937
|
+
archived_at TEXT NOT NULL,
|
|
9938
|
+
archived_by TEXT NOT NULL,
|
|
9939
|
+
reason TEXT,
|
|
9940
|
+
created_at TEXT NOT NULL
|
|
9941
|
+
)
|
|
9942
|
+
`);
|
|
9943
|
+
if (!indexExists2(db, "job_archive", "idx_job_archive_source")) {
|
|
9944
|
+
db.exec(`CREATE INDEX IF NOT EXISTS idx_job_archive_source
|
|
9945
|
+
ON job_archive(source_table, source_id)`);
|
|
9946
|
+
}
|
|
9947
|
+
if (!indexExists2(db, "job_archive", "idx_job_archive_archived_at")) {
|
|
9948
|
+
db.exec(`CREATE INDEX IF NOT EXISTS idx_job_archive_archived_at
|
|
9949
|
+
ON job_archive(archived_at)`);
|
|
9950
|
+
}
|
|
9951
|
+
}
|
|
9952
|
+
function indexExists2(db, table, indexName) {
|
|
9953
|
+
const rows = db.prepare(`PRAGMA index_list(${table})`).all();
|
|
9954
|
+
return rows.some((row) => row.name === indexName);
|
|
9955
|
+
}
|
|
9901
9956
|
var MIGRATIONS = [
|
|
9902
9957
|
{
|
|
9903
9958
|
version: 1,
|
|
@@ -10617,6 +10672,22 @@ var MIGRATIONS = [
|
|
|
10617
10672
|
artifacts: {
|
|
10618
10673
|
tables: ["transcript_recovery_files"]
|
|
10619
10674
|
}
|
|
10675
|
+
},
|
|
10676
|
+
{
|
|
10677
|
+
version: 89,
|
|
10678
|
+
name: "job-cancellations",
|
|
10679
|
+
up: up89,
|
|
10680
|
+
artifacts: {
|
|
10681
|
+
tables: ["job_cancellations"]
|
|
10682
|
+
}
|
|
10683
|
+
},
|
|
10684
|
+
{
|
|
10685
|
+
version: 90,
|
|
10686
|
+
name: "job-archive",
|
|
10687
|
+
up: up90,
|
|
10688
|
+
artifacts: {
|
|
10689
|
+
tables: ["job_archive"]
|
|
10690
|
+
}
|
|
10620
10691
|
}
|
|
10621
10692
|
];
|
|
10622
10693
|
var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
|
|
@@ -17975,7 +18046,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
|
|
|
17975
18046
|
return true;
|
|
17976
18047
|
return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
|
|
17977
18048
|
}
|
|
17978
|
-
function
|
|
18049
|
+
function up91(db) {
|
|
17979
18050
|
db.exec(`
|
|
17980
18051
|
CREATE TABLE IF NOT EXISTS schema_migrations (
|
|
17981
18052
|
version INTEGER PRIMARY KEY,
|
|
@@ -20935,11 +21006,66 @@ function up882(db) {
|
|
|
20935
21006
|
ON transcript_capture_jobs(agent_id, session_id, status);
|
|
20936
21007
|
`);
|
|
20937
21008
|
}
|
|
21009
|
+
function up892(db) {
|
|
21010
|
+
db.exec(`
|
|
21011
|
+
CREATE TABLE IF NOT EXISTS job_cancellations (
|
|
21012
|
+
id TEXT PRIMARY KEY,
|
|
21013
|
+
source_table TEXT NOT NULL,
|
|
21014
|
+
source_id TEXT NOT NULL,
|
|
21015
|
+
status_before TEXT NOT NULL,
|
|
21016
|
+
payload_json TEXT NOT NULL,
|
|
21017
|
+
reason TEXT,
|
|
21018
|
+
actor TEXT NOT NULL,
|
|
21019
|
+
actor_type TEXT NOT NULL,
|
|
21020
|
+
request_id TEXT,
|
|
21021
|
+
created_at TEXT NOT NULL
|
|
21022
|
+
)
|
|
21023
|
+
`);
|
|
21024
|
+
if (!indexExists3(db, "job_cancellations", "idx_job_cancellations_source")) {
|
|
21025
|
+
db.exec(`CREATE INDEX IF NOT EXISTS idx_job_cancellations_source
|
|
21026
|
+
ON job_cancellations(source_table, source_id)`);
|
|
21027
|
+
}
|
|
21028
|
+
if (!indexExists3(db, "job_cancellations", "idx_job_cancellations_created_at")) {
|
|
21029
|
+
db.exec(`CREATE INDEX IF NOT EXISTS idx_job_cancellations_created_at
|
|
21030
|
+
ON job_cancellations(created_at)`);
|
|
21031
|
+
}
|
|
21032
|
+
}
|
|
21033
|
+
function indexExists3(db, table, indexName) {
|
|
21034
|
+
const rows = db.prepare(`PRAGMA index_list(${table})`).all();
|
|
21035
|
+
return rows.some((row) => row.name === indexName);
|
|
21036
|
+
}
|
|
21037
|
+
function up902(db) {
|
|
21038
|
+
db.exec(`
|
|
21039
|
+
CREATE TABLE IF NOT EXISTS job_archive (
|
|
21040
|
+
id TEXT PRIMARY KEY,
|
|
21041
|
+
source_table TEXT NOT NULL,
|
|
21042
|
+
source_id TEXT NOT NULL,
|
|
21043
|
+
status TEXT NOT NULL,
|
|
21044
|
+
payload_json TEXT NOT NULL,
|
|
21045
|
+
archived_at TEXT NOT NULL,
|
|
21046
|
+
archived_by TEXT NOT NULL,
|
|
21047
|
+
reason TEXT,
|
|
21048
|
+
created_at TEXT NOT NULL
|
|
21049
|
+
)
|
|
21050
|
+
`);
|
|
21051
|
+
if (!indexExists22(db, "job_archive", "idx_job_archive_source")) {
|
|
21052
|
+
db.exec(`CREATE INDEX IF NOT EXISTS idx_job_archive_source
|
|
21053
|
+
ON job_archive(source_table, source_id)`);
|
|
21054
|
+
}
|
|
21055
|
+
if (!indexExists22(db, "job_archive", "idx_job_archive_archived_at")) {
|
|
21056
|
+
db.exec(`CREATE INDEX IF NOT EXISTS idx_job_archive_archived_at
|
|
21057
|
+
ON job_archive(archived_at)`);
|
|
21058
|
+
}
|
|
21059
|
+
}
|
|
21060
|
+
function indexExists22(db, table, indexName) {
|
|
21061
|
+
const rows = db.prepare(`PRAGMA index_list(${table})`).all();
|
|
21062
|
+
return rows.some((row) => row.name === indexName);
|
|
21063
|
+
}
|
|
20938
21064
|
var MIGRATIONS2 = [
|
|
20939
21065
|
{
|
|
20940
21066
|
version: 1,
|
|
20941
21067
|
name: "baseline",
|
|
20942
|
-
up:
|
|
21068
|
+
up: up91,
|
|
20943
21069
|
artifacts: { tables: ["memories", "conversations", "embeddings"] }
|
|
20944
21070
|
},
|
|
20945
21071
|
{
|
|
@@ -21654,6 +21780,22 @@ var MIGRATIONS2 = [
|
|
|
21654
21780
|
artifacts: {
|
|
21655
21781
|
tables: ["transcript_recovery_files"]
|
|
21656
21782
|
}
|
|
21783
|
+
},
|
|
21784
|
+
{
|
|
21785
|
+
version: 89,
|
|
21786
|
+
name: "job-cancellations",
|
|
21787
|
+
up: up892,
|
|
21788
|
+
artifacts: {
|
|
21789
|
+
tables: ["job_cancellations"]
|
|
21790
|
+
}
|
|
21791
|
+
},
|
|
21792
|
+
{
|
|
21793
|
+
version: 90,
|
|
21794
|
+
name: "job-archive",
|
|
21795
|
+
up: up902,
|
|
21796
|
+
artifacts: {
|
|
21797
|
+
tables: ["job_archive"]
|
|
21798
|
+
}
|
|
21657
21799
|
}
|
|
21658
21800
|
];
|
|
21659
21801
|
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.
|
|
3
|
+
"version": "0.152.1",
|
|
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.
|
|
28
|
-
"@signetai/core": "0.
|
|
27
|
+
"@signetai/connector-base": "0.152.1",
|
|
28
|
+
"@signetai/core": "0.152.1"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/node": "^22.0.0",
|