nexus-agents 2.80.2 → 2.80.3
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-UG4CH654.js → child-mcp-config-LLLRMOTQ.js} +3 -3
- package/dist/{chunk-C3BOZZQC.js → chunk-4OPS2AUD.js} +4 -4
- package/dist/{chunk-RFUBLOZQ.js → chunk-6GDF6FLC.js} +8 -8
- package/dist/{chunk-LUVQUKW5.js → chunk-6YQCLEHL.js} +2 -2
- package/dist/{chunk-RCWWUZHA.js → chunk-73K7575Z.js} +2 -2
- package/dist/{chunk-5FUVEIJC.js → chunk-BMNWUPJO.js} +3 -3
- package/dist/{chunk-H4XSKDI6.js → chunk-ERWTZSAR.js} +2 -2
- package/dist/{chunk-RCNNN4E2.js → chunk-HYOIDNBX.js} +29 -29
- package/dist/{chunk-2JQXC3CK.js → chunk-I2HMWH4R.js} +42 -2
- package/dist/chunk-I2HMWH4R.js.map +1 -0
- package/dist/{chunk-JECCDZ2S.js → chunk-LIEFKEAO.js} +2 -2
- package/dist/{chunk-4MHE5UVO.js → chunk-LJIB6TNE.js} +3 -3
- package/dist/{chunk-GHWTMPPL.js → chunk-M66MYHBT.js} +2 -2
- package/dist/{chunk-3QRO77LO.js → chunk-P4W7PV6L.js} +10 -10
- package/dist/{chunk-HXXRFTKP.js → chunk-PKBKWWPK.js} +3 -3
- package/dist/{chunk-2ZRTLW2G.js → chunk-PUSFT342.js} +4 -4
- package/dist/{chunk-FBW6XKZJ.js → chunk-PV3OEDLO.js} +2 -2
- package/dist/{chunk-KN7JWET4.js → chunk-PZEE6T5Y.js} +4 -4
- package/dist/{chunk-5SBD55T7.js → chunk-Q27M6KHP.js} +4 -4
- package/dist/{chunk-7BSVRW2O.js → chunk-Q2PSRDW6.js} +6 -6
- package/dist/{chunk-OO662XRQ.js → chunk-RLQZOEMX.js} +3 -3
- package/dist/{chunk-VQBVL3UD.js → chunk-S77SLJ2J.js} +2 -2
- package/dist/{chunk-376MBRLD.js → chunk-SVKH6ASN.js} +7 -7
- package/dist/{chunk-TE26NHNW.js → chunk-SZ7VPIRA.js} +2 -2
- package/dist/{chunk-FQKQUJBU.js → chunk-T7RGD5JW.js} +3 -3
- package/dist/{chunk-HQR27JGL.js → chunk-UTL2SFIN.js} +2 -2
- package/dist/{chunk-BQ55PBN4.js → chunk-UZCDHAY3.js} +2 -2
- package/dist/{chunk-HDFUSBU3.js → chunk-V2KWEIV5.js} +2 -2
- package/dist/{chunk-TLE2YE6G.js → chunk-WZGCVCRQ.js} +2 -2
- package/dist/{chunk-HYNFZQU4.js → chunk-YLYT7GSG.js} +2 -2
- package/dist/{cli-circuit-breaker-MAN2V7DA.js → cli-circuit-breaker-O5RV47BO.js} +5 -5
- package/dist/cli.js +37 -36
- package/dist/cli.js.map +1 -1
- package/dist/{composite-router-YCIEYOZC.js → composite-router-SKHVZ4UF.js} +3 -3
- package/dist/{consensus-vote-TGTGZSPS.js → consensus-vote-VBXLXVFF.js} +12 -12
- package/dist/{context-retriever-FKJKKPAA.js → context-retriever-KLJ5X4TL.js} +6 -6
- package/dist/{doctor-deep-2KT4LZA6.js → doctor-deep-IH4FG5YZ.js} +4 -4
- package/dist/expert-bridge-EKPDZKMD.js +11 -0
- package/dist/{factory-VXHVQXKR.js → factory-CQUDIMIG.js} +5 -5
- package/dist/factory-FTE7TDCT.js +14 -0
- package/dist/index.js +25 -25
- package/dist/{init-opencode-26YCTSR4.js → init-opencode-MXZJKG32.js} +6 -6
- package/dist/issue-triage-H5VLNGWU.js +15 -0
- package/dist/{learning-persistence-Q63HZ2EB.js → learning-persistence-NX2KHL5T.js} +2 -2
- package/dist/{registry-command-AKJBYP5N.js → registry-command-ALVYOGQY.js} +3 -3
- package/dist/{repo-security-plan-ZGJN6QRW.js → repo-security-plan-VJCWWPWO.js} +4 -4
- package/dist/{research-helpers-synthesize-ZWBBFT2O.js → research-helpers-synthesize-XUTBDVI7.js} +4 -4
- package/dist/{routing-memory-Y5UBVQGM.js → routing-memory-QKQ3OGWW.js} +3 -3
- package/dist/{session-memory-OOBM2GQ7.js → session-memory-N76TNRSK.js} +4 -4
- package/dist/{setup-command-VJLR47CI.js → setup-command-IJ6WIK7O.js} +11 -11
- package/dist/setup-config-Y7KZSFX3.js +10 -0
- package/dist/{setup-custom-api-53SYDF4L.js → setup-custom-api-QEKHNYQJ.js} +5 -5
- package/dist/{tool-memory-RZ7NJCPV.js → tool-memory-MFDLIJOB.js} +5 -5
- package/dist/{weather-report-VOSP7KKV.js → weather-report-IXPYIYE4.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-2JQXC3CK.js.map +0 -1
- package/dist/expert-bridge-6NA7MK7T.js +0 -11
- package/dist/factory-IIPDY7QB.js +0 -14
- package/dist/issue-triage-NGWFHIKY.js +0 -15
- package/dist/setup-config-F7NK2KVC.js +0 -10
- /package/dist/{child-mcp-config-UG4CH654.js.map → child-mcp-config-LLLRMOTQ.js.map} +0 -0
- /package/dist/{chunk-C3BOZZQC.js.map → chunk-4OPS2AUD.js.map} +0 -0
- /package/dist/{chunk-RFUBLOZQ.js.map → chunk-6GDF6FLC.js.map} +0 -0
- /package/dist/{chunk-LUVQUKW5.js.map → chunk-6YQCLEHL.js.map} +0 -0
- /package/dist/{chunk-RCWWUZHA.js.map → chunk-73K7575Z.js.map} +0 -0
- /package/dist/{chunk-5FUVEIJC.js.map → chunk-BMNWUPJO.js.map} +0 -0
- /package/dist/{chunk-H4XSKDI6.js.map → chunk-ERWTZSAR.js.map} +0 -0
- /package/dist/{chunk-RCNNN4E2.js.map → chunk-HYOIDNBX.js.map} +0 -0
- /package/dist/{chunk-JECCDZ2S.js.map → chunk-LIEFKEAO.js.map} +0 -0
- /package/dist/{chunk-4MHE5UVO.js.map → chunk-LJIB6TNE.js.map} +0 -0
- /package/dist/{chunk-GHWTMPPL.js.map → chunk-M66MYHBT.js.map} +0 -0
- /package/dist/{chunk-3QRO77LO.js.map → chunk-P4W7PV6L.js.map} +0 -0
- /package/dist/{chunk-HXXRFTKP.js.map → chunk-PKBKWWPK.js.map} +0 -0
- /package/dist/{chunk-2ZRTLW2G.js.map → chunk-PUSFT342.js.map} +0 -0
- /package/dist/{chunk-FBW6XKZJ.js.map → chunk-PV3OEDLO.js.map} +0 -0
- /package/dist/{chunk-KN7JWET4.js.map → chunk-PZEE6T5Y.js.map} +0 -0
- /package/dist/{chunk-5SBD55T7.js.map → chunk-Q27M6KHP.js.map} +0 -0
- /package/dist/{chunk-7BSVRW2O.js.map → chunk-Q2PSRDW6.js.map} +0 -0
- /package/dist/{chunk-OO662XRQ.js.map → chunk-RLQZOEMX.js.map} +0 -0
- /package/dist/{chunk-VQBVL3UD.js.map → chunk-S77SLJ2J.js.map} +0 -0
- /package/dist/{chunk-376MBRLD.js.map → chunk-SVKH6ASN.js.map} +0 -0
- /package/dist/{chunk-TE26NHNW.js.map → chunk-SZ7VPIRA.js.map} +0 -0
- /package/dist/{chunk-FQKQUJBU.js.map → chunk-T7RGD5JW.js.map} +0 -0
- /package/dist/{chunk-HQR27JGL.js.map → chunk-UTL2SFIN.js.map} +0 -0
- /package/dist/{chunk-BQ55PBN4.js.map → chunk-UZCDHAY3.js.map} +0 -0
- /package/dist/{chunk-HDFUSBU3.js.map → chunk-V2KWEIV5.js.map} +0 -0
- /package/dist/{chunk-TLE2YE6G.js.map → chunk-WZGCVCRQ.js.map} +0 -0
- /package/dist/{chunk-HYNFZQU4.js.map → chunk-YLYT7GSG.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-MAN2V7DA.js.map → cli-circuit-breaker-O5RV47BO.js.map} +0 -0
- /package/dist/{composite-router-YCIEYOZC.js.map → composite-router-SKHVZ4UF.js.map} +0 -0
- /package/dist/{consensus-vote-TGTGZSPS.js.map → consensus-vote-VBXLXVFF.js.map} +0 -0
- /package/dist/{context-retriever-FKJKKPAA.js.map → context-retriever-KLJ5X4TL.js.map} +0 -0
- /package/dist/{doctor-deep-2KT4LZA6.js.map → doctor-deep-IH4FG5YZ.js.map} +0 -0
- /package/dist/{expert-bridge-6NA7MK7T.js.map → expert-bridge-EKPDZKMD.js.map} +0 -0
- /package/dist/{factory-IIPDY7QB.js.map → factory-CQUDIMIG.js.map} +0 -0
- /package/dist/{factory-VXHVQXKR.js.map → factory-FTE7TDCT.js.map} +0 -0
- /package/dist/{init-opencode-26YCTSR4.js.map → init-opencode-MXZJKG32.js.map} +0 -0
- /package/dist/{issue-triage-NGWFHIKY.js.map → issue-triage-H5VLNGWU.js.map} +0 -0
- /package/dist/{learning-persistence-Q63HZ2EB.js.map → learning-persistence-NX2KHL5T.js.map} +0 -0
- /package/dist/{registry-command-AKJBYP5N.js.map → registry-command-ALVYOGQY.js.map} +0 -0
- /package/dist/{repo-security-plan-ZGJN6QRW.js.map → repo-security-plan-VJCWWPWO.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-ZWBBFT2O.js.map → research-helpers-synthesize-XUTBDVI7.js.map} +0 -0
- /package/dist/{routing-memory-Y5UBVQGM.js.map → routing-memory-QKQ3OGWW.js.map} +0 -0
- /package/dist/{session-memory-OOBM2GQ7.js.map → session-memory-N76TNRSK.js.map} +0 -0
- /package/dist/{setup-command-VJLR47CI.js.map → setup-command-IJ6WIK7O.js.map} +0 -0
- /package/dist/{setup-config-F7NK2KVC.js.map → setup-config-Y7KZSFX3.js.map} +0 -0
- /package/dist/{setup-custom-api-53SYDF4L.js.map → setup-custom-api-QEKHNYQJ.js.map} +0 -0
- /package/dist/{tool-memory-RZ7NJCPV.js.map → tool-memory-MFDLIJOB.js.map} +0 -0
- /package/dist/{weather-report-VOSP7KKV.js.map → weather-report-IXPYIYE4.js.map} +0 -0
|
@@ -2,23 +2,23 @@ import {
|
|
|
2
2
|
CUSTOM_API_BASE_URL_ENV,
|
|
3
3
|
PROVIDER_ENV_KEYS,
|
|
4
4
|
validateCustomApiBaseUrl
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-M66MYHBT.js";
|
|
6
6
|
import {
|
|
7
7
|
AdapterModelError,
|
|
8
8
|
BaseAdapter,
|
|
9
9
|
createStream,
|
|
10
10
|
requireApiKey,
|
|
11
11
|
validateApiKeyPresence
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-YLYT7GSG.js";
|
|
13
13
|
import {
|
|
14
14
|
getToolMemory
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-PZEE6T5Y.js";
|
|
16
16
|
import {
|
|
17
17
|
getDefaultAvailableModelsCache
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-73K7575Z.js";
|
|
19
19
|
import {
|
|
20
20
|
CUSTOM_API_DEFAULT_MODEL
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-V2KWEIV5.js";
|
|
22
22
|
import {
|
|
23
23
|
createCliAdapter,
|
|
24
24
|
createCliDetectionCache,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
isCliAvailable,
|
|
28
28
|
sanitizeOutput,
|
|
29
29
|
withTimeout
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-BMNWUPJO.js";
|
|
31
31
|
import {
|
|
32
32
|
AgentError,
|
|
33
33
|
CACHE_TIMEOUTS,
|
|
@@ -70,13 +70,13 @@ import {
|
|
|
70
70
|
resolveCliAlias,
|
|
71
71
|
resolveVoteTimeout,
|
|
72
72
|
toRateLimitError
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-LJIB6TNE.js";
|
|
74
74
|
import {
|
|
75
75
|
ensureLearningDir,
|
|
76
76
|
getNexusDataDir,
|
|
77
77
|
getOutcomesFile,
|
|
78
78
|
nexusDataPath
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-I2HMWH4R.js";
|
|
80
80
|
|
|
81
81
|
// src/mcp/tools/consensus-vote.ts
|
|
82
82
|
import { z as z10 } from "zod";
|
|
@@ -8678,7 +8678,7 @@ async function processVotesWithCascade(engineVotes, opts) {
|
|
|
8678
8678
|
var CONTRARIAN_ESCALATION_THRESHOLD = 0.8;
|
|
8679
8679
|
async function runContrarianCheck(proposal, log) {
|
|
8680
8680
|
try {
|
|
8681
|
-
const { executeExpert } = await import("./expert-bridge-
|
|
8681
|
+
const { executeExpert } = await import("./expert-bridge-EKPDZKMD.js");
|
|
8682
8682
|
const prompt = [
|
|
8683
8683
|
"You are a contrarian analyst. Your job is to find reasons this proposal should be REJECTED.",
|
|
8684
8684
|
"Look for: YAGNI (not needed), MISALIGNED (wrong tech/architecture), SECURITY_RISK, SCOPE_CREEP.",
|
|
@@ -9095,4 +9095,4 @@ export {
|
|
|
9095
9095
|
CONSENSUS_VOTE_OUTPUT_SCHEMA,
|
|
9096
9096
|
registerConsensusVoteTool
|
|
9097
9097
|
};
|
|
9098
|
-
//# sourceMappingURL=chunk-
|
|
9098
|
+
//# sourceMappingURL=chunk-P4W7PV6L.js.map
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
createStream,
|
|
4
4
|
requireApiKey,
|
|
5
5
|
validateApiKeyPresence
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YLYT7GSG.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-LJIB6TNE.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-PKBKWWPK.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OpenAIAdapter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PKBKWWPK.js";
|
|
4
4
|
import {
|
|
5
5
|
ConfigError,
|
|
6
6
|
createLogger,
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
getTimeProvider,
|
|
10
10
|
lookupInTreeCapability,
|
|
11
11
|
ok
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LJIB6TNE.js";
|
|
13
13
|
import {
|
|
14
14
|
getNexusDataDir
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-I2HMWH4R.js";
|
|
16
16
|
|
|
17
17
|
// src/config/opencode-bridge.ts
|
|
18
18
|
import { readFileSync } from "fs";
|
|
@@ -307,4 +307,4 @@ export {
|
|
|
307
307
|
discoverModels,
|
|
308
308
|
buildOpenAICompatAdapters
|
|
309
309
|
};
|
|
310
|
-
//# sourceMappingURL=chunk-
|
|
310
|
+
//# sourceMappingURL=chunk-PUSFT342.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
getErrorMessage,
|
|
5
5
|
getTimeProvider,
|
|
6
6
|
ok
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LJIB6TNE.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-PV3OEDLO.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./chunk-PQHVC4BD.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionMemory
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-PV3OEDLO.js";
|
|
12
12
|
import {
|
|
13
13
|
ErrorCode,
|
|
14
14
|
NexusError,
|
|
@@ -22,10 +22,10 @@ import {
|
|
|
22
22
|
getTimeProvider,
|
|
23
23
|
ok,
|
|
24
24
|
setSharedMobiMemDbPathResolver
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-LJIB6TNE.js";
|
|
26
26
|
import {
|
|
27
27
|
nexusDataPath
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-I2HMWH4R.js";
|
|
29
29
|
|
|
30
30
|
// src/mcp/tools/tool-memory.ts
|
|
31
31
|
import * as fs3 from "fs";
|
|
@@ -5578,4 +5578,4 @@ export {
|
|
|
5578
5578
|
reinitializeMemoryBackends,
|
|
5579
5579
|
ToolMemoryManager
|
|
5580
5580
|
};
|
|
5581
|
-
//# sourceMappingURL=chunk-
|
|
5581
|
+
//# sourceMappingURL=chunk-PZEE6T5Y.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveToken
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UZCDHAY3.js";
|
|
4
4
|
import {
|
|
5
5
|
GitHubProvider,
|
|
6
6
|
ScmError
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-UTL2SFIN.js";
|
|
8
8
|
import {
|
|
9
9
|
err,
|
|
10
10
|
ok
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-LJIB6TNE.js";
|
|
12
12
|
|
|
13
13
|
// src/scm/factory.ts
|
|
14
14
|
async function createScmProvider(config) {
|
|
@@ -41,4 +41,4 @@ export {
|
|
|
41
41
|
createScmProvider,
|
|
42
42
|
createGitHubProvider
|
|
43
43
|
};
|
|
44
|
-
//# sourceMappingURL=chunk-
|
|
44
|
+
//# sourceMappingURL=chunk-Q27M6KHP.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runConfigInitSync
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6YQCLEHL.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-6GDF6FLC.js";
|
|
12
12
|
import {
|
|
13
13
|
probeAllClis
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-BMNWUPJO.js";
|
|
15
15
|
import {
|
|
16
16
|
BUILT_IN_EXPERTS
|
|
17
17
|
} from "./chunk-ZM4O442V.js";
|
|
@@ -25,11 +25,11 @@ import {
|
|
|
25
25
|
getErrorMessage,
|
|
26
26
|
getTimeProvider,
|
|
27
27
|
symbols
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-LJIB6TNE.js";
|
|
29
29
|
import {
|
|
30
30
|
ensureGitignored,
|
|
31
31
|
findRepoRoot
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-I2HMWH4R.js";
|
|
33
33
|
|
|
34
34
|
// src/cli/setup-command.ts
|
|
35
35
|
import { existsSync as existsSync4 } from "fs";
|
|
@@ -1974,4 +1974,4 @@ export {
|
|
|
1974
1974
|
setupCommand,
|
|
1975
1975
|
setupCommandAsync
|
|
1976
1976
|
};
|
|
1977
|
-
//# sourceMappingURL=chunk-
|
|
1977
|
+
//# sourceMappingURL=chunk-Q2PSRDW6.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GitHubProvider,
|
|
3
3
|
ScmError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UTL2SFIN.js";
|
|
5
5
|
import {
|
|
6
6
|
CACHE_TIMEOUTS,
|
|
7
7
|
createLogger,
|
|
8
8
|
err,
|
|
9
9
|
getTimeProvider,
|
|
10
10
|
ok
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-LJIB6TNE.js";
|
|
12
12
|
|
|
13
13
|
// src/security/trust-types.ts
|
|
14
14
|
import { z } from "zod";
|
|
@@ -1656,4 +1656,4 @@ export {
|
|
|
1656
1656
|
IssueTriage,
|
|
1657
1657
|
createIssueTriage
|
|
1658
1658
|
};
|
|
1659
|
-
//# sourceMappingURL=chunk-
|
|
1659
|
+
//# sourceMappingURL=chunk-RLQZOEMX.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
TASK_CATEGORIES,
|
|
3
3
|
getAdaptiveBonus,
|
|
4
4
|
getOutcomeStore
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-LJIB6TNE.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-S77SLJ2J.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getCliForModelId
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WZGCVCRQ.js";
|
|
4
4
|
import {
|
|
5
5
|
MODEL_IDS,
|
|
6
6
|
createLogger,
|
|
7
7
|
getTimeProvider,
|
|
8
8
|
isRateLimitText
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LJIB6TNE.js";
|
|
10
10
|
|
|
11
11
|
// src/pipeline/expert-bridge.ts
|
|
12
12
|
function resolveCliFromModelString(model) {
|
|
@@ -21,7 +21,7 @@ var cachedMcpConfigPath = null;
|
|
|
21
21
|
async function getMcpConfigPath() {
|
|
22
22
|
if (cachedMcpConfigPath !== null) return cachedMcpConfigPath;
|
|
23
23
|
try {
|
|
24
|
-
const { generateMcpConfig } = await import("./child-mcp-config-
|
|
24
|
+
const { generateMcpConfig } = await import("./child-mcp-config-LLLRMOTQ.js");
|
|
25
25
|
const config = await generateMcpConfig();
|
|
26
26
|
cachedMcpConfigPath = config.configPath;
|
|
27
27
|
return cachedMcpConfigPath;
|
|
@@ -52,13 +52,13 @@ function adaptCompositeRouter(compositeRouter) {
|
|
|
52
52
|
}
|
|
53
53
|
async function getRouter() {
|
|
54
54
|
if (cachedRouter !== null) return cachedRouter;
|
|
55
|
-
const { createAllAdapters } = await import("./factory-
|
|
56
|
-
const { createCompositeRouter } = await import("./composite-router-
|
|
55
|
+
const { createAllAdapters } = await import("./factory-CQUDIMIG.js");
|
|
56
|
+
const { createCompositeRouter } = await import("./composite-router-SKHVZ4UF.js");
|
|
57
57
|
const adapters = createAllAdapters();
|
|
58
58
|
if (adapters.size === 0) return null;
|
|
59
59
|
cachedRouter = adaptCompositeRouter(createCompositeRouter(adapters));
|
|
60
60
|
try {
|
|
61
|
-
const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-
|
|
61
|
+
const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-O5RV47BO.js");
|
|
62
62
|
cachedCircuitBreaker = createCliCircuitBreakerIntegration([...adapters.values()]);
|
|
63
63
|
} catch (error) {
|
|
64
64
|
const msg = error instanceof Error ? error.message : String(error);
|
|
@@ -160,4 +160,4 @@ ${prompt}`;
|
|
|
160
160
|
export {
|
|
161
161
|
executeExpert
|
|
162
162
|
};
|
|
163
|
-
//# sourceMappingURL=chunk-
|
|
163
|
+
//# sourceMappingURL=chunk-SVKH6ASN.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
createLogger,
|
|
6
6
|
getTimeProvider
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LJIB6TNE.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-SZ7VPIRA.js.map
|
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
CircuitBreakerRegistry,
|
|
3
3
|
CircuitError,
|
|
4
4
|
mapCliErrorToCategory
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-LIEFKEAO.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-LJIB6TNE.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-T7RGD5JW.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
err,
|
|
4
4
|
getErrorMessage,
|
|
5
5
|
ok
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LJIB6TNE.js";
|
|
7
7
|
|
|
8
8
|
// src/scm/types.ts
|
|
9
9
|
var ScmError = class extends Error {
|
|
@@ -243,4 +243,4 @@ export {
|
|
|
243
243
|
ScmError,
|
|
244
244
|
GitHubProvider
|
|
245
245
|
};
|
|
246
|
-
//# sourceMappingURL=chunk-
|
|
246
|
+
//# sourceMappingURL=chunk-UTL2SFIN.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
createLogger,
|
|
3
3
|
err,
|
|
4
4
|
ok
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-LJIB6TNE.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-UZCDHAY3.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
MCP_TIMEOUTS,
|
|
6
6
|
TEST_TIMEOUTS,
|
|
7
7
|
WORKFLOW_TIMEOUTS
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-LJIB6TNE.js";
|
|
9
9
|
|
|
10
10
|
// src/config/defaults-env.ts
|
|
11
11
|
function parseIntEnv(envKey, fallback) {
|
|
@@ -399,4 +399,4 @@ export {
|
|
|
399
399
|
CUSTOM_API_DEFAULT_MODEL,
|
|
400
400
|
DEFAULTS
|
|
401
401
|
};
|
|
402
|
-
//# sourceMappingURL=chunk-
|
|
402
|
+
//# sourceMappingURL=chunk-V2KWEIV5.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_MODEL_PER_CLI,
|
|
3
3
|
getTimeProvider
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-LJIB6TNE.js";
|
|
5
5
|
|
|
6
6
|
// src/config/model-availability.ts
|
|
7
7
|
var DEFAULT_TTL_MS = 6e4;
|
|
@@ -133,4 +133,4 @@ export {
|
|
|
133
133
|
resetAvailabilityCache,
|
|
134
134
|
filterAvailableModels
|
|
135
135
|
};
|
|
136
|
-
//# sourceMappingURL=chunk-
|
|
136
|
+
//# sourceMappingURL=chunk-WZGCVCRQ.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
getTokenEstimator,
|
|
11
11
|
isRateLimitLikeError,
|
|
12
12
|
ok
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-LJIB6TNE.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-YLYT7GSG.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CliCircuitBreakerIntegration,
|
|
3
3
|
createCliCircuitBreakerIntegration
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-T7RGD5JW.js";
|
|
5
|
+
import "./chunk-LIEFKEAO.js";
|
|
6
|
+
import "./chunk-LJIB6TNE.js";
|
|
7
|
+
import "./chunk-I2HMWH4R.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-O5RV47BO.js.map
|
package/dist/cli.js
CHANGED
|
@@ -12,18 +12,18 @@ import {
|
|
|
12
12
|
parseFindings,
|
|
13
13
|
sumFindings
|
|
14
14
|
} from "./chunk-3RZWLQSC.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-S77SLJ2J.js";
|
|
16
16
|
import {
|
|
17
17
|
buildOpenAICompatAdapters,
|
|
18
18
|
loadUsageEvents,
|
|
19
19
|
readOpenAICompatEnv,
|
|
20
20
|
rollupByModel
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PUSFT342.js";
|
|
22
22
|
import {
|
|
23
23
|
setupCommandAsync,
|
|
24
24
|
verifyCommand
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-Q2PSRDW6.js";
|
|
26
|
+
import "./chunk-6YQCLEHL.js";
|
|
27
27
|
import {
|
|
28
28
|
AuthHandler,
|
|
29
29
|
DEFAULT_EXPERTS,
|
|
@@ -153,19 +153,19 @@ import {
|
|
|
153
153
|
validateCommand,
|
|
154
154
|
validateWorkflow,
|
|
155
155
|
wrapInMarkdownFence
|
|
156
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-HYOIDNBX.js";
|
|
157
157
|
import "./chunk-AP2FD37C.js";
|
|
158
158
|
import "./chunk-ED6VQWNG.js";
|
|
159
159
|
import {
|
|
160
160
|
resolveToken
|
|
161
|
-
} from "./chunk-
|
|
161
|
+
} from "./chunk-UZCDHAY3.js";
|
|
162
162
|
import {
|
|
163
163
|
CATEGORY_DISPLAY_NAMES,
|
|
164
164
|
DEFAULT_PR_REVIEW_CONFIG
|
|
165
165
|
} from "./chunk-X2M7OF27.js";
|
|
166
|
-
import "./chunk-
|
|
167
|
-
import "./chunk-
|
|
168
|
-
import "./chunk-
|
|
166
|
+
import "./chunk-PKBKWWPK.js";
|
|
167
|
+
import "./chunk-T7RGD5JW.js";
|
|
168
|
+
import "./chunk-SVKH6ASN.js";
|
|
169
169
|
import {
|
|
170
170
|
DEFAULT_VOTE_TIMEOUT_MS,
|
|
171
171
|
ErrorPolicySchema,
|
|
@@ -183,31 +183,31 @@ import {
|
|
|
183
183
|
toolSuccessStructured,
|
|
184
184
|
warnIfSimulatedOutsideTests,
|
|
185
185
|
wrapToolWithTimeout
|
|
186
|
-
} from "./chunk-
|
|
187
|
-
import "./chunk-
|
|
188
|
-
import "./chunk-
|
|
186
|
+
} from "./chunk-P4W7PV6L.js";
|
|
187
|
+
import "./chunk-M66MYHBT.js";
|
|
188
|
+
import "./chunk-YLYT7GSG.js";
|
|
189
189
|
import {
|
|
190
190
|
loadPapersRegistry,
|
|
191
191
|
loadTechniquesRegistry,
|
|
192
192
|
savePapersRegistry,
|
|
193
193
|
synthesizeResearch
|
|
194
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-ERWTZSAR.js";
|
|
195
195
|
import {
|
|
196
196
|
classifyTrust,
|
|
197
197
|
createFullGitHubProvider,
|
|
198
198
|
evaluatePolicy,
|
|
199
199
|
parsePRUrl,
|
|
200
200
|
sanitizeInput
|
|
201
|
-
} from "./chunk-
|
|
202
|
-
import "./chunk-
|
|
203
|
-
import "./chunk-
|
|
201
|
+
} from "./chunk-RLQZOEMX.js";
|
|
202
|
+
import "./chunk-UTL2SFIN.js";
|
|
203
|
+
import "./chunk-SZ7VPIRA.js";
|
|
204
204
|
import "./chunk-7J7PNOJQ.js";
|
|
205
205
|
import "./chunk-BQ4YXGGQ.js";
|
|
206
|
-
import "./chunk-
|
|
206
|
+
import "./chunk-4OPS2AUD.js";
|
|
207
207
|
import {
|
|
208
208
|
MemoryError,
|
|
209
209
|
shutdownToolMemory
|
|
210
|
-
} from "./chunk-
|
|
210
|
+
} from "./chunk-PZEE6T5Y.js";
|
|
211
211
|
import {
|
|
212
212
|
CustomExpertDefinitionSchema,
|
|
213
213
|
DATA_SUBDIRECTORIES,
|
|
@@ -226,12 +226,12 @@ import {
|
|
|
226
226
|
loadConfig,
|
|
227
227
|
runDoctor,
|
|
228
228
|
validateNexusEnv
|
|
229
|
-
} from "./chunk-
|
|
230
|
-
import "./chunk-
|
|
231
|
-
import "./chunk-
|
|
229
|
+
} from "./chunk-6GDF6FLC.js";
|
|
230
|
+
import "./chunk-WZGCVCRQ.js";
|
|
231
|
+
import "./chunk-73K7575Z.js";
|
|
232
232
|
import {
|
|
233
233
|
DEFAULTS
|
|
234
|
-
} from "./chunk-
|
|
234
|
+
} from "./chunk-V2KWEIV5.js";
|
|
235
235
|
import "./chunk-NUBSJGQZ.js";
|
|
236
236
|
import {
|
|
237
237
|
capitalize,
|
|
@@ -243,11 +243,11 @@ import {
|
|
|
243
243
|
getAvailableClis,
|
|
244
244
|
isRecord,
|
|
245
245
|
probeAllClis
|
|
246
|
-
} from "./chunk-
|
|
247
|
-
import "./chunk-
|
|
246
|
+
} from "./chunk-BMNWUPJO.js";
|
|
247
|
+
import "./chunk-LIEFKEAO.js";
|
|
248
248
|
import "./chunk-ZM4O442V.js";
|
|
249
249
|
import "./chunk-PQHVC4BD.js";
|
|
250
|
-
import "./chunk-
|
|
250
|
+
import "./chunk-PV3OEDLO.js";
|
|
251
251
|
import {
|
|
252
252
|
API_TIMEOUTS,
|
|
253
253
|
AgentCapability,
|
|
@@ -315,15 +315,16 @@ import {
|
|
|
315
315
|
validateTimeout,
|
|
316
316
|
writeEmptyLine,
|
|
317
317
|
writeLine
|
|
318
|
-
} from "./chunk-
|
|
318
|
+
} from "./chunk-LJIB6TNE.js";
|
|
319
319
|
import {
|
|
320
320
|
applyPortableMode,
|
|
321
321
|
detectSandbox,
|
|
322
322
|
findRepoRoot,
|
|
323
323
|
getNexusDataDir,
|
|
324
324
|
getPerRepoSubdirs,
|
|
325
|
-
nexusDataPath
|
|
326
|
-
|
|
325
|
+
nexusDataPath,
|
|
326
|
+
sessionsDbPath
|
|
327
|
+
} from "./chunk-I2HMWH4R.js";
|
|
327
328
|
import "./chunk-PR4QN5HX.js";
|
|
328
329
|
|
|
329
330
|
// src/cli/cli-log-bootstrap.ts
|
|
@@ -4966,7 +4967,7 @@ function createSessionStorage(config) {
|
|
|
4966
4967
|
|
|
4967
4968
|
// src/cli/session-commands.ts
|
|
4968
4969
|
function getDefaultDbPath() {
|
|
4969
|
-
return
|
|
4970
|
+
return sessionsDbPath();
|
|
4970
4971
|
}
|
|
4971
4972
|
function ensureDbDirectory(dbPath) {
|
|
4972
4973
|
const dir = path2.dirname(dbPath);
|
|
@@ -12337,7 +12338,7 @@ function setStringOption(options, key, value) {
|
|
|
12337
12338
|
|
|
12338
12339
|
// src/cli/hooks/handlers/handler-utils.ts
|
|
12339
12340
|
function getDefaultDbPath2() {
|
|
12340
|
-
return
|
|
12341
|
+
return sessionsDbPath();
|
|
12341
12342
|
}
|
|
12342
12343
|
var HookEnvVars = {
|
|
12343
12344
|
/** Override the default database path */
|
|
@@ -18966,7 +18967,7 @@ function adaptConfigToLibrary(config) {
|
|
|
18966
18967
|
}
|
|
18967
18968
|
function createBeliefPromoter() {
|
|
18968
18969
|
return async (event) => {
|
|
18969
|
-
const { getToolMemory } = await import("./tool-memory-
|
|
18970
|
+
const { getToolMemory } = await import("./tool-memory-MFDLIJOB.js");
|
|
18970
18971
|
const tm = getToolMemory();
|
|
18971
18972
|
await tm.recordBelief(
|
|
18972
18973
|
`skill:${event.name}`,
|
|
@@ -19826,7 +19827,7 @@ async function handleResearchCommand(args) {
|
|
|
19826
19827
|
}
|
|
19827
19828
|
}
|
|
19828
19829
|
async function handleRegistryCommand(args) {
|
|
19829
|
-
const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-
|
|
19830
|
+
const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-ALVYOGQY.js");
|
|
19830
19831
|
const subcommand = args.subcommand;
|
|
19831
19832
|
if (!isValidRegistrySubcommand(subcommand)) {
|
|
19832
19833
|
process.stdout.write(`${formatRegistryUsage()}
|
|
@@ -19874,7 +19875,7 @@ async function handleVerifyCommand(args) {
|
|
|
19874
19875
|
async function handleDoctorCommand(args) {
|
|
19875
19876
|
const exitCode = await doctorCommand({ fix: args.options.fix });
|
|
19876
19877
|
if (args.options.deep) {
|
|
19877
|
-
const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-
|
|
19878
|
+
const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-IH4FG5YZ.js");
|
|
19878
19879
|
const diag = runDeepDiagnostics2();
|
|
19879
19880
|
process.stdout.write(formatDeepDiagnostics2(diag) + "\n");
|
|
19880
19881
|
}
|
|
@@ -19918,7 +19919,7 @@ async function handleInitCommand(args) {
|
|
|
19918
19919
|
process.exit(result.success ? EXIT_CODES.SUCCESS : EXIT_CODES.SERVER_START_FAILED);
|
|
19919
19920
|
}
|
|
19920
19921
|
async function runInitOpencodeFlow(args) {
|
|
19921
|
-
const { runInitOpencode } = await import("./init-opencode-
|
|
19922
|
+
const { runInitOpencode } = await import("./init-opencode-MXZJKG32.js");
|
|
19922
19923
|
const opencodePath = args.options.opencode;
|
|
19923
19924
|
if (opencodePath === void 0 || opencodePath === "") {
|
|
19924
19925
|
process.stderr.write("Error: --opencode requires a path argument.\n");
|
|
@@ -19945,7 +19946,7 @@ async function runInitOpencodeFlow(args) {
|
|
|
19945
19946
|
process.exit(EXIT_CODES.SUCCESS);
|
|
19946
19947
|
}
|
|
19947
19948
|
async function renderOpencodeValidate(opencodePath) {
|
|
19948
|
-
const { runOpencodeValidate } = await import("./init-opencode-
|
|
19949
|
+
const { runOpencodeValidate } = await import("./init-opencode-MXZJKG32.js");
|
|
19949
19950
|
const result = await runOpencodeValidate(opencodePath);
|
|
19950
19951
|
if (!result.ok) {
|
|
19951
19952
|
process.stderr.write(`init --opencode --validate: ${result.reason ?? "failed"}
|
|
@@ -19985,7 +19986,7 @@ async function handleSetupCommandAsync(args) {
|
|
|
19985
19986
|
process.exit(exitCode === 0 ? EXIT_CODES.SUCCESS : EXIT_CODES.SERVER_START_FAILED);
|
|
19986
19987
|
}
|
|
19987
19988
|
async function runCustomApiSetup(args) {
|
|
19988
|
-
const { configureCustomApi } = await import("./setup-custom-api-
|
|
19989
|
+
const { configureCustomApi } = await import("./setup-custom-api-QEKHNYQJ.js");
|
|
19989
19990
|
const baseUrl = args.options.customApi;
|
|
19990
19991
|
if (baseUrl === void 0) return EXIT_CODES.SERVER_START_FAILED;
|
|
19991
19992
|
const input = {
|