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.
- package/dist/{chunk-DQ5ZR66I.js → chunk-4LATU3KQ.js} +6 -31
- package/dist/{chunk-DQ5ZR66I.js.map → chunk-4LATU3KQ.js.map} +1 -1
- package/dist/{chunk-5SNDOBMV.js → chunk-BDTLTJO4.js} +3 -3
- package/dist/{chunk-CE2RB6GA.js → chunk-CF7SEEW2.js} +2 -2
- package/dist/{chunk-J6KO7RGF.js → chunk-Y5GD3LHH.js} +2 -2
- package/dist/chunk-Y5GD3LHH.js.map +1 -0
- package/dist/cli.js +4 -4
- package/dist/cli.js.map +1 -1
- package/dist/{consensus-vote-QPHD5HGX.js → consensus-vote-BW4HOYS4.js} +2 -2
- package/dist/index.d.ts +31 -28
- package/dist/index.js +4 -4
- package/dist/{setup-command-ASIVCHUE.js → setup-command-42V7EVXD.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-J6KO7RGF.js.map +0 -1
- /package/dist/{chunk-5SNDOBMV.js.map → chunk-BDTLTJO4.js.map} +0 -0
- /package/dist/{chunk-CE2RB6GA.js.map → chunk-CF7SEEW2.js.map} +0 -0
- /package/dist/{consensus-vote-QPHD5HGX.js.map → consensus-vote-BW4HOYS4.js.map} +0 -0
- /package/dist/{setup-command-ASIVCHUE.js.map → setup-command-42V7EVXD.js.map} +0 -0
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
writeJobComplete,
|
|
31
31
|
writeJobFailed,
|
|
32
32
|
writeJobPending
|
|
33
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
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: ["
|
|
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 === "
|
|
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-
|
|
50683
|
+
//# sourceMappingURL=chunk-4LATU3KQ.js.map
|