nexus-agents 8.40.0 → 8.41.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-N5FL5NGK.js → chunk-C25ILGJ6.js} +3 -3
- package/dist/{chunk-GHTO4L6T.js → chunk-FLRN74US.js} +2 -2
- package/dist/{chunk-DKJBDPVX.js → chunk-IEQ2MJJ3.js} +2 -2
- package/dist/{chunk-XIZCIXMR.js → chunk-L454YZK6.js} +3 -3
- package/dist/{chunk-2VGA2TRD.js → chunk-QPPR7KQH.js} +3 -3
- package/dist/{chunk-ZIUE2RNX.js → chunk-QWU7PEVK.js} +81 -45
- package/dist/chunk-QWU7PEVK.js.map +1 -0
- package/dist/{chunk-SHDBGUVD.js → chunk-RZ5YSYCB.js} +2 -2
- package/dist/{chunk-XIKVBZKG.js → chunk-SCIVDNY5.js} +11 -2
- package/dist/{chunk-XIKVBZKG.js.map → chunk-SCIVDNY5.js.map} +1 -1
- package/dist/cli.js +34 -24
- package/dist/cli.js.map +1 -1
- package/dist/{consensus-vote-SO3DZUIK.js → consensus-vote-HZRHWXLS.js} +5 -5
- package/dist/{improvement-review-7FTPX4KN.js → improvement-review-23W6GCNG.js} +5 -5
- package/dist/index.d.ts +30 -1
- package/dist/index.js +8 -8
- package/dist/{issue-triage-WP4SOZWZ.js → issue-triage-RL6AMSBZ.js} +3 -3
- package/dist/{setup-data-dir-FCP5WDWE.js → setup-data-dir-EA4UT4CG.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-ZIUE2RNX.js.map +0 -1
- /package/dist/{chunk-N5FL5NGK.js.map → chunk-C25ILGJ6.js.map} +0 -0
- /package/dist/{chunk-GHTO4L6T.js.map → chunk-FLRN74US.js.map} +0 -0
- /package/dist/{chunk-DKJBDPVX.js.map → chunk-IEQ2MJJ3.js.map} +0 -0
- /package/dist/{chunk-XIZCIXMR.js.map → chunk-L454YZK6.js.map} +0 -0
- /package/dist/{chunk-2VGA2TRD.js.map → chunk-QPPR7KQH.js.map} +0 -0
- /package/dist/{chunk-SHDBGUVD.js.map → chunk-RZ5YSYCB.js.map} +0 -0
- /package/dist/{consensus-vote-SO3DZUIK.js.map → consensus-vote-HZRHWXLS.js.map} +0 -0
- /package/dist/{improvement-review-7FTPX4KN.js.map → improvement-review-23W6GCNG.js.map} +0 -0
- /package/dist/{issue-triage-WP4SOZWZ.js.map → issue-triage-RL6AMSBZ.js.map} +0 -0
- /package/dist/{setup-data-dir-FCP5WDWE.js.map → setup-data-dir-EA4UT4CG.js.map} +0 -0
|
@@ -11,12 +11,12 @@ import {
|
|
|
11
11
|
resetCorrelationTracker,
|
|
12
12
|
runConsensusForGoal,
|
|
13
13
|
unwrapVoteOrThrow
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-QPPR7KQH.js";
|
|
15
15
|
import "./chunk-O6IFENDU.js";
|
|
16
16
|
import "./chunk-OQB3XC5O.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-C25ILGJ6.js";
|
|
18
|
+
import "./chunk-FLRN74US.js";
|
|
19
|
+
import "./chunk-SCIVDNY5.js";
|
|
20
20
|
import "./chunk-2EHPCU5R.js";
|
|
21
21
|
import "./chunk-7FA6RW5Z.js";
|
|
22
22
|
import "./chunk-7LP6VJRP.js";
|
|
@@ -50,4 +50,4 @@ export {
|
|
|
50
50
|
runConsensusForGoal,
|
|
51
51
|
unwrapVoteOrThrow
|
|
52
52
|
};
|
|
53
|
-
//# sourceMappingURL=consensus-vote-
|
|
53
|
+
//# sourceMappingURL=consensus-vote-HZRHWXLS.js.map
|
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
loadSelfEvalSignals,
|
|
12
12
|
registerImprovementReviewTool,
|
|
13
13
|
runImprovementReview
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-IEQ2MJJ3.js";
|
|
15
|
+
import "./chunk-C25ILGJ6.js";
|
|
16
|
+
import "./chunk-FLRN74US.js";
|
|
17
|
+
import "./chunk-SCIVDNY5.js";
|
|
18
18
|
import "./chunk-E7HUVU7E.js";
|
|
19
19
|
import "./chunk-3HELETAQ.js";
|
|
20
20
|
import "./chunk-JVNJJ2VL.js";
|
|
@@ -33,4 +33,4 @@ export {
|
|
|
33
33
|
registerImprovementReviewTool,
|
|
34
34
|
runImprovementReview
|
|
35
35
|
};
|
|
36
|
-
//# sourceMappingURL=improvement-review-
|
|
36
|
+
//# sourceMappingURL=improvement-review-23W6GCNG.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -24202,6 +24202,23 @@ type GraphEvent = {
|
|
|
24202
24202
|
readonly stepNumber: number;
|
|
24203
24203
|
readonly error: string;
|
|
24204
24204
|
readonly timestamp: number;
|
|
24205
|
+
} | {
|
|
24206
|
+
/**
|
|
24207
|
+
* A node that did not run to completion: it paused for human input
|
|
24208
|
+
* (`interrupted`) or its precondition refused it (`skipped`).
|
|
24209
|
+
*
|
|
24210
|
+
* `NodeResult.status` is four-way, and the emitter's `else` branch used to
|
|
24211
|
+
* fold both of these into `node_completed` — so a node that produced
|
|
24212
|
+
* nothing was published to the hash-chained audit trail as "completed in
|
|
24213
|
+
* 0ms", and a `skipped` result's `error` string was dropped entirely
|
|
24214
|
+
* because the completion event has no slot for it.
|
|
24215
|
+
*/
|
|
24216
|
+
readonly type: 'node_not_completed';
|
|
24217
|
+
readonly nodeId: string;
|
|
24218
|
+
readonly stepNumber: number;
|
|
24219
|
+
readonly reason: 'interrupted' | 'skipped';
|
|
24220
|
+
readonly detail?: string;
|
|
24221
|
+
readonly timestamp: number;
|
|
24205
24222
|
} | {
|
|
24206
24223
|
readonly type: 'state_updated';
|
|
24207
24224
|
readonly stepNumber: number;
|
|
@@ -24217,6 +24234,18 @@ type GraphEvent = {
|
|
|
24217
24234
|
readonly totalSteps: number;
|
|
24218
24235
|
readonly totalNodes: number;
|
|
24219
24236
|
readonly durationMs: number;
|
|
24237
|
+
/**
|
|
24238
|
+
* True when the run stopped awaiting human input rather than finishing.
|
|
24239
|
+
*
|
|
24240
|
+
* `runSuperStepLoop` returns `undefined` on the interrupt path, which is
|
|
24241
|
+
* the same "loop ended normally" signal as running out of runnable nodes,
|
|
24242
|
+
* so this event was emitted unconditionally BEFORE the halt check. A
|
|
24243
|
+
* paused run published a completion indistinguishable from a finished
|
|
24244
|
+
* one, and `halted` — the truthful marker — lives on the returned
|
|
24245
|
+
* `Result`, which an `onEvent` consumer such as the audit bridge never
|
|
24246
|
+
* sees.
|
|
24247
|
+
*/
|
|
24248
|
+
readonly halted?: boolean;
|
|
24220
24249
|
readonly timestamp: number;
|
|
24221
24250
|
} | {
|
|
24222
24251
|
readonly type: 'hook_started';
|
|
@@ -24322,7 +24351,7 @@ declare function emitStateUpdated(ctx: StepContext, results: readonly NodeResult
|
|
|
24322
24351
|
/** Emits step_completed event after a super-step finishes. */
|
|
24323
24352
|
declare function emitStepCompleted(ctx: StepContext, nodesExecuted: number, options?: GraphExecuteOptions): void;
|
|
24324
24353
|
/** Emits execution_complete event when graph execution finishes. */
|
|
24325
|
-
declare function emitExecutionComplete(totalSteps: number, totalNodes: number, durationMs: number, options?: GraphExecuteOptions): void;
|
|
24354
|
+
declare function emitExecutionComplete(totalSteps: number, totalNodes: number, durationMs: number, options?: GraphExecuteOptions, halted?: boolean): void;
|
|
24326
24355
|
|
|
24327
24356
|
/**
|
|
24328
24357
|
* nexus-agents/orchestration - Graph Workflow Builder
|
package/dist/index.js
CHANGED
|
@@ -552,7 +552,7 @@ import {
|
|
|
552
552
|
withLogging,
|
|
553
553
|
withRetry,
|
|
554
554
|
withRetryWrapper
|
|
555
|
-
} from "./chunk-
|
|
555
|
+
} from "./chunk-QWU7PEVK.js";
|
|
556
556
|
import {
|
|
557
557
|
FALLBACK_SCANNER_DATA,
|
|
558
558
|
buildPlanFromAnalysis,
|
|
@@ -585,7 +585,7 @@ import {
|
|
|
585
585
|
connectTransport,
|
|
586
586
|
createServer,
|
|
587
587
|
startStdioServer
|
|
588
|
-
} from "./chunk-
|
|
588
|
+
} from "./chunk-L454YZK6.js";
|
|
589
589
|
import {
|
|
590
590
|
OPENAI_MODELS,
|
|
591
591
|
OPENAI_MODEL_ALIASES,
|
|
@@ -643,7 +643,7 @@ import {
|
|
|
643
643
|
generateProposalId,
|
|
644
644
|
parseAgentPairKey,
|
|
645
645
|
registerConsensusVoteTool
|
|
646
|
-
} from "./chunk-
|
|
646
|
+
} from "./chunk-QPPR7KQH.js";
|
|
647
647
|
import "./chunk-O6IFENDU.js";
|
|
648
648
|
import {
|
|
649
649
|
allOf
|
|
@@ -678,7 +678,7 @@ import {
|
|
|
678
678
|
resolveFirewallPolicyMode,
|
|
679
679
|
validateAgentAction,
|
|
680
680
|
validateCorroboration
|
|
681
|
-
} from "./chunk-
|
|
681
|
+
} from "./chunk-RZ5YSYCB.js";
|
|
682
682
|
import {
|
|
683
683
|
GitHubProvider,
|
|
684
684
|
ScmError
|
|
@@ -701,7 +701,7 @@ import {
|
|
|
701
701
|
import {
|
|
702
702
|
ImprovementReviewInputSchema,
|
|
703
703
|
registerImprovementReviewTool
|
|
704
|
-
} from "./chunk-
|
|
704
|
+
} from "./chunk-IEQ2MJJ3.js";
|
|
705
705
|
import {
|
|
706
706
|
AgentPerformanceSchema,
|
|
707
707
|
ConsensusAlgorithmSchema,
|
|
@@ -737,10 +737,10 @@ import {
|
|
|
737
737
|
toolSuccess,
|
|
738
738
|
toolSuccessStructured,
|
|
739
739
|
validateToolInput
|
|
740
|
-
} from "./chunk-
|
|
740
|
+
} from "./chunk-C25ILGJ6.js";
|
|
741
741
|
import {
|
|
742
742
|
VERSION
|
|
743
|
-
} from "./chunk-
|
|
743
|
+
} from "./chunk-FLRN74US.js";
|
|
744
744
|
import {
|
|
745
745
|
AuditTrail,
|
|
746
746
|
createAuditTrail,
|
|
@@ -751,7 +751,7 @@ import {
|
|
|
751
751
|
emitReputationEvent,
|
|
752
752
|
emitSanitizationEvent,
|
|
753
753
|
emitTrustEvent
|
|
754
|
-
} from "./chunk-
|
|
754
|
+
} from "./chunk-SCIVDNY5.js";
|
|
755
755
|
import {
|
|
756
756
|
UnifiedAdapterRegistry,
|
|
757
757
|
createUnifiedRegistry,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
IssueTriage,
|
|
3
3
|
createIssueTriage
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RZ5YSYCB.js";
|
|
5
5
|
import "./chunk-ZMPQVOAO.js";
|
|
6
6
|
import "./chunk-KRD3OF3M.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-SCIVDNY5.js";
|
|
8
8
|
import "./chunk-HYESPHTE.js";
|
|
9
9
|
import "./chunk-E7HUVU7E.js";
|
|
10
10
|
import "./chunk-3HELETAQ.js";
|
|
@@ -14,4 +14,4 @@ export {
|
|
|
14
14
|
IssueTriage,
|
|
15
15
|
createIssueTriage
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=issue-triage-
|
|
17
|
+
//# sourceMappingURL=issue-triage-RL6AMSBZ.js.map
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
NEXUS_DATA_DIR,
|
|
3
3
|
describeDataDirFix,
|
|
4
4
|
initDataDirectories
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-L454YZK6.js";
|
|
6
6
|
import "./chunk-FJRVJZSZ.js";
|
|
7
7
|
import "./chunk-O6IFENDU.js";
|
|
8
8
|
import "./chunk-OQB3XC5O.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-FLRN74US.js";
|
|
10
10
|
import "./chunk-7LP6VJRP.js";
|
|
11
11
|
import "./chunk-Q2NGSVGI.js";
|
|
12
12
|
import "./chunk-UDSIIRAE.js";
|
|
@@ -26,4 +26,4 @@ export {
|
|
|
26
26
|
describeDataDirFix,
|
|
27
27
|
initDataDirectories
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=setup-data-dir-
|
|
29
|
+
//# sourceMappingURL=setup-data-dir-EA4UT4CG.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nexus-agents",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.41.0",
|
|
4
4
|
"description": "Governance substrate for AI coding agents — adversarial PR review, drift-detected rules, tamper-evident audit, and closed-loop outcome routing for Claude, Codex, Gemini, and OpenCode",
|
|
5
5
|
"mcpName": "io.github.nexus-substrate/nexus-agents",
|
|
6
6
|
"license": "MIT",
|