@signetai/connector-hermes-agent 0.185.2 → 0.185.4

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.
@@ -75,7 +75,7 @@ MEMORY_SEARCH_SCHEMA = {
75
75
  "type": "number",
76
76
  "description": "Deprecated compatibility alias for importance_min; ignored when importance_min is set.",
77
77
  },
78
- "score_min": {"type": "number", "description": "Minimum recall score threshold, applied client-side."},
78
+ "score_min": {"type": "number", "description": "Minimum recall score threshold."},
79
79
  "aggregate": {
80
80
  "type": "boolean",
81
81
  "description": "Synthesize an aggregate answer from bounded recall evidence.",
@@ -61,7 +61,9 @@ def _build_recall_request_body(
61
61
  aggregate: bool = False,
62
62
  aggregate_budget: str = "",
63
63
  save_aggregate: Optional[bool] = None,
64
+ min_score: Optional[float] = None,
64
65
  agent_id: str = "",
66
+ recall_surface: str = "",
65
67
  ) -> Dict[str, Any]:
66
68
  """Build canonical daemon JSON for the options exposed by Hermes."""
67
69
  body: Dict[str, Any] = {"query": query, "limit": _normalize_recall_limit(limit)}
@@ -86,6 +88,10 @@ def _build_recall_request_body(
86
88
  body["aggregateBudget"] = aggregate_budget
87
89
  if isinstance(save_aggregate, bool):
88
90
  body["saveAggregate"] = save_aggregate
91
+ if isinstance(min_score, (int, float)) and not isinstance(min_score, bool) and math.isfinite(min_score):
92
+ body["minScore"] = min_score
93
+ if recall_surface in ("explicit_api", "tool_call", "prompt_injection", "dashboard", "other"):
94
+ body["recallSurface"] = recall_surface
89
95
  return body
90
96
 
91
97
 
@@ -510,7 +516,9 @@ class SignetClient:
510
516
  aggregate=aggregate,
511
517
  aggregate_budget=aggregate_budget,
512
518
  save_aggregate=save_aggregate,
519
+ min_score=score_min,
513
520
  agent_id=self._agent_id if agent_scoped else "",
521
+ recall_surface="tool_call",
514
522
  )
515
523
 
516
524
  result = self._post("/api/memory/recall", body, timeout=_RECALL_TIMEOUT_SECS)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signetai/connector-hermes-agent",
3
- "version": "0.185.2",
3
+ "version": "0.185.4",
4
4
  "description": "Signet connector for Hermes Agent — installs Signet as a pluggable memory provider",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -25,8 +25,8 @@
25
25
  "typecheck": "tsc --noEmit"
26
26
  },
27
27
  "dependencies": {
28
- "@signetai/connector-base": "0.185.2",
29
- "@signetai/core": "0.185.2"
28
+ "@signetai/connector-base": "0.185.4",
29
+ "@signetai/core": "0.185.4"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/node": "^22.0.0",