nexus-agents 8.35.0 → 8.37.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-G2JGX2Y6.js → ast-rule-runner-ZEFUW267.js} +3 -3
- package/dist/{child-mcp-config-67WUZXUY.js → child-mcp-config-W2H26MXI.js} +2 -2
- package/dist/{chunk-Y3UCIFJC.js → chunk-3DQP7YR3.js} +70 -41
- package/dist/chunk-3DQP7YR3.js.map +1 -0
- package/dist/{chunk-PSICREXH.js → chunk-4KDR63NV.js} +2 -2
- package/dist/{chunk-B4ZUXJS5.js → chunk-4M4EVNA7.js} +2 -2
- package/dist/{chunk-OZ6BSEWG.js → chunk-BIO2QB3H.js} +4 -4
- package/dist/{chunk-JFDD26YE.js → chunk-C5MZJBER.js} +5 -5
- package/dist/{chunk-W5UCRZN4.js → chunk-CXKSY4C4.js} +2 -2
- package/dist/{chunk-W2VXZSYG.js → chunk-DBRRSUOY.js} +2 -2
- package/dist/{chunk-JEHXN5OP.js → chunk-FOEG4RMK.js} +4 -4
- package/dist/{chunk-KGSETTH5.js → chunk-FOQVJUU7.js} +31 -7
- package/dist/{chunk-KGSETTH5.js.map → chunk-FOQVJUU7.js.map} +1 -1
- package/dist/{chunk-2S5Q42VC.js → chunk-GKAU7RDN.js} +2 -2
- package/dist/{chunk-JUABI24Q.js → chunk-H2DARFLO.js} +4 -4
- package/dist/{chunk-26XK77HW.js → chunk-HKQWJKGO.js} +2 -2
- package/dist/{chunk-7PMOK2TP.js → chunk-I37VBMXP.js} +2 -2
- package/dist/{chunk-BZGX63HO.js → chunk-ICPQ544Q.js} +7 -7
- package/dist/{chunk-F456ANG3.js → chunk-IURDLL5M.js} +2 -2
- package/dist/{chunk-PZ6JLXJY.js → chunk-JSYYQHTF.js} +2 -2
- package/dist/{chunk-FOTNVPFW.js → chunk-NWTRR6CU.js} +3 -3
- package/dist/{chunk-LZX5PC6C.js → chunk-OU6IAGOV.js} +9 -9
- package/dist/{chunk-UFLS3T5O.js → chunk-PZGRFJEV.js} +2 -2
- package/dist/{chunk-77LD24YB.js → chunk-Q32VMHM7.js} +6 -6
- package/dist/{chunk-JIDYNUWN.js → chunk-SBLRHNND.js} +8 -8
- package/dist/{chunk-UQUWPADT.js → chunk-SY7DEUMD.js} +2 -2
- package/dist/{chunk-2FKD6XDX.js → chunk-TSFFD2JT.js} +3 -3
- package/dist/{chunk-2QPIZDKD.js → chunk-TVPHXHW6.js} +2 -2
- package/dist/{chunk-HLFPT2V5.js → chunk-U4KNY4J2.js} +2 -2
- package/dist/{chunk-HMIOVHX6.js → chunk-U74LSS4P.js} +4 -4
- package/dist/{chunk-BKCYVB5L.js → chunk-UCTGLWTW.js} +5 -5
- package/dist/{chunk-N7KTMYU7.js → chunk-URAHBUQH.js} +2 -2
- package/dist/{chunk-6TDBRWBP.js → chunk-VVGNNP5R.js} +2 -2
- package/dist/{chunk-JUOQIBRH.js → chunk-XCT5FNJU.js} +3 -3
- package/dist/{chunk-FBDMXWOH.js → chunk-Y2KNTXDL.js} +2 -2
- package/dist/{chunk-W6ERGRHU.js → chunk-YD66JFFT.js} +2 -2
- package/dist/{chunk-AR5DUSJR.js → chunk-YJJTXGHE.js} +7 -7
- package/dist/{chunk-L4ZODI4L.js → chunk-YXOAO2OL.js} +2 -2
- package/dist/{cli-circuit-breaker-SB5C4IET.js → cli-circuit-breaker-D6OSXYV3.js} +3 -3
- package/dist/cli.js +43 -43
- package/dist/{composite-router-JSHBVU4P.js → composite-router-UD22B6IW.js} +2 -2
- package/dist/{consensus-vote-EY3MG6D4.js → consensus-vote-LJFSBPXC.js} +17 -17
- package/dist/{context-retriever-DPMNUHY6.js → context-retriever-D2I45OIP.js} +8 -8
- package/dist/{doctor-deep-3KEJPUDT.js → doctor-deep-KUDXAYZT.js} +3 -3
- package/dist/{doctor-live-WNHELHML.js → doctor-live-FTHCPUDX.js} +9 -9
- package/dist/{expert-bridge-3QCSME4G.js → expert-bridge-SRB4KTY6.js} +4 -4
- package/dist/{factory-ZWY3DVB7.js → factory-AWFORVPD.js} +9 -9
- package/dist/{factory-UCZLL3PX.js → factory-UMRV3MMV.js} +5 -5
- package/dist/{improvement-review-RGQPGSJU.js → improvement-review-2R4ZJJSI.js} +6 -6
- package/dist/index.d.ts +17 -1
- package/dist/index.js +31 -31
- package/dist/{init-opencode-7SRCZIZO.js → init-opencode-SDC65RIK.js} +6 -6
- package/dist/issue-triage-MTSKBCJS.js +17 -0
- package/dist/{pr-reviewer-helpers-TKAUWB4A.js → pr-reviewer-helpers-WHSMUFXL.js} +4 -4
- package/dist/{registry-command-AMETMJOH.js → registry-command-WOGTB66D.js} +2 -2
- package/dist/{repo-security-plan-FJGRRUBP.js → repo-security-plan-OE3ISBBQ.js} +3 -3
- package/dist/{research-helpers-synthesize-ICFOUQKO.js → research-helpers-synthesize-FR77A5AT.js} +4 -4
- package/dist/{routing-memory-IS54K2IN.js → routing-memory-TRQP7YGQ.js} +2 -2
- package/dist/{session-memory-ALSJWKJB.js → session-memory-SWY7LU3R.js} +3 -3
- package/dist/{setup-config-AKCUOUXB.js → setup-config-ED6AWYJC.js} +3 -3
- package/dist/{setup-custom-api-K3MJ75JT.js → setup-custom-api-5UKH5Q6L.js} +4 -4
- package/dist/setup-data-dir-LJZHCZQK.js +29 -0
- package/dist/{tool-memory-PECYC5VM.js → tool-memory-MEMWFA7K.js} +5 -5
- package/dist/{unified-registry-UDO6YR3I.js → unified-registry-6C55X4ZI.js} +10 -10
- package/dist/{weather-report-TTRRDJNT.js → weather-report-6Z4EEOJ3.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-Y3UCIFJC.js.map +0 -1
- package/dist/issue-triage-L63LDSVD.js +0 -17
- package/dist/setup-data-dir-SKZECWPP.js +0 -29
- /package/dist/{ast-rule-runner-G2JGX2Y6.js.map → ast-rule-runner-ZEFUW267.js.map} +0 -0
- /package/dist/{child-mcp-config-67WUZXUY.js.map → child-mcp-config-W2H26MXI.js.map} +0 -0
- /package/dist/{chunk-PSICREXH.js.map → chunk-4KDR63NV.js.map} +0 -0
- /package/dist/{chunk-B4ZUXJS5.js.map → chunk-4M4EVNA7.js.map} +0 -0
- /package/dist/{chunk-OZ6BSEWG.js.map → chunk-BIO2QB3H.js.map} +0 -0
- /package/dist/{chunk-JFDD26YE.js.map → chunk-C5MZJBER.js.map} +0 -0
- /package/dist/{chunk-W5UCRZN4.js.map → chunk-CXKSY4C4.js.map} +0 -0
- /package/dist/{chunk-W2VXZSYG.js.map → chunk-DBRRSUOY.js.map} +0 -0
- /package/dist/{chunk-JEHXN5OP.js.map → chunk-FOEG4RMK.js.map} +0 -0
- /package/dist/{chunk-2S5Q42VC.js.map → chunk-GKAU7RDN.js.map} +0 -0
- /package/dist/{chunk-JUABI24Q.js.map → chunk-H2DARFLO.js.map} +0 -0
- /package/dist/{chunk-26XK77HW.js.map → chunk-HKQWJKGO.js.map} +0 -0
- /package/dist/{chunk-7PMOK2TP.js.map → chunk-I37VBMXP.js.map} +0 -0
- /package/dist/{chunk-BZGX63HO.js.map → chunk-ICPQ544Q.js.map} +0 -0
- /package/dist/{chunk-F456ANG3.js.map → chunk-IURDLL5M.js.map} +0 -0
- /package/dist/{chunk-PZ6JLXJY.js.map → chunk-JSYYQHTF.js.map} +0 -0
- /package/dist/{chunk-FOTNVPFW.js.map → chunk-NWTRR6CU.js.map} +0 -0
- /package/dist/{chunk-LZX5PC6C.js.map → chunk-OU6IAGOV.js.map} +0 -0
- /package/dist/{chunk-UFLS3T5O.js.map → chunk-PZGRFJEV.js.map} +0 -0
- /package/dist/{chunk-77LD24YB.js.map → chunk-Q32VMHM7.js.map} +0 -0
- /package/dist/{chunk-JIDYNUWN.js.map → chunk-SBLRHNND.js.map} +0 -0
- /package/dist/{chunk-UQUWPADT.js.map → chunk-SY7DEUMD.js.map} +0 -0
- /package/dist/{chunk-2FKD6XDX.js.map → chunk-TSFFD2JT.js.map} +0 -0
- /package/dist/{chunk-2QPIZDKD.js.map → chunk-TVPHXHW6.js.map} +0 -0
- /package/dist/{chunk-HLFPT2V5.js.map → chunk-U4KNY4J2.js.map} +0 -0
- /package/dist/{chunk-HMIOVHX6.js.map → chunk-U74LSS4P.js.map} +0 -0
- /package/dist/{chunk-BKCYVB5L.js.map → chunk-UCTGLWTW.js.map} +0 -0
- /package/dist/{chunk-N7KTMYU7.js.map → chunk-URAHBUQH.js.map} +0 -0
- /package/dist/{chunk-6TDBRWBP.js.map → chunk-VVGNNP5R.js.map} +0 -0
- /package/dist/{chunk-JUOQIBRH.js.map → chunk-XCT5FNJU.js.map} +0 -0
- /package/dist/{chunk-FBDMXWOH.js.map → chunk-Y2KNTXDL.js.map} +0 -0
- /package/dist/{chunk-W6ERGRHU.js.map → chunk-YD66JFFT.js.map} +0 -0
- /package/dist/{chunk-AR5DUSJR.js.map → chunk-YJJTXGHE.js.map} +0 -0
- /package/dist/{chunk-L4ZODI4L.js.map → chunk-YXOAO2OL.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-SB5C4IET.js.map → cli-circuit-breaker-D6OSXYV3.js.map} +0 -0
- /package/dist/{composite-router-JSHBVU4P.js.map → composite-router-UD22B6IW.js.map} +0 -0
- /package/dist/{consensus-vote-EY3MG6D4.js.map → consensus-vote-LJFSBPXC.js.map} +0 -0
- /package/dist/{context-retriever-DPMNUHY6.js.map → context-retriever-D2I45OIP.js.map} +0 -0
- /package/dist/{doctor-deep-3KEJPUDT.js.map → doctor-deep-KUDXAYZT.js.map} +0 -0
- /package/dist/{doctor-live-WNHELHML.js.map → doctor-live-FTHCPUDX.js.map} +0 -0
- /package/dist/{expert-bridge-3QCSME4G.js.map → expert-bridge-SRB4KTY6.js.map} +0 -0
- /package/dist/{factory-UCZLL3PX.js.map → factory-AWFORVPD.js.map} +0 -0
- /package/dist/{factory-ZWY3DVB7.js.map → factory-UMRV3MMV.js.map} +0 -0
- /package/dist/{improvement-review-RGQPGSJU.js.map → improvement-review-2R4ZJJSI.js.map} +0 -0
- /package/dist/{init-opencode-7SRCZIZO.js.map → init-opencode-SDC65RIK.js.map} +0 -0
- /package/dist/{issue-triage-L63LDSVD.js.map → issue-triage-MTSKBCJS.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-TKAUWB4A.js.map → pr-reviewer-helpers-WHSMUFXL.js.map} +0 -0
- /package/dist/{registry-command-AMETMJOH.js.map → registry-command-WOGTB66D.js.map} +0 -0
- /package/dist/{repo-security-plan-FJGRRUBP.js.map → repo-security-plan-OE3ISBBQ.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-ICFOUQKO.js.map → research-helpers-synthesize-FR77A5AT.js.map} +0 -0
- /package/dist/{routing-memory-IS54K2IN.js.map → routing-memory-TRQP7YGQ.js.map} +0 -0
- /package/dist/{session-memory-ALSJWKJB.js.map → session-memory-SWY7LU3R.js.map} +0 -0
- /package/dist/{setup-config-AKCUOUXB.js.map → setup-config-ED6AWYJC.js.map} +0 -0
- /package/dist/{setup-custom-api-K3MJ75JT.js.map → setup-custom-api-5UKH5Q6L.js.map} +0 -0
- /package/dist/{setup-data-dir-SKZECWPP.js.map → setup-data-dir-LJZHCZQK.js.map} +0 -0
- /package/dist/{tool-memory-PECYC5VM.js.map → tool-memory-MEMWFA7K.js.map} +0 -0
- /package/dist/{unified-registry-UDO6YR3I.js.map → unified-registry-6C55X4ZI.js.map} +0 -0
- /package/dist/{weather-report-TTRRDJNT.js.map → weather-report-6Z4EEOJ3.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-4KDR63NV.js";
|
|
13
|
+
import "./chunk-FOQVJUU7.js";
|
|
14
14
|
import "./chunk-3HELETAQ.js";
|
|
15
15
|
import "./chunk-JVNJJ2VL.js";
|
|
16
16
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -26,4 +26,4 @@ export {
|
|
|
26
26
|
loadRules,
|
|
27
27
|
runAstQaRules
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=ast-rule-runner-
|
|
29
|
+
//# sourceMappingURL=ast-rule-runner-ZEFUW267.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-T5GVEXSA.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-FOQVJUU7.js";
|
|
7
7
|
import "./chunk-3HELETAQ.js";
|
|
8
8
|
import "./chunk-JVNJJ2VL.js";
|
|
9
9
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -62,4 +62,4 @@ export {
|
|
|
62
62
|
generateMcpConfig,
|
|
63
63
|
getDefaultAllowedTools
|
|
64
64
|
};
|
|
65
|
-
//# sourceMappingURL=child-mcp-config-
|
|
65
|
+
//# sourceMappingURL=child-mcp-config-W2H26MXI.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateSecurityPlan
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PZGRFJEV.js";
|
|
4
4
|
import {
|
|
5
5
|
analyzeGitHubRepo
|
|
6
6
|
} from "./chunk-DGWT7DXX.js";
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
DEFAULT_TASK_TTL_MS,
|
|
23
23
|
clampTaskTtl
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-ICPQ544Q.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-YJJTXGHE.js";
|
|
28
28
|
import {
|
|
29
29
|
JobStatusSchema,
|
|
30
30
|
VOTER_ROLES,
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
toJobSummary,
|
|
56
56
|
updateStage,
|
|
57
57
|
writeJobCancelled
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-OU6IAGOV.js";
|
|
59
59
|
import {
|
|
60
60
|
allOf,
|
|
61
61
|
anyOf
|
|
@@ -63,19 +63,19 @@ import {
|
|
|
63
63
|
import {
|
|
64
64
|
normalizeTopicToCanonical,
|
|
65
65
|
synthesizeResearch
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-NWTRR6CU.js";
|
|
67
67
|
import {
|
|
68
68
|
IssueTriage,
|
|
69
69
|
createDurableAuditSink,
|
|
70
70
|
createDurableAuditTrail
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-Q32VMHM7.js";
|
|
72
72
|
import {
|
|
73
73
|
resolveEnvMode,
|
|
74
74
|
sanitizeInput
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-IURDLL5M.js";
|
|
76
76
|
import {
|
|
77
77
|
withPrerequisite
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-XCT5FNJU.js";
|
|
79
79
|
import {
|
|
80
80
|
NOOP_NOTIFIER,
|
|
81
81
|
RateLimiter,
|
|
@@ -100,18 +100,18 @@ import {
|
|
|
100
100
|
withAuditTrail,
|
|
101
101
|
withProgressHeartbeat,
|
|
102
102
|
wrapToolWithTimeout
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-U74LSS4P.js";
|
|
104
104
|
import {
|
|
105
105
|
createAuditTrail,
|
|
106
106
|
createGraphAuditBridge,
|
|
107
107
|
emitPipelinePolicyEvent
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-CXKSY4C4.js";
|
|
109
109
|
import {
|
|
110
110
|
EventTopics,
|
|
111
111
|
createEvent,
|
|
112
112
|
getGlobalEventBus,
|
|
113
113
|
getGlobalRegistry
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-H2DARFLO.js";
|
|
115
115
|
import {
|
|
116
116
|
IDENTIFIER_RE,
|
|
117
117
|
LANG_VALUES,
|
|
@@ -144,7 +144,7 @@ import {
|
|
|
144
144
|
parseRegistry,
|
|
145
145
|
sourceExistsInRegistry,
|
|
146
146
|
summarizeContextForPrompt
|
|
147
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-UCTGLWTW.js";
|
|
148
148
|
import {
|
|
149
149
|
REGISTRY_PATH,
|
|
150
150
|
getProjectRoot,
|
|
@@ -152,25 +152,25 @@ import {
|
|
|
152
152
|
loadTechniquesRegistry,
|
|
153
153
|
resolveInsideRoot,
|
|
154
154
|
resolveRegistryRoot
|
|
155
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-YD66JFFT.js";
|
|
156
156
|
import {
|
|
157
157
|
getTokenEnvVars,
|
|
158
158
|
resolveToken
|
|
159
|
-
} from "./chunk-
|
|
159
|
+
} from "./chunk-URAHBUQH.js";
|
|
160
160
|
import {
|
|
161
161
|
DEFAULT_RELEVANCE_CONFIG,
|
|
162
162
|
MemoryImportance,
|
|
163
163
|
MemoryType,
|
|
164
164
|
calculateTextJaccardSimilarity,
|
|
165
165
|
getToolMemory
|
|
166
|
-
} from "./chunk-
|
|
166
|
+
} from "./chunk-BIO2QB3H.js";
|
|
167
167
|
import {
|
|
168
168
|
STOPWORDS,
|
|
169
169
|
truncateWithInfo
|
|
170
170
|
} from "./chunk-7LP6VJRP.js";
|
|
171
171
|
import {
|
|
172
172
|
createSessionMemory
|
|
173
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-I37VBMXP.js";
|
|
174
174
|
import {
|
|
175
175
|
BUILT_IN_EXPERTS,
|
|
176
176
|
BuiltInExpertTypeSchema,
|
|
@@ -188,25 +188,25 @@ import {
|
|
|
188
188
|
getAvailableClis,
|
|
189
189
|
sleep,
|
|
190
190
|
withTimeout
|
|
191
|
-
} from "./chunk-
|
|
191
|
+
} from "./chunk-SBLRHNND.js";
|
|
192
192
|
import {
|
|
193
193
|
BaseAdapter,
|
|
194
194
|
createStream,
|
|
195
195
|
requireApiKey,
|
|
196
196
|
validateApiKeyPresence
|
|
197
|
-
} from "./chunk-
|
|
197
|
+
} from "./chunk-VVGNNP5R.js";
|
|
198
198
|
import {
|
|
199
199
|
DEFAULTS
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-SY7DEUMD.js";
|
|
201
201
|
import {
|
|
202
202
|
getAvailabilityCache,
|
|
203
203
|
getCliForModelId,
|
|
204
204
|
resolveFallback
|
|
205
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-YXOAO2OL.js";
|
|
206
206
|
import {
|
|
207
207
|
generateHyphenId,
|
|
208
208
|
generateUUID
|
|
209
|
-
} from "./chunk-
|
|
209
|
+
} from "./chunk-4M4EVNA7.js";
|
|
210
210
|
import {
|
|
211
211
|
AGENT_ROUTER_TIMEOUTS,
|
|
212
212
|
API_TIMEOUTS,
|
|
@@ -235,6 +235,7 @@ import {
|
|
|
235
235
|
NETWORK_FETCH_TIMEOUT_MS,
|
|
236
236
|
NEUTRAL_BANDIT_FEATURE,
|
|
237
237
|
NexusError,
|
|
238
|
+
OPERATION_CLASSES,
|
|
238
239
|
OrchestratorError,
|
|
239
240
|
PROMOTED_ROLES,
|
|
240
241
|
ParseError,
|
|
@@ -246,6 +247,7 @@ import {
|
|
|
246
247
|
STEP_EXECUTOR_TIMEOUTS,
|
|
247
248
|
SecurityError,
|
|
248
249
|
SharedTaskAnalyzer,
|
|
250
|
+
TIMEOUT_MULTIPLIER_ENV_VAR,
|
|
249
251
|
TOOL_MANIFEST,
|
|
250
252
|
TaskCategorySchema,
|
|
251
253
|
TimeoutError,
|
|
@@ -267,6 +269,7 @@ import {
|
|
|
267
269
|
createSharedTaskAnalyzer,
|
|
268
270
|
deriveEntry,
|
|
269
271
|
deriveResearchMaturity,
|
|
272
|
+
describeClassGuard,
|
|
270
273
|
detectCapabilityGaps,
|
|
271
274
|
detectTaskCategory,
|
|
272
275
|
detectTrend,
|
|
@@ -315,7 +318,7 @@ import {
|
|
|
315
318
|
selectStrategyByManifest,
|
|
316
319
|
toExpertTaskAnalysisResult,
|
|
317
320
|
withStep
|
|
318
|
-
} from "./chunk-
|
|
321
|
+
} from "./chunk-FOQVJUU7.js";
|
|
319
322
|
import {
|
|
320
323
|
ensureLearningDir,
|
|
321
324
|
getMetaOutcomesFile,
|
|
@@ -1197,7 +1200,7 @@ function classifyEnvKeys(nexusKeys, env) {
|
|
|
1197
1200
|
}
|
|
1198
1201
|
return { knownRecord, unknownVars };
|
|
1199
1202
|
}
|
|
1200
|
-
function logValidationWarnings(logger56, unknownVars, invalidVars) {
|
|
1203
|
+
function logValidationWarnings(logger56, unknownVars, invalidVars, ineffectiveVars) {
|
|
1201
1204
|
for (const u of unknownVars) {
|
|
1202
1205
|
const hint = u.suggestion !== null ? ` (did you mean ${u.suggestion}?)` : "";
|
|
1203
1206
|
logger56.warn(`Unknown environment variable: ${u.name}${hint}`);
|
|
@@ -1205,6 +1208,27 @@ function logValidationWarnings(logger56, unknownVars, invalidVars) {
|
|
|
1205
1208
|
for (const inv of invalidVars) {
|
|
1206
1209
|
logger56.warn(`Invalid environment variable ${inv.name}="${inv.value}": ${inv.error}`);
|
|
1207
1210
|
}
|
|
1211
|
+
for (const ineff of ineffectiveVars) {
|
|
1212
|
+
logger56.warn(
|
|
1213
|
+
`Environment variable ${ineff.name} had no effect: requested ${String(ineff.requestedMs)}ms, using ${String(ineff.effectiveMs)}ms. ${ineff.reason}`
|
|
1214
|
+
);
|
|
1215
|
+
}
|
|
1216
|
+
}
|
|
1217
|
+
function findIneffectiveVars() {
|
|
1218
|
+
const classNames = Object.keys(OPERATION_CLASSES);
|
|
1219
|
+
const resolutions = classNames.map((cls) => describeClassGuard(cls));
|
|
1220
|
+
return resolutions.filter((r) => r.clampedByRequestCeiling).flatMap((r) => {
|
|
1221
|
+
const name = r.clampCause === "override" && r.overrideEnvVar !== null ? r.overrideEnvVar : r.clampCause === "multiplier" ? TIMEOUT_MULTIPLIER_ENV_VAR : null;
|
|
1222
|
+
if (name === null) return [];
|
|
1223
|
+
return [
|
|
1224
|
+
{
|
|
1225
|
+
name,
|
|
1226
|
+
requestedMs: r.requestedMs,
|
|
1227
|
+
effectiveMs: r.effectiveMs,
|
|
1228
|
+
reason: `The '${r.cls}' class guard is capped at the MCP request ceiling (${String(MCP_TIMEOUTS.maxMs)}ms), so values above it are discarded.`
|
|
1229
|
+
}
|
|
1230
|
+
];
|
|
1231
|
+
});
|
|
1208
1232
|
}
|
|
1209
1233
|
function validateNexusEnv(logger56) {
|
|
1210
1234
|
const nexusKeys = Object.keys(process.env).filter((k) => k.startsWith("NEXUS_"));
|
|
@@ -1221,10 +1245,11 @@ function validateNexusEnv(logger56) {
|
|
|
1221
1245
|
});
|
|
1222
1246
|
}
|
|
1223
1247
|
}
|
|
1248
|
+
const ineffectiveVars = findIneffectiveVars();
|
|
1224
1249
|
if (logger56 !== void 0) {
|
|
1225
|
-
logValidationWarnings(logger56, unknownVars, invalidVars);
|
|
1250
|
+
logValidationWarnings(logger56, unknownVars, invalidVars, ineffectiveVars);
|
|
1226
1251
|
}
|
|
1227
|
-
return { unknownVars, invalidVars };
|
|
1252
|
+
return { unknownVars, invalidVars, ineffectiveVars };
|
|
1228
1253
|
}
|
|
1229
1254
|
function getKnownNexusVarNames() {
|
|
1230
1255
|
return KNOWN_NAMES;
|
|
@@ -19357,7 +19382,9 @@ function createFailedAttempt(sourceVersionId, hypothesis, reason) {
|
|
|
19357
19382
|
attemptedAt: new Date(getTimeProvider().now()),
|
|
19358
19383
|
validation: {
|
|
19359
19384
|
passed: false,
|
|
19360
|
-
performanceChange
|
|
19385
|
+
// No `performanceChange`: the attempt never produced a version to
|
|
19386
|
+
// compare, so there is nothing to report. A literal 0 here made the field
|
|
19387
|
+
// identical on the success and failure paths (#5795).
|
|
19361
19388
|
checks: [{ name: "creation", passed: false, details: reason }]
|
|
19362
19389
|
}
|
|
19363
19390
|
};
|
|
@@ -19614,7 +19641,9 @@ var SicaAgent = class {
|
|
|
19614
19641
|
attemptedAt: new Date(getTimeProvider().now()),
|
|
19615
19642
|
validation: {
|
|
19616
19643
|
passed: true,
|
|
19617
|
-
performanceChange
|
|
19644
|
+
// No `performanceChange`: the derived version has not executed a single
|
|
19645
|
+
// task at this point, so there is no comparison to report. `checks`
|
|
19646
|
+
// already names the one thing that did happen (#5795).
|
|
19618
19647
|
checks: [{ name: "version_created", passed: true }]
|
|
19619
19648
|
}
|
|
19620
19649
|
};
|
|
@@ -29942,7 +29971,7 @@ function execIdFields(executionId) {
|
|
|
29942
29971
|
async function populateUnifiedContextOnState(state, options) {
|
|
29943
29972
|
const taskCandidate = state["task"];
|
|
29944
29973
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
29945
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
29974
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-D2I45OIP.js");
|
|
29946
29975
|
const category = inferTaskCategory2(taskCandidate);
|
|
29947
29976
|
const executionId = options?.executionId;
|
|
29948
29977
|
const execFields = execIdFields(executionId);
|
|
@@ -45406,7 +45435,7 @@ async function tryIssueTriage(task) {
|
|
|
45406
45435
|
try {
|
|
45407
45436
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
45408
45437
|
if (issueMatch === null) return null;
|
|
45409
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
45438
|
+
const { createIssueTriage } = await import("./issue-triage-MTSKBCJS.js");
|
|
45410
45439
|
const triage = createIssueTriage();
|
|
45411
45440
|
const owner = issueMatch[1] ?? "";
|
|
45412
45441
|
const num = issueMatch[2] ?? "";
|
|
@@ -45434,7 +45463,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
45434
45463
|
]);
|
|
45435
45464
|
async function classifyWithLLM(task) {
|
|
45436
45465
|
try {
|
|
45437
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
45466
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-SRB4KTY6.js");
|
|
45438
45467
|
const prompt = [
|
|
45439
45468
|
"Classify this task into exactly one pipeline template.",
|
|
45440
45469
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -45808,7 +45837,7 @@ function buildVotingInput(plan, config) {
|
|
|
45808
45837
|
}
|
|
45809
45838
|
async function executeSingleVote(plan, config, log) {
|
|
45810
45839
|
try {
|
|
45811
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
45840
|
+
const { executeVoting } = await import("./consensus-vote-LJFSBPXC.js");
|
|
45812
45841
|
const input = buildVotingInput(plan, config);
|
|
45813
45842
|
const result = await executeVoting(input, log);
|
|
45814
45843
|
return parseVotingResult(result);
|
|
@@ -47367,7 +47396,7 @@ var memoryInitPromise = null;
|
|
|
47367
47396
|
async function initPipelineMemory() {
|
|
47368
47397
|
if (cachedMemory !== null) return cachedMemory;
|
|
47369
47398
|
try {
|
|
47370
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47399
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-SWY7LU3R.js");
|
|
47371
47400
|
const { getLearningDir } = await import("./learning-persistence-TX2WE7Y7.js");
|
|
47372
47401
|
const mem = createSessionMemory2(getLearningDir());
|
|
47373
47402
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
@@ -47429,7 +47458,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
|
|
|
47429
47458
|
callRecord(routingMemoryCache);
|
|
47430
47459
|
return;
|
|
47431
47460
|
}
|
|
47432
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
47461
|
+
routingMemoryInitPromise ??= import("./routing-memory-TRQP7YGQ.js").then(({ createRoutingMemory }) => {
|
|
47433
47462
|
routingMemoryCache ??= createRoutingMemory();
|
|
47434
47463
|
return routingMemoryCache;
|
|
47435
47464
|
}).catch((error) => {
|
|
@@ -47463,7 +47492,7 @@ ${text}` : "";
|
|
|
47463
47492
|
}
|
|
47464
47493
|
async function getWeatherContext() {
|
|
47465
47494
|
try {
|
|
47466
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
47495
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-6Z4EEOJ3.js");
|
|
47467
47496
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
47468
47497
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
47469
47498
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -47481,7 +47510,7 @@ ${lines}
|
|
|
47481
47510
|
}
|
|
47482
47511
|
async function getMemoryContext(task) {
|
|
47483
47512
|
try {
|
|
47484
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47513
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-SWY7LU3R.js");
|
|
47485
47514
|
const { getLearningDir } = await import("./learning-persistence-TX2WE7Y7.js");
|
|
47486
47515
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
47487
47516
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
@@ -47600,7 +47629,7 @@ ${contextBlock}`;
|
|
|
47600
47629
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47601
47630
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47602
47631
|
try {
|
|
47603
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47632
|
+
const { executeVoting } = await import("./consensus-vote-LJFSBPXC.js");
|
|
47604
47633
|
const votingResult = await executeVoting(
|
|
47605
47634
|
{
|
|
47606
47635
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -48031,7 +48060,7 @@ async function searchCodebaseForTask(task) {
|
|
|
48031
48060
|
}
|
|
48032
48061
|
async function queryResearchRegistry(task) {
|
|
48033
48062
|
try {
|
|
48034
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
48063
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-FR77A5AT.js");
|
|
48035
48064
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
48036
48065
|
if (topic === void 0) return null;
|
|
48037
48066
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -48102,7 +48131,7 @@ function createScanStageWrapper() {
|
|
|
48102
48131
|
try {
|
|
48103
48132
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
48104
48133
|
if (slug !== void 0) {
|
|
48105
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
48134
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-OE3ISBBQ.js");
|
|
48106
48135
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
48107
48136
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
48108
48137
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -51340,7 +51369,7 @@ var GitHubTaskTracker = class {
|
|
|
51340
51369
|
cachedProvider = null;
|
|
51341
51370
|
async getProvider() {
|
|
51342
51371
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
51343
|
-
const { createScmProvider } = await import("./factory-
|
|
51372
|
+
const { createScmProvider } = await import("./factory-UMRV3MMV.js");
|
|
51344
51373
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
51345
51374
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
51346
51375
|
this.cachedProvider = result.value;
|
|
@@ -52244,7 +52273,7 @@ async function probeSource(source, includeModelIds) {
|
|
|
52244
52273
|
}
|
|
52245
52274
|
}
|
|
52246
52275
|
async function defaultSources(includeOpenRouter) {
|
|
52247
|
-
const { createAllAdapters: createAllAdapters2 } = await import("./factory-
|
|
52276
|
+
const { createAllAdapters: createAllAdapters2 } = await import("./factory-AWFORVPD.js");
|
|
52248
52277
|
const adapters = createAllAdapters2();
|
|
52249
52278
|
return buildDefaultModelSources(adapters, { includeOpenRouter });
|
|
52250
52279
|
}
|
|
@@ -56320,4 +56349,4 @@ export {
|
|
|
56320
56349
|
shutdownFeedbackSubscriber,
|
|
56321
56350
|
createEventBusBridge
|
|
56322
56351
|
};
|
|
56323
|
-
//# sourceMappingURL=chunk-
|
|
56352
|
+
//# sourceMappingURL=chunk-3DQP7YR3.js.map
|