nexus-agents 2.109.3 → 2.110.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-VF736CNG.js → child-mcp-config-TYLTCZUO.js} +2 -2
- package/dist/{chunk-IJZGHD7O.js → chunk-3LWP6ZKK.js} +2 -2
- package/dist/{chunk-XJTVIYD7.js → chunk-4FBT6CMN.js} +7 -7
- package/dist/{chunk-PFZNK25E.js → chunk-5ATA3LBW.js} +2 -2
- package/dist/{chunk-LLM3HY54.js → chunk-5O7Q4CTX.js} +3 -3
- package/dist/{chunk-H47QJVMR.js → chunk-5ZPBDKKH.js} +3 -3
- package/dist/{chunk-LGLMWGRY.js → chunk-63QB7EAZ.js} +7 -7
- package/dist/{chunk-7PW7DTAV.js → chunk-72NSKBT4.js} +3 -3
- package/dist/{chunk-RRIATGO4.js → chunk-AVMIPDYA.js} +7 -7
- package/dist/chunk-AVMIPDYA.js.map +1 -0
- package/dist/{chunk-CWT7BYHU.js → chunk-CO4KFKUA.js} +31 -31
- package/dist/{chunk-LQLFZEOP.js → chunk-CTFJ2KYU.js} +2 -2
- package/dist/{chunk-AESMMLSZ.js → chunk-CZWH3IOK.js} +4 -4
- package/dist/{chunk-TJUGEDQI.js → chunk-DSAYXGUT.js} +2 -2
- package/dist/{chunk-VO7FEIXD.js → chunk-DV2GYXRF.js} +48 -4
- package/dist/chunk-DV2GYXRF.js.map +1 -0
- package/dist/{chunk-EAQLDAKX.js → chunk-E36RH4FR.js} +3 -3
- package/dist/{chunk-3NON6THG.js → chunk-ECSYPQMD.js} +2 -2
- package/dist/{chunk-DYZIT5UH.js → chunk-G2DITSRS.js} +5 -5
- package/dist/{chunk-C5OTCDF6.js → chunk-J6H4H26H.js} +4 -4
- package/dist/{chunk-RMTFEDQV.js → chunk-KAIIFMHG.js} +2 -2
- package/dist/{chunk-V5UOHHOD.js → chunk-MNP53BP2.js} +2 -2
- package/dist/{chunk-H7K2CWCL.js → chunk-NA7Q62YX.js} +7 -7
- package/dist/{chunk-UIFDDBIG.js → chunk-OMMSFS7X.js} +2 -2
- package/dist/{chunk-DLWY7U6K.js → chunk-OU46N3BY.js} +2 -2
- package/dist/{chunk-RROQMZW2.js → chunk-PBL6NYJD.js} +3 -3
- package/dist/{chunk-K3UILZ5X.js → chunk-PPF6MTAK.js} +2 -2
- package/dist/{chunk-SXI5ZFBR.js → chunk-R6YBNODZ.js} +2 -2
- package/dist/{chunk-4C6M5YOH.js → chunk-S25SO7FM.js} +2 -2
- package/dist/{chunk-5H3YYSMY.js → chunk-UVDJSMVA.js} +4 -4
- package/dist/{chunk-H6Q3EPQG.js → chunk-V5AGCCPT.js} +2 -2
- package/dist/{chunk-4QH4IHCY.js → chunk-VQLPWNC7.js} +2 -2
- package/dist/{chunk-YDPEK6NQ.js → chunk-Z2SUNSSX.js} +3 -3
- package/dist/{cli-circuit-breaker-X4DTCCLH.js → cli-circuit-breaker-47MSDZQU.js} +4 -4
- package/dist/cli.js +74 -38
- package/dist/cli.js.map +1 -1
- package/dist/{composite-router-QJRU2JU5.js → composite-router-SR2ROJAC.js} +2 -2
- package/dist/{consensus-vote-NILXRDWC.js → consensus-vote-DF6JEXIV.js} +12 -12
- package/dist/{context-retriever-3N7NVP57.js → context-retriever-MMKP2BML.js} +6 -6
- package/dist/{doctor-deep-6DKSM74K.js → doctor-deep-VYKG3WRA.js} +3 -3
- package/dist/{expert-bridge-K5TTFOSI.js → expert-bridge-ZQWYGCT7.js} +4 -4
- package/dist/factory-CGY75LU5.js +21 -0
- package/dist/{factory-U23DIWPS.js → factory-EARWV65K.js} +5 -5
- package/dist/{improvement-review-5DRHKSXV.js → improvement-review-6I6R2RGJ.js} +4 -4
- package/dist/index.js +26 -26
- package/dist/{init-opencode-YAYDQ36A.js → init-opencode-GQMO5HD3.js} +5 -5
- package/dist/{issue-triage-L3MTN6RS.js → issue-triage-USCABI45.js} +5 -5
- package/dist/{pr-reviewer-helpers-H4R57FMV.js → pr-reviewer-helpers-J2GTXVBF.js} +4 -4
- package/dist/{registry-command-7TVGPC43.js → registry-command-TKQ76AVY.js} +2 -2
- package/dist/{repo-security-plan-543K7VCE.js → repo-security-plan-7APEOF2W.js} +3 -3
- package/dist/{research-helpers-synthesize-4BQHGJ3O.js → research-helpers-synthesize-KJBSOUAA.js} +3 -3
- package/dist/{routing-memory-QN3PS4SS.js → routing-memory-TDW4SKE2.js} +2 -2
- package/dist/{session-memory-Q3MMU45M.js → session-memory-VYZ5MIUU.js} +3 -3
- package/dist/{setup-command-ZTIRFLFV.js → setup-command-XDL3EES5.js} +11 -11
- package/dist/{setup-config-D6WCNU6M.js → setup-config-475SXCHR.js} +3 -3
- package/dist/{setup-custom-api-UTROX3FM.js → setup-custom-api-4UVZTGD4.js} +3 -3
- package/dist/{tool-memory-H6W6KNR3.js → tool-memory-HDZTG53V.js} +5 -5
- package/dist/{weather-report-R3KUDV4W.js → weather-report-FBGDR6SH.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-RRIATGO4.js.map +0 -1
- package/dist/chunk-VO7FEIXD.js.map +0 -1
- package/dist/factory-KAYVCFRV.js +0 -21
- /package/dist/{child-mcp-config-VF736CNG.js.map → child-mcp-config-TYLTCZUO.js.map} +0 -0
- /package/dist/{chunk-IJZGHD7O.js.map → chunk-3LWP6ZKK.js.map} +0 -0
- /package/dist/{chunk-XJTVIYD7.js.map → chunk-4FBT6CMN.js.map} +0 -0
- /package/dist/{chunk-PFZNK25E.js.map → chunk-5ATA3LBW.js.map} +0 -0
- /package/dist/{chunk-LLM3HY54.js.map → chunk-5O7Q4CTX.js.map} +0 -0
- /package/dist/{chunk-H47QJVMR.js.map → chunk-5ZPBDKKH.js.map} +0 -0
- /package/dist/{chunk-LGLMWGRY.js.map → chunk-63QB7EAZ.js.map} +0 -0
- /package/dist/{chunk-7PW7DTAV.js.map → chunk-72NSKBT4.js.map} +0 -0
- /package/dist/{chunk-CWT7BYHU.js.map → chunk-CO4KFKUA.js.map} +0 -0
- /package/dist/{chunk-LQLFZEOP.js.map → chunk-CTFJ2KYU.js.map} +0 -0
- /package/dist/{chunk-AESMMLSZ.js.map → chunk-CZWH3IOK.js.map} +0 -0
- /package/dist/{chunk-TJUGEDQI.js.map → chunk-DSAYXGUT.js.map} +0 -0
- /package/dist/{chunk-EAQLDAKX.js.map → chunk-E36RH4FR.js.map} +0 -0
- /package/dist/{chunk-3NON6THG.js.map → chunk-ECSYPQMD.js.map} +0 -0
- /package/dist/{chunk-DYZIT5UH.js.map → chunk-G2DITSRS.js.map} +0 -0
- /package/dist/{chunk-C5OTCDF6.js.map → chunk-J6H4H26H.js.map} +0 -0
- /package/dist/{chunk-RMTFEDQV.js.map → chunk-KAIIFMHG.js.map} +0 -0
- /package/dist/{chunk-V5UOHHOD.js.map → chunk-MNP53BP2.js.map} +0 -0
- /package/dist/{chunk-H7K2CWCL.js.map → chunk-NA7Q62YX.js.map} +0 -0
- /package/dist/{chunk-UIFDDBIG.js.map → chunk-OMMSFS7X.js.map} +0 -0
- /package/dist/{chunk-DLWY7U6K.js.map → chunk-OU46N3BY.js.map} +0 -0
- /package/dist/{chunk-RROQMZW2.js.map → chunk-PBL6NYJD.js.map} +0 -0
- /package/dist/{chunk-K3UILZ5X.js.map → chunk-PPF6MTAK.js.map} +0 -0
- /package/dist/{chunk-SXI5ZFBR.js.map → chunk-R6YBNODZ.js.map} +0 -0
- /package/dist/{chunk-4C6M5YOH.js.map → chunk-S25SO7FM.js.map} +0 -0
- /package/dist/{chunk-5H3YYSMY.js.map → chunk-UVDJSMVA.js.map} +0 -0
- /package/dist/{chunk-H6Q3EPQG.js.map → chunk-V5AGCCPT.js.map} +0 -0
- /package/dist/{chunk-4QH4IHCY.js.map → chunk-VQLPWNC7.js.map} +0 -0
- /package/dist/{chunk-YDPEK6NQ.js.map → chunk-Z2SUNSSX.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-X4DTCCLH.js.map → cli-circuit-breaker-47MSDZQU.js.map} +0 -0
- /package/dist/{composite-router-QJRU2JU5.js.map → composite-router-SR2ROJAC.js.map} +0 -0
- /package/dist/{consensus-vote-NILXRDWC.js.map → consensus-vote-DF6JEXIV.js.map} +0 -0
- /package/dist/{context-retriever-3N7NVP57.js.map → context-retriever-MMKP2BML.js.map} +0 -0
- /package/dist/{doctor-deep-6DKSM74K.js.map → doctor-deep-VYKG3WRA.js.map} +0 -0
- /package/dist/{expert-bridge-K5TTFOSI.js.map → expert-bridge-ZQWYGCT7.js.map} +0 -0
- /package/dist/{factory-KAYVCFRV.js.map → factory-CGY75LU5.js.map} +0 -0
- /package/dist/{factory-U23DIWPS.js.map → factory-EARWV65K.js.map} +0 -0
- /package/dist/{improvement-review-5DRHKSXV.js.map → improvement-review-6I6R2RGJ.js.map} +0 -0
- /package/dist/{init-opencode-YAYDQ36A.js.map → init-opencode-GQMO5HD3.js.map} +0 -0
- /package/dist/{issue-triage-L3MTN6RS.js.map → issue-triage-USCABI45.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-H4R57FMV.js.map → pr-reviewer-helpers-J2GTXVBF.js.map} +0 -0
- /package/dist/{registry-command-7TVGPC43.js.map → registry-command-TKQ76AVY.js.map} +0 -0
- /package/dist/{repo-security-plan-543K7VCE.js.map → repo-security-plan-7APEOF2W.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-4BQHGJ3O.js.map → research-helpers-synthesize-KJBSOUAA.js.map} +0 -0
- /package/dist/{routing-memory-QN3PS4SS.js.map → routing-memory-TDW4SKE2.js.map} +0 -0
- /package/dist/{session-memory-Q3MMU45M.js.map → session-memory-VYZ5MIUU.js.map} +0 -0
- /package/dist/{setup-command-ZTIRFLFV.js.map → setup-command-XDL3EES5.js.map} +0 -0
- /package/dist/{setup-config-D6WCNU6M.js.map → setup-config-475SXCHR.js.map} +0 -0
- /package/dist/{setup-custom-api-UTROX3FM.js.map → setup-custom-api-4UVZTGD4.js.map} +0 -0
- /package/dist/{tool-memory-H6W6KNR3.js.map → tool-memory-HDZTG53V.js.map} +0 -0
- /package/dist/{weather-report-R3KUDV4W.js.map → weather-report-FBGDR6SH.js.map} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getToolMemory
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UVDJSMVA.js";
|
|
4
4
|
import {
|
|
5
5
|
CLI_NAMES,
|
|
6
6
|
StrategyDistiller,
|
|
7
7
|
createLogger,
|
|
8
8
|
getOutcomeStore,
|
|
9
9
|
registerPersistentDistillerFactory
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DV2GYXRF.js";
|
|
11
11
|
import {
|
|
12
12
|
ensureLearningDir,
|
|
13
13
|
getRulesFile
|
|
@@ -273,4 +273,4 @@ export {
|
|
|
273
273
|
inferTaskCategory,
|
|
274
274
|
summarizeContextForPrompt
|
|
275
275
|
};
|
|
276
|
-
//# sourceMappingURL=chunk-
|
|
276
|
+
//# sourceMappingURL=chunk-E36RH4FR.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
getErrorMessage,
|
|
5
5
|
getTimeProvider,
|
|
6
6
|
ok
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DV2GYXRF.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-ECSYPQMD.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runConfigInitSync
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MNP53BP2.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-63QB7EAZ.js";
|
|
12
12
|
import {
|
|
13
13
|
probeAllClis
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-AVMIPDYA.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-DV2GYXRF.js";
|
|
29
29
|
import {
|
|
30
30
|
ensureGitignored,
|
|
31
31
|
findRepoRoot
|
|
@@ -1987,4 +1987,4 @@ export {
|
|
|
1987
1987
|
setupCommand,
|
|
1988
1988
|
setupCommandAsync
|
|
1989
1989
|
};
|
|
1990
|
-
//# sourceMappingURL=chunk-
|
|
1990
|
+
//# sourceMappingURL=chunk-G2DITSRS.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GitHubProvider,
|
|
3
3
|
ScmError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CTFJ2KYU.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-OU46N3BY.js";
|
|
15
15
|
import {
|
|
16
16
|
createLogger,
|
|
17
17
|
err,
|
|
18
18
|
getTimeProvider,
|
|
19
19
|
ok
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-DV2GYXRF.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-J6H4H26H.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
MODEL_IDS,
|
|
4
4
|
getTimeProvider,
|
|
5
5
|
resolveModelIdentitySync
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DV2GYXRF.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-KAIIFMHG.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getErrorMessage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DV2GYXRF.js";
|
|
4
4
|
|
|
5
5
|
// src/cli/setup-config.ts
|
|
6
6
|
import { copyFileSync, existsSync, mkdirSync, writeFileSync } from "fs";
|
|
@@ -77,4 +77,4 @@ function ensureBackup(outputPath) {
|
|
|
77
77
|
export {
|
|
78
78
|
runConfigInitSync
|
|
79
79
|
};
|
|
80
|
-
//# sourceMappingURL=chunk-
|
|
80
|
+
//# sourceMappingURL=chunk-MNP53BP2.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveCliSlot
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KAIIFMHG.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger,
|
|
6
6
|
getTimeProvider,
|
|
7
7
|
isRateLimitText
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DV2GYXRF.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-TYLTCZUO.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-CGY75LU5.js");
|
|
97
|
+
const { createCompositeRouter } = await import("./composite-router-SR2ROJAC.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-47MSDZQU.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-NA7Q62YX.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
getErrorMessage,
|
|
9
9
|
ok,
|
|
10
10
|
parseBoolEnv
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-DV2GYXRF.js";
|
|
12
12
|
|
|
13
13
|
// src/cli/research-helpers-synthesize.ts
|
|
14
14
|
import { z } from "zod";
|
|
@@ -1015,4 +1015,4 @@ export {
|
|
|
1015
1015
|
AttributedInsightSchema,
|
|
1016
1016
|
synthesizeResearch
|
|
1017
1017
|
};
|
|
1018
|
-
//# sourceMappingURL=chunk-
|
|
1018
|
+
//# sourceMappingURL=chunk-OMMSFS7X.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
CACHE_TIMEOUTS,
|
|
3
3
|
createLogger,
|
|
4
4
|
getTimeProvider
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-DV2GYXRF.js";
|
|
6
6
|
|
|
7
7
|
// src/security/trust-types.ts
|
|
8
8
|
import { z } from "zod";
|
|
@@ -560,4 +560,4 @@ export {
|
|
|
560
560
|
resolveReputationGatingMode,
|
|
561
561
|
gateWithReputation
|
|
562
562
|
};
|
|
563
|
-
//# sourceMappingURL=chunk-
|
|
563
|
+
//# sourceMappingURL=chunk-OU46N3BY.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
toolStructuredError,
|
|
7
7
|
toolSuccessStructured,
|
|
8
8
|
wrapToolWithTimeout
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VQLPWNC7.js";
|
|
10
10
|
import {
|
|
11
11
|
createLogger,
|
|
12
12
|
formatZodError,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
getOutcomeStore,
|
|
15
15
|
getPipelineEventBus,
|
|
16
16
|
getTimeProvider
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-DV2GYXRF.js";
|
|
18
18
|
import {
|
|
19
19
|
getNexusDataDir
|
|
20
20
|
} from "./chunk-CH7QIDHQ.js";
|
|
@@ -1092,4 +1092,4 @@ export {
|
|
|
1092
1092
|
runImprovementReview,
|
|
1093
1093
|
registerImprovementReviewTool
|
|
1094
1094
|
};
|
|
1095
|
-
//# sourceMappingURL=chunk-
|
|
1095
|
+
//# sourceMappingURL=chunk-PBL6NYJD.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
getErrorMessage,
|
|
6
6
|
getTimeProvider,
|
|
7
7
|
ok
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DV2GYXRF.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-PPF6MTAK.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
createLogger,
|
|
6
6
|
getTimeProvider
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DV2GYXRF.js";
|
|
8
8
|
|
|
9
9
|
// src/mcp/tools/scanner-registry-fetcher.ts
|
|
10
10
|
import { z } from "zod";
|
|
@@ -721,4 +721,4 @@ export {
|
|
|
721
721
|
generateSecurityPlan,
|
|
722
722
|
buildPlanFromAnalysis
|
|
723
723
|
};
|
|
724
|
-
//# sourceMappingURL=chunk-
|
|
724
|
+
//# sourceMappingURL=chunk-R6YBNODZ.js.map
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
createLogger,
|
|
16
16
|
err,
|
|
17
17
|
ok
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-DV2GYXRF.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-S25SO7FM.js.map
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
} from "./chunk-6T3EPABN.js";
|
|
6
6
|
import {
|
|
7
7
|
generateId
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-3LWP6ZKK.js";
|
|
9
9
|
import {
|
|
10
10
|
getMemoryRegistry
|
|
11
11
|
} from "./chunk-PQHVC4BD.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionMemory
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ECSYPQMD.js";
|
|
15
15
|
import {
|
|
16
16
|
ErrorCode,
|
|
17
17
|
NexusError,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
getTimeProvider,
|
|
25
25
|
ok,
|
|
26
26
|
setSharedMobiMemDbPathResolver
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-DV2GYXRF.js";
|
|
28
28
|
import {
|
|
29
29
|
nexusDataPath
|
|
30
30
|
} from "./chunk-CH7QIDHQ.js";
|
|
@@ -5612,4 +5612,4 @@ export {
|
|
|
5612
5612
|
reinitializeMemoryBackends,
|
|
5613
5613
|
ToolMemoryManager
|
|
5614
5614
|
};
|
|
5615
|
-
//# sourceMappingURL=chunk-
|
|
5615
|
+
//# sourceMappingURL=chunk-UVDJSMVA.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
getTokenEstimator,
|
|
11
11
|
isRateLimitLikeError,
|
|
12
12
|
ok
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-DV2GYXRF.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-V5AGCCPT.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
getErrorMessage,
|
|
12
12
|
getTimeProvider,
|
|
13
13
|
ok
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-DV2GYXRF.js";
|
|
15
15
|
import {
|
|
16
16
|
getNexusDataDir
|
|
17
17
|
} from "./chunk-CH7QIDHQ.js";
|
|
@@ -2428,4 +2428,4 @@ export {
|
|
|
2428
2428
|
getMcpAnnotations,
|
|
2429
2429
|
getToolAnnotations
|
|
2430
2430
|
};
|
|
2431
|
-
//# sourceMappingURL=chunk-
|
|
2431
|
+
//# sourceMappingURL=chunk-VQLPWNC7.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OpenAIAdapter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5O7Q4CTX.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-DV2GYXRF.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-Z2SUNSSX.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CliCircuitBreakerIntegration,
|
|
3
3
|
createCliCircuitBreakerIntegration
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-5ZPBDKKH.js";
|
|
5
|
+
import "./chunk-PPF6MTAK.js";
|
|
6
|
+
import "./chunk-DV2GYXRF.js";
|
|
7
7
|
import "./chunk-CH7QIDHQ.js";
|
|
8
8
|
import "./chunk-PR4QN5HX.js";
|
|
9
9
|
export {
|
|
10
10
|
CliCircuitBreakerIntegration,
|
|
11
11
|
createCliCircuitBreakerIntegration
|
|
12
12
|
};
|
|
13
|
-
//# sourceMappingURL=cli-circuit-breaker-
|
|
13
|
+
//# sourceMappingURL=cli-circuit-breaker-47MSDZQU.js.map
|
package/dist/cli.js
CHANGED
|
@@ -13,19 +13,19 @@ import {
|
|
|
13
13
|
generateSummary,
|
|
14
14
|
parseFindings,
|
|
15
15
|
sumFindings
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-72NSKBT4.js";
|
|
17
|
+
import "./chunk-5ATA3LBW.js";
|
|
18
18
|
import {
|
|
19
19
|
buildOpenAICompatAdapters,
|
|
20
20
|
loadUsageEvents,
|
|
21
21
|
readOpenAICompatEnv,
|
|
22
22
|
rollupByModel
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-Z2SUNSSX.js";
|
|
24
24
|
import {
|
|
25
25
|
setupCommandAsync,
|
|
26
26
|
verifyCommand
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
} from "./chunk-G2DITSRS.js";
|
|
28
|
+
import "./chunk-MNP53BP2.js";
|
|
29
29
|
import {
|
|
30
30
|
AuthHandler,
|
|
31
31
|
DEFAULT_EXPERTS,
|
|
@@ -166,20 +166,20 @@ import {
|
|
|
166
166
|
validateCommand,
|
|
167
167
|
validateWorkflow,
|
|
168
168
|
wrapInMarkdownFence
|
|
169
|
-
} from "./chunk-
|
|
169
|
+
} from "./chunk-CO4KFKUA.js";
|
|
170
170
|
import "./chunk-3ACDP4E6.js";
|
|
171
171
|
import {
|
|
172
172
|
resolveToken
|
|
173
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-DSAYXGUT.js";
|
|
174
174
|
import {
|
|
175
175
|
CATEGORY_DISPLAY_NAMES,
|
|
176
176
|
DEFAULT_PR_REVIEW_CONFIG
|
|
177
177
|
} from "./chunk-OK6U5N5Y.js";
|
|
178
|
-
import "./chunk-
|
|
179
|
-
import "./chunk-
|
|
178
|
+
import "./chunk-5O7Q4CTX.js";
|
|
179
|
+
import "./chunk-5ZPBDKKH.js";
|
|
180
180
|
import {
|
|
181
181
|
shutdownExpertBridge
|
|
182
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-NA7Q62YX.js";
|
|
183
183
|
import {
|
|
184
184
|
DEFAULT_VOTE_TIMEOUT_MS,
|
|
185
185
|
ErrorPolicySchema,
|
|
@@ -189,31 +189,31 @@ import {
|
|
|
189
189
|
executeVoting,
|
|
190
190
|
registerConsensusVoteTool,
|
|
191
191
|
warnIfSimulatedOutsideTests
|
|
192
|
-
} from "./chunk-
|
|
192
|
+
} from "./chunk-4FBT6CMN.js";
|
|
193
193
|
import {
|
|
194
194
|
loadPapersRegistry,
|
|
195
195
|
loadTechniquesRegistry,
|
|
196
196
|
savePapersRegistry,
|
|
197
197
|
synthesizeResearch
|
|
198
|
-
} from "./chunk-
|
|
198
|
+
} from "./chunk-OMMSFS7X.js";
|
|
199
199
|
import {
|
|
200
200
|
classifyTrust,
|
|
201
201
|
createFullGitHubProvider,
|
|
202
202
|
evaluatePolicy,
|
|
203
203
|
parsePRUrl
|
|
204
|
-
} from "./chunk-
|
|
205
|
-
import "./chunk-
|
|
204
|
+
} from "./chunk-J6H4H26H.js";
|
|
205
|
+
import "./chunk-CTFJ2KYU.js";
|
|
206
206
|
import {
|
|
207
207
|
ReputationCache,
|
|
208
208
|
sanitizeInput
|
|
209
|
-
} from "./chunk-
|
|
209
|
+
} from "./chunk-OU46N3BY.js";
|
|
210
210
|
import {
|
|
211
211
|
ImprovementReviewInputSchema,
|
|
212
212
|
calculateFitnessScore,
|
|
213
213
|
createFitnessScoreCalculator,
|
|
214
214
|
registerImprovementReviewTool,
|
|
215
215
|
runImprovementReview
|
|
216
|
-
} from "./chunk-
|
|
216
|
+
} from "./chunk-PBL6NYJD.js";
|
|
217
217
|
import {
|
|
218
218
|
createDefaultPolicyFirewall,
|
|
219
219
|
createSecureHandler,
|
|
@@ -223,14 +223,14 @@ import {
|
|
|
223
223
|
toolStructuredError,
|
|
224
224
|
toolSuccessStructured,
|
|
225
225
|
wrapToolWithTimeout
|
|
226
|
-
} from "./chunk-
|
|
227
|
-
import "./chunk-
|
|
226
|
+
} from "./chunk-VQLPWNC7.js";
|
|
227
|
+
import "./chunk-R6YBNODZ.js";
|
|
228
228
|
import "./chunk-HFOQKCD2.js";
|
|
229
|
-
import "./chunk-
|
|
229
|
+
import "./chunk-E36RH4FR.js";
|
|
230
230
|
import {
|
|
231
231
|
MemoryError,
|
|
232
232
|
shutdownToolMemory
|
|
233
|
-
} from "./chunk-
|
|
233
|
+
} from "./chunk-UVDJSMVA.js";
|
|
234
234
|
import {
|
|
235
235
|
CustomExpertDefinitionSchema,
|
|
236
236
|
DATA_SUBDIRECTORIES,
|
|
@@ -249,7 +249,7 @@ import {
|
|
|
249
249
|
loadConfig,
|
|
250
250
|
runDoctor,
|
|
251
251
|
validateNexusEnv
|
|
252
|
-
} from "./chunk-
|
|
252
|
+
} from "./chunk-63QB7EAZ.js";
|
|
253
253
|
import "./chunk-NUBSJGQZ.js";
|
|
254
254
|
import {
|
|
255
255
|
capitalize,
|
|
@@ -261,17 +261,17 @@ import {
|
|
|
261
261
|
getAvailableClis,
|
|
262
262
|
isRecord,
|
|
263
263
|
probeAllClis
|
|
264
|
-
} from "./chunk-
|
|
265
|
-
import "./chunk-
|
|
264
|
+
} from "./chunk-AVMIPDYA.js";
|
|
265
|
+
import "./chunk-V5AGCCPT.js";
|
|
266
266
|
import {
|
|
267
267
|
DEFAULTS
|
|
268
|
-
} from "./chunk-
|
|
269
|
-
import "./chunk-
|
|
270
|
-
import "./chunk-
|
|
271
|
-
import "./chunk-
|
|
268
|
+
} from "./chunk-S25SO7FM.js";
|
|
269
|
+
import "./chunk-PPF6MTAK.js";
|
|
270
|
+
import "./chunk-KAIIFMHG.js";
|
|
271
|
+
import "./chunk-3LWP6ZKK.js";
|
|
272
272
|
import "./chunk-ZM4O442V.js";
|
|
273
273
|
import "./chunk-PQHVC4BD.js";
|
|
274
|
-
import "./chunk-
|
|
274
|
+
import "./chunk-ECSYPQMD.js";
|
|
275
275
|
import {
|
|
276
276
|
API_TIMEOUTS,
|
|
277
277
|
AgentCapability,
|
|
@@ -343,7 +343,7 @@ import {
|
|
|
343
343
|
validateTimeout,
|
|
344
344
|
writeEmptyLine,
|
|
345
345
|
writeLine
|
|
346
|
-
} from "./chunk-
|
|
346
|
+
} from "./chunk-DV2GYXRF.js";
|
|
347
347
|
import {
|
|
348
348
|
applyPortableMode,
|
|
349
349
|
detectSandbox,
|
|
@@ -3171,7 +3171,7 @@ ${file.patch}
|
|
|
3171
3171
|
violations: policyResult.violations
|
|
3172
3172
|
});
|
|
3173
3173
|
}
|
|
3174
|
-
const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-
|
|
3174
|
+
const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-J2GTXVBF.js");
|
|
3175
3175
|
const body = formatReviewComment2(result);
|
|
3176
3176
|
const postResult = await provider.createReview(pr.prNumber, body, result.decision);
|
|
3177
3177
|
if (!postResult.ok) {
|
|
@@ -17561,6 +17561,31 @@ function auditDemotion(auditLogger, agentId, adjustment, log) {
|
|
|
17561
17561
|
});
|
|
17562
17562
|
}
|
|
17563
17563
|
}
|
|
17564
|
+
function auditReversal(auditLogger, reversal, log) {
|
|
17565
|
+
const reason = reversal.reason.length > AUDIT_REASON_MAX ? reversal.reason.slice(0, AUDIT_REASON_MAX) : reversal.reason;
|
|
17566
|
+
try {
|
|
17567
|
+
auditLogger.log({
|
|
17568
|
+
category: "configuration",
|
|
17569
|
+
severity: "info",
|
|
17570
|
+
outcome: "success",
|
|
17571
|
+
action: "tune.reversal",
|
|
17572
|
+
actor: { type: "system", id: "tune-stage" },
|
|
17573
|
+
description: `Routing demotion reversed for ${reversal.cli} (${reversal.cause}); restored multiplier ${String(reversal.restoredMultiplier)}`,
|
|
17574
|
+
metadata: {
|
|
17575
|
+
cli: reversal.cli,
|
|
17576
|
+
cause: reversal.cause,
|
|
17577
|
+
previousMultiplier: reversal.previousMultiplier,
|
|
17578
|
+
restoredMultiplier: reversal.restoredMultiplier,
|
|
17579
|
+
reason,
|
|
17580
|
+
reversedAt: reversal.reversedAt
|
|
17581
|
+
}
|
|
17582
|
+
});
|
|
17583
|
+
} catch (auditError) {
|
|
17584
|
+
log.warn("TuneStage \u2014 reversal audit log failed (reversal still applied)", {
|
|
17585
|
+
error: getErrorMessage(auditError)
|
|
17586
|
+
});
|
|
17587
|
+
}
|
|
17588
|
+
}
|
|
17564
17589
|
function enforceSwarmDemotion(event, action, auditLogger, log) {
|
|
17565
17590
|
const adjustment = getTuneAdjustmentStore().demote(
|
|
17566
17591
|
event.agentId,
|
|
@@ -17580,7 +17605,12 @@ function createTuneStage(bus, options = {}) {
|
|
|
17580
17605
|
const enabled = options.enabled ?? false;
|
|
17581
17606
|
const log = options.logger ?? defaultLogger;
|
|
17582
17607
|
const auditLogger = options.auditLogger;
|
|
17583
|
-
|
|
17608
|
+
if (enabled && auditLogger !== void 0) {
|
|
17609
|
+
getTuneAdjustmentStore().onReversal((reversal) => {
|
|
17610
|
+
auditReversal(auditLogger, reversal, log);
|
|
17611
|
+
});
|
|
17612
|
+
}
|
|
17613
|
+
const unsubscribe = bus.subscribe({ type: [...TUNE_SIGNAL_TYPES] }, (event) => {
|
|
17584
17614
|
try {
|
|
17585
17615
|
const action = intendedActionFor(event);
|
|
17586
17616
|
if (action === void 0) return;
|
|
@@ -17608,6 +17638,12 @@ function createTuneStage(bus, options = {}) {
|
|
|
17608
17638
|
log.warn("TuneStage handler error", { error: getErrorMessage(e) });
|
|
17609
17639
|
}
|
|
17610
17640
|
});
|
|
17641
|
+
return () => {
|
|
17642
|
+
unsubscribe();
|
|
17643
|
+
if (enabled && auditLogger !== void 0) {
|
|
17644
|
+
getTuneAdjustmentStore().onReversal(void 0);
|
|
17645
|
+
}
|
|
17646
|
+
};
|
|
17611
17647
|
}
|
|
17612
17648
|
var cachedTuneUnsubscribe = null;
|
|
17613
17649
|
function startTuneStage(bus, options) {
|
|
@@ -17636,7 +17672,7 @@ function startImprovementReviewScheduler(options) {
|
|
|
17636
17672
|
let running = false;
|
|
17637
17673
|
const runOnce = async () => {
|
|
17638
17674
|
try {
|
|
17639
|
-
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-
|
|
17675
|
+
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-6I6R2RGJ.js");
|
|
17640
17676
|
const input = ImprovementReviewInputSchema2.parse({ fileIssues });
|
|
17641
17677
|
const result = await runImprovementReview2(input, { logger: logger18 });
|
|
17642
17678
|
logger18.info("Scheduled improvement_review complete", {
|
|
@@ -19568,7 +19604,7 @@ function adaptConfigToLibrary(config) {
|
|
|
19568
19604
|
}
|
|
19569
19605
|
function createBeliefPromoter() {
|
|
19570
19606
|
return async (event) => {
|
|
19571
|
-
const { getToolMemory } = await import("./tool-memory-
|
|
19607
|
+
const { getToolMemory } = await import("./tool-memory-HDZTG53V.js");
|
|
19572
19608
|
const tm = getToolMemory();
|
|
19573
19609
|
await tm.recordBelief(
|
|
19574
19610
|
`skill:${event.name}`,
|
|
@@ -20435,7 +20471,7 @@ async function handleResearchCommand(args) {
|
|
|
20435
20471
|
}
|
|
20436
20472
|
}
|
|
20437
20473
|
async function handleRegistryCommand(args) {
|
|
20438
|
-
const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-
|
|
20474
|
+
const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-TKQ76AVY.js");
|
|
20439
20475
|
const subcommand = args.subcommand;
|
|
20440
20476
|
if (!isValidRegistrySubcommand(subcommand)) {
|
|
20441
20477
|
process.stdout.write(`${formatRegistryUsage()}
|
|
@@ -20483,7 +20519,7 @@ async function handleVerifyCommand(args) {
|
|
|
20483
20519
|
async function handleDoctorCommand(args) {
|
|
20484
20520
|
const exitCode = await doctorCommand({ fix: args.options.fix });
|
|
20485
20521
|
if (args.options.deep) {
|
|
20486
|
-
const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-
|
|
20522
|
+
const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-VYKG3WRA.js");
|
|
20487
20523
|
const diag = runDeepDiagnostics2();
|
|
20488
20524
|
process.stdout.write(formatDeepDiagnostics2(diag) + "\n");
|
|
20489
20525
|
}
|
|
@@ -20527,7 +20563,7 @@ async function handleInitCommand(args) {
|
|
|
20527
20563
|
process.exit(result.success ? EXIT_CODES.SUCCESS : EXIT_CODES.SERVER_START_FAILED);
|
|
20528
20564
|
}
|
|
20529
20565
|
async function runInitOpencodeFlow(args) {
|
|
20530
|
-
const { runInitOpencode } = await import("./init-opencode-
|
|
20566
|
+
const { runInitOpencode } = await import("./init-opencode-GQMO5HD3.js");
|
|
20531
20567
|
const opencodePath = args.options.opencode;
|
|
20532
20568
|
if (opencodePath === void 0 || opencodePath === "") {
|
|
20533
20569
|
process.stderr.write("Error: --opencode requires a path argument.\n");
|
|
@@ -20554,7 +20590,7 @@ async function runInitOpencodeFlow(args) {
|
|
|
20554
20590
|
process.exit(EXIT_CODES.SUCCESS);
|
|
20555
20591
|
}
|
|
20556
20592
|
async function renderOpencodeValidate(opencodePath) {
|
|
20557
|
-
const { runOpencodeValidate } = await import("./init-opencode-
|
|
20593
|
+
const { runOpencodeValidate } = await import("./init-opencode-GQMO5HD3.js");
|
|
20558
20594
|
const result = await runOpencodeValidate(opencodePath);
|
|
20559
20595
|
if (!result.ok) {
|
|
20560
20596
|
process.stderr.write(`init --opencode --validate: ${result.reason ?? "failed"}
|
|
@@ -20594,7 +20630,7 @@ async function handleSetupCommandAsync(args) {
|
|
|
20594
20630
|
process.exit(exitCode === 0 ? EXIT_CODES.SUCCESS : EXIT_CODES.SERVER_START_FAILED);
|
|
20595
20631
|
}
|
|
20596
20632
|
async function runCustomApiSetup(args) {
|
|
20597
|
-
const { configureCustomApi } = await import("./setup-custom-api-
|
|
20633
|
+
const { configureCustomApi } = await import("./setup-custom-api-4UVZTGD4.js");
|
|
20598
20634
|
const baseUrl = args.options.customApi;
|
|
20599
20635
|
if (baseUrl === void 0) return EXIT_CODES.SERVER_START_FAILED;
|
|
20600
20636
|
const input = {
|