nexus-agents 8.46.9 → 8.46.10
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-TG4IGHLY.js → chunk-3EPFTM2Y.js} +2 -2
- package/dist/{chunk-TG4IGHLY.js.map → chunk-3EPFTM2Y.js.map} +1 -1
- package/dist/{chunk-GW6NZFTH.js → chunk-ENFHSL5U.js} +35 -9
- package/dist/{chunk-GW6NZFTH.js.map → chunk-ENFHSL5U.js.map} +1 -1
- package/dist/{chunk-PUGFOPEA.js → chunk-LANLHL4Q.js} +3 -3
- package/dist/{chunk-QGXQMRA7.js → chunk-MMO5R7O7.js} +2 -2
- package/dist/{chunk-TDVAJEQL.js → chunk-RSPUIHVT.js} +3 -3
- package/dist/{chunk-RJRKVBLP.js → chunk-SXFDZS2N.js} +2 -2
- package/dist/cli.js +7 -7
- package/dist/{consensus-vote-LQZKNJ3N.js → consensus-vote-HEEK6FWT.js} +4 -4
- package/dist/{improvement-review-GWUZTT3L.js → improvement-review-TICFCSD5.js} +4 -4
- package/dist/index.d.ts +1 -0
- package/dist/index.js +6 -6
- package/dist/{setup-data-dir-GW2NJ3YM.js → setup-data-dir-EWHVZ7RD.js} +3 -3
- package/package.json +1 -1
- /package/dist/{chunk-PUGFOPEA.js.map → chunk-LANLHL4Q.js.map} +0 -0
- /package/dist/{chunk-QGXQMRA7.js.map → chunk-MMO5R7O7.js.map} +0 -0
- /package/dist/{chunk-TDVAJEQL.js.map → chunk-RSPUIHVT.js.map} +0 -0
- /package/dist/{chunk-RJRKVBLP.js.map → chunk-SXFDZS2N.js.map} +0 -0
- /package/dist/{consensus-vote-LQZKNJ3N.js.map → consensus-vote-HEEK6FWT.js.map} +0 -0
- /package/dist/{improvement-review-GWUZTT3L.js.map → improvement-review-TICFCSD5.js.map} +0 -0
- /package/dist/{setup-data-dir-GW2NJ3YM.js.map → setup-data-dir-EWHVZ7RD.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/version.ts
|
|
2
2
|
import semver from "semver";
|
|
3
|
-
var VERSION = true ? "8.46.
|
|
3
|
+
var VERSION = true ? "8.46.10" : "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-3EPFTM2Y.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/version.ts"],"sourcesContent":["/**\n * nexus-agents - Version constant\n *\n * Injected at build time via tsup define from package.json.\n * Do NOT edit VERSION manually — it is replaced during build.\n */\n\nimport semver from 'semver';\n\ndeclare const __NEXUS_VERSION__: string;\n\nexport const VERSION: string = typeof __NEXUS_VERSION__ !== 'undefined' ? __NEXUS_VERSION__ : 'dev';\n\n/** Supported Node.js versions. Pinned to package.json by a regression test. */\nexport const NODE_ENGINE_RANGE = '>=22.5.0';\n\n/** Returns whether a Node.js version satisfies the package engine requirement. */\nexport function isNodeVersionSupported(version: string): boolean {\n return semver.satisfies(version, NODE_ENGINE_RANGE);\n}\n"],"mappings":";AAOA,OAAO,YAAY;AAIZ,IAAM,UAAkB,OAA2C,
|
|
1
|
+
{"version":3,"sources":["../src/version.ts"],"sourcesContent":["/**\n * nexus-agents - Version constant\n *\n * Injected at build time via tsup define from package.json.\n * Do NOT edit VERSION manually — it is replaced during build.\n */\n\nimport semver from 'semver';\n\ndeclare const __NEXUS_VERSION__: string;\n\nexport const VERSION: string = typeof __NEXUS_VERSION__ !== 'undefined' ? __NEXUS_VERSION__ : 'dev';\n\n/** Supported Node.js versions. Pinned to package.json by a regression test. */\nexport const NODE_ENGINE_RANGE = '>=22.5.0';\n\n/** Returns whether a Node.js version satisfies the package engine requirement. */\nexport function isNodeVersionSupported(version: string): boolean {\n return semver.satisfies(version, NODE_ENGINE_RANGE);\n}\n"],"mappings":";AAOA,OAAO,YAAY;AAIZ,IAAM,UAAkB,OAA2C,YAAoB;AAGvF,IAAM,oBAAoB;AAG1B,SAAS,uBAAuB,SAA0B;AAC/D,SAAO,OAAO,UAAU,SAAS,iBAAiB;AACpD;","names":[]}
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
DEFAULT_TASK_TTL_MS,
|
|
23
23
|
clampTaskTtl
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-RSPUIHVT.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
27
|
} from "./chunk-QLF22ILR.js";
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
toJobSummary,
|
|
56
56
|
updateStage,
|
|
57
57
|
writeJobCancelled
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-LANLHL4Q.js";
|
|
59
59
|
import {
|
|
60
60
|
allOf,
|
|
61
61
|
anyOf
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
} from "./chunk-43ONDTAK.js";
|
|
76
76
|
import {
|
|
77
77
|
withPrerequisite
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-SXFDZS2N.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-MMO5R7O7.js";
|
|
104
104
|
import {
|
|
105
105
|
createAuditTrail,
|
|
106
106
|
createGraphAuditBridge,
|
|
@@ -31134,7 +31134,27 @@ var CapabilityGapSummarySchema = z59.object({
|
|
|
31134
31134
|
experts: z59.array(z59.string())
|
|
31135
31135
|
}),
|
|
31136
31136
|
gaps: z59.array(z59.unknown()),
|
|
31137
|
-
|
|
31137
|
+
/**
|
|
31138
|
+
* Meaningful ONLY when `gapsMeasured` is true. `gaps: []` from a detector
|
|
31139
|
+
* that ran and `gaps: []` from a builder that never called one are
|
|
31140
|
+
* byte-identical on the wire; this field is what tells them apart.
|
|
31141
|
+
*/
|
|
31142
|
+
allSatisfied: z59.boolean(),
|
|
31143
|
+
/**
|
|
31144
|
+
* Whether a capability-gap detector actually ran (#5919).
|
|
31145
|
+
*
|
|
31146
|
+
* `buildBaseTaskContract` writes `allSatisfied: true` with an EMPTY
|
|
31147
|
+
* `available` set — a verdict from a detector that never ran, on the
|
|
31148
|
+
* `orchestrate` and `delegate_to_model` paths. Nothing reads it today, which
|
|
31149
|
+
* is camouflage rather than safety: it is the same shape as #5896's
|
|
31150
|
+
* ValidationHarness, where a missing consumer let a hard-coded verdict sit
|
|
31151
|
+
* until someone eventually trusted it.
|
|
31152
|
+
*
|
|
31153
|
+
* Named for the vocabulary this repo already uses for exactly this —
|
|
31154
|
+
* `tokensMeasured`, `policyEvaluated`, `routerTypeMeasured`. A consumer that
|
|
31155
|
+
* needs a real answer must branch on this, not on `allSatisfied` alone.
|
|
31156
|
+
*/
|
|
31157
|
+
gapsMeasured: z59.boolean()
|
|
31138
31158
|
});
|
|
31139
31159
|
var ArtifactRefSchema = z59.object({
|
|
31140
31160
|
id: z59.string().min(1),
|
|
@@ -31971,7 +31991,13 @@ function buildBaseTaskContract(input) {
|
|
|
31971
31991
|
capabilityGaps: {
|
|
31972
31992
|
available: { tools: [], experts: [] },
|
|
31973
31993
|
gaps: [],
|
|
31974
|
-
allSatisfied
|
|
31994
|
+
// NOT a measurement (#5919). No detector runs here, so `allSatisfied`
|
|
31995
|
+
// carries no information — `gapsMeasured` is what says so. Wiring
|
|
31996
|
+
// `capability-gap-detector.ts` in is the follow-up; its cost on this hot
|
|
31997
|
+
// path has not been measured, and asserting an unmeasured verdict is the
|
|
31998
|
+
// part that had to stop now.
|
|
31999
|
+
allSatisfied: true,
|
|
32000
|
+
gapsMeasured: false
|
|
31975
32001
|
},
|
|
31976
32002
|
artifacts: [],
|
|
31977
32003
|
metadata: { ...input.metadata },
|
|
@@ -46052,7 +46078,7 @@ function buildVotingInput(plan, config) {
|
|
|
46052
46078
|
}
|
|
46053
46079
|
async function executeSingleVote(plan, config, log) {
|
|
46054
46080
|
try {
|
|
46055
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
46081
|
+
const { executeVoting } = await import("./consensus-vote-HEEK6FWT.js");
|
|
46056
46082
|
const input = buildVotingInput(plan, config);
|
|
46057
46083
|
const result = await executeVoting(input, log);
|
|
46058
46084
|
return parseVotingResult(result);
|
|
@@ -47847,7 +47873,7 @@ ${contextBlock}`;
|
|
|
47847
47873
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47848
47874
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47849
47875
|
try {
|
|
47850
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47876
|
+
const { executeVoting } = await import("./consensus-vote-HEEK6FWT.js");
|
|
47851
47877
|
const votingResult = await executeVoting(
|
|
47852
47878
|
{
|
|
47853
47879
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -56581,4 +56607,4 @@ export {
|
|
|
56581
56607
|
startPipelineEventBridge,
|
|
56582
56608
|
shutdownPipelineEventBridge
|
|
56583
56609
|
};
|
|
56584
|
-
//# sourceMappingURL=chunk-
|
|
56610
|
+
//# sourceMappingURL=chunk-ENFHSL5U.js.map
|