nexus-agents 4.18.1 → 4.18.2
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-CXCJFCWM.js → child-mcp-config-6JLJLDGR.js} +2 -2
- package/dist/{chunk-IHT6MNGI.js → chunk-2AAG45CT.js} +2 -2
- package/dist/{chunk-IMBYIL3N.js → chunk-2D3KX7MD.js} +2 -2
- package/dist/{chunk-DCWZV3OI.js → chunk-2GSHMVVW.js} +3 -3
- package/dist/{chunk-RLNEUQTN.js → chunk-3CU6PDLQ.js} +5 -5
- package/dist/{chunk-GQAKNZ44.js → chunk-3VJ2MSUU.js} +7 -7
- package/dist/{chunk-D3SFJ4JZ.js → chunk-3WGAPD5L.js} +3 -3
- package/dist/{chunk-SR4HN3VE.js → chunk-3WKO7D53.js} +8 -8
- package/dist/{chunk-UYZTRYDQ.js → chunk-5HGWH5WI.js} +2 -2
- package/dist/{chunk-HNNAPRVA.js → chunk-7CGVYJQS.js} +11 -6
- package/dist/chunk-7CGVYJQS.js.map +1 -0
- package/dist/{chunk-B3Z5U7NE.js → chunk-AZMXXJ5X.js} +2 -2
- package/dist/{chunk-F2THM2ZA.js → chunk-BNWYB6E6.js} +2 -2
- package/dist/{chunk-OA77RDQO.js → chunk-EB3NZFSA.js} +2 -2
- package/dist/{chunk-ELDOH63W.js → chunk-EI3AC7X2.js} +4 -4
- package/dist/{chunk-MIFSYE7M.js → chunk-EQG2GVM7.js} +3 -3
- package/dist/{chunk-7OFYAL77.js → chunk-F34Y64DV.js} +7 -7
- package/dist/{chunk-CCPBYVVN.js → chunk-FBR5GT7E.js} +6 -6
- package/dist/{chunk-TYSMC4TH.js → chunk-HBTUFRGO.js} +2 -2
- package/dist/{chunk-QVZF2S2Z.js → chunk-JKWBSEL3.js} +2 -2
- package/dist/{chunk-XKHLFJSV.js → chunk-JUXLSC52.js} +2 -2
- package/dist/{chunk-EP2HSK76.js → chunk-MMDJ4TU6.js} +2 -2
- package/dist/{chunk-4UAEE4RN.js → chunk-MY33A5CO.js} +2 -2
- package/dist/{chunk-SYREKKET.js → chunk-MYYPOVLV.js} +8 -8
- package/dist/{chunk-5XA3MJPK.js → chunk-Q2VYGOSY.js} +2 -2
- package/dist/{chunk-QZB56T4I.js → chunk-Q75PNRRU.js} +35 -35
- package/dist/{chunk-ABYTFXK7.js → chunk-R54L73RR.js} +2 -2
- package/dist/{chunk-EO2YU6RB.js → chunk-RAOEVIA2.js} +4 -4
- package/dist/{chunk-Q7TBUSVT.js → chunk-SHMGRIYH.js} +2 -2
- package/dist/{chunk-RQQMMAWU.js → chunk-SPU2PTV7.js} +2 -2
- package/dist/{chunk-3ANZ5D7Z.js → chunk-SWCDZHUY.js} +2 -2
- package/dist/{chunk-SRYDZXJY.js → chunk-TKI4VCS6.js} +3 -3
- package/dist/{chunk-XKR6PLE6.js → chunk-UGIA52M7.js} +3 -3
- package/dist/{chunk-FCA2DBE5.js → chunk-XOC6DP35.js} +4 -4
- package/dist/{cli-circuit-breaker-BQE62EAH.js → cli-circuit-breaker-VX7YIXHE.js} +3 -3
- package/dist/cli.js +40 -40
- package/dist/{composite-router-6FJMOOJG.js → composite-router-BU4CXKV2.js} +2 -2
- package/dist/{consensus-vote-J55L27EQ.js → consensus-vote-DQ6VBS7I.js} +16 -16
- package/dist/{context-retriever-KKZJ3TNC.js → context-retriever-Y7FS4RCN.js} +8 -8
- package/dist/{doctor-deep-56LIAJSL.js → doctor-deep-FHMLBUAO.js} +3 -3
- package/dist/{doctor-live-Y47WTCCL.js → doctor-live-H2CSOEWT.js} +9 -9
- package/dist/{expert-bridge-VFGOXSNV.js → expert-bridge-KH35UIRS.js} +4 -4
- package/dist/{factory-RIBWWJPG.js → factory-FEJB4OCS.js} +5 -5
- package/dist/{factory-W3REVCVN.js → factory-NXF36QPJ.js} +9 -9
- package/dist/{improvement-review-G54FHQDD.js → improvement-review-XPIA6KDL.js} +5 -5
- package/dist/index.js +30 -30
- package/dist/{init-opencode-EQA555EU.js → init-opencode-RMQHV22F.js} +6 -6
- package/dist/issue-triage-M2YN5FMW.js +17 -0
- package/dist/{pr-reviewer-helpers-NINQHZLU.js → pr-reviewer-helpers-JTONAPBK.js} +4 -4
- package/dist/{registry-command-AXXMZAX2.js → registry-command-NFR5FYUP.js} +2 -2
- package/dist/{repo-security-plan-TJRIVAJU.js → repo-security-plan-H4FLKET3.js} +3 -3
- package/dist/{research-helpers-synthesize-4DBBCMWP.js → research-helpers-synthesize-VXUN6GGY.js} +4 -4
- package/dist/{routing-memory-BXEJTK5X.js → routing-memory-GARJ7D7B.js} +2 -2
- package/dist/{session-memory-AKYKTGAS.js → session-memory-AEOECSZP.js} +3 -3
- package/dist/{setup-config-7IOG46GX.js → setup-config-N6WDWBUU.js} +3 -3
- package/dist/{setup-custom-api-HBOJBRNU.js → setup-custom-api-LRRWPNLL.js} +4 -4
- package/dist/setup-data-dir-JFUUU7HP.js +28 -0
- package/dist/{tool-memory-VSDISK6R.js → tool-memory-QIOKTGQT.js} +5 -5
- package/dist/{unified-registry-5VBLFKLP.js → unified-registry-5GGXSFFS.js} +10 -10
- package/dist/{weather-report-DW6G66FU.js → weather-report-ZWXHO3EF.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-HNNAPRVA.js.map +0 -1
- package/dist/issue-triage-HSRNBOAA.js +0 -17
- package/dist/setup-data-dir-I4G7FLFC.js +0 -28
- /package/dist/{child-mcp-config-CXCJFCWM.js.map → child-mcp-config-6JLJLDGR.js.map} +0 -0
- /package/dist/{chunk-IHT6MNGI.js.map → chunk-2AAG45CT.js.map} +0 -0
- /package/dist/{chunk-IMBYIL3N.js.map → chunk-2D3KX7MD.js.map} +0 -0
- /package/dist/{chunk-DCWZV3OI.js.map → chunk-2GSHMVVW.js.map} +0 -0
- /package/dist/{chunk-RLNEUQTN.js.map → chunk-3CU6PDLQ.js.map} +0 -0
- /package/dist/{chunk-GQAKNZ44.js.map → chunk-3VJ2MSUU.js.map} +0 -0
- /package/dist/{chunk-D3SFJ4JZ.js.map → chunk-3WGAPD5L.js.map} +0 -0
- /package/dist/{chunk-SR4HN3VE.js.map → chunk-3WKO7D53.js.map} +0 -0
- /package/dist/{chunk-UYZTRYDQ.js.map → chunk-5HGWH5WI.js.map} +0 -0
- /package/dist/{chunk-B3Z5U7NE.js.map → chunk-AZMXXJ5X.js.map} +0 -0
- /package/dist/{chunk-F2THM2ZA.js.map → chunk-BNWYB6E6.js.map} +0 -0
- /package/dist/{chunk-OA77RDQO.js.map → chunk-EB3NZFSA.js.map} +0 -0
- /package/dist/{chunk-ELDOH63W.js.map → chunk-EI3AC7X2.js.map} +0 -0
- /package/dist/{chunk-MIFSYE7M.js.map → chunk-EQG2GVM7.js.map} +0 -0
- /package/dist/{chunk-7OFYAL77.js.map → chunk-F34Y64DV.js.map} +0 -0
- /package/dist/{chunk-CCPBYVVN.js.map → chunk-FBR5GT7E.js.map} +0 -0
- /package/dist/{chunk-TYSMC4TH.js.map → chunk-HBTUFRGO.js.map} +0 -0
- /package/dist/{chunk-QVZF2S2Z.js.map → chunk-JKWBSEL3.js.map} +0 -0
- /package/dist/{chunk-XKHLFJSV.js.map → chunk-JUXLSC52.js.map} +0 -0
- /package/dist/{chunk-EP2HSK76.js.map → chunk-MMDJ4TU6.js.map} +0 -0
- /package/dist/{chunk-4UAEE4RN.js.map → chunk-MY33A5CO.js.map} +0 -0
- /package/dist/{chunk-SYREKKET.js.map → chunk-MYYPOVLV.js.map} +0 -0
- /package/dist/{chunk-5XA3MJPK.js.map → chunk-Q2VYGOSY.js.map} +0 -0
- /package/dist/{chunk-QZB56T4I.js.map → chunk-Q75PNRRU.js.map} +0 -0
- /package/dist/{chunk-ABYTFXK7.js.map → chunk-R54L73RR.js.map} +0 -0
- /package/dist/{chunk-EO2YU6RB.js.map → chunk-RAOEVIA2.js.map} +0 -0
- /package/dist/{chunk-Q7TBUSVT.js.map → chunk-SHMGRIYH.js.map} +0 -0
- /package/dist/{chunk-RQQMMAWU.js.map → chunk-SPU2PTV7.js.map} +0 -0
- /package/dist/{chunk-3ANZ5D7Z.js.map → chunk-SWCDZHUY.js.map} +0 -0
- /package/dist/{chunk-SRYDZXJY.js.map → chunk-TKI4VCS6.js.map} +0 -0
- /package/dist/{chunk-XKR6PLE6.js.map → chunk-UGIA52M7.js.map} +0 -0
- /package/dist/{chunk-FCA2DBE5.js.map → chunk-XOC6DP35.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-BQE62EAH.js.map → cli-circuit-breaker-VX7YIXHE.js.map} +0 -0
- /package/dist/{composite-router-6FJMOOJG.js.map → composite-router-BU4CXKV2.js.map} +0 -0
- /package/dist/{consensus-vote-J55L27EQ.js.map → consensus-vote-DQ6VBS7I.js.map} +0 -0
- /package/dist/{context-retriever-KKZJ3TNC.js.map → context-retriever-Y7FS4RCN.js.map} +0 -0
- /package/dist/{doctor-deep-56LIAJSL.js.map → doctor-deep-FHMLBUAO.js.map} +0 -0
- /package/dist/{doctor-live-Y47WTCCL.js.map → doctor-live-H2CSOEWT.js.map} +0 -0
- /package/dist/{expert-bridge-VFGOXSNV.js.map → expert-bridge-KH35UIRS.js.map} +0 -0
- /package/dist/{factory-RIBWWJPG.js.map → factory-FEJB4OCS.js.map} +0 -0
- /package/dist/{factory-W3REVCVN.js.map → factory-NXF36QPJ.js.map} +0 -0
- /package/dist/{improvement-review-G54FHQDD.js.map → improvement-review-XPIA6KDL.js.map} +0 -0
- /package/dist/{init-opencode-EQA555EU.js.map → init-opencode-RMQHV22F.js.map} +0 -0
- /package/dist/{issue-triage-HSRNBOAA.js.map → issue-triage-M2YN5FMW.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-NINQHZLU.js.map → pr-reviewer-helpers-JTONAPBK.js.map} +0 -0
- /package/dist/{registry-command-AXXMZAX2.js.map → registry-command-NFR5FYUP.js.map} +0 -0
- /package/dist/{repo-security-plan-TJRIVAJU.js.map → repo-security-plan-H4FLKET3.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-4DBBCMWP.js.map → research-helpers-synthesize-VXUN6GGY.js.map} +0 -0
- /package/dist/{routing-memory-BXEJTK5X.js.map → routing-memory-GARJ7D7B.js.map} +0 -0
- /package/dist/{session-memory-AKYKTGAS.js.map → session-memory-AEOECSZP.js.map} +0 -0
- /package/dist/{setup-config-7IOG46GX.js.map → setup-config-N6WDWBUU.js.map} +0 -0
- /package/dist/{setup-custom-api-HBOJBRNU.js.map → setup-custom-api-LRRWPNLL.js.map} +0 -0
- /package/dist/{setup-data-dir-I4G7FLFC.js.map → setup-data-dir-JFUUU7HP.js.map} +0 -0
- /package/dist/{tool-memory-VSDISK6R.js.map → tool-memory-QIOKTGQT.js.map} +0 -0
- /package/dist/{unified-registry-5VBLFKLP.js.map → unified-registry-5GGXSFFS.js.map} +0 -0
- /package/dist/{weather-report-DW6G66FU.js.map → weather-report-ZWXHO3EF.js.map} +0 -0
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-RQV5ZUXT.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TKI4VCS6.js";
|
|
7
7
|
import "./chunk-HHLCAWAV.js";
|
|
8
8
|
import "./chunk-NBMWONHE.js";
|
|
9
9
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -62,4 +62,4 @@ export {
|
|
|
62
62
|
generateMcpConfig,
|
|
63
63
|
getDefaultAllowedTools
|
|
64
64
|
};
|
|
65
|
-
//# sourceMappingURL=child-mcp-config-
|
|
65
|
+
//# sourceMappingURL=child-mcp-config-6JLJLDGR.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
getTimeProvider,
|
|
9
9
|
isRateLimitText,
|
|
10
10
|
ok
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-TKI4VCS6.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-2AAG45CT.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
createLogger,
|
|
6
6
|
getTimeProvider
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-TKI4VCS6.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-2D3KX7MD.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadPapersRegistry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SWCDZHUY.js";
|
|
4
4
|
import {
|
|
5
5
|
getErrorMessage
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TKI4VCS6.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-2GSHMVVW.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
computeCostDetail,
|
|
3
3
|
recordUsageEvent
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-JUXLSC52.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-R54L73RR.js";
|
|
12
12
|
import {
|
|
13
13
|
assertCustomApiHostResolvesPublic
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-JKWBSEL3.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-TKI4VCS6.js";
|
|
26
26
|
|
|
27
27
|
// src/adapters/openai-types.ts
|
|
28
28
|
var OPENAI_MODELS = {
|
|
@@ -833,4 +833,4 @@ export {
|
|
|
833
833
|
discoverModels,
|
|
834
834
|
buildOpenAICompatAdapters
|
|
835
835
|
};
|
|
836
|
-
//# sourceMappingURL=chunk-
|
|
836
|
+
//# sourceMappingURL=chunk-3CU6PDLQ.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveCliSlot
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5HGWH5WI.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger,
|
|
6
6
|
getTimeProvider,
|
|
7
7
|
isRateLimitText
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TKI4VCS6.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-6JLJLDGR.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-NXF36QPJ.js");
|
|
97
|
+
const { createCompositeRouter } = await import("./composite-router-BU4CXKV2.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-VX7YIXHE.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-3VJ2MSUU.js.map
|
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
gateWithReputation,
|
|
13
13
|
resolveReputationGatingMode,
|
|
14
14
|
sanitizeInput
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MY33A5CO.js";
|
|
16
16
|
import {
|
|
17
17
|
createLogger,
|
|
18
18
|
getTimeProvider
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-TKI4VCS6.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-3WGAPD5L.js.map
|
|
@@ -5,34 +5,34 @@ import {
|
|
|
5
5
|
planOptionalParams,
|
|
6
6
|
requireApiKey,
|
|
7
7
|
validateApiKeyPresence
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-R54L73RR.js";
|
|
9
9
|
import {
|
|
10
10
|
CUSTOM_API_DEFAULT_MODEL
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-SPU2PTV7.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-JKWBSEL3.js";
|
|
18
18
|
import {
|
|
19
19
|
nexusMkdtempSync
|
|
20
20
|
} from "./chunk-RQV5ZUXT.js";
|
|
21
21
|
import {
|
|
22
22
|
getAvailabilityCache
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-5HGWH5WI.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-HBTUFRGO.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-2AAG45CT.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-TKI4VCS6.js";
|
|
76
76
|
|
|
77
77
|
// src/cli-adapters/cli-to-model-adapter.ts
|
|
78
78
|
var CliToModelAdapter = class {
|
|
@@ -4883,4 +4883,4 @@ export {
|
|
|
4883
4883
|
SdkAdapter,
|
|
4884
4884
|
createAutoAdapter
|
|
4885
4885
|
};
|
|
4886
|
-
//# sourceMappingURL=chunk-
|
|
4886
|
+
//# sourceMappingURL=chunk-3WKO7D53.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
MODEL_IDS,
|
|
4
4
|
getTimeProvider,
|
|
5
5
|
resolveModelIdentitySync
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TKI4VCS6.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-5HGWH5WI.js.map
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
loadTechniquesRegistry,
|
|
6
6
|
resolveInsideRoot,
|
|
7
7
|
savePapersRegistry
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-SWCDZHUY.js";
|
|
9
9
|
import {
|
|
10
10
|
resolveToken
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AZMXXJ5X.js";
|
|
12
12
|
import {
|
|
13
13
|
getToolMemory
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-EI3AC7X2.js";
|
|
15
15
|
import {
|
|
16
16
|
capitalizeWords,
|
|
17
17
|
tokenizeFiltered,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
getTimeProvider,
|
|
38
38
|
ok,
|
|
39
39
|
registerPersistentDistillerFactory
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-TKI4VCS6.js";
|
|
41
41
|
import {
|
|
42
42
|
ensureLearningDir,
|
|
43
43
|
getRulesFile
|
|
@@ -1363,12 +1363,17 @@ function scoreReproducibility(source) {
|
|
|
1363
1363
|
return 0.3;
|
|
1364
1364
|
}
|
|
1365
1365
|
}
|
|
1366
|
+
function compositeOf(parts) {
|
|
1367
|
+
const measuredWeight = WEIGHTS.relevance + WEIGHTS.impact + WEIGHTS.reproducibility + (parts.recency.measured ? WEIGHTS.recency : 0);
|
|
1368
|
+
const weighted = WEIGHTS.relevance * parts.relevance + WEIGHTS.impact * parts.impact + WEIGHTS.reproducibility * parts.reproducibility + (parts.recency.measured ? WEIGHTS.recency * parts.recency.value : 0);
|
|
1369
|
+
return weighted / measuredWeight;
|
|
1370
|
+
}
|
|
1366
1371
|
function scoreDiscoveredItem(item, topic) {
|
|
1367
1372
|
const relevance = topic !== "" ? scoreRelevance2(item.title, topic) : relevanceLabelToScore(item.relevance);
|
|
1368
1373
|
const impact = relevanceLabelToScore(item.relevance);
|
|
1369
1374
|
const recency = scoreRecency(item.publishedAt);
|
|
1370
1375
|
const reproducibility = scoreReproducibility(item.source);
|
|
1371
|
-
const composite =
|
|
1376
|
+
const composite = compositeOf({ relevance, impact, recency, reproducibility });
|
|
1372
1377
|
return {
|
|
1373
1378
|
relevance: Math.round(relevance * 100) / 100,
|
|
1374
1379
|
impact: Math.round(impact * 100) / 100,
|
|
@@ -4127,4 +4132,4 @@ export {
|
|
|
4127
4132
|
DEFAULT_CONTEXT_BUDGET_TOKENS,
|
|
4128
4133
|
getContextPromptPrefix
|
|
4129
4134
|
};
|
|
4130
|
-
//# sourceMappingURL=chunk-
|
|
4135
|
+
//# sourceMappingURL=chunk-7CGVYJQS.js.map
|