nexus-agents 2.178.1 → 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-VFGPZ7FX.js → chunk-2UKQZKVD.js} +35 -35
- 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-PSSNT4TL.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-BDZJVMEF.js → chunk-HEQSO64K.js} +8 -8
- package/dist/{chunk-BDZJVMEF.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-S5NZVYFW.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-VFGPZ7FX.js.map → chunk-2UKQZKVD.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-PSSNT4TL.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-S5NZVYFW.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,
|
|
@@ -28353,7 +28353,7 @@ function execIdFields(executionId) {
|
|
|
28353
28353
|
async function populateUnifiedContextOnState(state, options) {
|
|
28354
28354
|
const taskCandidate = state["task"];
|
|
28355
28355
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
28356
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
28356
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-ZVFRYEDL.js");
|
|
28357
28357
|
const category = inferTaskCategory2(taskCandidate);
|
|
28358
28358
|
const executionId = options?.executionId;
|
|
28359
28359
|
const execFields = execIdFields(executionId);
|
|
@@ -43889,7 +43889,7 @@ async function tryIssueTriage(task) {
|
|
|
43889
43889
|
try {
|
|
43890
43890
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
43891
43891
|
if (issueMatch === null) return null;
|
|
43892
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
43892
|
+
const { createIssueTriage } = await import("./issue-triage-O6Z2CTJM.js");
|
|
43893
43893
|
const triage = createIssueTriage();
|
|
43894
43894
|
const owner = issueMatch[1] ?? "";
|
|
43895
43895
|
const num = issueMatch[2] ?? "";
|
|
@@ -43917,7 +43917,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
43917
43917
|
]);
|
|
43918
43918
|
async function classifyWithLLM(task) {
|
|
43919
43919
|
try {
|
|
43920
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
43920
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-MMBE2ZPR.js");
|
|
43921
43921
|
const prompt = [
|
|
43922
43922
|
"Classify this task into exactly one pipeline template.",
|
|
43923
43923
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -45558,7 +45558,7 @@ var memoryInitPromise = null;
|
|
|
45558
45558
|
async function initPipelineMemory() {
|
|
45559
45559
|
if (cachedMemory !== null) return cachedMemory;
|
|
45560
45560
|
try {
|
|
45561
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
45561
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-Y7WMBRAR.js");
|
|
45562
45562
|
const { getLearningDir } = await import("./learning-persistence-EGY4VKKO.js");
|
|
45563
45563
|
const mem = createSessionMemory2(getLearningDir());
|
|
45564
45564
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
@@ -45620,7 +45620,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
|
|
|
45620
45620
|
callRecord(routingMemoryCache);
|
|
45621
45621
|
return;
|
|
45622
45622
|
}
|
|
45623
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
45623
|
+
routingMemoryInitPromise ??= import("./routing-memory-GFCQT2FW.js").then(({ createRoutingMemory }) => {
|
|
45624
45624
|
routingMemoryCache ??= createRoutingMemory();
|
|
45625
45625
|
return routingMemoryCache;
|
|
45626
45626
|
}).catch((error) => {
|
|
@@ -45654,7 +45654,7 @@ ${text}` : "";
|
|
|
45654
45654
|
}
|
|
45655
45655
|
async function getWeatherContext() {
|
|
45656
45656
|
try {
|
|
45657
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
45657
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-3EDM3NPV.js");
|
|
45658
45658
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
45659
45659
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
45660
45660
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -45672,7 +45672,7 @@ ${lines}
|
|
|
45672
45672
|
}
|
|
45673
45673
|
async function getMemoryContext(task) {
|
|
45674
45674
|
try {
|
|
45675
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
45675
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-Y7WMBRAR.js");
|
|
45676
45676
|
const { getLearningDir } = await import("./learning-persistence-EGY4VKKO.js");
|
|
45677
45677
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
45678
45678
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
@@ -45787,7 +45787,7 @@ ${contextBlock}`;
|
|
|
45787
45787
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
45788
45788
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
45789
45789
|
try {
|
|
45790
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
45790
|
+
const { executeVoting } = await import("./consensus-vote-VFOLUM6M.js");
|
|
45791
45791
|
const votingResult = await executeVoting(
|
|
45792
45792
|
{
|
|
45793
45793
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -46228,7 +46228,7 @@ async function searchCodebaseForTask(task) {
|
|
|
46228
46228
|
}
|
|
46229
46229
|
async function queryResearchRegistry(task) {
|
|
46230
46230
|
try {
|
|
46231
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
46231
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-O3UTWKGT.js");
|
|
46232
46232
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
46233
46233
|
if (topic === void 0) return null;
|
|
46234
46234
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -46299,7 +46299,7 @@ function createScanStageWrapper() {
|
|
|
46299
46299
|
try {
|
|
46300
46300
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
46301
46301
|
if (slug !== void 0) {
|
|
46302
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
46302
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-4BYFJZUQ.js");
|
|
46303
46303
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
46304
46304
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
46305
46305
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -49284,7 +49284,7 @@ var GitHubTaskTracker = class {
|
|
|
49284
49284
|
cachedProvider = null;
|
|
49285
49285
|
async getProvider() {
|
|
49286
49286
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
49287
|
-
const { createScmProvider } = await import("./factory-
|
|
49287
|
+
const { createScmProvider } = await import("./factory-VIB7NIV2.js");
|
|
49288
49288
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
49289
49289
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
49290
49290
|
this.cachedProvider = result.value;
|
|
@@ -50126,7 +50126,7 @@ async function probeSource(source, includeModelIds) {
|
|
|
50126
50126
|
}
|
|
50127
50127
|
}
|
|
50128
50128
|
async function defaultSources(includeOpenRouter) {
|
|
50129
|
-
const { createAllAdapters: createAllAdapters2 } = await import("./factory-
|
|
50129
|
+
const { createAllAdapters: createAllAdapters2 } = await import("./factory-7EMZS6OF.js");
|
|
50130
50130
|
const adapters = createAllAdapters2();
|
|
50131
50131
|
return buildDefaultModelSources(adapters, { includeOpenRouter });
|
|
50132
50132
|
}
|
|
@@ -54146,4 +54146,4 @@ export {
|
|
|
54146
54146
|
shutdownFeedbackSubscriber,
|
|
54147
54147
|
createEventBusBridge
|
|
54148
54148
|
};
|
|
54149
|
-
//# sourceMappingURL=chunk-
|
|
54149
|
+
//# sourceMappingURL=chunk-2UKQZKVD.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
createLogger,
|
|
6
6
|
getTimeProvider
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-UU6NLFCT.js";
|
|
8
8
|
|
|
9
9
|
// src/mcp/tools/scanner-registry-fetcher.ts
|
|
10
10
|
import { z } from "zod";
|
|
@@ -721,4 +721,4 @@ export {
|
|
|
721
721
|
generateSecurityPlan,
|
|
722
722
|
buildPlanFromAnalysis
|
|
723
723
|
};
|
|
724
|
-
//# sourceMappingURL=chunk-
|
|
724
|
+
//# sourceMappingURL=chunk-3JH24XIY.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
emitClawGuardViolation
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2J4J5QKD.js";
|
|
4
4
|
import {
|
|
5
5
|
CACHE_TIMEOUTS,
|
|
6
6
|
MCP_TIMEOUTS,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
getTimeProvider,
|
|
17
17
|
ok,
|
|
18
18
|
resolveToolClassGuardMs
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-UU6NLFCT.js";
|
|
20
20
|
import {
|
|
21
21
|
getNexusDataDir
|
|
22
22
|
} from "./chunk-OQLFRJCW.js";
|
|
@@ -2023,4 +2023,4 @@ export {
|
|
|
2023
2023
|
VOTING_THRESHOLDS,
|
|
2024
2024
|
ConsensusMetricsSchema
|
|
2025
2025
|
};
|
|
2026
|
-
//# sourceMappingURL=chunk-
|
|
2026
|
+
//# sourceMappingURL=chunk-3VRG7I7N.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createAutoAdapter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NO6GYQAS.js";
|
|
4
4
|
import {
|
|
5
5
|
mapModelErrorToCategory
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JKGYQG6V.js";
|
|
7
7
|
import {
|
|
8
8
|
CLI_NAMES,
|
|
9
9
|
CircularBuffer,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
ok,
|
|
22
22
|
recordRateLimitEvent,
|
|
23
23
|
toRateLimitError
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-UU6NLFCT.js";
|
|
25
25
|
|
|
26
26
|
// src/agents/collaboration/event-bus-helpers.ts
|
|
27
27
|
import { randomUUID } from "crypto";
|
|
@@ -833,4 +833,4 @@ export {
|
|
|
833
833
|
getGlobalRegistry,
|
|
834
834
|
resetGlobalRegistry
|
|
835
835
|
};
|
|
836
|
-
//# sourceMappingURL=chunk-
|
|
836
|
+
//# sourceMappingURL=chunk-4LLIXFC2.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-6T3EPABN.js";
|
|
6
6
|
import {
|
|
7
7
|
SessionMemory
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-V55IINXG.js";
|
|
9
9
|
import {
|
|
10
10
|
StatsOnlyAdapter,
|
|
11
11
|
ensureSharedMemoryRegistry
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-KSQSWEFH.js";
|
|
16
16
|
import {
|
|
17
17
|
generateId
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-BFDUELKY.js";
|
|
19
19
|
import {
|
|
20
20
|
ErrorCode,
|
|
21
21
|
NexusError,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
getTimeProvider,
|
|
29
29
|
ok,
|
|
30
30
|
setSharedMobiMemDbPathResolver
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-UU6NLFCT.js";
|
|
32
32
|
import {
|
|
33
33
|
nexusDataPath
|
|
34
34
|
} from "./chunk-OQLFRJCW.js";
|
|
@@ -5552,4 +5552,4 @@ export {
|
|
|
5552
5552
|
reinitializeMemoryBackends,
|
|
5553
5553
|
ToolMemoryManager
|
|
5554
5554
|
};
|
|
5555
|
-
//# sourceMappingURL=chunk-
|
|
5555
|
+
//# sourceMappingURL=chunk-4QAYK6FB.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
createLogger,
|
|
4
4
|
err,
|
|
5
5
|
ok
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UU6NLFCT.js";
|
|
7
7
|
|
|
8
8
|
// src/adapters/sdk/types.ts
|
|
9
9
|
var PROVIDER_ENV_KEYS = {
|
|
@@ -169,4 +169,4 @@ export {
|
|
|
169
169
|
validateCustomApiBaseUrl,
|
|
170
170
|
assertCustomApiHostResolvesPublic
|
|
171
171
|
};
|
|
172
|
-
//# sourceMappingURL=chunk-
|
|
172
|
+
//# sourceMappingURL=chunk-54MDYWNI.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadPapersRegistry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6H7U2JU4.js";
|
|
4
4
|
import {
|
|
5
5
|
getErrorMessage
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UU6NLFCT.js";
|
|
7
7
|
|
|
8
8
|
// src/cli/research-helpers-synthesize.ts
|
|
9
9
|
import { z } from "zod";
|
|
@@ -876,4 +876,4 @@ export {
|
|
|
876
876
|
AttributedInsightSchema,
|
|
877
877
|
synthesizeResearch
|
|
878
878
|
};
|
|
879
|
-
//# sourceMappingURL=chunk-
|
|
879
|
+
//# sourceMappingURL=chunk-6A33GEM2.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
err,
|
|
5
5
|
getErrorMessage,
|
|
6
6
|
ok
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-UU6NLFCT.js";
|
|
8
8
|
|
|
9
9
|
// src/scm/types.ts
|
|
10
10
|
var ScmError = class extends Error {
|
|
@@ -263,4 +263,4 @@ export {
|
|
|
263
263
|
ScmError,
|
|
264
264
|
GitHubProvider
|
|
265
265
|
};
|
|
266
|
-
//# sourceMappingURL=chunk-
|
|
266
|
+
//# sourceMappingURL=chunk-6BQNRHIH.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
getErrorMessage,
|
|
9
9
|
ok,
|
|
10
10
|
parseBoolEnv
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-UU6NLFCT.js";
|
|
12
12
|
|
|
13
13
|
// src/cli/research-helpers-io.ts
|
|
14
14
|
import * as fs2 from "fs/promises";
|
|
@@ -146,4 +146,4 @@ export {
|
|
|
146
146
|
loadPapersRegistry,
|
|
147
147
|
savePapersRegistry
|
|
148
148
|
};
|
|
149
|
-
//# sourceMappingURL=chunk-
|
|
149
|
+
//# sourceMappingURL=chunk-6H7U2JU4.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runConfigInitSync
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KDZCQPLH.js";
|
|
4
4
|
import {
|
|
5
5
|
VERSION,
|
|
6
6
|
checkApiKeys,
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
checkSqlite,
|
|
9
9
|
defaultConfig,
|
|
10
10
|
initDataDirectories
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-HEQSO64K.js";
|
|
12
12
|
import {
|
|
13
13
|
BUILT_IN_EXPERTS
|
|
14
14
|
} from "./chunk-YPNQPT2F.js";
|
|
15
15
|
import {
|
|
16
16
|
probeAllClis
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-NO6GYQAS.js";
|
|
18
18
|
import {
|
|
19
19
|
CLI_SUBPROCESS_TIMEOUTS,
|
|
20
20
|
colors,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
getErrorMessage,
|
|
26
26
|
getTimeProvider,
|
|
27
27
|
symbols
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-UU6NLFCT.js";
|
|
29
29
|
import {
|
|
30
30
|
ensureGitignored,
|
|
31
31
|
findRepoRoot
|
|
@@ -2001,4 +2001,4 @@ export {
|
|
|
2001
2001
|
setupCommand,
|
|
2002
2002
|
setupCommandAsync
|
|
2003
2003
|
};
|
|
2004
|
-
//# sourceMappingURL=chunk-
|
|
2004
|
+
//# sourceMappingURL=chunk-6ZFBEINO.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getDefaultRegistry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UU6NLFCT.js";
|
|
4
4
|
import {
|
|
5
5
|
getNexusDataDir
|
|
6
6
|
} from "./chunk-OQLFRJCW.js";
|
|
@@ -124,4 +124,4 @@ export {
|
|
|
124
124
|
loadUsageEvents,
|
|
125
125
|
rollupByModel
|
|
126
126
|
};
|
|
127
|
-
//# sourceMappingURL=chunk-
|
|
127
|
+
//# sourceMappingURL=chunk-7T5LHZLI.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GitHubProvider,
|
|
3
3
|
ScmError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-6BQNRHIH.js";
|
|
5
5
|
import {
|
|
6
6
|
resolveToken
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KAP2ANOE.js";
|
|
8
8
|
import {
|
|
9
9
|
err,
|
|
10
10
|
ok
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-UU6NLFCT.js";
|
|
12
12
|
|
|
13
13
|
// src/scm/factory.ts
|
|
14
14
|
async function createScmProvider(config) {
|
|
@@ -41,4 +41,4 @@ export {
|
|
|
41
41
|
createScmProvider,
|
|
42
42
|
createGitHubProvider
|
|
43
43
|
};
|
|
44
|
-
//# sourceMappingURL=chunk-
|
|
44
|
+
//# sourceMappingURL=chunk-7YGC7EHO.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getRandomProvider,
|
|
3
3
|
getTimeProvider
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UU6NLFCT.js";
|
|
5
5
|
|
|
6
6
|
// src/utils/id-utils.ts
|
|
7
7
|
import { randomUUID } from "crypto";
|
|
@@ -24,4 +24,4 @@ export {
|
|
|
24
24
|
generateHyphenId,
|
|
25
25
|
generateUUID
|
|
26
26
|
};
|
|
27
|
-
//# sourceMappingURL=chunk-
|
|
27
|
+
//# sourceMappingURL=chunk-BFDUELKY.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveCliSlot
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JHJV7CYZ.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger,
|
|
6
6
|
getTimeProvider,
|
|
7
7
|
isRateLimitText
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-UU6NLFCT.js";
|
|
9
9
|
|
|
10
10
|
// src/pipeline/expert-bridge.ts
|
|
11
11
|
function resolveCliFromModelString(model) {
|
|
@@ -21,7 +21,7 @@ async function getMcpConfigPath() {
|
|
|
21
21
|
if (cachedMcpConfigPath !== null) return cachedMcpConfigPath;
|
|
22
22
|
mcpConfigInitPromise ??= (async () => {
|
|
23
23
|
try {
|
|
24
|
-
const { generateMcpConfig } = await import("./child-mcp-config-
|
|
24
|
+
const { generateMcpConfig } = await import("./child-mcp-config-ZW5PFQEJ.js");
|
|
25
25
|
const config = await generateMcpConfig();
|
|
26
26
|
cachedMcpConfigPath = config.configPath;
|
|
27
27
|
cachedMcpConfigCleanup = config.cleanup;
|
|
@@ -93,8 +93,8 @@ var routerInitPromise = null;
|
|
|
93
93
|
async function getRouter() {
|
|
94
94
|
if (cachedRouter !== null) return cachedRouter;
|
|
95
95
|
routerInitPromise ??= (async () => {
|
|
96
|
-
const { createAllAdapters } = await import("./factory-
|
|
97
|
-
const { createCompositeRouter } = await import("./composite-router-
|
|
96
|
+
const { createAllAdapters } = await import("./factory-7EMZS6OF.js");
|
|
97
|
+
const { createCompositeRouter } = await import("./composite-router-KM4TDC75.js");
|
|
98
98
|
const adapters = createAllAdapters();
|
|
99
99
|
if (adapters.size === 0) {
|
|
100
100
|
routerInitPromise = null;
|
|
@@ -102,7 +102,7 @@ async function getRouter() {
|
|
|
102
102
|
}
|
|
103
103
|
cachedRouter = adaptCompositeRouter(createCompositeRouter(adapters));
|
|
104
104
|
try {
|
|
105
|
-
const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-
|
|
105
|
+
const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-HLZ72N2A.js");
|
|
106
106
|
cachedCircuitBreaker = createCliCircuitBreakerIntegration([...adapters.values()]);
|
|
107
107
|
} catch (error) {
|
|
108
108
|
const msg = error instanceof Error ? error.message : String(error);
|
|
@@ -213,4 +213,4 @@ export {
|
|
|
213
213
|
tokenSplitFromUsage,
|
|
214
214
|
executeExpert
|
|
215
215
|
};
|
|
216
|
-
//# sourceMappingURL=chunk-
|
|
216
|
+
//# sourceMappingURL=chunk-D3SA4NDV.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
computeCostDetail
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7T5LHZLI.js";
|
|
4
4
|
import {
|
|
5
5
|
DEFAULT_CONSENSUS_CONFIG,
|
|
6
6
|
DEFAULT_INCREMENTAL_QUORUM_CONFIG,
|
|
@@ -18,20 +18,20 @@ import {
|
|
|
18
18
|
toolSuccess,
|
|
19
19
|
withProgressHeartbeat,
|
|
20
20
|
wrapToolWithTimeout
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-3VRG7I7N.js";
|
|
22
22
|
import {
|
|
23
23
|
createEvent,
|
|
24
24
|
getGlobalRegistry
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-4LLIXFC2.js";
|
|
26
26
|
import {
|
|
27
27
|
getToolMemory
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-4QAYK6FB.js";
|
|
29
29
|
import {
|
|
30
30
|
authRemediation,
|
|
31
31
|
delay,
|
|
32
32
|
getAvailableClis,
|
|
33
33
|
withTimeout
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-NO6GYQAS.js";
|
|
35
35
|
import {
|
|
36
36
|
AgentError,
|
|
37
37
|
CLI_NAMES,
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
resolveClassGuardMs,
|
|
61
61
|
resolveModelIdentitySync,
|
|
62
62
|
resolveVoteTimeout
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-UU6NLFCT.js";
|
|
64
64
|
import {
|
|
65
65
|
ensureLearningDir,
|
|
66
66
|
getOutcomesFile
|
|
@@ -5939,7 +5939,7 @@ async function processVotesWithCascade(engineVotes, opts) {
|
|
|
5939
5939
|
var CONTRARIAN_ESCALATION_THRESHOLD = 0.8;
|
|
5940
5940
|
async function runContrarianCheck(proposal, log) {
|
|
5941
5941
|
try {
|
|
5942
|
-
const { executeExpert } = await import("./expert-bridge-
|
|
5942
|
+
const { executeExpert } = await import("./expert-bridge-MMBE2ZPR.js");
|
|
5943
5943
|
const prompt = [
|
|
5944
5944
|
"You are a contrarian analyst. Your job is to find reasons this proposal should be REJECTED.",
|
|
5945
5945
|
"Look for: YAGNI (not needed), MISALIGNED (wrong tech/architecture), SECURITY_RISK, SCOPE_CREEP.",
|
|
@@ -6466,4 +6466,4 @@ export {
|
|
|
6466
6466
|
CONSENSUS_VOTE_OUTPUT_SCHEMA,
|
|
6467
6467
|
registerConsensusVoteTool
|
|
6468
6468
|
};
|
|
6469
|
-
//# sourceMappingURL=chunk-
|
|
6469
|
+
//# sourceMappingURL=chunk-DYIDH4YE.js.map
|