nexus-agents 8.7.0 → 8.8.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-M4CLGNNW.js → ast-rule-runner-IESI3WWR.js} +3 -3
- package/dist/{child-mcp-config-VH6TABE5.js → child-mcp-config-WQNW5YFO.js} +2 -2
- package/dist/{chunk-5Z47V7HE.js → chunk-36AR3GCF.js} +8 -8
- package/dist/chunk-36AR3GCF.js.map +1 -0
- package/dist/{chunk-C6FKNMUA.js → chunk-37ONEK7R.js} +42 -9
- package/dist/chunk-37ONEK7R.js.map +1 -0
- package/dist/{chunk-77UZFA6D.js → chunk-3SO5DMHS.js} +4 -4
- package/dist/{chunk-VS2AWCQY.js → chunk-4AE2QO7Q.js} +2 -2
- package/dist/{chunk-DWN7RUDI.js → chunk-4HZCKQ25.js} +2 -2
- package/dist/{chunk-ORO7GDOD.js → chunk-66GKBIY2.js} +7 -7
- package/dist/{chunk-IXY6ISXK.js → chunk-6AGNJBHE.js} +2 -2
- package/dist/{chunk-IFF4SSOE.js → chunk-7BNB4YVO.js} +3 -3
- package/dist/{chunk-IDIMGCEX.js → chunk-7BYI5CBK.js} +42 -42
- package/dist/chunk-7BYI5CBK.js.map +1 -0
- package/dist/{chunk-BHG6YOBE.js → chunk-BBMGN7FS.js} +3 -3
- package/dist/{chunk-RM6WWFAV.js → chunk-BIHRU7WA.js} +8 -8
- package/dist/{chunk-FR7JE23L.js → chunk-BNPXE7BD.js} +2 -2
- package/dist/{chunk-OGSSJAVW.js → chunk-CRKF5LUZ.js} +4 -4
- package/dist/{chunk-C64WPHLB.js → chunk-DEXENQXS.js} +2 -2
- package/dist/{chunk-URKAE64B.js → chunk-DY6DVTX2.js} +2 -2
- package/dist/{chunk-RSMO6HZS.js → chunk-DZ5V47RU.js} +6 -6
- package/dist/{chunk-EFKGUOJP.js → chunk-F26X4N73.js} +2 -2
- package/dist/{chunk-N4VHPPWC.js → chunk-GUOMNRXZ.js} +2 -2
- package/dist/{chunk-PSCRZOGQ.js → chunk-HEV2C6VS.js} +51 -4
- package/dist/chunk-HEV2C6VS.js.map +1 -0
- package/dist/{chunk-7G2HFETT.js → chunk-HQ6K7OYH.js} +7 -7
- package/dist/{chunk-GUNDWP6A.js → chunk-NSHGFRGF.js} +2 -2
- package/dist/{chunk-MDVKS5FU.js → chunk-OLR2RIN2.js} +2 -2
- package/dist/{chunk-GB5DYFCU.js → chunk-OPHI2RB6.js} +4 -4
- package/dist/{chunk-34ANG6LA.js → chunk-PX422NHD.js} +2 -2
- package/dist/{chunk-C3Y274GP.js → chunk-REY2B5LO.js} +2 -2
- package/dist/{chunk-3JWQHPGZ.js → chunk-RWZJ2D2N.js} +2 -2
- package/dist/chunk-SAKV5TSH.js +7 -0
- package/dist/{chunk-IOPJR7R6.js → chunk-SNEUKIBK.js} +5 -5
- package/dist/{chunk-I4PHLZQC.js → chunk-TQT2BIZ7.js} +7 -7
- package/dist/chunk-TQT2BIZ7.js.map +1 -0
- package/dist/{chunk-XIC7XHIV.js → chunk-W37HHXDL.js} +2 -2
- package/dist/{chunk-MG4LAYXC.js → chunk-W5VBFX65.js} +2 -2
- package/dist/{chunk-NFCIUQE5.js → chunk-YUMKCIEL.js} +2 -2
- package/dist/{chunk-LQOLKNYU.js → chunk-ZN6BTFLD.js} +2 -2
- package/dist/{chunk-SM7A3QRA.js → chunk-ZQD67JES.js} +3 -3
- package/dist/{cli-circuit-breaker-6IKFVHKP.js → cli-circuit-breaker-YAAGSJ5N.js} +3 -3
- package/dist/cli.js +43 -43
- package/dist/{composite-router-EYZQABJD.js → composite-router-TU6MVJBG.js} +2 -2
- package/dist/{consensus-vote-E5RA4DWL.js → consensus-vote-FJWLHMQL.js} +17 -17
- package/dist/{context-retriever-VKTD245W.js → context-retriever-A4BZMTWM.js} +8 -8
- package/dist/{doctor-deep-LZVCM73P.js → doctor-deep-N4IFVZLP.js} +3 -3
- package/dist/{doctor-live-X2T7CKBI.js → doctor-live-G3EO5LQD.js} +9 -9
- package/dist/{expert-bridge-EQVYE6WD.js → expert-bridge-IKY5TTAH.js} +4 -4
- package/dist/{factory-TOA2DAKX.js → factory-EJ2ZMEQ7.js} +5 -5
- package/dist/{factory-K2LHSYKK.js → factory-VGRG7M62.js} +9 -9
- package/dist/{improvement-review-LE6COYNO.js → improvement-review-JNHEZ2DJ.js} +6 -6
- package/dist/index.d.ts +73 -17
- package/dist/index.js +34 -32
- package/dist/index.js.map +1 -1
- package/dist/{init-opencode-I3DNRHYN.js → init-opencode-KENOM2HA.js} +6 -6
- package/dist/issue-triage-IWMHDNUY.js +17 -0
- package/dist/{pr-reviewer-helpers-MT3N536G.js → pr-reviewer-helpers-C72VNWXU.js} +4 -4
- package/dist/{registry-command-A2R7GMD4.js → registry-command-53E7LRNR.js} +2 -2
- package/dist/{repo-security-plan-NW46RZXZ.js → repo-security-plan-ZSXHLYMU.js} +3 -3
- package/dist/{research-helpers-synthesize-GK6JLPAY.js → research-helpers-synthesize-X4O3S4SH.js} +4 -4
- package/dist/{routing-memory-CGOORLEE.js → routing-memory-5RYZJE45.js} +2 -2
- package/dist/{session-memory-EVTFDL4P.js → session-memory-3GE74TXJ.js} +3 -3
- package/dist/{setup-config-KLHUBAZC.js → setup-config-YGTQJTTC.js} +3 -3
- package/dist/{setup-custom-api-XAJSDQHR.js → setup-custom-api-5ZZQJ5WX.js} +4 -4
- package/dist/setup-data-dir-NKG6L7FO.js +29 -0
- package/dist/{tool-memory-X5XDTZX6.js → tool-memory-ZW2J3PMR.js} +5 -5
- package/dist/{unified-registry-XICJQUNW.js → unified-registry-IH3UEZLZ.js} +10 -10
- package/dist/{weather-report-UJTYF5EI.js → weather-report-OQ2UA3DZ.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-5Z47V7HE.js.map +0 -1
- package/dist/chunk-7G4BNM7E.js +0 -7
- package/dist/chunk-C6FKNMUA.js.map +0 -1
- package/dist/chunk-I4PHLZQC.js.map +0 -1
- package/dist/chunk-IDIMGCEX.js.map +0 -1
- package/dist/chunk-PSCRZOGQ.js.map +0 -1
- package/dist/issue-triage-N6EMSPMR.js +0 -17
- package/dist/setup-data-dir-KY2YWWF4.js +0 -29
- /package/dist/{ast-rule-runner-M4CLGNNW.js.map → ast-rule-runner-IESI3WWR.js.map} +0 -0
- /package/dist/{child-mcp-config-VH6TABE5.js.map → child-mcp-config-WQNW5YFO.js.map} +0 -0
- /package/dist/{chunk-77UZFA6D.js.map → chunk-3SO5DMHS.js.map} +0 -0
- /package/dist/{chunk-VS2AWCQY.js.map → chunk-4AE2QO7Q.js.map} +0 -0
- /package/dist/{chunk-DWN7RUDI.js.map → chunk-4HZCKQ25.js.map} +0 -0
- /package/dist/{chunk-ORO7GDOD.js.map → chunk-66GKBIY2.js.map} +0 -0
- /package/dist/{chunk-IXY6ISXK.js.map → chunk-6AGNJBHE.js.map} +0 -0
- /package/dist/{chunk-IFF4SSOE.js.map → chunk-7BNB4YVO.js.map} +0 -0
- /package/dist/{chunk-BHG6YOBE.js.map → chunk-BBMGN7FS.js.map} +0 -0
- /package/dist/{chunk-RM6WWFAV.js.map → chunk-BIHRU7WA.js.map} +0 -0
- /package/dist/{chunk-FR7JE23L.js.map → chunk-BNPXE7BD.js.map} +0 -0
- /package/dist/{chunk-OGSSJAVW.js.map → chunk-CRKF5LUZ.js.map} +0 -0
- /package/dist/{chunk-C64WPHLB.js.map → chunk-DEXENQXS.js.map} +0 -0
- /package/dist/{chunk-URKAE64B.js.map → chunk-DY6DVTX2.js.map} +0 -0
- /package/dist/{chunk-RSMO6HZS.js.map → chunk-DZ5V47RU.js.map} +0 -0
- /package/dist/{chunk-EFKGUOJP.js.map → chunk-F26X4N73.js.map} +0 -0
- /package/dist/{chunk-N4VHPPWC.js.map → chunk-GUOMNRXZ.js.map} +0 -0
- /package/dist/{chunk-7G2HFETT.js.map → chunk-HQ6K7OYH.js.map} +0 -0
- /package/dist/{chunk-GUNDWP6A.js.map → chunk-NSHGFRGF.js.map} +0 -0
- /package/dist/{chunk-MDVKS5FU.js.map → chunk-OLR2RIN2.js.map} +0 -0
- /package/dist/{chunk-GB5DYFCU.js.map → chunk-OPHI2RB6.js.map} +0 -0
- /package/dist/{chunk-34ANG6LA.js.map → chunk-PX422NHD.js.map} +0 -0
- /package/dist/{chunk-C3Y274GP.js.map → chunk-REY2B5LO.js.map} +0 -0
- /package/dist/{chunk-3JWQHPGZ.js.map → chunk-RWZJ2D2N.js.map} +0 -0
- /package/dist/{chunk-7G4BNM7E.js.map → chunk-SAKV5TSH.js.map} +0 -0
- /package/dist/{chunk-IOPJR7R6.js.map → chunk-SNEUKIBK.js.map} +0 -0
- /package/dist/{chunk-XIC7XHIV.js.map → chunk-W37HHXDL.js.map} +0 -0
- /package/dist/{chunk-MG4LAYXC.js.map → chunk-W5VBFX65.js.map} +0 -0
- /package/dist/{chunk-NFCIUQE5.js.map → chunk-YUMKCIEL.js.map} +0 -0
- /package/dist/{chunk-LQOLKNYU.js.map → chunk-ZN6BTFLD.js.map} +0 -0
- /package/dist/{chunk-SM7A3QRA.js.map → chunk-ZQD67JES.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-6IKFVHKP.js.map → cli-circuit-breaker-YAAGSJ5N.js.map} +0 -0
- /package/dist/{composite-router-EYZQABJD.js.map → composite-router-TU6MVJBG.js.map} +0 -0
- /package/dist/{consensus-vote-E5RA4DWL.js.map → consensus-vote-FJWLHMQL.js.map} +0 -0
- /package/dist/{context-retriever-VKTD245W.js.map → context-retriever-A4BZMTWM.js.map} +0 -0
- /package/dist/{doctor-deep-LZVCM73P.js.map → doctor-deep-N4IFVZLP.js.map} +0 -0
- /package/dist/{doctor-live-X2T7CKBI.js.map → doctor-live-G3EO5LQD.js.map} +0 -0
- /package/dist/{expert-bridge-EQVYE6WD.js.map → expert-bridge-IKY5TTAH.js.map} +0 -0
- /package/dist/{factory-K2LHSYKK.js.map → factory-EJ2ZMEQ7.js.map} +0 -0
- /package/dist/{factory-TOA2DAKX.js.map → factory-VGRG7M62.js.map} +0 -0
- /package/dist/{improvement-review-LE6COYNO.js.map → improvement-review-JNHEZ2DJ.js.map} +0 -0
- /package/dist/{init-opencode-I3DNRHYN.js.map → init-opencode-KENOM2HA.js.map} +0 -0
- /package/dist/{issue-triage-N6EMSPMR.js.map → issue-triage-IWMHDNUY.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-MT3N536G.js.map → pr-reviewer-helpers-C72VNWXU.js.map} +0 -0
- /package/dist/{registry-command-A2R7GMD4.js.map → registry-command-53E7LRNR.js.map} +0 -0
- /package/dist/{repo-security-plan-NW46RZXZ.js.map → repo-security-plan-ZSXHLYMU.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-GK6JLPAY.js.map → research-helpers-synthesize-X4O3S4SH.js.map} +0 -0
- /package/dist/{routing-memory-CGOORLEE.js.map → routing-memory-5RYZJE45.js.map} +0 -0
- /package/dist/{session-memory-EVTFDL4P.js.map → session-memory-3GE74TXJ.js.map} +0 -0
- /package/dist/{setup-config-KLHUBAZC.js.map → setup-config-YGTQJTTC.js.map} +0 -0
- /package/dist/{setup-custom-api-XAJSDQHR.js.map → setup-custom-api-5ZZQJ5WX.js.map} +0 -0
- /package/dist/{setup-data-dir-KY2YWWF4.js.map → setup-data-dir-NKG6L7FO.js.map} +0 -0
- /package/dist/{tool-memory-X5XDTZX6.js.map → tool-memory-ZW2J3PMR.js.map} +0 -0
- /package/dist/{unified-registry-XICJQUNW.js.map → unified-registry-IH3UEZLZ.js.map} +0 -0
- /package/dist/{weather-report-UJTYF5EI.js.map → weather-report-OQ2UA3DZ.js.map} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GitHubProvider,
|
|
3
3
|
ScmError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-REY2B5LO.js";
|
|
5
5
|
import {
|
|
6
6
|
resolveToken
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-RWZJ2D2N.js";
|
|
8
8
|
import {
|
|
9
9
|
err,
|
|
10
10
|
ok
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-HEV2C6VS.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-3SO5DMHS.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
CACHE_TIMEOUTS,
|
|
3
3
|
createLogger,
|
|
4
4
|
getTimeProvider
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-HEV2C6VS.js";
|
|
6
6
|
|
|
7
7
|
// src/security/trust-types.ts
|
|
8
8
|
import { z } from "zod";
|
|
@@ -565,4 +565,4 @@ export {
|
|
|
565
565
|
resolveReputationGatingMode,
|
|
566
566
|
gateWithReputation
|
|
567
567
|
};
|
|
568
|
-
//# sourceMappingURL=chunk-
|
|
568
|
+
//# sourceMappingURL=chunk-4AE2QO7Q.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getErrorMessage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HEV2C6VS.js";
|
|
4
4
|
|
|
5
5
|
// src/cli/setup-config.ts
|
|
6
6
|
import { copyFileSync, existsSync, mkdirSync, writeFileSync } from "node:fs";
|
|
@@ -77,4 +77,4 @@ function ensureBackup(outputPath) {
|
|
|
77
77
|
export {
|
|
78
78
|
runConfigInitSync
|
|
79
79
|
};
|
|
80
|
-
//# sourceMappingURL=chunk-
|
|
80
|
+
//# sourceMappingURL=chunk-4HZCKQ25.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveCliSlot
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GUOMNRXZ.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger,
|
|
6
6
|
getTimeProvider,
|
|
7
7
|
isRateLimitText
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HEV2C6VS.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-WQNW5YFO.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-VGRG7M62.js");
|
|
97
|
+
const { createCompositeRouter } = await import("./composite-router-TU6MVJBG.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-YAAGSJ5N.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-66GKBIY2.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTimeProvider
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HEV2C6VS.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-6AGNJBHE.js.map
|
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
gateWithReputation,
|
|
13
13
|
resolveReputationGatingMode,
|
|
14
14
|
sanitizeInput
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4AE2QO7Q.js";
|
|
16
16
|
import {
|
|
17
17
|
createLogger,
|
|
18
18
|
getTimeProvider
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-HEV2C6VS.js";
|
|
20
20
|
|
|
21
21
|
// src/dogfooding/pr-reviewer-helpers.ts
|
|
22
22
|
import { randomUUID } from "node:crypto";
|
|
@@ -303,4 +303,4 @@ export {
|
|
|
303
303
|
createFailedReview,
|
|
304
304
|
reviewPostingBlock
|
|
305
305
|
};
|
|
306
|
-
//# sourceMappingURL=chunk-
|
|
306
|
+
//# sourceMappingURL=chunk-7BNB4YVO.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateSecurityPlan
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BNPXE7BD.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-HQ6K7OYH.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-66GKBIY2.js";
|
|
28
28
|
import {
|
|
29
29
|
JobStatusSchema,
|
|
30
30
|
VOTER_ROLES,
|
|
@@ -47,24 +47,24 @@ import {
|
|
|
47
47
|
simulationDeniedResult,
|
|
48
48
|
toJobSummary,
|
|
49
49
|
writeJobCancelled
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-36AR3GCF.js";
|
|
51
51
|
import {
|
|
52
52
|
allOf
|
|
53
53
|
} from "./chunk-OQB3XC5O.js";
|
|
54
54
|
import {
|
|
55
55
|
normalizeTopicToCanonical,
|
|
56
56
|
synthesizeResearch
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-BBMGN7FS.js";
|
|
58
58
|
import {
|
|
59
59
|
IssueTriage
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-DZ5V47RU.js";
|
|
61
61
|
import {
|
|
62
62
|
resolveEnvMode,
|
|
63
63
|
sanitizeInput
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-4AE2QO7Q.js";
|
|
65
65
|
import {
|
|
66
66
|
withPrerequisite
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-ZQD67JES.js";
|
|
68
68
|
import {
|
|
69
69
|
NOOP_NOTIFIER,
|
|
70
70
|
RateLimiter,
|
|
@@ -89,18 +89,18 @@ import {
|
|
|
89
89
|
withAuditTrail,
|
|
90
90
|
withProgressHeartbeat,
|
|
91
91
|
wrapToolWithTimeout
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-OPHI2RB6.js";
|
|
93
93
|
import {
|
|
94
94
|
createAuditTrail,
|
|
95
95
|
createGraphAuditBridge,
|
|
96
96
|
emitPipelinePolicyEvent
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-6AGNJBHE.js";
|
|
98
98
|
import {
|
|
99
99
|
EventTopics,
|
|
100
100
|
createEvent,
|
|
101
101
|
getGlobalEventBus,
|
|
102
102
|
getGlobalRegistry
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-TQT2BIZ7.js";
|
|
104
104
|
import {
|
|
105
105
|
IDENTIFIER_RE,
|
|
106
106
|
LANG_VALUES,
|
|
@@ -133,29 +133,29 @@ import {
|
|
|
133
133
|
parseRegistry,
|
|
134
134
|
sourceExistsInRegistry,
|
|
135
135
|
summarizeContextForPrompt
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-37ONEK7R.js";
|
|
137
137
|
import {
|
|
138
138
|
loadPapersRegistry,
|
|
139
139
|
loadTechniquesRegistry,
|
|
140
140
|
resolveInsideRoot
|
|
141
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-DEXENQXS.js";
|
|
142
142
|
import {
|
|
143
143
|
getTokenEnvVars,
|
|
144
144
|
resolveToken
|
|
145
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-RWZJ2D2N.js";
|
|
146
146
|
import {
|
|
147
147
|
DEFAULT_RELEVANCE_CONFIG,
|
|
148
148
|
MemoryImportance,
|
|
149
149
|
calculateTextJaccardSimilarity,
|
|
150
150
|
getToolMemory
|
|
151
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-CRKF5LUZ.js";
|
|
152
152
|
import {
|
|
153
153
|
STOPWORDS,
|
|
154
154
|
truncateWithInfo
|
|
155
155
|
} from "./chunk-6T3EPABN.js";
|
|
156
156
|
import {
|
|
157
157
|
createSessionMemory
|
|
158
|
-
} from "./chunk-
|
|
158
|
+
} from "./chunk-F26X4N73.js";
|
|
159
159
|
import {
|
|
160
160
|
BUILT_IN_EXPERTS,
|
|
161
161
|
BuiltInExpertTypeSchema,
|
|
@@ -173,25 +173,25 @@ import {
|
|
|
173
173
|
getAvailableClis,
|
|
174
174
|
sleep,
|
|
175
175
|
withTimeout
|
|
176
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-BIHRU7WA.js";
|
|
177
177
|
import {
|
|
178
178
|
BaseAdapter,
|
|
179
179
|
createStream,
|
|
180
180
|
requireApiKey,
|
|
181
181
|
validateApiKeyPresence
|
|
182
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-W5VBFX65.js";
|
|
183
183
|
import {
|
|
184
184
|
DEFAULTS
|
|
185
|
-
} from "./chunk-
|
|
185
|
+
} from "./chunk-NSHGFRGF.js";
|
|
186
186
|
import {
|
|
187
187
|
getAvailabilityCache,
|
|
188
188
|
getCliForModelId,
|
|
189
189
|
resolveFallback
|
|
190
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-GUOMNRXZ.js";
|
|
191
191
|
import {
|
|
192
192
|
generateHyphenId,
|
|
193
193
|
generateUUID
|
|
194
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-W37HHXDL.js";
|
|
195
195
|
import {
|
|
196
196
|
AGENT_ROUTER_TIMEOUTS,
|
|
197
197
|
API_TIMEOUTS,
|
|
@@ -297,7 +297,7 @@ import {
|
|
|
297
297
|
selectStrategyByManifest,
|
|
298
298
|
toExpertTaskAnalysisResult,
|
|
299
299
|
withStep
|
|
300
|
-
} from "./chunk-
|
|
300
|
+
} from "./chunk-HEV2C6VS.js";
|
|
301
301
|
import {
|
|
302
302
|
ensureLearningDir,
|
|
303
303
|
getMetaOutcomesFile,
|
|
@@ -27973,11 +27973,11 @@ function createSubscriptions(eventBus, subs, handler3) {
|
|
|
27973
27973
|
}
|
|
27974
27974
|
function createCleanupFunction(subscriptions, eventBus, logger58) {
|
|
27975
27975
|
return () => {
|
|
27976
|
-
logger58.debug("Cleaning up
|
|
27976
|
+
logger58.debug("Cleaning up CollaborationEventBus bridge subscriptions");
|
|
27977
27977
|
for (const sub of subscriptions) {
|
|
27978
27978
|
sub.unsubscribe();
|
|
27979
27979
|
}
|
|
27980
|
-
logger58.info("
|
|
27980
|
+
logger58.info("CollaborationEventBus bridge cleanup complete", {
|
|
27981
27981
|
unsubscribedCount: subscriptions.length,
|
|
27982
27982
|
finalStats: eventBus.getStats()
|
|
27983
27983
|
});
|
|
@@ -27986,13 +27986,13 @@ function createCleanupFunction(subscriptions, eventBus, logger58) {
|
|
|
27986
27986
|
function initializeEventBusBridge(observer, logger58, config) {
|
|
27987
27987
|
const mergedConfig = mergeConfig3(config);
|
|
27988
27988
|
if (!mergedConfig.enabled) {
|
|
27989
|
-
logger58.debug("
|
|
27989
|
+
logger58.debug("CollaborationEventBus bridge disabled by configuration");
|
|
27990
27990
|
return { initialized: false, subscriptionCount: 0, cleanup: () => {
|
|
27991
27991
|
} };
|
|
27992
27992
|
}
|
|
27993
27993
|
const eventBus = getGlobalEventBus({ maxHistorySize: mergedConfig.maxHistorySize });
|
|
27994
27994
|
const logConfig = mergedConfig.logging;
|
|
27995
|
-
logger58.info("Initializing
|
|
27995
|
+
logger58.info("Initializing CollaborationEventBus bridge for MCP server", {
|
|
27996
27996
|
maxHistorySize: mergedConfig.maxHistorySize,
|
|
27997
27997
|
subscriptions: mergedConfig.subscriptions
|
|
27998
27998
|
});
|
|
@@ -28000,7 +28000,7 @@ function initializeEventBusBridge(observer, logger58, config) {
|
|
|
28000
28000
|
handleEvent(event, observer, logger58, logConfig);
|
|
28001
28001
|
};
|
|
28002
28002
|
const subscriptions = createSubscriptions(eventBus, mergedConfig.subscriptions, handler3);
|
|
28003
|
-
logger58.info("
|
|
28003
|
+
logger58.info("CollaborationEventBus bridge initialized", {
|
|
28004
28004
|
subscriptionCount: subscriptions.length,
|
|
28005
28005
|
eventBusStats: eventBus.getStats()
|
|
28006
28006
|
});
|
|
@@ -28022,9 +28022,9 @@ function handleEvent(event, observer, logger58, logConfig) {
|
|
|
28022
28022
|
timestamp: event.timestamp
|
|
28023
28023
|
};
|
|
28024
28024
|
if (logLevel === "info") {
|
|
28025
|
-
logger58.info(`
|
|
28025
|
+
logger58.info(`CollaborationEventBus: ${event.topic}`, logContext);
|
|
28026
28026
|
} else {
|
|
28027
|
-
logger58.debug(`
|
|
28027
|
+
logger58.debug(`CollaborationEventBus: ${event.topic}`, logContext);
|
|
28028
28028
|
}
|
|
28029
28029
|
recordEventToObserver(event, observer);
|
|
28030
28030
|
}
|
|
@@ -29697,7 +29697,7 @@ function execIdFields(executionId) {
|
|
|
29697
29697
|
async function populateUnifiedContextOnState(state, options) {
|
|
29698
29698
|
const taskCandidate = state["task"];
|
|
29699
29699
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
29700
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
29700
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-A4BZMTWM.js");
|
|
29701
29701
|
const category = inferTaskCategory2(taskCandidate);
|
|
29702
29702
|
const executionId = options?.executionId;
|
|
29703
29703
|
const execFields = execIdFields(executionId);
|
|
@@ -45595,7 +45595,7 @@ async function tryIssueTriage(task) {
|
|
|
45595
45595
|
try {
|
|
45596
45596
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
45597
45597
|
if (issueMatch === null) return null;
|
|
45598
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
45598
|
+
const { createIssueTriage } = await import("./issue-triage-IWMHDNUY.js");
|
|
45599
45599
|
const triage = createIssueTriage();
|
|
45600
45600
|
const owner = issueMatch[1] ?? "";
|
|
45601
45601
|
const num = issueMatch[2] ?? "";
|
|
@@ -45623,7 +45623,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
45623
45623
|
]);
|
|
45624
45624
|
async function classifyWithLLM(task) {
|
|
45625
45625
|
try {
|
|
45626
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
45626
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-IKY5TTAH.js");
|
|
45627
45627
|
const prompt = [
|
|
45628
45628
|
"Classify this task into exactly one pipeline template.",
|
|
45629
45629
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -47314,7 +47314,7 @@ var memoryInitPromise = null;
|
|
|
47314
47314
|
async function initPipelineMemory() {
|
|
47315
47315
|
if (cachedMemory !== null) return cachedMemory;
|
|
47316
47316
|
try {
|
|
47317
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47317
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-3GE74TXJ.js");
|
|
47318
47318
|
const { getLearningDir } = await import("./learning-persistence-7N5SZHNX.js");
|
|
47319
47319
|
const mem = createSessionMemory2(getLearningDir());
|
|
47320
47320
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
@@ -47376,7 +47376,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
|
|
|
47376
47376
|
callRecord(routingMemoryCache);
|
|
47377
47377
|
return;
|
|
47378
47378
|
}
|
|
47379
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
47379
|
+
routingMemoryInitPromise ??= import("./routing-memory-5RYZJE45.js").then(({ createRoutingMemory }) => {
|
|
47380
47380
|
routingMemoryCache ??= createRoutingMemory();
|
|
47381
47381
|
return routingMemoryCache;
|
|
47382
47382
|
}).catch((error) => {
|
|
@@ -47410,7 +47410,7 @@ ${text}` : "";
|
|
|
47410
47410
|
}
|
|
47411
47411
|
async function getWeatherContext() {
|
|
47412
47412
|
try {
|
|
47413
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
47413
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-OQ2UA3DZ.js");
|
|
47414
47414
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
47415
47415
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
47416
47416
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -47428,7 +47428,7 @@ ${lines}
|
|
|
47428
47428
|
}
|
|
47429
47429
|
async function getMemoryContext(task) {
|
|
47430
47430
|
try {
|
|
47431
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47431
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-3GE74TXJ.js");
|
|
47432
47432
|
const { getLearningDir } = await import("./learning-persistence-7N5SZHNX.js");
|
|
47433
47433
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
47434
47434
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
@@ -47547,7 +47547,7 @@ ${contextBlock}`;
|
|
|
47547
47547
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47548
47548
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47549
47549
|
try {
|
|
47550
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47550
|
+
const { executeVoting } = await import("./consensus-vote-FJWLHMQL.js");
|
|
47551
47551
|
const votingResult = await executeVoting(
|
|
47552
47552
|
{
|
|
47553
47553
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -47976,7 +47976,7 @@ async function searchCodebaseForTask(task) {
|
|
|
47976
47976
|
}
|
|
47977
47977
|
async function queryResearchRegistry(task) {
|
|
47978
47978
|
try {
|
|
47979
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
47979
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-X4O3S4SH.js");
|
|
47980
47980
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
47981
47981
|
if (topic === void 0) return null;
|
|
47982
47982
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -48047,7 +48047,7 @@ function createScanStageWrapper() {
|
|
|
48047
48047
|
try {
|
|
48048
48048
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
48049
48049
|
if (slug !== void 0) {
|
|
48050
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
48050
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-ZSXHLYMU.js");
|
|
48051
48051
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
48052
48052
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
48053
48053
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -51218,7 +51218,7 @@ var GitHubTaskTracker = class {
|
|
|
51218
51218
|
cachedProvider = null;
|
|
51219
51219
|
async getProvider() {
|
|
51220
51220
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
51221
|
-
const { createScmProvider } = await import("./factory-
|
|
51221
|
+
const { createScmProvider } = await import("./factory-EJ2ZMEQ7.js");
|
|
51222
51222
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
51223
51223
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
51224
51224
|
this.cachedProvider = result.value;
|
|
@@ -52133,7 +52133,7 @@ async function probeSource(source, includeModelIds) {
|
|
|
52133
52133
|
}
|
|
52134
52134
|
}
|
|
52135
52135
|
async function defaultSources(includeOpenRouter) {
|
|
52136
|
-
const { createAllAdapters: createAllAdapters2 } = await import("./factory-
|
|
52136
|
+
const { createAllAdapters: createAllAdapters2 } = await import("./factory-VGRG7M62.js");
|
|
52137
52137
|
const adapters = createAllAdapters2();
|
|
52138
52138
|
return buildDefaultModelSources(adapters, { includeOpenRouter });
|
|
52139
52139
|
}
|
|
@@ -56204,4 +56204,4 @@ export {
|
|
|
56204
56204
|
shutdownFeedbackSubscriber,
|
|
56205
56205
|
createEventBusBridge
|
|
56206
56206
|
};
|
|
56207
|
-
//# sourceMappingURL=chunk-
|
|
56207
|
+
//# sourceMappingURL=chunk-7BYI5CBK.js.map
|