nexus-agents 2.102.1 → 2.102.2

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-CH7QIDHQ.js";
41
41
 
42
42
  // src/version.ts
43
- var VERSION = true ? "2.102.1" : "dev";
43
+ var VERSION = true ? "2.102.2" : "dev";
44
44
 
45
45
  // src/config/schemas-core.ts
46
46
  import { z } from "zod";
@@ -2096,7 +2096,7 @@ async function runDoctorFix(result) {
2096
2096
  writeLine2("\u2500".repeat(40));
2097
2097
  let fixCount = 0;
2098
2098
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
2099
- const { runSetup } = await import("./setup-command-ASIVCHUE.js");
2099
+ const { runSetup } = await import("./setup-command-6566KRYE.js");
2100
2100
  const setupResult = runSetup({
2101
2101
  skipMcp: true,
2102
2102
  skipRules: true,
@@ -2208,4 +2208,4 @@ export {
2208
2208
  startStdioServer,
2209
2209
  closeServer
2210
2210
  };
2211
- //# sourceMappingURL=chunk-5SNDOBMV.js.map
2211
+ //# sourceMappingURL=chunk-442GPECD.js.map
@@ -8,7 +8,7 @@ import {
8
8
  checkSqlite,
9
9
  defaultConfig,
10
10
  initDataDirectories
11
- } from "./chunk-5SNDOBMV.js";
11
+ } from "./chunk-442GPECD.js";
12
12
  import {
13
13
  probeAllClis
14
14
  } from "./chunk-3GF52QPA.js";
@@ -1987,4 +1987,4 @@ export {
1987
1987
  setupCommand,
1988
1988
  setupCommandAsync
1989
1989
  };
1990
- //# sourceMappingURL=chunk-CE2RB6GA.js.map
1990
+ //# sourceMappingURL=chunk-QCZ6RSDR.js.map
@@ -93,7 +93,7 @@ import {
93
93
  DEFAULT_TASK_TTL_MS,
94
94
  DEFAULT_TOOL_RATE_LIMITS,
95
95
  clampTaskTtl
96
- } from "./chunk-5SNDOBMV.js";
96
+ } from "./chunk-442GPECD.js";
97
97
  import {
98
98
  getAvailabilityCache,
99
99
  getCliForModelId,
@@ -49796,9 +49796,8 @@ function getSandboxMode() {
49796
49796
 
49797
49797
  // src/pipeline/feedback-subscriber.ts
49798
49798
  var logger52 = createLogger({ component: "FeedbackSubscriber" });
49799
- var VALID_CLIS = new Set(CLI_NAMES);
49800
49799
  function createFeedbackSubscriber(bus, store) {
49801
- return bus.subscribe({ type: ["model.called", "stage.failed"] }, (event) => {
49800
+ return bus.subscribe({ type: ["stage.failed"] }, (event) => {
49802
49801
  try {
49803
49802
  handleEvent2(event, store);
49804
49803
  } catch (error) {
@@ -49819,27 +49818,10 @@ function shutdownFeedbackSubscriber() {
49819
49818
  }
49820
49819
  }
49821
49820
  function handleEvent2(event, store) {
49822
- if (event.type === "model.called") {
49823
- recordModelCall(event, store);
49824
- } else if (event.type === "stage.failed") {
49821
+ if (event.type === "stage.failed") {
49825
49822
  recordStageFailed(event, store);
49826
49823
  }
49827
49824
  }
49828
- function recordModelCall(event, store) {
49829
- const cli = normalizeCli(event.cli);
49830
- if (cli === void 0) return;
49831
- const outcome = {
49832
- id: `fb-${event.executionId}-${String(event.timestamp)}`,
49833
- cli,
49834
- category: "code_generation",
49835
- model: event.model,
49836
- success: true,
49837
- durationMs: event.durationMs,
49838
- timestamp: new Date(event.timestamp).toISOString(),
49839
- source: "delegate"
49840
- };
49841
- store.append(outcome);
49842
- }
49843
49825
  function recordStageFailed(event, store) {
49844
49826
  const outcome = {
49845
49827
  id: `fb-fail-${event.executionId}-${String(event.timestamp)}`,
@@ -49856,13 +49838,6 @@ function recordStageFailed(event, store) {
49856
49838
  };
49857
49839
  store.append(outcome);
49858
49840
  }
49859
- function normalizeCli(cli) {
49860
- if (VALID_CLIS.has(cli)) {
49861
- return cli;
49862
- }
49863
- logger52.warn("Unknown CLI in event", { cli });
49864
- return void 0;
49865
- }
49866
49841
 
49867
49842
  // src/pipeline/event-bus-bridge.ts
49868
49843
  var logger53 = createLogger({ component: "EventBusBridge" });
@@ -50705,4 +50680,4 @@ export {
50705
50680
  detectBackend,
50706
50681
  createTaskTracker
50707
50682
  };
50708
- //# sourceMappingURL=chunk-DQ5ZR66I.js.map
50683
+ //# sourceMappingURL=chunk-SYGFYIYF.js.map