nexus-agents 2.77.4 → 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-LIY6WZNR.js → chunk-MX3NIZGV.js} +3 -3
- package/dist/{chunk-S6MEYRYZ.js → chunk-RBZKUFNT.js} +13 -33
- package/dist/{chunk-S6MEYRYZ.js.map → chunk-RBZKUFNT.js.map} +1 -1
- package/dist/{chunk-AFGRQB4H.js → chunk-ZV4WIG7V.js} +2 -2
- package/dist/cli.js +3 -3
- package/dist/index.js +2 -2
- package/dist/{setup-command-DB3DOE6K.js → setup-command-DTJJ73RB.js} +3 -3
- package/package.json +1 -1
- /package/dist/{chunk-LIY6WZNR.js.map → chunk-MX3NIZGV.js.map} +0 -0
- /package/dist/{chunk-AFGRQB4H.js.map → chunk-ZV4WIG7V.js.map} +0 -0
- /package/dist/{setup-command-DB3DOE6K.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";
|
|
@@ -33677,7 +33677,14 @@ var AUDIO_OUTPUT_KEYWORDS = [
|
|
|
33677
33677
|
"read aloud",
|
|
33678
33678
|
"narrate"
|
|
33679
33679
|
];
|
|
33680
|
-
var MCP_KEYWORDS = [
|
|
33680
|
+
var MCP_KEYWORDS = [
|
|
33681
|
+
"mcp",
|
|
33682
|
+
"mcp tool",
|
|
33683
|
+
"tool use",
|
|
33684
|
+
"computer use",
|
|
33685
|
+
"browse the web",
|
|
33686
|
+
"browser automation"
|
|
33687
|
+
];
|
|
33681
33688
|
var EXPLORATION_KEYWORDS = [
|
|
33682
33689
|
"explore",
|
|
33683
33690
|
"research",
|
|
@@ -34034,9 +34041,8 @@ function findMatchingKeyword(text, domain) {
|
|
|
34034
34041
|
}
|
|
34035
34042
|
|
|
34036
34043
|
// src/mcp/tools/delegate-to-model.ts
|
|
34037
|
-
function recordDelegation(task, model, usedRouter,
|
|
34044
|
+
function recordDelegation(task, model, usedRouter, _startMs, _governance) {
|
|
34038
34045
|
recordToMemory(task, model, usedRouter);
|
|
34039
|
-
recordToOutcomeStore2(task, model, startMs, governance);
|
|
34040
34046
|
}
|
|
34041
34047
|
function recordToMemory(task, model, usedRouter) {
|
|
34042
34048
|
try {
|
|
@@ -34056,33 +34062,6 @@ function recordToMemory(task, model, usedRouter) {
|
|
|
34056
34062
|
});
|
|
34057
34063
|
}
|
|
34058
34064
|
}
|
|
34059
|
-
function recordToOutcomeStore2(task, model, startMs, governance) {
|
|
34060
|
-
try {
|
|
34061
|
-
const cli = getCliForModel(model);
|
|
34062
|
-
if (cli === void 0) return;
|
|
34063
|
-
const match = detectTaskCategory(task);
|
|
34064
|
-
const qualitySignals = [];
|
|
34065
|
-
if (governance?.promoted === true) {
|
|
34066
|
-
qualitySignals.push(`governance:${governance.domain}`);
|
|
34067
|
-
}
|
|
34068
|
-
getOutcomeStore().append({
|
|
34069
|
-
id: `del-${String(getTimeProvider().now())}-${getRandomProvider().random().toString(36).slice(2, 8)}`,
|
|
34070
|
-
cli,
|
|
34071
|
-
category: match?.category ?? "exploration",
|
|
34072
|
-
model,
|
|
34073
|
-
success: true,
|
|
34074
|
-
durationMs: Date.now() - startMs,
|
|
34075
|
-
timestamp: new Date(getTimeProvider().now()).toISOString(),
|
|
34076
|
-
source: "delegate",
|
|
34077
|
-
...qualitySignals.length > 0 ? { qualitySignals } : {}
|
|
34078
|
-
});
|
|
34079
|
-
} catch (error) {
|
|
34080
|
-
createLogger({ tool: "delegate-to-model" }).warn("Failed to record delegation outcome", {
|
|
34081
|
-
error: getErrorMessage(error),
|
|
34082
|
-
model
|
|
34083
|
-
});
|
|
34084
|
-
}
|
|
34085
|
-
}
|
|
34086
34065
|
function classifyDelegateGovernance(input, logger51) {
|
|
34087
34066
|
const classification = classifyWithGovernance("delegate_to_model", { task: input.task });
|
|
34088
34067
|
auditGovernancePromotion(classification, "delegate_to_model", logger51);
|
|
@@ -42697,7 +42676,8 @@ async function getWeatherContext() {
|
|
|
42697
42676
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
42698
42677
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
42699
42678
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
42700
|
-
const
|
|
42679
|
+
const typedMappings = mappings;
|
|
42680
|
+
const lines = typedMappings.map((m) => ` ${m.category} \u2192 ${m.recommendedCli}`).join("\n");
|
|
42701
42681
|
return `
|
|
42702
42682
|
|
|
42703
42683
|
## CLI Health (${String(report.overall.totalTasks)} tasks, ${String(Math.round(report.overall.successRate * 100))}% success)
|
|
@@ -50010,4 +49990,4 @@ export {
|
|
|
50010
49990
|
detectBackend,
|
|
50011
49991
|
createTaskTracker
|
|
50012
49992
|
};
|
|
50013
|
-
//# sourceMappingURL=chunk-
|
|
49993
|
+
//# sourceMappingURL=chunk-RBZKUFNT.js.map
|