nexus-agents 4.31.0 → 4.31.1
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-3X24NGC3.js → chunk-3CSGTF3O.js} +2 -2
- package/dist/{chunk-IMVFH4BO.js → chunk-6YF5VSUT.js} +11 -7
- package/dist/{chunk-IMVFH4BO.js.map → chunk-6YF5VSUT.js.map} +1 -1
- package/dist/{chunk-ASRGWLV6.js → chunk-EOWDTWLX.js} +2 -2
- package/dist/chunk-LXX4WYGR.js +7 -0
- package/dist/{chunk-OJS5NGWF.js → chunk-WWVICRBB.js} +2 -2
- package/dist/{chunk-NEF7BWPK.js → chunk-ZF4ZJAHG.js} +3 -3
- package/dist/cli.js +7 -7
- package/dist/{consensus-vote-CFQLDSR5.js → consensus-vote-C76CXCIO.js} +4 -4
- package/dist/{improvement-review-MVJEKOJT.js → improvement-review-7NH6ZN6U.js} +4 -4
- package/dist/index.js +7 -7
- package/dist/{setup-data-dir-QBB23LVM.js → setup-data-dir-XYQSIHWR.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-4I73QDDC.js +0 -7
- /package/dist/{chunk-3X24NGC3.js.map → chunk-3CSGTF3O.js.map} +0 -0
- /package/dist/{chunk-ASRGWLV6.js.map → chunk-EOWDTWLX.js.map} +0 -0
- /package/dist/{chunk-4I73QDDC.js.map → chunk-LXX4WYGR.js.map} +0 -0
- /package/dist/{chunk-OJS5NGWF.js.map → chunk-WWVICRBB.js.map} +0 -0
- /package/dist/{chunk-NEF7BWPK.js.map → chunk-ZF4ZJAHG.js.map} +0 -0
- /package/dist/{consensus-vote-CFQLDSR5.js.map → consensus-vote-C76CXCIO.js.map} +0 -0
- /package/dist/{improvement-review-MVJEKOJT.js.map → improvement-review-7NH6ZN6U.js.map} +0 -0
- /package/dist/{setup-data-dir-QBB23LVM.js.map → setup-data-dir-XYQSIHWR.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VERSION
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LXX4WYGR.js";
|
|
4
4
|
import {
|
|
5
5
|
emitClawGuardViolation
|
|
6
6
|
} from "./chunk-R2VI7R4E.js";
|
|
@@ -2116,4 +2116,4 @@ export {
|
|
|
2116
2116
|
VOTING_THRESHOLDS,
|
|
2117
2117
|
ConsensusMetricsSchema
|
|
2118
2118
|
};
|
|
2119
|
-
//# sourceMappingURL=chunk-
|
|
2119
|
+
//# sourceMappingURL=chunk-3CSGTF3O.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-ZF4ZJAHG.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
27
|
} from "./chunk-UQCF3MLC.js";
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
simulationDeniedResult,
|
|
48
48
|
toJobSummary,
|
|
49
49
|
writeJobCancelled
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-EOWDTWLX.js";
|
|
51
51
|
import {
|
|
52
52
|
allOf
|
|
53
53
|
} from "./chunk-OQB3XC5O.js";
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
} from "./chunk-U6ITIQUU.js";
|
|
65
65
|
import {
|
|
66
66
|
withPrerequisite
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-WWVICRBB.js";
|
|
68
68
|
import {
|
|
69
69
|
NOOP_NOTIFIER,
|
|
70
70
|
RateLimiter,
|
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
withAuditTrail,
|
|
89
89
|
withProgressHeartbeat,
|
|
90
90
|
wrapToolWithTimeout
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-3CSGTF3O.js";
|
|
92
92
|
import {
|
|
93
93
|
createAuditTrail,
|
|
94
94
|
createGraphAuditBridge,
|
|
@@ -241,6 +241,7 @@ import {
|
|
|
241
241
|
clamp,
|
|
242
242
|
clamp01,
|
|
243
243
|
classifyRequestTier,
|
|
244
|
+
computeTokenCost,
|
|
244
245
|
createLogger,
|
|
245
246
|
createSharedTaskAnalyzer,
|
|
246
247
|
deriveEntry,
|
|
@@ -19617,7 +19618,10 @@ var capabilityRegistry = new Map(Object.entries(MODEL_CAPABILITIES));
|
|
|
19617
19618
|
// src/agents/orchestration/puppeteer-config-types.ts
|
|
19618
19619
|
var DEFAULT_COST_PER_1K_TOKENS = 0.01;
|
|
19619
19620
|
function tokensToCostUsd(tokens, costPer1KTokens) {
|
|
19620
|
-
return
|
|
19621
|
+
return computeTokenCost(
|
|
19622
|
+
{ input: 0, output: 0, blended: tokens },
|
|
19623
|
+
{ inputPer1M: 0, outputPer1M: 0, blendedPer1M: costPer1KTokens * 1e3 }
|
|
19624
|
+
).costUsd;
|
|
19621
19625
|
}
|
|
19622
19626
|
var DEFAULT_PUPPETEER_CONFIG = {
|
|
19623
19627
|
maxSteps: 10,
|
|
@@ -47537,7 +47541,7 @@ ${contextBlock}`;
|
|
|
47537
47541
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47538
47542
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47539
47543
|
try {
|
|
47540
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47544
|
+
const { executeVoting } = await import("./consensus-vote-C76CXCIO.js");
|
|
47541
47545
|
const votingResult = await executeVoting(
|
|
47542
47546
|
{
|
|
47543
47547
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -56165,4 +56169,4 @@ export {
|
|
|
56165
56169
|
shutdownFeedbackSubscriber,
|
|
56166
56170
|
createEventBusBridge
|
|
56167
56171
|
};
|
|
56168
|
-
//# sourceMappingURL=chunk-
|
|
56172
|
+
//# sourceMappingURL=chunk-6YF5VSUT.js.map
|