nexus-agents 2.77.5 → 2.77.6
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/{chunk-5N7JBWAD.js → chunk-MX3NIZGV.js} +3 -3
- package/dist/{chunk-NQRC7QQL.js → chunk-RBZKUFNT.js} +3 -31
- package/dist/{chunk-NQRC7QQL.js.map → chunk-RBZKUFNT.js.map} +1 -1
- package/dist/{chunk-QIDO6VPO.js → chunk-ZV4WIG7V.js} +2 -2
- package/dist/cli.js +3 -3
- package/dist/index.js +2 -2
- package/dist/{setup-command-4S7MPK4F.js → setup-command-DTJJ73RB.js} +3 -3
- package/package.json +1 -1
- /package/dist/{chunk-5N7JBWAD.js.map → chunk-MX3NIZGV.js.map} +0 -0
- /package/dist/{chunk-QIDO6VPO.js.map → chunk-ZV4WIG7V.js.map} +0 -0
- /package/dist/{setup-command-4S7MPK4F.js.map → setup-command-DTJJ73RB.js.map} +0 -0
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
} from "./chunk-GOT7OAL5.js";
|
|
41
41
|
|
|
42
42
|
// src/version.ts
|
|
43
|
-
var VERSION = true ? "2.77.
|
|
43
|
+
var VERSION = true ? "2.77.6" : "dev";
|
|
44
44
|
|
|
45
45
|
// src/config/schemas-core.ts
|
|
46
46
|
import { z } from "zod";
|
|
@@ -2121,7 +2121,7 @@ async function runDoctorFix(result) {
|
|
|
2121
2121
|
writeLine2("\u2500".repeat(40));
|
|
2122
2122
|
let fixCount = 0;
|
|
2123
2123
|
if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
|
|
2124
|
-
const { runSetup } = await import("./setup-command-
|
|
2124
|
+
const { runSetup } = await import("./setup-command-DTJJ73RB.js");
|
|
2125
2125
|
const setupResult = runSetup({
|
|
2126
2126
|
skipMcp: true,
|
|
2127
2127
|
skipRules: true,
|
|
@@ -2231,4 +2231,4 @@ export {
|
|
|
2231
2231
|
startStdioServer,
|
|
2232
2232
|
closeServer
|
|
2233
2233
|
};
|
|
2234
|
-
//# sourceMappingURL=chunk-
|
|
2234
|
+
//# sourceMappingURL=chunk-MX3NIZGV.js.map
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
clampTaskTtl,
|
|
71
71
|
getAvailabilityCache,
|
|
72
72
|
resolveFallback
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-MX3NIZGV.js";
|
|
74
74
|
import {
|
|
75
75
|
DEFAULTS
|
|
76
76
|
} from "./chunk-YQMQSJQK.js";
|
|
@@ -34041,9 +34041,8 @@ function findMatchingKeyword(text, domain) {
|
|
|
34041
34041
|
}
|
|
34042
34042
|
|
|
34043
34043
|
// src/mcp/tools/delegate-to-model.ts
|
|
34044
|
-
function recordDelegation(task, model, usedRouter,
|
|
34044
|
+
function recordDelegation(task, model, usedRouter, _startMs, _governance) {
|
|
34045
34045
|
recordToMemory(task, model, usedRouter);
|
|
34046
|
-
recordToOutcomeStore2(task, model, startMs, governance);
|
|
34047
34046
|
}
|
|
34048
34047
|
function recordToMemory(task, model, usedRouter) {
|
|
34049
34048
|
try {
|
|
@@ -34063,33 +34062,6 @@ function recordToMemory(task, model, usedRouter) {
|
|
|
34063
34062
|
});
|
|
34064
34063
|
}
|
|
34065
34064
|
}
|
|
34066
|
-
function recordToOutcomeStore2(task, model, startMs, governance) {
|
|
34067
|
-
try {
|
|
34068
|
-
const cli = getCliForModel(model);
|
|
34069
|
-
if (cli === void 0) return;
|
|
34070
|
-
const match = detectTaskCategory(task);
|
|
34071
|
-
const qualitySignals = [];
|
|
34072
|
-
if (governance?.promoted === true) {
|
|
34073
|
-
qualitySignals.push(`governance:${governance.domain}`);
|
|
34074
|
-
}
|
|
34075
|
-
getOutcomeStore().append({
|
|
34076
|
-
id: `del-${String(getTimeProvider().now())}-${getRandomProvider().random().toString(36).slice(2, 8)}`,
|
|
34077
|
-
cli,
|
|
34078
|
-
category: match?.category ?? "exploration",
|
|
34079
|
-
model,
|
|
34080
|
-
success: true,
|
|
34081
|
-
durationMs: Date.now() - startMs,
|
|
34082
|
-
timestamp: new Date(getTimeProvider().now()).toISOString(),
|
|
34083
|
-
source: "delegate",
|
|
34084
|
-
...qualitySignals.length > 0 ? { qualitySignals } : {}
|
|
34085
|
-
});
|
|
34086
|
-
} catch (error) {
|
|
34087
|
-
createLogger({ tool: "delegate-to-model" }).warn("Failed to record delegation outcome", {
|
|
34088
|
-
error: getErrorMessage(error),
|
|
34089
|
-
model
|
|
34090
|
-
});
|
|
34091
|
-
}
|
|
34092
|
-
}
|
|
34093
34065
|
function classifyDelegateGovernance(input, logger51) {
|
|
34094
34066
|
const classification = classifyWithGovernance("delegate_to_model", { task: input.task });
|
|
34095
34067
|
auditGovernancePromotion(classification, "delegate_to_model", logger51);
|
|
@@ -50018,4 +49990,4 @@ export {
|
|
|
50018
49990
|
detectBackend,
|
|
50019
49991
|
createTaskTracker
|
|
50020
49992
|
};
|
|
50021
|
-
//# sourceMappingURL=chunk-
|
|
49993
|
+
//# sourceMappingURL=chunk-RBZKUFNT.js.map
|