@signetai/connector-forge 0.151.0 → 0.152.0
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
|
@@ -9909,6 +9909,61 @@ function up88(db) {
|
|
|
9909
9909
|
ON transcript_capture_jobs(agent_id, session_id, status);
|
|
9910
9910
|
`);
|
|
9911
9911
|
}
|
|
9912
|
+
function up89(db) {
|
|
9913
|
+
db.exec(`
|
|
9914
|
+
CREATE TABLE IF NOT EXISTS job_cancellations (
|
|
9915
|
+
id TEXT PRIMARY KEY,
|
|
9916
|
+
source_table TEXT NOT NULL,
|
|
9917
|
+
source_id TEXT NOT NULL,
|
|
9918
|
+
status_before TEXT NOT NULL,
|
|
9919
|
+
payload_json TEXT NOT NULL,
|
|
9920
|
+
reason TEXT,
|
|
9921
|
+
actor TEXT NOT NULL,
|
|
9922
|
+
actor_type TEXT NOT NULL,
|
|
9923
|
+
request_id TEXT,
|
|
9924
|
+
created_at TEXT NOT NULL
|
|
9925
|
+
)
|
|
9926
|
+
`);
|
|
9927
|
+
if (!indexExists(db, "job_cancellations", "idx_job_cancellations_source")) {
|
|
9928
|
+
db.exec(`CREATE INDEX IF NOT EXISTS idx_job_cancellations_source
|
|
9929
|
+
ON job_cancellations(source_table, source_id)`);
|
|
9930
|
+
}
|
|
9931
|
+
if (!indexExists(db, "job_cancellations", "idx_job_cancellations_created_at")) {
|
|
9932
|
+
db.exec(`CREATE INDEX IF NOT EXISTS idx_job_cancellations_created_at
|
|
9933
|
+
ON job_cancellations(created_at)`);
|
|
9934
|
+
}
|
|
9935
|
+
}
|
|
9936
|
+
function indexExists(db, table, indexName) {
|
|
9937
|
+
const rows = db.prepare(`PRAGMA index_list(${table})`).all();
|
|
9938
|
+
return rows.some((row) => row.name === indexName);
|
|
9939
|
+
}
|
|
9940
|
+
function up90(db) {
|
|
9941
|
+
db.exec(`
|
|
9942
|
+
CREATE TABLE IF NOT EXISTS job_archive (
|
|
9943
|
+
id TEXT PRIMARY KEY,
|
|
9944
|
+
source_table TEXT NOT NULL,
|
|
9945
|
+
source_id TEXT NOT NULL,
|
|
9946
|
+
status TEXT NOT NULL,
|
|
9947
|
+
payload_json TEXT NOT NULL,
|
|
9948
|
+
archived_at TEXT NOT NULL,
|
|
9949
|
+
archived_by TEXT NOT NULL,
|
|
9950
|
+
reason TEXT,
|
|
9951
|
+
created_at TEXT NOT NULL
|
|
9952
|
+
)
|
|
9953
|
+
`);
|
|
9954
|
+
if (!indexExists2(db, "job_archive", "idx_job_archive_source")) {
|
|
9955
|
+
db.exec(`CREATE INDEX IF NOT EXISTS idx_job_archive_source
|
|
9956
|
+
ON job_archive(source_table, source_id)`);
|
|
9957
|
+
}
|
|
9958
|
+
if (!indexExists2(db, "job_archive", "idx_job_archive_archived_at")) {
|
|
9959
|
+
db.exec(`CREATE INDEX IF NOT EXISTS idx_job_archive_archived_at
|
|
9960
|
+
ON job_archive(archived_at)`);
|
|
9961
|
+
}
|
|
9962
|
+
}
|
|
9963
|
+
function indexExists2(db, table, indexName) {
|
|
9964
|
+
const rows = db.prepare(`PRAGMA index_list(${table})`).all();
|
|
9965
|
+
return rows.some((row) => row.name === indexName);
|
|
9966
|
+
}
|
|
9912
9967
|
var MIGRATIONS = [
|
|
9913
9968
|
{
|
|
9914
9969
|
version: 1,
|
|
@@ -10628,6 +10683,22 @@ var MIGRATIONS = [
|
|
|
10628
10683
|
artifacts: {
|
|
10629
10684
|
tables: ["transcript_recovery_files"]
|
|
10630
10685
|
}
|
|
10686
|
+
},
|
|
10687
|
+
{
|
|
10688
|
+
version: 89,
|
|
10689
|
+
name: "job-cancellations",
|
|
10690
|
+
up: up89,
|
|
10691
|
+
artifacts: {
|
|
10692
|
+
tables: ["job_cancellations"]
|
|
10693
|
+
}
|
|
10694
|
+
},
|
|
10695
|
+
{
|
|
10696
|
+
version: 90,
|
|
10697
|
+
name: "job-archive",
|
|
10698
|
+
up: up90,
|
|
10699
|
+
artifacts: {
|
|
10700
|
+
tables: ["job_archive"]
|
|
10701
|
+
}
|
|
10631
10702
|
}
|
|
10632
10703
|
];
|
|
10633
10704
|
var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
|
|
@@ -18035,7 +18106,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
|
|
|
18035
18106
|
return true;
|
|
18036
18107
|
return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
|
|
18037
18108
|
}
|
|
18038
|
-
function
|
|
18109
|
+
function up91(db) {
|
|
18039
18110
|
db.exec(`
|
|
18040
18111
|
CREATE TABLE IF NOT EXISTS schema_migrations (
|
|
18041
18112
|
version INTEGER PRIMARY KEY,
|
|
@@ -20995,11 +21066,66 @@ function up882(db) {
|
|
|
20995
21066
|
ON transcript_capture_jobs(agent_id, session_id, status);
|
|
20996
21067
|
`);
|
|
20997
21068
|
}
|
|
21069
|
+
function up892(db) {
|
|
21070
|
+
db.exec(`
|
|
21071
|
+
CREATE TABLE IF NOT EXISTS job_cancellations (
|
|
21072
|
+
id TEXT PRIMARY KEY,
|
|
21073
|
+
source_table TEXT NOT NULL,
|
|
21074
|
+
source_id TEXT NOT NULL,
|
|
21075
|
+
status_before TEXT NOT NULL,
|
|
21076
|
+
payload_json TEXT NOT NULL,
|
|
21077
|
+
reason TEXT,
|
|
21078
|
+
actor TEXT NOT NULL,
|
|
21079
|
+
actor_type TEXT NOT NULL,
|
|
21080
|
+
request_id TEXT,
|
|
21081
|
+
created_at TEXT NOT NULL
|
|
21082
|
+
)
|
|
21083
|
+
`);
|
|
21084
|
+
if (!indexExists3(db, "job_cancellations", "idx_job_cancellations_source")) {
|
|
21085
|
+
db.exec(`CREATE INDEX IF NOT EXISTS idx_job_cancellations_source
|
|
21086
|
+
ON job_cancellations(source_table, source_id)`);
|
|
21087
|
+
}
|
|
21088
|
+
if (!indexExists3(db, "job_cancellations", "idx_job_cancellations_created_at")) {
|
|
21089
|
+
db.exec(`CREATE INDEX IF NOT EXISTS idx_job_cancellations_created_at
|
|
21090
|
+
ON job_cancellations(created_at)`);
|
|
21091
|
+
}
|
|
21092
|
+
}
|
|
21093
|
+
function indexExists3(db, table, indexName) {
|
|
21094
|
+
const rows = db.prepare(`PRAGMA index_list(${table})`).all();
|
|
21095
|
+
return rows.some((row) => row.name === indexName);
|
|
21096
|
+
}
|
|
21097
|
+
function up902(db) {
|
|
21098
|
+
db.exec(`
|
|
21099
|
+
CREATE TABLE IF NOT EXISTS job_archive (
|
|
21100
|
+
id TEXT PRIMARY KEY,
|
|
21101
|
+
source_table TEXT NOT NULL,
|
|
21102
|
+
source_id TEXT NOT NULL,
|
|
21103
|
+
status TEXT NOT NULL,
|
|
21104
|
+
payload_json TEXT NOT NULL,
|
|
21105
|
+
archived_at TEXT NOT NULL,
|
|
21106
|
+
archived_by TEXT NOT NULL,
|
|
21107
|
+
reason TEXT,
|
|
21108
|
+
created_at TEXT NOT NULL
|
|
21109
|
+
)
|
|
21110
|
+
`);
|
|
21111
|
+
if (!indexExists22(db, "job_archive", "idx_job_archive_source")) {
|
|
21112
|
+
db.exec(`CREATE INDEX IF NOT EXISTS idx_job_archive_source
|
|
21113
|
+
ON job_archive(source_table, source_id)`);
|
|
21114
|
+
}
|
|
21115
|
+
if (!indexExists22(db, "job_archive", "idx_job_archive_archived_at")) {
|
|
21116
|
+
db.exec(`CREATE INDEX IF NOT EXISTS idx_job_archive_archived_at
|
|
21117
|
+
ON job_archive(archived_at)`);
|
|
21118
|
+
}
|
|
21119
|
+
}
|
|
21120
|
+
function indexExists22(db, table, indexName) {
|
|
21121
|
+
const rows = db.prepare(`PRAGMA index_list(${table})`).all();
|
|
21122
|
+
return rows.some((row) => row.name === indexName);
|
|
21123
|
+
}
|
|
20998
21124
|
var MIGRATIONS2 = [
|
|
20999
21125
|
{
|
|
21000
21126
|
version: 1,
|
|
21001
21127
|
name: "baseline",
|
|
21002
|
-
up:
|
|
21128
|
+
up: up91,
|
|
21003
21129
|
artifacts: { tables: ["memories", "conversations", "embeddings"] }
|
|
21004
21130
|
},
|
|
21005
21131
|
{
|
|
@@ -21714,6 +21840,22 @@ var MIGRATIONS2 = [
|
|
|
21714
21840
|
artifacts: {
|
|
21715
21841
|
tables: ["transcript_recovery_files"]
|
|
21716
21842
|
}
|
|
21843
|
+
},
|
|
21844
|
+
{
|
|
21845
|
+
version: 89,
|
|
21846
|
+
name: "job-cancellations",
|
|
21847
|
+
up: up892,
|
|
21848
|
+
artifacts: {
|
|
21849
|
+
tables: ["job_cancellations"]
|
|
21850
|
+
}
|
|
21851
|
+
},
|
|
21852
|
+
{
|
|
21853
|
+
version: 90,
|
|
21854
|
+
name: "job-archive",
|
|
21855
|
+
up: up902,
|
|
21856
|
+
artifacts: {
|
|
21857
|
+
tables: ["job_archive"]
|
|
21858
|
+
}
|
|
21717
21859
|
}
|
|
21718
21860
|
];
|
|
21719
21861
|
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.
|
|
3
|
+
"version": "0.152.0",
|
|
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.
|
|
28
|
-
"@signetai/core": "0.
|
|
27
|
+
"@signetai/connector-base": "0.152.0",
|
|
28
|
+
"@signetai/core": "0.152.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/node": "^22.0.0",
|