nexus-agents 2.102.1 → 2.102.3

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.
@@ -30,7 +30,7 @@ import {
30
30
  writeJobComplete,
31
31
  writeJobFailed,
32
32
  writeJobPending
33
- } from "./chunk-J6KO7RGF.js";
33
+ } from "./chunk-Y5GD3LHH.js";
34
34
  import {
35
35
  REGISTRY_PATH,
36
36
  getProjectRoot,
@@ -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-BDTLTJO4.js";
97
97
  import {
98
98
  getAvailabilityCache,
99
99
  getCliForModelId,
@@ -43862,7 +43862,7 @@ ${contextBlock}`;
43862
43862
  const strategy = config.votingStrategy ?? "higher_order";
43863
43863
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
43864
43864
  try {
43865
- const { executeVoting } = await import("./consensus-vote-QPHD5HGX.js");
43865
+ const { executeVoting } = await import("./consensus-vote-BW4HOYS4.js");
43866
43866
  const votingResult = await executeVoting(
43867
43867
  {
43868
43868
  proposal: buildVoteProposal(plan, research),
@@ -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-4LATU3KQ.js.map