nexus-agents 8.86.2 → 8.87.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-USLLC3XL.js → ast-rule-runner-57VN347L.js} +3 -3
- package/dist/{child-mcp-config-K563PP6S.js → child-mcp-config-74CO7TSI.js} +2 -2
- package/dist/{chunk-ZE73MT66.js → chunk-2CNDBMS2.js} +4 -4
- package/dist/{chunk-5U4XTYAB.js → chunk-2FUUCJPQ.js} +2 -2
- package/dist/{chunk-P6D7S7CY.js → chunk-3464EDLG.js} +2 -2
- package/dist/{chunk-XARB7ITD.js → chunk-5XKDJDIP.js} +8 -8
- package/dist/{chunk-KXFPJOPL.js → chunk-6ALANRN5.js} +2 -2
- package/dist/{chunk-Q75P5CVJ.js → chunk-6RZ2O6T7.js} +2 -2
- package/dist/{chunk-6K2JDJ7A.js → chunk-A46LARJL.js} +3 -3
- package/dist/{chunk-KX7A23JM.js → chunk-AEUJWSOX.js} +2 -2
- package/dist/{chunk-CBZAMHBA.js → chunk-C5VOEBIS.js} +2 -2
- package/dist/{chunk-O73BSBJ6.js → chunk-DE4H5SQM.js} +3 -3
- package/dist/{chunk-2SQO4FET.js → chunk-DUNJ3BGG.js} +2 -2
- package/dist/{chunk-XWPZZEBX.js → chunk-FFXY3GG3.js} +4 -4
- package/dist/{chunk-J6GIJFV4.js → chunk-FLFWGNMF.js} +2 -2
- package/dist/{chunk-IXKFIO6O.js → chunk-FYQOXSBI.js} +2 -2
- package/dist/{chunk-64IJKT4I.js → chunk-HFBKT7BY.js} +58 -5
- package/dist/chunk-HFBKT7BY.js.map +1 -0
- package/dist/{chunk-O24ENDHN.js → chunk-HZNZKFDU.js} +3 -3
- package/dist/{chunk-DSVMQVJZ.js → chunk-IACPPUSB.js} +4 -4
- package/dist/{chunk-NQKJYGND.js → chunk-KMVURF2Y.js} +2 -2
- package/dist/{chunk-GKLTEUFU.js → chunk-KXHHFB7S.js} +2 -2
- package/dist/{chunk-YPJRVA2H.js → chunk-L6H55UP5.js} +4 -4
- package/dist/{chunk-YOQVGERU.js → chunk-LFTGWIDB.js} +10 -10
- package/dist/{chunk-ZSFRB2S4.js → chunk-O23Z6TEB.js} +3 -3
- package/dist/{chunk-NNYVXSQF.js → chunk-OZ6NDOR4.js} +2 -2
- package/dist/{chunk-EVYZZL7J.js → chunk-POB4FPKV.js} +2 -2
- package/dist/{chunk-FNL4J77P.js → chunk-PVEIRHM2.js} +2 -2
- package/dist/chunk-PVEIRHM2.js.map +1 -0
- package/dist/{chunk-5FXOJYDV.js → chunk-SFV75KOW.js} +11 -10
- package/dist/{chunk-5FXOJYDV.js.map → chunk-SFV75KOW.js.map} +1 -1
- package/dist/{chunk-OOIZ3IQD.js → chunk-SQNZXCVN.js} +2 -2
- package/dist/{chunk-QCDYJYGB.js → chunk-T2CFH257.js} +7 -7
- package/dist/{chunk-V66MMBO4.js → chunk-T2TKT7GM.js} +5 -5
- package/dist/{chunk-S6MNVNQB.js → chunk-VT75JAMR.js} +2 -2
- package/dist/{chunk-XNNNDQLK.js → chunk-XSN65PSX.js} +2 -2
- package/dist/{chunk-QW6J2UV4.js → chunk-ZLIXVFY4.js} +5 -5
- package/dist/{chunk-EYBWZHGQ.js → chunk-ZQFV7CRR.js} +45 -37
- package/dist/{chunk-EYBWZHGQ.js.map → chunk-ZQFV7CRR.js.map} +1 -1
- package/dist/{cli-circuit-breaker-4ASNTBDP.js → cli-circuit-breaker-7FPQIKMC.js} +3 -3
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +144 -79
- package/dist/cli.js.map +1 -1
- package/dist/{composite-router-V45AK6WD.js → composite-router-6CQEKTGG.js} +2 -2
- package/dist/{consensus-vote-63FZ6VV5.js → consensus-vote-HS6BHA2N.js} +16 -16
- package/dist/{consensus-vote-types-DkRs8FbB.d.ts → consensus-vote-types-B4FyYwSv.d.ts} +1 -1
- package/dist/{context-retriever-NZOSGG6S.js → context-retriever-MTWSVUI4.js} +8 -8
- package/dist/{doctor-deep-JRY3D7BP.js → doctor-deep-YAF6PO7D.js} +3 -3
- package/dist/{doctor-live-NSRHMHMG.js → doctor-live-D4YQ2HSF.js} +10 -10
- package/dist/{expert-bridge-Q4SEPVTE.js → expert-bridge-EKZ3XRAT.js} +4 -4
- package/dist/{factory-ZV4MR3VM.js → factory-756K7DJU.js} +9 -9
- package/dist/{factory-JBK45P7G.js → factory-GTZU7LWH.js} +5 -5
- package/dist/{improvement-review-YM564QHQ.js → improvement-review-OBE25BPD.js} +5 -5
- package/dist/index.d.ts +2 -2
- package/dist/index.js +30 -30
- package/dist/{init-opencode-6WGN5J6J.js → init-opencode-5QA27TFA.js} +5 -5
- package/dist/issue-triage-EHZPXKCZ.js +16 -0
- package/dist/{pr-reviewer-helpers-UMNMOUAO.js → pr-reviewer-helpers-IVLBDJKJ.js} +4 -4
- package/dist/{registry-command-QRBAKWRK.js → registry-command-CBEBGBHP.js} +2 -2
- package/dist/{repo-security-plan-UM6WX5PN.js → repo-security-plan-2XFHLOMA.js} +3 -3
- package/dist/{research-helpers-synthesize-DUOVXI5V.js → research-helpers-synthesize-3IHB3E2T.js} +4 -4
- package/dist/{routing-memory-OKYSDPXT.js → routing-memory-HV65CNTK.js} +2 -2
- package/dist/{session-memory-ONUSRMYV.js → session-memory-2P3NSEJJ.js} +3 -3
- package/dist/{setup-config-BAZRBFN3.js → setup-config-DCCYT64I.js} +3 -3
- package/dist/{setup-custom-api-LSMLWGKW.js → setup-custom-api-LAP4S26A.js} +4 -4
- package/dist/setup-data-dir-63ZS6HOW.js +32 -0
- package/dist/{tool-memory-Q5UWNVN3.js → tool-memory-ZJ5DZEXH.js} +5 -5
- package/dist/{unified-registry-Y327PN6R.js → unified-registry-A23BBRFD.js} +10 -10
- package/dist/{weather-report-C2VIAC2Q.js → weather-report-IU2MQBCS.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-64IJKT4I.js.map +0 -1
- package/dist/chunk-FNL4J77P.js.map +0 -1
- package/dist/issue-triage-XVDXOZRW.js +0 -16
- package/dist/setup-data-dir-IZ3EANJ5.js +0 -32
- /package/dist/{ast-rule-runner-USLLC3XL.js.map → ast-rule-runner-57VN347L.js.map} +0 -0
- /package/dist/{child-mcp-config-K563PP6S.js.map → child-mcp-config-74CO7TSI.js.map} +0 -0
- /package/dist/{chunk-ZE73MT66.js.map → chunk-2CNDBMS2.js.map} +0 -0
- /package/dist/{chunk-5U4XTYAB.js.map → chunk-2FUUCJPQ.js.map} +0 -0
- /package/dist/{chunk-P6D7S7CY.js.map → chunk-3464EDLG.js.map} +0 -0
- /package/dist/{chunk-XARB7ITD.js.map → chunk-5XKDJDIP.js.map} +0 -0
- /package/dist/{chunk-KXFPJOPL.js.map → chunk-6ALANRN5.js.map} +0 -0
- /package/dist/{chunk-Q75P5CVJ.js.map → chunk-6RZ2O6T7.js.map} +0 -0
- /package/dist/{chunk-6K2JDJ7A.js.map → chunk-A46LARJL.js.map} +0 -0
- /package/dist/{chunk-KX7A23JM.js.map → chunk-AEUJWSOX.js.map} +0 -0
- /package/dist/{chunk-CBZAMHBA.js.map → chunk-C5VOEBIS.js.map} +0 -0
- /package/dist/{chunk-O73BSBJ6.js.map → chunk-DE4H5SQM.js.map} +0 -0
- /package/dist/{chunk-2SQO4FET.js.map → chunk-DUNJ3BGG.js.map} +0 -0
- /package/dist/{chunk-XWPZZEBX.js.map → chunk-FFXY3GG3.js.map} +0 -0
- /package/dist/{chunk-J6GIJFV4.js.map → chunk-FLFWGNMF.js.map} +0 -0
- /package/dist/{chunk-IXKFIO6O.js.map → chunk-FYQOXSBI.js.map} +0 -0
- /package/dist/{chunk-O24ENDHN.js.map → chunk-HZNZKFDU.js.map} +0 -0
- /package/dist/{chunk-DSVMQVJZ.js.map → chunk-IACPPUSB.js.map} +0 -0
- /package/dist/{chunk-NQKJYGND.js.map → chunk-KMVURF2Y.js.map} +0 -0
- /package/dist/{chunk-GKLTEUFU.js.map → chunk-KXHHFB7S.js.map} +0 -0
- /package/dist/{chunk-YPJRVA2H.js.map → chunk-L6H55UP5.js.map} +0 -0
- /package/dist/{chunk-YOQVGERU.js.map → chunk-LFTGWIDB.js.map} +0 -0
- /package/dist/{chunk-ZSFRB2S4.js.map → chunk-O23Z6TEB.js.map} +0 -0
- /package/dist/{chunk-NNYVXSQF.js.map → chunk-OZ6NDOR4.js.map} +0 -0
- /package/dist/{chunk-EVYZZL7J.js.map → chunk-POB4FPKV.js.map} +0 -0
- /package/dist/{chunk-OOIZ3IQD.js.map → chunk-SQNZXCVN.js.map} +0 -0
- /package/dist/{chunk-QCDYJYGB.js.map → chunk-T2CFH257.js.map} +0 -0
- /package/dist/{chunk-V66MMBO4.js.map → chunk-T2TKT7GM.js.map} +0 -0
- /package/dist/{chunk-S6MNVNQB.js.map → chunk-VT75JAMR.js.map} +0 -0
- /package/dist/{chunk-XNNNDQLK.js.map → chunk-XSN65PSX.js.map} +0 -0
- /package/dist/{chunk-QW6J2UV4.js.map → chunk-ZLIXVFY4.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-4ASNTBDP.js.map → cli-circuit-breaker-7FPQIKMC.js.map} +0 -0
- /package/dist/{composite-router-V45AK6WD.js.map → composite-router-6CQEKTGG.js.map} +0 -0
- /package/dist/{consensus-vote-63FZ6VV5.js.map → consensus-vote-HS6BHA2N.js.map} +0 -0
- /package/dist/{context-retriever-NZOSGG6S.js.map → context-retriever-MTWSVUI4.js.map} +0 -0
- /package/dist/{doctor-deep-JRY3D7BP.js.map → doctor-deep-YAF6PO7D.js.map} +0 -0
- /package/dist/{doctor-live-NSRHMHMG.js.map → doctor-live-D4YQ2HSF.js.map} +0 -0
- /package/dist/{expert-bridge-Q4SEPVTE.js.map → expert-bridge-EKZ3XRAT.js.map} +0 -0
- /package/dist/{factory-JBK45P7G.js.map → factory-756K7DJU.js.map} +0 -0
- /package/dist/{factory-ZV4MR3VM.js.map → factory-GTZU7LWH.js.map} +0 -0
- /package/dist/{improvement-review-YM564QHQ.js.map → improvement-review-OBE25BPD.js.map} +0 -0
- /package/dist/{init-opencode-6WGN5J6J.js.map → init-opencode-5QA27TFA.js.map} +0 -0
- /package/dist/{issue-triage-XVDXOZRW.js.map → issue-triage-EHZPXKCZ.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-UMNMOUAO.js.map → pr-reviewer-helpers-IVLBDJKJ.js.map} +0 -0
- /package/dist/{registry-command-QRBAKWRK.js.map → registry-command-CBEBGBHP.js.map} +0 -0
- /package/dist/{repo-security-plan-UM6WX5PN.js.map → repo-security-plan-2XFHLOMA.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-DUOVXI5V.js.map → research-helpers-synthesize-3IHB3E2T.js.map} +0 -0
- /package/dist/{routing-memory-OKYSDPXT.js.map → routing-memory-HV65CNTK.js.map} +0 -0
- /package/dist/{session-memory-ONUSRMYV.js.map → session-memory-2P3NSEJJ.js.map} +0 -0
- /package/dist/{setup-config-BAZRBFN3.js.map → setup-config-DCCYT64I.js.map} +0 -0
- /package/dist/{setup-custom-api-LSMLWGKW.js.map → setup-custom-api-LAP4S26A.js.map} +0 -0
- /package/dist/{setup-data-dir-IZ3EANJ5.js.map → setup-data-dir-63ZS6HOW.js.map} +0 -0
- /package/dist/{tool-memory-Q5UWNVN3.js.map → tool-memory-ZJ5DZEXH.js.map} +0 -0
- /package/dist/{unified-registry-Y327PN6R.js.map → unified-registry-A23BBRFD.js.map} +0 -0
- /package/dist/{weather-report-C2VIAC2Q.js.map → weather-report-IU2MQBCS.js.map} +0 -0
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
err,
|
|
5
5
|
getErrorMessage,
|
|
6
6
|
ok
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HFBKT7BY.js";
|
|
8
8
|
|
|
9
9
|
// src/scm/types.ts
|
|
10
10
|
var ScmError = class extends Error {
|
|
@@ -281,4 +281,4 @@ export {
|
|
|
281
281
|
ScmError,
|
|
282
282
|
GitHubProvider
|
|
283
283
|
};
|
|
284
|
-
//# sourceMappingURL=chunk-
|
|
284
|
+
//# sourceMappingURL=chunk-SQNZXCVN.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveCliSlot
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XSN65PSX.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger,
|
|
6
6
|
getTimeProvider,
|
|
7
7
|
isRateLimitText
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HFBKT7BY.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-74CO7TSI.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-756K7DJU.js");
|
|
97
|
+
const { createCompositeRouter } = await import("./composite-router-6CQEKTGG.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-7FPQIKMC.js");
|
|
106
106
|
cachedCircuitBreaker = createCliCircuitBreakerIntegration([...adapters.values()]);
|
|
107
107
|
} catch (error) {
|
|
108
108
|
const msg = error instanceof Error ? error.message : String(error);
|
|
@@ -216,4 +216,4 @@ export {
|
|
|
216
216
|
tokenSplitFromUsage,
|
|
217
217
|
executeExpert
|
|
218
218
|
};
|
|
219
|
-
//# sourceMappingURL=chunk-
|
|
219
|
+
//# sourceMappingURL=chunk-T2CFH257.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GitHubProvider,
|
|
3
3
|
ScmError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-SQNZXCVN.js";
|
|
5
5
|
import {
|
|
6
6
|
ROLE_DEFAULT_TRUST,
|
|
7
7
|
ReputationCache,
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
resolveEnvMode,
|
|
13
13
|
resolveReputationGatingMode,
|
|
14
14
|
sanitizeInput
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6ALANRN5.js";
|
|
16
16
|
import {
|
|
17
17
|
hasToken
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-2FUUCJPQ.js";
|
|
19
19
|
import {
|
|
20
20
|
CLI_SUBPROCESS_TIMEOUTS,
|
|
21
21
|
createLogger,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
getErrorMessage,
|
|
24
24
|
getTimeProvider,
|
|
25
25
|
ok
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-HFBKT7BY.js";
|
|
27
27
|
|
|
28
28
|
// src/security/firewall/firewall-policy-mode.ts
|
|
29
29
|
import { z } from "zod";
|
|
@@ -2650,4 +2650,4 @@ export {
|
|
|
2650
2650
|
IssueTriage,
|
|
2651
2651
|
createIssueTriage
|
|
2652
2652
|
};
|
|
2653
|
-
//# sourceMappingURL=chunk-
|
|
2653
|
+
//# sourceMappingURL=chunk-T2TKT7GM.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
createLogger,
|
|
6
6
|
getTimeProvider
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HFBKT7BY.js";
|
|
8
8
|
|
|
9
9
|
// src/mcp/tools/scanner-registry-fetcher.ts
|
|
10
10
|
import { z } from "zod";
|
|
@@ -740,4 +740,4 @@ export {
|
|
|
740
740
|
generateSecurityPlan,
|
|
741
741
|
buildPlanFromAnalysis
|
|
742
742
|
};
|
|
743
|
-
//# sourceMappingURL=chunk-
|
|
743
|
+
//# sourceMappingURL=chunk-VT75JAMR.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
MODEL_IDS,
|
|
4
4
|
getTimeProvider,
|
|
5
5
|
resolveModelIdentitySync
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HFBKT7BY.js";
|
|
7
7
|
|
|
8
8
|
// src/config/model-availability.ts
|
|
9
9
|
var DEFAULT_TTL_MS = 6e4;
|
|
@@ -150,4 +150,4 @@ export {
|
|
|
150
150
|
resetAvailabilityCache,
|
|
151
151
|
filterAvailableModels
|
|
152
152
|
};
|
|
153
|
-
//# sourceMappingURL=chunk-
|
|
153
|
+
//# sourceMappingURL=chunk-XSN65PSX.js.map
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
loadTechniquesRegistry,
|
|
9
9
|
resolveInsideRoot,
|
|
10
10
|
savePapersRegistry
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-3464EDLG.js";
|
|
12
12
|
import {
|
|
13
13
|
resolveToken
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-2FUUCJPQ.js";
|
|
15
15
|
import {
|
|
16
16
|
getToolMemory
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-FFXY3GG3.js";
|
|
18
18
|
import {
|
|
19
19
|
capitalizeWords,
|
|
20
20
|
tokenizeFiltered,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
ok,
|
|
44
44
|
registerPersistentDistillerFactory,
|
|
45
45
|
sigmoidConfidence
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-HFBKT7BY.js";
|
|
47
47
|
import {
|
|
48
48
|
ensureLearningDir,
|
|
49
49
|
getRulesFile
|
|
@@ -4275,4 +4275,4 @@ export {
|
|
|
4275
4275
|
DEFAULT_CONTEXT_BUDGET_TOKENS,
|
|
4276
4276
|
getContextPromptPrefix
|
|
4277
4277
|
};
|
|
4278
|
-
//# sourceMappingURL=chunk-
|
|
4278
|
+
//# sourceMappingURL=chunk-ZLIXVFY4.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateSecurityPlan
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VT75JAMR.js";
|
|
4
4
|
import {
|
|
5
5
|
analyzeGitHubRepo
|
|
6
6
|
} from "./chunk-4GDMHCKX.js";
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
DEFAULT_TASK_TTL_MS,
|
|
23
23
|
clampTaskTtl
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-LFTGWIDB.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-T2CFH257.js";
|
|
28
28
|
import {
|
|
29
29
|
DEPRECATED_MODE_ALIAS_INPUT,
|
|
30
30
|
JobStatusSchema,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
updateStage,
|
|
73
73
|
withWarnings,
|
|
74
74
|
writeJobCancelled
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-SFV75KOW.js";
|
|
76
76
|
import {
|
|
77
77
|
allOf,
|
|
78
78
|
anyOf
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
import {
|
|
81
81
|
normalizeTopicToCanonical,
|
|
82
82
|
synthesizeResearch
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-O23Z6TEB.js";
|
|
84
84
|
import {
|
|
85
85
|
IssueTriage,
|
|
86
86
|
createAuditTrail,
|
|
@@ -89,13 +89,13 @@ import {
|
|
|
89
89
|
createGraphAuditBridge,
|
|
90
90
|
emitPipelinePolicyEvent,
|
|
91
91
|
readActionRefusal
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-T2TKT7GM.js";
|
|
93
93
|
import {
|
|
94
94
|
sanitizeInput
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-6ALANRN5.js";
|
|
96
96
|
import {
|
|
97
97
|
withPrerequisite
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-DE4H5SQM.js";
|
|
99
99
|
import {
|
|
100
100
|
NOOP_NOTIFIER,
|
|
101
101
|
RateLimiter,
|
|
@@ -120,14 +120,14 @@ import {
|
|
|
120
120
|
toolSuccessStructured,
|
|
121
121
|
withProgressHeartbeat,
|
|
122
122
|
wrapToolWithTimeout
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-A46LARJL.js";
|
|
124
124
|
import {
|
|
125
125
|
EventTopics,
|
|
126
126
|
UNRESOLVED_MODEL_ID,
|
|
127
127
|
createEvent,
|
|
128
128
|
getGlobalEventBus,
|
|
129
129
|
getGlobalRegistry
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-IACPPUSB.js";
|
|
131
131
|
import {
|
|
132
132
|
IDENTIFIER_RE,
|
|
133
133
|
LANG_VALUES,
|
|
@@ -160,7 +160,7 @@ import {
|
|
|
160
160
|
parseRegistry,
|
|
161
161
|
sourceExistsInRegistry,
|
|
162
162
|
summarizeContextForPrompt
|
|
163
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-ZLIXVFY4.js";
|
|
164
164
|
import {
|
|
165
165
|
REGISTRY_PATH,
|
|
166
166
|
getProjectRoot,
|
|
@@ -168,25 +168,25 @@ import {
|
|
|
168
168
|
loadTechniquesRegistry,
|
|
169
169
|
resolveInsideRoot,
|
|
170
170
|
resolveRegistryRoot
|
|
171
|
-
} from "./chunk-
|
|
171
|
+
} from "./chunk-3464EDLG.js";
|
|
172
172
|
import {
|
|
173
173
|
getTokenEnvVars,
|
|
174
174
|
resolveToken
|
|
175
|
-
} from "./chunk-
|
|
175
|
+
} from "./chunk-2FUUCJPQ.js";
|
|
176
176
|
import {
|
|
177
177
|
DEFAULT_RELEVANCE_CONFIG,
|
|
178
178
|
MemoryImportance,
|
|
179
179
|
MemoryType,
|
|
180
180
|
calculateTextJaccardSimilarity,
|
|
181
181
|
getToolMemory
|
|
182
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-FFXY3GG3.js";
|
|
183
183
|
import {
|
|
184
184
|
STOPWORDS,
|
|
185
185
|
truncateWithInfo
|
|
186
186
|
} from "./chunk-7LP6VJRP.js";
|
|
187
187
|
import {
|
|
188
188
|
createSessionMemory
|
|
189
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-DUNJ3BGG.js";
|
|
190
190
|
import {
|
|
191
191
|
BUILT_IN_EXPERTS,
|
|
192
192
|
BuiltInExpertTypeSchema,
|
|
@@ -204,24 +204,24 @@ import {
|
|
|
204
204
|
getAvailableClis,
|
|
205
205
|
sleep,
|
|
206
206
|
withTimeout
|
|
207
|
-
} from "./chunk-
|
|
207
|
+
} from "./chunk-5XKDJDIP.js";
|
|
208
208
|
import {
|
|
209
209
|
BaseAdapter,
|
|
210
210
|
createStream,
|
|
211
211
|
requireApiKey,
|
|
212
212
|
validateApiKeyPresence
|
|
213
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-PVEIRHM2.js";
|
|
214
214
|
import {
|
|
215
215
|
DEFAULTS
|
|
216
|
-
} from "./chunk-
|
|
216
|
+
} from "./chunk-OZ6NDOR4.js";
|
|
217
217
|
import {
|
|
218
218
|
resolveGatewayEnv
|
|
219
|
-
} from "./chunk-
|
|
219
|
+
} from "./chunk-6RZ2O6T7.js";
|
|
220
220
|
import {
|
|
221
221
|
getAvailabilityCache,
|
|
222
222
|
getCliForModelId,
|
|
223
223
|
resolveFallback
|
|
224
|
-
} from "./chunk-
|
|
224
|
+
} from "./chunk-XSN65PSX.js";
|
|
225
225
|
import {
|
|
226
226
|
sanitizeErrorDetails
|
|
227
227
|
} from "./chunk-2NDA4DHW.js";
|
|
@@ -233,7 +233,7 @@ import {
|
|
|
233
233
|
import {
|
|
234
234
|
generateHyphenId,
|
|
235
235
|
generateUUID
|
|
236
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-C5VOEBIS.js";
|
|
237
237
|
import {
|
|
238
238
|
AGENT_ROUTER_TIMEOUTS,
|
|
239
239
|
API_TIMEOUTS,
|
|
@@ -349,7 +349,7 @@ import {
|
|
|
349
349
|
selectStrategyByManifest,
|
|
350
350
|
toExpertTaskAnalysisResult,
|
|
351
351
|
withStep
|
|
352
|
-
} from "./chunk-
|
|
352
|
+
} from "./chunk-HFBKT7BY.js";
|
|
353
353
|
import {
|
|
354
354
|
ensureLearningDir,
|
|
355
355
|
getMetaOutcomesFile,
|
|
@@ -30307,7 +30307,7 @@ function execIdFields(executionId) {
|
|
|
30307
30307
|
async function populateUnifiedContextOnState(state, options) {
|
|
30308
30308
|
const taskCandidate = state["task"];
|
|
30309
30309
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
30310
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
30310
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-MTWSVUI4.js");
|
|
30311
30311
|
const category = inferTaskCategory2(taskCandidate);
|
|
30312
30312
|
const executionId = options?.executionId;
|
|
30313
30313
|
const execFields = execIdFields(executionId);
|
|
@@ -36081,6 +36081,14 @@ function buildOptionalFields(r) {
|
|
|
36081
36081
|
if (r.triageAction !== void 0) fields["triageAction"] = r.triageAction;
|
|
36082
36082
|
return fields;
|
|
36083
36083
|
}
|
|
36084
|
+
function resolveWorkerOutcomeCli(resolvedCli, fallbackCli) {
|
|
36085
|
+
if (resolvedCli === void 0) {
|
|
36086
|
+
return fallbackCli;
|
|
36087
|
+
}
|
|
36088
|
+
const bare = resolvedCli.startsWith("cli-") ? resolvedCli.slice("cli-".length) : resolvedCli;
|
|
36089
|
+
const parsed = CliNameSchema.safeParse(bare);
|
|
36090
|
+
return parsed.success ? parsed.data : "unknown";
|
|
36091
|
+
}
|
|
36084
36092
|
function recordWorkerOutcomes(results, taskDescription) {
|
|
36085
36093
|
try {
|
|
36086
36094
|
const store = getOutcomeStore();
|
|
@@ -36091,7 +36099,7 @@ function recordWorkerOutcomes(results, taskDescription) {
|
|
|
36091
36099
|
for (const r of results) {
|
|
36092
36100
|
if (r.status === "skipped") continue;
|
|
36093
36101
|
const success = r.status === "success";
|
|
36094
|
-
const cli = r.resolvedCli
|
|
36102
|
+
const cli = resolveWorkerOutcomeCli(r.resolvedCli, fallbackCli);
|
|
36095
36103
|
store.append({
|
|
36096
36104
|
id: `worker-${r.role}-${String(getTimeProvider().now())}-${getRandomProvider().random().toString(36).slice(2, 6)}`,
|
|
36097
36105
|
cli,
|
|
@@ -45743,7 +45751,7 @@ async function tryIssueTriage(task) {
|
|
|
45743
45751
|
try {
|
|
45744
45752
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
45745
45753
|
if (issueMatch === null) return null;
|
|
45746
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
45754
|
+
const { createIssueTriage } = await import("./issue-triage-EHZPXKCZ.js");
|
|
45747
45755
|
const triage = createIssueTriage();
|
|
45748
45756
|
const owner = issueMatch[1] ?? "";
|
|
45749
45757
|
const num2 = issueMatch[2] ?? "";
|
|
@@ -45771,7 +45779,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
45771
45779
|
]);
|
|
45772
45780
|
async function classifyWithLLM(task) {
|
|
45773
45781
|
try {
|
|
45774
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
45782
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-EKZ3XRAT.js");
|
|
45775
45783
|
const prompt = [
|
|
45776
45784
|
"Classify this task into exactly one pipeline template.",
|
|
45777
45785
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -46145,7 +46153,7 @@ function buildVotingInput(plan, config) {
|
|
|
46145
46153
|
}
|
|
46146
46154
|
async function executeSingleVote(plan, config, log) {
|
|
46147
46155
|
try {
|
|
46148
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
46156
|
+
const { executeVoting } = await import("./consensus-vote-HS6BHA2N.js");
|
|
46149
46157
|
const input = buildVotingInput(plan, config);
|
|
46150
46158
|
const result = await executeVoting(input, log);
|
|
46151
46159
|
return parseVotingResult(result);
|
|
@@ -46849,7 +46857,7 @@ var memoryInitPromise = null;
|
|
|
46849
46857
|
async function initPipelineMemory() {
|
|
46850
46858
|
if (cachedMemory !== null) return cachedMemory;
|
|
46851
46859
|
try {
|
|
46852
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
46860
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-2P3NSEJJ.js");
|
|
46853
46861
|
const { getLearningDir } = await import("./learning-persistence-ER7E5Q6T.js");
|
|
46854
46862
|
const mem = createSessionMemory2(getLearningDir());
|
|
46855
46863
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
@@ -46911,7 +46919,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
|
|
|
46911
46919
|
callRecord(routingMemoryCache);
|
|
46912
46920
|
return;
|
|
46913
46921
|
}
|
|
46914
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
46922
|
+
routingMemoryInitPromise ??= import("./routing-memory-HV65CNTK.js").then(({ createRoutingMemory }) => {
|
|
46915
46923
|
routingMemoryCache ??= createRoutingMemory();
|
|
46916
46924
|
return routingMemoryCache;
|
|
46917
46925
|
}).catch((error) => {
|
|
@@ -47068,7 +47076,7 @@ function createVoteStage({ config, startStage }) {
|
|
|
47068
47076
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47069
47077
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47070
47078
|
try {
|
|
47071
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47079
|
+
const { executeVoting } = await import("./consensus-vote-HS6BHA2N.js");
|
|
47072
47080
|
const votingResult = await executeVoting(
|
|
47073
47081
|
{
|
|
47074
47082
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -47827,7 +47835,7 @@ ${text}` : "";
|
|
|
47827
47835
|
}
|
|
47828
47836
|
async function getWeatherContext() {
|
|
47829
47837
|
try {
|
|
47830
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
47838
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-IU2MQBCS.js");
|
|
47831
47839
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
47832
47840
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
47833
47841
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -47845,7 +47853,7 @@ ${lines}
|
|
|
47845
47853
|
}
|
|
47846
47854
|
async function getMemoryContext(task) {
|
|
47847
47855
|
try {
|
|
47848
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47856
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-2P3NSEJJ.js");
|
|
47849
47857
|
const { getLearningDir } = await import("./learning-persistence-ER7E5Q6T.js");
|
|
47850
47858
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
47851
47859
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
@@ -48412,7 +48420,7 @@ async function searchCodebaseForTask(task) {
|
|
|
48412
48420
|
}
|
|
48413
48421
|
async function queryResearchRegistry(task) {
|
|
48414
48422
|
try {
|
|
48415
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
48423
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-3IHB3E2T.js");
|
|
48416
48424
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
48417
48425
|
if (topic === void 0) return null;
|
|
48418
48426
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -48483,7 +48491,7 @@ function createScanStageWrapper() {
|
|
|
48483
48491
|
try {
|
|
48484
48492
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
48485
48493
|
if (slug !== void 0) {
|
|
48486
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
48494
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-2XFHLOMA.js");
|
|
48487
48495
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
48488
48496
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
48489
48497
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -52227,7 +52235,7 @@ var GitHubTaskTracker = class {
|
|
|
52227
52235
|
cachedProvider = null;
|
|
52228
52236
|
async getProvider() {
|
|
52229
52237
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
52230
|
-
const { createScmProvider } = await import("./factory-
|
|
52238
|
+
const { createScmProvider } = await import("./factory-GTZU7LWH.js");
|
|
52231
52239
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
52232
52240
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
52233
52241
|
this.cachedProvider = result.value;
|
|
@@ -53194,7 +53202,7 @@ async function probeSource(source, includeModelIds) {
|
|
|
53194
53202
|
}
|
|
53195
53203
|
}
|
|
53196
53204
|
async function defaultSources(includeOpenRouter) {
|
|
53197
|
-
const { createAllAdapters: createAllAdapters2 } = await import("./factory-
|
|
53205
|
+
const { createAllAdapters: createAllAdapters2 } = await import("./factory-756K7DJU.js");
|
|
53198
53206
|
const adapters = createAllAdapters2();
|
|
53199
53207
|
return buildDefaultModelSources(adapters, { includeOpenRouter });
|
|
53200
53208
|
}
|
|
@@ -56519,4 +56527,4 @@ export {
|
|
|
56519
56527
|
startPipelineEventBridge,
|
|
56520
56528
|
shutdownPipelineEventBridge
|
|
56521
56529
|
};
|
|
56522
|
-
//# sourceMappingURL=chunk-
|
|
56530
|
+
//# sourceMappingURL=chunk-ZQFV7CRR.js.map
|