nexus-agents 4.2.1 → 4.3.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-BV3OSP24.js → child-mcp-config-JTLIU3JR.js} +2 -2
- package/dist/{chunk-KVHA4AEF.js → chunk-2QYJ7IE2.js} +4 -4
- package/dist/{chunk-JRU5G6VW.js → chunk-3K3VGOY4.js} +2 -2
- package/dist/{chunk-BYDUN7A5.js → chunk-3P6N3XZF.js} +2 -2
- package/dist/{chunk-4O7TU6R3.js → chunk-4JKO5B7A.js} +2 -2
- package/dist/{chunk-JJEOBIOI.js → chunk-55XLIDEN.js} +2 -2
- package/dist/{chunk-ADIMVMAB.js → chunk-5GUP54YH.js} +2 -2
- package/dist/{chunk-6SBSQDCX.js → chunk-73U6W5ZU.js} +2 -2
- package/dist/{chunk-BMEJLPAE.js → chunk-A7DEF2I6.js} +3 -3
- package/dist/{chunk-5HPJB35V.js → chunk-AQAGVYWS.js} +2 -2
- package/dist/{chunk-VKLMXCI2.js → chunk-B6JICUQ6.js} +17 -4
- package/dist/chunk-B6JICUQ6.js.map +1 -0
- package/dist/{chunk-FRTNZUUF.js → chunk-CYCXJNPA.js} +2 -2
- package/dist/{chunk-HNC2G7AS.js → chunk-DL5RN53R.js} +2 -2
- package/dist/{chunk-FD3I5B4X.js → chunk-FHXDRCIW.js} +2 -2
- package/dist/{chunk-N7YLNXHT.js → chunk-H64DUJSZ.js} +6 -6
- package/dist/{chunk-EXX6WINJ.js → chunk-JV5HRP3S.js} +2 -2
- package/dist/{chunk-C3KZXEBR.js → chunk-KIWPXWL7.js} +4 -4
- package/dist/{chunk-O3AZI3X2.js → chunk-L7Z7ZLM5.js} +5 -5
- package/dist/{chunk-CNB4PA7Q.js → chunk-LGTY3B3Q.js} +5 -5
- package/dist/{chunk-AY6EN765.js → chunk-LSQ6TVSS.js} +35 -35
- package/dist/{chunk-PAGVGHWL.js → chunk-LWB4RR47.js} +14 -78
- package/dist/chunk-LWB4RR47.js.map +1 -0
- package/dist/{chunk-KLN7TJLT.js → chunk-MLR4PF64.js} +2 -2
- package/dist/{chunk-AMEVOGE7.js → chunk-MPCBYY4J.js} +8 -8
- package/dist/{chunk-CIQJIBGF.js → chunk-MPEQHP4D.js} +3 -3
- package/dist/{chunk-4Z2Z52C7.js → chunk-OYNZ6FCZ.js} +7 -7
- package/dist/{chunk-NZHI7FHX.js → chunk-ROAVF3S5.js} +5 -5
- package/dist/{chunk-4XWRSCZ2.js → chunk-SF6KSPBW.js} +3 -3
- package/dist/{chunk-S645LGB6.js → chunk-TKA6653I.js} +2 -2
- package/dist/{chunk-TN7HF2SQ.js → chunk-TMYLHKLJ.js} +12 -12
- package/dist/{chunk-U53YMCSE.js → chunk-UZUECKIV.js} +8 -8
- package/dist/{chunk-5DED5UHM.js → chunk-WX5TASVN.js} +3 -3
- package/dist/{chunk-2HCONJES.js → chunk-X57EI3U6.js} +2 -2
- package/dist/{chunk-3OM2W7H7.js → chunk-XABDFFQV.js} +2 -2
- package/dist/{chunk-UM376MEM.js → chunk-Y3WYSLFZ.js} +2 -2
- package/dist/{cli-circuit-breaker-NRGM3VBL.js → cli-circuit-breaker-DG2L4C3C.js} +3 -3
- package/dist/cli.js +41 -41
- package/dist/{composite-router-TSPOS57H.js → composite-router-X5QU6XNZ.js} +2 -2
- package/dist/{consensus-vote-ULN3XOCN.js → consensus-vote-3IHQNBNY.js} +16 -16
- package/dist/{context-retriever-SGJTQUCI.js → context-retriever-CIFLPUJA.js} +8 -8
- package/dist/{doctor-deep-33C5GGB3.js → doctor-deep-FZGNQXDZ.js} +3 -3
- package/dist/{doctor-live-XRIVOJLP.js → doctor-live-KGQWMYJY.js} +9 -9
- package/dist/{expert-bridge-UH44L5CN.js → expert-bridge-B6ZTEZNH.js} +4 -4
- package/dist/{factory-GUDAJED7.js → factory-5BEGXJVB.js} +9 -9
- package/dist/{factory-HYFTOF35.js → factory-RLGGFLYD.js} +5 -5
- package/dist/{improvement-review-HU7P73SL.js → improvement-review-52J36YLJ.js} +5 -5
- package/dist/index.d.ts +133 -56
- package/dist/index.js +30 -30
- package/dist/{init-opencode-PXLOY7XY.js → init-opencode-JAJXMGOI.js} +6 -6
- package/dist/issue-triage-APE6L5YP.js +17 -0
- package/dist/{pr-reviewer-helpers-QU4F2A3X.js → pr-reviewer-helpers-KZ4MNSUT.js} +4 -4
- package/dist/{registry-command-2LQLUUXG.js → registry-command-AHGSBCNL.js} +2 -2
- package/dist/{repo-security-plan-E2MTJPSC.js → repo-security-plan-C4ZSWVY7.js} +3 -3
- package/dist/{research-helpers-synthesize-4YBZF2LZ.js → research-helpers-synthesize-C4GK3GU4.js} +4 -4
- package/dist/{routing-memory-EIF5XALW.js → routing-memory-WU4C63BA.js} +2 -2
- package/dist/{session-memory-5GVHJR26.js → session-memory-LYX5N2IP.js} +3 -3
- package/dist/{setup-command-RS4NCQIB.js → setup-command-H4XOEBF5.js} +14 -14
- package/dist/{setup-config-PMGHQJ6O.js → setup-config-P722TC57.js} +3 -3
- package/dist/{setup-custom-api-JXXGF5QD.js → setup-custom-api-P7T5YKIK.js} +4 -4
- package/dist/{tool-memory-YFXJCJFI.js → tool-memory-AL5PXKB4.js} +5 -5
- package/dist/{unified-registry-OGXE4772.js → unified-registry-UM4GSYMB.js} +10 -10
- package/dist/{weather-report-FV6YYGT4.js → weather-report-QLHSZQOT.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-PAGVGHWL.js.map +0 -1
- package/dist/chunk-VKLMXCI2.js.map +0 -1
- package/dist/issue-triage-B3KU37U3.js +0 -17
- /package/dist/{child-mcp-config-BV3OSP24.js.map → child-mcp-config-JTLIU3JR.js.map} +0 -0
- /package/dist/{chunk-KVHA4AEF.js.map → chunk-2QYJ7IE2.js.map} +0 -0
- /package/dist/{chunk-JRU5G6VW.js.map → chunk-3K3VGOY4.js.map} +0 -0
- /package/dist/{chunk-BYDUN7A5.js.map → chunk-3P6N3XZF.js.map} +0 -0
- /package/dist/{chunk-4O7TU6R3.js.map → chunk-4JKO5B7A.js.map} +0 -0
- /package/dist/{chunk-JJEOBIOI.js.map → chunk-55XLIDEN.js.map} +0 -0
- /package/dist/{chunk-ADIMVMAB.js.map → chunk-5GUP54YH.js.map} +0 -0
- /package/dist/{chunk-6SBSQDCX.js.map → chunk-73U6W5ZU.js.map} +0 -0
- /package/dist/{chunk-BMEJLPAE.js.map → chunk-A7DEF2I6.js.map} +0 -0
- /package/dist/{chunk-5HPJB35V.js.map → chunk-AQAGVYWS.js.map} +0 -0
- /package/dist/{chunk-FRTNZUUF.js.map → chunk-CYCXJNPA.js.map} +0 -0
- /package/dist/{chunk-HNC2G7AS.js.map → chunk-DL5RN53R.js.map} +0 -0
- /package/dist/{chunk-FD3I5B4X.js.map → chunk-FHXDRCIW.js.map} +0 -0
- /package/dist/{chunk-N7YLNXHT.js.map → chunk-H64DUJSZ.js.map} +0 -0
- /package/dist/{chunk-EXX6WINJ.js.map → chunk-JV5HRP3S.js.map} +0 -0
- /package/dist/{chunk-C3KZXEBR.js.map → chunk-KIWPXWL7.js.map} +0 -0
- /package/dist/{chunk-O3AZI3X2.js.map → chunk-L7Z7ZLM5.js.map} +0 -0
- /package/dist/{chunk-CNB4PA7Q.js.map → chunk-LGTY3B3Q.js.map} +0 -0
- /package/dist/{chunk-AY6EN765.js.map → chunk-LSQ6TVSS.js.map} +0 -0
- /package/dist/{chunk-KLN7TJLT.js.map → chunk-MLR4PF64.js.map} +0 -0
- /package/dist/{chunk-AMEVOGE7.js.map → chunk-MPCBYY4J.js.map} +0 -0
- /package/dist/{chunk-CIQJIBGF.js.map → chunk-MPEQHP4D.js.map} +0 -0
- /package/dist/{chunk-4Z2Z52C7.js.map → chunk-OYNZ6FCZ.js.map} +0 -0
- /package/dist/{chunk-NZHI7FHX.js.map → chunk-ROAVF3S5.js.map} +0 -0
- /package/dist/{chunk-4XWRSCZ2.js.map → chunk-SF6KSPBW.js.map} +0 -0
- /package/dist/{chunk-S645LGB6.js.map → chunk-TKA6653I.js.map} +0 -0
- /package/dist/{chunk-TN7HF2SQ.js.map → chunk-TMYLHKLJ.js.map} +0 -0
- /package/dist/{chunk-U53YMCSE.js.map → chunk-UZUECKIV.js.map} +0 -0
- /package/dist/{chunk-5DED5UHM.js.map → chunk-WX5TASVN.js.map} +0 -0
- /package/dist/{chunk-2HCONJES.js.map → chunk-X57EI3U6.js.map} +0 -0
- /package/dist/{chunk-3OM2W7H7.js.map → chunk-XABDFFQV.js.map} +0 -0
- /package/dist/{chunk-UM376MEM.js.map → chunk-Y3WYSLFZ.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-NRGM3VBL.js.map → cli-circuit-breaker-DG2L4C3C.js.map} +0 -0
- /package/dist/{composite-router-TSPOS57H.js.map → composite-router-X5QU6XNZ.js.map} +0 -0
- /package/dist/{consensus-vote-ULN3XOCN.js.map → consensus-vote-3IHQNBNY.js.map} +0 -0
- /package/dist/{context-retriever-SGJTQUCI.js.map → context-retriever-CIFLPUJA.js.map} +0 -0
- /package/dist/{doctor-deep-33C5GGB3.js.map → doctor-deep-FZGNQXDZ.js.map} +0 -0
- /package/dist/{doctor-live-XRIVOJLP.js.map → doctor-live-KGQWMYJY.js.map} +0 -0
- /package/dist/{expert-bridge-UH44L5CN.js.map → expert-bridge-B6ZTEZNH.js.map} +0 -0
- /package/dist/{factory-GUDAJED7.js.map → factory-5BEGXJVB.js.map} +0 -0
- /package/dist/{factory-HYFTOF35.js.map → factory-RLGGFLYD.js.map} +0 -0
- /package/dist/{improvement-review-HU7P73SL.js.map → improvement-review-52J36YLJ.js.map} +0 -0
- /package/dist/{init-opencode-PXLOY7XY.js.map → init-opencode-JAJXMGOI.js.map} +0 -0
- /package/dist/{issue-triage-B3KU37U3.js.map → issue-triage-APE6L5YP.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-QU4F2A3X.js.map → pr-reviewer-helpers-KZ4MNSUT.js.map} +0 -0
- /package/dist/{registry-command-2LQLUUXG.js.map → registry-command-AHGSBCNL.js.map} +0 -0
- /package/dist/{repo-security-plan-E2MTJPSC.js.map → repo-security-plan-C4ZSWVY7.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-4YBZF2LZ.js.map → research-helpers-synthesize-C4GK3GU4.js.map} +0 -0
- /package/dist/{routing-memory-EIF5XALW.js.map → routing-memory-WU4C63BA.js.map} +0 -0
- /package/dist/{session-memory-5GVHJR26.js.map → session-memory-LYX5N2IP.js.map} +0 -0
- /package/dist/{setup-command-RS4NCQIB.js.map → setup-command-H4XOEBF5.js.map} +0 -0
- /package/dist/{setup-config-PMGHQJ6O.js.map → setup-config-P722TC57.js.map} +0 -0
- /package/dist/{setup-custom-api-JXXGF5QD.js.map → setup-custom-api-P7T5YKIK.js.map} +0 -0
- /package/dist/{tool-memory-YFXJCJFI.js.map → tool-memory-AL5PXKB4.js.map} +0 -0
- /package/dist/{unified-registry-OGXE4772.js.map → unified-registry-UM4GSYMB.js.map} +0 -0
- /package/dist/{weather-report-FV6YYGT4.js.map → weather-report-QLHSZQOT.js.map} +0 -0
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
lookupInTreeCapability,
|
|
14
14
|
ok,
|
|
15
15
|
resolveRetryAfterMs
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-TMYLHKLJ.js";
|
|
17
17
|
|
|
18
18
|
// src/config/model-parameter-support.ts
|
|
19
19
|
function parseClaudeMajorMinor(bareId) {
|
|
@@ -834,4 +834,4 @@ export {
|
|
|
834
834
|
DEFAULT_COLLECT_STREAM_MAX_CHUNKS,
|
|
835
835
|
collectStream
|
|
836
836
|
};
|
|
837
|
-
//# sourceMappingURL=chunk-
|
|
837
|
+
//# sourceMappingURL=chunk-MLR4PF64.js.map
|
|
@@ -5,34 +5,34 @@ import {
|
|
|
5
5
|
planOptionalParams,
|
|
6
6
|
requireApiKey,
|
|
7
7
|
validateApiKeyPresence
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-MLR4PF64.js";
|
|
9
9
|
import {
|
|
10
10
|
CUSTOM_API_DEFAULT_MODEL
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-DL5RN53R.js";
|
|
12
12
|
import {
|
|
13
13
|
CUSTOM_API_BASE_URL_ENV,
|
|
14
14
|
PROVIDER_ENV_KEYS,
|
|
15
15
|
assertCustomApiHostResolvesPublic,
|
|
16
16
|
validateCustomApiBaseUrl
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-X57EI3U6.js";
|
|
18
18
|
import {
|
|
19
19
|
nexusMkdtempSync
|
|
20
20
|
} from "./chunk-SNJNRDKZ.js";
|
|
21
21
|
import {
|
|
22
22
|
getAvailabilityCache
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-TKA6653I.js";
|
|
24
24
|
import {
|
|
25
25
|
extractSystemPrompt
|
|
26
26
|
} from "./chunk-QZUG667L.js";
|
|
27
27
|
import {
|
|
28
28
|
generateHyphenId
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-CYCXJNPA.js";
|
|
30
30
|
import {
|
|
31
31
|
CliCircuitBreaker,
|
|
32
32
|
DEFAULT_CIRCUIT_BREAKER_CONFIG,
|
|
33
33
|
getCliCircuitBreakerSnapshot,
|
|
34
34
|
getDefaultCliCircuitBreakerRegistry
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-4JKO5B7A.js";
|
|
36
36
|
import {
|
|
37
37
|
CLI_SUBPROCESS_TIMEOUTS,
|
|
38
38
|
CLI_TIMEOUTS,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
resolveCliAlias,
|
|
73
73
|
resolveRetryAfterMs,
|
|
74
74
|
retryAfterMsFromContext
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-TMYLHKLJ.js";
|
|
76
76
|
|
|
77
77
|
// src/cli-adapters/cli-to-model-adapter.ts
|
|
78
78
|
var CliToModelAdapter = class {
|
|
@@ -4870,4 +4870,4 @@ export {
|
|
|
4870
4870
|
SdkAdapter,
|
|
4871
4871
|
createAutoAdapter
|
|
4872
4872
|
};
|
|
4873
|
-
//# sourceMappingURL=chunk-
|
|
4873
|
+
//# sourceMappingURL=chunk-MPCBYY4J.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
toolStructuredError,
|
|
8
8
|
toolSuccessStructured,
|
|
9
9
|
wrapToolWithTimeout
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WX5TASVN.js";
|
|
11
11
|
import {
|
|
12
12
|
JsonlStore,
|
|
13
13
|
SECURITY_KEYWORDS,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
getPipelineEventBus,
|
|
20
20
|
getTimeProvider,
|
|
21
21
|
isDeclaredNeverDeprecate
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-TMYLHKLJ.js";
|
|
23
23
|
import {
|
|
24
24
|
getNexusDataDir,
|
|
25
25
|
nexusDataPath
|
|
@@ -2132,4 +2132,4 @@ export {
|
|
|
2132
2132
|
runImprovementReview,
|
|
2133
2133
|
registerImprovementReviewTool
|
|
2134
2134
|
};
|
|
2135
|
-
//# sourceMappingURL=chunk-
|
|
2135
|
+
//# sourceMappingURL=chunk-MPEQHP4D.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveCliSlot
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TKA6653I.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger,
|
|
6
6
|
getTimeProvider,
|
|
7
7
|
isRateLimitText
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TMYLHKLJ.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-JTLIU3JR.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-5BEGXJVB.js");
|
|
97
|
+
const { createCompositeRouter } = await import("./composite-router-X5QU6XNZ.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-DG2L4C3C.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-OYNZ6FCZ.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
computeCostDetail,
|
|
3
3
|
recordUsageEvent
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3P6N3XZF.js";
|
|
5
5
|
import {
|
|
6
6
|
BaseAdapter,
|
|
7
7
|
createStream,
|
|
8
8
|
planOptionalParams,
|
|
9
9
|
requireApiKey,
|
|
10
10
|
validateApiKeyPresence
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-MLR4PF64.js";
|
|
12
12
|
import {
|
|
13
13
|
assertCustomApiHostResolvesPublic
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-X57EI3U6.js";
|
|
15
15
|
import {
|
|
16
16
|
ConfigError,
|
|
17
17
|
ModelCapability,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
getTimeProvider,
|
|
23
23
|
getTokenEstimator,
|
|
24
24
|
ok
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-TMYLHKLJ.js";
|
|
26
26
|
|
|
27
27
|
// src/adapters/openai-types.ts
|
|
28
28
|
var OPENAI_MODELS = {
|
|
@@ -831,4 +831,4 @@ export {
|
|
|
831
831
|
discoverModels,
|
|
832
832
|
buildOpenAICompatAdapters
|
|
833
833
|
};
|
|
834
|
-
//# sourceMappingURL=chunk-
|
|
834
|
+
//# sourceMappingURL=chunk-ROAVF3S5.js.map
|
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
gateWithReputation,
|
|
13
13
|
resolveReputationGatingMode,
|
|
14
14
|
sanitizeInput
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-AQAGVYWS.js";
|
|
16
16
|
import {
|
|
17
17
|
createLogger,
|
|
18
18
|
getTimeProvider
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-TMYLHKLJ.js";
|
|
20
20
|
|
|
21
21
|
// src/dogfooding/pr-reviewer-helpers.ts
|
|
22
22
|
import { randomUUID } from "crypto";
|
|
@@ -291,4 +291,4 @@ export {
|
|
|
291
291
|
formatReviewComment,
|
|
292
292
|
createFailedReview
|
|
293
293
|
};
|
|
294
|
-
//# sourceMappingURL=chunk-
|
|
294
|
+
//# sourceMappingURL=chunk-SF6KSPBW.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
MODEL_IDS,
|
|
4
4
|
getTimeProvider,
|
|
5
5
|
resolveModelIdentitySync
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TMYLHKLJ.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-TKA6653I.js.map
|
|
@@ -2623,7 +2623,7 @@ function setDefaultRegistry(registry) {
|
|
|
2623
2623
|
}
|
|
2624
2624
|
async function reloadDefaultRegistry() {
|
|
2625
2625
|
globalRegistry = buildDefaultRegistry();
|
|
2626
|
-
const { resetGlobalRegistry } = await import("./unified-registry-
|
|
2626
|
+
const { resetGlobalRegistry } = await import("./unified-registry-UM4GSYMB.js");
|
|
2627
2627
|
resetGlobalRegistry();
|
|
2628
2628
|
return globalRegistry;
|
|
2629
2629
|
}
|
|
@@ -15022,7 +15022,7 @@ var CompositeRouter = class _CompositeRouter {
|
|
|
15022
15022
|
*/
|
|
15023
15023
|
async consultUnifiedContext(task) {
|
|
15024
15024
|
try {
|
|
15025
|
-
const { getContextForTask, inferTaskCategory } = await import("./context-retriever-
|
|
15025
|
+
const { getContextForTask, inferTaskCategory } = await import("./context-retriever-CIFLPUJA.js");
|
|
15026
15026
|
const ctx = await getContextForTask({
|
|
15027
15027
|
task: task.content,
|
|
15028
15028
|
category: inferTaskCategory(task.content),
|
|
@@ -16420,6 +16420,15 @@ export {
|
|
|
16420
16420
|
loadUserManifestOverlay,
|
|
16421
16421
|
loadModelsDevSnapshot,
|
|
16422
16422
|
loadGeneratedRegistryEntries,
|
|
16423
|
+
getFallbackChainForCategory,
|
|
16424
|
+
isRateLimitText,
|
|
16425
|
+
isRateLimitLikeError,
|
|
16426
|
+
parseRetryAfterMs,
|
|
16427
|
+
RETRY_AFTER_CONTEXT_KEY,
|
|
16428
|
+
retryAfterMsFromContext,
|
|
16429
|
+
resolveRetryAfterMs,
|
|
16430
|
+
toRateLimitError,
|
|
16431
|
+
recordRateLimitEvent,
|
|
16423
16432
|
TASK_CATEGORIES,
|
|
16424
16433
|
TaskCategorySchema,
|
|
16425
16434
|
TASK_SPECIALIZATION_MATRIX,
|
|
@@ -16473,15 +16482,6 @@ export {
|
|
|
16473
16482
|
clamp,
|
|
16474
16483
|
clamp01,
|
|
16475
16484
|
clampPercent,
|
|
16476
|
-
isRateLimitText,
|
|
16477
|
-
isRateLimitLikeError,
|
|
16478
|
-
parseRetryAfterMs,
|
|
16479
|
-
RETRY_AFTER_CONTEXT_KEY,
|
|
16480
|
-
retryAfterMsFromContext,
|
|
16481
|
-
resolveRetryAfterMs,
|
|
16482
|
-
toRateLimitError,
|
|
16483
|
-
recordRateLimitEvent,
|
|
16484
|
-
getFallbackChainForCategory,
|
|
16485
16485
|
isDynamicModelsEnabled,
|
|
16486
16486
|
buildDefaultModelSources,
|
|
16487
16487
|
getTokenEstimator,
|
|
@@ -16612,4 +16612,4 @@ export {
|
|
|
16612
16612
|
AgentCapability,
|
|
16613
16613
|
OrchestratorError
|
|
16614
16614
|
};
|
|
16615
|
-
//# sourceMappingURL=chunk-
|
|
16615
|
+
//# sourceMappingURL=chunk-TMYLHKLJ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readOpenAICompatEnv
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ROAVF3S5.js";
|
|
4
4
|
import {
|
|
5
5
|
allOf
|
|
6
6
|
} from "./chunk-OQB3XC5O.js";
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
createAllAdapters,
|
|
15
15
|
probeCli
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-MPCBYY4J.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULTS
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-DL5RN53R.js";
|
|
20
20
|
import {
|
|
21
21
|
getNexusTmpDir
|
|
22
22
|
} from "./chunk-SNJNRDKZ.js";
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
ok,
|
|
37
37
|
symbols,
|
|
38
38
|
writeLine
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-TMYLHKLJ.js";
|
|
40
40
|
import {
|
|
41
41
|
getLearningDir,
|
|
42
42
|
getOutcomesFile,
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
} from "./chunk-OQLFRJCW.js";
|
|
53
53
|
|
|
54
54
|
// src/version.ts
|
|
55
|
-
var VERSION = true ? "4.
|
|
55
|
+
var VERSION = true ? "4.3.1" : "dev";
|
|
56
56
|
|
|
57
57
|
// src/config/schemas-core.ts
|
|
58
58
|
import { z } from "zod";
|
|
@@ -2339,7 +2339,7 @@ async function runDoctorFix(result) {
|
|
|
2339
2339
|
writeLine2("\u2500".repeat(40));
|
|
2340
2340
|
let fixCount = 0;
|
|
2341
2341
|
if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
|
|
2342
|
-
const { runSetup } = await import("./setup-command-
|
|
2342
|
+
const { runSetup } = await import("./setup-command-H4XOEBF5.js");
|
|
2343
2343
|
const setupResult = runSetup({
|
|
2344
2344
|
skipMcp: true,
|
|
2345
2345
|
skipRules: true,
|
|
@@ -2353,7 +2353,7 @@ async function runDoctorFix(result) {
|
|
|
2353
2353
|
}
|
|
2354
2354
|
}
|
|
2355
2355
|
if (!result.configFile.found) {
|
|
2356
|
-
const { runConfigInitSync } = await import("./setup-config-
|
|
2356
|
+
const { runConfigInitSync } = await import("./setup-config-P722TC57.js");
|
|
2357
2357
|
const configResult = runConfigInitSync(process.cwd(), false, false);
|
|
2358
2358
|
if (configResult.success && configResult.created) {
|
|
2359
2359
|
writeLine2(`\u2713 Generated config: ${configResult.path}`);
|
|
@@ -2452,4 +2452,4 @@ export {
|
|
|
2452
2452
|
startStdioServer,
|
|
2453
2453
|
closeServer
|
|
2454
2454
|
};
|
|
2455
|
-
//# sourceMappingURL=chunk-
|
|
2455
|
+
//# sourceMappingURL=chunk-UZUECKIV.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
emitClawGuardViolation
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5GUP54YH.js";
|
|
4
4
|
import {
|
|
5
5
|
CACHE_TIMEOUTS,
|
|
6
6
|
MCP_TIMEOUTS,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
getTimeProvider,
|
|
17
17
|
ok,
|
|
18
18
|
resolveToolClassGuardMs
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-TMYLHKLJ.js";
|
|
20
20
|
import {
|
|
21
21
|
getNexusDataDir
|
|
22
22
|
} from "./chunk-OQLFRJCW.js";
|
|
@@ -2042,4 +2042,4 @@ export {
|
|
|
2042
2042
|
VOTING_THRESHOLDS,
|
|
2043
2043
|
ConsensusMetricsSchema
|
|
2044
2044
|
};
|
|
2045
|
-
//# sourceMappingURL=chunk-
|
|
2045
|
+
//# sourceMappingURL=chunk-WX5TASVN.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
createLogger,
|
|
4
4
|
err,
|
|
5
5
|
ok
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TMYLHKLJ.js";
|
|
7
7
|
|
|
8
8
|
// src/adapters/sdk/types.ts
|
|
9
9
|
var PROVIDER_ENV_KEYS = {
|
|
@@ -169,4 +169,4 @@ export {
|
|
|
169
169
|
validateCustomApiBaseUrl,
|
|
170
170
|
assertCustomApiHostResolvesPublic
|
|
171
171
|
};
|
|
172
|
-
//# sourceMappingURL=chunk-
|
|
172
|
+
//# sourceMappingURL=chunk-X57EI3U6.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
createLogger,
|
|
3
3
|
err,
|
|
4
4
|
ok
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-TMYLHKLJ.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-XABDFFQV.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
getErrorMessage,
|
|
9
9
|
ok,
|
|
10
10
|
parseBoolEnv
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-TMYLHKLJ.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-Y3WYSLFZ.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-4JKO5B7A.js";
|
|
7
|
+
import "./chunk-TMYLHKLJ.js";
|
|
8
8
|
import "./chunk-2HUC6NZN.js";
|
|
9
9
|
import "./chunk-OQLFRJCW.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-DG2L4C3C.js.map
|
package/dist/cli.js
CHANGED
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
generateSummary,
|
|
14
14
|
parseFindings,
|
|
15
15
|
sumFindings
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-SF6KSPBW.js";
|
|
17
|
+
import "./chunk-JV5HRP3S.js";
|
|
18
18
|
import {
|
|
19
19
|
setupCommandAsync,
|
|
20
20
|
verifyCommand
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-L7Z7ZLM5.js";
|
|
22
|
+
import "./chunk-73U6W5ZU.js";
|
|
23
23
|
import {
|
|
24
24
|
AuthHandler,
|
|
25
25
|
DEFAULT_EXPERTS,
|
|
@@ -139,8 +139,8 @@ import {
|
|
|
139
139
|
validateCommand,
|
|
140
140
|
validateWorkflow,
|
|
141
141
|
wrapInMarkdownFence
|
|
142
|
-
} from "./chunk-
|
|
143
|
-
import "./chunk-
|
|
142
|
+
} from "./chunk-LSQ6TVSS.js";
|
|
143
|
+
import "./chunk-FHXDRCIW.js";
|
|
144
144
|
import "./chunk-HFOQKCD2.js";
|
|
145
145
|
import "./chunk-RSMG2DPB.js";
|
|
146
146
|
import {
|
|
@@ -166,14 +166,14 @@ import {
|
|
|
166
166
|
loadConfig,
|
|
167
167
|
runDoctor,
|
|
168
168
|
validateNexusEnv
|
|
169
|
-
} from "./chunk-
|
|
169
|
+
} from "./chunk-UZUECKIV.js";
|
|
170
170
|
import {
|
|
171
171
|
buildOpenAICompatAdapters,
|
|
172
172
|
readOpenAICompatEnv
|
|
173
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-ROAVF3S5.js";
|
|
174
174
|
import {
|
|
175
175
|
shutdownExpertBridge
|
|
176
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-OYNZ6FCZ.js";
|
|
177
177
|
import {
|
|
178
178
|
ConsensusVoteInputSchema,
|
|
179
179
|
DEFAULT_VOTE_TIMEOUT_MS,
|
|
@@ -183,29 +183,29 @@ import {
|
|
|
183
183
|
executeVoting,
|
|
184
184
|
mapOutcomeToDecision,
|
|
185
185
|
registerConsensusVoteTool
|
|
186
|
-
} from "./chunk-
|
|
186
|
+
} from "./chunk-LWB4RR47.js";
|
|
187
187
|
import {
|
|
188
188
|
loadUsageEvents,
|
|
189
189
|
rollupByModel
|
|
190
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-3P6N3XZF.js";
|
|
191
191
|
import {
|
|
192
192
|
allOf,
|
|
193
193
|
anyOf
|
|
194
194
|
} from "./chunk-OQB3XC5O.js";
|
|
195
195
|
import {
|
|
196
196
|
synthesizeResearch
|
|
197
|
-
} from "./chunk-
|
|
197
|
+
} from "./chunk-A7DEF2I6.js";
|
|
198
198
|
import {
|
|
199
199
|
classifyTrust,
|
|
200
200
|
createFullGitHubProvider,
|
|
201
201
|
evaluatePolicy,
|
|
202
202
|
parsePRUrl
|
|
203
|
-
} from "./chunk-
|
|
204
|
-
import "./chunk-
|
|
203
|
+
} from "./chunk-H64DUJSZ.js";
|
|
204
|
+
import "./chunk-55XLIDEN.js";
|
|
205
205
|
import {
|
|
206
206
|
ReputationCache,
|
|
207
207
|
sanitizeInput
|
|
208
|
-
} from "./chunk-
|
|
208
|
+
} from "./chunk-AQAGVYWS.js";
|
|
209
209
|
import {
|
|
210
210
|
ImprovementReviewInputSchema,
|
|
211
211
|
calculateFitnessScore,
|
|
@@ -219,15 +219,15 @@ import {
|
|
|
219
219
|
registerImprovementReviewTool,
|
|
220
220
|
runImprovementReview,
|
|
221
221
|
scanForSecrets
|
|
222
|
-
} from "./chunk-
|
|
222
|
+
} from "./chunk-MPEQHP4D.js";
|
|
223
223
|
import {
|
|
224
224
|
createDefaultPolicyFirewall
|
|
225
|
-
} from "./chunk-
|
|
226
|
-
import "./chunk-
|
|
225
|
+
} from "./chunk-WX5TASVN.js";
|
|
226
|
+
import "./chunk-5GUP54YH.js";
|
|
227
227
|
import {
|
|
228
228
|
createUnifiedRegistry,
|
|
229
229
|
getGlobalRegistry
|
|
230
|
-
} from "./chunk-
|
|
230
|
+
} from "./chunk-B6JICUQ6.js";
|
|
231
231
|
import {
|
|
232
232
|
CodebaseIndexSchema,
|
|
233
233
|
PaperStatusSchema,
|
|
@@ -253,25 +253,25 @@ import {
|
|
|
253
253
|
loadSourcesRegistry,
|
|
254
254
|
rankDiscoveredItems,
|
|
255
255
|
saveSourcesRegistry
|
|
256
|
-
} from "./chunk-
|
|
256
|
+
} from "./chunk-LGTY3B3Q.js";
|
|
257
257
|
import {
|
|
258
258
|
loadPapersRegistry,
|
|
259
259
|
loadTechniquesRegistry,
|
|
260
260
|
savePapersRegistry
|
|
261
|
-
} from "./chunk-
|
|
261
|
+
} from "./chunk-Y3WYSLFZ.js";
|
|
262
262
|
import "./chunk-NUBSJGQZ.js";
|
|
263
263
|
import {
|
|
264
264
|
resolveToken
|
|
265
|
-
} from "./chunk-
|
|
265
|
+
} from "./chunk-XABDFFQV.js";
|
|
266
266
|
import {
|
|
267
267
|
MemoryError,
|
|
268
268
|
shutdownToolMemory
|
|
269
|
-
} from "./chunk-
|
|
269
|
+
} from "./chunk-2QYJ7IE2.js";
|
|
270
270
|
import {
|
|
271
271
|
capitalize,
|
|
272
272
|
capitalizeKebab
|
|
273
273
|
} from "./chunk-6T3EPABN.js";
|
|
274
|
-
import "./chunk-
|
|
274
|
+
import "./chunk-3K3VGOY4.js";
|
|
275
275
|
import "./chunk-YPNQPT2F.js";
|
|
276
276
|
import "./chunk-DVKS77O5.js";
|
|
277
277
|
import "./chunk-KSQSWEFH.js";
|
|
@@ -282,19 +282,19 @@ import {
|
|
|
282
282
|
isRecord,
|
|
283
283
|
probeAllClis,
|
|
284
284
|
readSubprocessDepth
|
|
285
|
-
} from "./chunk-
|
|
286
|
-
import "./chunk-
|
|
285
|
+
} from "./chunk-MPCBYY4J.js";
|
|
286
|
+
import "./chunk-MLR4PF64.js";
|
|
287
287
|
import {
|
|
288
288
|
DEFAULTS
|
|
289
|
-
} from "./chunk-
|
|
290
|
-
import "./chunk-
|
|
289
|
+
} from "./chunk-DL5RN53R.js";
|
|
290
|
+
import "./chunk-X57EI3U6.js";
|
|
291
291
|
import {
|
|
292
292
|
nexusMkdtempSync
|
|
293
293
|
} from "./chunk-SNJNRDKZ.js";
|
|
294
|
-
import "./chunk-
|
|
294
|
+
import "./chunk-TKA6653I.js";
|
|
295
295
|
import "./chunk-QZUG667L.js";
|
|
296
|
-
import "./chunk-
|
|
297
|
-
import "./chunk-
|
|
296
|
+
import "./chunk-CYCXJNPA.js";
|
|
297
|
+
import "./chunk-4JKO5B7A.js";
|
|
298
298
|
import {
|
|
299
299
|
API_TIMEOUTS,
|
|
300
300
|
AgentCapability,
|
|
@@ -368,7 +368,7 @@ import {
|
|
|
368
368
|
validateTimeout,
|
|
369
369
|
writeEmptyLine,
|
|
370
370
|
writeLine
|
|
371
|
-
} from "./chunk-
|
|
371
|
+
} from "./chunk-TMYLHKLJ.js";
|
|
372
372
|
import "./chunk-2HUC6NZN.js";
|
|
373
373
|
import {
|
|
374
374
|
applyPortableMode,
|
|
@@ -4126,7 +4126,7 @@ ${file.patch}
|
|
|
4126
4126
|
violations: policyResult.violations
|
|
4127
4127
|
});
|
|
4128
4128
|
}
|
|
4129
|
-
const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-
|
|
4129
|
+
const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-KZ4MNSUT.js");
|
|
4130
4130
|
const body = formatReviewComment2(result);
|
|
4131
4131
|
const postResult = await provider.createReview(pr.prNumber, body, result.decision);
|
|
4132
4132
|
if (!postResult.ok) {
|
|
@@ -17532,7 +17532,7 @@ function startImprovementReviewScheduler(options) {
|
|
|
17532
17532
|
let running = false;
|
|
17533
17533
|
const runOnce = async () => {
|
|
17534
17534
|
try {
|
|
17535
|
-
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-
|
|
17535
|
+
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-52J36YLJ.js");
|
|
17536
17536
|
const input = ImprovementReviewInputSchema2.parse({ fileIssues });
|
|
17537
17537
|
const result = await runImprovementReview2(input, { logger: logger19 });
|
|
17538
17538
|
logger19.info("Scheduled improvement_review complete", {
|
|
@@ -19589,7 +19589,7 @@ function adaptConfigToLibrary(config) {
|
|
|
19589
19589
|
}
|
|
19590
19590
|
function createBeliefPromoter() {
|
|
19591
19591
|
return async (event) => {
|
|
19592
|
-
const { getToolMemory } = await import("./tool-memory-
|
|
19592
|
+
const { getToolMemory } = await import("./tool-memory-AL5PXKB4.js");
|
|
19593
19593
|
const tm = getToolMemory();
|
|
19594
19594
|
await tm.recordBelief(
|
|
19595
19595
|
`skill:${event.name}`,
|
|
@@ -20776,7 +20776,7 @@ async function handleResearchCommand(args) {
|
|
|
20776
20776
|
}
|
|
20777
20777
|
}
|
|
20778
20778
|
async function handleRegistryCommand(args) {
|
|
20779
|
-
const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-
|
|
20779
|
+
const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-AHGSBCNL.js");
|
|
20780
20780
|
const subcommand = args.subcommand;
|
|
20781
20781
|
if (!isValidRegistrySubcommand(subcommand)) {
|
|
20782
20782
|
process.stdout.write(`${formatRegistryUsage()}
|
|
@@ -20824,12 +20824,12 @@ async function handleVerifyCommand(args) {
|
|
|
20824
20824
|
async function handleDoctorCommand(args) {
|
|
20825
20825
|
const exitCode = await doctorCommand({ fix: args.options.fix });
|
|
20826
20826
|
if (args.options.deep) {
|
|
20827
|
-
const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-
|
|
20827
|
+
const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-FZGNQXDZ.js");
|
|
20828
20828
|
const diag = runDeepDiagnostics2();
|
|
20829
20829
|
process.stdout.write(formatDeepDiagnostics2(diag) + "\n");
|
|
20830
20830
|
}
|
|
20831
20831
|
if (args.options.live) {
|
|
20832
|
-
const { runLiveReadiness, formatLiveReadiness } = await import("./doctor-live-
|
|
20832
|
+
const { runLiveReadiness, formatLiveReadiness } = await import("./doctor-live-KGQWMYJY.js");
|
|
20833
20833
|
const report = await runLiveReadiness();
|
|
20834
20834
|
process.stdout.write(formatLiveReadiness(report) + "\n");
|
|
20835
20835
|
if (report.some((r) => r.levels.serves.status === "failed")) {
|
|
@@ -20882,7 +20882,7 @@ async function runInitPortableFlow(args) {
|
|
|
20882
20882
|
return cliExit(result.success ? EXIT_CODES.SUCCESS : EXIT_CODES.SERVER_START_FAILED);
|
|
20883
20883
|
}
|
|
20884
20884
|
async function runInitOpencodeFlow(args) {
|
|
20885
|
-
const { runInitOpencode } = await import("./init-opencode-
|
|
20885
|
+
const { runInitOpencode } = await import("./init-opencode-JAJXMGOI.js");
|
|
20886
20886
|
const opencodePath = args.options.opencode;
|
|
20887
20887
|
if (opencodePath === void 0 || opencodePath === "") {
|
|
20888
20888
|
process.stderr.write("Error: --opencode requires a path argument.\n");
|
|
@@ -20908,7 +20908,7 @@ async function runInitOpencodeFlow(args) {
|
|
|
20908
20908
|
return cliExit(EXIT_CODES.SUCCESS);
|
|
20909
20909
|
}
|
|
20910
20910
|
async function renderOpencodeValidate(opencodePath) {
|
|
20911
|
-
const { runOpencodeValidate } = await import("./init-opencode-
|
|
20911
|
+
const { runOpencodeValidate } = await import("./init-opencode-JAJXMGOI.js");
|
|
20912
20912
|
const result = await runOpencodeValidate(opencodePath);
|
|
20913
20913
|
if (!result.ok) {
|
|
20914
20914
|
process.stderr.write(`init --opencode --validate: ${result.reason ?? "failed"}
|
|
@@ -20947,7 +20947,7 @@ async function handleSetupCommandAsync(args) {
|
|
|
20947
20947
|
return cliExitFromStatus(exitCode);
|
|
20948
20948
|
}
|
|
20949
20949
|
async function runCustomApiSetup(args) {
|
|
20950
|
-
const { configureCustomApi } = await import("./setup-custom-api-
|
|
20950
|
+
const { configureCustomApi } = await import("./setup-custom-api-P7T5YKIK.js");
|
|
20951
20951
|
const baseUrl = args.options.customApi;
|
|
20952
20952
|
if (baseUrl === void 0) return EXIT_CODES.SERVER_START_FAILED;
|
|
20953
20953
|
const input = {
|