nexus-agents 8.34.2 → 8.35.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-LA4DHGJM.js → chunk-BZGX63HO.js} +3 -3
- package/dist/{chunk-LDPB6NAQ.js → chunk-HLFPT2V5.js} +2 -2
- package/dist/{chunk-MDWFK7VB.js → chunk-HMIOVHX6.js} +2 -2
- package/dist/{chunk-OG3QI72T.js → chunk-JUOQIBRH.js} +2 -2
- package/dist/{chunk-REX7B3AP.js → chunk-LZX5PC6C.js} +3 -3
- package/dist/{chunk-A4AD5BQV.js → chunk-Y3UCIFJC.js} +16 -9
- package/dist/chunk-Y3UCIFJC.js.map +1 -0
- package/dist/cli.js +7 -7
- package/dist/{consensus-vote-RLQKHRAO.js → consensus-vote-EY3MG6D4.js} +4 -4
- package/dist/{improvement-review-2LKIS73M.js → improvement-review-RGQPGSJU.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-SKZECWPP.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-A4AD5BQV.js.map +0 -1
- /package/dist/{chunk-LA4DHGJM.js.map → chunk-BZGX63HO.js.map} +0 -0
- /package/dist/{chunk-LDPB6NAQ.js.map → chunk-HLFPT2V5.js.map} +0 -0
- /package/dist/{chunk-MDWFK7VB.js.map → chunk-HMIOVHX6.js.map} +0 -0
- /package/dist/{chunk-OG3QI72T.js.map → chunk-JUOQIBRH.js.map} +0 -0
- /package/dist/{chunk-REX7B3AP.js.map → chunk-LZX5PC6C.js.map} +0 -0
- /package/dist/{consensus-vote-RLQKHRAO.js.map → consensus-vote-EY3MG6D4.js.map} +0 -0
- /package/dist/{improvement-review-2LKIS73M.js.map → improvement-review-RGQPGSJU.js.map} +0 -0
- /package/dist/{setup-data-dir-6J6EKKMH.js.map → setup-data-dir-SKZECWPP.js.map} +0 -0
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
NODE_ENGINE_RANGE,
|
|
9
9
|
VERSION,
|
|
10
10
|
isNodeVersionSupported
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-HLFPT2V5.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-SKZECWPP.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-BZGX63HO.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.35.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-HLFPT2V5.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VERSION
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HLFPT2V5.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-HMIOVHX6.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
toolStructuredError,
|
|
8
8
|
toolSuccessStructured,
|
|
9
9
|
wrapToolWithTimeout
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HMIOVHX6.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-JUOQIBRH.js.map
|
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
toolSuccessStructured,
|
|
24
24
|
withProgressHeartbeat,
|
|
25
25
|
wrapToolWithTimeout
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-HMIOVHX6.js";
|
|
27
27
|
import {
|
|
28
28
|
VERSION
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-HLFPT2V5.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-LZX5PC6C.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-BZGX63HO.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-LZX5PC6C.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-JUOQIBRH.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-HMIOVHX6.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
|
}
|
|
@@ -45801,7 +45808,7 @@ function buildVotingInput(plan, config) {
|
|
|
45801
45808
|
}
|
|
45802
45809
|
async function executeSingleVote(plan, config, log) {
|
|
45803
45810
|
try {
|
|
45804
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
45811
|
+
const { executeVoting } = await import("./consensus-vote-EY3MG6D4.js");
|
|
45805
45812
|
const input = buildVotingInput(plan, config);
|
|
45806
45813
|
const result = await executeVoting(input, log);
|
|
45807
45814
|
return parseVotingResult(result);
|
|
@@ -47593,7 +47600,7 @@ ${contextBlock}`;
|
|
|
47593
47600
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47594
47601
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47595
47602
|
try {
|
|
47596
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47603
|
+
const { executeVoting } = await import("./consensus-vote-EY3MG6D4.js");
|
|
47597
47604
|
const votingResult = await executeVoting(
|
|
47598
47605
|
{
|
|
47599
47606
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -56313,4 +56320,4 @@ export {
|
|
|
56313
56320
|
shutdownFeedbackSubscriber,
|
|
56314
56321
|
createEventBusBridge
|
|
56315
56322
|
};
|
|
56316
|
-
//# sourceMappingURL=chunk-
|
|
56323
|
+
//# sourceMappingURL=chunk-Y3UCIFJC.js.map
|