nexus-agents 8.51.0 → 8.51.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/{ast-rule-runner-XZQ2W2WW.js → ast-rule-runner-OMARWHWE.js} +3 -3
- package/dist/{child-mcp-config-ISBTJYWE.js → child-mcp-config-TTPPGI47.js} +2 -2
- package/dist/{chunk-6UXL574Z.js → chunk-2JRC2A3A.js} +9 -9
- package/dist/{chunk-FCWFXP3X.js → chunk-36CV7CCD.js} +2 -2
- package/dist/{chunk-5PPZDRQD.js → chunk-36MBJVGG.js} +2 -2
- package/dist/{chunk-FLH32S4M.js → chunk-4PWPBNDP.js} +2 -2
- package/dist/{chunk-MJWHKXS6.js → chunk-5DYRHSCE.js} +2 -2
- package/dist/{chunk-DNUOVVCS.js → chunk-BZUFLIVF.js} +4 -4
- package/dist/{chunk-WU2W2KVT.js → chunk-D3YWV3NR.js} +2 -2
- package/dist/{chunk-FIMSASJP.js → chunk-D7CLVTZM.js} +2 -2
- package/dist/{chunk-VZRH5ZRI.js → chunk-DEVIH4AT.js} +5 -5
- package/dist/{chunk-4NITS52R.js → chunk-DSAY7HRZ.js} +2 -2
- package/dist/{chunk-5YLH2LO6.js → chunk-E4VUJZGC.js} +3 -3
- package/dist/{chunk-WMPXFL7M.js → chunk-E6GDTYBK.js} +2 -2
- package/dist/{chunk-32NRCUPK.js → chunk-ELRBAHJ7.js} +62 -10
- package/dist/chunk-ELRBAHJ7.js.map +1 -0
- package/dist/{chunk-23YXAPJ7.js → chunk-F5JVNA4I.js} +2 -2
- package/dist/{chunk-THRAJJNZ.js → chunk-HJQSY4XL.js} +2 -2
- package/dist/{chunk-NPBGY3I4.js → chunk-ITF2RPEP.js} +3 -3
- package/dist/{chunk-2HJIYOXK.js → chunk-JHHSNZDT.js} +3 -3
- package/dist/{chunk-U3RSW6JB.js → chunk-MGQROE5U.js} +2 -2
- package/dist/{chunk-2SZGMHQQ.js → chunk-PT36V4VS.js} +16 -5
- package/dist/chunk-PT36V4VS.js.map +1 -0
- package/dist/{chunk-TO6JCHTA.js → chunk-PVGI2ZFN.js} +2 -2
- package/dist/{chunk-O5NB6M6O.js → chunk-Q35UI2VQ.js} +4 -4
- package/dist/{chunk-JVDSK3D3.js → chunk-Q64M3PDU.js} +7 -7
- package/dist/{chunk-NEZWOPAB.js → chunk-Q7ELPWUE.js} +20 -15
- package/dist/chunk-Q7ELPWUE.js.map +1 -0
- package/dist/{chunk-BOQDJA7K.js → chunk-QD3T5DUB.js} +6 -6
- package/dist/{chunk-6ODSAG4K.js → chunk-R2Z4HK4B.js} +2 -2
- package/dist/{chunk-DG46QLR7.js → chunk-R32HCVJN.js} +4 -4
- package/dist/{chunk-RP6LMAMJ.js → chunk-RVWAMRVN.js} +5 -5
- package/dist/{chunk-4QY24KIB.js → chunk-SNQF2GZA.js} +2 -2
- package/dist/{chunk-O53OFCGZ.js → chunk-T2LVUHW4.js} +3 -3
- package/dist/{chunk-2UKT2NN6.js → chunk-VB4TUWQB.js} +36 -36
- package/dist/{chunk-E36RPOHL.js → chunk-VCSFP3ZN.js} +2 -2
- package/dist/{chunk-MEYYD422.js → chunk-XC6CDASQ.js} +2 -2
- package/dist/{chunk-MXZ5I3TW.js → chunk-YEM7GMVB.js} +2 -2
- package/dist/{chunk-7SETTEH6.js → chunk-ZXRSBMNL.js} +2 -2
- package/dist/{cli-circuit-breaker-STNTUWB4.js → cli-circuit-breaker-54PR2WI3.js} +3 -3
- package/dist/cli.js +44 -44
- package/dist/cli.js.map +1 -1
- package/dist/{composite-router-YBTWQWIG.js → composite-router-UOSLHVQC.js} +2 -2
- package/dist/{consensus-vote-A3KFPWYY.js → consensus-vote-ATLN2G3U.js} +17 -17
- package/dist/{context-retriever-BLYXV3M6.js → context-retriever-XOEH7NZY.js} +8 -8
- package/dist/{doctor-deep-IYQFKQQY.js → doctor-deep-XXYYPYEJ.js} +3 -3
- package/dist/{doctor-live-K4L2B5HX.js → doctor-live-KGKB7XIZ.js} +9 -9
- package/dist/{expert-bridge-QIV3YSGL.js → expert-bridge-NWVCSOA5.js} +4 -4
- package/dist/{factory-S74MV7SO.js → factory-3FLN5V36.js} +5 -5
- package/dist/{factory-4KLGDT6B.js → factory-QZJFG56H.js} +9 -9
- package/dist/{improvement-review-HLTUCQ25.js → improvement-review-NUFQVVNZ.js} +6 -6
- package/dist/index.d.ts +8 -3
- package/dist/index.js +31 -31
- package/dist/{init-opencode-CHS3BRM4.js → init-opencode-3MF5EUFL.js} +6 -6
- package/dist/issue-triage-JK5VG6EE.js +17 -0
- package/dist/{pr-reviewer-helpers-3QDD3PRP.js → pr-reviewer-helpers-KKLUERS5.js} +4 -4
- package/dist/{registry-command-XSEQTZWJ.js → registry-command-4AYYYOFG.js} +2 -2
- package/dist/{repo-security-plan-EGHKAYOK.js → repo-security-plan-QO42XEJO.js} +3 -3
- package/dist/{research-helpers-synthesize-T5OOSHNV.js → research-helpers-synthesize-CMFUU7VH.js} +4 -4
- package/dist/{routing-memory-MFYB6POH.js → routing-memory-D5ZSNOED.js} +2 -2
- package/dist/{session-memory-QPJHLRH7.js → session-memory-2YVYSK2C.js} +3 -3
- package/dist/{setup-config-Y6HL6M46.js → setup-config-EKZMJ4WQ.js} +3 -3
- package/dist/{setup-custom-api-P4WGA5IB.js → setup-custom-api-626A7IJN.js} +4 -4
- package/dist/setup-data-dir-HK5EN4G2.js +30 -0
- package/dist/{tool-memory-56A5FHPV.js → tool-memory-DVKDX4VO.js} +5 -5
- package/dist/{unified-registry-GNFCZZWV.js → unified-registry-FGBELPLI.js} +10 -10
- package/dist/{weather-report-OTYGZ5X7.js → weather-report-D7QCLP6S.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-2SZGMHQQ.js.map +0 -1
- package/dist/chunk-32NRCUPK.js.map +0 -1
- package/dist/chunk-NEZWOPAB.js.map +0 -1
- package/dist/issue-triage-62XJFVH3.js +0 -17
- package/dist/setup-data-dir-ZJYYDDEP.js +0 -30
- /package/dist/{ast-rule-runner-XZQ2W2WW.js.map → ast-rule-runner-OMARWHWE.js.map} +0 -0
- /package/dist/{child-mcp-config-ISBTJYWE.js.map → child-mcp-config-TTPPGI47.js.map} +0 -0
- /package/dist/{chunk-6UXL574Z.js.map → chunk-2JRC2A3A.js.map} +0 -0
- /package/dist/{chunk-FCWFXP3X.js.map → chunk-36CV7CCD.js.map} +0 -0
- /package/dist/{chunk-5PPZDRQD.js.map → chunk-36MBJVGG.js.map} +0 -0
- /package/dist/{chunk-FLH32S4M.js.map → chunk-4PWPBNDP.js.map} +0 -0
- /package/dist/{chunk-MJWHKXS6.js.map → chunk-5DYRHSCE.js.map} +0 -0
- /package/dist/{chunk-DNUOVVCS.js.map → chunk-BZUFLIVF.js.map} +0 -0
- /package/dist/{chunk-WU2W2KVT.js.map → chunk-D3YWV3NR.js.map} +0 -0
- /package/dist/{chunk-FIMSASJP.js.map → chunk-D7CLVTZM.js.map} +0 -0
- /package/dist/{chunk-VZRH5ZRI.js.map → chunk-DEVIH4AT.js.map} +0 -0
- /package/dist/{chunk-4NITS52R.js.map → chunk-DSAY7HRZ.js.map} +0 -0
- /package/dist/{chunk-5YLH2LO6.js.map → chunk-E4VUJZGC.js.map} +0 -0
- /package/dist/{chunk-WMPXFL7M.js.map → chunk-E6GDTYBK.js.map} +0 -0
- /package/dist/{chunk-23YXAPJ7.js.map → chunk-F5JVNA4I.js.map} +0 -0
- /package/dist/{chunk-THRAJJNZ.js.map → chunk-HJQSY4XL.js.map} +0 -0
- /package/dist/{chunk-NPBGY3I4.js.map → chunk-ITF2RPEP.js.map} +0 -0
- /package/dist/{chunk-2HJIYOXK.js.map → chunk-JHHSNZDT.js.map} +0 -0
- /package/dist/{chunk-U3RSW6JB.js.map → chunk-MGQROE5U.js.map} +0 -0
- /package/dist/{chunk-TO6JCHTA.js.map → chunk-PVGI2ZFN.js.map} +0 -0
- /package/dist/{chunk-O5NB6M6O.js.map → chunk-Q35UI2VQ.js.map} +0 -0
- /package/dist/{chunk-JVDSK3D3.js.map → chunk-Q64M3PDU.js.map} +0 -0
- /package/dist/{chunk-BOQDJA7K.js.map → chunk-QD3T5DUB.js.map} +0 -0
- /package/dist/{chunk-6ODSAG4K.js.map → chunk-R2Z4HK4B.js.map} +0 -0
- /package/dist/{chunk-DG46QLR7.js.map → chunk-R32HCVJN.js.map} +0 -0
- /package/dist/{chunk-RP6LMAMJ.js.map → chunk-RVWAMRVN.js.map} +0 -0
- /package/dist/{chunk-4QY24KIB.js.map → chunk-SNQF2GZA.js.map} +0 -0
- /package/dist/{chunk-O53OFCGZ.js.map → chunk-T2LVUHW4.js.map} +0 -0
- /package/dist/{chunk-2UKT2NN6.js.map → chunk-VB4TUWQB.js.map} +0 -0
- /package/dist/{chunk-E36RPOHL.js.map → chunk-VCSFP3ZN.js.map} +0 -0
- /package/dist/{chunk-MEYYD422.js.map → chunk-XC6CDASQ.js.map} +0 -0
- /package/dist/{chunk-MXZ5I3TW.js.map → chunk-YEM7GMVB.js.map} +0 -0
- /package/dist/{chunk-7SETTEH6.js.map → chunk-ZXRSBMNL.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-STNTUWB4.js.map → cli-circuit-breaker-54PR2WI3.js.map} +0 -0
- /package/dist/{composite-router-YBTWQWIG.js.map → composite-router-UOSLHVQC.js.map} +0 -0
- /package/dist/{consensus-vote-A3KFPWYY.js.map → consensus-vote-ATLN2G3U.js.map} +0 -0
- /package/dist/{context-retriever-BLYXV3M6.js.map → context-retriever-XOEH7NZY.js.map} +0 -0
- /package/dist/{doctor-deep-IYQFKQQY.js.map → doctor-deep-XXYYPYEJ.js.map} +0 -0
- /package/dist/{doctor-live-K4L2B5HX.js.map → doctor-live-KGKB7XIZ.js.map} +0 -0
- /package/dist/{expert-bridge-QIV3YSGL.js.map → expert-bridge-NWVCSOA5.js.map} +0 -0
- /package/dist/{factory-4KLGDT6B.js.map → factory-3FLN5V36.js.map} +0 -0
- /package/dist/{factory-S74MV7SO.js.map → factory-QZJFG56H.js.map} +0 -0
- /package/dist/{improvement-review-HLTUCQ25.js.map → improvement-review-NUFQVVNZ.js.map} +0 -0
- /package/dist/{init-opencode-CHS3BRM4.js.map → init-opencode-3MF5EUFL.js.map} +0 -0
- /package/dist/{issue-triage-62XJFVH3.js.map → issue-triage-JK5VG6EE.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-3QDD3PRP.js.map → pr-reviewer-helpers-KKLUERS5.js.map} +0 -0
- /package/dist/{registry-command-XSEQTZWJ.js.map → registry-command-4AYYYOFG.js.map} +0 -0
- /package/dist/{repo-security-plan-EGHKAYOK.js.map → repo-security-plan-QO42XEJO.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-T5OOSHNV.js.map → research-helpers-synthesize-CMFUU7VH.js.map} +0 -0
- /package/dist/{routing-memory-MFYB6POH.js.map → routing-memory-D5ZSNOED.js.map} +0 -0
- /package/dist/{session-memory-QPJHLRH7.js.map → session-memory-2YVYSK2C.js.map} +0 -0
- /package/dist/{setup-config-Y6HL6M46.js.map → setup-config-EKZMJ4WQ.js.map} +0 -0
- /package/dist/{setup-custom-api-P4WGA5IB.js.map → setup-custom-api-626A7IJN.js.map} +0 -0
- /package/dist/{setup-data-dir-ZJYYDDEP.js.map → setup-data-dir-HK5EN4G2.js.map} +0 -0
- /package/dist/{tool-memory-56A5FHPV.js.map → tool-memory-DVKDX4VO.js.map} +0 -0
- /package/dist/{unified-registry-GNFCZZWV.js.map → unified-registry-FGBELPLI.js.map} +0 -0
- /package/dist/{weather-report-OTYGZ5X7.js.map → weather-report-D7QCLP6S.js.map} +0 -0
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
getBuiltInAstRulesPath,
|
|
10
10
|
loadRules,
|
|
11
11
|
runAstQaRules
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-XC6CDASQ.js";
|
|
13
|
+
import "./chunk-JHHSNZDT.js";
|
|
14
14
|
import "./chunk-MTYJPPIG.js";
|
|
15
15
|
import "./chunk-BTYRPZON.js";
|
|
16
16
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -26,4 +26,4 @@ export {
|
|
|
26
26
|
loadRules,
|
|
27
27
|
runAstQaRules
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=ast-rule-runner-
|
|
29
|
+
//# sourceMappingURL=ast-rule-runner-OMARWHWE.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-T46RV7Y7.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JHHSNZDT.js";
|
|
7
7
|
import "./chunk-MTYJPPIG.js";
|
|
8
8
|
import "./chunk-BTYRPZON.js";
|
|
9
9
|
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-TTPPGI47.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
computeCostDetail,
|
|
3
3
|
priceBasisOf
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5DYRHSCE.js";
|
|
5
5
|
import {
|
|
6
6
|
allOf
|
|
7
7
|
} from "./chunk-OQB3XC5O.js";
|
|
@@ -23,27 +23,27 @@ import {
|
|
|
23
23
|
toolSuccessStructured,
|
|
24
24
|
withProgressHeartbeat,
|
|
25
25
|
wrapToolWithTimeout
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-R32HCVJN.js";
|
|
27
27
|
import {
|
|
28
28
|
VERSION
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-E6GDTYBK.js";
|
|
30
30
|
import {
|
|
31
31
|
UNRESOLVED_MODEL_ID,
|
|
32
32
|
assessPanelIndependence,
|
|
33
33
|
countDistinctModels,
|
|
34
34
|
createEvent,
|
|
35
35
|
getGlobalRegistry
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-PT36V4VS.js";
|
|
37
37
|
import {
|
|
38
38
|
getToolMemory
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-BZUFLIVF.js";
|
|
40
40
|
import {
|
|
41
41
|
authRemediation,
|
|
42
42
|
delay,
|
|
43
43
|
getAvailableClis,
|
|
44
44
|
sleep,
|
|
45
45
|
withTimeout
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-ELRBAHJ7.js";
|
|
47
47
|
import {
|
|
48
48
|
AgentError,
|
|
49
49
|
CLI_NAMES,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
registerPersistentOutcomeStoreFactory,
|
|
73
73
|
resolveClassGuardMs,
|
|
74
74
|
resolveVoteTimeout
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-JHHSNZDT.js";
|
|
76
76
|
import {
|
|
77
77
|
ensureLearningDir,
|
|
78
78
|
getOutcomesFile
|
|
@@ -7525,7 +7525,7 @@ function logPartialProposal(bounded, log) {
|
|
|
7525
7525
|
}
|
|
7526
7526
|
async function runContrarianCheck(proposal, log) {
|
|
7527
7527
|
try {
|
|
7528
|
-
const { executeExpert } = await import("./expert-bridge-
|
|
7528
|
+
const { executeExpert } = await import("./expert-bridge-NWVCSOA5.js");
|
|
7529
7529
|
const bounded = boundArtifactForReview(proposal, CONTRARIAN_PROPOSAL_BUDGET, "proposal");
|
|
7530
7530
|
logPartialProposal(bounded, log);
|
|
7531
7531
|
const result = await executeExpert("architecture", buildContrarianPrompt(bounded));
|
|
@@ -8152,4 +8152,4 @@ export {
|
|
|
8152
8152
|
CONSENSUS_VOTE_TOOL_SCHEMA,
|
|
8153
8153
|
registerConsensusVoteTool
|
|
8154
8154
|
};
|
|
8155
|
-
//# sourceMappingURL=chunk-
|
|
8155
|
+
//# sourceMappingURL=chunk-2JRC2A3A.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getErrorMessage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JHHSNZDT.js";
|
|
4
4
|
|
|
5
5
|
// src/cli/setup-config.ts
|
|
6
6
|
import { copyFileSync, existsSync, mkdirSync, writeFileSync } from "node:fs";
|
|
@@ -77,4 +77,4 @@ function ensureBackup(outputPath) {
|
|
|
77
77
|
export {
|
|
78
78
|
runConfigInitSync
|
|
79
79
|
};
|
|
80
|
-
//# sourceMappingURL=chunk-
|
|
80
|
+
//# sourceMappingURL=chunk-36CV7CCD.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
TASK_CATEGORIES,
|
|
3
3
|
getAdaptiveBonus,
|
|
4
4
|
getOutcomeStore
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-JHHSNZDT.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-36MBJVGG.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
MODEL_IDS,
|
|
4
4
|
getTimeProvider,
|
|
5
5
|
resolveModelIdentitySync
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JHHSNZDT.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-4PWPBNDP.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
createLogger,
|
|
4
4
|
getDefaultRegistry,
|
|
5
5
|
roundToMicroUsd
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JHHSNZDT.js";
|
|
7
7
|
import {
|
|
8
8
|
getNexusDataDir
|
|
9
9
|
} from "./chunk-BTYRPZON.js";
|
|
@@ -196,4 +196,4 @@ export {
|
|
|
196
196
|
loadUsageEvents,
|
|
197
197
|
rollupByModel
|
|
198
198
|
};
|
|
199
|
-
//# sourceMappingURL=chunk-
|
|
199
|
+
//# sourceMappingURL=chunk-5DYRHSCE.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-7LP6VJRP.js";
|
|
6
6
|
import {
|
|
7
7
|
SessionMemory
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HJQSY4XL.js";
|
|
9
9
|
import {
|
|
10
10
|
StatsOnlyAdapter,
|
|
11
11
|
ensureSharedMemoryRegistry
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-MUJCGBZW.js";
|
|
16
16
|
import {
|
|
17
17
|
generateId
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-VCSFP3ZN.js";
|
|
19
19
|
import {
|
|
20
20
|
ErrorCode,
|
|
21
21
|
NexusError,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
ok,
|
|
30
30
|
openSqliteDatabase,
|
|
31
31
|
setSharedMobiMemDbPathResolver
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-JHHSNZDT.js";
|
|
33
33
|
import {
|
|
34
34
|
nexusDataPath
|
|
35
35
|
} from "./chunk-BTYRPZON.js";
|
|
@@ -5825,4 +5825,4 @@ export {
|
|
|
5825
5825
|
reinitializeMemoryBackends,
|
|
5826
5826
|
ToolMemoryManager
|
|
5827
5827
|
};
|
|
5828
|
-
//# sourceMappingURL=chunk-
|
|
5828
|
+
//# sourceMappingURL=chunk-BZUFLIVF.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
lookupInTreeCapability,
|
|
14
14
|
ok,
|
|
15
15
|
resolveRetryAfterMs
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-JHHSNZDT.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-D3YWV3NR.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
createLogger,
|
|
4
4
|
err,
|
|
5
5
|
ok
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JHHSNZDT.js";
|
|
7
7
|
|
|
8
8
|
// src/adapters/sdk/types.ts
|
|
9
9
|
var PROVIDER_ENV_KEYS = {
|
|
@@ -260,4 +260,4 @@ export {
|
|
|
260
260
|
validateCustomApiBaseUrl,
|
|
261
261
|
assertCustomApiHostResolvesPublic
|
|
262
262
|
};
|
|
263
|
-
//# sourceMappingURL=chunk-
|
|
263
|
+
//# sourceMappingURL=chunk-D7CLVTZM.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
computeCostDetail,
|
|
3
3
|
recordUsageEvent
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5DYRHSCE.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-D3YWV3NR.js";
|
|
12
12
|
import {
|
|
13
13
|
assertCustomApiHostResolvesPublic
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-D7CLVTZM.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-JHHSNZDT.js";
|
|
26
26
|
|
|
27
27
|
// src/adapters/openai-types.ts
|
|
28
28
|
var OPENAI_MODELS = {
|
|
@@ -842,4 +842,4 @@ export {
|
|
|
842
842
|
discoverModels,
|
|
843
843
|
buildOpenAICompatAdapters
|
|
844
844
|
};
|
|
845
|
-
//# sourceMappingURL=chunk-
|
|
845
|
+
//# sourceMappingURL=chunk-DEVIH4AT.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
err,
|
|
6
6
|
getErrorMessage,
|
|
7
7
|
ok
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-JHHSNZDT.js";
|
|
9
9
|
import {
|
|
10
10
|
findRepoRoot,
|
|
11
11
|
getActiveWorkspaceRoot,
|
|
@@ -223,4 +223,4 @@ export {
|
|
|
223
223
|
loadPapersRegistry,
|
|
224
224
|
savePapersRegistry
|
|
225
225
|
};
|
|
226
|
-
//# sourceMappingURL=chunk-
|
|
226
|
+
//# sourceMappingURL=chunk-DSAY7HRZ.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadPapersRegistry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DSAY7HRZ.js";
|
|
4
4
|
import {
|
|
5
5
|
getErrorMessage
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JHHSNZDT.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-E4VUJZGC.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/version.ts
|
|
2
2
|
import semver from "semver";
|
|
3
|
-
var VERSION = true ? "8.51.
|
|
3
|
+
var VERSION = true ? "8.51.1" : "dev";
|
|
4
4
|
var NODE_ENGINE_RANGE = ">=22.5.0";
|
|
5
5
|
function isNodeVersionSupported(version) {
|
|
6
6
|
return semver.satisfies(version, NODE_ENGINE_RANGE);
|
|
@@ -11,4 +11,4 @@ export {
|
|
|
11
11
|
NODE_ENGINE_RANGE,
|
|
12
12
|
isNodeVersionSupported
|
|
13
13
|
};
|
|
14
|
-
//# sourceMappingURL=chunk-
|
|
14
|
+
//# sourceMappingURL=chunk-E6GDTYBK.js.map
|
|
@@ -5,34 +5,34 @@ import {
|
|
|
5
5
|
planOptionalParams,
|
|
6
6
|
requireApiKey,
|
|
7
7
|
validateApiKeyPresence
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-D3YWV3NR.js";
|
|
9
9
|
import {
|
|
10
10
|
CUSTOM_API_DEFAULT_MODEL
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-PVGI2ZFN.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-D7CLVTZM.js";
|
|
18
18
|
import {
|
|
19
19
|
nexusMkdtempSync
|
|
20
20
|
} from "./chunk-T46RV7Y7.js";
|
|
21
21
|
import {
|
|
22
22
|
getAvailabilityCache
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-4PWPBNDP.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-VCSFP3ZN.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-F5JVNA4I.js";
|
|
36
36
|
import {
|
|
37
37
|
CLI_SUBPROCESS_TIMEOUTS,
|
|
38
38
|
CLI_TIMEOUTS,
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
resolveCliModelName,
|
|
74
74
|
resolveRetryAfterMs,
|
|
75
75
|
retryAfterMsFromContext
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-JHHSNZDT.js";
|
|
77
77
|
import {
|
|
78
78
|
parseBoolValue
|
|
79
79
|
} from "./chunk-BTYRPZON.js";
|
|
@@ -4907,6 +4907,47 @@ async function probeAllClis() {
|
|
|
4907
4907
|
return Promise.all(clis.map((c) => probeCli(c)));
|
|
4908
4908
|
}
|
|
4909
4909
|
|
|
4910
|
+
// src/cli-adapters/codex-mcp-server-probe.ts
|
|
4911
|
+
import { execFileSync } from "node:child_process";
|
|
4912
|
+
var CODEX_MCP_SERVER_UNAVAILABLE_REASON = "codex-cli \u22650.154 has no mcp-server subcommand";
|
|
4913
|
+
var CodexMcpServerUnavailableError = class extends Error {
|
|
4914
|
+
constructor() {
|
|
4915
|
+
super(
|
|
4916
|
+
`Codex transport 'mcp' was requested but ${CODEX_MCP_SERVER_UNAVAILABLE_REASON}; use transport 'subprocess' (codex exec) or leave the transport unset to auto-select`
|
|
4917
|
+
);
|
|
4918
|
+
this.name = "CodexMcpServerUnavailableError";
|
|
4919
|
+
}
|
|
4920
|
+
};
|
|
4921
|
+
var PROBE_ARGS = ["mcp-server", "--help"];
|
|
4922
|
+
var SUBCOMMAND_PATTERN = /\bmcp-server\b/;
|
|
4923
|
+
var defaultExec = (command, args) => {
|
|
4924
|
+
try {
|
|
4925
|
+
const stdout = execFileSync(command, [...args], {
|
|
4926
|
+
encoding: "utf8",
|
|
4927
|
+
stdio: ["ignore", "pipe", "pipe"],
|
|
4928
|
+
timeout: CLI_SUBPROCESS_TIMEOUTS.statusProbeMs
|
|
4929
|
+
});
|
|
4930
|
+
return { exitCode: 0, stdout };
|
|
4931
|
+
} catch (error) {
|
|
4932
|
+
const status = error.status;
|
|
4933
|
+
const stdout = error.stdout;
|
|
4934
|
+
return {
|
|
4935
|
+
exitCode: typeof status === "number" ? status : null,
|
|
4936
|
+
stdout: typeof stdout === "string" ? stdout : ""
|
|
4937
|
+
};
|
|
4938
|
+
}
|
|
4939
|
+
};
|
|
4940
|
+
var cachedDefaultVerdict;
|
|
4941
|
+
function codexMcpServerAvailable(exec2) {
|
|
4942
|
+
if (exec2 !== void 0) return probe(exec2);
|
|
4943
|
+
cachedDefaultVerdict ??= probe(defaultExec);
|
|
4944
|
+
return cachedDefaultVerdict;
|
|
4945
|
+
}
|
|
4946
|
+
function probe(exec2) {
|
|
4947
|
+
const { exitCode, stdout } = exec2("codex", PROBE_ARGS);
|
|
4948
|
+
return exitCode === 0 && SUBCOMMAND_PATTERN.test(stdout);
|
|
4949
|
+
}
|
|
4950
|
+
|
|
4910
4951
|
// src/cli-adapters/factory.ts
|
|
4911
4952
|
var factoryLogger = createLogger({ component: "cli-adapter-factory" });
|
|
4912
4953
|
function createCliAdapter(config) {
|
|
@@ -4933,9 +4974,18 @@ function createCodexAdapter(transport, options) {
|
|
|
4933
4974
|
if (transport === "subprocess") {
|
|
4934
4975
|
return new CodexCliAdapter(options);
|
|
4935
4976
|
}
|
|
4936
|
-
|
|
4977
|
+
const mcpServerAvailable = codexMcpServerAvailable();
|
|
4978
|
+
if (transport === "mcp") {
|
|
4979
|
+
if (!mcpServerAvailable) throw new CodexMcpServerUnavailableError();
|
|
4980
|
+
return new CodexMcpAdapter(options);
|
|
4981
|
+
}
|
|
4982
|
+
if (mcpServerAvailable) return new CodexMcpAdapter(options);
|
|
4983
|
+
(options.logger ?? factoryLogger).debug("Codex transport selected by probe: subprocess", {
|
|
4984
|
+
reason: CODEX_MCP_SERVER_UNAVAILABLE_REASON
|
|
4985
|
+
});
|
|
4986
|
+
return new CodexCliAdapter(options);
|
|
4937
4987
|
}
|
|
4938
|
-
function createAllAdapters(logger6, codexTransport
|
|
4988
|
+
function createAllAdapters(logger6, codexTransport) {
|
|
4939
4989
|
const adapters = /* @__PURE__ */ new Map();
|
|
4940
4990
|
const options = logger6 !== void 0 ? { logger: logger6 } : void 0;
|
|
4941
4991
|
adapters.set("claude", new ClaudeCliAdapter(options));
|
|
@@ -5052,6 +5102,8 @@ export {
|
|
|
5052
5102
|
createCliDetectionCache,
|
|
5053
5103
|
probeCli,
|
|
5054
5104
|
probeAllClis,
|
|
5105
|
+
CODEX_MCP_SERVER_UNAVAILABLE_REASON,
|
|
5106
|
+
codexMcpServerAvailable,
|
|
5055
5107
|
createCliAdapter,
|
|
5056
5108
|
createAllAdapters,
|
|
5057
5109
|
isCliAvailable,
|
|
@@ -5064,4 +5116,4 @@ export {
|
|
|
5064
5116
|
SdkAdapter,
|
|
5065
5117
|
createAutoAdapter
|
|
5066
5118
|
};
|
|
5067
|
-
//# sourceMappingURL=chunk-
|
|
5119
|
+
//# sourceMappingURL=chunk-ELRBAHJ7.js.map
|