signetai 0.159.10 → 0.159.12
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 -2
- package/native-manifest.json +12 -12
- package/package.json +6 -6
package/dist/mcp-stdio.js
CHANGED
|
@@ -57227,6 +57227,19 @@ function citeEvidence(accessor, agentId, citation, allowedEvidence) {
|
|
|
57227
57227
|
function noSelectors(payload2, keys2) {
|
|
57228
57228
|
return keys2.every((key) => payload2[key] === undefined || payload2[key] === null);
|
|
57229
57229
|
}
|
|
57230
|
+
function acceptedTargetValues(attention, ...keys2) {
|
|
57231
|
+
return keys2.map((key) => attention.details[key]).filter((value) => typeof value === "string" && value.length > 0);
|
|
57232
|
+
}
|
|
57233
|
+
function selectorsNameFlaggedTarget(payload2, fields) {
|
|
57234
|
+
for (const { key, accepted } of fields) {
|
|
57235
|
+
const value = payload2[key];
|
|
57236
|
+
if (typeof value !== "string" || value.length === 0)
|
|
57237
|
+
continue;
|
|
57238
|
+
if (!accepted.includes(value))
|
|
57239
|
+
return false;
|
|
57240
|
+
}
|
|
57241
|
+
return true;
|
|
57242
|
+
}
|
|
57230
57243
|
function forceRequested(value) {
|
|
57231
57244
|
return value === true || value === 1 || value === "1" || value === "true";
|
|
57232
57245
|
}
|
|
@@ -57258,9 +57271,21 @@ function attentionProvenance(accessor, agentId, operation2) {
|
|
|
57258
57271
|
return null;
|
|
57259
57272
|
let expectedTarget = false;
|
|
57260
57273
|
if (operation2.operation === "archive_entity") {
|
|
57261
|
-
|
|
57274
|
+
const entityValues = acceptedTargetValues(attention, "entityId", "name");
|
|
57275
|
+
expectedTarget = typeof payload2.entity_id === "string" && payload2.entity_id === attention.details.entityId && attention.subjectRef === `entity:${payload2.entity_id}` && selectorsNameFlaggedTarget(payload2, [
|
|
57276
|
+
{ key: "selector", accepted: entityValues },
|
|
57277
|
+
{ key: "entity", accepted: entityValues },
|
|
57278
|
+
{ key: "name", accepted: entityValues }
|
|
57279
|
+
]);
|
|
57262
57280
|
} else if (operation2.operation === "archive_aspect") {
|
|
57263
|
-
|
|
57281
|
+
const entityValues = acceptedTargetValues(attention, "entityId", "name");
|
|
57282
|
+
const aspectValues = acceptedTargetValues(attention, "aspectId", "aspectName");
|
|
57283
|
+
expectedTarget = typeof payload2.entity_id === "string" && typeof payload2.aspect_id === "string" && payload2.entity_id === attention.details.entityId && payload2.aspect_id === attention.details.aspectId && attention.subjectRef === `aspect:${payload2.aspect_id}` && selectorsNameFlaggedTarget(payload2, [
|
|
57284
|
+
{ key: "selector", accepted: entityValues },
|
|
57285
|
+
{ key: "entity", accepted: entityValues },
|
|
57286
|
+
{ key: "name", accepted: entityValues },
|
|
57287
|
+
{ key: "aspect", accepted: aspectValues }
|
|
57288
|
+
]);
|
|
57264
57289
|
} else if (operation2.operation === "archive_claim_value") {
|
|
57265
57290
|
expectedTarget = typeof payload2.attribute_id === "string" && payload2.attribute_id === attention.details.attributeId && attention.subjectRef === `attribute:${payload2.attribute_id}`;
|
|
57266
57291
|
} else if (operation2.operation === "archive_link") {
|
package/native-manifest.json
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"version": "0.159.
|
|
3
|
+
"version": "0.159.12",
|
|
4
4
|
"assets": [
|
|
5
5
|
{
|
|
6
6
|
"name": "signet-darwin-arm64",
|
|
7
7
|
"platform": "darwin-arm64",
|
|
8
|
-
"sha256": "
|
|
8
|
+
"sha256": "31f639d3470d761f5a8b51294f1274095ca401fbab170aadc9251393a9ed4bab",
|
|
9
9
|
"size": 125267872
|
|
10
10
|
},
|
|
11
11
|
{
|
|
12
12
|
"name": "signet-darwin-x64",
|
|
13
13
|
"platform": "darwin-x64",
|
|
14
|
-
"sha256": "
|
|
14
|
+
"sha256": "3a1b2a24a24642c39eca92d2ae0d942c28b8d3852827a6fce21ab016c9bde464",
|
|
15
15
|
"size": 129829440
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"name": "signet-linux-arm64",
|
|
19
19
|
"platform": "linux-arm64",
|
|
20
|
-
"sha256": "
|
|
21
|
-
"size":
|
|
20
|
+
"sha256": "f2b0e0029692f9f286327813dbab9a1d230d13580e9ca0420c0fd3912d1decc0",
|
|
21
|
+
"size": 162443272
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
"name": "signet-linux-x64",
|
|
25
25
|
"platform": "linux-x64",
|
|
26
|
-
"sha256": "
|
|
27
|
-
"size":
|
|
26
|
+
"sha256": "16ba7899e8e53e8954e8615db6ecfc048e8de460cac62dd1a4b9c82b5730f374",
|
|
27
|
+
"size": 163002265
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
"name": "signet-win32-x64.exe",
|
|
31
31
|
"platform": "win32-x64",
|
|
32
|
-
"sha256": "
|
|
33
|
-
"size":
|
|
32
|
+
"sha256": "2e79ad4ff29de93eb739f36f11ca43177c646ae2b62a9ebb3616c951e5e58125",
|
|
33
|
+
"size": 179133952
|
|
34
34
|
}
|
|
35
35
|
],
|
|
36
36
|
"components": {
|
|
37
37
|
"connectors": {
|
|
38
|
-
"url": "signet-connectors-0.159.
|
|
39
|
-
"sha256": "
|
|
40
|
-
"size":
|
|
38
|
+
"url": "signet-connectors-0.159.12.tar.gz",
|
|
39
|
+
"sha256": "9869f324bed40a674cae1766e51e29544b00b112880ce63affe0dd11a919198a",
|
|
40
|
+
"size": 15993
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "signetai",
|
|
3
|
-
"version": "0.159.
|
|
3
|
+
"version": "0.159.12",
|
|
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.159.
|
|
69
|
-
"signetai-darwin-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.159.
|
|
70
|
-
"signetai-linux-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.159.
|
|
71
|
-
"signetai-linux-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.159.
|
|
72
|
-
"signetai-win32-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.159.
|
|
68
|
+
"signetai-darwin-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.159.12/signetai-darwin-arm64-0.159.12.tgz",
|
|
69
|
+
"signetai-darwin-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.159.12/signetai-darwin-x64-0.159.12.tgz",
|
|
70
|
+
"signetai-linux-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.159.12/signetai-linux-arm64-0.159.12.tgz",
|
|
71
|
+
"signetai-linux-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.159.12/signetai-linux-x64-0.159.12.tgz",
|
|
72
|
+
"signetai-win32-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.159.12/signetai-win32-x64-0.159.12.tgz"
|
|
73
73
|
}
|
|
74
74
|
}
|