nexus-agents 8.9.1 → 8.9.2
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-MYERGZK3.js → chunk-2ZOPJGMY.js} +13 -23
- package/dist/chunk-2ZOPJGMY.js.map +1 -0
- package/dist/{chunk-KE5IGD6G.js → chunk-6VGKI5QE.js} +3 -3
- package/dist/chunk-DQ5FYBSF.js +7 -0
- package/dist/{chunk-FMKEGR6N.js → chunk-I4TQ5VQ7.js} +2 -2
- package/dist/{chunk-P64GQUQW.js → chunk-JLCOIDJJ.js} +3 -3
- package/dist/{chunk-P2DV7PDG.js → chunk-MJHNCHJI.js} +2 -2
- package/dist/cli.js +7 -7
- package/dist/{consensus-vote-3FCOFDON.js → consensus-vote-T6D4XVUA.js} +4 -4
- package/dist/{improvement-review-RMDGMKIB.js → improvement-review-TGACR3DL.js} +4 -4
- package/dist/index.d.ts +12 -12
- package/dist/index.js +7 -7
- package/dist/{setup-data-dir-CWU367E6.js → setup-data-dir-KVIXN5DN.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-DJFYMDMD.js +0 -7
- package/dist/chunk-MYERGZK3.js.map +0 -1
- /package/dist/{chunk-KE5IGD6G.js.map → chunk-6VGKI5QE.js.map} +0 -0
- /package/dist/{chunk-DJFYMDMD.js.map → chunk-DQ5FYBSF.js.map} +0 -0
- /package/dist/{chunk-FMKEGR6N.js.map → chunk-I4TQ5VQ7.js.map} +0 -0
- /package/dist/{chunk-P64GQUQW.js.map → chunk-JLCOIDJJ.js.map} +0 -0
- /package/dist/{chunk-P2DV7PDG.js.map → chunk-MJHNCHJI.js.map} +0 -0
- /package/dist/{consensus-vote-3FCOFDON.js.map → consensus-vote-T6D4XVUA.js.map} +0 -0
- /package/dist/{improvement-review-RMDGMKIB.js.map → improvement-review-TGACR3DL.js.map} +0 -0
- /package/dist/{setup-data-dir-CWU367E6.js.map → setup-data-dir-KVIXN5DN.js.map} +0 -0
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
DEFAULT_TASK_TTL_MS,
|
|
23
23
|
clampTaskTtl
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-6VGKI5QE.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
27
|
} from "./chunk-4GSFZS6M.js";
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
simulationDeniedResult,
|
|
49
49
|
toJobSummary,
|
|
50
50
|
writeJobCancelled
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-JLCOIDJJ.js";
|
|
52
52
|
import {
|
|
53
53
|
allOf
|
|
54
54
|
} from "./chunk-OQB3XC5O.js";
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
} from "./chunk-M33EQB7P.js";
|
|
68
68
|
import {
|
|
69
69
|
withPrerequisite
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-I4TQ5VQ7.js";
|
|
71
71
|
import {
|
|
72
72
|
NOOP_NOTIFIER,
|
|
73
73
|
RateLimiter,
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
withAuditTrail,
|
|
93
93
|
withProgressHeartbeat,
|
|
94
94
|
wrapToolWithTimeout
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-MJHNCHJI.js";
|
|
96
96
|
import {
|
|
97
97
|
createAuditTrail,
|
|
98
98
|
createGraphAuditBridge,
|
|
@@ -977,7 +977,11 @@ var NexusEnvSchema = z10.object({
|
|
|
977
977
|
// Drives the auto-remediation cycle (resolveAutoRemediateMode); default audit
|
|
978
978
|
// (zero-write soak, #3769) when unset, explicit `off` disables.
|
|
979
979
|
NEXUS_AUTO_REMEDIATE: z10.enum(["off", "audit", "enforce"]).optional(),
|
|
980
|
-
// Stage-boundary policy gate enforcement mode (getGateEnforcementMode); warn by
|
|
980
|
+
// Stage-boundary policy gate enforcement mode (getGateEnforcementMode); warn by
|
|
981
|
+
// default. Read by dev-pipeline's consensus→execute gate, and by any compiled
|
|
982
|
+
// gate node whose caller supplies a `policyEnforcement` bundle without a mode
|
|
983
|
+
// (no in-tree caller supplies a bundle today). The V2 delegate graph declares
|
|
984
|
+
// no gate (#4657); v2-orchestrate's execute check reads the V2 policy-mode variable instead (its own entry below; see CONFIGURATION.md).
|
|
981
985
|
NEXUS_POLICY_GATE_MODE: z10.enum(["off", "warn", "block"]).optional(),
|
|
982
986
|
// Path to a model-registry overlay manifest (buildDefaultRegistry / #3185 hot-reload).
|
|
983
987
|
NEXUS_MODELS_OVERLAY_PATH: z10.string().optional(),
|
|
@@ -31627,15 +31631,7 @@ var logger24 = createLogger({ component: "V2Delegate" });
|
|
|
31627
31631
|
function createDelegatePipeline(task) {
|
|
31628
31632
|
const plan = buildDelegatePlan(task);
|
|
31629
31633
|
const runner = new PipelineRunner();
|
|
31630
|
-
return runner.compile(plan
|
|
31631
|
-
}
|
|
31632
|
-
function buildWarnPolicyEnforcement(task, overrides = {}) {
|
|
31633
|
-
return {
|
|
31634
|
-
engine: overrides.engine ?? createDefaultPolicyEngine(),
|
|
31635
|
-
pipelineState: toPipelineStateSnapshot(task.metadata),
|
|
31636
|
-
eventBus: overrides.eventBus ?? getPipelineEventBus(),
|
|
31637
|
-
mode: getGateEnforcementMode()
|
|
31638
|
-
};
|
|
31634
|
+
return runner.compile(plan);
|
|
31639
31635
|
}
|
|
31640
31636
|
function delegateInputToTaskContract(input, opts = {}) {
|
|
31641
31637
|
const metadata = { source: "delegate_to_model" };
|
|
@@ -31721,12 +31717,6 @@ function formatViolation(v) {
|
|
|
31721
31717
|
return v.escalateTo !== void 0 ? `${base} [escalate: ${v.escalateTo}]` : base;
|
|
31722
31718
|
}
|
|
31723
31719
|
var ROUTE_STAGE_ID = "route-model";
|
|
31724
|
-
var ENTRY_GATE = {
|
|
31725
|
-
id: "gate-delegate-entry",
|
|
31726
|
-
afterStage: START,
|
|
31727
|
-
beforeStage: ROUTE_STAGE_ID,
|
|
31728
|
-
rules: ["trust-tier"]
|
|
31729
|
-
};
|
|
31730
31720
|
function buildDelegatePlan(task) {
|
|
31731
31721
|
return {
|
|
31732
31722
|
taskId: task.id,
|
|
@@ -31744,7 +31734,7 @@ function buildDelegatePlan(task) {
|
|
|
31744
31734
|
}
|
|
31745
31735
|
}
|
|
31746
31736
|
],
|
|
31747
|
-
policyGates: [
|
|
31737
|
+
policyGates: [],
|
|
31748
31738
|
estimatedCost: {
|
|
31749
31739
|
totalTokensIn: 0,
|
|
31750
31740
|
totalTokensOut: 0,
|
|
@@ -47395,7 +47385,7 @@ ${contextBlock}`;
|
|
|
47395
47385
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47396
47386
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47397
47387
|
try {
|
|
47398
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47388
|
+
const { executeVoting } = await import("./consensus-vote-T6D4XVUA.js");
|
|
47399
47389
|
const votingResult = await executeVoting(
|
|
47400
47390
|
{
|
|
47401
47391
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -56051,4 +56041,4 @@ export {
|
|
|
56051
56041
|
shutdownFeedbackSubscriber,
|
|
56052
56042
|
createEventBusBridge
|
|
56053
56043
|
};
|
|
56054
|
-
//# sourceMappingURL=chunk-
|
|
56044
|
+
//# sourceMappingURL=chunk-2ZOPJGMY.js.map
|