@hiveai/mcp 0.19.0 → 0.20.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/index.js +11 -2
- package/dist/index.js.map +1 -1
- package/dist/server.js +11 -2
- package/dist/server.js.map +1 -1
- package/package.json +3 -3
package/dist/server.js
CHANGED
|
@@ -3487,8 +3487,17 @@ function classifyWarning(warning, paths, anchoredBlocks = false) {
|
|
|
3487
3487
|
repair_command: repairCommand
|
|
3488
3488
|
};
|
|
3489
3489
|
}
|
|
3490
|
+
if (warning.has_sensor && !warning.reasons.includes("sensor") && !warning.reasons.includes("anchor")) {
|
|
3491
|
+
return {
|
|
3492
|
+
...warning,
|
|
3493
|
+
level: "info",
|
|
3494
|
+
rationale: "memory has a deterministic sensor that did not fire and is not anchored to a touched file \u2014 treated as non-violation noise",
|
|
3495
|
+
affected_files: affectedFiles,
|
|
3496
|
+
repair_command: repairCommand
|
|
3497
|
+
};
|
|
3498
|
+
}
|
|
3490
3499
|
const corroborated = warning.reasons.includes("anchor") || warning.distinctive_literal === true;
|
|
3491
|
-
const semanticReviewFloor = corroborated ? 0.45 : 0.
|
|
3500
|
+
const semanticReviewFloor = corroborated ? 0.45 : 0.65;
|
|
3492
3501
|
if (hasSemantic && semanticScore >= semanticReviewFloor || highConfidence && warning.reasons.includes("anchor") && warning.reasons.includes("literal")) {
|
|
3493
3502
|
return {
|
|
3494
3503
|
...warning,
|
|
@@ -4219,7 +4228,7 @@ When done, respond with: "Imported N memories: [list of IDs]" or "Nothing action
|
|
|
4219
4228
|
// src/server.ts
|
|
4220
4229
|
import { hasRecentBriefingMarker, loadConfigSync } from "@hiveai/core";
|
|
4221
4230
|
var SERVER_NAME = "haive";
|
|
4222
|
-
var SERVER_VERSION = "0.
|
|
4231
|
+
var SERVER_VERSION = "0.20.0";
|
|
4223
4232
|
function jsonResult(data) {
|
|
4224
4233
|
return {
|
|
4225
4234
|
content: [
|