nexus-agents 2.123.0 → 2.123.1
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-YXRJJ3CP.js → child-mcp-config-ZASIGU4V.js} +2 -2
- package/dist/{chunk-2AFLMWWM.js → chunk-3BLX2ZEU.js} +2 -2
- package/dist/{chunk-TC5MQEPN.js → chunk-63YNZU2I.js} +7 -7
- package/dist/{chunk-PXLFGPDI.js → chunk-A26VL5R3.js} +2 -2
- package/dist/{chunk-3JB7WKAH.js → chunk-BF46VJNG.js} +4 -4
- package/dist/{chunk-Q2HPGUYU.js → chunk-BNERRUHK.js} +7 -7
- package/dist/{chunk-GLQXPUR6.js → chunk-C44SKLHE.js} +5 -5
- package/dist/{chunk-TU4JMT7N.js → chunk-C6VVHVWI.js} +2 -2
- package/dist/{chunk-A2BP4HH3.js → chunk-DWJ7ZFGK.js} +2 -2
- package/dist/{chunk-TE4TMBG7.js → chunk-F23XI5DO.js} +2 -2
- package/dist/{chunk-AQJ3UWBM.js → chunk-FP2BY2ZD.js} +7 -7
- package/dist/{chunk-4KXZJMRL.js → chunk-G7AFJSDS.js} +2 -2
- package/dist/{chunk-NOOKI2VW.js → chunk-GHZYCK4G.js} +2 -2
- package/dist/{chunk-Q2AEB7ZU.js → chunk-GUNSHDTG.js} +3 -3
- package/dist/{chunk-CTBQTMVD.js → chunk-IVFKS4F4.js} +3 -3
- package/dist/{chunk-4LYJQQZZ.js → chunk-K72Q6L5P.js} +5 -5
- package/dist/{chunk-BEGE5AUB.js → chunk-KE5YAYUI.js} +3 -3
- package/dist/{chunk-NUNWTLIO.js → chunk-LLENK7WI.js} +2 -2
- package/dist/{chunk-6QX2OGQN.js → chunk-PWY6FL36.js} +9 -5
- package/dist/chunk-PWY6FL36.js.map +1 -0
- package/dist/{chunk-O4QVMKZF.js → chunk-QMWICBVK.js} +3 -3
- package/dist/{chunk-7SMDUFDL.js → chunk-RLXR4V4K.js} +2 -2
- package/dist/{chunk-OTTZKU3C.js → chunk-S6XPURVS.js} +3 -3
- package/dist/{chunk-OYNFHDWJ.js → chunk-SU2J4QGQ.js} +4 -4
- package/dist/{chunk-7GSAGNEU.js → chunk-SVWOBJNY.js} +2 -2
- package/dist/{chunk-3WNRZSHF.js → chunk-TYU5JV5P.js} +7 -7
- package/dist/{chunk-FRR5CJZD.js → chunk-UCBM7AIZ.js} +2 -2
- package/dist/{chunk-GPMQJFI2.js → chunk-USGC5AUP.js} +2 -2
- package/dist/{chunk-LO66ELAT.js → chunk-X3NIJSCY.js} +4 -4
- package/dist/{chunk-SZSJFVTA.js → chunk-XJ64XLUX.js} +2 -2
- package/dist/{chunk-ARL5T2ES.js → chunk-YA4XMYG5.js} +34 -80
- package/dist/{chunk-ARL5T2ES.js.map → chunk-YA4XMYG5.js.map} +1 -1
- package/dist/{chunk-3WSQXH37.js → chunk-ZCIMDG6E.js} +3 -3
- package/dist/{chunk-PY3CTRJ7.js → chunk-ZWEVQZIU.js} +2 -2
- package/dist/{cli-circuit-breaker-UNIM2BYD.js → cli-circuit-breaker-TX7KS6YA.js} +4 -4
- package/dist/cli.js +38 -38
- package/dist/{composite-router-3FOC2DMB.js → composite-router-TXRNAUUH.js} +2 -2
- package/dist/{consensus-vote-5UFZLW4J.js → consensus-vote-TJCO7CFY.js} +12 -12
- package/dist/{context-retriever-4EKHCYJ4.js → context-retriever-HJJDLD6T.js} +8 -8
- package/dist/{doctor-deep-7R3EEEJB.js → doctor-deep-H3OMNGZF.js} +3 -3
- package/dist/{expert-bridge-O5ENYOKT.js → expert-bridge-IFNZMFVG.js} +4 -4
- package/dist/factory-NIRDSDCZ.js +21 -0
- package/dist/{factory-S3NZAJQ4.js → factory-RZE4QNPR.js} +5 -5
- package/dist/{improvement-review-KO3JTMUX.js → improvement-review-2PV2NLYK.js} +4 -4
- package/dist/index.d.ts +1 -0
- package/dist/index.js +27 -27
- package/dist/{init-opencode-A7ZYNS4H.js → init-opencode-IH2TLPRK.js} +5 -5
- package/dist/{issue-triage-ARE3ZBFX.js → issue-triage-VDFJZIAJ.js} +5 -5
- package/dist/{pr-reviewer-helpers-FXE33CKT.js → pr-reviewer-helpers-JRJ2DFYF.js} +4 -4
- package/dist/{registry-command-I4R2WOEJ.js → registry-command-BLPU4RPA.js} +2 -2
- package/dist/{repo-security-plan-IXAHNLR4.js → repo-security-plan-QAFJC56O.js} +3 -3
- package/dist/{research-helpers-synthesize-H34TKG6A.js → research-helpers-synthesize-SBVPYADA.js} +4 -4
- package/dist/{routing-memory-LAIAAVEH.js → routing-memory-KXTWQRLP.js} +2 -2
- package/dist/{session-memory-D2FVS3WQ.js → session-memory-D4N5FJRC.js} +3 -3
- package/dist/{setup-command-IWO6XQCP.js → setup-command-IP4HTFVQ.js} +11 -11
- package/dist/{setup-config-TXYUMM5M.js → setup-config-GAKSJAIL.js} +3 -3
- package/dist/{setup-custom-api-3UM4R23G.js → setup-custom-api-QLWRLVT7.js} +3 -3
- package/dist/{tool-memory-CB352635.js → tool-memory-B3HXGR3E.js} +5 -5
- package/dist/{weather-report-IDDE7DBA.js → weather-report-JXUWYJIY.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-6QX2OGQN.js.map +0 -1
- package/dist/factory-QPUM7OUO.js +0 -21
- /package/dist/{child-mcp-config-YXRJJ3CP.js.map → child-mcp-config-ZASIGU4V.js.map} +0 -0
- /package/dist/{chunk-2AFLMWWM.js.map → chunk-3BLX2ZEU.js.map} +0 -0
- /package/dist/{chunk-TC5MQEPN.js.map → chunk-63YNZU2I.js.map} +0 -0
- /package/dist/{chunk-PXLFGPDI.js.map → chunk-A26VL5R3.js.map} +0 -0
- /package/dist/{chunk-3JB7WKAH.js.map → chunk-BF46VJNG.js.map} +0 -0
- /package/dist/{chunk-Q2HPGUYU.js.map → chunk-BNERRUHK.js.map} +0 -0
- /package/dist/{chunk-GLQXPUR6.js.map → chunk-C44SKLHE.js.map} +0 -0
- /package/dist/{chunk-TU4JMT7N.js.map → chunk-C6VVHVWI.js.map} +0 -0
- /package/dist/{chunk-A2BP4HH3.js.map → chunk-DWJ7ZFGK.js.map} +0 -0
- /package/dist/{chunk-TE4TMBG7.js.map → chunk-F23XI5DO.js.map} +0 -0
- /package/dist/{chunk-AQJ3UWBM.js.map → chunk-FP2BY2ZD.js.map} +0 -0
- /package/dist/{chunk-4KXZJMRL.js.map → chunk-G7AFJSDS.js.map} +0 -0
- /package/dist/{chunk-NOOKI2VW.js.map → chunk-GHZYCK4G.js.map} +0 -0
- /package/dist/{chunk-Q2AEB7ZU.js.map → chunk-GUNSHDTG.js.map} +0 -0
- /package/dist/{chunk-CTBQTMVD.js.map → chunk-IVFKS4F4.js.map} +0 -0
- /package/dist/{chunk-4LYJQQZZ.js.map → chunk-K72Q6L5P.js.map} +0 -0
- /package/dist/{chunk-BEGE5AUB.js.map → chunk-KE5YAYUI.js.map} +0 -0
- /package/dist/{chunk-NUNWTLIO.js.map → chunk-LLENK7WI.js.map} +0 -0
- /package/dist/{chunk-O4QVMKZF.js.map → chunk-QMWICBVK.js.map} +0 -0
- /package/dist/{chunk-7SMDUFDL.js.map → chunk-RLXR4V4K.js.map} +0 -0
- /package/dist/{chunk-OTTZKU3C.js.map → chunk-S6XPURVS.js.map} +0 -0
- /package/dist/{chunk-OYNFHDWJ.js.map → chunk-SU2J4QGQ.js.map} +0 -0
- /package/dist/{chunk-7GSAGNEU.js.map → chunk-SVWOBJNY.js.map} +0 -0
- /package/dist/{chunk-3WNRZSHF.js.map → chunk-TYU5JV5P.js.map} +0 -0
- /package/dist/{chunk-FRR5CJZD.js.map → chunk-UCBM7AIZ.js.map} +0 -0
- /package/dist/{chunk-GPMQJFI2.js.map → chunk-USGC5AUP.js.map} +0 -0
- /package/dist/{chunk-LO66ELAT.js.map → chunk-X3NIJSCY.js.map} +0 -0
- /package/dist/{chunk-SZSJFVTA.js.map → chunk-XJ64XLUX.js.map} +0 -0
- /package/dist/{chunk-3WSQXH37.js.map → chunk-ZCIMDG6E.js.map} +0 -0
- /package/dist/{chunk-PY3CTRJ7.js.map → chunk-ZWEVQZIU.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-UNIM2BYD.js.map → cli-circuit-breaker-TX7KS6YA.js.map} +0 -0
- /package/dist/{composite-router-3FOC2DMB.js.map → composite-router-TXRNAUUH.js.map} +0 -0
- /package/dist/{consensus-vote-5UFZLW4J.js.map → consensus-vote-TJCO7CFY.js.map} +0 -0
- /package/dist/{context-retriever-4EKHCYJ4.js.map → context-retriever-HJJDLD6T.js.map} +0 -0
- /package/dist/{doctor-deep-7R3EEEJB.js.map → doctor-deep-H3OMNGZF.js.map} +0 -0
- /package/dist/{expert-bridge-O5ENYOKT.js.map → expert-bridge-IFNZMFVG.js.map} +0 -0
- /package/dist/{factory-QPUM7OUO.js.map → factory-NIRDSDCZ.js.map} +0 -0
- /package/dist/{factory-S3NZAJQ4.js.map → factory-RZE4QNPR.js.map} +0 -0
- /package/dist/{improvement-review-KO3JTMUX.js.map → improvement-review-2PV2NLYK.js.map} +0 -0
- /package/dist/{init-opencode-A7ZYNS4H.js.map → init-opencode-IH2TLPRK.js.map} +0 -0
- /package/dist/{issue-triage-ARE3ZBFX.js.map → issue-triage-VDFJZIAJ.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-FXE33CKT.js.map → pr-reviewer-helpers-JRJ2DFYF.js.map} +0 -0
- /package/dist/{registry-command-I4R2WOEJ.js.map → registry-command-BLPU4RPA.js.map} +0 -0
- /package/dist/{repo-security-plan-IXAHNLR4.js.map → repo-security-plan-QAFJC56O.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-H34TKG6A.js.map → research-helpers-synthesize-SBVPYADA.js.map} +0 -0
- /package/dist/{routing-memory-LAIAAVEH.js.map → routing-memory-KXTWQRLP.js.map} +0 -0
- /package/dist/{session-memory-D2FVS3WQ.js.map → session-memory-D4N5FJRC.js.map} +0 -0
- /package/dist/{setup-command-IWO6XQCP.js.map → setup-command-IP4HTFVQ.js.map} +0 -0
- /package/dist/{setup-config-TXYUMM5M.js.map → setup-config-GAKSJAIL.js.map} +0 -0
- /package/dist/{setup-custom-api-3UM4R23G.js.map → setup-custom-api-QLWRLVT7.js.map} +0 -0
- /package/dist/{tool-memory-CB352635.js.map → tool-memory-B3HXGR3E.js.map} +0 -0
- /package/dist/{weather-report-IDDE7DBA.js.map → weather-report-JXUWYJIY.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLogger
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PWY6FL36.js";
|
|
4
4
|
import "./chunk-CH7QIDHQ.js";
|
|
5
5
|
import "./chunk-PR4QN5HX.js";
|
|
6
6
|
|
|
@@ -59,4 +59,4 @@ export {
|
|
|
59
59
|
generateMcpConfig,
|
|
60
60
|
getDefaultAllowedTools
|
|
61
61
|
};
|
|
62
|
-
//# sourceMappingURL=child-mcp-config-
|
|
62
|
+
//# sourceMappingURL=child-mcp-config-ZASIGU4V.js.map
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
createLogger,
|
|
16
16
|
err,
|
|
17
17
|
ok
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-PWY6FL36.js";
|
|
19
19
|
|
|
20
20
|
// src/config/defaults.ts
|
|
21
21
|
var CUSTOM_API_DEFAULT_MODEL = "gpt-4o";
|
|
@@ -396,4 +396,4 @@ export {
|
|
|
396
396
|
validateCustomApiBaseUrl,
|
|
397
397
|
assertCustomApiHostResolvesPublic
|
|
398
398
|
};
|
|
399
|
-
//# sourceMappingURL=chunk-
|
|
399
|
+
//# sourceMappingURL=chunk-3BLX2ZEU.js.map
|
|
@@ -14,20 +14,20 @@ import {
|
|
|
14
14
|
toolSuccess,
|
|
15
15
|
withProgressHeartbeat,
|
|
16
16
|
wrapToolWithTimeout
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-RLXR4V4K.js";
|
|
18
18
|
import {
|
|
19
19
|
getToolMemory
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-X3NIJSCY.js";
|
|
21
21
|
import {
|
|
22
22
|
authRemediation,
|
|
23
23
|
createAutoAdapter,
|
|
24
24
|
delay,
|
|
25
25
|
getAvailableClis,
|
|
26
26
|
withTimeout
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-TYU5JV5P.js";
|
|
28
28
|
import {
|
|
29
29
|
mapModelErrorToCategory
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-DWJ7ZFGK.js";
|
|
31
31
|
import {
|
|
32
32
|
AgentError,
|
|
33
33
|
CLI_NAMES,
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
registerPersistentOutcomeStoreFactory,
|
|
63
63
|
resolveVoteTimeout,
|
|
64
64
|
toRateLimitError
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-PWY6FL36.js";
|
|
66
66
|
import {
|
|
67
67
|
ensureLearningDir,
|
|
68
68
|
getOutcomesFile,
|
|
@@ -5984,7 +5984,7 @@ async function processVotesWithCascade(engineVotes, opts) {
|
|
|
5984
5984
|
var CONTRARIAN_ESCALATION_THRESHOLD = 0.8;
|
|
5985
5985
|
async function runContrarianCheck(proposal, log) {
|
|
5986
5986
|
try {
|
|
5987
|
-
const { executeExpert } = await import("./expert-bridge-
|
|
5987
|
+
const { executeExpert } = await import("./expert-bridge-IFNZMFVG.js");
|
|
5988
5988
|
const prompt = [
|
|
5989
5989
|
"You are a contrarian analyst. Your job is to find reasons this proposal should be REJECTED.",
|
|
5990
5990
|
"Look for: YAGNI (not needed), MISALIGNED (wrong tech/architecture), SECURITY_RISK, SCOPE_CREEP.",
|
|
@@ -6473,4 +6473,4 @@ export {
|
|
|
6473
6473
|
CONSENSUS_VOTE_OUTPUT_SCHEMA,
|
|
6474
6474
|
registerConsensusVoteTool
|
|
6475
6475
|
};
|
|
6476
|
-
//# sourceMappingURL=chunk-
|
|
6476
|
+
//# sourceMappingURL=chunk-63YNZU2I.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
createLogger,
|
|
3
3
|
err,
|
|
4
4
|
ok
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-PWY6FL36.js";
|
|
6
6
|
|
|
7
7
|
// src/scm/token-resolver.ts
|
|
8
8
|
import { execFile } from "child_process";
|
|
@@ -87,4 +87,4 @@ export {
|
|
|
87
87
|
hasToken,
|
|
88
88
|
getTokenEnvVars
|
|
89
89
|
};
|
|
90
|
-
//# sourceMappingURL=chunk-
|
|
90
|
+
//# sourceMappingURL=chunk-A26VL5R3.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GitHubProvider,
|
|
3
3
|
ScmError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZWEVQZIU.js";
|
|
5
5
|
import {
|
|
6
6
|
ROLE_DEFAULT_TRUST,
|
|
7
7
|
ReputationCache,
|
|
@@ -11,13 +11,13 @@ import {
|
|
|
11
11
|
gateWithReputation,
|
|
12
12
|
resolveReputationGatingMode,
|
|
13
13
|
sanitizeInput
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-XJ64XLUX.js";
|
|
15
15
|
import {
|
|
16
16
|
createLogger,
|
|
17
17
|
err,
|
|
18
18
|
getTimeProvider,
|
|
19
19
|
ok
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-PWY6FL36.js";
|
|
21
21
|
|
|
22
22
|
// src/security/trust-classifier.ts
|
|
23
23
|
function mapAuthorAssociation(association) {
|
|
@@ -1390,4 +1390,4 @@ export {
|
|
|
1390
1390
|
IssueTriage,
|
|
1391
1391
|
createIssueTriage
|
|
1392
1392
|
};
|
|
1393
|
-
//# sourceMappingURL=chunk-
|
|
1393
|
+
//# sourceMappingURL=chunk-BF46VJNG.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveCliSlot
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UCBM7AIZ.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger,
|
|
6
6
|
getTimeProvider,
|
|
7
7
|
isRateLimitText
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PWY6FL36.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-ZASIGU4V.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-NIRDSDCZ.js");
|
|
97
|
+
const { createCompositeRouter } = await import("./composite-router-TXRNAUUH.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-TX7KS6YA.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-BNERRUHK.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveToken
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-A26VL5R3.js";
|
|
4
4
|
import {
|
|
5
5
|
REGISTRY_PATH,
|
|
6
6
|
getProjectRoot,
|
|
7
7
|
loadPapersRegistry,
|
|
8
8
|
loadTechniquesRegistry,
|
|
9
9
|
savePapersRegistry
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-G7AFJSDS.js";
|
|
11
11
|
import {
|
|
12
12
|
getToolMemory
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-X3NIJSCY.js";
|
|
14
14
|
import {
|
|
15
15
|
resolveInsideRoot
|
|
16
16
|
} from "./chunk-NUBSJGQZ.js";
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
getOutcomeStore,
|
|
28
28
|
getTimeProvider,
|
|
29
29
|
registerPersistentDistillerFactory
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-PWY6FL36.js";
|
|
31
31
|
import {
|
|
32
32
|
ensureLearningDir,
|
|
33
33
|
getRulesFile
|
|
@@ -2491,4 +2491,4 @@ export {
|
|
|
2491
2491
|
summarizeContextForPrompt,
|
|
2492
2492
|
getContextPromptPrefix
|
|
2493
2493
|
};
|
|
2494
|
-
//# sourceMappingURL=chunk-
|
|
2494
|
+
//# sourceMappingURL=chunk-C44SKLHE.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getRandomProvider,
|
|
3
3
|
getTimeProvider
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PWY6FL36.js";
|
|
5
5
|
|
|
6
6
|
// src/utils/id-utils.ts
|
|
7
7
|
import { randomUUID } from "crypto";
|
|
@@ -24,4 +24,4 @@ export {
|
|
|
24
24
|
generateHyphenId,
|
|
25
25
|
generateUUID
|
|
26
26
|
};
|
|
27
|
-
//# sourceMappingURL=chunk-
|
|
27
|
+
//# sourceMappingURL=chunk-C6VVHVWI.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
getErrorMessage,
|
|
6
6
|
getTimeProvider,
|
|
7
7
|
ok
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PWY6FL36.js";
|
|
9
9
|
|
|
10
10
|
// src/cli-adapters/circuit-breaker-types.ts
|
|
11
11
|
var CircuitErrorCode = {
|
|
@@ -372,4 +372,4 @@ export {
|
|
|
372
372
|
mapCliErrorToCategory,
|
|
373
373
|
mapModelErrorToCategory
|
|
374
374
|
};
|
|
375
|
-
//# sourceMappingURL=chunk-
|
|
375
|
+
//# sourceMappingURL=chunk-DWJ7ZFGK.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
getErrorMessage,
|
|
5
5
|
getTimeProvider,
|
|
6
6
|
ok
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PWY6FL36.js";
|
|
8
8
|
|
|
9
9
|
// src/context/session-memory.ts
|
|
10
10
|
import * as fs from "fs";
|
|
@@ -351,4 +351,4 @@ export {
|
|
|
351
351
|
SessionMemory,
|
|
352
352
|
createSessionMemory
|
|
353
353
|
};
|
|
354
|
-
//# sourceMappingURL=chunk-
|
|
354
|
+
//# sourceMappingURL=chunk-F23XI5DO.js.map
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
createAllAdapters,
|
|
9
9
|
probeCli
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TYU5JV5P.js";
|
|
11
11
|
import {
|
|
12
12
|
DEFAULTS
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-3BLX2ZEU.js";
|
|
14
14
|
import {
|
|
15
15
|
CliNameSchema,
|
|
16
16
|
DEFAULT_CAPABILITIES,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
ok,
|
|
27
27
|
symbols,
|
|
28
28
|
writeLine
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-PWY6FL36.js";
|
|
30
30
|
import {
|
|
31
31
|
detectSandbox,
|
|
32
32
|
getLearningDir,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
} from "./chunk-CH7QIDHQ.js";
|
|
41
41
|
|
|
42
42
|
// src/version.ts
|
|
43
|
-
var VERSION = true ? "2.123.
|
|
43
|
+
var VERSION = true ? "2.123.1" : "dev";
|
|
44
44
|
|
|
45
45
|
// src/config/schemas-core.ts
|
|
46
46
|
import { z } from "zod";
|
|
@@ -2099,7 +2099,7 @@ async function runDoctorFix(result) {
|
|
|
2099
2099
|
writeLine2("\u2500".repeat(40));
|
|
2100
2100
|
let fixCount = 0;
|
|
2101
2101
|
if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
|
|
2102
|
-
const { runSetup } = await import("./setup-command-
|
|
2102
|
+
const { runSetup } = await import("./setup-command-IP4HTFVQ.js");
|
|
2103
2103
|
const setupResult = runSetup({
|
|
2104
2104
|
skipMcp: true,
|
|
2105
2105
|
skipRules: true,
|
|
@@ -2113,7 +2113,7 @@ async function runDoctorFix(result) {
|
|
|
2113
2113
|
}
|
|
2114
2114
|
}
|
|
2115
2115
|
if (!result.configFile.found) {
|
|
2116
|
-
const { runConfigInitSync } = await import("./setup-config-
|
|
2116
|
+
const { runConfigInitSync } = await import("./setup-config-GAKSJAIL.js");
|
|
2117
2117
|
const configResult = runConfigInitSync(process.cwd(), false, false);
|
|
2118
2118
|
if (configResult.success && configResult.created) {
|
|
2119
2119
|
writeLine2(`\u2713 Generated config: ${configResult.path}`);
|
|
@@ -2211,4 +2211,4 @@ export {
|
|
|
2211
2211
|
startStdioServer,
|
|
2212
2212
|
closeServer
|
|
2213
2213
|
};
|
|
2214
|
-
//# sourceMappingURL=chunk-
|
|
2214
|
+
//# sourceMappingURL=chunk-FP2BY2ZD.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
getErrorMessage,
|
|
9
9
|
ok,
|
|
10
10
|
parseBoolEnv
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-PWY6FL36.js";
|
|
12
12
|
|
|
13
13
|
// src/cli/research-helpers-io.ts
|
|
14
14
|
import * as fs2 from "fs/promises";
|
|
@@ -146,4 +146,4 @@ export {
|
|
|
146
146
|
loadPapersRegistry,
|
|
147
147
|
savePapersRegistry
|
|
148
148
|
};
|
|
149
|
-
//# sourceMappingURL=chunk-
|
|
149
|
+
//# sourceMappingURL=chunk-G7AFJSDS.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
TASK_CATEGORIES,
|
|
3
3
|
getAdaptiveBonus,
|
|
4
4
|
getOutcomeStore
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-PWY6FL36.js";
|
|
6
6
|
|
|
7
7
|
// src/cli/doctor-deep.ts
|
|
8
8
|
var CLI_NAMES = ["claude", "gemini", "codex", "opencode"];
|
|
@@ -106,4 +106,4 @@ export {
|
|
|
106
106
|
runDeepDiagnostics,
|
|
107
107
|
formatDeepDiagnostics
|
|
108
108
|
};
|
|
109
|
-
//# sourceMappingURL=chunk-
|
|
109
|
+
//# sourceMappingURL=chunk-GHZYCK4G.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OpenAIAdapter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IVFKS4F4.js";
|
|
4
4
|
import {
|
|
5
5
|
ConfigError,
|
|
6
6
|
createLogger,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
getTimeProvider,
|
|
10
10
|
lookupInTreeCapability,
|
|
11
11
|
ok
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-PWY6FL36.js";
|
|
13
13
|
import {
|
|
14
14
|
getNexusDataDir
|
|
15
15
|
} from "./chunk-CH7QIDHQ.js";
|
|
@@ -307,4 +307,4 @@ export {
|
|
|
307
307
|
discoverModels,
|
|
308
308
|
buildOpenAICompatAdapters
|
|
309
309
|
};
|
|
310
|
-
//# sourceMappingURL=chunk-
|
|
310
|
+
//# sourceMappingURL=chunk-GUNSHDTG.js.map
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
createStream,
|
|
4
4
|
requireApiKey,
|
|
5
5
|
validateApiKeyPresence
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LLENK7WI.js";
|
|
7
7
|
import {
|
|
8
8
|
ModelCapability,
|
|
9
9
|
err,
|
|
10
10
|
getCliModelName,
|
|
11
11
|
getTokenEstimator,
|
|
12
12
|
ok
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-PWY6FL36.js";
|
|
14
14
|
|
|
15
15
|
// src/adapters/openai-types.ts
|
|
16
16
|
var OPENAI_MODELS = {
|
|
@@ -553,4 +553,4 @@ export {
|
|
|
553
553
|
OpenAIAdapter,
|
|
554
554
|
createOpenAIAdapter
|
|
555
555
|
};
|
|
556
|
-
//# sourceMappingURL=chunk-
|
|
556
|
+
//# sourceMappingURL=chunk-IVFKS4F4.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runConfigInitSync
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SVWOBJNY.js";
|
|
4
4
|
import {
|
|
5
5
|
VERSION,
|
|
6
6
|
checkApiKeys,
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
checkSqlite,
|
|
9
9
|
defaultConfig,
|
|
10
10
|
initDataDirectories
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-FP2BY2ZD.js";
|
|
12
12
|
import {
|
|
13
13
|
probeAllClis
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-TYU5JV5P.js";
|
|
15
15
|
import {
|
|
16
16
|
BUILT_IN_EXPERTS
|
|
17
17
|
} from "./chunk-ZM4O442V.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
getErrorMessage,
|
|
26
26
|
getTimeProvider,
|
|
27
27
|
symbols
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-PWY6FL36.js";
|
|
29
29
|
import {
|
|
30
30
|
ensureGitignored,
|
|
31
31
|
findRepoRoot
|
|
@@ -2000,4 +2000,4 @@ export {
|
|
|
2000
2000
|
setupCommand,
|
|
2001
2001
|
setupCommandAsync
|
|
2002
2002
|
};
|
|
2003
|
-
//# sourceMappingURL=chunk-
|
|
2003
|
+
//# sourceMappingURL=chunk-K72Q6L5P.js.map
|
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
CircuitBreakerRegistry,
|
|
3
3
|
CircuitError,
|
|
4
4
|
mapCliErrorToCategory
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-DWJ7ZFGK.js";
|
|
6
6
|
import {
|
|
7
7
|
createLogger,
|
|
8
8
|
err,
|
|
9
9
|
getFallbackChainForCategory,
|
|
10
10
|
getTimeProvider,
|
|
11
11
|
ok
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-PWY6FL36.js";
|
|
13
13
|
|
|
14
14
|
// src/cli-adapters/cli-circuit-breaker.ts
|
|
15
15
|
var CATEGORY_TO_FALLBACK = {
|
|
@@ -152,4 +152,4 @@ export {
|
|
|
152
152
|
CliCircuitBreakerIntegration,
|
|
153
153
|
createCliCircuitBreakerIntegration
|
|
154
154
|
};
|
|
155
|
-
//# sourceMappingURL=chunk-
|
|
155
|
+
//# sourceMappingURL=chunk-KE5YAYUI.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
getTokenEstimator,
|
|
11
11
|
isRateLimitLikeError,
|
|
12
12
|
ok
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-PWY6FL36.js";
|
|
14
14
|
|
|
15
15
|
// src/adapters/base-adapter.ts
|
|
16
16
|
var AdapterModelError = class extends ModelError {
|
|
@@ -707,4 +707,4 @@ export {
|
|
|
707
707
|
DEFAULT_COLLECT_STREAM_MAX_CHUNKS,
|
|
708
708
|
collectStream
|
|
709
709
|
};
|
|
710
|
-
//# sourceMappingURL=chunk-
|
|
710
|
+
//# sourceMappingURL=chunk-LLENK7WI.js.map
|
|
@@ -3832,8 +3832,8 @@ function createSharedTaskAnalyzer(config) {
|
|
|
3832
3832
|
return new SharedTaskAnalyzer(config);
|
|
3833
3833
|
}
|
|
3834
3834
|
|
|
3835
|
-
// src/
|
|
3836
|
-
var
|
|
3835
|
+
// src/mcp/tools/tool-manifest.ts
|
|
3836
|
+
var TOOL_MANIFEST = [
|
|
3837
3837
|
"orchestrate",
|
|
3838
3838
|
"create_expert",
|
|
3839
3839
|
"execute_expert",
|
|
@@ -3880,7 +3880,10 @@ var AVAILABLE_TOOLS = /* @__PURE__ */ new Set([
|
|
|
3880
3880
|
"suggest_research_tasks",
|
|
3881
3881
|
"list_available_models",
|
|
3882
3882
|
"run"
|
|
3883
|
-
]
|
|
3883
|
+
];
|
|
3884
|
+
|
|
3885
|
+
// src/core/task-analysis/capability-gap-detector.ts
|
|
3886
|
+
var AVAILABLE_TOOLS = new Set(TOOL_MANIFEST);
|
|
3884
3887
|
var AVAILABLE_EXPERTS = /* @__PURE__ */ new Set([
|
|
3885
3888
|
"code_expert",
|
|
3886
3889
|
"architecture_expert",
|
|
@@ -11999,7 +12002,7 @@ var CompositeRouter = class _CompositeRouter {
|
|
|
11999
12002
|
*/
|
|
12000
12003
|
async consultUnifiedContext(task) {
|
|
12001
12004
|
try {
|
|
12002
|
-
const { getContextForTask, inferTaskCategory } = await import("./context-retriever-
|
|
12005
|
+
const { getContextForTask, inferTaskCategory } = await import("./context-retriever-HJJDLD6T.js");
|
|
12003
12006
|
const ctx = await getContextForTask({
|
|
12004
12007
|
task: task.content,
|
|
12005
12008
|
category: inferTaskCategory(task.content),
|
|
@@ -13252,6 +13255,7 @@ export {
|
|
|
13252
13255
|
isZodError,
|
|
13253
13256
|
SharedTaskAnalyzer,
|
|
13254
13257
|
createSharedTaskAnalyzer,
|
|
13258
|
+
TOOL_MANIFEST,
|
|
13255
13259
|
detectCapabilityGaps,
|
|
13256
13260
|
getGapLedger,
|
|
13257
13261
|
recordRoutingGaps,
|
|
@@ -13375,4 +13379,4 @@ export {
|
|
|
13375
13379
|
AgentCapability,
|
|
13376
13380
|
OrchestratorError
|
|
13377
13381
|
};
|
|
13378
|
-
//# sourceMappingURL=chunk-
|
|
13382
|
+
//# sourceMappingURL=chunk-PWY6FL36.js.map
|