signetai 0.160.0 → 0.160.1

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
@@ -57042,7 +57042,7 @@ var DREAMING_OPERATION_IDS = [
57042
57042
  ];
57043
57043
  var operationBase = {
57044
57044
  reason: exports_external.string().optional(),
57045
- evidence: exports_external.array(exports_external.unknown()).describe("Content-bearing ops only: exact-quote citations from canonical episodic evidence, each {quote, source_ref}.").optional(),
57045
+ evidence: exports_external.array(exports_external.unknown()).describe('Content-bearing ops only: exact-quote citations from canonical episodic evidence, each {quote, source_ref} where source_ref is "kind:id" (e.g. transcript:abc) as returned by search_evidence.').optional(),
57046
57046
  provenance: exports_external.string().min(1).describe('Hygiene ops only: "attention:$<index>" referencing a flag op earlier in the same batch, or "attention:<uuid>" from a prior batch.').optional(),
57047
57047
  confidence: exports_external.number().finite().min(0).max(1).optional(),
57048
57048
  risk: exports_external.string().nullable().optional()
@@ -57089,7 +57089,16 @@ function citationRecord(value) {
57089
57089
  const sourceId = typeof citation.source_id === "string" ? citation.source_id.trim() : "";
57090
57090
  const sourcePath = typeof citation.source_path === "string" ? citation.source_path.trim() : null;
57091
57091
  const quote = typeof citation.quote === "string" ? citation.quote.trim() : "";
57092
- return sourceRef && sourceKind && sourceId && quote ? { sourceRef, sourceKind, sourceId, sourcePath, quote } : null;
57092
+ let kind = sourceKind;
57093
+ let id = sourceId;
57094
+ const colon = sourceRef.indexOf(":");
57095
+ if (colon > 0) {
57096
+ if (!kind)
57097
+ kind = sourceRef.slice(0, colon);
57098
+ if (!id)
57099
+ id = sourceRef.slice(colon + 1);
57100
+ }
57101
+ return sourceRef && kind && id && quote ? { sourceRef, sourceKind: kind, sourceId: id, sourcePath, quote } : null;
57093
57102
  }
57094
57103
  function citeEvidence(accessor, agentId, citation) {
57095
57104
  const requested = citationRecord(citation);
@@ -57672,7 +57681,7 @@ function createDreamingCapabilities(params) {
57672
57681
  ok: true,
57673
57682
  items: getEntityDependenciesDetailed(accessor, { entityId: entityId2, agentId, direction: direction ?? "both" })
57674
57683
  })),
