nexus-agents 8.34.2 → 8.36.0
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-OG3QI72T.js → chunk-2MG4USTI.js} +2 -2
- package/dist/{chunk-MDWFK7VB.js → chunk-4PJU3KW7.js} +2 -2
- package/dist/{chunk-REX7B3AP.js → chunk-55QZ4YEB.js} +3 -3
- package/dist/{chunk-LA4DHGJM.js → chunk-6IS2TQEL.js} +3 -3
- package/dist/{chunk-LDPB6NAQ.js → chunk-F3QR6QRH.js} +2 -2
- package/dist/{chunk-A4AD5BQV.js → chunk-Z7WL42PW.js} +22 -11
- package/dist/chunk-Z7WL42PW.js.map +1 -0
- package/dist/cli.js +7 -7
- package/dist/{consensus-vote-RLQKHRAO.js → consensus-vote-3OMWBZQ2.js} +4 -4
- package/dist/{improvement-review-2LKIS73M.js → improvement-review-7E4R5ZVJ.js} +4 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -6
- package/dist/{setup-data-dir-6J6EKKMH.js → setup-data-dir-EHHFVEHZ.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-A4AD5BQV.js.map +0 -1
- /package/dist/{chunk-OG3QI72T.js.map → chunk-2MG4USTI.js.map} +0 -0
- /package/dist/{chunk-MDWFK7VB.js.map → chunk-4PJU3KW7.js.map} +0 -0
- /package/dist/{chunk-REX7B3AP.js.map → chunk-55QZ4YEB.js.map} +0 -0
- /package/dist/{chunk-LA4DHGJM.js.map → chunk-6IS2TQEL.js.map} +0 -0
- /package/dist/{chunk-LDPB6NAQ.js.map → chunk-F3QR6QRH.js.map} +0 -0
- /package/dist/{consensus-vote-RLQKHRAO.js.map → consensus-vote-3OMWBZQ2.js.map} +0 -0
- /package/dist/{improvement-review-2LKIS73M.js.map → improvement-review-7E4R5ZVJ.js.map} +0 -0
- /package/dist/{setup-data-dir-6J6EKKMH.js.map → setup-data-dir-EHHFVEHZ.js.map} +0 -0
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
toolStructuredError,
|
|
8
8
|
toolSuccessStructured,
|
|
9
9
|
wrapToolWithTimeout
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4PJU3KW7.js";
|
|
11
11
|
import {
|
|
12
12
|
JsonlStore,
|
|
13
13
|
SECURITY_KEYWORDS,
|
|
@@ -2173,4 +2173,4 @@ export {
|
|
|
2173
2173
|
runImprovementReview,
|
|
2174
2174
|
registerImprovementReviewTool
|
|
2175
2175
|
};
|
|
2176
|
-
//# sourceMappingURL=chunk-
|
|
2176
|
+
//# sourceMappingURL=chunk-2MG4USTI.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VERSION
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-F3QR6QRH.js";
|
|
4
4
|
import {
|
|
5
5
|
emitClawGuardViolation
|
|
6
6
|
} from "./chunk-W5UCRZN4.js";
|
|
@@ -2306,4 +2306,4 @@ export {
|
|
|
2306
2306
|
VOTING_THRESHOLDS,
|
|
2307
2307
|
ConsensusMetricsSchema
|
|
2308
2308
|
};
|
|
2309
|
-
//# sourceMappingURL=chunk-
|
|
2309
|
+
//# sourceMappingURL=chunk-4PJU3KW7.js.map
|
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
toolSuccessStructured,
|
|
24
24
|
withProgressHeartbeat,
|
|
25
25
|
wrapToolWithTimeout
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-4PJU3KW7.js";
|
|
27
27
|
import {
|
|
28
28
|
VERSION
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-F3QR6QRH.js";
|
|
30
30
|
import {
|
|
31
31
|
assessPanelIndependence,
|
|
32
32
|
countDistinctModels,
|
|
@@ -7806,4 +7806,4 @@ export {
|
|
|
7806
7806
|
CONSENSUS_VOTE_TOOL_SCHEMA,
|
|
7807
7807
|
registerConsensusVoteTool
|
|
7808
7808
|
};
|
|
7809
|
-
//# sourceMappingURL=chunk-
|
|
7809
|
+
//# sourceMappingURL=chunk-55QZ4YEB.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
NODE_ENGINE_RANGE,
|
|
9
9
|
VERSION,
|
|
10
10
|
isNodeVersionSupported
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-F3QR6QRH.js";
|
|
12
12
|
import {
|
|
13
13
|
capitalize
|
|
14
14
|
} from "./chunk-7LP6VJRP.js";
|
|
@@ -1228,7 +1228,7 @@ async function runDoctorFix(result) {
|
|
|
1228
1228
|
writeLine2("\u2500".repeat(40));
|
|
1229
1229
|
let fixCount = 0;
|
|
1230
1230
|
if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
|
|
1231
|
-
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-
|
|
1231
|
+
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-EHHFVEHZ.js");
|
|
1232
1232
|
const outcome = describeDataDirFix2(initDataDirectories2());
|
|
1233
1233
|
writeLine2(outcome.line);
|
|
1234
1234
|
if (outcome.counted) fixCount++;
|
|
@@ -1330,4 +1330,4 @@ export {
|
|
|
1330
1330
|
startStdioServer,
|
|
1331
1331
|
closeServer
|
|
1332
1332
|
};
|
|
1333
|
-
//# sourceMappingURL=chunk-
|
|
1333
|
+
//# sourceMappingURL=chunk-6IS2TQEL.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/version.ts
|
|
2
2
|
import semver from "semver";
|
|
3
|
-
var VERSION = true ? "8.
|
|
3
|
+
var VERSION = true ? "8.36.0" : "dev";
|
|
4
4
|
var NODE_ENGINE_RANGE = ">=22.5.0";
|
|
5
5
|
function isNodeVersionSupported(version) {
|
|
6
6
|
return semver.satisfies(version, NODE_ENGINE_RANGE);
|
|
@@ -11,4 +11,4 @@ export {
|
|
|
11
11
|
NODE_ENGINE_RANGE,
|
|
12
12
|
isNodeVersionSupported
|
|
13
13
|
};
|
|
14
|
-
//# sourceMappingURL=chunk-
|
|
14
|
+
//# sourceMappingURL=chunk-F3QR6QRH.js.map
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
DEFAULT_TASK_TTL_MS,
|
|
23
23
|
clampTaskTtl
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-6IS2TQEL.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
27
|
} from "./chunk-AR5DUSJR.js";
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
toJobSummary,
|
|
56
56
|
updateStage,
|
|
57
57
|
writeJobCancelled
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-55QZ4YEB.js";
|
|
59
59
|
import {
|
|
60
60
|
allOf,
|
|
61
61
|
anyOf
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
} from "./chunk-F456ANG3.js";
|
|
76
76
|
import {
|
|
77
77
|
withPrerequisite
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-2MG4USTI.js";
|
|
79
79
|
import {
|
|
80
80
|
NOOP_NOTIFIER,
|
|
81
81
|
RateLimiter,
|
|
@@ -100,7 +100,7 @@ import {
|
|
|
100
100
|
withAuditTrail,
|
|
101
101
|
withProgressHeartbeat,
|
|
102
102
|
wrapToolWithTimeout
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-4PJU3KW7.js";
|
|
104
104
|
import {
|
|
105
105
|
createAuditTrail,
|
|
106
106
|
createGraphAuditBridge,
|
|
@@ -7059,7 +7059,7 @@ var CollaborationSession = class {
|
|
|
7059
7059
|
return this.state?.config.sessionId ?? null;
|
|
7060
7060
|
}
|
|
7061
7061
|
/** Marks an expert as failed. */
|
|
7062
|
-
markExpertFailed(expertId,
|
|
7062
|
+
markExpertFailed(expertId, error) {
|
|
7063
7063
|
if (this.state === null) return err(new AgentError("No active session"));
|
|
7064
7064
|
const participant = this.state.participants.find((p) => p.expertId === expertId);
|
|
7065
7065
|
if (participant === void 0) {
|
|
@@ -7067,7 +7067,8 @@ var CollaborationSession = class {
|
|
|
7067
7067
|
}
|
|
7068
7068
|
const maxRetries = this.state.config.maxRetries ?? DEFAULT_MAX_RETRIES;
|
|
7069
7069
|
participant.retryCount += 1;
|
|
7070
|
-
|
|
7070
|
+
const terminal = participant.retryCount > maxRetries;
|
|
7071
|
+
if (terminal) {
|
|
7071
7072
|
this.logger.warn("Expert failed after max retries", { expertId });
|
|
7072
7073
|
participant.status = "failed";
|
|
7073
7074
|
} else {
|
|
@@ -7077,6 +7078,12 @@ var CollaborationSession = class {
|
|
|
7077
7078
|
});
|
|
7078
7079
|
participant.status = "pending";
|
|
7079
7080
|
}
|
|
7081
|
+
this.emitBusEvent("session.expert_failed", {
|
|
7082
|
+
expertId,
|
|
7083
|
+
error,
|
|
7084
|
+
retryCount: participant.retryCount,
|
|
7085
|
+
terminal
|
|
7086
|
+
});
|
|
7080
7087
|
this.checkProgress();
|
|
7081
7088
|
return ok(void 0);
|
|
7082
7089
|
}
|
|
@@ -19350,7 +19357,9 @@ function createFailedAttempt(sourceVersionId, hypothesis, reason) {
|
|
|
19350
19357
|
attemptedAt: new Date(getTimeProvider().now()),
|
|
19351
19358
|
validation: {
|
|
19352
19359
|
passed: false,
|
|
19353
|
-
performanceChange
|
|
19360
|
+
// No `performanceChange`: the attempt never produced a version to
|
|
19361
|
+
// compare, so there is nothing to report. A literal 0 here made the field
|
|
19362
|
+
// identical on the success and failure paths (#5795).
|
|
19354
19363
|
checks: [{ name: "creation", passed: false, details: reason }]
|
|
19355
19364
|
}
|
|
19356
19365
|
};
|
|
@@ -19607,7 +19616,9 @@ var SicaAgent = class {
|
|
|
19607
19616
|
attemptedAt: new Date(getTimeProvider().now()),
|
|
19608
19617
|
validation: {
|
|
19609
19618
|
passed: true,
|
|
19610
|
-
performanceChange
|
|
19619
|
+
// No `performanceChange`: the derived version has not executed a single
|
|
19620
|
+
// task at this point, so there is no comparison to report. `checks`
|
|
19621
|
+
// already names the one thing that did happen (#5795).
|
|
19611
19622
|
checks: [{ name: "version_created", passed: true }]
|
|
19612
19623
|
}
|
|
19613
19624
|
};
|
|
@@ -45801,7 +45812,7 @@ function buildVotingInput(plan, config) {
|
|
|
45801
45812
|
}
|
|
45802
45813
|
async function executeSingleVote(plan, config, log) {
|
|
45803
45814
|
try {
|
|
45804
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
45815
|
+
const { executeVoting } = await import("./consensus-vote-3OMWBZQ2.js");
|
|
45805
45816
|
const input = buildVotingInput(plan, config);
|
|
45806
45817
|
const result = await executeVoting(input, log);
|
|
45807
45818
|
return parseVotingResult(result);
|
|
@@ -47593,7 +47604,7 @@ ${contextBlock}`;
|
|
|
47593
47604
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47594
47605
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47595
47606
|
try {
|
|
47596
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47607
|
+
const { executeVoting } = await import("./consensus-vote-3OMWBZQ2.js");
|
|
47597
47608
|
const votingResult = await executeVoting(
|
|
47598
47609
|
{
|
|
47599
47610
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -56313,4 +56324,4 @@ export {
|
|
|
56313
56324
|
shutdownFeedbackSubscriber,
|
|
56314
56325
|
createEventBusBridge
|
|
56315
56326
|
};
|
|
56316
|
-
//# sourceMappingURL=chunk-
|
|
56327
|
+
//# sourceMappingURL=chunk-Z7WL42PW.js.map
|