@signetai/connector-claude-code 0.192.0 → 0.192.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 +64 -4
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -10852,6 +10852,30 @@ function up122(db) {
|
|
|
10852
10852
|
}
|
|
10853
10853
|
db.exec("CREATE INDEX IF NOT EXISTS idx_dreaming_evidence_exclusions_retry ON dreaming_evidence_exclusions (resolved_at, requeue_requested_at, failure_class, retry_count, last_requeued_at)");
|
|
10854
10854
|
}
|
|
10855
|
+
function up123(db) {
|
|
10856
|
+
db.exec(`
|
|
10857
|
+
CREATE TABLE IF NOT EXISTS embedding_index_failures (
|
|
10858
|
+
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
10859
|
+
content_hash TEXT NOT NULL,
|
|
10860
|
+
source_type TEXT NOT NULL,
|
|
10861
|
+
source_id TEXT NOT NULL,
|
|
10862
|
+
agent_id TEXT,
|
|
10863
|
+
target_fingerprint TEXT NOT NULL,
|
|
10864
|
+
provider TEXT NOT NULL,
|
|
10865
|
+
model TEXT NOT NULL,
|
|
10866
|
+
failure_class TEXT NOT NULL CHECK (failure_class IN ('context_limit', 'invalid_input')),
|
|
10867
|
+
attempts INTEGER NOT NULL DEFAULT 1,
|
|
10868
|
+
retry_policy TEXT NOT NULL DEFAULT 'quarantined',
|
|
10869
|
+
first_failed_at TEXT NOT NULL,
|
|
10870
|
+
last_failed_at TEXT NOT NULL,
|
|
10871
|
+
UNIQUE(content_hash, target_fingerprint)
|
|
10872
|
+
);
|
|
10873
|
+
CREATE INDEX IF NOT EXISTS idx_embedding_index_failures_target
|
|
10874
|
+
ON embedding_index_failures(target_fingerprint, failure_class, last_failed_at);
|
|
10875
|
+
CREATE INDEX IF NOT EXISTS idx_embedding_index_failures_source
|
|
10876
|
+
ON embedding_index_failures(source_type, source_id);
|
|
10877
|
+
`);
|
|
10878
|
+
}
|
|
10855
10879
|
var MIGRATIONS = [
|
|
10856
10880
|
{
|
|
10857
10881
|
version: 1,
|
|
@@ -11846,6 +11870,12 @@ var MIGRATIONS = [
|
|
|
11846
11870
|
{ table: "dreaming_evidence_exclusions", column: "last_requeued_at" }
|
|
11847
11871
|
]
|
|
11848
11872
|
}
|
|
11873
|
+
},
|
|
11874
|
+
{
|
|
11875
|
+
version: 123,
|
|
11876
|
+
name: "embedding-index-failures",
|
|
11877
|
+
up: up123,
|
|
11878
|
+
artifacts: { tables: ["embedding_index_failures"] }
|
|
11849
11879
|
}
|
|
11850
11880
|
];
|
|
11851
11881
|
var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
|
|
@@ -19139,7 +19169,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
|
|
|
19139
19169
|
return true;
|
|
19140
19170
|
return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
|
|
19141
19171
|
}
|
|
19142
|
-
function
|
|
19172
|
+
function up124(db) {
|
|
19143
19173
|
db.exec(`
|
|
19144
19174
|
CREATE TABLE IF NOT EXISTS schema_migrations (
|
|
19145
19175
|
version INTEGER PRIMARY KEY,
|
|
@@ -19582,7 +19612,7 @@ function up1110(db) {
|
|
|
19582
19612
|
ON session_scores(session_key);
|
|
19583
19613
|
`);
|
|
19584
19614
|
}
|
|
19585
|
-
function
|
|
19615
|
+
function up125(db) {
|
|
19586
19616
|
db.exec(`
|
|
19587
19617
|
CREATE TABLE IF NOT EXISTS scheduled_tasks (
|
|
19588
19618
|
id TEXT PRIMARY KEY,
|
|
@@ -23024,11 +23054,35 @@ function up1222(db) {
|
|
|
23024
23054
|
}
|
|
23025
23055
|
db.exec("CREATE INDEX IF NOT EXISTS idx_dreaming_evidence_exclusions_retry ON dreaming_evidence_exclusions (resolved_at, requeue_requested_at, failure_class, retry_count, last_requeued_at)");
|
|
23026
23056
|
}
|
|
23057
|
+
function up1232(db) {
|
|
23058
|
+
db.exec(`
|
|
23059
|
+
CREATE TABLE IF NOT EXISTS embedding_index_failures (
|
|
23060
|
+
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
23061
|
+
content_hash TEXT NOT NULL,
|
|
23062
|
+
source_type TEXT NOT NULL,
|
|
23063
|
+
source_id TEXT NOT NULL,
|
|
23064
|
+
agent_id TEXT,
|
|
23065
|
+
target_fingerprint TEXT NOT NULL,
|
|
23066
|
+
provider TEXT NOT NULL,
|
|
23067
|
+
model TEXT NOT NULL,
|
|
23068
|
+
failure_class TEXT NOT NULL CHECK (failure_class IN ('context_limit', 'invalid_input')),
|
|
23069
|
+
attempts INTEGER NOT NULL DEFAULT 1,
|
|
23070
|
+
retry_policy TEXT NOT NULL DEFAULT 'quarantined',
|
|
23071
|
+
first_failed_at TEXT NOT NULL,
|
|
23072
|
+
last_failed_at TEXT NOT NULL,
|
|
23073
|
+
UNIQUE(content_hash, target_fingerprint)
|
|
23074
|
+
);
|
|
23075
|
+
CREATE INDEX IF NOT EXISTS idx_embedding_index_failures_target
|
|
23076
|
+
ON embedding_index_failures(target_fingerprint, failure_class, last_failed_at);
|
|
23077
|
+
CREATE INDEX IF NOT EXISTS idx_embedding_index_failures_source
|
|
23078
|
+
ON embedding_index_failures(source_type, source_id);
|
|
23079
|
+
`);
|
|
23080
|
+
}
|
|
23027
23081
|
var MIGRATIONS2 = [
|
|
23028
23082
|
{
|
|
23029
23083
|
version: 1,
|
|
23030
23084
|
name: "baseline",
|
|
23031
|
-
up:
|
|
23085
|
+
up: up124,
|
|
23032
23086
|
artifacts: { tables: ["memories", "conversations", "embeddings"] }
|
|
23033
23087
|
},
|
|
23034
23088
|
{
|
|
@@ -23100,7 +23154,7 @@ var MIGRATIONS2 = [
|
|
|
23100
23154
|
{
|
|
23101
23155
|
version: 12,
|
|
23102
23156
|
name: "scheduled-tasks",
|
|
23103
|
-
up:
|
|
23157
|
+
up: up125,
|
|
23104
23158
|
artifacts: { tables: ["scheduled_tasks", "task_runs"] }
|
|
23105
23159
|
},
|
|
23106
23160
|
{
|
|
@@ -24018,6 +24072,12 @@ var MIGRATIONS2 = [
|
|
|
24018
24072
|
{ table: "dreaming_evidence_exclusions", column: "last_requeued_at" }
|
|
24019
24073
|
]
|
|
24020
24074
|
}
|
|
24075
|
+
},
|
|
24076
|
+
{
|
|
24077
|
+
version: 123,
|
|
24078
|
+
name: "embedding-index-failures",
|
|
24079
|
+
up: up1232,
|
|
24080
|
+
artifacts: { tables: ["embedding_index_failures"] }
|
|
24021
24081
|
}
|
|
24022
24082
|
];
|
|
24023
24083
|
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.192.
|
|
3
|
+
"version": "0.192.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.192.
|
|
28
|
-
"@signetai/core": "0.192.
|
|
27
|
+
"@signetai/connector-base": "0.192.2",
|
|
28
|
+
"@signetai/core": "0.192.2"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/node": "^22.0.0",
|