nexus-agents 2.178.0 → 3.0.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/{child-mcp-config-PACKMI72.js → child-mcp-config-ZW5PFQEJ.js} +2 -2
- package/dist/{chunk-KFEHSYLI.js → chunk-2J4J5QKD.js} +2 -2
- package/dist/{chunk-HEYVV4XQ.js → chunk-2UKQZKVD.js} +54 -46
- package/dist/{chunk-HEYVV4XQ.js.map → chunk-2UKQZKVD.js.map} +1 -1
- package/dist/{chunk-BP662TCH.js → chunk-3JH24XIY.js} +2 -2
- package/dist/{chunk-SOZYAAFS.js → chunk-3VRG7I7N.js} +3 -3
- package/dist/{chunk-SMP4NQ6T.js → chunk-4LLIXFC2.js} +4 -4
- package/dist/{chunk-H2PV2ZOM.js → chunk-4QAYK6FB.js} +4 -4
- package/dist/{chunk-RTGLOWR6.js → chunk-54MDYWNI.js} +2 -2
- package/dist/{chunk-E4PCF6Q5.js → chunk-6A33GEM2.js} +3 -3
- package/dist/{chunk-4NESLVOU.js → chunk-6BQNRHIH.js} +2 -2
- package/dist/{chunk-E7BIMTCD.js → chunk-6H7U2JU4.js} +2 -2
- package/dist/{chunk-AIBM5TJS.js → chunk-6ZFBEINO.js} +5 -5
- package/dist/{chunk-4IOIURV4.js → chunk-7T5LHZLI.js} +2 -2
- package/dist/{chunk-E5YASO4I.js → chunk-7YGC7EHO.js} +4 -4
- package/dist/{chunk-VWKOCFOQ.js → chunk-BFDUELKY.js} +2 -2
- package/dist/{chunk-LJ36QD7F.js → chunk-D3SA4NDV.js} +7 -7
- package/dist/{chunk-U5ODY6VK.js → chunk-DYIDH4YE.js} +8 -8
- package/dist/{chunk-VDYFOQXY.js → chunk-HEQSO64K.js} +8 -8
- package/dist/{chunk-VDYFOQXY.js.map → chunk-HEQSO64K.js.map} +1 -1
- package/dist/{chunk-BPGEBBMI.js → chunk-HHV6DOS4.js} +3 -3
- package/dist/{chunk-SKVPP327.js → chunk-IEJUO5RB.js} +2 -2
- package/dist/{chunk-4JIVEF5J.js → chunk-IKFUFHEG.js} +3 -3
- package/dist/{chunk-4AF6VYQ7.js → chunk-JHJV7CYZ.js} +2 -2
- package/dist/{chunk-ZH5B2BIL.js → chunk-JKGYQG6V.js} +2 -2
- package/dist/{chunk-47UPLZWW.js → chunk-KAP2ANOE.js} +2 -2
- package/dist/{chunk-ELH4PIFM.js → chunk-KDZCQPLH.js} +2 -2
- package/dist/{chunk-CCOPA2YX.js → chunk-MCICMFFK.js} +2 -2
- package/dist/{chunk-KVQD7Z3R.js → chunk-MHGARBUZ.js} +2 -2
- package/dist/{chunk-XXTMXJWZ.js → chunk-NNYEQJGE.js} +5 -5
- package/dist/{chunk-ZQGTPRIM.js → chunk-NO6GYQAS.js} +8 -8
- package/dist/{chunk-JZDD7Z2Z.js → chunk-SVTHQ7DA.js} +5 -5
- package/dist/{chunk-2UH5MVYS.js → chunk-UU6NLFCT.js} +3 -23
- package/dist/{chunk-2UH5MVYS.js.map → chunk-UU6NLFCT.js.map} +1 -1
- package/dist/{chunk-UTWNUG3M.js → chunk-V55IINXG.js} +2 -2
- package/dist/{chunk-27RVYUCU.js → chunk-WSNUM6MS.js} +2 -2
- package/dist/{chunk-LYDBCTT4.js → chunk-XOA7Y63G.js} +5 -5
- package/dist/{cli-circuit-breaker-OWSE7HFZ.js → cli-circuit-breaker-HLZ72N2A.js} +3 -3
- package/dist/cli.js +40 -40
- package/dist/{composite-router-ZTARSEYG.js → composite-router-KM4TDC75.js} +2 -2
- package/dist/{consensus-vote-BEU24RCT.js → consensus-vote-VFOLUM6M.js} +16 -16
- package/dist/{context-retriever-ZX3CBXIC.js → context-retriever-ZVFRYEDL.js} +8 -8
- package/dist/{doctor-deep-U52LMY2R.js → doctor-deep-ZERKQVLV.js} +3 -3
- package/dist/{expert-bridge-GY5GGOJW.js → expert-bridge-MMBE2ZPR.js} +4 -4
- package/dist/{factory-XR2UQOEH.js → factory-7EMZS6OF.js} +9 -9
- package/dist/{factory-PBHDVNU2.js → factory-VIB7NIV2.js} +5 -5
- package/dist/{improvement-review-FPZ23HIJ.js → improvement-review-ABUGIKOC.js} +5 -5
- package/dist/index.d.ts +0 -8
- package/dist/index.js +54 -57
- package/dist/index.js.map +1 -1
- package/dist/{init-opencode-LLNCIUUF.js → init-opencode-GETRPKA4.js} +6 -6
- package/dist/{issue-triage-PSHCE7RU.js → issue-triage-O6Z2CTJM.js} +6 -6
- package/dist/{pr-reviewer-helpers-3WVNJRCK.js → pr-reviewer-helpers-DRQXZBDH.js} +4 -4
- package/dist/{registry-command-JNSSDYGB.js → registry-command-YAIEP7WM.js} +2 -2
- package/dist/{repo-security-plan-7QYZJCGT.js → repo-security-plan-4BYFJZUQ.js} +3 -3
- package/dist/{research-helpers-synthesize-TSIH4U7M.js → research-helpers-synthesize-O3UTWKGT.js} +4 -4
- package/dist/{routing-memory-PHOZF4L2.js → routing-memory-GFCQT2FW.js} +2 -2
- package/dist/{session-memory-T5NHGNC5.js → session-memory-Y7WMBRAR.js} +3 -3
- package/dist/{setup-command-MJP66PED.js → setup-command-XUVMMHPF.js} +14 -14
- package/dist/{setup-config-2GJZNH7Z.js → setup-config-2ABBUEG6.js} +3 -3
- package/dist/{setup-custom-api-F6FEC2HD.js → setup-custom-api-GNWOBZ4I.js} +4 -4
- package/dist/{tool-memory-UIWAECRB.js → tool-memory-MCPXNF6X.js} +5 -5
- package/dist/{unified-registry-J7NOHQ44.js → unified-registry-6YQEVB6A.js} +10 -10
- package/dist/{weather-report-DQANKBJK.js → weather-report-3EDM3NPV.js} +2 -2
- package/package.json +1 -1
- /package/dist/{child-mcp-config-PACKMI72.js.map → child-mcp-config-ZW5PFQEJ.js.map} +0 -0
- /package/dist/{chunk-KFEHSYLI.js.map → chunk-2J4J5QKD.js.map} +0 -0
- /package/dist/{chunk-BP662TCH.js.map → chunk-3JH24XIY.js.map} +0 -0
- /package/dist/{chunk-SOZYAAFS.js.map → chunk-3VRG7I7N.js.map} +0 -0
- /package/dist/{chunk-SMP4NQ6T.js.map → chunk-4LLIXFC2.js.map} +0 -0
- /package/dist/{chunk-H2PV2ZOM.js.map → chunk-4QAYK6FB.js.map} +0 -0
- /package/dist/{chunk-RTGLOWR6.js.map → chunk-54MDYWNI.js.map} +0 -0
- /package/dist/{chunk-E4PCF6Q5.js.map → chunk-6A33GEM2.js.map} +0 -0
- /package/dist/{chunk-4NESLVOU.js.map → chunk-6BQNRHIH.js.map} +0 -0
- /package/dist/{chunk-E7BIMTCD.js.map → chunk-6H7U2JU4.js.map} +0 -0
- /package/dist/{chunk-AIBM5TJS.js.map → chunk-6ZFBEINO.js.map} +0 -0
- /package/dist/{chunk-4IOIURV4.js.map → chunk-7T5LHZLI.js.map} +0 -0
- /package/dist/{chunk-E5YASO4I.js.map → chunk-7YGC7EHO.js.map} +0 -0
- /package/dist/{chunk-VWKOCFOQ.js.map → chunk-BFDUELKY.js.map} +0 -0
- /package/dist/{chunk-LJ36QD7F.js.map → chunk-D3SA4NDV.js.map} +0 -0
- /package/dist/{chunk-U5ODY6VK.js.map → chunk-DYIDH4YE.js.map} +0 -0
- /package/dist/{chunk-BPGEBBMI.js.map → chunk-HHV6DOS4.js.map} +0 -0
- /package/dist/{chunk-SKVPP327.js.map → chunk-IEJUO5RB.js.map} +0 -0
- /package/dist/{chunk-4JIVEF5J.js.map → chunk-IKFUFHEG.js.map} +0 -0
- /package/dist/{chunk-4AF6VYQ7.js.map → chunk-JHJV7CYZ.js.map} +0 -0
- /package/dist/{chunk-ZH5B2BIL.js.map → chunk-JKGYQG6V.js.map} +0 -0
- /package/dist/{chunk-47UPLZWW.js.map → chunk-KAP2ANOE.js.map} +0 -0
- /package/dist/{chunk-ELH4PIFM.js.map → chunk-KDZCQPLH.js.map} +0 -0
- /package/dist/{chunk-CCOPA2YX.js.map → chunk-MCICMFFK.js.map} +0 -0
- /package/dist/{chunk-KVQD7Z3R.js.map → chunk-MHGARBUZ.js.map} +0 -0
- /package/dist/{chunk-XXTMXJWZ.js.map → chunk-NNYEQJGE.js.map} +0 -0
- /package/dist/{chunk-ZQGTPRIM.js.map → chunk-NO6GYQAS.js.map} +0 -0
- /package/dist/{chunk-JZDD7Z2Z.js.map → chunk-SVTHQ7DA.js.map} +0 -0
- /package/dist/{chunk-UTWNUG3M.js.map → chunk-V55IINXG.js.map} +0 -0
- /package/dist/{chunk-27RVYUCU.js.map → chunk-WSNUM6MS.js.map} +0 -0
- /package/dist/{chunk-LYDBCTT4.js.map → chunk-XOA7Y63G.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-OWSE7HFZ.js.map → cli-circuit-breaker-HLZ72N2A.js.map} +0 -0
- /package/dist/{composite-router-ZTARSEYG.js.map → composite-router-KM4TDC75.js.map} +0 -0
- /package/dist/{consensus-vote-BEU24RCT.js.map → consensus-vote-VFOLUM6M.js.map} +0 -0
- /package/dist/{context-retriever-ZX3CBXIC.js.map → context-retriever-ZVFRYEDL.js.map} +0 -0
- /package/dist/{doctor-deep-U52LMY2R.js.map → doctor-deep-ZERKQVLV.js.map} +0 -0
- /package/dist/{expert-bridge-GY5GGOJW.js.map → expert-bridge-MMBE2ZPR.js.map} +0 -0
- /package/dist/{factory-PBHDVNU2.js.map → factory-7EMZS6OF.js.map} +0 -0
- /package/dist/{factory-XR2UQOEH.js.map → factory-VIB7NIV2.js.map} +0 -0
- /package/dist/{improvement-review-FPZ23HIJ.js.map → improvement-review-ABUGIKOC.js.map} +0 -0
- /package/dist/{init-opencode-LLNCIUUF.js.map → init-opencode-GETRPKA4.js.map} +0 -0
- /package/dist/{issue-triage-PSHCE7RU.js.map → issue-triage-O6Z2CTJM.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-3WVNJRCK.js.map → pr-reviewer-helpers-DRQXZBDH.js.map} +0 -0
- /package/dist/{registry-command-JNSSDYGB.js.map → registry-command-YAIEP7WM.js.map} +0 -0
- /package/dist/{repo-security-plan-7QYZJCGT.js.map → repo-security-plan-4BYFJZUQ.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-TSIH4U7M.js.map → research-helpers-synthesize-O3UTWKGT.js.map} +0 -0
- /package/dist/{routing-memory-PHOZF4L2.js.map → routing-memory-GFCQT2FW.js.map} +0 -0
- /package/dist/{session-memory-T5NHGNC5.js.map → session-memory-Y7WMBRAR.js.map} +0 -0
- /package/dist/{setup-command-MJP66PED.js.map → setup-command-XUVMMHPF.js.map} +0 -0
- /package/dist/{setup-config-2GJZNH7Z.js.map → setup-config-2ABBUEG6.js.map} +0 -0
- /package/dist/{setup-custom-api-F6FEC2HD.js.map → setup-custom-api-GNWOBZ4I.js.map} +0 -0
- /package/dist/{tool-memory-UIWAECRB.js.map → tool-memory-MCPXNF6X.js.map} +0 -0
- /package/dist/{unified-registry-J7NOHQ44.js.map → unified-registry-6YQEVB6A.js.map} +0 -0
- /package/dist/{weather-report-DQANKBJK.js.map → weather-report-3EDM3NPV.js.map} +0 -0
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-YAF73ZMR.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UU6NLFCT.js";
|
|
7
7
|
import "./chunk-2HUC6NZN.js";
|
|
8
8
|
import "./chunk-OQLFRJCW.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-ZW5PFQEJ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTimeProvider
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UU6NLFCT.js";
|
|
4
4
|
|
|
5
5
|
// src/security/audit-trail.ts
|
|
6
6
|
var MAX_EVENTS = 1e4;
|
|
@@ -205,4 +205,4 @@ export {
|
|
|
205
205
|
createGraphAuditBridge,
|
|
206
206
|
createAuditTrail
|
|
207
207
|
};
|
|
208
|
-
//# sourceMappingURL=chunk-
|
|
208
|
+
//# sourceMappingURL=chunk-2J4J5QKD.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateSecurityPlan
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3JH24XIY.js";
|
|
4
4
|
import {
|
|
5
5
|
analyzeGitHubRepo
|
|
6
6
|
} from "./chunk-HFOQKCD2.js";
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
DEFAULT_TASK_TTL_MS,
|
|
22
22
|
DEFAULT_TOOL_RATE_LIMITS,
|
|
23
23
|
clampTaskTtl
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-HEQSO64K.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-D3SA4NDV.js";
|
|
28
28
|
import {
|
|
29
29
|
JobStatusSchema,
|
|
30
30
|
abortJob,
|
|
@@ -45,21 +45,21 @@ import {
|
|
|
45
45
|
simulationDeniedResult,
|
|
46
46
|
toJobSummary,
|
|
47
47
|
writeJobCancelled
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-DYIDH4YE.js";
|
|
49
49
|
import {
|
|
50
50
|
normalizeTopicToCanonical,
|
|
51
51
|
synthesizeResearch
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-6A33GEM2.js";
|
|
53
53
|
import {
|
|
54
54
|
IssueTriage
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-SVTHQ7DA.js";
|
|
56
56
|
import {
|
|
57
57
|
resolveEnvMode,
|
|
58
58
|
sanitizeInput
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-WSNUM6MS.js";
|
|
60
60
|
import {
|
|
61
61
|
withPrerequisite
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-HHV6DOS4.js";
|
|
63
63
|
import {
|
|
64
64
|
NOOP_NOTIFIER,
|
|
65
65
|
RateLimiter,
|
|
@@ -82,18 +82,18 @@ import {
|
|
|
82
82
|
withAuditTrail,
|
|
83
83
|
withProgressHeartbeat,
|
|
84
84
|
wrapToolWithTimeout
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-3VRG7I7N.js";
|
|
86
86
|
import {
|
|
87
87
|
createAuditTrail,
|
|
88
88
|
createGraphAuditBridge,
|
|
89
89
|
emitPipelinePolicyEvent
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-2J4J5QKD.js";
|
|
91
91
|
import {
|
|
92
92
|
EventTopics,
|
|
93
93
|
createEvent,
|
|
94
94
|
getGlobalEventBus,
|
|
95
95
|
getGlobalRegistry
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-4LLIXFC2.js";
|
|
97
97
|
import {
|
|
98
98
|
IDENTIFIER_RE,
|
|
99
99
|
LANG_VALUES,
|
|
@@ -126,15 +126,15 @@ import {
|
|
|
126
126
|
parseRegistry,
|
|
127
127
|
sourceExistsInRegistry,
|
|
128
128
|
summarizeContextForPrompt
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-NNYEQJGE.js";
|
|
130
130
|
import {
|
|
131
131
|
getTokenEnvVars,
|
|
132
132
|
resolveToken
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-KAP2ANOE.js";
|
|
134
134
|
import {
|
|
135
135
|
loadPapersRegistry,
|
|
136
136
|
loadTechniquesRegistry
|
|
137
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-6H7U2JU4.js";
|
|
138
138
|
import {
|
|
139
139
|
resolveInsideRoot
|
|
140
140
|
} from "./chunk-NUBSJGQZ.js";
|
|
@@ -143,14 +143,14 @@ import {
|
|
|
143
143
|
MemoryImportance,
|
|
144
144
|
calculateTextJaccardSimilarity,
|
|
145
145
|
getToolMemory
|
|
146
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-4QAYK6FB.js";
|
|
147
147
|
import {
|
|
148
148
|
STOPWORDS,
|
|
149
149
|
truncateWithInfo
|
|
150
150
|
} from "./chunk-6T3EPABN.js";
|
|
151
151
|
import {
|
|
152
152
|
createSessionMemory
|
|
153
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-V55IINXG.js";
|
|
154
154
|
import {
|
|
155
155
|
BUILT_IN_EXPERTS,
|
|
156
156
|
BuiltInExpertTypeSchema,
|
|
@@ -168,25 +168,25 @@ import {
|
|
|
168
168
|
getAvailableClis,
|
|
169
169
|
sleep,
|
|
170
170
|
withTimeout
|
|
171
|
-
} from "./chunk-
|
|
171
|
+
} from "./chunk-NO6GYQAS.js";
|
|
172
172
|
import {
|
|
173
173
|
BaseAdapter,
|
|
174
174
|
createStream,
|
|
175
175
|
requireApiKey,
|
|
176
176
|
validateApiKeyPresence
|
|
177
|
-
} from "./chunk-
|
|
177
|
+
} from "./chunk-MCICMFFK.js";
|
|
178
178
|
import {
|
|
179
179
|
DEFAULTS
|
|
180
|
-
} from "./chunk-
|
|
180
|
+
} from "./chunk-MHGARBUZ.js";
|
|
181
181
|
import {
|
|
182
182
|
getAvailabilityCache,
|
|
183
183
|
getCliForModelId,
|
|
184
184
|
resolveFallback
|
|
185
|
-
} from "./chunk-
|
|
185
|
+
} from "./chunk-JHJV7CYZ.js";
|
|
186
186
|
import {
|
|
187
187
|
generateHyphenId,
|
|
188
188
|
generateUUID
|
|
189
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-BFDUELKY.js";
|
|
190
190
|
import {
|
|
191
191
|
AGENT_ROUTER_TIMEOUTS,
|
|
192
192
|
API_TIMEOUTS,
|
|
@@ -283,7 +283,7 @@ import {
|
|
|
283
283
|
selectStrategyByManifest,
|
|
284
284
|
toExpertTaskAnalysisResult,
|
|
285
285
|
withStep
|
|
286
|
-
} from "./chunk-
|
|
286
|
+
} from "./chunk-UU6NLFCT.js";
|
|
287
287
|
import {
|
|
288
288
|
ensureLearningDir,
|
|
289
289
|
getMetaOutcomesFile,
|
|
@@ -27559,6 +27559,10 @@ function getAllowedWorkflowDirs(deps) {
|
|
|
27559
27559
|
}
|
|
27560
27560
|
return allowedDirs;
|
|
27561
27561
|
}
|
|
27562
|
+
function deriveWorkflowStatus(steps) {
|
|
27563
|
+
if (steps.length === 0) return "failed";
|
|
27564
|
+
return steps.some((s) => s.status === "failed") ? "failed" : "completed";
|
|
27565
|
+
}
|
|
27562
27566
|
function toStepResultSummary(result) {
|
|
27563
27567
|
const summary = {
|
|
27564
27568
|
stepId: result.stepId,
|
|
@@ -27739,13 +27743,16 @@ async function executeWorkflow(deps, workflow, inputs, options) {
|
|
|
27739
27743
|
durationMs: getTimeProvider().now() - startTime,
|
|
27740
27744
|
stepCount: workflowResult.stepResults.length
|
|
27741
27745
|
});
|
|
27746
|
+
const stepResults = workflowResult.stepResults.map(toStepResultSummary);
|
|
27742
27747
|
return {
|
|
27743
27748
|
ok: true,
|
|
27744
27749
|
value: {
|
|
27745
27750
|
executionId: workflowResult.executionId,
|
|
27746
27751
|
workflowName: workflowResult.workflowName,
|
|
27747
|
-
|
|
27748
|
-
|
|
27752
|
+
// #4351: was hardcoded 'completed'. A run whose steps all failed —
|
|
27753
|
+
// e.g. every adapter out of capacity — reported success to the caller.
|
|
27754
|
+
status: deriveWorkflowStatus(stepResults),
|
|
27755
|
+
stepResults,
|
|
27749
27756
|
output: workflowResult.output,
|
|
27750
27757
|
durationMs: workflowResult.totalDurationMs
|
|
27751
27758
|
}
|
|
@@ -28346,7 +28353,7 @@ function execIdFields(executionId) {
|
|
|
28346
28353
|
async function populateUnifiedContextOnState(state, options) {
|
|
28347
28354
|
const taskCandidate = state["task"];
|
|
28348
28355
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
28349
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
28356
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-ZVFRYEDL.js");
|
|
28350
28357
|
const category = inferTaskCategory2(taskCandidate);
|
|
28351
28358
|
const executionId = options?.executionId;
|
|
28352
28359
|
const execFields = execIdFields(executionId);
|
|
@@ -40023,9 +40030,10 @@ async function handleRunGraphWorkflow(input, logger58) {
|
|
|
40023
40030
|
checkpointCount
|
|
40024
40031
|
});
|
|
40025
40032
|
}
|
|
40033
|
+
const nodeStatus = result.value.nodeResults.some((n) => n.status === "failed") ? "failed" : "completed";
|
|
40026
40034
|
return {
|
|
40027
40035
|
workflow: input.workflow,
|
|
40028
|
-
status:
|
|
40036
|
+
status: nodeStatus,
|
|
40029
40037
|
finalState: result.value.finalState,
|
|
40030
40038
|
stepsExecuted: result.value.stepsExecuted,
|
|
40031
40039
|
nodesExecuted: result.value.nodeResults.length,
|
|
@@ -43881,7 +43889,7 @@ async function tryIssueTriage(task) {
|
|
|
43881
43889
|
try {
|
|
43882
43890
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
43883
43891
|
if (issueMatch === null) return null;
|
|
43884
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
43892
|
+
const { createIssueTriage } = await import("./issue-triage-O6Z2CTJM.js");
|
|
43885
43893
|
const triage = createIssueTriage();
|
|
43886
43894
|
const owner = issueMatch[1] ?? "";
|
|
43887
43895
|
const num = issueMatch[2] ?? "";
|
|
@@ -43909,7 +43917,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
43909
43917
|
]);
|
|
43910
43918
|
async function classifyWithLLM(task) {
|
|
43911
43919
|
try {
|
|
43912
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
43920
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-MMBE2ZPR.js");
|
|
43913
43921
|
const prompt = [
|
|
43914
43922
|
"Classify this task into exactly one pipeline template.",
|
|
43915
43923
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -45331,13 +45339,13 @@ function buildScanSummary(total, confirmed, falsePositives, osvCount) {
|
|
|
45331
45339
|
}
|
|
45332
45340
|
|
|
45333
45341
|
// src/security/quality-gate.ts
|
|
45334
|
-
async function runCommandCheck(name, command, args) {
|
|
45342
|
+
async function runCommandCheck(name, command, args, cwd) {
|
|
45335
45343
|
const start = Date.now();
|
|
45336
45344
|
try {
|
|
45337
45345
|
const { execFile: execFile2 } = await import("child_process");
|
|
45338
45346
|
const { promisify: promisify2 } = await import("util");
|
|
45339
45347
|
const exec2 = promisify2(execFile2);
|
|
45340
|
-
await exec2(command, [...args], { timeout: 12e4 });
|
|
45348
|
+
await exec2(command, [...args], { timeout: 12e4, cwd });
|
|
45341
45349
|
return {
|
|
45342
45350
|
name,
|
|
45343
45351
|
verdict: "pass",
|
|
@@ -45355,16 +45363,16 @@ async function runCommandCheck(name, command, args) {
|
|
|
45355
45363
|
}
|
|
45356
45364
|
}
|
|
45357
45365
|
function checkTypeCheck(projectDir) {
|
|
45358
|
-
return () => runCommandCheck("type_check", "npx", ["tsc", "--noEmit", "--project", projectDir]);
|
|
45366
|
+
return () => runCommandCheck("type_check", "npx", ["tsc", "--noEmit", "--project", projectDir], projectDir);
|
|
45359
45367
|
}
|
|
45360
45368
|
function checkLint(projectDir) {
|
|
45361
|
-
return () => runCommandCheck("lint", "npx", ["eslint", "--max-warnings", "0", projectDir]);
|
|
45369
|
+
return () => runCommandCheck("lint", "npx", ["eslint", "--max-warnings", "0", projectDir], projectDir);
|
|
45362
45370
|
}
|
|
45363
45371
|
function checkTests(projectDir) {
|
|
45364
|
-
return () => runCommandCheck("tests", "npx", ["vitest", "run", "--dir", projectDir]);
|
|
45372
|
+
return () => runCommandCheck("tests", "npx", ["vitest", "run", "--dir", projectDir], projectDir);
|
|
45365
45373
|
}
|
|
45366
|
-
function checkBuild() {
|
|
45367
|
-
return () => runCommandCheck("build", "pnpm", ["build"]);
|
|
45374
|
+
function checkBuild(projectDir) {
|
|
45375
|
+
return () => runCommandCheck("build", "pnpm", ["build"], projectDir);
|
|
45368
45376
|
}
|
|
45369
45377
|
function aggregateResults2(checks) {
|
|
45370
45378
|
let pass = 0;
|
|
@@ -45550,7 +45558,7 @@ var memoryInitPromise = null;
|
|
|
45550
45558
|
async function initPipelineMemory() {
|
|
45551
45559
|
if (cachedMemory !== null) return cachedMemory;
|
|
45552
45560
|
try {
|
|
45553
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
45561
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-Y7WMBRAR.js");
|
|
45554
45562
|
const { getLearningDir } = await import("./learning-persistence-EGY4VKKO.js");
|
|
45555
45563
|
const mem = createSessionMemory2(getLearningDir());
|
|
45556
45564
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
@@ -45612,7 +45620,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
|
|
|
45612
45620
|
callRecord(routingMemoryCache);
|
|
45613
45621
|
return;
|
|
45614
45622
|
}
|
|
45615
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
45623
|
+
routingMemoryInitPromise ??= import("./routing-memory-GFCQT2FW.js").then(({ createRoutingMemory }) => {
|
|
45616
45624
|
routingMemoryCache ??= createRoutingMemory();
|
|
45617
45625
|
return routingMemoryCache;
|
|
45618
45626
|
}).catch((error) => {
|
|
@@ -45646,7 +45654,7 @@ ${text}` : "";
|
|
|
45646
45654
|
}
|
|
45647
45655
|
async function getWeatherContext() {
|
|
45648
45656
|
try {
|
|
45649
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
45657
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-3EDM3NPV.js");
|
|
45650
45658
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
45651
45659
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
45652
45660
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -45664,7 +45672,7 @@ ${lines}
|
|
|
45664
45672
|
}
|
|
45665
45673
|
async function getMemoryContext(task) {
|
|
45666
45674
|
try {
|
|
45667
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
45675
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-Y7WMBRAR.js");
|
|
45668
45676
|
const { getLearningDir } = await import("./learning-persistence-EGY4VKKO.js");
|
|
45669
45677
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
45670
45678
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
@@ -45779,7 +45787,7 @@ ${contextBlock}`;
|
|
|
45779
45787
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
45780
45788
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
45781
45789
|
try {
|
|
45782
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
45790
|
+
const { executeVoting } = await import("./consensus-vote-VFOLUM6M.js");
|
|
45783
45791
|
const votingResult = await executeVoting(
|
|
45784
45792
|
{
|
|
45785
45793
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -46220,7 +46228,7 @@ async function searchCodebaseForTask(task) {
|
|
|
46220
46228
|
}
|
|
46221
46229
|
async function queryResearchRegistry(task) {
|
|
46222
46230
|
try {
|
|
46223
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
46231
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-O3UTWKGT.js");
|
|
46224
46232
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
46225
46233
|
if (topic === void 0) return null;
|
|
46226
46234
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -46291,7 +46299,7 @@ function createScanStageWrapper() {
|
|
|
46291
46299
|
try {
|
|
46292
46300
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
46293
46301
|
if (slug !== void 0) {
|
|
46294
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
46302
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-4BYFJZUQ.js");
|
|
46295
46303
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
46296
46304
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
46297
46305
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -48144,7 +48152,7 @@ function buildCheck(name, projectDir) {
|
|
|
48144
48152
|
case "tests":
|
|
48145
48153
|
return checkTests(projectDir);
|
|
48146
48154
|
case "build":
|
|
48147
|
-
return checkBuild();
|
|
48155
|
+
return checkBuild(projectDir);
|
|
48148
48156
|
case "security":
|
|
48149
48157
|
return checkSecurityScan(projectDir);
|
|
48150
48158
|
}
|
|
@@ -49276,7 +49284,7 @@ var GitHubTaskTracker = class {
|
|
|
49276
49284
|
cachedProvider = null;
|
|
49277
49285
|
async getProvider() {
|
|
49278
49286
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
49279
|
-
const { createScmProvider } = await import("./factory-
|
|
49287
|
+
const { createScmProvider } = await import("./factory-VIB7NIV2.js");
|
|
49280
49288
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
49281
49289
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
49282
49290
|
this.cachedProvider = result.value;
|
|
@@ -50118,7 +50126,7 @@ async function probeSource(source, includeModelIds) {
|
|
|
50118
50126
|
}
|
|
50119
50127
|
}
|
|
50120
50128
|
async function defaultSources(includeOpenRouter) {
|
|
50121
|
-
const { createAllAdapters: createAllAdapters2 } = await import("./factory-
|
|
50129
|
+
const { createAllAdapters: createAllAdapters2 } = await import("./factory-7EMZS6OF.js");
|
|
50122
50130
|
const adapters = createAllAdapters2();
|
|
50123
50131
|
return buildDefaultModelSources(adapters, { includeOpenRouter });
|
|
50124
50132
|
}
|
|
@@ -54138,4 +54146,4 @@ export {
|
|
|
54138
54146
|
shutdownFeedbackSubscriber,
|
|
54139
54147
|
createEventBusBridge
|
|
54140
54148
|
};
|
|
54141
|
-
//# sourceMappingURL=chunk-
|
|
54149
|
+
//# sourceMappingURL=chunk-2UKQZKVD.js.map
|