signetai 0.176.7 → 0.176.8
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 +34 -3
- package/native-manifest.json +12 -12
- package/package.json +6 -6
package/dist/mcp-stdio.js
CHANGED
|
@@ -52591,6 +52591,9 @@ var DREAMING_ONTOLOGY_PAYLOAD_SCHEMAS = {
|
|
|
52591
52591
|
details: exports_external.record(exports_external.string(), exports_external.string()).describe("Inspection facts about the flagged target.").optional(),
|
|
52592
52592
|
priority: exports_external.number().finite().min(0).max(100).describe("Priority of the flag (0-100).").optional()
|
|
52593
52593
|
}),
|
|
52594
|
+
decline_attention: payload({
|
|
52595
|
+
attentionId: text.describe("The stable id of a pending attention record you inspected and judged to keep. Declining is an affirmative judgment: never decline a record you did not examine, and never use it to skip records you could not complete this pass (defer those in the pass log instead).")
|
|
52596
|
+
}),
|
|
52594
52597
|
archive_entity: payload({ target: entityId, ...reasonField }),
|
|
52595
52598
|
archive_aspect: payload({ target: aspectId, ...reasonField }),
|
|
52596
52599
|
archive_claim_value: payload({ target: text.describe("The stable id of the claim attribute."), ...reasonField }),
|
|
@@ -52636,7 +52639,8 @@ var DREAMING_ONTOLOGY_PAYLOAD_SCHEMAS = {
|
|
|
52636
52639
|
};
|
|
52637
52640
|
var DREAMING_OPERATION_IDS = [
|
|
52638
52641
|
...ONTOLOGY_PROPOSAL_OPERATIONS.filter((op) => op !== "restore_claim_version" && op !== "attach_interface"),
|
|
52639
|
-
"flag"
|
|
52642
|
+
"flag",
|
|
52643
|
+
"decline_attention"
|
|
52640
52644
|
];
|
|
52641
52645
|
var operationBase = {
|
|
52642
52646
|
reason: exports_external.string().optional(),
|
|
@@ -52667,11 +52671,13 @@ var DREAMING_ONTOLOGY_OPERATION_SCHEMA = exports_external.discriminatedUnion("op
|
|
|
52667
52671
|
operation("create_policy"),
|
|
52668
52672
|
operation("create_action_type"),
|
|
52669
52673
|
operation("create_interface"),
|
|
52670
|
-
operation("flag")
|
|
52674
|
+
operation("flag"),
|
|
52675
|
+
operation("decline_attention")
|
|
52671
52676
|
]);
|
|
52672
52677
|
|
|
52673
52678
|
// ../../platform/daemon/src/pipeline/dreaming-operations.ts
|
|
52674
52679
|
var FLAG_OP = "flag";
|
|
52680
|
+
var DECLINE_ATTENTION_OP = "decline_attention";
|
|
52675
52681
|
var HYGIENE_ARCHIVE_OPS = new Set([
|
|
52676
52682
|
"archive_entity",
|
|
52677
52683
|
"archive_aspect",
|
|
@@ -53029,6 +53035,14 @@ function applyDreamingOperations(params) {
|
|
|
53029
53035
|
validated.push({ input: null, attentionId: attentionId2 });
|
|
53030
53036
|
continue;
|
|
53031
53037
|
}
|
|
53038
|
+
if (operation2.operation === DECLINE_ATTENTION_OP) {
|
|
53039
|
+
const attentionId2 = stringField(operation2.payload, "attentionId");
|
|
53040
|
+
if (attentionId2 === null) {
|
|
53041
|
+
return { ok: false, items: [], error: "decline_attention requires payload.attentionId" };
|
|
53042
|
+
}
|
|
53043
|
+
validated.push({ input: null, attentionId: attentionId2, decline: true });
|
|
53044
|
+
continue;
|
|
53045
|
+
}
|
|
53032
53046
|
let provenance = null;
|
|
53033
53047
|
let attentionId = null;
|
|
53034
53048
|
if (HYGIENE_ARCHIVE_OPS.has(operation2.operation)) {
|
|
@@ -53080,6 +53094,23 @@ function applyDreamingOperations(params) {
|
|
|
53080
53094
|
for (let index = 0;index < validated.length; index += 1) {
|
|
53081
53095
|
const entry = validated[index];
|
|
53082
53096
|
if (entry.input === null) {
|
|
53097
|
+
if (entry.decline === true && entry.attentionId !== null) {
|
|
53098
|
+
const pending = db.prepare(`SELECT 1 FROM dreaming_attention
|
|
53099
|
+
WHERE id = ? AND agent_id = ? AND resolved_at IS NULL`).get(entry.attentionId, params.agentId);
|
|
53100
|
+
if (pending == null) {
|
|
53101
|
+
items.push({
|
|
53102
|
+
index,
|
|
53103
|
+
ok: false,
|
|
53104
|
+
error: "Attention record is not pending in this agent scope"
|
|
53105
|
+
});
|
|
53106
|
+
continue;
|
|
53107
|
+
}
|
|
53108
|
+
db.prepare(`UPDATE dreaming_attention
|
|
53109
|
+
SET resolved_at = datetime('now'), resolved_by_pass_id = ?
|
|
53110
|
+
WHERE id = ? AND agent_id = ? AND resolved_at IS NULL`).run(params.passId ?? null, entry.attentionId, params.agentId);
|
|
53111
|
+
items.push({ index, ok: true, result: { attentionId: entry.attentionId } });
|
|
53112
|
+
continue;
|
|
53113
|
+
}
|
|
53083
53114
|
items.push({ index, ok: true, result: { attentionId: entry.attentionId } });
|
|
53084
53115
|
continue;
|
|
53085
53116
|
}
|
|
@@ -53686,7 +53717,7 @@ function createDreamingCapabilities(params) {
|
|
|
53686
53717
|
})
|
|
53687
53718
|
};
|
|
53688
53719
|
}),
|
|
53689
|
-
capability("apply_ontology_ops", "Apply ontology operations", 'Apply every semantic write through the daemon audit seam in one batch, in one agent scope (pass the agentId whose graph you are maintaining — hygiene attention records belong to the agent that flagged them). Ops are processed in array order. Hygiene ops (flag, archive_*, merge_entities) cite provenance: "attention:$<index>" for a flag earlier in the same batch, or "attention:<uuid>" from a prior batch. Content-bearing ops cite evidence with exact quotes from canonical episodic evidence in that scope.', false, exports_external.object({
|
|
53720
|
+
capability("apply_ontology_ops", "Apply ontology operations", 'Apply every semantic write through the daemon audit seam in one batch, in one agent scope (pass the agentId whose graph you are maintaining — hygiene attention records belong to the agent that flagged them). Ops are processed in array order. Hygiene ops (flag, archive_*, merge_entities) cite provenance: "attention:$<index>" for a flag earlier in the same batch, or "attention:<uuid>" from a prior batch. decline_attention closes a pending attention record you inspected and judged to keep. Content-bearing ops cite evidence with exact quotes from canonical episodic evidence in that scope.', false, exports_external.object({
|
|
53690
53721
|
agentId: exports_external.string().min(1),
|
|
53691
53722
|
operations: exports_external.array(DREAMING_ONTOLOGY_OPERATION_SCHEMA).min(1).max(100)
|
|
53692
53723
|
}), async ({ agentId: scopeId, operations }) => {
|
package/native-manifest.json
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"version": "0.176.
|
|
3
|
+
"version": "0.176.8",
|
|
4
4
|
"assets": [
|
|
5
5
|
{
|
|
6
6
|
"name": "signet-darwin-arm64",
|
|
7
7
|
"platform": "darwin-arm64",
|
|
8
|
-
"sha256": "
|
|
8
|
+
"sha256": "d56137b51d17a350c7725a711df59a3e3f1857ae2c026de1f94741357f043f03",
|
|
9
9
|
"size": 117094432
|
|
10
10
|
},
|
|
11
11
|
{
|
|
12
12
|
"name": "signet-darwin-x64",
|
|
13
13
|
"platform": "darwin-x64",
|
|
14
|
-
"sha256": "
|
|
14
|
+
"sha256": "b4ff7057a7bd77e776afd3a3c9ab0d931f8dfd7029c29472313661afd95c011d",
|
|
15
15
|
"size": 121719360
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"name": "signet-linux-arm64",
|
|
19
19
|
"platform": "linux-arm64",
|
|
20
|
-
"sha256": "
|
|
21
|
-
"size":
|
|
20
|
+
"sha256": "edb275309e5b55474e901fa47dc007948d82bcdc73a397b1f560ef34acd9cac3",
|
|
21
|
+
"size": 154340182
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
"name": "signet-linux-x64",
|
|
25
25
|
"platform": "linux-x64",
|
|
26
|
-
"sha256": "
|
|
27
|
-
"size":
|
|
26
|
+
"sha256": "8e4eb857e72c8a2a408bab19916dc0ce0b88ccbe4718c8e9987766734fc14193",
|
|
27
|
+
"size": 154899167
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
"name": "signet-win32-x64.exe",
|
|
31
31
|
"platform": "win32-x64",
|
|
32
|
-
"sha256": "
|
|
33
|
-
"size":
|
|
32
|
+
"sha256": "171320bc74c76ea6f2879c0332f43f69ff9c2fb4811054f41b74ed11ace44df5",
|
|
33
|
+
"size": 171032064
|
|
34
34
|
}
|
|
35
35
|
],
|
|
36
36
|
"components": {
|
|
37
37
|
"connectors": {
|
|
38
|
-
"url": "signet-connectors-0.176.
|
|
39
|
-
"sha256": "
|
|
40
|
-
"size":
|
|
38
|
+
"url": "signet-connectors-0.176.8.tar.gz",
|
|
39
|
+
"sha256": "7119382fb59f38c63e928cc28974cc4afc4c1238921377df388e4044655ef1f4",
|
|
40
|
+
"size": 16246
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "signetai",
|
|
3
|
-
"version": "0.176.
|
|
3
|
+
"version": "0.176.8",
|
|
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.176.
|
|
69
|
-
"signetai-darwin-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.176.
|
|
70
|
-
"signetai-linux-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.176.
|
|
71
|
-
"signetai-linux-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.176.
|
|
72
|
-
"signetai-win32-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.176.
|
|
68
|
+
"signetai-darwin-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.176.8/signetai-darwin-arm64-0.176.8.tgz",
|
|
69
|
+
"signetai-darwin-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.176.8/signetai-darwin-x64-0.176.8.tgz",
|
|
70
|
+
"signetai-linux-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.176.8/signetai-linux-arm64-0.176.8.tgz",
|
|
71
|
+
"signetai-linux-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.176.8/signetai-linux-x64-0.176.8.tgz",
|
|
72
|
+
"signetai-win32-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.176.8/signetai-win32-x64-0.176.8.tgz"
|
|
73
73
|
}
|
|
74
74
|
}
|