nexus-agents 4.22.2 → 4.22.4
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-Y3QSDCYI.js → child-mcp-config-I3IQVN7P.js} +2 -2
- package/dist/{chunk-DGLAEH7Y.js → chunk-3K3IPRED.js} +2 -2
- package/dist/{chunk-IK6JPHMX.js → chunk-3PVG7CQS.js} +5 -5
- package/dist/{chunk-KDUSLLZM.js → chunk-5RC54HVU.js} +2 -2
- package/dist/{chunk-XYWCZNFC.js → chunk-5YBFBXEB.js} +2 -2
- package/dist/{chunk-FVUQY73A.js → chunk-6TV765AS.js} +2 -2
- package/dist/{chunk-GMJQ6QMZ.js → chunk-7MBFKJJT.js} +2 -2
- package/dist/{chunk-JR4XD3T7.js → chunk-ANVPNLZE.js} +4 -4
- package/dist/{chunk-RE2GYZRK.js → chunk-AXG2IGOK.js} +5 -5
- package/dist/{chunk-6U3LS57H.js → chunk-BTAWCQP6.js} +6 -6
- package/dist/{chunk-CQ77TF4Y.js → chunk-BYUVLVN7.js} +1 -1
- package/dist/{chunk-CQ77TF4Y.js.map → chunk-BYUVLVN7.js.map} +1 -1
- package/dist/{chunk-QRG7UR2F.js → chunk-BZGTZKXY.js} +2 -2
- package/dist/{chunk-MM7BINTV.js → chunk-DXWF7V74.js} +3 -3
- package/dist/{chunk-P422WQJM.js → chunk-EPOKODTI.js} +2 -2
- package/dist/{chunk-JDWXD3YZ.js → chunk-HLVST3JE.js} +7 -7
- package/dist/{chunk-RMTTKP4L.js → chunk-HWPFUVMS.js} +2 -2
- package/dist/{chunk-BK3NHWSW.js → chunk-I6YC5PIL.js} +13 -7
- package/dist/chunk-I6YC5PIL.js.map +1 -0
- package/dist/{chunk-EU7S5CDW.js → chunk-IBW6CJ4G.js} +4 -4
- package/dist/{chunk-CBORIR4Y.js → chunk-MCCN5UUW.js} +2 -2
- package/dist/{chunk-SBLLJXJO.js → chunk-N45MVUY7.js} +5 -4
- package/dist/{chunk-SBLLJXJO.js.map → chunk-N45MVUY7.js.map} +1 -1
- package/dist/{chunk-H7CV35LZ.js → chunk-NQ65EKMG.js} +3 -3
- package/dist/{chunk-D6ZTSN34.js → chunk-PLO6VSSN.js} +8 -20
- package/dist/chunk-PLO6VSSN.js.map +1 -0
- package/dist/{chunk-TBXAEAKP.js → chunk-PX7AYAHF.js} +2 -2
- package/dist/{chunk-MTGMOLRO.js → chunk-QQS6FVTQ.js} +2 -2
- package/dist/{chunk-V533P6BT.js → chunk-QS5K3PAY.js} +4 -4
- package/dist/{chunk-JV6SMJMJ.js → chunk-RF5N4HME.js} +2 -2
- package/dist/{chunk-TMKBZG3W.js → chunk-RXGHRVL2.js} +2 -2
- package/dist/{chunk-JM42KPWJ.js → chunk-SBWVYOTV.js} +8 -8
- package/dist/{chunk-ICGYXBS6.js → chunk-SJPZHT6D.js} +2 -2
- package/dist/{chunk-2SVIHHNJ.js → chunk-TBWKMKCX.js} +6 -4
- package/dist/{chunk-2SVIHHNJ.js.map → chunk-TBWKMKCX.js.map} +1 -1
- package/dist/{chunk-BG2LQ5I2.js → chunk-VDEDTAHZ.js} +99 -56
- package/dist/{chunk-BG2LQ5I2.js.map → chunk-VDEDTAHZ.js.map} +1 -1
- package/dist/{chunk-PSXX2GBZ.js → chunk-VSHQMS37.js} +7 -7
- package/dist/{chunk-X7MLVGJV.js → chunk-YSOWQJ5S.js} +2 -2
- package/dist/{chunk-W2DYH4WL.js → chunk-ZRSKNV3E.js} +8 -8
- package/dist/{cli-circuit-breaker-T2IKLJVA.js → cli-circuit-breaker-OKOGXUQY.js} +3 -3
- package/dist/cli.js +41 -43
- package/dist/cli.js.map +1 -1
- package/dist/{composite-router-CCDCVYTY.js → composite-router-UFQSYHJF.js} +2 -2
- package/dist/{consensus-vote-TMMGZROW.js → consensus-vote-65UZRQMY.js} +16 -16
- package/dist/{context-retriever-CKJ7EJME.js → context-retriever-BROUADMF.js} +8 -8
- package/dist/{doctor-deep-MIQ5QYUL.js → doctor-deep-SBSUG54R.js} +3 -3
- package/dist/{doctor-live-IAERE7DO.js → doctor-live-LBH7XDZX.js} +9 -9
- package/dist/{expert-bridge-5MK4DOB7.js → expert-bridge-H6ITLZUY.js} +4 -4
- package/dist/{factory-OO7MN24L.js → factory-WJ6AV4WU.js} +5 -5
- package/dist/{factory-6FNJM6P3.js → factory-ZIYR7YJ3.js} +9 -9
- package/dist/{improvement-review-DKCVIJSF.js → improvement-review-LJQ2CXAP.js} +5 -5
- package/dist/index.js +31 -31
- package/dist/{init-opencode-CM2HL2PI.js → init-opencode-NTS5ZWXU.js} +6 -6
- package/dist/issue-triage-PM67ACC5.js +17 -0
- package/dist/{pr-reviewer-helpers-Q6GRH5PP.js → pr-reviewer-helpers-IAKFHBM6.js} +5 -5
- package/dist/{registry-command-BYRGRQ3I.js → registry-command-6HVXEW23.js} +2 -2
- package/dist/{repo-security-plan-NP6AT3NR.js → repo-security-plan-MF4E5MG6.js} +3 -3
- package/dist/{research-helpers-synthesize-2R6TO2SP.js → research-helpers-synthesize-2XQBWVG6.js} +4 -4
- package/dist/{routing-memory-IZH3XQQH.js → routing-memory-YIKR7EMC.js} +2 -2
- package/dist/{session-memory-OWEWA5BX.js → session-memory-B6TFD55A.js} +3 -3
- package/dist/{setup-config-O7LHHD42.js → setup-config-A5DWVRQB.js} +3 -3
- package/dist/{setup-custom-api-OZ3QCQTJ.js → setup-custom-api-ATC26B2O.js} +4 -4
- package/dist/setup-data-dir-DWMKVY6G.js +28 -0
- package/dist/{tool-memory-LYKMCW7U.js → tool-memory-XDUJUM2O.js} +5 -5
- package/dist/{unified-registry-ZSPVJ4BO.js → unified-registry-H2NNOXB3.js} +10 -10
- package/dist/{weather-report-4OFVK5Q5.js → weather-report-YDYML3JW.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-BK3NHWSW.js.map +0 -1
- package/dist/chunk-D6ZTSN34.js.map +0 -1
- package/dist/issue-triage-NH25YRNT.js +0 -17
- package/dist/setup-data-dir-T6K5PKM5.js +0 -28
- /package/dist/{child-mcp-config-Y3QSDCYI.js.map → child-mcp-config-I3IQVN7P.js.map} +0 -0
- /package/dist/{chunk-DGLAEH7Y.js.map → chunk-3K3IPRED.js.map} +0 -0
- /package/dist/{chunk-IK6JPHMX.js.map → chunk-3PVG7CQS.js.map} +0 -0
- /package/dist/{chunk-KDUSLLZM.js.map → chunk-5RC54HVU.js.map} +0 -0
- /package/dist/{chunk-XYWCZNFC.js.map → chunk-5YBFBXEB.js.map} +0 -0
- /package/dist/{chunk-FVUQY73A.js.map → chunk-6TV765AS.js.map} +0 -0
- /package/dist/{chunk-GMJQ6QMZ.js.map → chunk-7MBFKJJT.js.map} +0 -0
- /package/dist/{chunk-JR4XD3T7.js.map → chunk-ANVPNLZE.js.map} +0 -0
- /package/dist/{chunk-RE2GYZRK.js.map → chunk-AXG2IGOK.js.map} +0 -0
- /package/dist/{chunk-6U3LS57H.js.map → chunk-BTAWCQP6.js.map} +0 -0
- /package/dist/{chunk-QRG7UR2F.js.map → chunk-BZGTZKXY.js.map} +0 -0
- /package/dist/{chunk-MM7BINTV.js.map → chunk-DXWF7V74.js.map} +0 -0
- /package/dist/{chunk-P422WQJM.js.map → chunk-EPOKODTI.js.map} +0 -0
- /package/dist/{chunk-JDWXD3YZ.js.map → chunk-HLVST3JE.js.map} +0 -0
- /package/dist/{chunk-RMTTKP4L.js.map → chunk-HWPFUVMS.js.map} +0 -0
- /package/dist/{chunk-EU7S5CDW.js.map → chunk-IBW6CJ4G.js.map} +0 -0
- /package/dist/{chunk-CBORIR4Y.js.map → chunk-MCCN5UUW.js.map} +0 -0
- /package/dist/{chunk-H7CV35LZ.js.map → chunk-NQ65EKMG.js.map} +0 -0
- /package/dist/{chunk-TBXAEAKP.js.map → chunk-PX7AYAHF.js.map} +0 -0
- /package/dist/{chunk-MTGMOLRO.js.map → chunk-QQS6FVTQ.js.map} +0 -0
- /package/dist/{chunk-V533P6BT.js.map → chunk-QS5K3PAY.js.map} +0 -0
- /package/dist/{chunk-JV6SMJMJ.js.map → chunk-RF5N4HME.js.map} +0 -0
- /package/dist/{chunk-TMKBZG3W.js.map → chunk-RXGHRVL2.js.map} +0 -0
- /package/dist/{chunk-JM42KPWJ.js.map → chunk-SBWVYOTV.js.map} +0 -0
- /package/dist/{chunk-ICGYXBS6.js.map → chunk-SJPZHT6D.js.map} +0 -0
- /package/dist/{chunk-PSXX2GBZ.js.map → chunk-VSHQMS37.js.map} +0 -0
- /package/dist/{chunk-X7MLVGJV.js.map → chunk-YSOWQJ5S.js.map} +0 -0
- /package/dist/{chunk-W2DYH4WL.js.map → chunk-ZRSKNV3E.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-T2IKLJVA.js.map → cli-circuit-breaker-OKOGXUQY.js.map} +0 -0
- /package/dist/{composite-router-CCDCVYTY.js.map → composite-router-UFQSYHJF.js.map} +0 -0
- /package/dist/{consensus-vote-TMMGZROW.js.map → consensus-vote-65UZRQMY.js.map} +0 -0
- /package/dist/{context-retriever-CKJ7EJME.js.map → context-retriever-BROUADMF.js.map} +0 -0
- /package/dist/{doctor-deep-MIQ5QYUL.js.map → doctor-deep-SBSUG54R.js.map} +0 -0
- /package/dist/{doctor-live-IAERE7DO.js.map → doctor-live-LBH7XDZX.js.map} +0 -0
- /package/dist/{expert-bridge-5MK4DOB7.js.map → expert-bridge-H6ITLZUY.js.map} +0 -0
- /package/dist/{factory-6FNJM6P3.js.map → factory-WJ6AV4WU.js.map} +0 -0
- /package/dist/{factory-OO7MN24L.js.map → factory-ZIYR7YJ3.js.map} +0 -0
- /package/dist/{improvement-review-DKCVIJSF.js.map → improvement-review-LJQ2CXAP.js.map} +0 -0
- /package/dist/{init-opencode-CM2HL2PI.js.map → init-opencode-NTS5ZWXU.js.map} +0 -0
- /package/dist/{issue-triage-NH25YRNT.js.map → issue-triage-PM67ACC5.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-Q6GRH5PP.js.map → pr-reviewer-helpers-IAKFHBM6.js.map} +0 -0
- /package/dist/{registry-command-BYRGRQ3I.js.map → registry-command-6HVXEW23.js.map} +0 -0
- /package/dist/{repo-security-plan-NP6AT3NR.js.map → repo-security-plan-MF4E5MG6.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-2R6TO2SP.js.map → research-helpers-synthesize-2XQBWVG6.js.map} +0 -0
- /package/dist/{routing-memory-IZH3XQQH.js.map → routing-memory-YIKR7EMC.js.map} +0 -0
- /package/dist/{session-memory-OWEWA5BX.js.map → session-memory-B6TFD55A.js.map} +0 -0
- /package/dist/{setup-config-O7LHHD42.js.map → setup-config-A5DWVRQB.js.map} +0 -0
- /package/dist/{setup-custom-api-OZ3QCQTJ.js.map → setup-custom-api-ATC26B2O.js.map} +0 -0
- /package/dist/{setup-data-dir-T6K5PKM5.js.map → setup-data-dir-DWMKVY6G.js.map} +0 -0
- /package/dist/{tool-memory-LYKMCW7U.js.map → tool-memory-XDUJUM2O.js.map} +0 -0
- /package/dist/{unified-registry-ZSPVJ4BO.js.map → unified-registry-H2NNOXB3.js.map} +0 -0
- /package/dist/{weather-report-4OFVK5Q5.js.map → weather-report-YDYML3JW.js.map} +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveCliSlot
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HWPFUVMS.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger,
|
|
6
6
|
getTimeProvider,
|
|
7
7
|
isRateLimitText
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TBWKMKCX.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-I3IQVN7P.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-ZIYR7YJ3.js");
|
|
97
|
+
const { createCompositeRouter } = await import("./composite-router-UFQSYHJF.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-OKOGXUQY.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-VSHQMS37.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTimeProvider
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TBWKMKCX.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-YSOWQJ5S.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
computeCostDetail,
|
|
3
3
|
priceBasisOf
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PX7AYAHF.js";
|
|
5
5
|
import {
|
|
6
6
|
allOf
|
|
7
7
|
} from "./chunk-OQB3XC5O.js";
|
|
@@ -22,22 +22,22 @@ import {
|
|
|
22
22
|
toolSuccess,
|
|
23
23
|
withProgressHeartbeat,
|
|
24
24
|
wrapToolWithTimeout
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-PLO6VSSN.js";
|
|
26
26
|
import {
|
|
27
27
|
assessPanelIndependence,
|
|
28
28
|
countDistinctModels,
|
|
29
29
|
createEvent,
|
|
30
30
|
getGlobalRegistry
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-QS5K3PAY.js";
|
|
32
32
|
import {
|
|
33
33
|
getToolMemory
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-IBW6CJ4G.js";
|
|
35
35
|
import {
|
|
36
36
|
authRemediation,
|
|
37
37
|
delay,
|
|
38
38
|
getAvailableClis,
|
|
39
39
|
withTimeout
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-SBWVYOTV.js";
|
|
41
41
|
import {
|
|
42
42
|
AgentError,
|
|
43
43
|
CLI_NAMES,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
registerPersistentOutcomeStoreFactory,
|
|
66
66
|
resolveClassGuardMs,
|
|
67
67
|
resolveVoteTimeout
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-TBWKMKCX.js";
|
|
69
69
|
import {
|
|
70
70
|
ensureLearningDir,
|
|
71
71
|
getOutcomesFile
|
|
@@ -6198,7 +6198,7 @@ async function processVotesWithCascade(engineVotes, opts) {
|
|
|
6198
6198
|
var CONTRARIAN_ESCALATION_THRESHOLD = 0.8;
|
|
6199
6199
|
async function runContrarianCheck(proposal, log) {
|
|
6200
6200
|
try {
|
|
6201
|
-
const { executeExpert } = await import("./expert-bridge-
|
|
6201
|
+
const { executeExpert } = await import("./expert-bridge-H6ITLZUY.js");
|
|
6202
6202
|
const prompt = [
|
|
6203
6203
|
"You are a contrarian analyst. Your job is to find reasons this proposal should be REJECTED.",
|
|
6204
6204
|
"Look for: YAGNI (not needed), MISALIGNED (wrong tech/architecture), SECURITY_RISK, SCOPE_CREEP.",
|
|
@@ -6749,4 +6749,4 @@ export {
|
|
|
6749
6749
|
CONSENSUS_VOTE_TOOL_SCHEMA,
|
|
6750
6750
|
registerConsensusVoteTool
|
|
6751
6751
|
};
|
|
6752
|
-
//# sourceMappingURL=chunk-
|
|
6752
|
+
//# sourceMappingURL=chunk-ZRSKNV3E.js.map
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
createCliCircuitBreakerIntegration,
|
|
4
4
|
getCliCircuitBreakerSnapshot,
|
|
5
5
|
getDefaultCliCircuitBreakerRegistry
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-N45MVUY7.js";
|
|
7
|
+
import "./chunk-TBWKMKCX.js";
|
|
8
8
|
import "./chunk-HHLCAWAV.js";
|
|
9
9
|
import "./chunk-NBMWONHE.js";
|
|
10
10
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -14,4 +14,4 @@ export {
|
|
|
14
14
|
getCliCircuitBreakerSnapshot,
|
|
15
15
|
getDefaultCliCircuitBreakerRegistry
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=cli-circuit-breaker-
|
|
17
|
+
//# sourceMappingURL=cli-circuit-breaker-OKOGXUQY.js.map
|
package/dist/cli.js
CHANGED
|
@@ -18,11 +18,11 @@ import {
|
|
|
18
18
|
generateSummary,
|
|
19
19
|
parseFindings,
|
|
20
20
|
sumFindings
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-I6YC5PIL.js";
|
|
22
|
+
import "./chunk-RF5N4HME.js";
|
|
23
23
|
import {
|
|
24
24
|
runConfigInitSync
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-6TV765AS.js";
|
|
26
26
|
import {
|
|
27
27
|
AuthHandler,
|
|
28
28
|
CustomExpertDefinitionSchema,
|
|
@@ -146,21 +146,20 @@ import {
|
|
|
146
146
|
shutdownFeedbackSubscriber,
|
|
147
147
|
shutdownSwarmHealthSignals,
|
|
148
148
|
startFailoverSignals,
|
|
149
|
-
startFeedbackSubscriber,
|
|
150
149
|
startSwarmHealthSignals,
|
|
151
150
|
validateArgs,
|
|
152
151
|
validateCommand,
|
|
153
152
|
validateNexusEnv,
|
|
154
153
|
validateWorkflow,
|
|
155
154
|
wrapInMarkdownFence
|
|
156
|
-
} from "./chunk-
|
|
157
|
-
import "./chunk-
|
|
155
|
+
} from "./chunk-VDEDTAHZ.js";
|
|
156
|
+
import "./chunk-BZGTZKXY.js";
|
|
158
157
|
import "./chunk-HFOQKCD2.js";
|
|
159
158
|
import "./chunk-RSMG2DPB.js";
|
|
160
159
|
import {
|
|
161
160
|
CATEGORY_DISPLAY_NAMES,
|
|
162
161
|
DEFAULT_PR_REVIEW_CONFIG
|
|
163
|
-
} from "./chunk-
|
|
162
|
+
} from "./chunk-BYUVLVN7.js";
|
|
164
163
|
import {
|
|
165
164
|
DATA_SUBDIRECTORIES,
|
|
166
165
|
VERSION,
|
|
@@ -173,14 +172,14 @@ import {
|
|
|
173
172
|
doctorCommand,
|
|
174
173
|
initDataDirectories,
|
|
175
174
|
runDoctor
|
|
176
|
-
} from "./chunk-
|
|
175
|
+
} from "./chunk-HLVST3JE.js";
|
|
177
176
|
import {
|
|
178
177
|
buildOpenAICompatAdapters,
|
|
179
178
|
readOpenAICompatEnv
|
|
180
|
-
} from "./chunk-
|
|
179
|
+
} from "./chunk-AXG2IGOK.js";
|
|
181
180
|
import {
|
|
182
181
|
shutdownExpertBridge
|
|
183
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-VSHQMS37.js";
|
|
184
183
|
import {
|
|
185
184
|
ConsensusVoteInputSchema,
|
|
186
185
|
DEFAULT_VOTE_TIMEOUT_MS,
|
|
@@ -191,29 +190,29 @@ import {
|
|
|
191
190
|
mapOutcomeToDecision,
|
|
192
191
|
recordAuthenticVote,
|
|
193
192
|
registerConsensusVoteTool
|
|
194
|
-
} from "./chunk-
|
|
193
|
+
} from "./chunk-ZRSKNV3E.js";
|
|
195
194
|
import {
|
|
196
195
|
loadUsageEvents,
|
|
197
196
|
rollupByModel
|
|
198
|
-
} from "./chunk-
|
|
197
|
+
} from "./chunk-PX7AYAHF.js";
|
|
199
198
|
import {
|
|
200
199
|
allOf,
|
|
201
200
|
anyOf
|
|
202
201
|
} from "./chunk-OQB3XC5O.js";
|
|
203
202
|
import {
|
|
204
203
|
synthesizeResearch
|
|
205
|
-
} from "./chunk-
|
|
204
|
+
} from "./chunk-NQ65EKMG.js";
|
|
206
205
|
import {
|
|
207
206
|
classifyTrust,
|
|
208
207
|
createFullGitHubProvider,
|
|
209
208
|
evaluatePolicy,
|
|
210
209
|
parsePRUrl
|
|
211
|
-
} from "./chunk-
|
|
212
|
-
import "./chunk-
|
|
210
|
+
} from "./chunk-BTAWCQP6.js";
|
|
211
|
+
import "./chunk-5RC54HVU.js";
|
|
213
212
|
import {
|
|
214
213
|
ReputationCache,
|
|
215
214
|
sanitizeInput
|
|
216
|
-
} from "./chunk-
|
|
215
|
+
} from "./chunk-7MBFKJJT.js";
|
|
217
216
|
import {
|
|
218
217
|
ImprovementReviewInputSchema,
|
|
219
218
|
calculateFitnessScore,
|
|
@@ -227,17 +226,17 @@ import {
|
|
|
227
226
|
registerImprovementReviewTool,
|
|
228
227
|
runImprovementReview,
|
|
229
228
|
scanForSecrets
|
|
230
|
-
} from "./chunk-
|
|
229
|
+
} from "./chunk-DXWF7V74.js";
|
|
231
230
|
import {
|
|
232
231
|
createDefaultPolicyFirewall,
|
|
233
232
|
setGlobalPolicyFirewall,
|
|
234
233
|
stagePolicyFirewallForRollout
|
|
235
|
-
} from "./chunk-
|
|
236
|
-
import "./chunk-
|
|
234
|
+
} from "./chunk-PLO6VSSN.js";
|
|
235
|
+
import "./chunk-YSOWQJ5S.js";
|
|
237
236
|
import {
|
|
238
237
|
createUnifiedRegistry,
|
|
239
238
|
getGlobalRegistry
|
|
240
|
-
} from "./chunk-
|
|
239
|
+
} from "./chunk-QS5K3PAY.js";
|
|
241
240
|
import {
|
|
242
241
|
CodebaseIndexSchema,
|
|
243
242
|
PaperStatusSchema,
|
|
@@ -263,24 +262,24 @@ import {
|
|
|
263
262
|
loadSourcesRegistry,
|
|
264
263
|
rankDiscoveredItems,
|
|
265
264
|
saveSourcesRegistry
|
|
266
|
-
} from "./chunk-
|
|
265
|
+
} from "./chunk-3PVG7CQS.js";
|
|
267
266
|
import {
|
|
268
267
|
loadPapersRegistry,
|
|
269
268
|
loadTechniquesRegistry,
|
|
270
269
|
savePapersRegistry
|
|
271
|
-
} from "./chunk-
|
|
270
|
+
} from "./chunk-EPOKODTI.js";
|
|
272
271
|
import {
|
|
273
272
|
resolveToken
|
|
274
|
-
} from "./chunk-
|
|
273
|
+
} from "./chunk-5YBFBXEB.js";
|
|
275
274
|
import {
|
|
276
275
|
MemoryError,
|
|
277
276
|
shutdownToolMemory
|
|
278
|
-
} from "./chunk-
|
|
277
|
+
} from "./chunk-IBW6CJ4G.js";
|
|
279
278
|
import {
|
|
280
279
|
capitalize,
|
|
281
280
|
capitalizeKebab
|
|
282
281
|
} from "./chunk-6T3EPABN.js";
|
|
283
|
-
import "./chunk-
|
|
282
|
+
import "./chunk-3K3IPRED.js";
|
|
284
283
|
import {
|
|
285
284
|
BUILT_IN_EXPERTS
|
|
286
285
|
} from "./chunk-YPNQPT2F.js";
|
|
@@ -293,19 +292,19 @@ import {
|
|
|
293
292
|
isRecord,
|
|
294
293
|
probeAllClis,
|
|
295
294
|
readSubprocessDepth
|
|
296
|
-
} from "./chunk-
|
|
297
|
-
import "./chunk-
|
|
295
|
+
} from "./chunk-SBWVYOTV.js";
|
|
296
|
+
import "./chunk-MCCN5UUW.js";
|
|
298
297
|
import {
|
|
299
298
|
DEFAULTS
|
|
300
|
-
} from "./chunk-
|
|
301
|
-
import "./chunk-
|
|
299
|
+
} from "./chunk-RXGHRVL2.js";
|
|
300
|
+
import "./chunk-SJPZHT6D.js";
|
|
302
301
|
import {
|
|
303
302
|
nexusMkdtempSync
|
|
304
303
|
} from "./chunk-RQV5ZUXT.js";
|
|
305
|
-
import "./chunk-
|
|
304
|
+
import "./chunk-HWPFUVMS.js";
|
|
306
305
|
import "./chunk-QZUG667L.js";
|
|
307
|
-
import "./chunk-
|
|
308
|
-
import "./chunk-
|
|
306
|
+
import "./chunk-QQS6FVTQ.js";
|
|
307
|
+
import "./chunk-N45MVUY7.js";
|
|
309
308
|
import {
|
|
310
309
|
API_TIMEOUTS,
|
|
311
310
|
AgentCapability,
|
|
@@ -382,7 +381,7 @@ import {
|
|
|
382
381
|
validateTimeout,
|
|
383
382
|
writeEmptyLine,
|
|
384
383
|
writeLine
|
|
385
|
-
} from "./chunk-
|
|
384
|
+
} from "./chunk-TBWKMKCX.js";
|
|
386
385
|
import "./chunk-HHLCAWAV.js";
|
|
387
386
|
import {
|
|
388
387
|
applyPortableMode,
|
|
@@ -4421,7 +4420,7 @@ ${file.patch}
|
|
|
4421
4420
|
violations: policyResult.violations
|
|
4422
4421
|
});
|
|
4423
4422
|
}
|
|
4424
|
-
const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-
|
|
4423
|
+
const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-IAKFHBM6.js");
|
|
4425
4424
|
const body = formatReviewComment2(result);
|
|
4426
4425
|
const postResult = await provider.createReview(pr.prNumber, body, result.decision);
|
|
4427
4426
|
if (!postResult.ok) {
|
|
@@ -19553,7 +19552,7 @@ function startImprovementReviewScheduler(options) {
|
|
|
19553
19552
|
let running = false;
|
|
19554
19553
|
const runOnce = async () => {
|
|
19555
19554
|
try {
|
|
19556
|
-
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-
|
|
19555
|
+
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-LJQ2CXAP.js");
|
|
19557
19556
|
const input = ImprovementReviewInputSchema2.parse({ fileIssues });
|
|
19558
19557
|
const result = await runImprovementReview2(input, { logger: logger22 });
|
|
19559
19558
|
logger22.info("Scheduled improvement_review complete", {
|
|
@@ -20176,7 +20175,6 @@ function initV2PipelineSubsystems(logger22, auditLogger) {
|
|
|
20176
20175
|
const pluginRegistry = getPipelinePluginRegistry();
|
|
20177
20176
|
const pipelineEventBus = getPipelineEventBus();
|
|
20178
20177
|
const bridge = createEventBusBridge({ source: pipelineEventBus });
|
|
20179
|
-
startFeedbackSubscriber(pipelineEventBus, getOutcomeStore());
|
|
20180
20178
|
startTuneStage(pipelineEventBus, auditLogger !== void 0 ? { auditLogger } : void 0);
|
|
20181
20179
|
startSwarmHealthSignals(getSwarmObserver(), pipelineEventBus);
|
|
20182
20180
|
startFailoverSignals({ pipelineBus: pipelineEventBus });
|
|
@@ -21620,7 +21618,7 @@ function adaptConfigToLibrary(config) {
|
|
|
21620
21618
|
}
|
|
21621
21619
|
function createBeliefPromoter() {
|
|
21622
21620
|
return async (event) => {
|
|
21623
|
-
const { getToolMemory } = await import("./tool-memory-
|
|
21621
|
+
const { getToolMemory } = await import("./tool-memory-XDUJUM2O.js");
|
|
21624
21622
|
const tm = getToolMemory();
|
|
21625
21623
|
await tm.recordBelief(
|
|
21626
21624
|
`skill:${event.name}`,
|
|
@@ -22841,7 +22839,7 @@ async function handleResearchCommand(args) {
|
|
|
22841
22839
|
}
|
|
22842
22840
|
}
|
|
22843
22841
|
async function handleRegistryCommand(args) {
|
|
22844
|
-
const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-
|
|
22842
|
+
const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-6HVXEW23.js");
|
|
22845
22843
|
const subcommand = args.subcommand;
|
|
22846
22844
|
if (!isValidRegistrySubcommand(subcommand)) {
|
|
22847
22845
|
process.stdout.write(`${formatRegistryUsage()}
|
|
@@ -22889,12 +22887,12 @@ async function handleVerifyCommand(args) {
|
|
|
22889
22887
|
async function handleDoctorCommand(args) {
|
|
22890
22888
|
const exitCode = await doctorCommand({ fix: args.options.fix });
|
|
22891
22889
|
if (args.options.deep) {
|
|
22892
|
-
const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-
|
|
22890
|
+
const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-SBSUG54R.js");
|
|
22893
22891
|
const diag = runDeepDiagnostics2();
|
|
22894
22892
|
process.stdout.write(formatDeepDiagnostics2(diag) + "\n");
|
|
22895
22893
|
}
|
|
22896
22894
|
if (args.options.live) {
|
|
22897
|
-
const { runLiveReadiness, formatLiveReadiness } = await import("./doctor-live-
|
|
22895
|
+
const { runLiveReadiness, formatLiveReadiness } = await import("./doctor-live-LBH7XDZX.js");
|
|
22898
22896
|
const report = await runLiveReadiness();
|
|
22899
22897
|
process.stdout.write(formatLiveReadiness(report) + "\n");
|
|
22900
22898
|
if (report.some((r) => r.levels.serves.status === "failed")) {
|
|
@@ -22947,7 +22945,7 @@ async function runInitPortableFlow(args) {
|
|
|
22947
22945
|
return cliExit(result.success ? EXIT_CODES.SUCCESS : EXIT_CODES.SERVER_START_FAILED);
|
|
22948
22946
|
}
|
|
22949
22947
|
async function runInitOpencodeFlow(args) {
|
|
22950
|
-
const { runInitOpencode } = await import("./init-opencode-
|
|
22948
|
+
const { runInitOpencode } = await import("./init-opencode-NTS5ZWXU.js");
|
|
22951
22949
|
const opencodePath = args.options.opencode;
|
|
22952
22950
|
if (opencodePath === void 0 || opencodePath === "") {
|
|
22953
22951
|
process.stderr.write("Error: --opencode requires a path argument.\n");
|
|
@@ -22973,7 +22971,7 @@ async function runInitOpencodeFlow(args) {
|
|
|
22973
22971
|
return cliExit(EXIT_CODES.SUCCESS);
|
|
22974
22972
|
}
|
|
22975
22973
|
async function renderOpencodeValidate(opencodePath) {
|
|
22976
|
-
const { runOpencodeValidate } = await import("./init-opencode-
|
|
22974
|
+
const { runOpencodeValidate } = await import("./init-opencode-NTS5ZWXU.js");
|
|
22977
22975
|
const result = await runOpencodeValidate(opencodePath);
|
|
22978
22976
|
if (!result.ok) {
|
|
22979
22977
|
process.stderr.write(`init --opencode --validate: ${result.reason ?? "failed"}
|
|
@@ -23012,7 +23010,7 @@ async function handleSetupCommandAsync(args) {
|
|
|
23012
23010
|
return cliExitFromStatus(exitCode);
|
|
23013
23011
|
}
|
|
23014
23012
|
async function runCustomApiSetup(args) {
|
|
23015
|
-
const { configureCustomApi } = await import("./setup-custom-api-
|
|
23013
|
+
const { configureCustomApi } = await import("./setup-custom-api-ATC26B2O.js");
|
|
23016
23014
|
const baseUrl = args.options.customApi;
|
|
23017
23015
|
if (baseUrl === void 0) return EXIT_CODES.SERVER_START_FAILED;
|
|
23018
23016
|
const input = {
|