@signetai/connector-claude-code 0.164.5 → 0.166.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 +40 -6
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -10334,6 +10334,15 @@ function up105(db) {
|
|
|
10334
10334
|
INSERT INTO entities_fts(entities_fts) VALUES ('rebuild');
|
|
10335
10335
|
`);
|
|
10336
10336
|
}
|
|
10337
|
+
function hasColumn17(db, table, column) {
|
|
10338
|
+
return db.prepare(`PRAGMA table_info(${table})`).all().some((row) => row.name === column);
|
|
10339
|
+
}
|
|
10340
|
+
function up106(db) {
|
|
10341
|
+
if (!hasColumn17(db, "memories", "review_after")) {
|
|
10342
|
+
db.exec("ALTER TABLE memories ADD COLUMN review_after TEXT;");
|
|
10343
|
+
}
|
|
10344
|
+
db.exec("CREATE INDEX IF NOT EXISTS idx_memories_review_after ON memories(review_after);");
|
|
10345
|
+
}
|
|
10337
10346
|
var MIGRATIONS = [
|
|
10338
10347
|
{
|
|
10339
10348
|
version: 1,
|
|
@@ -11166,6 +11175,14 @@ var MIGRATIONS = [
|
|
|
11166
11175
|
version: 105,
|
|
11167
11176
|
name: "agent-scoped-entity-name",
|
|
11168
11177
|
up: up105
|
|
11178
|
+
},
|
|
11179
|
+
{
|
|
11180
|
+
version: 106,
|
|
11181
|
+
name: "memory-review-after",
|
|
11182
|
+
up: up106,
|
|
11183
|
+
artifacts: {
|
|
11184
|
+
columns: [{ table: "memories", column: "review_after" }]
|
|
11185
|
+
}
|
|
11169
11186
|
}
|
|
11170
11187
|
];
|
|
11171
11188
|
var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
|
|
@@ -18455,7 +18472,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
|
|
|
18455
18472
|
return true;
|
|
18456
18473
|
return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
|
|
18457
18474
|
}
|
|
18458
|
-
function
|
|
18475
|
+
function up107(db) {
|
|
18459
18476
|
db.exec(`
|
|
18460
18477
|
CREATE TABLE IF NOT EXISTS schema_migrations (
|
|
18461
18478
|
version INTEGER PRIMARY KEY,
|
|
@@ -18544,12 +18561,12 @@ function up106(db) {
|
|
|
18544
18561
|
} catch {}
|
|
18545
18562
|
createMemoriesFts2(db);
|
|
18546
18563
|
}
|
|
18547
|
-
function
|
|
18564
|
+
function hasColumn18(db, table, column) {
|
|
18548
18565
|
const rows = db.prepare(`PRAGMA table_info(${table})`).all();
|
|
18549
18566
|
return rows.some((r) => r.name === column);
|
|
18550
18567
|
}
|
|
18551
18568
|
function addColumnIfMissing23(db, table, column, definition) {
|
|
18552
|
-
if (!
|
|
18569
|
+
if (!hasColumn18(db, table, column)) {
|
|
18553
18570
|
db.exec(`ALTER TABLE ${table} ADD COLUMN ${column} ${definition}`);
|
|
18554
18571
|
}
|
|
18555
18572
|
}
|
|
@@ -18867,7 +18884,7 @@ function up910(db) {
|
|
|
18867
18884
|
db.exec(`CREATE INDEX IF NOT EXISTS idx_summary_jobs_status
|
|
18868
18885
|
ON summary_jobs(status)`);
|
|
18869
18886
|
}
|
|
18870
|
-
function
|
|
18887
|
+
function up108(db) {
|
|
18871
18888
|
db.exec(`
|
|
18872
18889
|
CREATE TABLE IF NOT EXISTS umap_cache (
|
|
18873
18890
|
id INTEGER PRIMARY KEY,
|
|
@@ -21825,11 +21842,20 @@ function up1052(db) {
|
|
|
21825
21842
|
INSERT INTO entities_fts(entities_fts) VALUES ('rebuild');
|
|
21826
21843
|
`);
|
|
21827
21844
|
}
|
|
21845
|
+
function hasColumn172(db, table, column) {
|
|
21846
|
+
return db.prepare(`PRAGMA table_info(${table})`).all().some((row) => row.name === column);
|
|
21847
|
+
}
|
|
21848
|
+
function up1062(db) {
|
|
21849
|
+
if (!hasColumn172(db, "memories", "review_after")) {
|
|
21850
|
+
db.exec("ALTER TABLE memories ADD COLUMN review_after TEXT;");
|
|
21851
|
+
}
|
|
21852
|
+
db.exec("CREATE INDEX IF NOT EXISTS idx_memories_review_after ON memories(review_after);");
|
|
21853
|
+
}
|
|
21828
21854
|
var MIGRATIONS2 = [
|
|
21829
21855
|
{
|
|
21830
21856
|
version: 1,
|
|
21831
21857
|
name: "baseline",
|
|
21832
|
-
up:
|
|
21858
|
+
up: up107,
|
|
21833
21859
|
artifacts: { tables: ["memories", "conversations", "embeddings"] }
|
|
21834
21860
|
},
|
|
21835
21861
|
{
|
|
@@ -21889,7 +21915,7 @@ var MIGRATIONS2 = [
|
|
|
21889
21915
|
{
|
|
21890
21916
|
version: 10,
|
|
21891
21917
|
name: "umap-cache",
|
|
21892
|
-
up:
|
|
21918
|
+
up: up108,
|
|
21893
21919
|
artifacts: { tables: ["umap_cache"] }
|
|
21894
21920
|
},
|
|
21895
21921
|
{
|
|
@@ -22657,6 +22683,14 @@ var MIGRATIONS2 = [
|
|
|
22657
22683
|
version: 105,
|
|
22658
22684
|
name: "agent-scoped-entity-name",
|
|
22659
22685
|
up: up1052
|
|
22686
|
+
},
|
|
22687
|
+
{
|
|
22688
|
+
version: 106,
|
|
22689
|
+
name: "memory-review-after",
|
|
22690
|
+
up: up1062,
|
|
22691
|
+
artifacts: {
|
|
22692
|
+
columns: [{ table: "memories", column: "review_after" }]
|
|
22693
|
+
}
|
|
22660
22694
|
}
|
|
22661
22695
|
];
|
|
22662
22696
|
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.166.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.166.0",
|
|
28
|
+
"@signetai/core": "0.166.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/node": "^22.0.0",
|