nexus-agents 2.102.0 → 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.0" : "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-CRJACYUE.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-DR6YA645.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-DR6YA645.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-PC6GNOES.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-DR6YA645.js";
96
+ } from "./chunk-442GPECD.js";
97
97
  import {
98
98
  getAvailabilityCache,
99
99
  getCliForModelId,
@@ -28114,6 +28114,13 @@ function resetPipelinePluginRegistry() {
28114
28114
  globalPluginRegistry = void 0;
28115
28115
  }
28116
28116
 
28117
+ // src/pipeline/pipeline-deps.ts
28118
+ function resolvePipelineDeps(deps) {
28119
+ return {
28120
+ pluginRegistry: deps?.pluginRegistry ?? getPipelinePluginRegistry()
28121
+ };
28122
+ }
28123
+
28117
28124
  // src/pipeline/pipeline-observability.ts
28118
28125
  function resolveBus(bus) {
28119
28126
  return bus ?? getPipelineEventBus();
@@ -28340,9 +28347,8 @@ function getDefaultRunsDir() {
28340
28347
  var PipelineRunner = class {
28341
28348
  /** Compiles a PlanContract into a CompiledPipeline. */
28342
28349
  compile(plan, options) {
28343
- const compileOpts = {
28344
- pluginRegistry: options?.pluginRegistry ?? getPipelinePluginRegistry()
28345
- };
28350
+ const { pluginRegistry } = resolvePipelineDeps(options);
28351
+ const compileOpts = { pluginRegistry };
28346
28352
  const graphResult = compilePlan(plan, compileOpts);
28347
28353
  if (!graphResult.ok) {
28348
28354
  return { ok: false, error: graphResult.error };
@@ -49790,9 +49796,8 @@ function getSandboxMode() {
49790
49796
 
49791
49797
  // src/pipeline/feedback-subscriber.ts
49792
49798
  var logger52 = createLogger({ component: "FeedbackSubscriber" });
49793
- var VALID_CLIS = new Set(CLI_NAMES);
49794
49799
  function createFeedbackSubscriber(bus, store) {
49795
- return bus.subscribe({ type: ["model.called", "stage.failed"] }, (event) => {
49800
+ return bus.subscribe({ type: ["stage.failed"] }, (event) => {
49796
49801
  try {
49797
49802
  handleEvent2(event, store);
49798
49803
  } catch (error) {
@@ -49813,27 +49818,10 @@ function shutdownFeedbackSubscriber() {
49813
49818
  }
49814
49819
  }
49815
49820
  function handleEvent2(event, store) {
49816
- if (event.type === "model.called") {
49817
- recordModelCall(event, store);
49818
- } else if (event.type === "stage.failed") {
49821
+ if (event.type === "stage.failed") {
49819
49822
  recordStageFailed(event, store);
49820
49823
  }
49821
49824
  }
49822
- function recordModelCall(event, store) {
49823
- const cli = normalizeCli(event.cli);
49824
- if (cli === void 0) return;
49825
- const outcome = {
49826
- id: `fb-${event.executionId}-${String(event.timestamp)}`,
49827
- cli,
49828
- category: "code_generation",
49829
- model: event.model,
49830
- success: true,
49831
- durationMs: event.durationMs,
49832
- timestamp: new Date(event.timestamp).toISOString(),
49833
- source: "delegate"
49834
- };
49835
- store.append(outcome);
49836
- }
49837
49825
  function recordStageFailed(event, store) {
49838
49826
  const outcome = {
49839
49827
  id: `fb-fail-${event.executionId}-${String(event.timestamp)}`,
@@ -49850,13 +49838,6 @@ function recordStageFailed(event, store) {
49850
49838
  };
49851
49839
  store.append(outcome);
49852
49840
  }
49853
- function normalizeCli(cli) {
49854
- if (VALID_CLIS.has(cli)) {
49855
- return cli;
49856
- }
49857
- logger52.warn("Unknown CLI in event", { cli });
49858
- return void 0;
49859
- }
49860
49841
 
49861
49842
  // src/pipeline/event-bus-bridge.ts
49862
49843
  var logger53 = createLogger({ component: "EventBusBridge" });
@@ -50491,6 +50472,7 @@ export {
50491
50472
  createCorePluginRegistry,
50492
50473
  getPipelinePluginRegistry,
50493
50474
  resetPipelinePluginRegistry,
50475
+ resolvePipelineDeps,
50494
50476
  emitStageStarted,
50495
50477
  emitStageCompleted,
50496
50478
  emitStageFailed,
@@ -50698,4 +50680,4 @@ export {
50698
50680
  detectBackend,
50699
50681
  createTaskTracker
50700
50682
  };
50701
- //# sourceMappingURL=chunk-MLTNGA4P.js.map
50683
+ //# sourceMappingURL=chunk-SYGFYIYF.js.map