nexus-agents 2.173.10 → 2.173.11
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-WQVDBGZB.js → child-mcp-config-WJTGHGK6.js} +2 -2
- package/dist/{chunk-CYUQQOX5.js → chunk-2RC7SXS3.js} +3 -3
- package/dist/{chunk-DLZIL5ZF.js → chunk-7KI4Q65A.js} +3 -3
- package/dist/{chunk-5VIDSQT4.js → chunk-BILYXYOW.js} +2 -2
- package/dist/{chunk-EO5PS63E.js → chunk-BNUEIGIX.js} +2 -2
- package/dist/{chunk-ELRDAKU5.js → chunk-BO773UBH.js} +3 -3
- package/dist/{chunk-KURO5UI7.js → chunk-DAKO4VO2.js} +5 -5
- package/dist/{chunk-NXRZWWH5.js → chunk-G5CBZT2T.js} +5 -5
- package/dist/{chunk-Q4FKHIBF.js → chunk-GERSL2NR.js} +4 -4
- package/dist/{chunk-CEKLFPLW.js → chunk-H2NBOKEQ.js} +2 -2
- package/dist/{chunk-C7PQYGIU.js → chunk-HRYSHM7F.js} +4 -4
- package/dist/{chunk-G4UXASR6.js → chunk-IQTDTDJ2.js} +2 -2
- package/dist/{chunk-AFSP4TRS.js → chunk-KUE4KV3E.js} +3 -3
- package/dist/{chunk-ELVQNEVY.js → chunk-KUSJ3TP3.js} +2 -2
- package/dist/{chunk-C5IR3XJF.js → chunk-M2USWE2N.js} +2 -2
- package/dist/{chunk-UFGUO4ZI.js → chunk-MKCHFL37.js} +2 -2
- package/dist/{chunk-IBLUX4UG.js → chunk-N4DLCREQ.js} +2 -2
- package/dist/{chunk-CBE4PSYN.js → chunk-NAX5SNXI.js} +4 -4
- package/dist/{chunk-56TPDTB2.js → chunk-NEF7Y34E.js} +2 -2
- package/dist/{chunk-NSGH4L2G.js → chunk-PDE6FQZ4.js} +2 -2
- package/dist/{chunk-V5RQ3ILI.js → chunk-PNUPX6WI.js} +2 -2
- package/dist/{chunk-XTXUHP7P.js → chunk-QWQB5VDK.js} +37 -9
- package/dist/chunk-QWQB5VDK.js.map +1 -0
- package/dist/{chunk-64EFIWQL.js → chunk-RGFWXSN4.js} +2 -2
- package/dist/{chunk-OI3735FM.js → chunk-SFI3T5SJ.js} +5 -4
- package/dist/chunk-SFI3T5SJ.js.map +1 -0
- package/dist/{chunk-WG7XLXV6.js → chunk-TCKVKH7S.js} +7 -7
- package/dist/{chunk-XYZJBZD4.js → chunk-TFTRDMIN.js} +4 -4
- package/dist/{chunk-E2JBXM62.js → chunk-UFVZKQ75.js} +2 -2
- package/dist/{chunk-KKDOJ5YZ.js → chunk-VEZOKX3G.js} +2 -2
- package/dist/{chunk-AOBRDEJ4.js → chunk-VFBXQPIP.js} +8 -8
- package/dist/{chunk-AHILMXB6.js → chunk-VU64HYEM.js} +2 -2
- package/dist/{chunk-RKIFS2HY.js → chunk-WC27PYMI.js} +35 -35
- package/dist/{chunk-AUGARRKD.js → chunk-WNF7DSBD.js} +8 -8
- package/dist/{chunk-PZNOTWNI.js → chunk-ZWBAECRD.js} +5 -5
- package/dist/{cli-circuit-breaker-YIVPZ26C.js → cli-circuit-breaker-RFLDMRRZ.js} +3 -3
- package/dist/cli.js +39 -39
- package/dist/{composite-router-DMKVK74J.js → composite-router-TDQTG64N.js} +2 -2
- package/dist/{consensus-vote-GVXEDT7M.js → consensus-vote-LUV5CCZW.js} +15 -15
- package/dist/{context-retriever-HGJD4TIQ.js → context-retriever-BXNSUPYB.js} +8 -8
- package/dist/{doctor-deep-Y7GMDARH.js → doctor-deep-LLP5EDNQ.js} +3 -3
- package/dist/{expert-bridge-EUCGQH4Q.js → expert-bridge-ZFHMMPLV.js} +4 -4
- package/dist/{factory-6BJFFNMR.js → factory-MDUR7DCO.js} +5 -5
- package/dist/{factory-5M3ZNRDT.js → factory-WGVTCVIQ.js} +8 -8
- package/dist/{improvement-review-BKAMGCYE.js → improvement-review-QM3IFGFF.js} +5 -5
- package/dist/index.d.ts +20 -0
- package/dist/index.js +29 -29
- package/dist/{init-opencode-XA2EULH6.js → init-opencode-DRWGBQNE.js} +5 -5
- package/dist/{issue-triage-OGORL7WI.js → issue-triage-34HURK3N.js} +6 -6
- package/dist/{pr-reviewer-helpers-LSTI7QOG.js → pr-reviewer-helpers-B4L5D7XH.js} +4 -4
- package/dist/{registry-command-J35FEVJO.js → registry-command-QA3VSUPS.js} +2 -2
- package/dist/{repo-security-plan-G6YZGKSR.js → repo-security-plan-AEEM4WOW.js} +3 -3
- package/dist/{research-helpers-synthesize-GJVJDKYN.js → research-helpers-synthesize-RYWNM3IV.js} +4 -4
- package/dist/{routing-memory-G7K5DLXY.js → routing-memory-PSAQ7N7S.js} +2 -2
- package/dist/{session-memory-HCGUJFPT.js → session-memory-U5TJ74LC.js} +3 -3
- package/dist/{setup-command-QKJQ3KWZ.js → setup-command-WUEZOTP3.js} +13 -13
- package/dist/{setup-config-52QPZF6Y.js → setup-config-GXVWP7LU.js} +3 -3
- package/dist/{setup-custom-api-VZENW5R3.js → setup-custom-api-3SWGSSZO.js} +3 -3
- package/dist/{tool-memory-B6FWAC27.js → tool-memory-4UT7IP4Q.js} +5 -5
- package/dist/{unified-registry-ZBTT4FEB.js → unified-registry-63N5MCJM.js} +9 -9
- package/dist/{weather-report-U5WMAJUZ.js → weather-report-WA5R2QYF.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-OI3735FM.js.map +0 -1
- package/dist/chunk-XTXUHP7P.js.map +0 -1
- /package/dist/{child-mcp-config-WQVDBGZB.js.map → child-mcp-config-WJTGHGK6.js.map} +0 -0
- /package/dist/{chunk-CYUQQOX5.js.map → chunk-2RC7SXS3.js.map} +0 -0
- /package/dist/{chunk-DLZIL5ZF.js.map → chunk-7KI4Q65A.js.map} +0 -0
- /package/dist/{chunk-5VIDSQT4.js.map → chunk-BILYXYOW.js.map} +0 -0
- /package/dist/{chunk-EO5PS63E.js.map → chunk-BNUEIGIX.js.map} +0 -0
- /package/dist/{chunk-ELRDAKU5.js.map → chunk-BO773UBH.js.map} +0 -0
- /package/dist/{chunk-KURO5UI7.js.map → chunk-DAKO4VO2.js.map} +0 -0
- /package/dist/{chunk-NXRZWWH5.js.map → chunk-G5CBZT2T.js.map} +0 -0
- /package/dist/{chunk-Q4FKHIBF.js.map → chunk-GERSL2NR.js.map} +0 -0
- /package/dist/{chunk-CEKLFPLW.js.map → chunk-H2NBOKEQ.js.map} +0 -0
- /package/dist/{chunk-C7PQYGIU.js.map → chunk-HRYSHM7F.js.map} +0 -0
- /package/dist/{chunk-G4UXASR6.js.map → chunk-IQTDTDJ2.js.map} +0 -0
- /package/dist/{chunk-AFSP4TRS.js.map → chunk-KUE4KV3E.js.map} +0 -0
- /package/dist/{chunk-ELVQNEVY.js.map → chunk-KUSJ3TP3.js.map} +0 -0
- /package/dist/{chunk-C5IR3XJF.js.map → chunk-M2USWE2N.js.map} +0 -0
- /package/dist/{chunk-UFGUO4ZI.js.map → chunk-MKCHFL37.js.map} +0 -0
- /package/dist/{chunk-IBLUX4UG.js.map → chunk-N4DLCREQ.js.map} +0 -0
- /package/dist/{chunk-CBE4PSYN.js.map → chunk-NAX5SNXI.js.map} +0 -0
- /package/dist/{chunk-56TPDTB2.js.map → chunk-NEF7Y34E.js.map} +0 -0
- /package/dist/{chunk-NSGH4L2G.js.map → chunk-PDE6FQZ4.js.map} +0 -0
- /package/dist/{chunk-V5RQ3ILI.js.map → chunk-PNUPX6WI.js.map} +0 -0
- /package/dist/{chunk-64EFIWQL.js.map → chunk-RGFWXSN4.js.map} +0 -0
- /package/dist/{chunk-WG7XLXV6.js.map → chunk-TCKVKH7S.js.map} +0 -0
- /package/dist/{chunk-XYZJBZD4.js.map → chunk-TFTRDMIN.js.map} +0 -0
- /package/dist/{chunk-E2JBXM62.js.map → chunk-UFVZKQ75.js.map} +0 -0
- /package/dist/{chunk-KKDOJ5YZ.js.map → chunk-VEZOKX3G.js.map} +0 -0
- /package/dist/{chunk-AOBRDEJ4.js.map → chunk-VFBXQPIP.js.map} +0 -0
- /package/dist/{chunk-AHILMXB6.js.map → chunk-VU64HYEM.js.map} +0 -0
- /package/dist/{chunk-RKIFS2HY.js.map → chunk-WC27PYMI.js.map} +0 -0
- /package/dist/{chunk-AUGARRKD.js.map → chunk-WNF7DSBD.js.map} +0 -0
- /package/dist/{chunk-PZNOTWNI.js.map → chunk-ZWBAECRD.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-YIVPZ26C.js.map → cli-circuit-breaker-RFLDMRRZ.js.map} +0 -0
- /package/dist/{composite-router-DMKVK74J.js.map → composite-router-TDQTG64N.js.map} +0 -0
- /package/dist/{consensus-vote-GVXEDT7M.js.map → consensus-vote-LUV5CCZW.js.map} +0 -0
- /package/dist/{context-retriever-HGJD4TIQ.js.map → context-retriever-BXNSUPYB.js.map} +0 -0
- /package/dist/{doctor-deep-Y7GMDARH.js.map → doctor-deep-LLP5EDNQ.js.map} +0 -0
- /package/dist/{expert-bridge-EUCGQH4Q.js.map → expert-bridge-ZFHMMPLV.js.map} +0 -0
- /package/dist/{factory-5M3ZNRDT.js.map → factory-MDUR7DCO.js.map} +0 -0
- /package/dist/{factory-6BJFFNMR.js.map → factory-WGVTCVIQ.js.map} +0 -0
- /package/dist/{improvement-review-BKAMGCYE.js.map → improvement-review-QM3IFGFF.js.map} +0 -0
- /package/dist/{init-opencode-XA2EULH6.js.map → init-opencode-DRWGBQNE.js.map} +0 -0
- /package/dist/{issue-triage-OGORL7WI.js.map → issue-triage-34HURK3N.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-LSTI7QOG.js.map → pr-reviewer-helpers-B4L5D7XH.js.map} +0 -0
- /package/dist/{registry-command-J35FEVJO.js.map → registry-command-QA3VSUPS.js.map} +0 -0
- /package/dist/{repo-security-plan-G6YZGKSR.js.map → repo-security-plan-AEEM4WOW.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-GJVJDKYN.js.map → research-helpers-synthesize-RYWNM3IV.js.map} +0 -0
- /package/dist/{routing-memory-G7K5DLXY.js.map → routing-memory-PSAQ7N7S.js.map} +0 -0
- /package/dist/{session-memory-HCGUJFPT.js.map → session-memory-U5TJ74LC.js.map} +0 -0
- /package/dist/{setup-command-QKJQ3KWZ.js.map → setup-command-WUEZOTP3.js.map} +0 -0
- /package/dist/{setup-config-52QPZF6Y.js.map → setup-config-GXVWP7LU.js.map} +0 -0
- /package/dist/{setup-custom-api-VZENW5R3.js.map → setup-custom-api-3SWGSSZO.js.map} +0 -0
- /package/dist/{tool-memory-B6FWAC27.js.map → tool-memory-4UT7IP4Q.js.map} +0 -0
- /package/dist/{unified-registry-ZBTT4FEB.js.map → unified-registry-63N5MCJM.js.map} +0 -0
- /package/dist/{weather-report-U5WMAJUZ.js.map → weather-report-WA5R2QYF.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLogger
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SFI3T5SJ.js";
|
|
4
4
|
import "./chunk-AXTD4TFK.js";
|
|
5
5
|
import "./chunk-DHVMSIT5.js";
|
|
6
6
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -60,4 +60,4 @@ export {
|
|
|
60
60
|
generateMcpConfig,
|
|
61
61
|
getDefaultAllowedTools
|
|
62
62
|
};
|
|
63
|
-
//# sourceMappingURL=child-mcp-config-
|
|
63
|
+
//# sourceMappingURL=child-mcp-config-WJTGHGK6.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadPapersRegistry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PNUPX6WI.js";
|
|
4
4
|
import {
|
|
5
5
|
getErrorMessage
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SFI3T5SJ.js";
|
|
7
7
|
|
|
8
8
|
// src/cli/research-helpers-synthesize.ts
|
|
9
9
|
import { z } from "zod";
|
|
@@ -876,4 +876,4 @@ export {
|
|
|
876
876
|
AttributedInsightSchema,
|
|
877
877
|
synthesizeResearch
|
|
878
878
|
};
|
|
879
|
-
//# sourceMappingURL=chunk-
|
|
879
|
+
//# sourceMappingURL=chunk-2RC7SXS3.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
emitClawGuardViolation
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NEF7Y34E.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-SFI3T5SJ.js";
|
|
20
20
|
import {
|
|
21
21
|
getNexusDataDir
|
|
22
22
|
} from "./chunk-DHVMSIT5.js";
|
|
@@ -2023,4 +2023,4 @@ export {
|
|
|
2023
2023
|
VOTING_THRESHOLDS,
|
|
2024
2024
|
ConsensusMetricsSchema
|
|
2025
2025
|
};
|
|
2026
|
-
//# sourceMappingURL=chunk-
|
|
2026
|
+
//# sourceMappingURL=chunk-7KI4Q65A.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
getTimeProvider,
|
|
9
9
|
isRateLimitText,
|
|
10
10
|
ok
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-SFI3T5SJ.js";
|
|
12
12
|
|
|
13
13
|
// src/cli-adapters/circuit-breaker-types.ts
|
|
14
14
|
var CircuitErrorCode = {
|
|
@@ -540,4 +540,4 @@ export {
|
|
|
540
540
|
CliCircuitBreakerIntegration,
|
|
541
541
|
createCliCircuitBreakerIntegration
|
|
542
542
|
};
|
|
543
|
-
//# sourceMappingURL=chunk-
|
|
543
|
+
//# sourceMappingURL=chunk-BILYXYOW.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
createLogger,
|
|
6
6
|
getTimeProvider
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-SFI3T5SJ.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-BNUEIGIX.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
toolStructuredError,
|
|
8
8
|
toolSuccessStructured,
|
|
9
9
|
wrapToolWithTimeout
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7KI4Q65A.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-SFI3T5SJ.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-BO773UBH.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GitHubProvider,
|
|
3
3
|
ScmError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-N4DLCREQ.js";
|
|
5
5
|
import {
|
|
6
6
|
ROLE_DEFAULT_TRUST,
|
|
7
7
|
ReputationCache,
|
|
@@ -11,17 +11,17 @@ import {
|
|
|
11
11
|
gateWithReputation,
|
|
12
12
|
resolveReputationGatingMode,
|
|
13
13
|
sanitizeInput
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-RGFWXSN4.js";
|
|
15
15
|
import {
|
|
16
16
|
emitPolicyEvent
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-NEF7Y34E.js";
|
|
18
18
|
import {
|
|
19
19
|
CLI_SUBPROCESS_TIMEOUTS,
|
|
20
20
|
createLogger,
|
|
21
21
|
err,
|
|
22
22
|
getTimeProvider,
|
|
23
23
|
ok
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-SFI3T5SJ.js";
|
|
25
25
|
|
|
26
26
|
// src/security/trust-classifier.ts
|
|
27
27
|
function mapAuthorAssociation(association) {
|
|
@@ -1211,4 +1211,4 @@ export {
|
|
|
1211
1211
|
IssueTriage,
|
|
1212
1212
|
createIssueTriage
|
|
1213
1213
|
};
|
|
1214
|
-
//# sourceMappingURL=chunk-
|
|
1214
|
+
//# sourceMappingURL=chunk-DAKO4VO2.js.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveToken
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PDE6FQZ4.js";
|
|
4
4
|
import {
|
|
5
5
|
REGISTRY_PATH,
|
|
6
6
|
getProjectRoot,
|
|
7
7
|
loadPapersRegistry,
|
|
8
8
|
loadTechniquesRegistry,
|
|
9
9
|
savePapersRegistry
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PNUPX6WI.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveInsideRoot
|
|
13
13
|
} from "./chunk-NUBSJGQZ.js";
|
|
14
14
|
import {
|
|
15
15
|
getToolMemory
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-GERSL2NR.js";
|
|
17
17
|
import {
|
|
18
18
|
capitalizeWords,
|
|
19
19
|
truncateSentence
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
getTimeProvider,
|
|
39
39
|
ok,
|
|
40
40
|
registerPersistentDistillerFactory
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-SFI3T5SJ.js";
|
|
42
42
|
import {
|
|
43
43
|
ensureLearningDir,
|
|
44
44
|
getRulesFile
|
|
@@ -4090,4 +4090,4 @@ export {
|
|
|
4090
4090
|
DEFAULT_CONTEXT_BUDGET_TOKENS,
|
|
4091
4091
|
getContextPromptPrefix
|
|
4092
4092
|
};
|
|
4093
|
-
//# sourceMappingURL=chunk-
|
|
4093
|
+
//# sourceMappingURL=chunk-G5CBZT2T.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-6T3EPABN.js";
|
|
6
6
|
import {
|
|
7
7
|
SessionMemory
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-IQTDTDJ2.js";
|
|
9
9
|
import {
|
|
10
10
|
StatsOnlyAdapter,
|
|
11
11
|
ensureSharedMemoryRegistry
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-KSQSWEFH.js";
|
|
16
16
|
import {
|
|
17
17
|
generateId
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-H2NBOKEQ.js";
|
|
19
19
|
import {
|
|
20
20
|
ErrorCode,
|
|
21
21
|
NexusError,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
getTimeProvider,
|
|
29
29
|
ok,
|
|
30
30
|
setSharedMobiMemDbPathResolver
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-SFI3T5SJ.js";
|
|
32
32
|
import {
|
|
33
33
|
nexusDataPath
|
|
34
34
|
} from "./chunk-DHVMSIT5.js";
|
|
@@ -5552,4 +5552,4 @@ export {
|
|
|
5552
5552
|
reinitializeMemoryBackends,
|
|
5553
5553
|
ToolMemoryManager
|
|
5554
5554
|
};
|
|
5555
|
-
//# sourceMappingURL=chunk-
|
|
5555
|
+
//# sourceMappingURL=chunk-GERSL2NR.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getRandomProvider,
|
|
3
3
|
getTimeProvider
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-SFI3T5SJ.js";
|
|
5
5
|
|
|
6
6
|
// src/utils/id-utils.ts
|
|
7
7
|
import { randomUUID } from "crypto";
|
|
@@ -24,4 +24,4 @@ export {
|
|
|
24
24
|
generateHyphenId,
|
|
25
25
|
generateUUID
|
|
26
26
|
};
|
|
27
|
-
//# sourceMappingURL=chunk-
|
|
27
|
+
//# sourceMappingURL=chunk-H2NBOKEQ.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
computeCostDetail,
|
|
3
3
|
recordUsageEvent
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VEZOKX3G.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-M2USWE2N.js";
|
|
12
12
|
import {
|
|
13
13
|
ConfigError,
|
|
14
14
|
ModelCapability,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
getTimeProvider,
|
|
20
20
|
getTokenEstimator,
|
|
21
21
|
ok
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-SFI3T5SJ.js";
|
|
23
23
|
|
|
24
24
|
// src/adapters/openai-types.ts
|
|
25
25
|
var OPENAI_MODELS = {
|
|
@@ -795,4 +795,4 @@ export {
|
|
|
795
795
|
discoverModels,
|
|
796
796
|
buildOpenAICompatAdapters
|
|
797
797
|
};
|
|
798
|
-
//# sourceMappingURL=chunk-
|
|
798
|
+
//# sourceMappingURL=chunk-HRYSHM7F.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
getErrorMessage,
|
|
5
5
|
getTimeProvider,
|
|
6
6
|
ok
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-SFI3T5SJ.js";
|
|
8
8
|
|
|
9
9
|
// src/context/session-memory.ts
|
|
10
10
|
import * as fs from "fs";
|
|
@@ -352,4 +352,4 @@ export {
|
|
|
352
352
|
SessionMemory,
|
|
353
353
|
createSessionMemory
|
|
354
354
|
};
|
|
355
|
-
//# sourceMappingURL=chunk-
|
|
355
|
+
//# sourceMappingURL=chunk-IQTDTDJ2.js.map
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
gateWithReputation,
|
|
10
10
|
resolveReputationGatingMode,
|
|
11
11
|
sanitizeInput
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-RGFWXSN4.js";
|
|
13
13
|
import {
|
|
14
14
|
createLogger,
|
|
15
15
|
getTimeProvider
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-SFI3T5SJ.js";
|
|
17
17
|
|
|
18
18
|
// src/dogfooding/pr-reviewer-helpers.ts
|
|
19
19
|
import { randomUUID } from "crypto";
|
|
@@ -288,4 +288,4 @@ export {
|
|
|
288
288
|
formatReviewComment,
|
|
289
289
|
createFailedReview
|
|
290
290
|
};
|
|
291
|
-
//# sourceMappingURL=chunk-
|
|
291
|
+
//# sourceMappingURL=chunk-KUE4KV3E.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
MODEL_IDS,
|
|
4
4
|
getTimeProvider,
|
|
5
5
|
resolveModelIdentitySync
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SFI3T5SJ.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-KUSJ3TP3.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
isRateLimitLikeError,
|
|
12
12
|
lookupInTreeCapability,
|
|
13
13
|
ok
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-SFI3T5SJ.js";
|
|
15
15
|
|
|
16
16
|
// src/config/model-parameter-support.ts
|
|
17
17
|
function parseClaudeMajorMinor(bareId) {
|
|
@@ -828,4 +828,4 @@ export {
|
|
|
828
828
|
DEFAULT_COLLECT_STREAM_MAX_CHUNKS,
|
|
829
829
|
collectStream
|
|
830
830
|
};
|
|
831
|
-
//# sourceMappingURL=chunk-
|
|
831
|
+
//# sourceMappingURL=chunk-M2USWE2N.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
TASK_CATEGORIES,
|
|
3
3
|
getAdaptiveBonus,
|
|
4
4
|
getOutcomeStore
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SFI3T5SJ.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-MKCHFL37.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
err,
|
|
5
5
|
getErrorMessage,
|
|
6
6
|
ok
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-SFI3T5SJ.js";
|
|
8
8
|
|
|
9
9
|
// src/scm/types.ts
|
|
10
10
|
var ScmError = class extends Error {
|
|
@@ -263,4 +263,4 @@ export {
|
|
|
263
263
|
ScmError,
|
|
264
264
|
GitHubProvider
|
|
265
265
|
};
|
|
266
|
-
//# sourceMappingURL=chunk-
|
|
266
|
+
//# sourceMappingURL=chunk-N4DLCREQ.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createAutoAdapter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QWQB5VDK.js";
|
|
4
4
|
import {
|
|
5
5
|
mapModelErrorToCategory
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BILYXYOW.js";
|
|
7
7
|
import {
|
|
8
8
|
CLI_NAMES,
|
|
9
9
|
CircularBuffer,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
ok,
|
|
25
25
|
recordRateLimitEvent,
|
|
26
26
|
toRateLimitError
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-SFI3T5SJ.js";
|
|
28
28
|
|
|
29
29
|
// src/agents/collaboration/event-bus-helpers.ts
|
|
30
30
|
import { randomUUID } from "crypto";
|
|
@@ -1041,4 +1041,4 @@ export {
|
|
|
1041
1041
|
getGlobalRegistry,
|
|
1042
1042
|
resetGlobalRegistry
|
|
1043
1043
|
};
|
|
1044
|
-
//# sourceMappingURL=chunk-
|
|
1044
|
+
//# sourceMappingURL=chunk-NAX5SNXI.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTimeProvider
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SFI3T5SJ.js";
|
|
4
4
|
|
|
5
5
|
// src/security/audit-trail.ts
|
|
6
6
|
var MAX_EVENTS = 1e4;
|
|
@@ -205,4 +205,4 @@ export {
|
|
|
205
205
|
createGraphAuditBridge,
|
|
206
206
|
createAuditTrail
|
|
207
207
|
};
|
|
208
|
-
//# sourceMappingURL=chunk-
|
|
208
|
+
//# sourceMappingURL=chunk-NEF7Y34E.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
createLogger,
|
|
3
3
|
err,
|
|
4
4
|
ok
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SFI3T5SJ.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-PDE6FQZ4.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
getErrorMessage,
|
|
9
9
|
ok,
|
|
10
10
|
parseBoolEnv
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-SFI3T5SJ.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-PNUPX6WI.js.map
|
|
@@ -5,29 +5,29 @@ import {
|
|
|
5
5
|
planOptionalParams,
|
|
6
6
|
requireApiKey,
|
|
7
7
|
validateApiKeyPresence
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-M2USWE2N.js";
|
|
9
9
|
import {
|
|
10
10
|
CUSTOM_API_BASE_URL_ENV,
|
|
11
11
|
CUSTOM_API_DEFAULT_MODEL,
|
|
12
12
|
PROVIDER_ENV_KEYS,
|
|
13
13
|
assertCustomApiHostResolvesPublic,
|
|
14
14
|
validateCustomApiBaseUrl
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-UFVZKQ75.js";
|
|
16
16
|
import {
|
|
17
17
|
getAvailabilityCache
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-KUSJ3TP3.js";
|
|
19
19
|
import {
|
|
20
20
|
extractSystemPrompt
|
|
21
21
|
} from "./chunk-QZUG667L.js";
|
|
22
22
|
import {
|
|
23
23
|
generateHyphenId
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-H2NBOKEQ.js";
|
|
25
25
|
import {
|
|
26
26
|
CliCircuitBreaker,
|
|
27
27
|
DEFAULT_CIRCUIT_BREAKER_CONFIG,
|
|
28
28
|
getCliCircuitBreakerSnapshot,
|
|
29
29
|
getDefaultCliCircuitBreakerRegistry
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-BILYXYOW.js";
|
|
31
31
|
import {
|
|
32
32
|
CLI_SUBPROCESS_TIMEOUTS,
|
|
33
33
|
CLI_TIMEOUTS,
|
|
@@ -62,8 +62,9 @@ import {
|
|
|
62
62
|
isRateLimitText,
|
|
63
63
|
loadModelsDevSnapshot,
|
|
64
64
|
ok,
|
|
65
|
+
parseRetryAfterMs,
|
|
65
66
|
resolveCliAlias
|
|
66
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-SFI3T5SJ.js";
|
|
67
68
|
|
|
68
69
|
// src/cli-adapters/cli-to-model-adapter.ts
|
|
69
70
|
var CliToModelAdapter = class {
|
|
@@ -1794,6 +1795,13 @@ function calculateBackoffDelay(attempt, baseDelayMs, maxDelayMs) {
|
|
|
1794
1795
|
const delayMs = exponentialDelay + jitter;
|
|
1795
1796
|
return Math.min(delayMs, maxDelayMs);
|
|
1796
1797
|
}
|
|
1798
|
+
function resolveRetryDelayMs(error, attempt, baseDelayMs, maxDelayMs) {
|
|
1799
|
+
const hint = error.retryAfterMs;
|
|
1800
|
+
if (hint !== void 0 && hint > 0) {
|
|
1801
|
+
return Math.min(hint, maxDelayMs);
|
|
1802
|
+
}
|
|
1803
|
+
return calculateBackoffDelay(attempt, baseDelayMs, maxDelayMs);
|
|
1804
|
+
}
|
|
1797
1805
|
function isRetryableError(code) {
|
|
1798
1806
|
return RETRYABLE_ERROR_CODES.has(code);
|
|
1799
1807
|
}
|
|
@@ -1826,7 +1834,7 @@ async function executeCliRetryLoop(executeFn, config) {
|
|
|
1826
1834
|
if (!shouldRetry(lastError, attempt, maxAttempts, config.circuitBreaker)) {
|
|
1827
1835
|
return err(lastError);
|
|
1828
1836
|
}
|
|
1829
|
-
const delayMs =
|
|
1837
|
+
const delayMs = resolveRetryDelayMs(lastError, attempt, config.baseDelayMs, config.maxDelayMs);
|
|
1830
1838
|
config.logger.debug("Retrying CLI execution", {
|
|
1831
1839
|
cli: config.cli,
|
|
1832
1840
|
attempt,
|
|
@@ -2078,11 +2086,13 @@ var BaseCliAdapter = class {
|
|
|
2078
2086
|
*/
|
|
2079
2087
|
createError(code, message, cause) {
|
|
2080
2088
|
const retryable = ["RATE_LIMITED", "TIMEOUT", "CONNECTION_ERROR"].includes(code);
|
|
2089
|
+
const retryAfterMs = retryable ? parseRetryAfterMs(message) : void 0;
|
|
2081
2090
|
return {
|
|
2082
2091
|
code,
|
|
2083
2092
|
message,
|
|
2084
2093
|
cli: this.name,
|
|
2085
2094
|
retryable,
|
|
2095
|
+
...retryAfterMs !== void 0 && { retryAfterMs },
|
|
2086
2096
|
...cause !== void 0 && { cause }
|
|
2087
2097
|
};
|
|
2088
2098
|
}
|
|
@@ -3761,6 +3771,9 @@ function determineErrorCode(message) {
|
|
|
3761
3771
|
if (message.includes("connection") || message.includes("disconnect")) {
|
|
3762
3772
|
return "CONNECTION_ERROR";
|
|
3763
3773
|
}
|
|
3774
|
+
if (isRateLimitText(message)) {
|
|
3775
|
+
return "RATE_LIMITED";
|
|
3776
|
+
}
|
|
3764
3777
|
return "EXECUTION_ERROR";
|
|
3765
3778
|
}
|
|
3766
3779
|
|
|
@@ -3776,6 +3789,20 @@ var CodexMcpAdapter = class extends BaseCliAdapter {
|
|
|
3776
3789
|
super(options?.logger ?? createLogger({ component: "codex-mcp-adapter" }));
|
|
3777
3790
|
this.model = options?.model ?? getCliModelName(getDefaultModelForCli("codex"));
|
|
3778
3791
|
}
|
|
3792
|
+
/**
|
|
3793
|
+
* Key-free model enumeration via the models.dev snapshot (#3405), matching
|
|
3794
|
+
* `CodexCliAdapter`.
|
|
3795
|
+
*
|
|
3796
|
+
* #4318: this was missing, and `buildDefaultModelSources` includes an adapter
|
|
3797
|
+
* only when `hasListModels(adapter)` is true. Since `createAllAdapters`
|
|
3798
|
+
* defaults codex to the mcp transport, codex was silently filtered out of
|
|
3799
|
+
* `list_available_models` — the probe reported one fewer transport than it
|
|
3800
|
+
* had, with no error anywhere. Model enumeration is transport-independent, so
|
|
3801
|
+
* the two adapters must answer identically.
|
|
3802
|
+
*/
|
|
3803
|
+
listModels() {
|
|
3804
|
+
return Promise.resolve(listModelsForCli(this.name));
|
|
3805
|
+
}
|
|
3779
3806
|
/**
|
|
3780
3807
|
* Gets Codex model information.
|
|
3781
3808
|
* Resolves from canonical registry when possible, falls back to legacy lookup.
|
|
@@ -3874,7 +3901,8 @@ var CodexMcpAdapter = class extends BaseCliAdapter {
|
|
|
3874
3901
|
parseToolResult(result, startTime) {
|
|
3875
3902
|
if (result.isError === true) {
|
|
3876
3903
|
const errorText = extractTextFromContent(result.content);
|
|
3877
|
-
|
|
3904
|
+
const code = errorText === null ? "EXECUTION_ERROR" : determineErrorCode(errorText);
|
|
3905
|
+
return err(this.createError(code, errorText ?? "Tool execution failed"));
|
|
3878
3906
|
}
|
|
3879
3907
|
const text = extractTextFromContent(result.content);
|
|
3880
3908
|
if (text === null) {
|
|
@@ -4854,4 +4882,4 @@ export {
|
|
|
4854
4882
|
SdkAdapter,
|
|
4855
4883
|
createAutoAdapter
|
|
4856
4884
|
};
|
|
4857
|
-
//# sourceMappingURL=chunk-
|
|
4885
|
+
//# sourceMappingURL=chunk-QWQB5VDK.js.map
|