signetai 0.214.2 → 0.214.3
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/mcp-stdio.js +27 -17
- package/native-manifest.json +13 -13
- package/package.json +6 -6
package/dist/mcp-stdio.js
CHANGED
|
@@ -26185,9 +26185,18 @@ var init_memory_config = __esm(() => {
|
|
|
26185
26185
|
];
|
|
26186
26186
|
});
|
|
26187
26187
|
|
|
26188
|
+
// ../../platform/daemon/src/sync-db-attribution.ts
|
|
26189
|
+
var inFlight, siteTokenCache, siteMetrics;
|
|
26190
|
+
var init_sync_db_attribution = __esm(() => {
|
|
26191
|
+
inFlight = new Map;
|
|
26192
|
+
siteTokenCache = new Map;
|
|
26193
|
+
siteMetrics = new Map;
|
|
26194
|
+
});
|
|
26195
|
+
|
|
26188
26196
|
// ../../platform/daemon/src/db-observability.ts
|
|
26189
26197
|
var eventLoopHeartbeatAtMs;
|
|
26190
26198
|
var init_db_observability = __esm(() => {
|
|
26199
|
+
init_sync_db_attribution();
|
|
26191
26200
|
eventLoopHeartbeatAtMs = Date.now();
|
|
26192
26201
|
});
|
|
26193
26202
|
|
|
@@ -26220,6 +26229,7 @@ var init_db_accessor = __esm(() => {
|
|
|
26220
26229
|
init_memory_config();
|
|
26221
26230
|
init_db_observability();
|
|
26222
26231
|
init_runtime_pressure();
|
|
26232
|
+
init_sync_db_attribution();
|
|
26223
26233
|
isBun = typeof globalThis.Bun !== "undefined";
|
|
26224
26234
|
require3 = createRequire4(import.meta.url);
|
|
26225
26235
|
if (isBun) {
|
|
@@ -49795,7 +49805,7 @@ function getDreamingAttentionScoped(accessor2, agentId, options) {
|
|
|
49795
49805
|
...attention,
|
|
49796
49806
|
details: parseDetails(detailsJson)
|
|
49797
49807
|
}));
|
|
49798
|
-
});
|
|
49808
|
+
}, "pipeline/dreaming-attention.ts:184");
|
|
49799
49809
|
}
|
|
49800
49810
|
function getDreamingAttentionAcrossScopes(accessor2, options) {
|
|
49801
49811
|
const boundedLimit = Math.max(1, Math.min(Math.floor(options.limit ?? 50), 200));
|
|
@@ -49816,7 +49826,7 @@ function getDreamingAttentionAcrossScopes(accessor2, options) {
|
|
|
49816
49826
|
...attention,
|
|
49817
49827
|
details: parseDetails(detailsJson)
|
|
49818
49828
|
}));
|
|
49819
|
-
});
|
|
49829
|
+
}, "pipeline/dreaming-attention.ts:228");
|
|
49820
49830
|
}
|
|
49821
49831
|
function getDreamingAttentionById(accessor2, input) {
|
|
49822
49832
|
return accessor2.withReadDb((db) => {
|
|
@@ -49832,7 +49842,7 @@ function getDreamingAttentionById(accessor2, input) {
|
|
|
49832
49842
|
priority: row.priority,
|
|
49833
49843
|
createdAt: row.createdAt
|
|
49834
49844
|
};
|
|
49835
|
-
});
|
|
49845
|
+
}, "pipeline/dreaming-attention.ts:259");
|
|
49836
49846
|
}
|
|
49837
49847
|
function enqueueDreamingAttentionInTx(db, input) {
|
|
49838
49848
|
if (!DREAMING_ATTENTION_KINDS.includes(input.kind)) {
|
|
@@ -51671,7 +51681,7 @@ async function getOntologyClaimEvidence(accessor2, params) {
|
|
|
51671
51681
|
evidence,
|
|
51672
51682
|
evidenceCount: evidence.length
|
|
51673
51683
|
};
|
|
51674
|
-
}));
|
|
51684
|
+
}), "ontology-claim-evidence.ts:153");
|
|
51675
51685
|
return {
|
|
51676
51686
|
entity: result.entity,
|
|
51677
51687
|
aspect: result.aspect,
|
|
@@ -52067,7 +52077,7 @@ function reconcileOntologyContradictionsInTx(db, params) {
|
|
|
52067
52077
|
return resolved;
|
|
52068
52078
|
}
|
|
52069
52079
|
function reconcileOntologyContradictions(accessor2, params) {
|
|
52070
|
-
return accessor2.withWriteTx((db) => reconcileOntologyContradictionsInTx(db, params));
|
|
52080
|
+
return accessor2.withWriteTx((db) => reconcileOntologyContradictionsInTx(db, params), "ontology-contradictions.ts:524");
|
|
52071
52081
|
}
|
|
52072
52082
|
function listOntologyContradictions(accessor2, params) {
|
|
52073
52083
|
const limit = Math.min(Math.max(params.limit ?? 50, 1), 200);
|
|
@@ -52116,7 +52126,7 @@ function listOntologyContradictions(accessor2, params) {
|
|
|
52116
52126
|
limit,
|
|
52117
52127
|
offset
|
|
52118
52128
|
};
|
|
52119
|
-
});
|
|
52129
|
+
}, "ontology-contradictions.ts:538");
|
|
52120
52130
|
}
|
|
52121
52131
|
|
|
52122
52132
|
// ../../platform/daemon/src/ontology-link-evidence.ts
|
|
@@ -54292,7 +54302,7 @@ async function writeBatch(accessor2, processBatch, label, estimatedWorkUnits) {
|
|
|
54292
54302
|
if (accessor2.withWriteTxAsync) {
|
|
54293
54303
|
return accessor2.withWriteTxAsync(processBatch, { operation: `db.batch.${label}`, estimatedWorkUnits });
|
|
54294
54304
|
}
|
|
54295
|
-
return accessor2.withWriteTx(processBatch);
|
|
54305
|
+
return accessor2.withWriteTx(processBatch, "yielding-writes.ts:115");
|
|
54296
54306
|
}
|
|
54297
54307
|
async function runWriteBatches(accessor2, items, processItem, options) {
|
|
54298
54308
|
const maxPerTx = typeof options.maxPerTx === "number" && Number.isFinite(options.maxPerTx) ? Math.max(1, Math.floor(options.maxPerTx)) : 50;
|
|
@@ -54414,7 +54424,7 @@ function citeEvidence(accessor2, agentId, citation) {
|
|
|
54414
54424
|
return { evidence: createDreamingAgentEvidence([source]), sourceAgentIds: [] };
|
|
54415
54425
|
}
|
|
54416
54426
|
return { evidence: [], sourceAgentIds: findEpisodicSourceAgentIds(db, requested.sourceRef) };
|
|
54417
|
-
});
|
|
54427
|
+
}, "pipeline/dreaming-operations.ts:112");
|
|
54418
54428
|
return {
|
|
54419
54429
|
evidence: result.evidence.find((record5) => record5.sourceRef === requested.sourceRef && record5.sourceKind === requested.sourceKind && record5.sourceId === requested.sourceId && (requested.sourcePath === null || record5.sourcePath === requested.sourcePath) && record5.content.includes(requested.quote)) ?? null,
|
|
54420
54430
|
sourceAgentIds: result.sourceAgentIds
|
|
@@ -54429,7 +54439,7 @@ function semanticDuplicateIds(accessor2, agentId, canonicalName) {
|
|
|
54429
54439
|
AND COALESCE(pinned, 0) = 0
|
|
54430
54440
|
AND NOT (entity_type IN (${placeholders}) OR (entity_type = 'source' AND source_root IS NOT NULL))`).all(agentId, canonicalName, ...SOURCE_NATIVE_TOPOLOGY_ENTITY_TYPES);
|
|
54431
54441
|
return new Set(rows.map((row) => row.id));
|
|
54432
|
-
});
|
|
54442
|
+
}, "pipeline/dreaming-operations.ts:154");
|
|
54433
54443
|
}
|
|
54434
54444
|
function asStringRecord(value) {
|
|
54435
54445
|
if (typeof value !== "object" || value === null || Array.isArray(value))
|
|
@@ -54636,16 +54646,16 @@ function lookupString(db, sql, ...params) {
|
|
|
54636
54646
|
return row?.value ?? null;
|
|
54637
54647
|
}
|
|
54638
54648
|
function lookupEntityName(accessor2, agentId, entityId2) {
|
|
54639
|
-
return accessor2.withReadDb((db) => lookupString(db, "SELECT name AS value FROM entities WHERE id = ? AND agent_id = ? AND COALESCE(status,'active') = 'active'", entityId2, agentId));
|
|
54649
|
+
return accessor2.withReadDb((db) => lookupString(db, "SELECT name AS value FROM entities WHERE id = ? AND agent_id = ? AND COALESCE(status,'active') = 'active'", entityId2, agentId), "pipeline/dreaming-operations.ts:478");
|
|
54640
54650
|
}
|
|
54641
54651
|
function lookupAspectName(accessor2, agentId, entityId2, aspectId2) {
|
|
54642
|
-
return accessor2.withReadDb((db) => lookupString(db, "SELECT name AS value FROM entity_aspects WHERE id = ? AND entity_id = ? AND agent_id = ? AND COALESCE(status,'active') = 'active'", aspectId2, entityId2, agentId));
|
|
54652
|
+
return accessor2.withReadDb((db) => lookupString(db, "SELECT name AS value FROM entity_aspects WHERE id = ? AND entity_id = ? AND agent_id = ? AND COALESCE(status,'active') = 'active'", aspectId2, entityId2, agentId), "pipeline/dreaming-operations.ts:492");
|
|
54643
54653
|
}
|
|
54644
54654
|
function lookupAspectEntityId(accessor2, agentId, aspectId2) {
|
|
54645
|
-
return accessor2.withReadDb((db) => lookupString(db, "SELECT entity_id AS value FROM entity_aspects WHERE id = ? AND agent_id = ? AND COALESCE(status,'active') = 'active'", aspectId2, agentId));
|
|
54655
|
+
return accessor2.withReadDb((db) => lookupString(db, "SELECT entity_id AS value FROM entity_aspects WHERE id = ? AND agent_id = ? AND COALESCE(status,'active') = 'active'", aspectId2, agentId), "pipeline/dreaming-operations.ts:507");
|
|
54646
54656
|
}
|
|
54647
54657
|
function lookupActiveClaimAttributeId(accessor2, agentId, aspectId2, claimKey2) {
|
|
54648
|
-
return accessor2.withReadDb((db) => lookupString(db, "SELECT id AS value FROM entity_attributes WHERE aspect_id = ? AND agent_id = ? AND claim_key = ? AND status = 'active' ORDER BY created_at DESC, id ASC LIMIT 1", aspectId2, agentId, claimKey2));
|
|
54658
|
+
return accessor2.withReadDb((db) => lookupString(db, "SELECT id AS value FROM entity_attributes WHERE aspect_id = ? AND agent_id = ? AND claim_key = ? AND status = 'active' ORDER BY created_at DESC, id ASC LIMIT 1", aspectId2, agentId, claimKey2), "pipeline/dreaming-operations.ts:526");
|
|
54649
54659
|
}
|
|
54650
54660
|
function stringField(payload2, key) {
|
|
54651
54661
|
const value = payload2[key];
|
|
@@ -54783,7 +54793,7 @@ function validateRequestBeforeWrites(params) {
|
|
|
54783
54793
|
if (attentionId === null)
|
|
54784
54794
|
return "decline_attention requires payload.attentionId";
|
|
54785
54795
|
const pending = params.accessor.withReadDb((db) => db.prepare(`SELECT 1 FROM dreaming_attention
|
|
54786
|
-
WHERE id = ? AND agent_id = ? AND resolved_at IS NULL`).get(attentionId, params.agentId));
|
|
54796
|
+
WHERE id = ? AND agent_id = ? AND resolved_at IS NULL`).get(attentionId, params.agentId), "pipeline/dreaming-operations.ts:700");
|
|
54787
54797
|
if (pending == null)
|
|
54788
54798
|
return "Attention record is not pending in this agent scope";
|
|
54789
54799
|
continue;
|
|
@@ -55133,7 +55143,7 @@ function writeDreamingRunbook(accessor2, params) {
|
|
|
55133
55143
|
const result = db.prepare(`UPDATE dreaming_passes SET runbook_json = ?
|
|
55134
55144
|
WHERE id = ? AND agent_id = ? AND status = 'running'`).run(serializeRunbook(params.entry), params.passId, params.agentId);
|
|
55135
55145
|
return result.changes === 1;
|
|
55136
|
-
});
|
|
55146
|
+
}, "pipeline/dreaming-runbook.ts:177");
|
|
55137
55147
|
}
|
|
55138
55148
|
function readDreamingRunbook(accessor2, agentId, limit = 5) {
|
|
55139
55149
|
const boundedLimit = Math.min(Math.max(Math.floor(limit), 1), 20);
|
|
@@ -55163,7 +55173,7 @@ function readDreamingRunbook(accessor2, agentId, limit = 5) {
|
|
|
55163
55173
|
runbook: parseRunbook(row.runbookJson ?? null),
|
|
55164
55174
|
quarantines: quarantines.all(agentId, row.id)
|
|
55165
55175
|
}));
|
|
55166
|
-
});
|
|
55176
|
+
}, "pipeline/dreaming-runbook.ts:219");
|
|
55167
55177
|
}
|
|
55168
55178
|
|
|
55169
55179
|
// ../../platform/daemon/src/pipeline/memory-review-due.ts
|
|
@@ -55469,7 +55479,7 @@ function acquireHeadLease(agentId, owner, ttlMs) {
|
|
|
55469
55479
|
hash: active.content_hash
|
|
55470
55480
|
}
|
|
55471
55481
|
};
|
|
55472
|
-
});
|
|
55482
|
+
}, "memory-head.ts:82");
|
|
55473
55483
|
} catch {
|
|
55474
55484
|
return { ok: false, error: "memory head db unavailable", code: "unavailable" };
|
|
55475
55485
|
}
|
package/native-manifest.json
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"version": "0.214.
|
|
3
|
+
"version": "0.214.3",
|
|
4
4
|
"assets": [
|
|
5
5
|
{
|
|
6
6
|
"name": "signet-darwin-arm64",
|
|
7
7
|
"platform": "darwin-arm64",
|
|
8
|
-
"sha256": "
|
|
9
|
-
"size":
|
|
8
|
+
"sha256": "b9ade45e0db89bbffea5582efd658171e0920ca01d70d8777d3072e17900d283",
|
|
9
|
+
"size": 163344544
|
|
10
10
|
},
|
|
11
11
|
{
|
|
12
12
|
"name": "signet-darwin-x64",
|
|
13
13
|
"platform": "darwin-x64",
|
|
14
|
-
"sha256": "
|
|
15
|
-
"size":
|
|
14
|
+
"sha256": "d861187b2312227cf80f806741a9650e3f1116ad69dd6536cda1c5a0f821dd0f",
|
|
15
|
+
"size": 168053312
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"name": "signet-linux-arm64",
|
|
19
19
|
"platform": "linux-arm64",
|
|
20
|
-
"sha256": "
|
|
21
|
-
"size":
|
|
20
|
+
"sha256": "46d62c497d96bf1ea32d3c5b4267078923070e611a2291c58be62d3f9804b7f5",
|
|
21
|
+
"size": 210620815
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
"name": "signet-linux-x64",
|
|
25
25
|
"platform": "linux-x64",
|
|
26
|
-
"sha256": "
|
|
27
|
-
"size":
|
|
26
|
+
"sha256": "2cfa43c0a85c3b8bddf79ee344594622cbd2837d512bb6210cf0a7a451f56401",
|
|
27
|
+
"size": 213409534
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
"name": "signet-win32-x64.exe",
|
|
31
31
|
"platform": "win32-x64",
|
|
32
|
-
"sha256": "
|
|
33
|
-
"size":
|
|
32
|
+
"sha256": "728c59a32a1b4e0db63a7b0e981228a5189c113652ec0fdd501d7b893fe85833",
|
|
33
|
+
"size": 219894272
|
|
34
34
|
}
|
|
35
35
|
],
|
|
36
36
|
"components": {
|
|
37
37
|
"connectors": {
|
|
38
|
-
"url": "signet-connectors-0.214.
|
|
39
|
-
"sha256": "
|
|
38
|
+
"url": "signet-connectors-0.214.3.tar.gz",
|
|
39
|
+
"sha256": "4bc6d864ebf1aaac3ed1e5d733a3108f158c40e1e4149c06e856f5edd2db157a",
|
|
40
40
|
"size": 21945
|
|
41
41
|
}
|
|
42
42
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "signetai",
|
|
3
|
-
"version": "0.214.
|
|
3
|
+
"version": "0.214.3",
|
|
4
4
|
"description": "Signet native CLI installer wrapper",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -65,10 +65,10 @@
|
|
|
65
65
|
"access": "public"
|
|
66
66
|
},
|
|
67
67
|
"optionalDependencies": {
|
|
68
|
-
"signetai-darwin-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.214.
|
|
69
|
-
"signetai-darwin-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.214.
|
|
70
|
-
"signetai-linux-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.214.
|
|
71
|
-
"signetai-linux-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.214.
|
|
72
|
-
"signetai-win32-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.214.
|
|
68
|
+
"signetai-darwin-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.214.3/signetai-darwin-arm64-0.214.3.tgz",
|
|
69
|
+
"signetai-darwin-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.214.3/signetai-darwin-x64-0.214.3.tgz",
|
|
70
|
+
"signetai-linux-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.214.3/signetai-linux-arm64-0.214.3.tgz",
|
|
71
|
+
"signetai-linux-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.214.3/signetai-linux-x64-0.214.3.tgz",
|
|
72
|
+
"signetai-win32-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.214.3/signetai-win32-x64-0.214.3.tgz"
|
|
73
73
|
}
|
|
74
74
|
}
|