57675
- capability("get_evidence", "Get evidence", "Resolve provenance for a scoped claim path or a scoped dependency link by stable id.", true, exports_external.object({
57684
+ capability("get_evidence", "Get evidence", "Resolve provenance for a scoped claim path (entity/aspect by stable id or name) or a scoped dependency link by stable id.", true, exports_external.object({
57676
57685
  ref: exports_external.union([
57677
57686
  exports_external.object({
57678
57687
  type: exports_external.literal("claim"),
@@ -57686,12 +57695,21 @@ function createDreamingCapabilities(params) {
57686
57695
  ...pagination
57687
57696
  }), async ({ ref: ref3, limit, offset }) => {
57688
57697
  if (ref3.type === "claim") {
57698
+ let entityName2 = ref3.entity;
57699
+ let aspectName2 = ref3.aspect;
57700
+ const detail = getKnowledgeEntityDetail(accessor, ref3.entity, agentId);
57701
+ if (detail) {
57702
+ entityName2 = detail.entity.name;
57703
+ const aspect = getEntityAspectsWithCounts(accessor, ref3.entity, agentId).find((candidate) => candidate.aspect.id === ref3.aspect || candidate.aspect.name === ref3.aspect);
57704
+ if (aspect)
57705
+ aspectName2 = aspect.aspect.name;
57706
+ }
57689
57707
  return {
57690
57708
  ok: true,
57691
57709
  result: getOntologyClaimEvidence(accessor, {
57692
57710
  agentId,
57693
- entity: ref3.entity,
57694
- aspect: ref3.aspect,
57711
+ entity: entityName2,
57712
+ aspect: aspectName2,
57695
57713
  group: ref3.group,
57696
57714
  claim: ref3.claim,
57697
57715
  limit,
@@ -1,43 +1,43 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "version": "0.160.0",
3
+ "version": "0.160.1",
4
4
  "assets": [
5
5
  {
6
6
  "name": "signet-darwin-arm64",
7
7
  "platform": "darwin-arm64",
8
- "sha256": "aa65aca8003becc4d19d32b1b9b2341209a5fad9db2a68ecbf3a81588e699fc5",
8
+ "sha256": "3a85a13a40d368c8b808b42b8b484215548aac520a1f1b4ec50b34c719da1ca4",
9
9
  "size": 125267872
10
10
  },
11
11
  {
12
12
  "name": "signet-darwin-x64",
13
13
  "platform": "darwin-x64",
14
- "sha256": "036dbd84293c90d531f18ad13d343fa458a47f551fd43ec948575f7f7ad8de52",
14
+ "sha256": "9c8a356f2728024f79fa6fc623a27ed4a421f3c6e782c8abd316beaabb2a2b21",
15
15
  "size": 129829440
16
16
  },
17
17
  {
18
18
  "name": "signet-linux-arm64",
19
19
  "platform": "linux-arm64",
20
- "sha256": "778a294508fa9ec3f0173415970bc9b291dc8080bb9ad8e5a9b0012329f5dbf5",
21
- "size": 162441818
20
+ "sha256": "61f5ff683d2850810f25f941c74b5e839cb51636b2bcb43c70203cce7daacf7a",
21
+ "size": 162442641
22
22
  },
23
23
  {
24
24
  "name": "signet-linux-x64",
25
25
  "platform": "linux-x64",
26
- "sha256": "1e7519493884c73cd99c9025182de2fb0dd67cddd05ad4f5523c0d454429538f",
27
- "size": 163000807
26
+ "sha256": "d6cd1c973e1551d6e9d6931020817ee15736b9f66720da36b3be63c28d95de3a",
27
+ "size": 163001634
28
28
  },
29
29
  {
30
30
  "name": "signet-win32-x64.exe",
31
31
  "platform": "win32-x64",
32
- "sha256": "e7d037b1a6ba4e9685566f4e634e28144f6540e30c156aea9888c13367f216de",
33
- "size": 179132416
32
+ "sha256": "c2f06fdcec7623a49652ee25b41cd29b95486c3beaa3bc60a7a6f9d07a3bacf7",
33
+ "size": 179133440
34
34
  }
35
35
  ],
36
36
  "components": {
37
37
  "connectors": {
38
- "url": "signet-connectors-0.160.0.tar.gz",
39
- "sha256": "678ffad5f21ce143dd42d1fb3bd270222476e6176f11e29d14528abbc9499172",
40
- "size": 15996
38
+ "url": "signet-connectors-0.160.1.tar.gz",
39
+ "sha256": "0458ba873df9535c8390a6ad850b8c9945765d7fda342bcf093eddcde3439213",
40
+ "size": 15995
41
41
  }
42
42
  }
43
43
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "signetai",
3
- "version": "0.160.0",
3
+ "version": "0.160.1",
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.160.0/signetai-darwin-arm64-0.160.0.tgz",
69
- "signetai-darwin-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.160.0/signetai-darwin-x64-0.160.0.tgz",
70
- "signetai-linux-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.160.0/signetai-linux-arm64-0.160.0.tgz",
71
- "signetai-linux-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.160.0/signetai-linux-x64-0.160.0.tgz",
72
- "signetai-win32-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.160.0/signetai-win32-x64-0.160.0.tgz"
68
+ "signetai-darwin-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.160.1/signetai-darwin-arm64-0.160.1.tgz",
69
+ "signetai-darwin-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.160.1/signetai-darwin-x64-0.160.1.tgz",
70
+ "signetai-linux-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.160.1/signetai-linux-arm64-0.160.1.tgz",
71
+ "signetai-linux-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.160.1/signetai-linux-x64-0.160.1.tgz",
72
+ "signetai-win32-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.160.1/signetai-win32-x64-0.160.1.tgz"
73
73
  }
74
74
  }