nexus-agents 8.74.2 → 8.75.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/{ast-rule-runner-K35WYUOD.js → ast-rule-runner-S6BMBE5T.js} +3 -3
- package/dist/{child-mcp-config-B2CWZ2ZK.js → child-mcp-config-ZZ66QGIU.js} +2 -2
- package/dist/{chunk-43RJNTUZ.js → chunk-2BTJ5FNP.js} +2 -2
- package/dist/{chunk-PWEGOADT.js → chunk-2WO24CL5.js} +22 -14
- package/dist/chunk-2WO24CL5.js.map +1 -0
- package/dist/{chunk-2KXRL4OW.js → chunk-3CTDUBNC.js} +2 -2
- package/dist/{chunk-TUTS6S2G.js → chunk-4D3LWDEK.js} +8 -8
- package/dist/{chunk-ZKEULHX6.js → chunk-4I66XLEU.js} +7 -7
- package/dist/{chunk-4PWDDMLH.js → chunk-4Q3EURVU.js} +51 -10
- package/dist/chunk-4Q3EURVU.js.map +1 -0
- package/dist/{chunk-5QE6DJMH.js → chunk-5AR3IEKE.js} +5 -5
- package/dist/{chunk-GENL3TXA.js → chunk-5DQDMHSW.js} +2 -2
- package/dist/{chunk-Z2XB5IKO.js → chunk-74UUAGBU.js} +2 -2
- package/dist/{chunk-QW5FSTLJ.js → chunk-7GOBJ6MR.js} +2 -2
- package/dist/{chunk-ADHIHFBA.js → chunk-A3Q4QZ6G.js} +2 -2
- package/dist/{chunk-6Y24JDBR.js → chunk-A3TT5LFA.js} +49 -36
- package/dist/chunk-A3TT5LFA.js.map +1 -0
- package/dist/{chunk-D5ST2Y4W.js → chunk-BM272XDR.js} +3 -3
- package/dist/{chunk-MYGTMAHW.js → chunk-DTT5TSJV.js} +3 -3
- package/dist/{chunk-GW7SZ555.js → chunk-DYCSNMYD.js} +2 -2
- package/dist/{chunk-CYZ3DUQV.js → chunk-GA5VPMGG.js} +2 -2
- package/dist/{chunk-NC7X6WQL.js → chunk-GEZQW3SK.js} +2 -2
- package/dist/{chunk-HO2UPJ7T.js → chunk-HO4P3ONC.js} +36 -11
- package/dist/{chunk-HO2UPJ7T.js.map → chunk-HO4P3ONC.js.map} +1 -1
- package/dist/{chunk-DSTEEVDR.js → chunk-IZGDLLDP.js} +2 -2
- package/dist/{chunk-5E33WGDR.js → chunk-J6VKBPJQ.js} +2 -2
- package/dist/{chunk-22VQMTR6.js → chunk-KUCHJFK3.js} +2 -2
- package/dist/{chunk-47624RRN.js → chunk-LMCC5TTU.js} +2 -2
- package/dist/{chunk-6DPQOIE7.js → chunk-LY53XG4N.js} +2 -2
- package/dist/{chunk-NLRIEHAY.js → chunk-M2WCQBXR.js} +4 -4
- package/dist/{chunk-RGEJZIOJ.js → chunk-NDFVPB3Q.js} +2 -2
- package/dist/{chunk-M6DJ6AE3.js → chunk-OB2BQ2ES.js} +9 -9
- package/dist/{chunk-I2KBD37Y.js → chunk-SPQILQFG.js} +3 -3
- package/dist/{chunk-ZDVNHXRV.js → chunk-UVLHFNVM.js} +2 -2
- package/dist/{chunk-IQTHG5BO.js → chunk-W6YF4G2Y.js} +2 -2
- package/dist/{chunk-TL5NV5JH.js → chunk-WBPQYYTY.js} +4 -4
- package/dist/{chunk-B227FYGQ.js → chunk-WZPF7SI7.js} +4 -4
- package/dist/{chunk-ST7RKS3P.js → chunk-X4BBJZDE.js} +2 -2
- package/dist/{chunk-I5DGPV2X.js → chunk-Y4WMOZNI.js} +3 -3
- package/dist/{chunk-3PI3INR3.js → chunk-ZVINGGSG.js} +5 -5
- package/dist/{cli-circuit-breaker-Q73YH6FS.js → cli-circuit-breaker-YXZUZW2J.js} +3 -3
- package/dist/cli.js +235 -45
- package/dist/cli.js.map +1 -1
- package/dist/{composite-router-XKE225G5.js → composite-router-JLI4TRKG.js} +2 -2
- package/dist/{consensus-vote-YCETKP4M.js → consensus-vote-NU7M7ESH.js} +16 -16
- package/dist/{context-retriever-5BL34V6Y.js → context-retriever-6QUKMGAE.js} +8 -8
- package/dist/{doctor-deep-UYXLA4HG.js → doctor-deep-2WDIAMWF.js} +3 -3
- package/dist/{doctor-live-7I6STRL7.js → doctor-live-RAZLLAGJ.js} +10 -10
- package/dist/{expert-bridge-PLY7MNUK.js → expert-bridge-VJNZ6HBX.js} +4 -4
- package/dist/{factory-5XIEO5EA.js → factory-2LWHAH27.js} +5 -5
- package/dist/{factory-ZCMLOSDY.js → factory-PTY5BXS5.js} +9 -9
- package/dist/{improvement-review-CF5SWXUB.js → improvement-review-NHUWYT4N.js} +5 -5
- package/dist/index.js +31 -31
- package/dist/{init-opencode-UTF4K2LR.js → init-opencode-ADIEXXXN.js} +6 -6
- package/dist/issue-triage-55YTFO6G.js +16 -0
- package/dist/{pr-reviewer-helpers-RMOEXYCO.js → pr-reviewer-helpers-3PNRHJFT.js} +4 -4
- package/dist/{registry-command-XFM4XIGJ.js → registry-command-KI2RZGFI.js} +2 -2
- package/dist/{repo-security-plan-YWANNRJE.js → repo-security-plan-M4XWUPTW.js} +3 -3
- package/dist/{research-helpers-synthesize-QFKDDHRE.js → research-helpers-synthesize-CB2IUVZ3.js} +4 -4
- package/dist/{routing-memory-T22PQ5FF.js → routing-memory-RO2J5NBQ.js} +2 -2
- package/dist/{session-memory-ZNIJGF7Z.js → session-memory-VXMVCDJU.js} +3 -3
- package/dist/{setup-config-XC5KSYGO.js → setup-config-4EHZ5LHZ.js} +3 -3
- package/dist/{setup-custom-api-5WL5D24S.js → setup-custom-api-YCHOWLRA.js} +4 -4
- package/dist/setup-data-dir-FMUOFRN6.js +31 -0
- package/dist/{tool-memory-JNHE2VP2.js → tool-memory-EXKJZ34V.js} +5 -5
- package/dist/{unified-registry-5IIFYGBI.js → unified-registry-PPLQ26Q6.js} +10 -10
- package/dist/{weather-report-3AZHFDM3.js → weather-report-PJC3GJLD.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-4PWDDMLH.js.map +0 -1
- package/dist/chunk-6Y24JDBR.js.map +0 -1
- package/dist/chunk-PWEGOADT.js.map +0 -1
- package/dist/issue-triage-KCRQNDYX.js +0 -16
- package/dist/setup-data-dir-6PEJ3YF7.js +0 -31
- /package/dist/{ast-rule-runner-K35WYUOD.js.map → ast-rule-runner-S6BMBE5T.js.map} +0 -0
- /package/dist/{child-mcp-config-B2CWZ2ZK.js.map → child-mcp-config-ZZ66QGIU.js.map} +0 -0
- /package/dist/{chunk-43RJNTUZ.js.map → chunk-2BTJ5FNP.js.map} +0 -0
- /package/dist/{chunk-2KXRL4OW.js.map → chunk-3CTDUBNC.js.map} +0 -0
- /package/dist/{chunk-TUTS6S2G.js.map → chunk-4D3LWDEK.js.map} +0 -0
- /package/dist/{chunk-ZKEULHX6.js.map → chunk-4I66XLEU.js.map} +0 -0
- /package/dist/{chunk-5QE6DJMH.js.map → chunk-5AR3IEKE.js.map} +0 -0
- /package/dist/{chunk-GENL3TXA.js.map → chunk-5DQDMHSW.js.map} +0 -0
- /package/dist/{chunk-Z2XB5IKO.js.map → chunk-74UUAGBU.js.map} +0 -0
- /package/dist/{chunk-QW5FSTLJ.js.map → chunk-7GOBJ6MR.js.map} +0 -0
- /package/dist/{chunk-ADHIHFBA.js.map → chunk-A3Q4QZ6G.js.map} +0 -0
- /package/dist/{chunk-D5ST2Y4W.js.map → chunk-BM272XDR.js.map} +0 -0
- /package/dist/{chunk-MYGTMAHW.js.map → chunk-DTT5TSJV.js.map} +0 -0
- /package/dist/{chunk-GW7SZ555.js.map → chunk-DYCSNMYD.js.map} +0 -0
- /package/dist/{chunk-CYZ3DUQV.js.map → chunk-GA5VPMGG.js.map} +0 -0
- /package/dist/{chunk-NC7X6WQL.js.map → chunk-GEZQW3SK.js.map} +0 -0
- /package/dist/{chunk-DSTEEVDR.js.map → chunk-IZGDLLDP.js.map} +0 -0
- /package/dist/{chunk-5E33WGDR.js.map → chunk-J6VKBPJQ.js.map} +0 -0
- /package/dist/{chunk-22VQMTR6.js.map → chunk-KUCHJFK3.js.map} +0 -0
- /package/dist/{chunk-47624RRN.js.map → chunk-LMCC5TTU.js.map} +0 -0
- /package/dist/{chunk-6DPQOIE7.js.map → chunk-LY53XG4N.js.map} +0 -0
- /package/dist/{chunk-NLRIEHAY.js.map → chunk-M2WCQBXR.js.map} +0 -0
- /package/dist/{chunk-RGEJZIOJ.js.map → chunk-NDFVPB3Q.js.map} +0 -0
- /package/dist/{chunk-M6DJ6AE3.js.map → chunk-OB2BQ2ES.js.map} +0 -0
- /package/dist/{chunk-I2KBD37Y.js.map → chunk-SPQILQFG.js.map} +0 -0
- /package/dist/{chunk-ZDVNHXRV.js.map → chunk-UVLHFNVM.js.map} +0 -0
- /package/dist/{chunk-IQTHG5BO.js.map → chunk-W6YF4G2Y.js.map} +0 -0
- /package/dist/{chunk-TL5NV5JH.js.map → chunk-WBPQYYTY.js.map} +0 -0
- /package/dist/{chunk-B227FYGQ.js.map → chunk-WZPF7SI7.js.map} +0 -0
- /package/dist/{chunk-ST7RKS3P.js.map → chunk-X4BBJZDE.js.map} +0 -0
- /package/dist/{chunk-I5DGPV2X.js.map → chunk-Y4WMOZNI.js.map} +0 -0
- /package/dist/{chunk-3PI3INR3.js.map → chunk-ZVINGGSG.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-Q73YH6FS.js.map → cli-circuit-breaker-YXZUZW2J.js.map} +0 -0
- /package/dist/{composite-router-XKE225G5.js.map → composite-router-JLI4TRKG.js.map} +0 -0
- /package/dist/{consensus-vote-YCETKP4M.js.map → consensus-vote-NU7M7ESH.js.map} +0 -0
- /package/dist/{context-retriever-5BL34V6Y.js.map → context-retriever-6QUKMGAE.js.map} +0 -0
- /package/dist/{doctor-deep-UYXLA4HG.js.map → doctor-deep-2WDIAMWF.js.map} +0 -0
- /package/dist/{doctor-live-7I6STRL7.js.map → doctor-live-RAZLLAGJ.js.map} +0 -0
- /package/dist/{expert-bridge-PLY7MNUK.js.map → expert-bridge-VJNZ6HBX.js.map} +0 -0
- /package/dist/{factory-5XIEO5EA.js.map → factory-2LWHAH27.js.map} +0 -0
- /package/dist/{factory-ZCMLOSDY.js.map → factory-PTY5BXS5.js.map} +0 -0
- /package/dist/{improvement-review-CF5SWXUB.js.map → improvement-review-NHUWYT4N.js.map} +0 -0
- /package/dist/{init-opencode-UTF4K2LR.js.map → init-opencode-ADIEXXXN.js.map} +0 -0
- /package/dist/{issue-triage-KCRQNDYX.js.map → issue-triage-55YTFO6G.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-RMOEXYCO.js.map → pr-reviewer-helpers-3PNRHJFT.js.map} +0 -0
- /package/dist/{registry-command-XFM4XIGJ.js.map → registry-command-KI2RZGFI.js.map} +0 -0
- /package/dist/{repo-security-plan-YWANNRJE.js.map → repo-security-plan-M4XWUPTW.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-QFKDDHRE.js.map → research-helpers-synthesize-CB2IUVZ3.js.map} +0 -0
- /package/dist/{routing-memory-T22PQ5FF.js.map → routing-memory-RO2J5NBQ.js.map} +0 -0
- /package/dist/{session-memory-ZNIJGF7Z.js.map → session-memory-VXMVCDJU.js.map} +0 -0
- /package/dist/{setup-config-XC5KSYGO.js.map → setup-config-4EHZ5LHZ.js.map} +0 -0
- /package/dist/{setup-custom-api-5WL5D24S.js.map → setup-custom-api-YCHOWLRA.js.map} +0 -0
- /package/dist/{setup-data-dir-6PEJ3YF7.js.map → setup-data-dir-FMUOFRN6.js.map} +0 -0
- /package/dist/{tool-memory-JNHE2VP2.js.map → tool-memory-EXKJZ34V.js.map} +0 -0
- /package/dist/{unified-registry-5IIFYGBI.js.map → unified-registry-PPLQ26Q6.js.map} +0 -0
- /package/dist/{weather-report-3AZHFDM3.js.map → weather-report-PJC3GJLD.js.map} +0 -0
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
loadTechniquesRegistry,
|
|
6
6
|
resolveInsideRoot,
|
|
7
7
|
savePapersRegistry
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DYCSNMYD.js";
|
|
9
9
|
import {
|
|
10
10
|
resolveToken
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KUCHJFK3.js";
|
|
12
12
|
import {
|
|
13
13
|
getToolMemory
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-WZPF7SI7.js";
|
|
15
15
|
import {
|
|
16
16
|
capitalizeWords,
|
|
17
17
|
tokenizeFiltered,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
ok,
|
|
41
41
|
registerPersistentDistillerFactory,
|
|
42
42
|
sigmoidConfidence
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-4Q3EURVU.js";
|
|
44
44
|
import {
|
|
45
45
|
ensureLearningDir,
|
|
46
46
|
getRulesFile
|
|
@@ -4238,4 +4238,4 @@ export {
|
|
|
4238
4238
|
DEFAULT_CONTEXT_BUDGET_TOKENS,
|
|
4239
4239
|
getContextPromptPrefix
|
|
4240
4240
|
};
|
|
4241
|
-
//# sourceMappingURL=chunk-
|
|
4241
|
+
//# sourceMappingURL=chunk-5AR3IEKE.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
isRateLimitText,
|
|
11
11
|
observedArmDisplaySlot,
|
|
12
12
|
ok
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-4Q3EURVU.js";
|
|
14
14
|
|
|
15
15
|
// src/cli-adapters/circuit-breaker-types.ts
|
|
16
16
|
var CircuitErrorCode = {
|
|
@@ -592,4 +592,4 @@ export {
|
|
|
592
592
|
CliCircuitBreakerIntegration,
|
|
593
593
|
createCliCircuitBreakerIntegration
|
|
594
594
|
};
|
|
595
|
-
//# sourceMappingURL=chunk-
|
|
595
|
+
//# sourceMappingURL=chunk-5DQDMHSW.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
ValidationError,
|
|
4
4
|
createLogger,
|
|
5
5
|
formatZodError
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4Q3EURVU.js";
|
|
7
7
|
|
|
8
8
|
// src/security/ast-rule-runner.ts
|
|
9
9
|
import { existsSync } from "node:fs";
|
|
@@ -241,4 +241,4 @@ export {
|
|
|
241
241
|
collectAstQaFindings,
|
|
242
242
|
runAstQaRules
|
|
243
243
|
};
|
|
244
|
-
//# sourceMappingURL=chunk-
|
|
244
|
+
//# sourceMappingURL=chunk-74UUAGBU.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/version.ts
|
|
2
2
|
import semver from "semver";
|
|
3
|
-
var VERSION = true ? "8.
|
|
3
|
+
var VERSION = true ? "8.75.0" : "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-7GOBJ6MR.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
CACHE_TIMEOUTS,
|
|
3
3
|
createLogger,
|
|
4
4
|
getTimeProvider
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-4Q3EURVU.js";
|
|
6
6
|
|
|
7
7
|
// src/security/trust-types.ts
|
|
8
8
|
import { z } from "zod";
|
|
@@ -610,4 +610,4 @@ export {
|
|
|
610
610
|
resolveReputationGatingMode,
|
|
611
611
|
gateWithReputation
|
|
612
612
|
};
|
|
613
|
-
//# sourceMappingURL=chunk-
|
|
613
|
+
//# sourceMappingURL=chunk-A3Q4QZ6G.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateSecurityPlan
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GA5VPMGG.js";
|
|
4
4
|
import {
|
|
5
5
|
analyzeGitHubRepo
|
|
6
6
|
} from "./chunk-4GDMHCKX.js";
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
DEFAULT_TASK_TTL_MS,
|
|
23
23
|
clampTaskTtl
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-2WO24CL5.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-4I66XLEU.js";
|
|
28
28
|
import {
|
|
29
29
|
DEPRECATED_MODE_ALIAS_INPUT,
|
|
30
30
|
JobStatusSchema,
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
updateStage,
|
|
72
72
|
withWarnings,
|
|
73
73
|
writeJobCancelled
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-OB2BQ2ES.js";
|
|
75
75
|
import {
|
|
76
76
|
allOf,
|
|
77
77
|
anyOf
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
import {
|
|
80
80
|
normalizeTopicToCanonical,
|
|
81
81
|
synthesizeResearch
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-DTT5TSJV.js";
|
|
83
83
|
import {
|
|
84
84
|
IssueTriage,
|
|
85
85
|
createAuditTrail,
|
|
@@ -87,13 +87,13 @@ import {
|
|
|
87
87
|
createDurableAuditTrail,
|
|
88
88
|
createGraphAuditBridge,
|
|
89
89
|
emitPipelinePolicyEvent
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-ZVINGGSG.js";
|
|
91
91
|
import {
|
|
92
92
|
sanitizeInput
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-A3Q4QZ6G.js";
|
|
94
94
|
import {
|
|
95
95
|
withPrerequisite
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-SPQILQFG.js";
|
|
97
97
|
import {
|
|
98
98
|
NOOP_NOTIFIER,
|
|
99
99
|
RateLimiter,
|
|
@@ -116,14 +116,14 @@ import {
|
|
|
116
116
|
toolSuccessStructured,
|
|
117
117
|
withProgressHeartbeat,
|
|
118
118
|
wrapToolWithTimeout
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-BM272XDR.js";
|
|
120
120
|
import {
|
|
121
121
|
EventTopics,
|
|
122
122
|
UNRESOLVED_MODEL_ID,
|
|
123
123
|
createEvent,
|
|
124
124
|
getGlobalEventBus,
|
|
125
125
|
getGlobalRegistry
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-WBPQYYTY.js";
|
|
127
127
|
import {
|
|
128
128
|
IDENTIFIER_RE,
|
|
129
129
|
LANG_VALUES,
|
|
@@ -156,7 +156,7 @@ import {
|
|
|
156
156
|
parseRegistry,
|
|
157
157
|
sourceExistsInRegistry,
|
|
158
158
|
summarizeContextForPrompt
|
|
159
|
-
} from "./chunk-
|
|
159
|
+
} from "./chunk-5AR3IEKE.js";
|
|
160
160
|
import {
|
|
161
161
|
REGISTRY_PATH,
|
|
162
162
|
getProjectRoot,
|
|
@@ -164,25 +164,25 @@ import {
|
|
|
164
164
|
loadTechniquesRegistry,
|
|
165
165
|
resolveInsideRoot,
|
|
166
166
|
resolveRegistryRoot
|
|
167
|
-
} from "./chunk-
|
|
167
|
+
} from "./chunk-DYCSNMYD.js";
|
|
168
168
|
import {
|
|
169
169
|
getTokenEnvVars,
|
|
170
170
|
resolveToken
|
|
171
|
-
} from "./chunk-
|
|
171
|
+
} from "./chunk-KUCHJFK3.js";
|
|
172
172
|
import {
|
|
173
173
|
DEFAULT_RELEVANCE_CONFIG,
|
|
174
174
|
MemoryImportance,
|
|
175
175
|
MemoryType,
|
|
176
176
|
calculateTextJaccardSimilarity,
|
|
177
177
|
getToolMemory
|
|
178
|
-
} from "./chunk-
|
|
178
|
+
} from "./chunk-WZPF7SI7.js";
|
|
179
179
|
import {
|
|
180
180
|
STOPWORDS,
|
|
181
181
|
truncateWithInfo
|
|
182
182
|
} from "./chunk-7LP6VJRP.js";
|
|
183
183
|
import {
|
|
184
184
|
createSessionMemory
|
|
185
|
-
} from "./chunk-
|
|
185
|
+
} from "./chunk-LY53XG4N.js";
|
|
186
186
|
import {
|
|
187
187
|
BUILT_IN_EXPERTS,
|
|
188
188
|
BuiltInExpertTypeSchema,
|
|
@@ -200,25 +200,25 @@ import {
|
|
|
200
200
|
getAvailableClis,
|
|
201
201
|
sleep,
|
|
202
202
|
withTimeout
|
|
203
|
-
} from "./chunk-
|
|
203
|
+
} from "./chunk-4D3LWDEK.js";
|
|
204
204
|
import {
|
|
205
205
|
BaseAdapter,
|
|
206
206
|
createStream,
|
|
207
207
|
requireApiKey,
|
|
208
208
|
validateApiKeyPresence
|
|
209
|
-
} from "./chunk-
|
|
209
|
+
} from "./chunk-UVLHFNVM.js";
|
|
210
210
|
import {
|
|
211
211
|
DEFAULTS
|
|
212
|
-
} from "./chunk-
|
|
212
|
+
} from "./chunk-X4BBJZDE.js";
|
|
213
213
|
import {
|
|
214
214
|
getAvailabilityCache,
|
|
215
215
|
getCliForModelId,
|
|
216
216
|
resolveFallback
|
|
217
|
-
} from "./chunk-
|
|
217
|
+
} from "./chunk-NDFVPB3Q.js";
|
|
218
218
|
import {
|
|
219
219
|
generateHyphenId,
|
|
220
220
|
generateUUID
|
|
221
|
-
} from "./chunk-
|
|
221
|
+
} from "./chunk-W6YF4G2Y.js";
|
|
222
222
|
import {
|
|
223
223
|
AGENT_ROUTER_TIMEOUTS,
|
|
224
224
|
API_TIMEOUTS,
|
|
@@ -313,6 +313,7 @@ import {
|
|
|
313
313
|
getStrategyManifest,
|
|
314
314
|
getTimeProvider,
|
|
315
315
|
getTokenEstimator,
|
|
316
|
+
isEndpointArmId,
|
|
316
317
|
isErr,
|
|
317
318
|
isRateLimitLikeError,
|
|
318
319
|
lookupInTreeCapability,
|
|
@@ -330,7 +331,7 @@ import {
|
|
|
330
331
|
selectStrategyByManifest,
|
|
331
332
|
toExpertTaskAnalysisResult,
|
|
332
333
|
withStep
|
|
333
|
-
} from "./chunk-
|
|
334
|
+
} from "./chunk-4Q3EURVU.js";
|
|
334
335
|
import {
|
|
335
336
|
ensureLearningDir,
|
|
336
337
|
getMetaOutcomesFile,
|
|
@@ -1117,6 +1118,15 @@ var NexusEnvSchema = z11.object({
|
|
|
1117
1118
|
if (!parsed.ok) ctx.addIssue({ code: "custom", message: parsed.error.message });
|
|
1118
1119
|
}).optional(),
|
|
1119
1120
|
NEXUS_MODEL_REGISTRY_OVERLAY: z11.string().optional(),
|
|
1121
|
+
// #4392 increment 2 step 2: the `<endpoint>` of the `api:<endpoint>` arm the
|
|
1122
|
+
// voter gateway registers as (OPENAI_COMPAT_ENDPOINT_ENV; spelled out for
|
|
1123
|
+
// the coverage script). Same shape rule as a scoped NEXUS_GATEWAY_COST key,
|
|
1124
|
+
// so a URL — or a credential inside one — can never become an arm id. An
|
|
1125
|
+
// invalid value is reported here and the runtime reader falls back to the
|
|
1126
|
+
// default endpoint (`openai-compat`).
|
|
1127
|
+
NEXUS_OPENAI_COMPAT_ENDPOINT: z11.string().refine((v) => isEndpointArmId(`api:${v.trim()}`), {
|
|
1128
|
+
message: "must be an endpoint id: lowercase alphanumerics plus . _ -, 1-64 chars"
|
|
1129
|
+
}).optional(),
|
|
1120
1130
|
NEXUS_OPENAI_COMPAT_KEY: z11.string().optional(),
|
|
1121
1131
|
NEXUS_OPENAI_COMPAT_URL: z11.string().optional(),
|
|
1122
1132
|
NEXUS_OPENCODE_CONFIG: z11.string().optional(),
|
|
@@ -1169,7 +1179,10 @@ var NexusEnvSchema = z11.object({
|
|
|
1169
1179
|
}).optional()
|
|
1170
1180
|
});
|
|
1171
1181
|
var KNOWN_NAMES = Object.keys(NexusEnvSchema.shape);
|
|
1172
|
-
var REDACTED_VALUE_VARS = /* @__PURE__ */ new Set([
|
|
1182
|
+
var REDACTED_VALUE_VARS = /* @__PURE__ */ new Set([
|
|
1183
|
+
"NEXUS_GATEWAY_COST",
|
|
1184
|
+
"NEXUS_OPENAI_COMPAT_ENDPOINT"
|
|
1185
|
+
]);
|
|
1173
1186
|
var REDACTED_VALUE = "<redacted>";
|
|
1174
1187
|
var DYNAMIC_FAMILIES = [
|
|
1175
1188
|
{
|
|
@@ -30078,7 +30091,7 @@ function execIdFields(executionId) {
|
|
|
30078
30091
|
async function populateUnifiedContextOnState(state, options) {
|
|
30079
30092
|
const taskCandidate = state["task"];
|
|
30080
30093
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
30081
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
30094
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-6QUKMGAE.js");
|
|
30082
30095
|
const category = inferTaskCategory2(taskCandidate);
|
|
30083
30096
|
const executionId = options?.executionId;
|
|
30084
30097
|
const execFields = execIdFields(executionId);
|
|
@@ -45461,7 +45474,7 @@ async function tryIssueTriage(task) {
|
|
|
45461
45474
|
try {
|
|
45462
45475
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
45463
45476
|
if (issueMatch === null) return null;
|
|
45464
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
45477
|
+
const { createIssueTriage } = await import("./issue-triage-55YTFO6G.js");
|
|
45465
45478
|
const triage = createIssueTriage();
|
|
45466
45479
|
const owner = issueMatch[1] ?? "";
|
|
45467
45480
|
const num2 = issueMatch[2] ?? "";
|
|
@@ -45489,7 +45502,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
45489
45502
|
]);
|
|
45490
45503
|
async function classifyWithLLM(task) {
|
|
45491
45504
|
try {
|
|
45492
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
45505
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-VJNZ6HBX.js");
|
|
45493
45506
|
const prompt = [
|
|
45494
45507
|
"Classify this task into exactly one pipeline template.",
|
|
45495
45508
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -45863,7 +45876,7 @@ function buildVotingInput(plan, config) {
|
|
|
45863
45876
|
}
|
|
45864
45877
|
async function executeSingleVote(plan, config, log) {
|
|
45865
45878
|
try {
|
|
45866
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
45879
|
+
const { executeVoting } = await import("./consensus-vote-NU7M7ESH.js");
|
|
45867
45880
|
const input = buildVotingInput(plan, config);
|
|
45868
45881
|
const result = await executeVoting(input, log);
|
|
45869
45882
|
return parseVotingResult(result);
|
|
@@ -47428,7 +47441,7 @@ var memoryInitPromise = null;
|
|
|
47428
47441
|
async function initPipelineMemory() {
|
|
47429
47442
|
if (cachedMemory !== null) return cachedMemory;
|
|
47430
47443
|
try {
|
|
47431
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47444
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-VXMVCDJU.js");
|
|
47432
47445
|
const { getLearningDir } = await import("./learning-persistence-7BEPQEGN.js");
|
|
47433
47446
|
const mem = createSessionMemory2(getLearningDir());
|
|
47434
47447
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
@@ -47490,7 +47503,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
|
|
|
47490
47503
|
callRecord(routingMemoryCache);
|
|
47491
47504
|
return;
|
|
47492
47505
|
}
|
|
47493
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
47506
|
+
routingMemoryInitPromise ??= import("./routing-memory-RO2J5NBQ.js").then(({ createRoutingMemory }) => {
|
|
47494
47507
|
routingMemoryCache ??= createRoutingMemory();
|
|
47495
47508
|
return routingMemoryCache;
|
|
47496
47509
|
}).catch((error) => {
|
|
@@ -47524,7 +47537,7 @@ ${text}` : "";
|
|
|
47524
47537
|
}
|
|
47525
47538
|
async function getWeatherContext() {
|
|
47526
47539
|
try {
|
|
47527
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
47540
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-PJC3GJLD.js");
|
|
47528
47541
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
47529
47542
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
47530
47543
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -47542,7 +47555,7 @@ ${lines}
|
|
|
47542
47555
|
}
|
|
47543
47556
|
async function getMemoryContext(task) {
|
|
47544
47557
|
try {
|
|
47545
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47558
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-VXMVCDJU.js");
|
|
47546
47559
|
const { getLearningDir } = await import("./learning-persistence-7BEPQEGN.js");
|
|
47547
47560
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
47548
47561
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
@@ -47667,7 +47680,7 @@ ${contextBlock}`;
|
|
|
47667
47680
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47668
47681
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47669
47682
|
try {
|
|
47670
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47683
|
+
const { executeVoting } = await import("./consensus-vote-NU7M7ESH.js");
|
|
47671
47684
|
const votingResult = await executeVoting(
|
|
47672
47685
|
{
|
|
47673
47686
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -48098,7 +48111,7 @@ async function searchCodebaseForTask(task) {
|
|
|
48098
48111
|
}
|
|
48099
48112
|
async function queryResearchRegistry(task) {
|
|
48100
48113
|
try {
|
|
48101
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
48114
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-CB2IUVZ3.js");
|
|
48102
48115
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
48103
48116
|
if (topic === void 0) return null;
|
|
48104
48117
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -48169,7 +48182,7 @@ function createScanStageWrapper() {
|
|
|
48169
48182
|
try {
|
|
48170
48183
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
48171
48184
|
if (slug !== void 0) {
|
|
48172
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
48185
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-M4XWUPTW.js");
|
|
48173
48186
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
48174
48187
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
48175
48188
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -51869,7 +51882,7 @@ var GitHubTaskTracker = class {
|
|
|
51869
51882
|
cachedProvider = null;
|
|
51870
51883
|
async getProvider() {
|
|
51871
51884
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
51872
|
-
const { createScmProvider } = await import("./factory-
|
|
51885
|
+
const { createScmProvider } = await import("./factory-2LWHAH27.js");
|
|
51873
51886
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
51874
51887
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
51875
51888
|
this.cachedProvider = result.value;
|
|
@@ -52841,7 +52854,7 @@ async function probeSource(source, includeModelIds) {
|
|
|
52841
52854
|
}
|
|
52842
52855
|
}
|
|
52843
52856
|
async function defaultSources(includeOpenRouter) {
|
|
52844
|
-
const { createAllAdapters: createAllAdapters2 } = await import("./factory-
|
|
52857
|
+
const { createAllAdapters: createAllAdapters2 } = await import("./factory-PTY5BXS5.js");
|
|
52845
52858
|
const adapters = createAllAdapters2();
|
|
52846
52859
|
return buildDefaultModelSources(adapters, { includeOpenRouter });
|
|
52847
52860
|
}
|
|
@@ -56917,4 +56930,4 @@ export {
|
|
|
56917
56930
|
startPipelineEventBridge,
|
|
56918
56931
|
shutdownPipelineEventBridge
|
|
56919
56932
|
};
|
|
56920
|
-
//# sourceMappingURL=chunk-
|
|
56933
|
+
//# sourceMappingURL=chunk-A3TT5LFA.js.map
|