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