signetai 0.193.2 → 0.194.0

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 CHANGED
@@ -49408,6 +49408,7 @@ var BASE_TOOL_NAMES = new Set([
49408
49408
  "knowledge_list_groups",
49409
49409
  "knowledge_list_claims",
49410
49410
  "knowledge_list_attributes",
49411
+ "signet_explain_claim",
49411
49412
  "knowledge_hygiene_report",
49412
49413
  "apply_ontology_ops",
49413
49414
  "entity_list",
@@ -50894,6 +50895,19 @@ async function createMcpServer(opts) {
50894
50895
  offset: exports_external.number().optional().describe("Pagination offset, default 0"),
50895
50896
  agent_id: exports_external.string().optional().describe("Agent scope, default default")
50896
50897
  });
50898
+ const explainClaimInput = exports_external.object({
50899
+ entity: exports_external.string().min(1).describe("Entity name"),
50900
+ aspect: exports_external.string().min(1).describe("Aspect/room name"),
50901
+ group: exports_external.string().min(1).describe("Group/dresser key"),
50902
+ claim: exports_external.string().min(1).describe("Claim/drawer key"),
50903
+ kind: exports_external.enum(["attribute", "constraint"]).optional(),
50904
+ version_limit: exports_external.number().int().min(1).max(50).optional().describe("Max claim versions"),
50905
+ premise_limit: exports_external.number().int().min(1).max(100).optional().describe("Max source premises"),
50906
+ reverse_limit: exports_external.number().int().min(1).max(100).optional().describe("Max reverse dependents"),
50907
+ max_depth: exports_external.number().int().min(0).max(3).optional().describe("Max bounded lineage depth"),
50908
+ session_key: exports_external.string().optional().describe("Optional session boundary for fail-closed provenance"),
50909
+ agent_id: exports_external.string().optional().describe("Agent scope, default default")
50910
+ });
50897
50911
  const hygieneReportInput = exports_external.object({
50898
50912
  limit: exports_external.number().optional().describe("Max rows per report section, default 50"),
50899
50913
  memory_limit: exports_external.number().optional().describe("Recent memories to scan for safe mention candidates, default 200"),
@@ -50997,6 +51011,36 @@ async function createMcpServer(opts) {
50997
51011
  params.set("agent_id", agent_id);
50998
51012
  return fetchNavigation("/api/knowledge/navigation/attributes", params, "Entity attributes");
50999
51013
  };
51014
+ const explainClaim = async ({
51015
+ entity,
51016
+ aspect,
51017
+ group,
51018
+ claim,
51019
+ kind,
51020
+ version_limit,
51021
+ premise_limit,
51022
+ reverse_limit,
51023
+ max_depth,
51024
+ session_key,
51025
+ agent_id
51026
+ }) => {
51027
+ const params = new URLSearchParams({ entity, aspect, group, claim });
51028
+ if (kind)
51029
+ params.set("kind", kind);
51030
+ if (version_limit !== undefined)
51031
+ params.set("version_limit", String(version_limit));
51032
+ if (premise_limit !== undefined)
51033
+ params.set("premise_limit", String(premise_limit));
51034
+ if (reverse_limit !== undefined)
51035
+ params.set("reverse_limit", String(reverse_limit));
51036
+ if (max_depth !== undefined)
51037
+ params.set("max_depth", String(max_depth));
51038
+ if (session_key)
51039
+ params.set("session_key", session_key);
51040
+ if (agent_id)
51041
+ params.set("agent_id", agent_id);
51042
+ return fetchNavigation("/api/ontology/claims/explain", params, "Claim trace");
51043
+ };
51000
51044
  const hygieneReport = async ({ limit, memory_limit, agent_id }) => {
51001
51045
  const params = new URLSearchParams;
51002
51046
  if (limit !== undefined)
@@ -51049,6 +51093,12 @@ async function createMcpServer(opts) {
51049
51093
  inputSchema: listAttributesInput,
51050
51094
  annotations: { readOnlyHint: true }
51051
51095
  }, listAttributes);
51096
+ registerMcpTool(server, "signet_explain_claim", {
51097
+ title: "Explain Claim",
51098
+ description: "Return an authorized, bounded claim trace with current and historical versions, competing assertions, " + "exact source spans, premise integrity, scope decisions, and reverse lineage. Missing or cross-agent source IDs fail closed.",
51099
+ inputSchema: explainClaimInput,
51100
+ annotations: { readOnlyHint: true }
51101
+ }, explainClaim);
51052
51102
  registerMcpTool(server, "knowledge_hygiene_report", {
51053
51103
  title: "Knowledge Hygiene Report",
51054
51104
  description: "Run a report-only scan for likely graph cleanup work. " + "Flags suspicious entities, duplicate canonical entities, missing group/claim/source fields, " + "and safe known-entity mention candidates without mutating the graph.",
@@ -1,43 +1,43 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "version": "0.193.2",
3
+ "version": "0.194.0",
4
4
  "assets": [
5
5
  {
6
6
  "name": "signet-darwin-arm64",
7
7
  "platform": "darwin-arm64",
8
- "sha256": "b091332d5d9be1b8fdb25372553c2484fb28d800de67a5996c2c6f67d6fe52b5",
9
- "size": 124805536
8
+ "sha256": "1e00bd2e6e994a4548d93fc92b2c352797e6ae3abb7a922cf8bff34fc37fe6ec",
9
+ "size": 124855072
10
10
  },
11
11
  {
12
12
  "name": "signet-darwin-x64",
13
13
  "platform": "darwin-x64",
14
- "sha256": "92c5a61deb53c9a86da42288184e61ff143c6ada56f15ac72cdbbdc4fbc71afc",
15
- "size": 129780288
14
+ "sha256": "152dd81cce6745c27e117fd3c76aad65cd700bb991637e59cf7e5dca8a5039a3",
15
+ "size": 129829440
16
16
  },
17
17
  {
18
18
  "name": "signet-linux-arm64",
19
19
  "platform": "linux-arm64",
20
- "sha256": "5e6eaae6cc75256c914cd5976992135fce3d4a74780e089c0d50723775e87a64",
21
- "size": 169347521
20
+ "sha256": "c6e30bfac0006de50fb521fbf60ba70bfe80462749cef638f0814005d367c797",
21
+ "size": 169402886
22
22
  },
23
23
  {
24
24
  "name": "signet-linux-x64",
25
25
  "platform": "linux-x64",
26
- "sha256": "5b90a384b725f19a21bda5cc76790b84fb3fb7eed3665cb793196d8ec1a60884",
27
- "size": 171722103
26
+ "sha256": "331c627b39c38deb8817b8b82880460e415e28fee1417e9528c24d0ebca385d3",
27
+ "size": 171777468
28
28
  },
29
29
  {
30
30
  "name": "signet-win32-x64.exe",
31
31
  "platform": "win32-x64",
32
- "sha256": "8ffefc6d59675909bf0694b89e8fc7bf8549f6b574c76ce5674466757d752756",
33
- "size": 179847680
32
+ "sha256": "2689ea6283f84acd2f0ffd62730810a2f432362e6c22553010792fff8403514a",
33
+ "size": 179902976
34
34
  }
35
35
  ],
36
36
  "components": {
37
37
  "connectors": {
38
- "url": "signet-connectors-0.193.2.tar.gz",
39
- "sha256": "e99e4dad27f5735cef35713f8f7dd1e14fcefdc90b9b82baed60830f82d08c52",
40
- "size": 16888
38
+ "url": "signet-connectors-0.194.0.tar.gz",
39
+ "sha256": "d3caebfcde5627f811bc545f55f6acfa3abf78f0b4be658d28a224412abe8a95",
40
+ "size": 17657
41
41
  }
42
42
  }
43
43
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "signetai",
3
- "version": "0.193.2",
3
+ "version": "0.194.0",
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.193.2/signetai-darwin-arm64-0.193.2.tgz",
69
- "signetai-darwin-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.193.2/signetai-darwin-x64-0.193.2.tgz",
70
- "signetai-linux-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.193.2/signetai-linux-arm64-0.193.2.tgz",
71
- "signetai-linux-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.193.2/signetai-linux-x64-0.193.2.tgz",
72
- "signetai-win32-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.193.2/signetai-win32-x64-0.193.2.tgz"
68
+ "signetai-darwin-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.194.0/signetai-darwin-arm64-0.194.0.tgz",
69
+ "signetai-darwin-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.194.0/signetai-darwin-x64-0.194.0.tgz",
70
+ "signetai-linux-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.194.0/signetai-linux-arm64-0.194.0.tgz",
71
+ "signetai-linux-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.194.0/signetai-linux-x64-0.194.0.tgz",
72
+ "signetai-win32-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.194.0/signetai-win32-x64-0.194.0.tgz"
73
73
  }
74
74
  }