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.
@@ -40,7 +40,7 @@ import {
40
40
  } from "./chunk-GOT7OAL5.js";
41
41
 
42
42
  // src/version.ts
43
- var VERSION = true ? "2.77.5" : "dev";
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-4S7MPK4F.js");
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-5N7JBWAD.js.map
2234
+ //# sourceMappingURL=chunk-MX3NIZGV.js.map
@@ -70,7 +70,7 @@ import {
70
70
  clampTaskTtl,
71
71
  getAvailabilityCache,
72
72
  resolveFallback
73
- } from "./chunk-5N7JBWAD.js";
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, startMs, governance) {
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-NQRC7QQL.js.map
49993
+ //# sourceMappingURL=chunk-RBZKUFNT.js.map