@signetai/connector-claude-code 0.177.0 → 0.178.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 +54 -8
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -10387,6 +10387,18 @@ function up110(db) {
|
|
|
10387
10387
|
ON memory_entity_mentions(entity_id, memory_id);
|
|
10388
10388
|
`);
|
|
10389
10389
|
}
|
|
10390
|
+
function hasColumn19(db, table, column) {
|
|
10391
|
+
const rows = db.prepare(`PRAGMA table_info(${table})`).all();
|
|
10392
|
+
return rows.some((row) => row.name === column);
|
|
10393
|
+
}
|
|
10394
|
+
var COLUMNS2 = ["first_remember_at", "first_recall_at"];
|
|
10395
|
+
function up111(db) {
|
|
10396
|
+
for (const column of COLUMNS2) {
|
|
10397
|
+
if (!hasColumn19(db, "telemetry_install", column)) {
|
|
10398
|
+
db.exec(`ALTER TABLE telemetry_install ADD COLUMN ${column} TEXT`);
|
|
10399
|
+
}
|
|
10400
|
+
}
|
|
10401
|
+
}
|
|
10390
10402
|
var MIGRATIONS = [
|
|
10391
10403
|
{
|
|
10392
10404
|
version: 1,
|
|
@@ -11262,6 +11274,17 @@ var MIGRATIONS = [
|
|
|
11262
11274
|
version: 110,
|
|
11263
11275
|
name: "memory-mention-join-index",
|
|
11264
11276
|
up: up110
|
|
11277
|
+
},
|
|
11278
|
+
{
|
|
11279
|
+
version: 111,
|
|
11280
|
+
name: "telemetry-first-use",
|
|
11281
|
+
up: up111,
|
|
11282
|
+
artifacts: {
|
|
11283
|
+
columns: [
|
|
11284
|
+
{ table: "telemetry_install", column: "first_remember_at" },
|
|
11285
|
+
{ table: "telemetry_install", column: "first_recall_at" }
|
|
11286
|
+
]
|
|
11287
|
+
}
|
|
11265
11288
|
}
|
|
11266
11289
|
];
|
|
11267
11290
|
var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
|
|
@@ -18551,7 +18574,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
|
|
|
18551
18574
|
return true;
|
|
18552
18575
|
return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
|
|
18553
18576
|
}
|
|
18554
|
-
function
|
|
18577
|
+
function up112(db) {
|
|
18555
18578
|
db.exec(`
|
|
18556
18579
|
CREATE TABLE IF NOT EXISTS schema_migrations (
|
|
18557
18580
|
version INTEGER PRIMARY KEY,
|
|
@@ -18640,12 +18663,12 @@ function up111(db) {
|
|
|
18640
18663
|
} catch {}
|
|
18641
18664
|
createMemoriesFts2(db);
|
|
18642
18665
|
}
|
|
18643
|
-
function
|
|
18666
|
+
function hasColumn20(db, table, column) {
|
|
18644
18667
|
const rows = db.prepare(`PRAGMA table_info(${table})`).all();
|
|
18645
18668
|
return rows.some((r) => r.name === column);
|
|
18646
18669
|
}
|
|
18647
18670
|
function addColumnIfMissing23(db, table, column, definition) {
|
|
18648
|
-
if (!
|
|
18671
|
+
if (!hasColumn20(db, table, column)) {
|
|
18649
18672
|
db.exec(`ALTER TABLE ${table} ADD COLUMN ${column} ${definition}`);
|
|
18650
18673
|
}
|
|
18651
18674
|
}
|
|
@@ -18974,7 +18997,7 @@ function up1010(db) {
|
|
|
18974
18997
|
)
|
|
18975
18998
|
`);
|
|
18976
18999
|
}
|
|
18977
|
-
function
|
|
19000
|
+
function up113(db) {
|
|
18978
19001
|
db.exec(`
|
|
18979
19002
|
CREATE TABLE IF NOT EXISTS session_scores (
|
|
18980
19003
|
id TEXT PRIMARY KEY,
|
|
@@ -21220,9 +21243,9 @@ function hasColumn112(db, table, column) {
|
|
|
21220
21243
|
const rows = db.prepare(`PRAGMA table_info(${table})`).all();
|
|
21221
21244
|
return rows.some((row) => row.name === column);
|
|
21222
21245
|
}
|
|
21223
|
-
var
|
|
21246
|
+
var COLUMNS3 = ["harness", "session_id", "tool_use_id", "cwd", "origin", "args"];
|
|
21224
21247
|
function up822(db) {
|
|
21225
|
-
for (const column of
|
|
21248
|
+
for (const column of COLUMNS3) {
|
|
21226
21249
|
if (!hasColumn112(db, "skill_invocations", column)) {
|
|
21227
21250
|
db.exec(`ALTER TABLE skill_invocations ADD COLUMN ${column} TEXT`);
|
|
21228
21251
|
}
|
|
@@ -21974,11 +21997,23 @@ function up1102(db) {
|
|
|
21974
21997
|
ON memory_entity_mentions(entity_id, memory_id);
|
|
21975
21998
|
`);
|
|
21976
21999
|
}
|
|
22000
|
+
function hasColumn192(db, table, column) {
|
|
22001
|
+
const rows = db.prepare(`PRAGMA table_info(${table})`).all();
|
|
22002
|
+
return rows.some((row) => row.name === column);
|
|
22003
|
+
}
|
|
22004
|
+
var COLUMNS22 = ["first_remember_at", "first_recall_at"];
|
|
22005
|
+
function up1112(db) {
|
|
22006
|
+
for (const column of COLUMNS22) {
|
|
22007
|
+
if (!hasColumn192(db, "telemetry_install", column)) {
|
|
22008
|
+
db.exec(`ALTER TABLE telemetry_install ADD COLUMN ${column} TEXT`);
|
|
22009
|
+
}
|
|
22010
|
+
}
|
|
22011
|
+
}
|
|
21977
22012
|
var MIGRATIONS2 = [
|
|
21978
22013
|
{
|
|
21979
22014
|
version: 1,
|
|
21980
22015
|
name: "baseline",
|
|
21981
|
-
up:
|
|
22016
|
+
up: up112,
|
|
21982
22017
|
artifacts: { tables: ["memories", "conversations", "embeddings"] }
|
|
21983
22018
|
},
|
|
21984
22019
|
{
|
|
@@ -22044,7 +22079,7 @@ var MIGRATIONS2 = [
|
|
|
22044
22079
|
{
|
|
22045
22080
|
version: 11,
|
|
22046
22081
|
name: "session-scores",
|
|
22047
|
-
up:
|
|
22082
|
+
up: up113,
|
|
22048
22083
|
artifacts: { tables: ["session_scores"] }
|
|
22049
22084
|
},
|
|
22050
22085
|
{
|
|
@@ -22849,6 +22884,17 @@ var MIGRATIONS2 = [
|
|
|
22849
22884
|
version: 110,
|
|
22850
22885
|
name: "memory-mention-join-index",
|
|
22851
22886
|
up: up1102
|
|
22887
|
+
},
|
|
22888
|
+
{
|
|
22889
|
+
version: 111,
|
|
22890
|
+
name: "telemetry-first-use",
|
|
22891
|
+
up: up1112,
|
|
22892
|
+
artifacts: {
|
|
22893
|
+
columns: [
|
|
22894
|
+
{ table: "telemetry_install", column: "first_remember_at" },
|
|
22895
|
+
{ table: "telemetry_install", column: "first_recall_at" }
|
|
22896
|
+
]
|
|
22897
|
+
}
|
|
22852
22898
|
}
|
|
22853
22899
|
];
|
|
22854
22900
|
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-claude-code",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.178.0",
|
|
4
4
|
"description": "Signet connector for Claude Code (Anthropic 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.178.0",
|
|
28
|
+
"@signetai/core": "0.178.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/node": "^22.0.0",
|