nexus-agents 2.92.3 → 2.92.5
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/{child-mcp-config-WUHKXBWX.js → child-mcp-config-PIDVHWJ7.js} +2 -2
- package/dist/{chunk-57HMLBYN.js → chunk-2QJJYCPD.js} +2 -2
- package/dist/{chunk-VYNNVUY6.js → chunk-3TU3RJNK.js} +3 -3
- package/dist/{chunk-V3XWWLIS.js → chunk-3XC5LFWH.js} +5 -5
- package/dist/{chunk-C6PEYEPU.js → chunk-BG4WK4UP.js} +170 -6
- package/dist/chunk-BG4WK4UP.js.map +1 -0
- package/dist/{chunk-X5BQF6HM.js → chunk-DNSBKQ7I.js} +4 -4
- package/dist/{chunk-EAT4GTMT.js → chunk-DQEREDUW.js} +2 -2
- package/dist/{chunk-3FVSYMHK.js → chunk-DSERRMPX.js} +2 -2
- package/dist/{chunk-3LKW4IEW.js → chunk-EI2E43HI.js} +3 -3
- package/dist/{chunk-7QXEK3O6.js → chunk-FL3AXIUL.js} +4 -4
- package/dist/{chunk-S6FXRXYE.js → chunk-G55LVPNH.js} +7 -7
- package/dist/{chunk-52ACUN6T.js → chunk-GKFFRRS4.js} +4 -4
- package/dist/{chunk-7UPXKDF2.js → chunk-KTJUMU2A.js} +40 -191
- package/dist/chunk-KTJUMU2A.js.map +1 -0
- package/dist/{chunk-W5I6L4UT.js → chunk-L5BXCSMP.js} +10 -3
- package/dist/{chunk-W5I6L4UT.js.map → chunk-L5BXCSMP.js.map} +1 -1
- package/dist/{chunk-JYIKPBXW.js → chunk-MBK6P4VV.js} +2 -2
- package/dist/{chunk-UYOHV3EG.js → chunk-NYWZI46K.js} +53 -32
- package/dist/chunk-NYWZI46K.js.map +1 -0
- package/dist/{chunk-YEQE7WLP.js → chunk-OXLXVSN3.js} +2 -2
- package/dist/{chunk-CGSVTROC.js → chunk-P646QQYW.js} +2 -2
- package/dist/{chunk-3HTUYAKS.js → chunk-PIDABDFE.js} +2 -2
- package/dist/{chunk-AQTHLUCP.js → chunk-QADQ4LN4.js} +2 -2
- package/dist/{chunk-TWAH7VM2.js → chunk-QQMYKFG7.js} +3 -3
- package/dist/{chunk-BFYOPX2E.js → chunk-QXGLZETS.js} +7 -7
- package/dist/{chunk-Y7E5ZWRQ.js → chunk-SIICMKBA.js} +2 -2
- package/dist/{chunk-E6W4Z6GN.js → chunk-TOQJ3UN5.js} +3 -3
- package/dist/{chunk-6Q33PBXC.js → chunk-U4RLBLNO.js} +2 -2
- package/dist/{chunk-27CNQPQ4.js → chunk-VBIAMMZZ.js} +2 -2
- package/dist/{chunk-4GOT42ZA.js → chunk-VU54VB6K.js} +3 -3
- package/dist/{chunk-2SMTCNXP.js → chunk-WXEMTPML.js} +2 -2
- package/dist/{chunk-SFZESA5O.js → chunk-YJUHVQSG.js} +2 -2
- package/dist/{chunk-EFHZHCF2.js → chunk-YQAS2EGR.js} +2 -2
- package/dist/{chunk-PRGNJRID.js → chunk-ZYYU26YH.js} +2 -2
- package/dist/{cli-circuit-breaker-4SWB6DEB.js → cli-circuit-breaker-HFSOBCPK.js} +4 -4
- package/dist/cli.js +36 -36
- package/dist/{composite-router-NLVKSTA2.js → composite-router-T2XYCQOU.js} +2 -2
- package/dist/{consensus-vote-VSRNSZ5J.js → consensus-vote-IDHQVKX2.js} +12 -12
- package/dist/{context-retriever-C4CNVKR5.js → context-retriever-5BJYPAX7.js} +6 -6
- package/dist/{doctor-deep-QSVGAHAO.js → doctor-deep-OVGRBG3Z.js} +3 -3
- package/dist/{expert-bridge-VIWFPPGZ.js → expert-bridge-JPTHFWPW.js} +4 -4
- package/dist/{factory-T3SEZUGW.js → factory-734UWF4C.js} +5 -5
- package/dist/{factory-NNSXCD25.js → factory-NE7SNW7V.js} +5 -5
- package/dist/index.d.ts +173 -157
- package/dist/index.js +74 -57
- package/dist/index.js.map +1 -1
- package/dist/{init-opencode-WEKHD7YE.js → init-opencode-2ZBDJILW.js} +5 -5
- package/dist/{issue-triage-DTCO26WG.js → issue-triage-AGGTH767.js} +5 -5
- package/dist/{pr-reviewer-helpers-CI72F4XM.js → pr-reviewer-helpers-WGPLUXPU.js} +4 -4
- package/dist/{registry-command-VNFULRTL.js → registry-command-CZZM5SF2.js} +2 -2
- package/dist/{repo-security-plan-5MFY7GGQ.js → repo-security-plan-X42KXHT2.js} +3 -3
- package/dist/{research-helpers-synthesize-CNZ4C3FN.js → research-helpers-synthesize-C7YGRQI6.js} +3 -3
- package/dist/{routing-memory-PYO46COZ.js → routing-memory-2FYZDQUC.js} +2 -2
- package/dist/{session-memory-HGCDSZ5R.js → session-memory-53NZRZB6.js} +3 -3
- package/dist/{setup-command-JQVGMAO5.js → setup-command-ZV6VZLP4.js} +11 -11
- package/dist/{setup-config-QPS4K5QU.js → setup-config-CYRK4UFF.js} +3 -3
- package/dist/{setup-custom-api-SP2ZAVGC.js → setup-custom-api-GXHPYLDR.js} +4 -4
- package/dist/{tool-memory-SDPIAV2S.js → tool-memory-AX5G67J6.js} +5 -5
- package/dist/{weather-report-RWAMQHBL.js → weather-report-AUMNGHYZ.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-7UPXKDF2.js.map +0 -1
- package/dist/chunk-C6PEYEPU.js.map +0 -1
- package/dist/chunk-UYOHV3EG.js.map +0 -1
- /package/dist/{child-mcp-config-WUHKXBWX.js.map → child-mcp-config-PIDVHWJ7.js.map} +0 -0
- /package/dist/{chunk-57HMLBYN.js.map → chunk-2QJJYCPD.js.map} +0 -0
- /package/dist/{chunk-VYNNVUY6.js.map → chunk-3TU3RJNK.js.map} +0 -0
- /package/dist/{chunk-V3XWWLIS.js.map → chunk-3XC5LFWH.js.map} +0 -0
- /package/dist/{chunk-X5BQF6HM.js.map → chunk-DNSBKQ7I.js.map} +0 -0
- /package/dist/{chunk-EAT4GTMT.js.map → chunk-DQEREDUW.js.map} +0 -0
- /package/dist/{chunk-3FVSYMHK.js.map → chunk-DSERRMPX.js.map} +0 -0
- /package/dist/{chunk-3LKW4IEW.js.map → chunk-EI2E43HI.js.map} +0 -0
- /package/dist/{chunk-7QXEK3O6.js.map → chunk-FL3AXIUL.js.map} +0 -0
- /package/dist/{chunk-S6FXRXYE.js.map → chunk-G55LVPNH.js.map} +0 -0
- /package/dist/{chunk-52ACUN6T.js.map → chunk-GKFFRRS4.js.map} +0 -0
- /package/dist/{chunk-JYIKPBXW.js.map → chunk-MBK6P4VV.js.map} +0 -0
- /package/dist/{chunk-YEQE7WLP.js.map → chunk-OXLXVSN3.js.map} +0 -0
- /package/dist/{chunk-CGSVTROC.js.map → chunk-P646QQYW.js.map} +0 -0
- /package/dist/{chunk-3HTUYAKS.js.map → chunk-PIDABDFE.js.map} +0 -0
- /package/dist/{chunk-AQTHLUCP.js.map → chunk-QADQ4LN4.js.map} +0 -0
- /package/dist/{chunk-TWAH7VM2.js.map → chunk-QQMYKFG7.js.map} +0 -0
- /package/dist/{chunk-BFYOPX2E.js.map → chunk-QXGLZETS.js.map} +0 -0
- /package/dist/{chunk-Y7E5ZWRQ.js.map → chunk-SIICMKBA.js.map} +0 -0
- /package/dist/{chunk-E6W4Z6GN.js.map → chunk-TOQJ3UN5.js.map} +0 -0
- /package/dist/{chunk-6Q33PBXC.js.map → chunk-U4RLBLNO.js.map} +0 -0
- /package/dist/{chunk-27CNQPQ4.js.map → chunk-VBIAMMZZ.js.map} +0 -0
- /package/dist/{chunk-4GOT42ZA.js.map → chunk-VU54VB6K.js.map} +0 -0
- /package/dist/{chunk-2SMTCNXP.js.map → chunk-WXEMTPML.js.map} +0 -0
- /package/dist/{chunk-SFZESA5O.js.map → chunk-YJUHVQSG.js.map} +0 -0
- /package/dist/{chunk-EFHZHCF2.js.map → chunk-YQAS2EGR.js.map} +0 -0
- /package/dist/{chunk-PRGNJRID.js.map → chunk-ZYYU26YH.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-4SWB6DEB.js.map → cli-circuit-breaker-HFSOBCPK.js.map} +0 -0
- /package/dist/{composite-router-NLVKSTA2.js.map → composite-router-T2XYCQOU.js.map} +0 -0
- /package/dist/{consensus-vote-VSRNSZ5J.js.map → consensus-vote-IDHQVKX2.js.map} +0 -0
- /package/dist/{context-retriever-C4CNVKR5.js.map → context-retriever-5BJYPAX7.js.map} +0 -0
- /package/dist/{doctor-deep-QSVGAHAO.js.map → doctor-deep-OVGRBG3Z.js.map} +0 -0
- /package/dist/{expert-bridge-VIWFPPGZ.js.map → expert-bridge-JPTHFWPW.js.map} +0 -0
- /package/dist/{factory-NNSXCD25.js.map → factory-734UWF4C.js.map} +0 -0
- /package/dist/{factory-T3SEZUGW.js.map → factory-NE7SNW7V.js.map} +0 -0
- /package/dist/{init-opencode-WEKHD7YE.js.map → init-opencode-2ZBDJILW.js.map} +0 -0
- /package/dist/{issue-triage-DTCO26WG.js.map → issue-triage-AGGTH767.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-CI72F4XM.js.map → pr-reviewer-helpers-WGPLUXPU.js.map} +0 -0
- /package/dist/{registry-command-VNFULRTL.js.map → registry-command-CZZM5SF2.js.map} +0 -0
- /package/dist/{repo-security-plan-5MFY7GGQ.js.map → repo-security-plan-X42KXHT2.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-CNZ4C3FN.js.map → research-helpers-synthesize-C7YGRQI6.js.map} +0 -0
- /package/dist/{routing-memory-PYO46COZ.js.map → routing-memory-2FYZDQUC.js.map} +0 -0
- /package/dist/{session-memory-HGCDSZ5R.js.map → session-memory-53NZRZB6.js.map} +0 -0
- /package/dist/{setup-command-JQVGMAO5.js.map → setup-command-ZV6VZLP4.js.map} +0 -0
- /package/dist/{setup-config-QPS4K5QU.js.map → setup-config-CYRK4UFF.js.map} +0 -0
- /package/dist/{setup-custom-api-SP2ZAVGC.js.map → setup-custom-api-GXHPYLDR.js.map} +0 -0
- /package/dist/{tool-memory-SDPIAV2S.js.map → tool-memory-AX5G67J6.js.map} +0 -0
- /package/dist/{weather-report-RWAMQHBL.js.map → weather-report-AUMNGHYZ.js.map} +0 -0
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
getErrorMessage,
|
|
6
6
|
getTimeProvider,
|
|
7
7
|
ok
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-L5BXCSMP.js";
|
|
9
9
|
|
|
10
10
|
// src/cli-adapters/circuit-breaker-types.ts
|
|
11
11
|
var CircuitErrorCode = {
|
|
@@ -354,4 +354,4 @@ export {
|
|
|
354
354
|
CircuitBreakerRegistry,
|
|
355
355
|
mapCliErrorToCategory
|
|
356
356
|
};
|
|
357
|
-
//# sourceMappingURL=chunk-
|
|
357
|
+
//# sourceMappingURL=chunk-MBK6P4VV.js.map
|
|
@@ -4,21 +4,21 @@ import {
|
|
|
4
4
|
createStream,
|
|
5
5
|
requireApiKey,
|
|
6
6
|
validateApiKeyPresence
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DSERRMPX.js";
|
|
8
8
|
import {
|
|
9
9
|
CUSTOM_API_BASE_URL_ENV,
|
|
10
10
|
PROVIDER_ENV_KEYS,
|
|
11
11
|
validateCustomApiBaseUrl
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-SIICMKBA.js";
|
|
13
13
|
import {
|
|
14
14
|
getToolMemory
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-FL3AXIUL.js";
|
|
16
16
|
import {
|
|
17
17
|
getDefaultAvailableModelsCache
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-U4RLBLNO.js";
|
|
19
19
|
import {
|
|
20
20
|
CUSTOM_API_DEFAULT_MODEL
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PIDABDFE.js";
|
|
22
22
|
import {
|
|
23
23
|
createCliAdapter,
|
|
24
24
|
createCliDetectionCache,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
isCliAvailable,
|
|
28
28
|
sanitizeOutput,
|
|
29
29
|
withTimeout
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-DNSBKQ7I.js";
|
|
31
31
|
import {
|
|
32
32
|
AgentError,
|
|
33
33
|
CACHE_TIMEOUTS,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
resolveCliAlias,
|
|
71
71
|
resolveVoteTimeout,
|
|
72
72
|
toRateLimitError
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-L5BXCSMP.js";
|
|
74
74
|
import {
|
|
75
75
|
ensureLearningDir,
|
|
76
76
|
getNexusDataDir,
|
|
@@ -3667,6 +3667,15 @@ function wrapResilientWithFallback(inner, options = {}) {
|
|
|
3667
3667
|
}
|
|
3668
3668
|
|
|
3669
3669
|
// src/adapters/unified-registry.ts
|
|
3670
|
+
function withDefaultOnRetirement(enabled, options, logger11) {
|
|
3671
|
+
if (!enabled) return options;
|
|
3672
|
+
return {
|
|
3673
|
+
...options,
|
|
3674
|
+
onRetirement: options?.onRetirement ?? ((info) => {
|
|
3675
|
+
logger11.warn("Model retired via not-found fallback", { retirement: info });
|
|
3676
|
+
})
|
|
3677
|
+
};
|
|
3678
|
+
}
|
|
3670
3679
|
var UnifiedAdapterRegistry = class {
|
|
3671
3680
|
logger;
|
|
3672
3681
|
defaultCliTimeoutMs;
|
|
@@ -3682,7 +3691,11 @@ var UnifiedAdapterRegistry = class {
|
|
|
3682
3691
|
this.logger = config?.logger ?? createLogger({ component: "unified-registry" });
|
|
3683
3692
|
this.defaultCliTimeoutMs = config?.defaultCliTimeoutMs;
|
|
3684
3693
|
this.enableMissingModelFallback = config?.enableMissingModelFallback ?? false;
|
|
3685
|
-
this.missingModelFallbackOptions =
|
|
3694
|
+
this.missingModelFallbackOptions = withDefaultOnRetirement(
|
|
3695
|
+
this.enableMissingModelFallback,
|
|
3696
|
+
config?.missingModelFallbackOptions,
|
|
3697
|
+
this.logger
|
|
3698
|
+
);
|
|
3686
3699
|
this.taskRouting = this.buildTaskRouting();
|
|
3687
3700
|
this.logger.info("UnifiedAdapterRegistry initialized", {
|
|
3688
3701
|
categories: this.taskRouting.size,
|
|
@@ -5147,11 +5160,12 @@ function buildReasoning(decision, effectiveVotes, downweightedAgents, method) {
|
|
|
5147
5160
|
// src/consensus/higher-order-voting.ts
|
|
5148
5161
|
var logger2 = createLogger({ component: "higher-order-voting" });
|
|
5149
5162
|
var OWVoting = class {
|
|
5150
|
-
algorithm
|
|
5163
|
+
algorithm;
|
|
5151
5164
|
config;
|
|
5152
5165
|
constructor(options = {}) {
|
|
5153
5166
|
this.config = { ...DEFAULT_HIGHER_ORDER_CONFIG, ...options.config };
|
|
5154
|
-
|
|
5167
|
+
this.algorithm = options.algorithm ?? "simple_majority";
|
|
5168
|
+
logger2.info("OWVoting initialized", { config: this.config, algorithm: this.algorithm });
|
|
5155
5169
|
}
|
|
5156
5170
|
/** IVotingStrategy implementation for integration with ConsensusEngine. */
|
|
5157
5171
|
calculateOutcome(votes, _weights) {
|
|
@@ -5296,9 +5310,8 @@ function createOWVoting(options) {
|
|
|
5296
5310
|
return new OWVoting(options);
|
|
5297
5311
|
}
|
|
5298
5312
|
var HigherOrderVotingStrategy = class extends OWVoting {
|
|
5299
|
-
algorithm = "opinion_wise";
|
|
5300
5313
|
constructor(options = {}) {
|
|
5301
|
-
super(options);
|
|
5314
|
+
super({ ...options, algorithm: options.algorithm ?? "opinion_wise" });
|
|
5302
5315
|
}
|
|
5303
5316
|
};
|
|
5304
5317
|
function createHigherOrderVotingStrategy(options) {
|
|
@@ -7895,7 +7908,9 @@ var ErrorPolicySchema = z9.enum(["reduce_denominator", "count_as_abstain", "fail
|
|
|
7895
7908
|
var VoteThresholdSchema = z9.enum(["majority", "supermajority", "unanimous"]);
|
|
7896
7909
|
var ERROR_FLOOR_FRACTION = 0.5;
|
|
7897
7910
|
function getDefaultErrorPolicy(strategy) {
|
|
7898
|
-
if (strategy === "unanimous" || strategy === "higher_order"
|
|
7911
|
+
if (strategy === "unanimous" || strategy === "higher_order" || strategy === "opinion_wise") {
|
|
7912
|
+
return "fail_closed";
|
|
7913
|
+
}
|
|
7899
7914
|
return "reduce_denominator";
|
|
7900
7915
|
}
|
|
7901
7916
|
var ConsensusVoteInputSchema = z9.object({
|
|
@@ -7907,7 +7922,7 @@ var ConsensusVoteInputSchema = z9.object({
|
|
|
7907
7922
|
"Voting strategy: simple_majority (default), supermajority, unanimous, proof_of_learning, or higher_order (Bayesian-optimal)"
|
|
7908
7923
|
),
|
|
7909
7924
|
errorPolicy: ErrorPolicySchema.optional().describe(
|
|
7910
|
-
"How to treat voters that errored or timed out (#2630). Default: fail_closed for unanimous/higher_order, reduce_denominator otherwise. Regardless of policy, errors > 50% always fails."
|
|
7925
|
+
"How to treat voters that errored or timed out (#2630). Default: fail_closed for unanimous/higher_order/opinion_wise, reduce_denominator otherwise. Regardless of policy, errors > 50% always fails."
|
|
7911
7926
|
),
|
|
7912
7927
|
quickMode: z9.boolean().optional().default(false).describe("Use 3 agents instead of 5 for faster execution"),
|
|
7913
7928
|
simulateVotes: z9.boolean().optional().default(false).describe(
|
|
@@ -9061,20 +9076,23 @@ function runHigherOrderVoting(strategy, voteMap, logger11) {
|
|
|
9061
9076
|
});
|
|
9062
9077
|
return result;
|
|
9063
9078
|
}
|
|
9064
|
-
function recordVotesToTracker(votes,
|
|
9065
|
-
const
|
|
9066
|
-
if (
|
|
9067
|
-
logger11.warn("
|
|
9068
|
-
|
|
9079
|
+
function recordVotesToTracker(votes, outcome, logger11) {
|
|
9080
|
+
const llmVotes = votes.filter((v) => v.source === "llm");
|
|
9081
|
+
if (llmVotes.length < votes.length) {
|
|
9082
|
+
logger11.warn("Recording only LLM votes to correlation tracker; excluding non-LLM votes", {
|
|
9083
|
+
recorded: llmVotes.length,
|
|
9084
|
+
excluded: votes.length - llmVotes.length
|
|
9069
9085
|
});
|
|
9070
|
-
return;
|
|
9071
9086
|
}
|
|
9087
|
+
if (llmVotes.length === 0) return;
|
|
9088
|
+
const llmVoteMap = /* @__PURE__ */ new Map();
|
|
9089
|
+
for (const v of llmVotes) llmVoteMap.set(v.role, v.vote);
|
|
9072
9090
|
const tracker = getOrCreateCorrelationTracker();
|
|
9073
9091
|
const id = `consensus-${String(getTimeProvider().now())}-${getRandomProvider().random().toString(36).slice(2, 9)}`;
|
|
9074
|
-
tracker.recordProposalVotes(id,
|
|
9092
|
+
tracker.recordProposalVotes(id, llmVoteMap, outcome);
|
|
9075
9093
|
logger11.debug("Recorded votes to tracker", { proposalId: id, outcome });
|
|
9076
9094
|
try {
|
|
9077
|
-
const persisted = createPersistedProposal(id,
|
|
9095
|
+
const persisted = createPersistedProposal(id, llmVoteMap, outcome);
|
|
9078
9096
|
const saveResult = saveCorrelationData([persisted]);
|
|
9079
9097
|
if (!saveResult.ok) {
|
|
9080
9098
|
logger11.warn("Failed to persist correlation data", { error: saveResult.error.message });
|
|
@@ -9106,7 +9124,7 @@ async function processVotesWithCascade(engineVotes, opts) {
|
|
|
9106
9124
|
var CONTRARIAN_ESCALATION_THRESHOLD = 0.8;
|
|
9107
9125
|
async function runContrarianCheck(proposal, log) {
|
|
9108
9126
|
try {
|
|
9109
|
-
const { executeExpert } = await import("./expert-bridge-
|
|
9127
|
+
const { executeExpert } = await import("./expert-bridge-JPTHFWPW.js");
|
|
9110
9128
|
const prompt = [
|
|
9111
9129
|
"You are a contrarian analyst. Your job is to find reasons this proposal should be REJECTED.",
|
|
9112
9130
|
"Look for: YAGNI (not needed), MISALIGNED (wrong tech/architecture), SECURITY_RISK, SCOPE_CREEP.",
|
|
@@ -9200,14 +9218,17 @@ async function executeVoting(input, logger11, opts) {
|
|
|
9200
9218
|
logger: logger11
|
|
9201
9219
|
});
|
|
9202
9220
|
}
|
|
9203
|
-
const { engineResult,
|
|
9204
|
-
|
|
9205
|
-
|
|
9206
|
-
|
|
9207
|
-
|
|
9208
|
-
|
|
9209
|
-
|
|
9210
|
-
|
|
9221
|
+
const { engineResult, higherOrderResult, outcome, cascaded } = await processVotesWithCascade(
|
|
9222
|
+
policyDecision.engineVotes,
|
|
9223
|
+
{
|
|
9224
|
+
totalRoles: roles.length,
|
|
9225
|
+
proposal: input.proposal,
|
|
9226
|
+
algorithm,
|
|
9227
|
+
strategy,
|
|
9228
|
+
log: logger11
|
|
9229
|
+
}
|
|
9230
|
+
);
|
|
9231
|
+
recordVotesToTracker(votes, outcome, logger11);
|
|
9211
9232
|
const escalated = await maybeEscalateContrarian(input, outcome, logger11, opts);
|
|
9212
9233
|
if (escalated !== void 0) return escalated;
|
|
9213
9234
|
return finalizeVotingResult({
|
|
@@ -9625,4 +9646,4 @@ export {
|
|
|
9625
9646
|
CONSENSUS_VOTE_OUTPUT_SCHEMA,
|
|
9626
9647
|
registerConsensusVoteTool
|
|
9627
9648
|
};
|
|
9628
|
-
//# sourceMappingURL=chunk-
|
|
9649
|
+
//# sourceMappingURL=chunk-NYWZI46K.js.map
|