@signetai/connector-claude-code 0.199.0 → 0.199.2
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 +62 -4
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -11270,6 +11270,29 @@ function up130(db) {
|
|
|
11270
11270
|
END;
|
|
11271
11271
|
`);
|
|
11272
11272
|
}
|
|
11273
|
+
function up131(db) {
|
|
11274
|
+
db.exec(`
|
|
11275
|
+
CREATE TABLE IF NOT EXISTS dreaming_evidence_consumption (
|
|
11276
|
+
agent_id TEXT NOT NULL,
|
|
11277
|
+
source_kind TEXT NOT NULL CHECK (source_kind IN ('memory', 'artifact', 'transcript', 'summary')),
|
|
11278
|
+
source_id TEXT NOT NULL,
|
|
11279
|
+
source_captured_at TEXT NOT NULL,
|
|
11280
|
+
source_entry_id TEXT NOT NULL DEFAULT '',
|
|
11281
|
+
source_revision TEXT NOT NULL,
|
|
11282
|
+
delivered_offset INTEGER NOT NULL CHECK (delivered_offset >= 0),
|
|
11283
|
+
source_length INTEGER NOT NULL CHECK (source_length >= 0),
|
|
11284
|
+
pass_id TEXT NOT NULL,
|
|
11285
|
+
updated_at TEXT NOT NULL,
|
|
11286
|
+
PRIMARY KEY (agent_id, source_kind, source_id, source_captured_at, source_entry_id, source_revision)
|
|
11287
|
+
);
|
|
11288
|
+
CREATE INDEX IF NOT EXISTS idx_dreaming_evidence_consumption_source
|
|
11289
|
+
ON dreaming_evidence_consumption(agent_id, source_entry_id, source_kind, source_revision);
|
|
11290
|
+
CREATE INDEX IF NOT EXISTS idx_dreaming_evidence_consumption_pending
|
|
11291
|
+
ON dreaming_evidence_consumption(agent_id, source_kind, source_id, source_captured_at, source_revision, delivered_offset, source_length);
|
|
11292
|
+
CREATE INDEX IF NOT EXISTS idx_dreaming_evidence_consumption_continuation
|
|
11293
|
+
ON dreaming_evidence_consumption(agent_id, pass_id, delivered_offset, source_length);
|
|
11294
|
+
`);
|
|
11295
|
+
}
|
|
11273
11296
|
var MIGRATIONS = [
|
|
11274
11297
|
{
|
|
11275
11298
|
version: 1,
|
|
@@ -12312,6 +12335,12 @@ var MIGRATIONS = [
|
|
|
12312
12335
|
name: "embedding-repair-state",
|
|
12313
12336
|
up: up130,
|
|
12314
12337
|
artifacts: { tables: ["embedding_repair_budget", "embedding_repair_backoff"] }
|
|
12338
|
+
},
|
|
12339
|
+
{
|
|
12340
|
+
version: 131,
|
|
12341
|
+
name: "dreaming-evidence-consumption",
|
|
12342
|
+
up: up131,
|
|
12343
|
+
artifacts: { tables: ["dreaming_evidence_consumption"] }
|
|
12315
12344
|
}
|
|
12316
12345
|
];
|
|
12317
12346
|
var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
|
|
@@ -19701,7 +19730,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
|
|
|
19701
19730
|
return true;
|
|
19702
19731
|
return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
|
|
19703
19732
|
}
|
|
19704
|
-
function
|
|
19733
|
+
function up132(db) {
|
|
19705
19734
|
db.exec(`
|
|
19706
19735
|
CREATE TABLE IF NOT EXISTS schema_migrations (
|
|
19707
19736
|
version INTEGER PRIMARY KEY,
|
|
@@ -20185,7 +20214,7 @@ function addColumnIfMissing52(db, table, column, definition) {
|
|
|
20185
20214
|
db.exec(`ALTER TABLE ${table} ADD COLUMN ${column} ${definition}`);
|
|
20186
20215
|
}
|
|
20187
20216
|
}
|
|
20188
|
-
function
|
|
20217
|
+
function up133(db) {
|
|
20189
20218
|
db.exec(`
|
|
20190
20219
|
CREATE TABLE IF NOT EXISTS ingestion_jobs (
|
|
20191
20220
|
id TEXT PRIMARY KEY,
|
|
@@ -23911,11 +23940,34 @@ function up1302(db) {
|
|
|
23911
23940
|
END;
|
|
23912
23941
|
`);
|
|
23913
23942
|
}
|
|
23943
|
+
function up1312(db) {
|
|
23944
|
+
db.exec(`
|
|
23945
|
+
CREATE TABLE IF NOT EXISTS dreaming_evidence_consumption (
|
|
23946
|
+
agent_id TEXT NOT NULL,
|
|
23947
|
+
source_kind TEXT NOT NULL CHECK (source_kind IN ('memory', 'artifact', 'transcript', 'summary')),
|
|
23948
|
+
source_id TEXT NOT NULL,
|
|
23949
|
+
source_captured_at TEXT NOT NULL,
|
|
23950
|
+
source_entry_id TEXT NOT NULL DEFAULT '',
|
|
23951
|
+
source_revision TEXT NOT NULL,
|
|
23952
|
+
delivered_offset INTEGER NOT NULL CHECK (delivered_offset >= 0),
|
|
23953
|
+
source_length INTEGER NOT NULL CHECK (source_length >= 0),
|
|
23954
|
+
pass_id TEXT NOT NULL,
|
|
23955
|
+
updated_at TEXT NOT NULL,
|
|
23956
|
+
PRIMARY KEY (agent_id, source_kind, source_id, source_captured_at, source_entry_id, source_revision)
|
|
23957
|
+
);
|
|
23958
|
+
CREATE INDEX IF NOT EXISTS idx_dreaming_evidence_consumption_source
|
|
23959
|
+
ON dreaming_evidence_consumption(agent_id, source_entry_id, source_kind, source_revision);
|
|
23960
|
+
CREATE INDEX IF NOT EXISTS idx_dreaming_evidence_consumption_pending
|
|
23961
|
+
ON dreaming_evidence_consumption(agent_id, source_kind, source_id, source_captured_at, source_revision, delivered_offset, source_length);
|
|
23962
|
+
CREATE INDEX IF NOT EXISTS idx_dreaming_evidence_consumption_continuation
|
|
23963
|
+
ON dreaming_evidence_consumption(agent_id, pass_id, delivered_offset, source_length);
|
|
23964
|
+
`);
|
|
23965
|
+
}
|
|
23914
23966
|
var MIGRATIONS2 = [
|
|
23915
23967
|
{
|
|
23916
23968
|
version: 1,
|
|
23917
23969
|
name: "baseline",
|
|
23918
|
-
up:
|
|
23970
|
+
up: up132,
|
|
23919
23971
|
artifacts: { tables: ["memories", "conversations", "embeddings"] }
|
|
23920
23972
|
},
|
|
23921
23973
|
{
|
|
@@ -23993,7 +24045,7 @@ var MIGRATIONS2 = [
|
|
|
23993
24045
|
{
|
|
23994
24046
|
version: 13,
|
|
23995
24047
|
name: "ingestion-tracking",
|
|
23996
|
-
up:
|
|
24048
|
+
up: up133,
|
|
23997
24049
|
artifacts: {
|
|
23998
24050
|
columns: [
|
|
23999
24051
|
{ table: "memories", column: "source_path" },
|
|
@@ -24953,6 +25005,12 @@ var MIGRATIONS2 = [
|
|
|
24953
25005
|
name: "embedding-repair-state",
|
|
24954
25006
|
up: up1302,
|
|
24955
25007
|
artifacts: { tables: ["embedding_repair_budget", "embedding_repair_backoff"] }
|
|
25008
|
+
},
|
|
25009
|
+
{
|
|
25010
|
+
version: 131,
|
|
25011
|
+
name: "dreaming-evidence-consumption",
|
|
25012
|
+
up: up1312,
|
|
25013
|
+
artifacts: { tables: ["dreaming_evidence_consumption"] }
|
|
24956
25014
|
}
|
|
24957
25015
|
];
|
|
24958
25016
|
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.199.
|
|
3
|
+
"version": "0.199.2",
|
|
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.199.
|
|
28
|
-
"@signetai/core": "0.199.
|
|
27
|
+
"@signetai/connector-base": "0.199.2",
|
|
28
|
+
"@signetai/core": "0.199.2"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/node": "^22.0.0",
|