nexus-agents 8.100.0 → 8.101.0
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-5S3B2F7B.js → ast-rule-runner-JVKSVDZN.js} +3 -3
- package/dist/{child-mcp-config-XAPZFOSJ.js → child-mcp-config-GGKIZUCK.js} +2 -2
- package/dist/{chunk-4ECZEXUP.js → chunk-3QGKGM37.js} +2 -2
- package/dist/{chunk-QYDVF72S.js → chunk-5K4JAZ67.js} +13 -13
- package/dist/{chunk-R5PGISWG.js → chunk-5QXPIYZC.js} +2 -2
- package/dist/{chunk-SCT3O6WA.js → chunk-5RFWS5YF.js} +2 -2
- package/dist/{chunk-FJC5UCDB.js → chunk-7PLT45J4.js} +3 -2
- package/dist/{chunk-FZV7PQYK.js → chunk-B7WPNSR7.js} +7 -7
- package/dist/{chunk-OTOIKZNT.js → chunk-BOUGW7LJ.js} +2 -2
- package/dist/{chunk-PA3L4YLB.js → chunk-DFF4PQWN.js} +2 -2
- package/dist/{chunk-SI6EIAOF.js → chunk-ELGOF7OT.js} +39 -20
- package/dist/chunk-ELGOF7OT.js.map +1 -0
- package/dist/{chunk-BSTGUADO.js → chunk-FFF4ORRN.js} +2 -2
- package/dist/{chunk-WOUK4QL4.js → chunk-GRQP3WBR.js} +2 -2
- package/dist/{chunk-754FLBGW.js → chunk-GWG6GMTY.js} +13 -9
- package/dist/chunk-GWG6GMTY.js.map +1 -0
- package/dist/{chunk-FRZN32H3.js → chunk-HWROQN3Y.js} +7 -5
- package/dist/chunk-HWROQN3Y.js.map +1 -0
- package/dist/{chunk-KCK5ASQG.js → chunk-ISEB4I5X.js} +2 -2
- package/dist/{chunk-YQN3GJKY.js → chunk-K43DHPA2.js} +5 -5
- package/dist/{chunk-WH7D2YJD.js → chunk-L6B46NGH.js} +132 -76
- package/dist/{chunk-WH7D2YJD.js.map → chunk-L6B46NGH.js.map} +1 -1
- package/dist/chunk-LSS5ZIBM.js +81 -0
- package/dist/chunk-LSS5ZIBM.js.map +1 -0
- package/dist/{chunk-CLIRHX7X.js → chunk-LX6H36NI.js} +3 -3
- package/dist/{chunk-EN7RV5VK.js → chunk-NQYVJNE3.js} +173 -80
- package/dist/chunk-NQYVJNE3.js.map +1 -0
- package/dist/{chunk-J7RP6KQG.js → chunk-NVB4G33J.js} +6 -6
- package/dist/{chunk-F23W7Z6M.js → chunk-OLPKHKVI.js} +68 -20
- package/dist/chunk-OLPKHKVI.js.map +1 -0
- package/dist/{chunk-7SR7J43H.js → chunk-S22C5R73.js} +2 -2
- package/dist/{chunk-XVTESCVO.js → chunk-SGTR2V2K.js} +2 -2
- package/dist/{chunk-5WKFOW7O.js → chunk-SILMNFJ7.js} +2 -2
- package/dist/{chunk-FWMZLHMV.js → chunk-T57UKYPU.js} +4 -4
- package/dist/{chunk-XCKWAVAW.js → chunk-TFB36ENN.js} +2 -2
- package/dist/{chunk-JLMTORFA.js → chunk-TFDCAESD.js} +4 -4
- package/dist/{chunk-7DEJKQFG.js → chunk-VDPPDXLU.js} +2 -2
- package/dist/{chunk-JBK2O46P.js → chunk-WSE5Q3W5.js} +42 -30
- package/dist/chunk-WSE5Q3W5.js.map +1 -0
- package/dist/{chunk-OUBCCWNV.js → chunk-WUCGL63P.js} +6 -6
- package/dist/{chunk-PDEFAEH2.js → chunk-Y6ITE3QZ.js} +2 -2
- package/dist/{chunk-JMVE5ZMR.js → chunk-Z5MWQXCV.js} +3 -3
- package/dist/{chunk-W5JCLDRL.js → chunk-ZHTH6YFI.js} +2 -2
- package/dist/{chunk-E7SVR4AE.js → chunk-ZPMZ7QSF.js} +2 -2
- package/dist/{cli-circuit-breaker-4LMK2QKT.js → cli-circuit-breaker-Z3VTFZRB.js} +3 -3
- package/dist/cli.d.ts +5 -1
- package/dist/cli.js +113 -87
- package/dist/cli.js.map +1 -1
- package/dist/{composite-router-DL5TCA5E.js → composite-router-LB53V3BZ.js} +2 -2
- package/dist/{consensus-vote-ONTASY3I.js → consensus-vote-UEJ67Q4W.js} +18 -18
- package/dist/{consensus-vote-types-CUlmEZWo.d.ts → consensus-vote-types-0WGuII6a.d.ts} +8 -0
- package/dist/{context-retriever-7N6EYNUR.js → context-retriever-U77CIMRQ.js} +8 -8
- package/dist/{doctor-deep-OWM63GEP.js → doctor-deep-52LKRRQK.js} +3 -3
- package/dist/doctor-gateway-report-5YKA34JJ.js +77 -0
- package/dist/doctor-gateway-report-5YKA34JJ.js.map +1 -0
- package/dist/{doctor-live-LANTOIUT.js → doctor-live-NPG7BY5U.js} +12 -12
- package/dist/{expert-bridge-R55ZI3QO.js → expert-bridge-2D6GGZVS.js} +4 -4
- package/dist/{factory-KVR57WN7.js → factory-IK53LZGG.js} +11 -11
- package/dist/{factory-YLAJMS5T.js → factory-WFUWVRJZ.js} +5 -5
- package/dist/{improvement-review-ETE7HFWF.js → improvement-review-ENOO2JUX.js} +6 -6
- package/dist/index.d.ts +14 -2
- package/dist/index.js +101 -100
- package/dist/index.js.map +1 -1
- package/dist/{init-opencode-4GUXCAKD.js → init-opencode-6R5WWVCC.js} +5 -5
- package/dist/init-opencode-6R5WWVCC.js.map +1 -0
- package/dist/issue-triage-O7M4OZ4D.js +16 -0
- package/dist/openai-compat-adapter-MDDZE4MG.js +26 -0
- package/dist/{pr-reviewer-helpers-NLYAPH6N.js → pr-reviewer-helpers-EE3Q7LO6.js} +4 -4
- package/dist/{registry-command-LVGNBYEJ.js → registry-command-EXY4BQGT.js} +2 -2
- package/dist/{repo-security-plan-JMJ4TYVA.js → repo-security-plan-XPF3VILB.js} +3 -3
- package/dist/{research-helpers-synthesize-DZDG3FPO.js → research-helpers-synthesize-CV2AZACL.js} +4 -4
- package/dist/{routing-memory-LI2WXDSJ.js → routing-memory-RI4VQ23N.js} +2 -2
- package/dist/{session-memory-G5MKOAS2.js → session-memory-CCMV3KIM.js} +3 -3
- package/dist/{setup-config-2EUIGDXM.js → setup-config-226V7DOY.js} +3 -3
- package/dist/{setup-custom-api-H3YWZOSO.js → setup-custom-api-EZHU4O4E.js} +5 -5
- package/dist/setup-data-dir-NA7CWUKX.js +33 -0
- package/dist/{tool-memory-QAXICAJW.js → tool-memory-C7EQORJZ.js} +5 -5
- package/dist/{unified-registry-42YOG25E.js → unified-registry-CX35FNJ5.js} +12 -12
- package/dist/{weather-report-KFZYGEYI.js → weather-report-A47QZHNK.js} +2 -2
- package/dist/weather-report-A47QZHNK.js.map +1 -0
- package/package.json +1 -1
- package/dist/chunk-754FLBGW.js.map +0 -1
- package/dist/chunk-EN7RV5VK.js.map +0 -1
- package/dist/chunk-F23W7Z6M.js.map +0 -1
- package/dist/chunk-FRZN32H3.js.map +0 -1
- package/dist/chunk-JBK2O46P.js.map +0 -1
- package/dist/chunk-SI6EIAOF.js.map +0 -1
- package/dist/init-opencode-4GUXCAKD.js.map +0 -1
- package/dist/issue-triage-EVHSZLEF.js +0 -16
- package/dist/setup-data-dir-UXUSHIIL.js +0 -32
- /package/dist/{ast-rule-runner-5S3B2F7B.js.map → ast-rule-runner-JVKSVDZN.js.map} +0 -0
- /package/dist/{child-mcp-config-XAPZFOSJ.js.map → child-mcp-config-GGKIZUCK.js.map} +0 -0
- /package/dist/{chunk-4ECZEXUP.js.map → chunk-3QGKGM37.js.map} +0 -0
- /package/dist/{chunk-QYDVF72S.js.map → chunk-5K4JAZ67.js.map} +0 -0
- /package/dist/{chunk-R5PGISWG.js.map → chunk-5QXPIYZC.js.map} +0 -0
- /package/dist/{chunk-SCT3O6WA.js.map → chunk-5RFWS5YF.js.map} +0 -0
- /package/dist/{chunk-FJC5UCDB.js.map → chunk-7PLT45J4.js.map} +0 -0
- /package/dist/{chunk-FZV7PQYK.js.map → chunk-B7WPNSR7.js.map} +0 -0
- /package/dist/{chunk-OTOIKZNT.js.map → chunk-BOUGW7LJ.js.map} +0 -0
- /package/dist/{chunk-PA3L4YLB.js.map → chunk-DFF4PQWN.js.map} +0 -0
- /package/dist/{chunk-BSTGUADO.js.map → chunk-FFF4ORRN.js.map} +0 -0
- /package/dist/{chunk-WOUK4QL4.js.map → chunk-GRQP3WBR.js.map} +0 -0
- /package/dist/{chunk-KCK5ASQG.js.map → chunk-ISEB4I5X.js.map} +0 -0
- /package/dist/{chunk-YQN3GJKY.js.map → chunk-K43DHPA2.js.map} +0 -0
- /package/dist/{chunk-CLIRHX7X.js.map → chunk-LX6H36NI.js.map} +0 -0
- /package/dist/{chunk-J7RP6KQG.js.map → chunk-NVB4G33J.js.map} +0 -0
- /package/dist/{chunk-7SR7J43H.js.map → chunk-S22C5R73.js.map} +0 -0
- /package/dist/{chunk-XVTESCVO.js.map → chunk-SGTR2V2K.js.map} +0 -0
- /package/dist/{chunk-5WKFOW7O.js.map → chunk-SILMNFJ7.js.map} +0 -0
- /package/dist/{chunk-FWMZLHMV.js.map → chunk-T57UKYPU.js.map} +0 -0
- /package/dist/{chunk-XCKWAVAW.js.map → chunk-TFB36ENN.js.map} +0 -0
- /package/dist/{chunk-JLMTORFA.js.map → chunk-TFDCAESD.js.map} +0 -0
- /package/dist/{chunk-7DEJKQFG.js.map → chunk-VDPPDXLU.js.map} +0 -0
- /package/dist/{chunk-OUBCCWNV.js.map → chunk-WUCGL63P.js.map} +0 -0
- /package/dist/{chunk-PDEFAEH2.js.map → chunk-Y6ITE3QZ.js.map} +0 -0
- /package/dist/{chunk-JMVE5ZMR.js.map → chunk-Z5MWQXCV.js.map} +0 -0
- /package/dist/{chunk-W5JCLDRL.js.map → chunk-ZHTH6YFI.js.map} +0 -0
- /package/dist/{chunk-E7SVR4AE.js.map → chunk-ZPMZ7QSF.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-4LMK2QKT.js.map → cli-circuit-breaker-Z3VTFZRB.js.map} +0 -0
- /package/dist/{composite-router-DL5TCA5E.js.map → composite-router-LB53V3BZ.js.map} +0 -0
- /package/dist/{consensus-vote-ONTASY3I.js.map → consensus-vote-UEJ67Q4W.js.map} +0 -0
- /package/dist/{context-retriever-7N6EYNUR.js.map → context-retriever-U77CIMRQ.js.map} +0 -0
- /package/dist/{doctor-deep-OWM63GEP.js.map → doctor-deep-52LKRRQK.js.map} +0 -0
- /package/dist/{doctor-live-LANTOIUT.js.map → doctor-live-NPG7BY5U.js.map} +0 -0
- /package/dist/{expert-bridge-R55ZI3QO.js.map → expert-bridge-2D6GGZVS.js.map} +0 -0
- /package/dist/{factory-KVR57WN7.js.map → factory-IK53LZGG.js.map} +0 -0
- /package/dist/{factory-YLAJMS5T.js.map → factory-WFUWVRJZ.js.map} +0 -0
- /package/dist/{improvement-review-ETE7HFWF.js.map → improvement-review-ENOO2JUX.js.map} +0 -0
- /package/dist/{issue-triage-EVHSZLEF.js.map → issue-triage-O7M4OZ4D.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-NLYAPH6N.js.map → openai-compat-adapter-MDDZE4MG.js.map} +0 -0
- /package/dist/{repo-security-plan-JMJ4TYVA.js.map → pr-reviewer-helpers-EE3Q7LO6.js.map} +0 -0
- /package/dist/{registry-command-LVGNBYEJ.js.map → registry-command-EXY4BQGT.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-DZDG3FPO.js.map → repo-security-plan-XPF3VILB.js.map} +0 -0
- /package/dist/{routing-memory-LI2WXDSJ.js.map → research-helpers-synthesize-CV2AZACL.js.map} +0 -0
- /package/dist/{session-memory-G5MKOAS2.js.map → routing-memory-RI4VQ23N.js.map} +0 -0
- /package/dist/{setup-config-2EUIGDXM.js.map → session-memory-CCMV3KIM.js.map} +0 -0
- /package/dist/{setup-data-dir-UXUSHIIL.js.map → setup-config-226V7DOY.js.map} +0 -0
- /package/dist/{setup-custom-api-H3YWZOSO.js.map → setup-custom-api-EZHU4O4E.js.map} +0 -0
- /package/dist/{tool-memory-QAXICAJW.js.map → setup-data-dir-NA7CWUKX.js.map} +0 -0
- /package/dist/{unified-registry-42YOG25E.js.map → tool-memory-C7EQORJZ.js.map} +0 -0
- /package/dist/{weather-report-KFZYGEYI.js.map → unified-registry-CX35FNJ5.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-DFF4PQWN.js";
|
|
13
|
+
import "./chunk-OLPKHKVI.js";
|
|
14
14
|
import "./chunk-UE7A2XHM.js";
|
|
15
15
|
import "./chunk-LWOX65CP.js";
|
|
16
16
|
import "./chunk-PX6F3LHL.js";
|
|
@@ -26,4 +26,4 @@ export {
|
|
|
26
26
|
loadRules,
|
|
27
27
|
runAstQaRules
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=ast-rule-runner-
|
|
29
|
+
//# sourceMappingURL=ast-rule-runner-JVKSVDZN.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-OITVVSWO.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OLPKHKVI.js";
|
|
7
7
|
import "./chunk-UE7A2XHM.js";
|
|
8
8
|
import "./chunk-LWOX65CP.js";
|
|
9
9
|
import "./chunk-PX6F3LHL.js";
|
|
@@ -56,4 +56,4 @@ async function generateMcpConfig(options) {
|
|
|
56
56
|
export {
|
|
57
57
|
generateMcpConfig
|
|
58
58
|
};
|
|
59
|
-
//# sourceMappingURL=child-mcp-config-
|
|
59
|
+
//# sourceMappingURL=child-mcp-config-GGKIZUCK.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveClassGuardMs
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OLPKHKVI.js";
|
|
4
4
|
|
|
5
5
|
// src/cli/cli-readiness.ts
|
|
6
6
|
var READINESS_LEVELS = ["installed", "authenticated", "serves"];
|
|
@@ -90,4 +90,4 @@ export {
|
|
|
90
90
|
SERVES_PROBE_PROMPT,
|
|
91
91
|
probeServes
|
|
92
92
|
};
|
|
93
|
-
//# sourceMappingURL=chunk-
|
|
93
|
+
//# sourceMappingURL=chunk-3QGKGM37.js.map
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CUSTOM_API_DEFAULT_MODEL
|
|
3
|
+
} from "./chunk-SGTR2V2K.js";
|
|
1
4
|
import {
|
|
2
5
|
AdapterModelError,
|
|
3
6
|
BaseAdapter,
|
|
@@ -7,38 +10,35 @@ import {
|
|
|
7
10
|
readGatewayTransport,
|
|
8
11
|
requireApiKey,
|
|
9
12
|
validateApiKeyPresence
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import {
|
|
12
|
-
CUSTOM_API_DEFAULT_MODEL
|
|
13
|
-
} from "./chunk-XVTESCVO.js";
|
|
13
|
+
} from "./chunk-7PLT45J4.js";
|
|
14
14
|
import {
|
|
15
15
|
assertCustomApiHostResolvesPublic,
|
|
16
16
|
hostnameOf,
|
|
17
17
|
readGatewayEnv,
|
|
18
18
|
redactApiKey,
|
|
19
19
|
validateCustomApiBaseUrl
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-ISEB4I5X.js";
|
|
21
|
+
import {
|
|
22
|
+
sanitizeOutput
|
|
23
|
+
} from "./chunk-2NDA4DHW.js";
|
|
21
24
|
import {
|
|
22
25
|
nexusMkdtempSync
|
|
23
26
|
} from "./chunk-OITVVSWO.js";
|
|
24
27
|
import {
|
|
25
28
|
getAvailabilityCache
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import {
|
|
28
|
-
sanitizeOutput
|
|
29
|
-
} from "./chunk-2NDA4DHW.js";
|
|
29
|
+
} from "./chunk-ZPMZ7QSF.js";
|
|
30
30
|
import {
|
|
31
31
|
extractSystemPrompt
|
|
32
32
|
} from "./chunk-QZUG667L.js";
|
|
33
33
|
import {
|
|
34
34
|
generateHyphenId
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-5QXPIYZC.js";
|
|
36
36
|
import {
|
|
37
37
|
CliCircuitBreaker,
|
|
38
38
|
DEFAULT_CIRCUIT_BREAKER_CONFIG,
|
|
39
39
|
getCliCircuitBreakerSnapshot,
|
|
40
40
|
getDefaultCliCircuitBreakerRegistry
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-VDPPDXLU.js";
|
|
42
42
|
import {
|
|
43
43
|
CLI_NAMES,
|
|
44
44
|
CLI_SUBPROCESS_TIMEOUTS,
|
|
@@ -94,7 +94,7 @@ import {
|
|
|
94
94
|
resolveRetryAfterMs,
|
|
95
95
|
toModelTokenUsage,
|
|
96
96
|
warnIfGatewayCostUndeclared
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-OLPKHKVI.js";
|
|
98
98
|
import {
|
|
99
99
|
parseBoolValue
|
|
100
100
|
} from "./chunk-LWOX65CP.js";
|
|
@@ -4981,4 +4981,4 @@ export {
|
|
|
4981
4981
|
SdkAdapter,
|
|
4982
4982
|
createAutoAdapter
|
|
4983
4983
|
};
|
|
4984
|
-
//# sourceMappingURL=chunk-
|
|
4984
|
+
//# sourceMappingURL=chunk-5K4JAZ67.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getRandomProvider,
|
|
3
3
|
getTimeProvider
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-OLPKHKVI.js";
|
|
5
5
|
|
|
6
6
|
// src/utils/id-utils.ts
|
|
7
7
|
import { randomUUID } from "node:crypto";
|
|
@@ -24,4 +24,4 @@ export {
|
|
|
24
24
|
generateHyphenId,
|
|
25
25
|
generateUUID
|
|
26
26
|
};
|
|
27
|
-
//# sourceMappingURL=chunk-
|
|
27
|
+
//# sourceMappingURL=chunk-5QXPIYZC.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
createLogger,
|
|
3
3
|
err,
|
|
4
4
|
ok
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-OLPKHKVI.js";
|
|
6
6
|
|
|
7
7
|
// src/scm/token-resolver.ts
|
|
8
8
|
import { execFile } from "node:child_process";
|
|
@@ -87,4 +87,4 @@ export {
|
|
|
87
87
|
hasToken,
|
|
88
88
|
getTokenEnvVars
|
|
89
89
|
};
|
|
90
|
-
//# sourceMappingURL=chunk-
|
|
90
|
+
//# sourceMappingURL=chunk-5RFWS5YF.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
lookupInTreeCapability,
|
|
14
14
|
ok,
|
|
15
15
|
resolveRetryAfterMs
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-OLPKHKVI.js";
|
|
17
17
|
|
|
18
18
|
// src/config/model-parameter-support.ts
|
|
19
19
|
function parseClaudeMajorMinor(bareId) {
|
|
@@ -1029,8 +1029,9 @@ export {
|
|
|
1029
1029
|
DEFAULT_COLLECT_STREAM_MAX_CHUNKS,
|
|
1030
1030
|
collectStream,
|
|
1031
1031
|
parseGatewayExtraHeaders,
|
|
1032
|
+
gatewayProxyUrl,
|
|
1032
1033
|
readGatewayTransport,
|
|
1033
1034
|
gatewayClientOptions,
|
|
1034
1035
|
gatewayAiSdkOptions
|
|
1035
1036
|
};
|
|
1036
|
-
//# sourceMappingURL=chunk-
|
|
1037
|
+
//# sourceMappingURL=chunk-7PLT45J4.js.map
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTsMorph
|
|
3
3
|
} from "./chunk-W654ME6B.js";
|
|
4
|
+
import {
|
|
5
|
+
resolveToken
|
|
6
|
+
} from "./chunk-5RFWS5YF.js";
|
|
4
7
|
import {
|
|
5
8
|
REGISTRY_PATH,
|
|
6
9
|
getProjectRoot,
|
|
@@ -8,13 +11,10 @@ import {
|
|
|
8
11
|
loadTechniquesRegistry,
|
|
9
12
|
resolveInsideRoot,
|
|
10
13
|
savePapersRegistry
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import {
|
|
13
|
-
resolveToken
|
|
14
|
-
} from "./chunk-SCT3O6WA.js";
|
|
14
|
+
} from "./chunk-TFB36ENN.js";
|
|
15
15
|
import {
|
|
16
16
|
getToolMemory
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-TFDCAESD.js";
|
|
18
18
|
import {
|
|
19
19
|
capitalizeWords,
|
|
20
20
|
tokenizeFiltered,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
ok,
|
|
44
44
|
registerPersistentDistillerFactory,
|
|
45
45
|
sigmoidConfidence
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-OLPKHKVI.js";
|
|
47
47
|
import {
|
|
48
48
|
ensureLearningDir,
|
|
49
49
|
getRulesFile
|
|
@@ -4275,4 +4275,4 @@ export {
|
|
|
4275
4275
|
DEFAULT_CONTEXT_BUDGET_TOKENS,
|
|
4276
4276
|
getContextPromptPrefix
|
|
4277
4277
|
};
|
|
4278
|
-
//# sourceMappingURL=chunk-
|
|
4278
|
+
//# sourceMappingURL=chunk-B7WPNSR7.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
createLogger,
|
|
6
6
|
getTimeProvider
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OLPKHKVI.js";
|
|
8
8
|
|
|
9
9
|
// src/mcp/tools/scanner-registry-fetcher.ts
|
|
10
10
|
import { z } from "zod";
|
|
@@ -740,4 +740,4 @@ export {
|
|
|
740
740
|
generateSecurityPlan,
|
|
741
741
|
buildPlanFromAnalysis
|
|
742
742
|
};
|
|
743
|
-
//# sourceMappingURL=chunk-
|
|
743
|
+
//# sourceMappingURL=chunk-BOUGW7LJ.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
ValidationError,
|
|
4
4
|
createLogger,
|
|
5
5
|
formatZodError
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OLPKHKVI.js";
|
|
7
7
|
|
|
8
8
|
// src/security/ast-rule-runner.ts
|
|
9
9
|
import { existsSync } from "node:fs";
|
|
@@ -241,4 +241,4 @@ export {
|
|
|
241
241
|
collectAstQaFindings,
|
|
242
242
|
runAstQaRules
|
|
243
243
|
};
|
|
244
|
-
//# sourceMappingURL=chunk-
|
|
244
|
+
//# sourceMappingURL=chunk-DFF4PQWN.js.map
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
isGatewayModelAdapter
|
|
3
|
-
} from "./chunk-JBK2O46P.js";
|
|
4
|
-
import {
|
|
5
|
-
allOf
|
|
6
|
-
} from "./chunk-EZNIYU5T.js";
|
|
7
1
|
import {
|
|
8
2
|
DEFAULT_CONSENSUS_CONFIG,
|
|
9
3
|
DEFAULT_INCREMENTAL_QUORUM_CONFIG,
|
|
@@ -25,10 +19,16 @@ import {
|
|
|
25
19
|
toolSuccessStructured,
|
|
26
20
|
withProgressHeartbeat,
|
|
27
21
|
wrapToolWithTimeout
|
|
28
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-WUCGL63P.js";
|
|
29
23
|
import {
|
|
30
24
|
VERSION
|
|
31
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-FFF4ORRN.js";
|
|
26
|
+
import {
|
|
27
|
+
allOf
|
|
28
|
+
} from "./chunk-EZNIYU5T.js";
|
|
29
|
+
import {
|
|
30
|
+
isGatewayModelAdapter
|
|
31
|
+
} from "./chunk-WSE5Q3W5.js";
|
|
32
32
|
import {
|
|
33
33
|
UNRESOLVED_MODEL_ID,
|
|
34
34
|
assessPanelIndependence,
|
|
@@ -36,17 +36,17 @@ import {
|
|
|
36
36
|
countDistinctModels,
|
|
37
37
|
createEvent,
|
|
38
38
|
getGlobalRegistry
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-HWROQN3Y.js";
|
|
40
40
|
import {
|
|
41
41
|
getToolMemory
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-TFDCAESD.js";
|
|
43
43
|
import {
|
|
44
44
|
delay,
|
|
45
45
|
getAvailableClis,
|
|
46
46
|
isTimeoutText,
|
|
47
47
|
sleep,
|
|
48
48
|
withTimeout
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-5K4JAZ67.js";
|
|
50
50
|
import {
|
|
51
51
|
sanitizeErrorDetails,
|
|
52
52
|
sanitizeOutput
|
|
@@ -66,14 +66,12 @@ import {
|
|
|
66
66
|
categorizeOutcomeErrorMessage,
|
|
67
67
|
clamp01,
|
|
68
68
|
classifyExtractedError,
|
|
69
|
-
computeCostDetail,
|
|
70
69
|
createLogger,
|
|
71
70
|
createdOf,
|
|
72
71
|
err,
|
|
73
72
|
formatPercentage,
|
|
74
73
|
formatZodError,
|
|
75
74
|
formatZodIssueWithRoot,
|
|
76
|
-
gatewayCostDetail,
|
|
77
75
|
getErrorMessage,
|
|
78
76
|
getMcpSafeDeadlineMs,
|
|
79
77
|
getOutcomeStore,
|
|
@@ -91,8 +89,9 @@ import {
|
|
|
91
89
|
resolveClassGuardMs,
|
|
92
90
|
resolveModelIdentitySync,
|
|
93
91
|
resolveVoteTimeout,
|
|
92
|
+
servedCostDetail,
|
|
94
93
|
stepBus
|
|
95
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-OLPKHKVI.js";
|
|
96
95
|
import {
|
|
97
96
|
ensureLearningDir,
|
|
98
97
|
getOutcomesFile
|
|
@@ -6638,7 +6637,7 @@ function logPartialProposal(bounded, log) {
|
|
|
6638
6637
|
}
|
|
6639
6638
|
async function runContrarianCheck(proposal, log, opts) {
|
|
6640
6639
|
try {
|
|
6641
|
-
const { executeExpert } = await import("./expert-bridge-
|
|
6640
|
+
const { executeExpert } = await import("./expert-bridge-2D6GGZVS.js");
|
|
6642
6641
|
const bounded = boundArtifactForReview(proposal, CONTRARIAN_PROPOSAL_BUDGET, "proposal");
|
|
6643
6642
|
logPartialProposal(bounded, log);
|
|
6644
6643
|
const result = await executeExpert("architecture", buildContrarianPrompt(bounded, opts), {
|
|
@@ -7253,6 +7252,20 @@ var PersistentOutcomeStore = class extends OutcomeStore {
|
|
|
7253
7252
|
};
|
|
7254
7253
|
registerPersistentOutcomeStoreFactory(() => new PersistentOutcomeStore());
|
|
7255
7254
|
|
|
7255
|
+
// src/orchestration/outcomes/outcome-served-model.ts
|
|
7256
|
+
function servedOutcomeFields(call) {
|
|
7257
|
+
const model = call?.model;
|
|
7258
|
+
if (call === void 0 || model === void 0 || model.length === 0) return {};
|
|
7259
|
+
const { inputTokens, outputTokens } = call;
|
|
7260
|
+
if (inputTokens === void 0 || outputTokens === void 0) return { servedModel: model };
|
|
7261
|
+
const detail = servedCostDetail(call.gatewayArm, model, inputTokens, outputTokens);
|
|
7262
|
+
return {
|
|
7263
|
+
servedModel: model,
|
|
7264
|
+
priceBasis: priceBasisOf(detail),
|
|
7265
|
+
...detail.priced && { costUsd: detail.costUsd }
|
|
7266
|
+
};
|
|
7267
|
+
}
|
|
7268
|
+
|
|
7256
7269
|
// src/mcp/tools/consensus-vote-recording.ts
|
|
7257
7270
|
var logger6 = createLogger({ tool: "consensus-vote" });
|
|
7258
7271
|
function recordVoteSuccess(args) {
|
|
@@ -7418,6 +7431,14 @@ function recordVoteOutcomes(votes) {
|
|
|
7418
7431
|
// #2662 — carry the voter role so the stratified outcome report
|
|
7419
7432
|
// can break consensus results down by role.
|
|
7420
7433
|
voterRole: vote.role,
|
|
7434
|
+
// #6624 — `model` stays the `consensus` marker; the model that sat
|
|
7435
|
+
// this seat and its cost go beside it, priced like the vote rollup.
|
|
7436
|
+
...servedOutcomeFields({
|
|
7437
|
+
model: vote.model,
|
|
7438
|
+
gatewayArm: vote.gatewayArm,
|
|
7439
|
+
inputTokens: vote.inputTokens,
|
|
7440
|
+
outputTokens: vote.outputTokens
|
|
7441
|
+
}),
|
|
7421
7442
|
...!voteSuccess && vote.error !== void 0 ? {
|
|
7422
7443
|
failureCategory: categorizeOutcomeErrorMessage(vote.error),
|
|
7423
7444
|
errorMessage: vote.error.slice(0, 500)
|
|
@@ -7444,10 +7465,7 @@ function reportedTokenFields(v) {
|
|
|
7444
7465
|
function voteCostDetail(v) {
|
|
7445
7466
|
const hasTokens = v.inputTokens !== void 0 || v.outputTokens !== void 0;
|
|
7446
7467
|
if (!hasTokens || v.model === void 0) return void 0;
|
|
7447
|
-
|
|
7448
|
-
const output = v.outputTokens ?? 0;
|
|
7449
|
-
if (v.gatewayArm !== void 0) return gatewayCostDetail(v.gatewayArm, v.model, input, output);
|
|
7450
|
-
return computeCostDetail(v.model, input, output);
|
|
7468
|
+
return servedCostDetail(v.gatewayArm, v.model, v.inputTokens ?? 0, v.outputTokens ?? 0);
|
|
7451
7469
|
}
|
|
7452
7470
|
function votesToCostInputs(votes) {
|
|
7453
7471
|
return votes.map((v) => {
|
|
@@ -9841,6 +9859,7 @@ export {
|
|
|
9841
9859
|
DEFAULT_VOTE_TIMEOUT_MS,
|
|
9842
9860
|
isRateLimitError,
|
|
9843
9861
|
PersistentOutcomeStore,
|
|
9862
|
+
servedOutcomeFields,
|
|
9844
9863
|
VoteRecordPrBindingSchema,
|
|
9845
9864
|
isAbsentSeat,
|
|
9846
9865
|
NoAdapterError,
|
|
@@ -9919,4 +9938,4 @@ export {
|
|
|
9919
9938
|
CONSENSUS_VOTE_TOOL_SCHEMA,
|
|
9920
9939
|
registerConsensusVoteTool
|
|
9921
9940
|
};
|
|
9922
|
-
//# sourceMappingURL=chunk-
|
|
9941
|
+
//# sourceMappingURL=chunk-ELGOF7OT.js.map
|