nexus-agents 8.124.1 → 8.126.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-CZ5O4YR7.js → ast-rule-runner-VUJFOXHE.js} +3 -3
- package/dist/{child-mcp-config-DQGG7CTI.js → child-mcp-config-NTVM6EVN.js} +2 -2
- package/dist/{chunk-6WRH3LBP.js → chunk-2KTASA6Z.js} +2 -2
- package/dist/{chunk-7NCN5OXN.js → chunk-2OABYRGR.js} +73 -46
- package/dist/{chunk-7NCN5OXN.js.map → chunk-2OABYRGR.js.map} +1 -1
- package/dist/{chunk-35KEWIMV.js → chunk-3JFFGPBR.js} +2 -2
- package/dist/{chunk-RMMA4HDL.js → chunk-4IYCQY36.js} +2 -2
- package/dist/{chunk-GNK2W5K7.js → chunk-4X65EG36.js} +4 -4
- package/dist/{chunk-23FQPFI4.js → chunk-6YUCV63S.js} +2 -2
- package/dist/{chunk-T7ZKHG5T.js → chunk-7QUR4OFW.js} +4 -4
- package/dist/{chunk-BGQA53QQ.js → chunk-AQD6CPVS.js} +2 -2
- package/dist/{chunk-WI4N7QDC.js → chunk-C3SXIGUY.js} +3 -3
- package/dist/{chunk-CDWHC2OZ.js → chunk-CDU7DOME.js} +2 -2
- package/dist/{chunk-NAXLQIOQ.js → chunk-D4M6XZO2.js} +2 -2
- package/dist/{chunk-XYAVROLE.js → chunk-D7WK5P2F.js} +4 -4
- package/dist/{chunk-EL6WVSX2.js → chunk-ESHGTQCB.js} +6 -6
- package/dist/{chunk-DK5FPG6K.js → chunk-F6QNKULK.js} +2 -2
- package/dist/{chunk-KEBW55DQ.js → chunk-G646AVCB.js} +2 -2
- package/dist/{chunk-V4YI2AO4.js → chunk-GVXPZJK5.js} +12 -11
- package/dist/{chunk-L5CDQ7QK.js → chunk-K7DKQBK4.js} +3 -3
- package/dist/{chunk-IYKF6Q6B.js → chunk-KTVTDD5X.js} +2 -2
- package/dist/{chunk-TGWRNNHQ.js → chunk-M4JGCXFH.js} +2 -2
- package/dist/{chunk-VO7LQJGK.js → chunk-M7IB6YBF.js} +3 -3
- package/dist/{chunk-G3RQ3ECZ.js → chunk-N4DONLJ2.js} +22 -19
- package/dist/{chunk-G3RQ3ECZ.js.map → chunk-N4DONLJ2.js.map} +1 -1
- package/dist/{chunk-7FISXMZD.js → chunk-OALKD5N4.js} +3 -3
- package/dist/{chunk-B3ALYUFL.js → chunk-PK6INCQP.js} +7 -7
- package/dist/{chunk-3CBBUAZZ.js → chunk-PPZUMUHD.js} +5 -5
- package/dist/{chunk-YVS2FXT6.js → chunk-PWS62TKI.js} +3 -3
- package/dist/{chunk-T2AOQTW4.js → chunk-QJXJVQ2E.js} +5 -5
- package/dist/{chunk-GEB4MC7P.js → chunk-RL6BC5VU.js} +3 -3
- package/dist/{chunk-RMLNW376.js → chunk-RMUVSSD6.js} +9 -9
- package/dist/{chunk-ZETA2VK3.js → chunk-SEHJAUHJ.js} +12 -12
- package/dist/{chunk-AFYFKT6T.js → chunk-USO6ZW6A.js} +5 -5
- package/dist/{chunk-VTBFGRRP.js → chunk-VVH3DOLQ.js} +2 -2
- package/dist/{chunk-LK7GODI6.js → chunk-VX5GTWL2.js} +2 -2
- package/dist/{chunk-I7WLZ3KF.js → chunk-WE3YOSFY.js} +2 -2
- package/dist/{chunk-BKQ3ALKH.js → chunk-WTIVBXG3.js} +2 -2
- package/dist/{chunk-5AALTS3S.js → chunk-YQTHTPAA.js} +2 -2
- package/dist/{cli-circuit-breaker-RG4UF6FN.js → cli-circuit-breaker-4UGXQATX.js} +3 -3
- package/dist/cli.js +44 -44
- package/dist/{composite-router-4TSZUALA.js → composite-router-XUPTIYWF.js} +2 -2
- package/dist/{consensus-vote-2SH6QSN7.js → consensus-vote-TSIBYZRU.js} +17 -17
- package/dist/{context-retriever-3W2OL4RO.js → context-retriever-X3D32E62.js} +8 -8
- package/dist/{doctor-deep-ZAAY3WB6.js → doctor-deep-TEFFSCTS.js} +3 -3
- package/dist/doctor-gateway-report-HUDDIFUR.js +19 -0
- package/dist/{doctor-live-OAXLRPDE.js → doctor-live-J3VQV4EE.js} +11 -11
- package/dist/{expert-bridge-EE4IIZIN.js → expert-bridge-ZU7XXENI.js} +4 -4
- package/dist/{factory-XS7U6MG5.js → factory-4VXGGXTQ.js} +10 -10
- package/dist/{factory-IBHDXXNR.js → factory-5H6CAUR3.js} +5 -5
- package/dist/{improvement-review-5RHRONVJ.js → improvement-review-4W4NNTNB.js} +6 -6
- package/dist/index.d.ts +6 -0
- package/dist/index.js +32 -32
- package/dist/{init-opencode-HQEPB7PI.js → init-opencode-KLRTQBKX.js} +6 -6
- package/dist/{issue-triage-H2GGXC65.js → issue-triage-643USZGH.js} +6 -6
- package/dist/{openai-compat-adapter-2HYHVJEM.js → openai-compat-adapter-YE6TUAM3.js} +6 -6
- package/dist/{pr-reviewer-helpers-QTH6O3FZ.js → pr-reviewer-helpers-EPBHQZW7.js} +4 -4
- package/dist/{registry-command-OARQZTUJ.js → registry-command-TIW3XQEM.js} +2 -2
- package/dist/{repo-security-plan-RPYE5VPC.js → repo-security-plan-LZPMD5QD.js} +3 -3
- package/dist/{research-helpers-synthesize-SLA3EJSS.js → research-helpers-synthesize-KSCENZUA.js} +4 -4
- package/dist/{routing-memory-4M3QWUJJ.js → routing-memory-GEEFZLFH.js} +2 -2
- package/dist/{session-memory-VW4QQB6K.js → session-memory-7KL7RV7J.js} +3 -3
- package/dist/{setup-config-TNAEREJ2.js → setup-config-EJBSAHSF.js} +3 -3
- package/dist/{setup-custom-api-K47DQWSS.js → setup-custom-api-K6VDDIGX.js} +4 -4
- package/dist/setup-data-dir-DIZN6VEU.js +33 -0
- package/dist/{tool-memory-B57RSRDM.js → tool-memory-PLDPNNU4.js} +5 -5
- package/dist/{unified-registry-3UZKUZEW.js → unified-registry-PIJ4SO4M.js} +11 -11
- package/dist/{weather-report-NQ7DXWEY.js → weather-report-DVCIIZKH.js} +2 -2
- package/package.json +1 -1
- package/dist/doctor-gateway-report-A7MZPJWD.js +0 -19
- package/dist/setup-data-dir-ZAXXYDFX.js +0 -33
- /package/dist/{ast-rule-runner-CZ5O4YR7.js.map → ast-rule-runner-VUJFOXHE.js.map} +0 -0
- /package/dist/{child-mcp-config-DQGG7CTI.js.map → child-mcp-config-NTVM6EVN.js.map} +0 -0
- /package/dist/{chunk-6WRH3LBP.js.map → chunk-2KTASA6Z.js.map} +0 -0
- /package/dist/{chunk-35KEWIMV.js.map → chunk-3JFFGPBR.js.map} +0 -0
- /package/dist/{chunk-RMMA4HDL.js.map → chunk-4IYCQY36.js.map} +0 -0
- /package/dist/{chunk-GNK2W5K7.js.map → chunk-4X65EG36.js.map} +0 -0
- /package/dist/{chunk-23FQPFI4.js.map → chunk-6YUCV63S.js.map} +0 -0
- /package/dist/{chunk-T7ZKHG5T.js.map → chunk-7QUR4OFW.js.map} +0 -0
- /package/dist/{chunk-BGQA53QQ.js.map → chunk-AQD6CPVS.js.map} +0 -0
- /package/dist/{chunk-WI4N7QDC.js.map → chunk-C3SXIGUY.js.map} +0 -0
- /package/dist/{chunk-CDWHC2OZ.js.map → chunk-CDU7DOME.js.map} +0 -0
- /package/dist/{chunk-NAXLQIOQ.js.map → chunk-D4M6XZO2.js.map} +0 -0
- /package/dist/{chunk-XYAVROLE.js.map → chunk-D7WK5P2F.js.map} +0 -0
- /package/dist/{chunk-EL6WVSX2.js.map → chunk-ESHGTQCB.js.map} +0 -0
- /package/dist/{chunk-DK5FPG6K.js.map → chunk-F6QNKULK.js.map} +0 -0
- /package/dist/{chunk-KEBW55DQ.js.map → chunk-G646AVCB.js.map} +0 -0
- /package/dist/{chunk-V4YI2AO4.js.map → chunk-GVXPZJK5.js.map} +0 -0
- /package/dist/{chunk-L5CDQ7QK.js.map → chunk-K7DKQBK4.js.map} +0 -0
- /package/dist/{chunk-IYKF6Q6B.js.map → chunk-KTVTDD5X.js.map} +0 -0
- /package/dist/{chunk-TGWRNNHQ.js.map → chunk-M4JGCXFH.js.map} +0 -0
- /package/dist/{chunk-VO7LQJGK.js.map → chunk-M7IB6YBF.js.map} +0 -0
- /package/dist/{chunk-7FISXMZD.js.map → chunk-OALKD5N4.js.map} +0 -0
- /package/dist/{chunk-B3ALYUFL.js.map → chunk-PK6INCQP.js.map} +0 -0
- /package/dist/{chunk-3CBBUAZZ.js.map → chunk-PPZUMUHD.js.map} +0 -0
- /package/dist/{chunk-YVS2FXT6.js.map → chunk-PWS62TKI.js.map} +0 -0
- /package/dist/{chunk-T2AOQTW4.js.map → chunk-QJXJVQ2E.js.map} +0 -0
- /package/dist/{chunk-GEB4MC7P.js.map → chunk-RL6BC5VU.js.map} +0 -0
- /package/dist/{chunk-RMLNW376.js.map → chunk-RMUVSSD6.js.map} +0 -0
- /package/dist/{chunk-ZETA2VK3.js.map → chunk-SEHJAUHJ.js.map} +0 -0
- /package/dist/{chunk-AFYFKT6T.js.map → chunk-USO6ZW6A.js.map} +0 -0
- /package/dist/{chunk-VTBFGRRP.js.map → chunk-VVH3DOLQ.js.map} +0 -0
- /package/dist/{chunk-LK7GODI6.js.map → chunk-VX5GTWL2.js.map} +0 -0
- /package/dist/{chunk-I7WLZ3KF.js.map → chunk-WE3YOSFY.js.map} +0 -0
- /package/dist/{chunk-BKQ3ALKH.js.map → chunk-WTIVBXG3.js.map} +0 -0
- /package/dist/{chunk-5AALTS3S.js.map → chunk-YQTHTPAA.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-RG4UF6FN.js.map → cli-circuit-breaker-4UGXQATX.js.map} +0 -0
- /package/dist/{composite-router-4TSZUALA.js.map → composite-router-XUPTIYWF.js.map} +0 -0
- /package/dist/{consensus-vote-2SH6QSN7.js.map → consensus-vote-TSIBYZRU.js.map} +0 -0
- /package/dist/{context-retriever-3W2OL4RO.js.map → context-retriever-X3D32E62.js.map} +0 -0
- /package/dist/{doctor-deep-ZAAY3WB6.js.map → doctor-deep-TEFFSCTS.js.map} +0 -0
- /package/dist/{doctor-gateway-report-A7MZPJWD.js.map → doctor-gateway-report-HUDDIFUR.js.map} +0 -0
- /package/dist/{doctor-live-OAXLRPDE.js.map → doctor-live-J3VQV4EE.js.map} +0 -0
- /package/dist/{expert-bridge-EE4IIZIN.js.map → expert-bridge-ZU7XXENI.js.map} +0 -0
- /package/dist/{factory-IBHDXXNR.js.map → factory-4VXGGXTQ.js.map} +0 -0
- /package/dist/{factory-XS7U6MG5.js.map → factory-5H6CAUR3.js.map} +0 -0
- /package/dist/{improvement-review-5RHRONVJ.js.map → improvement-review-4W4NNTNB.js.map} +0 -0
- /package/dist/{init-opencode-HQEPB7PI.js.map → init-opencode-KLRTQBKX.js.map} +0 -0
- /package/dist/{issue-triage-H2GGXC65.js.map → issue-triage-643USZGH.js.map} +0 -0
- /package/dist/{openai-compat-adapter-2HYHVJEM.js.map → openai-compat-adapter-YE6TUAM3.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-QTH6O3FZ.js.map → pr-reviewer-helpers-EPBHQZW7.js.map} +0 -0
- /package/dist/{registry-command-OARQZTUJ.js.map → registry-command-TIW3XQEM.js.map} +0 -0
- /package/dist/{repo-security-plan-RPYE5VPC.js.map → repo-security-plan-LZPMD5QD.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-SLA3EJSS.js.map → research-helpers-synthesize-KSCENZUA.js.map} +0 -0
- /package/dist/{routing-memory-4M3QWUJJ.js.map → routing-memory-GEEFZLFH.js.map} +0 -0
- /package/dist/{session-memory-VW4QQB6K.js.map → session-memory-7KL7RV7J.js.map} +0 -0
- /package/dist/{setup-config-TNAEREJ2.js.map → setup-config-EJBSAHSF.js.map} +0 -0
- /package/dist/{setup-custom-api-K47DQWSS.js.map → setup-custom-api-K6VDDIGX.js.map} +0 -0
- /package/dist/{setup-data-dir-ZAXXYDFX.js.map → setup-data-dir-DIZN6VEU.js.map} +0 -0
- /package/dist/{tool-memory-B57RSRDM.js.map → tool-memory-PLDPNNU4.js.map} +0 -0
- /package/dist/{unified-registry-3UZKUZEW.js.map → unified-registry-PIJ4SO4M.js.map} +0 -0
- /package/dist/{weather-report-NQ7DXWEY.js.map → weather-report-DVCIIZKH.js.map} +0 -0
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
getBuiltInAstRulesPath,
|
|
10
10
|
loadRules,
|
|
11
11
|
runAstQaRules
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-F6QNKULK.js";
|
|
13
|
+
import "./chunk-K7DKQBK4.js";
|
|
14
14
|
import "./chunk-UE7A2XHM.js";
|
|
15
15
|
import "./chunk-LWOX65CP.js";
|
|
16
16
|
import "./chunk-PX6F3LHL.js";
|
|
@@ -26,4 +26,4 @@ export {
|
|
|
26
26
|
loadRules,
|
|
27
27
|
runAstQaRules
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=ast-rule-runner-
|
|
29
|
+
//# sourceMappingURL=ast-rule-runner-VUJFOXHE.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-OITVVSWO.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-K7DKQBK4.js";
|
|
7
7
|
import "./chunk-UE7A2XHM.js";
|
|
8
8
|
import "./chunk-LWOX65CP.js";
|
|
9
9
|
import "./chunk-PX6F3LHL.js";
|
|
@@ -49,4 +49,4 @@ async function generateMcpConfig(options) {
|
|
|
49
49
|
export {
|
|
50
50
|
generateMcpConfig
|
|
51
51
|
};
|
|
52
|
-
//# sourceMappingURL=child-mcp-config-
|
|
52
|
+
//# sourceMappingURL=child-mcp-config-NTVM6EVN.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
createLogger,
|
|
3
3
|
err,
|
|
4
4
|
ok
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-K7DKQBK4.js";
|
|
6
6
|
|
|
7
7
|
// src/scm/token-resolver.ts
|
|
8
8
|
import { execFile } from "node:child_process";
|
|
@@ -87,4 +87,4 @@ export {
|
|
|
87
87
|
hasToken,
|
|
88
88
|
getTokenEnvVars
|
|
89
89
|
};
|
|
90
|
-
//# sourceMappingURL=chunk-
|
|
90
|
+
//# sourceMappingURL=chunk-2KTASA6Z.js.map
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
createGraphAuditBridge,
|
|
7
7
|
emitPipelinePolicyEvent,
|
|
8
8
|
readActionRefusal
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QJXJVQ2E.js";
|
|
10
10
|
import {
|
|
11
11
|
withPrerequisite
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-M7IB6YBF.js";
|
|
13
13
|
import {
|
|
14
14
|
generateSecurityPlan
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YQTHTPAA.js";
|
|
16
16
|
import {
|
|
17
17
|
analyzeGitHubRepo
|
|
18
18
|
} from "./chunk-4GDMHCKX.js";
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
} from "./chunk-WDAND5YU.js";
|
|
33
33
|
import {
|
|
34
34
|
sanitizeInput
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-VVH3DOLQ.js";
|
|
36
36
|
import {
|
|
37
37
|
BUILT_IN_EXPERTS,
|
|
38
38
|
BuiltInExpertTypeSchema,
|
|
@@ -42,13 +42,14 @@ import {
|
|
|
42
42
|
import {
|
|
43
43
|
DEFAULT_TASK_TTL_MS,
|
|
44
44
|
clampTaskTtl
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-SEHJAUHJ.js";
|
|
46
46
|
import {
|
|
47
47
|
executeExpert
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-PK6INCQP.js";
|
|
49
49
|
import {
|
|
50
50
|
DEPRECATED_MODE_ALIAS_INPUT,
|
|
51
51
|
JobStatusSchema,
|
|
52
|
+
RawFindingSchema,
|
|
52
53
|
VOTER_ROLES,
|
|
53
54
|
VoterProjectInputSchema,
|
|
54
55
|
abortJob,
|
|
@@ -96,7 +97,7 @@ import {
|
|
|
96
97
|
withFileLock,
|
|
97
98
|
withWarnings,
|
|
98
99
|
writeJobCancelled
|
|
99
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-GVXPZJK5.js";
|
|
100
101
|
import {
|
|
101
102
|
NOOP_NOTIFIER,
|
|
102
103
|
RateLimiter,
|
|
@@ -122,12 +123,12 @@ import {
|
|
|
122
123
|
toolSuccessStructured,
|
|
123
124
|
withProgressHeartbeat,
|
|
124
125
|
wrapToolWithTimeout
|
|
125
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-4X65EG36.js";
|
|
126
127
|
import {
|
|
127
128
|
VERSION,
|
|
128
129
|
createRequestContext,
|
|
129
130
|
measuredTrustTier
|
|
130
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-RL6BC5VU.js";
|
|
131
132
|
import {
|
|
132
133
|
allOf,
|
|
133
134
|
anyOf
|
|
@@ -135,16 +136,16 @@ import {
|
|
|
135
136
|
import {
|
|
136
137
|
normalizeTopicToCanonical,
|
|
137
138
|
synthesizeResearch
|
|
138
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-PWS62TKI.js";
|
|
139
140
|
import {
|
|
140
141
|
isGatewayModelAdapter
|
|
141
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-USO6ZW6A.js";
|
|
142
143
|
import {
|
|
143
144
|
EventTopics,
|
|
144
145
|
createEvent,
|
|
145
146
|
getGlobalEventBus,
|
|
146
147
|
getGlobalRegistry
|
|
147
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-PPZUMUHD.js";
|
|
148
149
|
import {
|
|
149
150
|
IDENTIFIER_RE,
|
|
150
151
|
LANG_VALUES,
|
|
@@ -177,18 +178,18 @@ import {
|
|
|
177
178
|
parseRegistry,
|
|
178
179
|
sourceExistsInRegistry,
|
|
179
180
|
summarizeContextForPrompt
|
|
180
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-N4DONLJ2.js";
|
|
181
182
|
import {
|
|
182
183
|
getTokenEnvVars,
|
|
183
184
|
resolveToken
|
|
184
|
-
} from "./chunk-
|
|
185
|
+
} from "./chunk-2KTASA6Z.js";
|
|
185
186
|
import {
|
|
186
187
|
REGISTRY_PATH,
|
|
187
188
|
getProjectRoot,
|
|
188
189
|
loadPapersRegistry,
|
|
189
190
|
loadTechniquesRegistry,
|
|
190
191
|
resolveRegistryRoot
|
|
191
|
-
} from "./chunk-
|
|
192
|
+
} from "./chunk-M4JGCXFH.js";
|
|
192
193
|
import {
|
|
193
194
|
DEFAULT_RELEVANCE_CONFIG,
|
|
194
195
|
MemoryImportance,
|
|
@@ -196,7 +197,7 @@ import {
|
|
|
196
197
|
calculateTextJaccardSimilarity,
|
|
197
198
|
getToolMemory,
|
|
198
199
|
memoryTrustTierTag
|
|
199
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-7QUR4OFW.js";
|
|
200
201
|
import {
|
|
201
202
|
EXTERNAL_CONTENT_TRUST_TIER,
|
|
202
203
|
resolveContentTrustProvenance,
|
|
@@ -209,7 +210,7 @@ import {
|
|
|
209
210
|
} from "./chunk-SX5DB6UR.js";
|
|
210
211
|
import {
|
|
211
212
|
createSessionMemory
|
|
212
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-VX5GTWL2.js";
|
|
213
214
|
import {
|
|
214
215
|
TrustTierSchema
|
|
215
216
|
} from "./chunk-CJKHQ6MV.js";
|
|
@@ -229,10 +230,10 @@ import {
|
|
|
229
230
|
terminateProcessTree,
|
|
230
231
|
trackProcessTree,
|
|
231
232
|
withTimeout
|
|
232
|
-
} from "./chunk-
|
|
233
|
+
} from "./chunk-RMUVSSD6.js";
|
|
233
234
|
import {
|
|
234
235
|
DEFAULTS
|
|
235
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-6YUCV63S.js";
|
|
236
237
|
import {
|
|
237
238
|
DEFAULT_EXECUTION_MODE,
|
|
238
239
|
DEFAULT_TOOL_RATE_LIMITS,
|
|
@@ -243,27 +244,27 @@ import {
|
|
|
243
244
|
getAvailabilityCache,
|
|
244
245
|
getCliForModelId,
|
|
245
246
|
resolveFallback
|
|
246
|
-
} from "./chunk-
|
|
247
|
+
} from "./chunk-OALKD5N4.js";
|
|
247
248
|
import {
|
|
248
249
|
BaseAdapter,
|
|
249
250
|
createStream,
|
|
250
251
|
parseGatewayExtraHeaders,
|
|
251
252
|
requireApiKey,
|
|
252
253
|
validateApiKeyPresence
|
|
253
|
-
} from "./chunk-
|
|
254
|
+
} from "./chunk-WTIVBXG3.js";
|
|
254
255
|
import {
|
|
255
256
|
resolveGatewayEnv
|
|
256
|
-
} from "./chunk-
|
|
257
|
+
} from "./chunk-AQD6CPVS.js";
|
|
257
258
|
import {
|
|
258
259
|
sanitizeErrorDetails
|
|
259
|
-
} from "./chunk-
|
|
260
|
+
} from "./chunk-KTVTDD5X.js";
|
|
260
261
|
import {
|
|
261
262
|
generateHyphenId,
|
|
262
263
|
generateUUID
|
|
263
|
-
} from "./chunk-
|
|
264
|
+
} from "./chunk-D4M6XZO2.js";
|
|
264
265
|
import {
|
|
265
266
|
getDefaultCliCircuitBreakerRegistry
|
|
266
|
-
} from "./chunk-
|
|
267
|
+
} from "./chunk-G646AVCB.js";
|
|
267
268
|
import {
|
|
268
269
|
AGENT_ROUTER_TIMEOUTS,
|
|
269
270
|
API_TIMEOUTS,
|
|
@@ -397,7 +398,7 @@ import {
|
|
|
397
398
|
throwIfAborted,
|
|
398
399
|
toExpertTaskAnalysisResult,
|
|
399
400
|
withStep
|
|
400
|
-
} from "./chunk-
|
|
401
|
+
} from "./chunk-K7DKQBK4.js";
|
|
401
402
|
import {
|
|
402
403
|
ensureLearningDir,
|
|
403
404
|
getMetaOutcomesFile,
|
|
@@ -30402,7 +30403,7 @@ function execIdFields(executionId) {
|
|
|
30402
30403
|
async function populateUnifiedContextOnState(state, options) {
|
|
30403
30404
|
const taskCandidate = state["task"];
|
|
30404
30405
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
30405
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
30406
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-X3D32E62.js");
|
|
30406
30407
|
const category = inferTaskCategory2(taskCandidate);
|
|
30407
30408
|
const executionId = options?.executionId;
|
|
30408
30409
|
const execFields = execIdFields(executionId);
|
|
@@ -31388,7 +31389,7 @@ function compilePlan(plan, options) {
|
|
|
31388
31389
|
}
|
|
31389
31390
|
const builder = new GraphBuilder();
|
|
31390
31391
|
addPipelineState(builder);
|
|
31391
|
-
addStageNodes(builder, plan
|
|
31392
|
+
addStageNodes(builder, plan, options?.pluginRegistry);
|
|
31392
31393
|
addGateNodes(builder, plan.policyGates, plan, options?.policyEnforcement);
|
|
31393
31394
|
addEdges(builder, plan.stages, plan.policyGates);
|
|
31394
31395
|
const result = builder.compile();
|
|
@@ -31411,12 +31412,16 @@ function buildStageResult(stageId, result) {
|
|
|
31411
31412
|
...result.metadata["stub"] === true ? { stub: true } : {}
|
|
31412
31413
|
};
|
|
31413
31414
|
}
|
|
31414
|
-
function createStageHandler(stage, registry) {
|
|
31415
|
+
function createStageHandler(stage, plan, registry) {
|
|
31415
31416
|
const plugin = registry?.resolve(stage.pluginId);
|
|
31416
31417
|
if (plugin !== void 0) {
|
|
31417
31418
|
return async (_state) => {
|
|
31418
31419
|
const ctx = {
|
|
31420
|
+
stageId: stage.id,
|
|
31421
|
+
pluginId: stage.pluginId,
|
|
31422
|
+
pipelineId: plan.taskId,
|
|
31419
31423
|
signal: AbortSignal.timeout(NETWORK_FETCH_TIMEOUT_MS),
|
|
31424
|
+
// Placeholder until #6910 threads the real TaskContract through execution.
|
|
31420
31425
|
task: {},
|
|
31421
31426
|
config: stage.config
|
|
31422
31427
|
};
|
|
@@ -31464,9 +31469,9 @@ function buildGateResult(gateId, verdict) {
|
|
|
31464
31469
|
...violated ? { violations: verdict.violations.map((v) => `${v.ruleId}: ${v.reason}`) } : {}
|
|
31465
31470
|
};
|
|
31466
31471
|
}
|
|
31467
|
-
function addStageNodes(builder,
|
|
31468
|
-
for (const stage of stages) {
|
|
31469
|
-
builder.addNode(stage.id, createStageHandler(stage, registry));
|
|
31472
|
+
function addStageNodes(builder, plan, registry) {
|
|
31473
|
+
for (const stage of plan.stages) {
|
|
31474
|
+
builder.addNode(stage.id, createStageHandler(stage, plan, registry));
|
|
31470
31475
|
}
|
|
31471
31476
|
}
|
|
31472
31477
|
function addGateNodes(builder, gates, plan, enforcement) {
|
|
@@ -46650,7 +46655,7 @@ async function tryIssueTriage(task) {
|
|
|
46650
46655
|
try {
|
|
46651
46656
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
46652
46657
|
if (issueMatch === null) return null;
|
|
46653
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
46658
|
+
const { createIssueTriage } = await import("./issue-triage-643USZGH.js");
|
|
46654
46659
|
const triage = createIssueTriage();
|
|
46655
46660
|
const owner = issueMatch[1] ?? "";
|
|
46656
46661
|
const num2 = issueMatch[2] ?? "";
|
|
@@ -46678,7 +46683,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
46678
46683
|
]);
|
|
46679
46684
|
async function classifyWithLLM(task) {
|
|
46680
46685
|
try {
|
|
46681
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
46686
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-ZU7XXENI.js");
|
|
46682
46687
|
const prompt = [
|
|
46683
46688
|
"Classify this task into exactly one pipeline template.",
|
|
46684
46689
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -47052,7 +47057,7 @@ function buildVotingInput(plan, config) {
|
|
|
47052
47057
|
}
|
|
47053
47058
|
async function executeSingleVote(plan, config, log) {
|
|
47054
47059
|
try {
|
|
47055
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47060
|
+
const { executeVoting } = await import("./consensus-vote-TSIBYZRU.js");
|
|
47056
47061
|
const input = buildVotingInput(plan, config);
|
|
47057
47062
|
const result = await executeVoting(input, log);
|
|
47058
47063
|
return parseVotingResult(result);
|
|
@@ -47920,7 +47925,7 @@ var memoryInitPromise = null;
|
|
|
47920
47925
|
async function initPipelineMemory() {
|
|
47921
47926
|
if (cachedMemory !== null) return cachedMemory;
|
|
47922
47927
|
try {
|
|
47923
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47928
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-7KL7RV7J.js");
|
|
47924
47929
|
const { getLearningDir } = await import("./learning-persistence-FB4U5AX2.js");
|
|
47925
47930
|
const mem = createSessionMemory2(getLearningDir());
|
|
47926
47931
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
@@ -47982,7 +47987,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
|
|
|
47982
47987
|
callRecord(routingMemoryCache);
|
|
47983
47988
|
return;
|
|
47984
47989
|
}
|
|
47985
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
47990
|
+
routingMemoryInitPromise ??= import("./routing-memory-GEEFZLFH.js").then(({ createRoutingMemory }) => {
|
|
47986
47991
|
routingMemoryCache ??= createRoutingMemory();
|
|
47987
47992
|
return routingMemoryCache;
|
|
47988
47993
|
}).catch((error) => {
|
|
@@ -48199,7 +48204,7 @@ function createVoteStage({ config, startStage }) {
|
|
|
48199
48204
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
48200
48205
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
48201
48206
|
try {
|
|
48202
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
48207
|
+
const { executeVoting } = await import("./consensus-vote-TSIBYZRU.js");
|
|
48203
48208
|
const proposal = buildVoteProposal(plan, research);
|
|
48204
48209
|
const votingResult = await executeVoting(
|
|
48205
48210
|
{
|
|
@@ -49058,7 +49063,7 @@ ${text}` : "";
|
|
|
49058
49063
|
}
|
|
49059
49064
|
async function getWeatherContext() {
|
|
49060
49065
|
try {
|
|
49061
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
49066
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-DVCIIZKH.js");
|
|
49062
49067
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
49063
49068
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
49064
49069
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -49076,7 +49081,7 @@ ${lines}
|
|
|
49076
49081
|
}
|
|
49077
49082
|
async function getMemoryContext(task) {
|
|
49078
49083
|
try {
|
|
49079
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
49084
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-7KL7RV7J.js");
|
|
49080
49085
|
const { getLearningDir } = await import("./learning-persistence-FB4U5AX2.js");
|
|
49081
49086
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
49082
49087
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
@@ -49732,7 +49737,7 @@ async function searchCodebaseForTask(task) {
|
|
|
49732
49737
|
}
|
|
49733
49738
|
async function queryResearchRegistry(task) {
|
|
49734
49739
|
try {
|
|
49735
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
49740
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-KSCENZUA.js");
|
|
49736
49741
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
49737
49742
|
if (topic === void 0) return null;
|
|
49738
49743
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -49803,7 +49808,7 @@ function createScanStageWrapper() {
|
|
|
49803
49808
|
try {
|
|
49804
49809
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
49805
49810
|
if (slug !== void 0) {
|
|
49806
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
49811
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-LZPMD5QD.js");
|
|
49807
49812
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
49808
49813
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
49809
49814
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -53450,7 +53455,7 @@ var GitHubTaskTracker = class {
|
|
|
53450
53455
|
cachedProvider = null;
|
|
53451
53456
|
async getProvider() {
|
|
53452
53457
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
53453
|
-
const { createScmProvider } = await import("./factory-
|
|
53458
|
+
const { createScmProvider } = await import("./factory-5H6CAUR3.js");
|
|
53454
53459
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
53455
53460
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
53456
53461
|
this.cachedProvider = result.value;
|
|
@@ -54493,7 +54498,7 @@ function withCatalogueCaveat(report) {
|
|
|
54493
54498
|
var GATEWAY_TRANSPORT = "gateway";
|
|
54494
54499
|
var GATEWAY_API_ARM = "api:custom-openai";
|
|
54495
54500
|
async function gatewaySource(apiArm) {
|
|
54496
|
-
const { discoverModels, readOpenAICompatEnv } = await import("./openai-compat-adapter-
|
|
54501
|
+
const { discoverModels, readOpenAICompatEnv } = await import("./openai-compat-adapter-YE6TUAM3.js");
|
|
54497
54502
|
const config = readOpenAICompatEnv();
|
|
54498
54503
|
if (config !== null) {
|
|
54499
54504
|
return {
|
|
@@ -54512,7 +54517,7 @@ async function gatewaySource(apiArm) {
|
|
|
54512
54517
|
}
|
|
54513
54518
|
async function defaultSources(includeOpenRouter, adaptersFactory) {
|
|
54514
54519
|
const adapters = new Map(
|
|
54515
|
-
adaptersFactory !== void 0 ? adaptersFactory() : (await import("./factory-
|
|
54520
|
+
adaptersFactory !== void 0 ? adaptersFactory() : (await import("./factory-4VXGGXTQ.js")).createAllAdapters()
|
|
54516
54521
|
);
|
|
54517
54522
|
const apiArm = adapters.get(GATEWAY_API_ARM);
|
|
54518
54523
|
adapters.delete(GATEWAY_API_ARM);
|
|
@@ -54577,6 +54582,24 @@ function registerListAvailableModelsTool(server, deps) {
|
|
|
54577
54582
|
|
|
54578
54583
|
// src/mcp/tools/pr-review-eval-types.ts
|
|
54579
54584
|
import { z as z118 } from "zod";
|
|
54585
|
+
var MAX_EVAL_FINDINGS = 100;
|
|
54586
|
+
var VoterEvalFindingSchema = z118.object({
|
|
54587
|
+
summary: RawFindingSchema.shape.summary,
|
|
54588
|
+
location: RawFindingSchema.shape.location,
|
|
54589
|
+
severity: RawFindingSchema.shape.severity.unwrap(),
|
|
54590
|
+
rationale: RawFindingSchema.shape.claim.optional(),
|
|
54591
|
+
gate: RawFindingSchema.shape.gate.extend({
|
|
54592
|
+
named_assertion: RawFindingSchema.shape.claim.min(0)
|
|
54593
|
+
}).optional(),
|
|
54594
|
+
verified: z118.boolean().optional(),
|
|
54595
|
+
classification: z118.enum(["TP", "FP", "FN", "excluded"]),
|
|
54596
|
+
source: z118.enum(["voter", "ground_truth"]),
|
|
54597
|
+
/** Original index in the voter's raw findings; repeated TP evidence shares it. */
|
|
54598
|
+
findingIndex: z118.number().int().nonnegative().optional(),
|
|
54599
|
+
knownBugIndex: z118.number().int().nonnegative().optional(),
|
|
54600
|
+
/** String fields shortened by the producer, never silently truncated. */
|
|
54601
|
+
truncatedFields: z118.array(z118.enum(["summary", "location", "rationale", "gate.named_assertion"])).max(4).optional()
|
|
54602
|
+
});
|
|
54580
54603
|
var PR_REVIEW_EVAL_ROLES = [
|
|
54581
54604
|
"architect",
|
|
54582
54605
|
"security",
|
|
@@ -54603,6 +54626,10 @@ var VoterEvalVerdictSchema = z118.object({
|
|
|
54603
54626
|
falsePositives: z118.number().int().nonnegative(),
|
|
54604
54627
|
/** Known bugs this voter failed to flag. */
|
|
54605
54628
|
falseNegatives: z118.number().int().nonnegative(),
|
|
54629
|
+
/** Optional for legacy records/count-only callers; [] means measured, no evidence. */
|
|
54630
|
+
findings: z118.array(VoterEvalFindingSchema).max(MAX_EVAL_FINDINGS).optional(),
|
|
54631
|
+
/** Number of evidence entries omitted at the cap; full tallies are unchanged. */
|
|
54632
|
+
findingsTruncated: z118.number().int().nonnegative().optional(),
|
|
54606
54633
|
/** Rubric version the ground truth was adjudicated under. */
|
|
54607
54634
|
rubricVersion: z118.string().min(1).max(32),
|
|
54608
54635
|
/** ISO-8601 timestamp the verdict was recorded. */
|
|
@@ -57797,4 +57824,4 @@ export {
|
|
|
57797
57824
|
startPipelineEventBridge,
|
|
57798
57825
|
shutdownPipelineEventBridge
|
|
57799
57826
|
};
|
|
57800
|
-
//# sourceMappingURL=chunk-
|
|
57827
|
+
//# sourceMappingURL=chunk-2OABYRGR.js.map
|