nexus-agents 6.1.4 → 6.2.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-4DDBRYPA.js → child-mcp-config-MAEPMEMJ.js} +2 -2
- package/dist/{chunk-JYOSSAYY.js → chunk-5WVP7C3Z.js} +4 -4
- package/dist/{chunk-K3P5KQXZ.js → chunk-6JBCXRWI.js} +2 -2
- package/dist/{chunk-JPIEVAVJ.js → chunk-74FMJTGV.js} +7 -7
- package/dist/{chunk-ETEKZ4RK.js → chunk-7ANADXHH.js} +2 -2
- package/dist/{chunk-OMDOE7TS.js → chunk-AQOUQIIO.js} +16 -11
- package/dist/{chunk-OMDOE7TS.js.map → chunk-AQOUQIIO.js.map} +1 -1
- package/dist/{chunk-DDCKXILN.js → chunk-B7DESALP.js} +2 -2
- package/dist/{chunk-BSUATLSL.js → chunk-BA6LALHG.js} +2 -2
- package/dist/{chunk-BIOAMDHR.js → chunk-CJQRCKR4.js} +2 -2
- package/dist/{chunk-QNXB6PVL.js → chunk-FCJN757G.js} +2 -2
- package/dist/{chunk-2PEHRCZ2.js → chunk-HKP47JNU.js} +3 -3
- package/dist/{chunk-5OISEA34.js → chunk-JVQU5EDH.js} +5 -5
- package/dist/{chunk-KQYXPAFQ.js → chunk-KUP3YM2J.js} +2 -2
- package/dist/{chunk-62JZZXZA.js → chunk-L4BL4UHG.js} +2 -2
- package/dist/{chunk-CL4TF6YT.js → chunk-LHDMQAYQ.js} +2 -2
- package/dist/{chunk-3N3HTDAK.js → chunk-LJEUEU6B.js} +2 -2
- package/dist/{chunk-RPXCZLC7.js → chunk-MPCVF44P.js} +4 -4
- package/dist/{chunk-YYCQ5G3K.js → chunk-NDPUIPKN.js} +2 -2
- package/dist/{chunk-LQOANCSX.js → chunk-OWPBJIWP.js} +2 -2
- package/dist/{chunk-MGXRJZUQ.js → chunk-OYMLM23M.js} +2 -2
- package/dist/{chunk-RGK3N3UN.js → chunk-P7URBNEC.js} +3 -3
- package/dist/chunk-P7URBNEC.js.map +1 -0
- package/dist/{chunk-3NCBSBSA.js → chunk-QKAGRX22.js} +2 -2
- package/dist/{chunk-RGLSWWTT.js → chunk-QPGSBGG5.js} +5 -5
- package/dist/{chunk-5C5AJ3AK.js → chunk-SEQIGOAF.js} +3 -3
- package/dist/{chunk-JPEXSNOX.js → chunk-SJH3ZEKK.js} +52 -9
- package/dist/chunk-SJH3ZEKK.js.map +1 -0
- package/dist/{chunk-I7VQGYLE.js → chunk-TCKBYC7Z.js} +2 -2
- package/dist/{chunk-XZHGPNSB.js → chunk-U443FR6F.js} +4 -4
- package/dist/{chunk-GHD3CUV7.js → chunk-V36QXMIL.js} +7 -7
- package/dist/{chunk-3B5746AG.js → chunk-VXXA5UN7.js} +2 -2
- package/dist/{chunk-TOK5RX5Y.js → chunk-WP4ILUPM.js} +35 -35
- package/dist/chunk-WTS6XM5S.js +7 -0
- package/dist/{chunk-OBCBF2AI.js → chunk-WZHWX3SA.js} +6 -6
- package/dist/{chunk-XKHFPXIP.js → chunk-YAT2GTVH.js} +4 -4
- package/dist/{chunk-6U2OC56L.js → chunk-ZQSBNRKS.js} +3 -3
- package/dist/{cli-circuit-breaker-EZYSMS5J.js → cli-circuit-breaker-XUP4B3CR.js} +3 -3
- package/dist/cli.js +41 -41
- package/dist/{composite-router-4MX77KAO.js → composite-router-EY5NIZUY.js} +2 -2
- package/dist/{consensus-vote-UXITDP2P.js → consensus-vote-TFCCNC67.js} +17 -17
- package/dist/{context-retriever-XQXSR7X2.js → context-retriever-3UYUB2VS.js} +8 -8
- package/dist/{doctor-deep-LTNNWX2R.js → doctor-deep-LFUNO5N5.js} +3 -3
- package/dist/{doctor-live-S3EP4CDZ.js → doctor-live-PT63BVXI.js} +9 -9
- package/dist/{expert-bridge-3EHBG44P.js → expert-bridge-CLYAPS4Q.js} +4 -4
- package/dist/{factory-5EQYMH5L.js → factory-OBIKYM7M.js} +5 -5
- package/dist/{factory-I7V3JB6F.js → factory-RKYK7SS3.js} +9 -9
- package/dist/{improvement-review-KGPFAXTX.js → improvement-review-V4AQIMAI.js} +6 -6
- package/dist/index.d.ts +30 -1
- package/dist/index.js +31 -31
- package/dist/{init-opencode-CX5YQG7X.js → init-opencode-WXD57CGR.js} +6 -6
- package/dist/issue-triage-3BMIT32P.js +17 -0
- package/dist/{pr-reviewer-helpers-BVQYKJQC.js → pr-reviewer-helpers-GNQAEMFV.js} +4 -4
- package/dist/{registry-command-AM4NCHY6.js → registry-command-ZSMUSV6O.js} +2 -2
- package/dist/{repo-security-plan-4LB6D3NE.js → repo-security-plan-O6V4POGE.js} +3 -3
- package/dist/{research-helpers-synthesize-R3NHYY7G.js → research-helpers-synthesize-AKWLYM53.js} +4 -4
- package/dist/{routing-memory-UFJLIHRW.js → routing-memory-6JURKD7X.js} +2 -2
- package/dist/{session-memory-47LD45HS.js → session-memory-AOHQ7GFR.js} +3 -3
- package/dist/{setup-config-CZ4ATPBX.js → setup-config-YBPHQKMF.js} +3 -3
- package/dist/{setup-custom-api-7W5AHZVX.js → setup-custom-api-F24U4TMD.js} +4 -4
- package/dist/setup-data-dir-2D6SXQHE.js +29 -0
- package/dist/{tool-memory-FTLUCKZI.js → tool-memory-QNOIOXGA.js} +5 -5
- package/dist/{unified-registry-GBD77P3U.js → unified-registry-YEKBJ4R4.js} +10 -10
- package/dist/{weather-report-C6HWZL3B.js → weather-report-RTKKHFDM.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-JPEXSNOX.js.map +0 -1
- package/dist/chunk-RGK3N3UN.js.map +0 -1
- package/dist/chunk-YDX6SDOB.js +0 -7
- package/dist/issue-triage-FQXZ2UCS.js +0 -17
- package/dist/setup-data-dir-QH76XJKH.js +0 -29
- /package/dist/{child-mcp-config-4DDBRYPA.js.map → child-mcp-config-MAEPMEMJ.js.map} +0 -0
- /package/dist/{chunk-JYOSSAYY.js.map → chunk-5WVP7C3Z.js.map} +0 -0
- /package/dist/{chunk-K3P5KQXZ.js.map → chunk-6JBCXRWI.js.map} +0 -0
- /package/dist/{chunk-JPIEVAVJ.js.map → chunk-74FMJTGV.js.map} +0 -0
- /package/dist/{chunk-ETEKZ4RK.js.map → chunk-7ANADXHH.js.map} +0 -0
- /package/dist/{chunk-DDCKXILN.js.map → chunk-B7DESALP.js.map} +0 -0
- /package/dist/{chunk-BSUATLSL.js.map → chunk-BA6LALHG.js.map} +0 -0
- /package/dist/{chunk-BIOAMDHR.js.map → chunk-CJQRCKR4.js.map} +0 -0
- /package/dist/{chunk-QNXB6PVL.js.map → chunk-FCJN757G.js.map} +0 -0
- /package/dist/{chunk-2PEHRCZ2.js.map → chunk-HKP47JNU.js.map} +0 -0
- /package/dist/{chunk-5OISEA34.js.map → chunk-JVQU5EDH.js.map} +0 -0
- /package/dist/{chunk-KQYXPAFQ.js.map → chunk-KUP3YM2J.js.map} +0 -0
- /package/dist/{chunk-62JZZXZA.js.map → chunk-L4BL4UHG.js.map} +0 -0
- /package/dist/{chunk-CL4TF6YT.js.map → chunk-LHDMQAYQ.js.map} +0 -0
- /package/dist/{chunk-3N3HTDAK.js.map → chunk-LJEUEU6B.js.map} +0 -0
- /package/dist/{chunk-RPXCZLC7.js.map → chunk-MPCVF44P.js.map} +0 -0
- /package/dist/{chunk-YYCQ5G3K.js.map → chunk-NDPUIPKN.js.map} +0 -0
- /package/dist/{chunk-LQOANCSX.js.map → chunk-OWPBJIWP.js.map} +0 -0
- /package/dist/{chunk-MGXRJZUQ.js.map → chunk-OYMLM23M.js.map} +0 -0
- /package/dist/{chunk-3NCBSBSA.js.map → chunk-QKAGRX22.js.map} +0 -0
- /package/dist/{chunk-RGLSWWTT.js.map → chunk-QPGSBGG5.js.map} +0 -0
- /package/dist/{chunk-5C5AJ3AK.js.map → chunk-SEQIGOAF.js.map} +0 -0
- /package/dist/{chunk-I7VQGYLE.js.map → chunk-TCKBYC7Z.js.map} +0 -0
- /package/dist/{chunk-XZHGPNSB.js.map → chunk-U443FR6F.js.map} +0 -0
- /package/dist/{chunk-GHD3CUV7.js.map → chunk-V36QXMIL.js.map} +0 -0
- /package/dist/{chunk-3B5746AG.js.map → chunk-VXXA5UN7.js.map} +0 -0
- /package/dist/{chunk-TOK5RX5Y.js.map → chunk-WP4ILUPM.js.map} +0 -0
- /package/dist/{chunk-YDX6SDOB.js.map → chunk-WTS6XM5S.js.map} +0 -0
- /package/dist/{chunk-OBCBF2AI.js.map → chunk-WZHWX3SA.js.map} +0 -0
- /package/dist/{chunk-XKHFPXIP.js.map → chunk-YAT2GTVH.js.map} +0 -0
- /package/dist/{chunk-6U2OC56L.js.map → chunk-ZQSBNRKS.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-EZYSMS5J.js.map → cli-circuit-breaker-XUP4B3CR.js.map} +0 -0
- /package/dist/{composite-router-4MX77KAO.js.map → composite-router-EY5NIZUY.js.map} +0 -0
- /package/dist/{consensus-vote-UXITDP2P.js.map → consensus-vote-TFCCNC67.js.map} +0 -0
- /package/dist/{context-retriever-XQXSR7X2.js.map → context-retriever-3UYUB2VS.js.map} +0 -0
- /package/dist/{doctor-deep-LTNNWX2R.js.map → doctor-deep-LFUNO5N5.js.map} +0 -0
- /package/dist/{doctor-live-S3EP4CDZ.js.map → doctor-live-PT63BVXI.js.map} +0 -0
- /package/dist/{expert-bridge-3EHBG44P.js.map → expert-bridge-CLYAPS4Q.js.map} +0 -0
- /package/dist/{factory-5EQYMH5L.js.map → factory-OBIKYM7M.js.map} +0 -0
- /package/dist/{factory-I7V3JB6F.js.map → factory-RKYK7SS3.js.map} +0 -0
- /package/dist/{improvement-review-KGPFAXTX.js.map → improvement-review-V4AQIMAI.js.map} +0 -0
- /package/dist/{init-opencode-CX5YQG7X.js.map → init-opencode-WXD57CGR.js.map} +0 -0
- /package/dist/{issue-triage-FQXZ2UCS.js.map → issue-triage-3BMIT32P.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-BVQYKJQC.js.map → pr-reviewer-helpers-GNQAEMFV.js.map} +0 -0
- /package/dist/{registry-command-AM4NCHY6.js.map → registry-command-ZSMUSV6O.js.map} +0 -0
- /package/dist/{repo-security-plan-4LB6D3NE.js.map → repo-security-plan-O6V4POGE.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-R3NHYY7G.js.map → research-helpers-synthesize-AKWLYM53.js.map} +0 -0
- /package/dist/{routing-memory-UFJLIHRW.js.map → routing-memory-6JURKD7X.js.map} +0 -0
- /package/dist/{session-memory-47LD45HS.js.map → session-memory-AOHQ7GFR.js.map} +0 -0
- /package/dist/{setup-config-CZ4ATPBX.js.map → setup-config-YBPHQKMF.js.map} +0 -0
- /package/dist/{setup-custom-api-7W5AHZVX.js.map → setup-custom-api-F24U4TMD.js.map} +0 -0
- /package/dist/{setup-data-dir-QH76XJKH.js.map → setup-data-dir-2D6SXQHE.js.map} +0 -0
- /package/dist/{tool-memory-FTLUCKZI.js.map → tool-memory-QNOIOXGA.js.map} +0 -0
- /package/dist/{unified-registry-GBD77P3U.js.map → unified-registry-YEKBJ4R4.js.map} +0 -0
- /package/dist/{weather-report-C6HWZL3B.js.map → weather-report-RTKKHFDM.js.map} +0 -0
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
computeTokenCost,
|
|
3
3
|
getDefaultRegistry,
|
|
4
4
|
roundToMicroUsd
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-P7URBNEC.js";
|
|
6
6
|
import {
|
|
7
7
|
getNexusDataDir
|
|
8
8
|
} from "./chunk-OGHEKPLD.js";
|
|
@@ -131,4 +131,4 @@ export {
|
|
|
131
131
|
loadUsageEvents,
|
|
132
132
|
rollupByModel
|
|
133
133
|
};
|
|
134
|
-
//# sourceMappingURL=chunk-
|
|
134
|
+
//# sourceMappingURL=chunk-TCKBYC7Z.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createAutoAdapter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SJH3ZEKK.js";
|
|
4
4
|
import {
|
|
5
5
|
getDefaultCliCircuitBreakerRegistry,
|
|
6
6
|
mapModelErrorToCategory
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OWPBJIWP.js";
|
|
8
8
|
import {
|
|
9
9
|
CLI_NAMES,
|
|
10
10
|
CircularBuffer,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
recordRateLimitEvent,
|
|
24
24
|
resolveModelIdentitySync,
|
|
25
25
|
toRateLimitError
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-P7URBNEC.js";
|
|
27
27
|
|
|
28
28
|
// src/config/model-equivalence.ts
|
|
29
29
|
function canonicalModelKey(modelId) {
|
|
@@ -895,4 +895,4 @@ export {
|
|
|
895
895
|
getGlobalRegistry,
|
|
896
896
|
resetGlobalRegistry
|
|
897
897
|
};
|
|
898
|
-
//# sourceMappingURL=chunk-
|
|
898
|
+
//# sourceMappingURL=chunk-U443FR6F.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveCliSlot
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LHDMQAYQ.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger,
|
|
6
6
|
getTimeProvider,
|
|
7
7
|
isRateLimitText
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-P7URBNEC.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-MAEPMEMJ.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-RKYK7SS3.js");
|
|
97
|
+
const { createCompositeRouter } = await import("./composite-router-EY5NIZUY.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-XUP4B3CR.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-V36QXMIL.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
createLogger,
|
|
4
4
|
err,
|
|
5
5
|
ok
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-P7URBNEC.js";
|
|
7
7
|
|
|
8
8
|
// src/adapters/sdk/types.ts
|
|
9
9
|
var PROVIDER_ENV_KEYS = {
|
|
@@ -260,4 +260,4 @@ export {
|
|
|
260
260
|
validateCustomApiBaseUrl,
|
|
261
261
|
assertCustomApiHostResolvesPublic
|
|
262
262
|
};
|
|
263
|
-
//# sourceMappingURL=chunk-
|
|
263
|
+
//# sourceMappingURL=chunk-VXXA5UN7.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateSecurityPlan
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KUP3YM2J.js";
|
|
4
4
|
import {
|
|
5
5
|
analyzeGitHubRepo
|
|
6
6
|
} from "./chunk-HFOQKCD2.js";
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
DEFAULT_TASK_TTL_MS,
|
|
23
23
|
clampTaskTtl
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-74FMJTGV.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-V36QXMIL.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-AQOUQIIO.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-ZQSBNRKS.js";
|
|
58
58
|
import {
|
|
59
59
|
IssueTriage
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-WZHWX3SA.js";
|
|
61
61
|
import {
|
|
62
62
|
resolveEnvMode,
|
|
63
63
|
sanitizeInput
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-FCJN757G.js";
|
|
65
65
|
import {
|
|
66
66
|
withPrerequisite
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-SEQIGOAF.js";
|
|
68
68
|
import {
|
|
69
69
|
NOOP_NOTIFIER,
|
|
70
70
|
RateLimiter,
|
|
@@ -88,18 +88,18 @@ import {
|
|
|
88
88
|
withAuditTrail,
|
|
89
89
|
withProgressHeartbeat,
|
|
90
90
|
wrapToolWithTimeout
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-5WVP7C3Z.js";
|
|
92
92
|
import {
|
|
93
93
|
createAuditTrail,
|
|
94
94
|
createGraphAuditBridge,
|
|
95
95
|
emitPipelinePolicyEvent
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-OYMLM23M.js";
|
|
97
97
|
import {
|
|
98
98
|
EventTopics,
|
|
99
99
|
createEvent,
|
|
100
100
|
getGlobalEventBus,
|
|
101
101
|
getGlobalRegistry
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-U443FR6F.js";
|
|
103
103
|
import {
|
|
104
104
|
IDENTIFIER_RE,
|
|
105
105
|
LANG_VALUES,
|
|
@@ -132,29 +132,29 @@ import {
|
|
|
132
132
|
parseRegistry,
|
|
133
133
|
sourceExistsInRegistry,
|
|
134
134
|
summarizeContextForPrompt
|
|
135
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-JVQU5EDH.js";
|
|
136
136
|
import {
|
|
137
137
|
loadPapersRegistry,
|
|
138
138
|
loadTechniquesRegistry,
|
|
139
139
|
resolveInsideRoot
|
|
140
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-6JBCXRWI.js";
|
|
141
141
|
import {
|
|
142
142
|
getTokenEnvVars,
|
|
143
143
|
resolveToken
|
|
144
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-LJEUEU6B.js";
|
|
145
145
|
import {
|
|
146
146
|
DEFAULT_RELEVANCE_CONFIG,
|
|
147
147
|
MemoryImportance,
|
|
148
148
|
calculateTextJaccardSimilarity,
|
|
149
149
|
getToolMemory
|
|
150
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-YAT2GTVH.js";
|
|
151
151
|
import {
|
|
152
152
|
STOPWORDS,
|
|
153
153
|
truncateWithInfo
|
|
154
154
|
} from "./chunk-6T3EPABN.js";
|
|
155
155
|
import {
|
|
156
156
|
createSessionMemory
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-7ANADXHH.js";
|
|
158
158
|
import {
|
|
159
159
|
BUILT_IN_EXPERTS,
|
|
160
160
|
BuiltInExpertTypeSchema,
|
|
@@ -172,25 +172,25 @@ import {
|
|
|
172
172
|
getAvailableClis,
|
|
173
173
|
sleep,
|
|
174
174
|
withTimeout
|
|
175
|
-
} from "./chunk-
|
|
175
|
+
} from "./chunk-SJH3ZEKK.js";
|
|
176
176
|
import {
|
|
177
177
|
BaseAdapter,
|
|
178
178
|
createStream,
|
|
179
179
|
requireApiKey,
|
|
180
180
|
validateApiKeyPresence
|
|
181
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-QKAGRX22.js";
|
|
182
182
|
import {
|
|
183
183
|
DEFAULTS
|
|
184
|
-
} from "./chunk-
|
|
184
|
+
} from "./chunk-NDPUIPKN.js";
|
|
185
185
|
import {
|
|
186
186
|
getAvailabilityCache,
|
|
187
187
|
getCliForModelId,
|
|
188
188
|
resolveFallback
|
|
189
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-LHDMQAYQ.js";
|
|
190
190
|
import {
|
|
191
191
|
generateHyphenId,
|
|
192
192
|
generateUUID
|
|
193
|
-
} from "./chunk-
|
|
193
|
+
} from "./chunk-L4BL4UHG.js";
|
|
194
194
|
import {
|
|
195
195
|
AGENT_ROUTER_TIMEOUTS,
|
|
196
196
|
API_TIMEOUTS,
|
|
@@ -296,7 +296,7 @@ import {
|
|
|
296
296
|
selectStrategyByManifest,
|
|
297
297
|
toExpertTaskAnalysisResult,
|
|
298
298
|
withStep
|
|
299
|
-
} from "./chunk-
|
|
299
|
+
} from "./chunk-P7URBNEC.js";
|
|
300
300
|
import {
|
|
301
301
|
ensureLearningDir,
|
|
302
302
|
getMetaOutcomesFile,
|
|
@@ -29692,7 +29692,7 @@ function execIdFields(executionId) {
|
|
|
29692
29692
|
async function populateUnifiedContextOnState(state, options) {
|
|
29693
29693
|
const taskCandidate = state["task"];
|
|
29694
29694
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
29695
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
29695
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-3UYUB2VS.js");
|
|
29696
29696
|
const category = inferTaskCategory2(taskCandidate);
|
|
29697
29697
|
const executionId = options?.executionId;
|
|
29698
29698
|
const execFields = execIdFields(executionId);
|
|
@@ -45525,7 +45525,7 @@ async function tryIssueTriage(task) {
|
|
|
45525
45525
|
try {
|
|
45526
45526
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
45527
45527
|
if (issueMatch === null) return null;
|
|
45528
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
45528
|
+
const { createIssueTriage } = await import("./issue-triage-3BMIT32P.js");
|
|
45529
45529
|
const triage = createIssueTriage();
|
|
45530
45530
|
const owner = issueMatch[1] ?? "";
|
|
45531
45531
|
const num = issueMatch[2] ?? "";
|
|
@@ -45553,7 +45553,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
45553
45553
|
]);
|
|
45554
45554
|
async function classifyWithLLM(task) {
|
|
45555
45555
|
try {
|
|
45556
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
45556
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-CLYAPS4Q.js");
|
|
45557
45557
|
const prompt = [
|
|
45558
45558
|
"Classify this task into exactly one pipeline template.",
|
|
45559
45559
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -47125,7 +47125,7 @@ var memoryInitPromise = null;
|
|
|
47125
47125
|
async function initPipelineMemory() {
|
|
47126
47126
|
if (cachedMemory !== null) return cachedMemory;
|
|
47127
47127
|
try {
|
|
47128
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47128
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-AOHQ7GFR.js");
|
|
47129
47129
|
const { getLearningDir } = await import("./learning-persistence-7O5QYDM7.js");
|
|
47130
47130
|
const mem = createSessionMemory2(getLearningDir());
|
|
47131
47131
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
@@ -47187,7 +47187,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
|
|
|
47187
47187
|
callRecord(routingMemoryCache);
|
|
47188
47188
|
return;
|
|
47189
47189
|
}
|
|
47190
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
47190
|
+
routingMemoryInitPromise ??= import("./routing-memory-6JURKD7X.js").then(({ createRoutingMemory }) => {
|
|
47191
47191
|
routingMemoryCache ??= createRoutingMemory();
|
|
47192
47192
|
return routingMemoryCache;
|
|
47193
47193
|
}).catch((error) => {
|
|
@@ -47221,7 +47221,7 @@ ${text}` : "";
|
|
|
47221
47221
|
}
|
|
47222
47222
|
async function getWeatherContext() {
|
|
47223
47223
|
try {
|
|
47224
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
47224
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-RTKKHFDM.js");
|
|
47225
47225
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
47226
47226
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
47227
47227
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -47239,7 +47239,7 @@ ${lines}
|
|
|
47239
47239
|
}
|
|
47240
47240
|
async function getMemoryContext(task) {
|
|
47241
47241
|
try {
|
|
47242
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47242
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-AOHQ7GFR.js");
|
|
47243
47243
|
const { getLearningDir } = await import("./learning-persistence-7O5QYDM7.js");
|
|
47244
47244
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
47245
47245
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
@@ -47358,7 +47358,7 @@ ${contextBlock}`;
|
|
|
47358
47358
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47359
47359
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47360
47360
|
try {
|
|
47361
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47361
|
+
const { executeVoting } = await import("./consensus-vote-TFCCNC67.js");
|
|
47362
47362
|
const votingResult = await executeVoting(
|
|
47363
47363
|
{
|
|
47364
47364
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -47787,7 +47787,7 @@ async function searchCodebaseForTask(task) {
|
|
|
47787
47787
|
}
|
|
47788
47788
|
async function queryResearchRegistry(task) {
|
|
47789
47789
|
try {
|
|
47790
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
47790
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-AKWLYM53.js");
|
|
47791
47791
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
47792
47792
|
if (topic === void 0) return null;
|
|
47793
47793
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -47858,7 +47858,7 @@ function createScanStageWrapper() {
|
|
|
47858
47858
|
try {
|
|
47859
47859
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
47860
47860
|
if (slug !== void 0) {
|
|
47861
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
47861
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-O6V4POGE.js");
|
|
47862
47862
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
47863
47863
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
47864
47864
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -51002,7 +51002,7 @@ var GitHubTaskTracker = class {
|
|
|
51002
51002
|
cachedProvider = null;
|
|
51003
51003
|
async getProvider() {
|
|
51004
51004
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
51005
|
-
const { createScmProvider } = await import("./factory-
|
|
51005
|
+
const { createScmProvider } = await import("./factory-OBIKYM7M.js");
|
|
51006
51006
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
51007
51007
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
51008
51008
|
this.cachedProvider = result.value;
|
|
@@ -51917,7 +51917,7 @@ async function probeSource(source, includeModelIds) {
|
|
|
51917
51917
|
}
|
|
51918
51918
|
}
|
|
51919
51919
|
async function defaultSources(includeOpenRouter) {
|
|
51920
|
-
const { createAllAdapters: createAllAdapters2 } = await import("./factory-
|
|
51920
|
+
const { createAllAdapters: createAllAdapters2 } = await import("./factory-RKYK7SS3.js");
|
|
51921
51921
|
const adapters = createAllAdapters2();
|
|
51922
51922
|
return buildDefaultModelSources(adapters, { includeOpenRouter });
|
|
51923
51923
|
}
|
|
@@ -55989,4 +55989,4 @@ export {
|
|
|
55989
55989
|
shutdownFeedbackSubscriber,
|
|
55990
55990
|
createEventBusBridge
|
|
55991
55991
|
};
|
|
55992
|
-
//# sourceMappingURL=chunk-
|
|
55992
|
+
//# sourceMappingURL=chunk-WP4ILUPM.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GitHubProvider,
|
|
3
3
|
ScmError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-BA6LALHG.js";
|
|
5
5
|
import {
|
|
6
6
|
ROLE_DEFAULT_TRUST,
|
|
7
7
|
ReputationCache,
|
|
@@ -11,20 +11,20 @@ import {
|
|
|
11
11
|
gateWithReputation,
|
|
12
12
|
resolveReputationGatingMode,
|
|
13
13
|
sanitizeInput
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-FCJN757G.js";
|
|
15
15
|
import {
|
|
16
16
|
emitPolicyEvent
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-OYMLM23M.js";
|
|
18
18
|
import {
|
|
19
19
|
hasToken
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-LJEUEU6B.js";
|
|
21
21
|
import {
|
|
22
22
|
CLI_SUBPROCESS_TIMEOUTS,
|
|
23
23
|
createLogger,
|
|
24
24
|
err,
|
|
25
25
|
getTimeProvider,
|
|
26
26
|
ok
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-P7URBNEC.js";
|
|
28
28
|
|
|
29
29
|
// src/security/trust-classifier.ts
|
|
30
30
|
function mapAuthorAssociation(association) {
|
|
@@ -1247,4 +1247,4 @@ export {
|
|
|
1247
1247
|
IssueTriage,
|
|
1248
1248
|
createIssueTriage
|
|
1249
1249
|
};
|
|
1250
|
-
//# sourceMappingURL=chunk-
|
|
1250
|
+
//# sourceMappingURL=chunk-WZHWX3SA.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-7ANADXHH.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-L4BL4UHG.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-P7URBNEC.js";
|
|
32
32
|
import {
|
|
33
33
|
nexusDataPath
|
|
34
34
|
} from "./chunk-OGHEKPLD.js";
|
|
@@ -5622,4 +5622,4 @@ export {
|
|
|
5622
5622
|
reinitializeMemoryBackends,
|
|
5623
5623
|
ToolMemoryManager
|
|
5624
5624
|
};
|
|
5625
|
-
//# sourceMappingURL=chunk-
|
|
5625
|
+
//# sourceMappingURL=chunk-YAT2GTVH.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadPapersRegistry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6JBCXRWI.js";
|
|
4
4
|
import {
|
|
5
5
|
getErrorMessage
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-P7URBNEC.js";
|
|
7
7
|
|
|
8
8
|
// src/cli/research-helpers-synthesize.ts
|
|
9
9
|
import { z } from "zod";
|
|
@@ -886,4 +886,4 @@ export {
|
|
|
886
886
|
AttributedInsightSchema,
|
|
887
887
|
synthesizeResearch
|
|
888
888
|
};
|
|
889
|
-
//# sourceMappingURL=chunk-
|
|
889
|
+
//# sourceMappingURL=chunk-ZQSBNRKS.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-OWPBJIWP.js";
|
|
7
|
+
import "./chunk-P7URBNEC.js";
|
|
8
8
|
import "./chunk-GBHJ37V3.js";
|
|
9
9
|
import "./chunk-OGHEKPLD.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-XUP4B3CR.js.map
|