nexus-agents 8.102.2 → 8.103.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-WWUOS722.js → ast-rule-runner-H2VFAOT4.js} +3 -3
- package/dist/{child-mcp-config-U3I7K7BT.js → child-mcp-config-Y3DPCM6L.js} +2 -2
- package/dist/{chunk-HVJIQLBC.js → chunk-3H62U2MH.js} +2 -2
- package/dist/{chunk-PAICM2DX.js → chunk-46CXXIQ4.js} +4 -4
- package/dist/{chunk-JASILDK4.js → chunk-4WIJ2LKW.js} +3 -3
- package/dist/{chunk-XROOAW6C.js → chunk-5EFWZHUV.js} +2 -2
- package/dist/{chunk-MYLHKD32.js → chunk-6NROQXOM.js} +2 -2
- package/dist/{chunk-L265O6SP.js → chunk-7VZXPXC4.js} +4 -4
- package/dist/{chunk-YBV7HIRX.js → chunk-ALX7T72L.js} +38 -20
- package/dist/chunk-ALX7T72L.js.map +1 -0
- package/dist/{chunk-2I2I3DRA.js → chunk-BGATTU3Z.js} +5 -5
- package/dist/{chunk-GVSSUYBR.js → chunk-DIPNNIVK.js} +5 -5
- package/dist/{chunk-C4T7UI2R.js → chunk-E5QULKGJ.js} +24 -13
- package/dist/chunk-E5QULKGJ.js.map +1 -0
- package/dist/{chunk-D5EDP3EQ.js → chunk-FAO37OT4.js} +2 -2
- package/dist/{chunk-CDCEDAEO.js → chunk-KDNWXGUF.js} +2 -2
- package/dist/{chunk-5ML3THNH.js → chunk-KEN3STUW.js} +7 -7
- package/dist/{chunk-7YPSWDOV.js → chunk-KUT76BHZ.js} +2 -2
- package/dist/{chunk-BYRIEU5S.js → chunk-L6RAO6KC.js} +2 -2
- package/dist/{chunk-QHMUW6G7.js → chunk-LHI66BKG.js} +4 -4
- package/dist/{chunk-RGW4TLFO.js → chunk-MPQDZVC6.js} +3 -3
- package/dist/{chunk-OCXGPXG2.js → chunk-MUMQRZM5.js} +2 -2
- package/dist/{chunk-LKMB7ZPK.js → chunk-NFBKSKEE.js} +3 -3
- package/dist/{chunk-YKC7ICXJ.js → chunk-NZNPMI3W.js} +10 -2
- package/dist/chunk-NZNPMI3W.js.map +1 -0
- package/dist/{chunk-YSLHLLRK.js → chunk-ONMUMFUN.js} +2 -2
- package/dist/{chunk-AWUTGAQN.js → chunk-QSXDLYV4.js} +2 -2
- package/dist/{chunk-UA3TQ773.js → chunk-QYWR7LJP.js} +2 -2
- package/dist/{chunk-NCQGSHEH.js → chunk-RL2O37NE.js} +2 -2
- package/dist/{chunk-NACTU45C.js → chunk-SIPFKN6U.js} +2 -2
- package/dist/{chunk-2ON7ZOBD.js → chunk-TNBHH2XO.js} +39 -39
- package/dist/{chunk-XWMT6ZSS.js → chunk-TQ6OKB3G.js} +12 -12
- package/dist/{chunk-6NYFFN42.js → chunk-V7VGNFAN.js} +4 -4
- package/dist/{chunk-KMY3NA44.js → chunk-W76A3RPF.js} +2 -2
- package/dist/{chunk-BY5SXMN5.js → chunk-W7HVGLPS.js} +2 -2
- package/dist/{chunk-TBTXBJ7T.js → chunk-WVVJWPZT.js} +3 -3
- package/dist/{chunk-V3YMUA74.js → chunk-WWBB6HUI.js} +4 -4
- package/dist/{chunk-ZR5JWLC5.js → chunk-X7BYCDQN.js} +4 -3
- package/dist/chunk-X7BYCDQN.js.map +1 -0
- package/dist/{chunk-ODLIA33L.js → chunk-XKJYFHPO.js} +2 -2
- package/dist/{cli-circuit-breaker-V2BTK5ZW.js → cli-circuit-breaker-LYB4F3VP.js} +3 -3
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +53 -46
- package/dist/cli.js.map +1 -1
- package/dist/{composite-router-RX3JZYIE.js → composite-router-OLXAFCJE.js} +2 -2
- package/dist/{consensus-vote-4ET2GP6B.js → consensus-vote-SWMMGIJU.js} +16 -16
- package/dist/{consensus-vote-types-0WGuII6a.d.ts → consensus-vote-types-rAhTNGvq.d.ts} +37 -2
- package/dist/{context-retriever-IK253TWS.js → context-retriever-5C5MS2ZF.js} +8 -8
- package/dist/{doctor-deep-5K4BPYSH.js → doctor-deep-YLOG5CAD.js} +3 -3
- package/dist/{doctor-gateway-report-MRSOR4TR.js → doctor-gateway-report-JNOMZGSQ.js} +6 -6
- package/dist/{doctor-live-QW4XTIZW.js → doctor-live-SRNNC37A.js} +10 -10
- package/dist/{expert-bridge-IWTCC652.js → expert-bridge-H4EOOXWB.js} +4 -4
- package/dist/{factory-IQRYHF2K.js → factory-FHJ42ORZ.js} +5 -5
- package/dist/{factory-ZPHF32DK.js → factory-VOICDXGX.js} +9 -9
- package/dist/{improvement-review-WQYWT3GP.js → improvement-review-OW2MEP4O.js} +5 -5
- package/dist/index.d.ts +8 -4
- package/dist/index.js +31 -31
- package/dist/{init-opencode-6VPDLKMF.js → init-opencode-ZO7MEDSW.js} +5 -5
- package/dist/issue-triage-KEE4DN4M.js +16 -0
- package/dist/{openai-compat-adapter-5WAMUIQA.js → openai-compat-adapter-WKXMQE62.js} +5 -5
- package/dist/{pr-reviewer-helpers-SNUDE5TO.js → pr-reviewer-helpers-UMNXRN2R.js} +4 -4
- package/dist/{registry-command-APTVRLDC.js → registry-command-A4SZT4UX.js} +2 -2
- package/dist/{repo-security-plan-4JQGVAZZ.js → repo-security-plan-XF5N6D6R.js} +3 -3
- package/dist/{research-helpers-synthesize-65NCBD5R.js → research-helpers-synthesize-SKK7U6KA.js} +4 -4
- package/dist/{routing-memory-FH63BFPW.js → routing-memory-64AEPNLI.js} +2 -2
- package/dist/{session-memory-VGDP7YE3.js → session-memory-EWRSQOIF.js} +3 -3
- package/dist/{setup-config-EZ5SSK6U.js → setup-config-RDVRYJLA.js} +3 -3
- package/dist/{setup-custom-api-3HDBQLOX.js → setup-custom-api-65DC33O2.js} +4 -4
- package/dist/setup-data-dir-O7LK4JUO.js +33 -0
- package/dist/{tool-memory-P3ANNLKT.js → tool-memory-WVKKXZ4E.js} +5 -5
- package/dist/{unified-registry-UBGBRRBV.js → unified-registry-6YJ2LONB.js} +10 -10
- package/dist/{weather-report-PBMB3PYV.js → weather-report-GL3FCWG4.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-C4T7UI2R.js.map +0 -1
- package/dist/chunk-YBV7HIRX.js.map +0 -1
- package/dist/chunk-YKC7ICXJ.js.map +0 -1
- package/dist/chunk-ZR5JWLC5.js.map +0 -1
- package/dist/issue-triage-TD4LKVPI.js +0 -16
- package/dist/setup-data-dir-2EVIVSKU.js +0 -33
- /package/dist/{ast-rule-runner-WWUOS722.js.map → ast-rule-runner-H2VFAOT4.js.map} +0 -0
- /package/dist/{child-mcp-config-U3I7K7BT.js.map → child-mcp-config-Y3DPCM6L.js.map} +0 -0
- /package/dist/{chunk-HVJIQLBC.js.map → chunk-3H62U2MH.js.map} +0 -0
- /package/dist/{chunk-PAICM2DX.js.map → chunk-46CXXIQ4.js.map} +0 -0
- /package/dist/{chunk-JASILDK4.js.map → chunk-4WIJ2LKW.js.map} +0 -0
- /package/dist/{chunk-XROOAW6C.js.map → chunk-5EFWZHUV.js.map} +0 -0
- /package/dist/{chunk-MYLHKD32.js.map → chunk-6NROQXOM.js.map} +0 -0
- /package/dist/{chunk-L265O6SP.js.map → chunk-7VZXPXC4.js.map} +0 -0
- /package/dist/{chunk-2I2I3DRA.js.map → chunk-BGATTU3Z.js.map} +0 -0
- /package/dist/{chunk-GVSSUYBR.js.map → chunk-DIPNNIVK.js.map} +0 -0
- /package/dist/{chunk-D5EDP3EQ.js.map → chunk-FAO37OT4.js.map} +0 -0
- /package/dist/{chunk-CDCEDAEO.js.map → chunk-KDNWXGUF.js.map} +0 -0
- /package/dist/{chunk-5ML3THNH.js.map → chunk-KEN3STUW.js.map} +0 -0
- /package/dist/{chunk-7YPSWDOV.js.map → chunk-KUT76BHZ.js.map} +0 -0
- /package/dist/{chunk-BYRIEU5S.js.map → chunk-L6RAO6KC.js.map} +0 -0
- /package/dist/{chunk-QHMUW6G7.js.map → chunk-LHI66BKG.js.map} +0 -0
- /package/dist/{chunk-RGW4TLFO.js.map → chunk-MPQDZVC6.js.map} +0 -0
- /package/dist/{chunk-OCXGPXG2.js.map → chunk-MUMQRZM5.js.map} +0 -0
- /package/dist/{chunk-LKMB7ZPK.js.map → chunk-NFBKSKEE.js.map} +0 -0
- /package/dist/{chunk-YSLHLLRK.js.map → chunk-ONMUMFUN.js.map} +0 -0
- /package/dist/{chunk-AWUTGAQN.js.map → chunk-QSXDLYV4.js.map} +0 -0
- /package/dist/{chunk-UA3TQ773.js.map → chunk-QYWR7LJP.js.map} +0 -0
- /package/dist/{chunk-NCQGSHEH.js.map → chunk-RL2O37NE.js.map} +0 -0
- /package/dist/{chunk-NACTU45C.js.map → chunk-SIPFKN6U.js.map} +0 -0
- /package/dist/{chunk-2ON7ZOBD.js.map → chunk-TNBHH2XO.js.map} +0 -0
- /package/dist/{chunk-XWMT6ZSS.js.map → chunk-TQ6OKB3G.js.map} +0 -0
- /package/dist/{chunk-6NYFFN42.js.map → chunk-V7VGNFAN.js.map} +0 -0
- /package/dist/{chunk-KMY3NA44.js.map → chunk-W76A3RPF.js.map} +0 -0
- /package/dist/{chunk-BY5SXMN5.js.map → chunk-W7HVGLPS.js.map} +0 -0
- /package/dist/{chunk-TBTXBJ7T.js.map → chunk-WVVJWPZT.js.map} +0 -0
- /package/dist/{chunk-V3YMUA74.js.map → chunk-WWBB6HUI.js.map} +0 -0
- /package/dist/{chunk-ODLIA33L.js.map → chunk-XKJYFHPO.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-V2BTK5ZW.js.map → cli-circuit-breaker-LYB4F3VP.js.map} +0 -0
- /package/dist/{composite-router-RX3JZYIE.js.map → composite-router-OLXAFCJE.js.map} +0 -0
- /package/dist/{consensus-vote-4ET2GP6B.js.map → consensus-vote-SWMMGIJU.js.map} +0 -0
- /package/dist/{context-retriever-IK253TWS.js.map → context-retriever-5C5MS2ZF.js.map} +0 -0
- /package/dist/{doctor-deep-5K4BPYSH.js.map → doctor-deep-YLOG5CAD.js.map} +0 -0
- /package/dist/{doctor-gateway-report-MRSOR4TR.js.map → doctor-gateway-report-JNOMZGSQ.js.map} +0 -0
- /package/dist/{doctor-live-QW4XTIZW.js.map → doctor-live-SRNNC37A.js.map} +0 -0
- /package/dist/{expert-bridge-IWTCC652.js.map → expert-bridge-H4EOOXWB.js.map} +0 -0
- /package/dist/{factory-IQRYHF2K.js.map → factory-FHJ42ORZ.js.map} +0 -0
- /package/dist/{factory-ZPHF32DK.js.map → factory-VOICDXGX.js.map} +0 -0
- /package/dist/{improvement-review-WQYWT3GP.js.map → improvement-review-OW2MEP4O.js.map} +0 -0
- /package/dist/{init-opencode-6VPDLKMF.js.map → init-opencode-ZO7MEDSW.js.map} +0 -0
- /package/dist/{issue-triage-TD4LKVPI.js.map → issue-triage-KEE4DN4M.js.map} +0 -0
- /package/dist/{openai-compat-adapter-5WAMUIQA.js.map → openai-compat-adapter-WKXMQE62.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-SNUDE5TO.js.map → pr-reviewer-helpers-UMNXRN2R.js.map} +0 -0
- /package/dist/{registry-command-APTVRLDC.js.map → registry-command-A4SZT4UX.js.map} +0 -0
- /package/dist/{repo-security-plan-4JQGVAZZ.js.map → repo-security-plan-XF5N6D6R.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-65NCBD5R.js.map → research-helpers-synthesize-SKK7U6KA.js.map} +0 -0
- /package/dist/{routing-memory-FH63BFPW.js.map → routing-memory-64AEPNLI.js.map} +0 -0
- /package/dist/{session-memory-VGDP7YE3.js.map → session-memory-EWRSQOIF.js.map} +0 -0
- /package/dist/{setup-config-EZ5SSK6U.js.map → setup-config-RDVRYJLA.js.map} +0 -0
- /package/dist/{setup-custom-api-3HDBQLOX.js.map → setup-custom-api-65DC33O2.js.map} +0 -0
- /package/dist/{setup-data-dir-2EVIVSKU.js.map → setup-data-dir-O7LK4JUO.js.map} +0 -0
- /package/dist/{tool-memory-P3ANNLKT.js.map → tool-memory-WVKKXZ4E.js.map} +0 -0
- /package/dist/{unified-registry-UBGBRRBV.js.map → unified-registry-6YJ2LONB.js.map} +0 -0
- /package/dist/{weather-report-PBMB3PYV.js.map → weather-report-GL3FCWG4.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-5EFWZHUV.js";
|
|
13
|
+
import "./chunk-X7BYCDQN.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-H2VFAOT4.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-X7BYCDQN.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-Y3DPCM6L.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getErrorMessage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-X7BYCDQN.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-3H62U2MH.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-RL2O37NE.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-KUT76BHZ.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-X7BYCDQN.js";
|
|
33
33
|
import {
|
|
34
34
|
nexusDataPath
|
|
35
35
|
} from "./chunk-LWOX65CP.js";
|
|
@@ -5768,4 +5768,4 @@ export {
|
|
|
5768
5768
|
shutdownToolMemory,
|
|
5769
5769
|
ToolMemoryManager
|
|
5770
5770
|
};
|
|
5771
|
-
//# sourceMappingURL=chunk-
|
|
5771
|
+
//# sourceMappingURL=chunk-46CXXIQ4.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
toolStructuredError,
|
|
8
8
|
toolSuccessStructured,
|
|
9
9
|
wrapToolWithTimeout
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WVVJWPZT.js";
|
|
11
11
|
import {
|
|
12
12
|
JsonlStore,
|
|
13
13
|
SECURITY_KEYWORDS,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
hasMeasuredCategory,
|
|
22
22
|
isDeclaredNeverDeprecate,
|
|
23
23
|
isRegisteredToolName
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-X7BYCDQN.js";
|
|
25
25
|
import {
|
|
26
26
|
getNexusDataDir,
|
|
27
27
|
nexusDataPath
|
|
@@ -2284,4 +2284,4 @@ export {
|
|
|
2284
2284
|
runImprovementReview,
|
|
2285
2285
|
registerImprovementReviewTool
|
|
2286
2286
|
};
|
|
2287
|
-
//# sourceMappingURL=chunk-
|
|
2287
|
+
//# sourceMappingURL=chunk-4WIJ2LKW.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
ValidationError,
|
|
4
4
|
createLogger,
|
|
5
5
|
formatZodError
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-X7BYCDQN.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-5EFWZHUV.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
createLogger,
|
|
6
6
|
getTimeProvider
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-X7BYCDQN.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-6NROQXOM.js.map
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
createOpenAICompatAdapter,
|
|
4
4
|
discoverGatewayCatalog,
|
|
5
5
|
readOpenAICompatEnv
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LHI66BKG.js";
|
|
7
7
|
import {
|
|
8
8
|
gatewayProxyUrl
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FAO37OT4.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_OPENAI_COMPAT_ENDPOINT,
|
|
12
12
|
GATEWAY_COST_ENV,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
getTimeProvider,
|
|
23
23
|
symbols,
|
|
24
24
|
writeLine
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-X7BYCDQN.js";
|
|
26
26
|
|
|
27
27
|
// src/cli/doctor-gateway.ts
|
|
28
28
|
var PROBE_FAMILIES = ["anthropic", "openai", "google"];
|
|
@@ -319,4 +319,4 @@ export {
|
|
|
319
319
|
formatGatewayReport,
|
|
320
320
|
formatGatewaySlotWarnings
|
|
321
321
|
};
|
|
322
|
-
//# sourceMappingURL=chunk-
|
|
322
|
+
//# sourceMappingURL=chunk-7VZXPXC4.js.map
|
|
@@ -19,16 +19,16 @@ import {
|
|
|
19
19
|
toolSuccessStructured,
|
|
20
20
|
withProgressHeartbeat,
|
|
21
21
|
wrapToolWithTimeout
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-WVVJWPZT.js";
|
|
23
23
|
import {
|
|
24
24
|
VERSION
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-ONMUMFUN.js";
|
|
26
26
|
import {
|
|
27
27
|
allOf
|
|
28
28
|
} from "./chunk-EZNIYU5T.js";
|
|
29
29
|
import {
|
|
30
30
|
isGatewayModelAdapter
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-LHI66BKG.js";
|
|
32
32
|
import {
|
|
33
33
|
UNRESOLVED_MODEL_ID,
|
|
34
34
|
assessPanelIndependence,
|
|
@@ -36,23 +36,23 @@ import {
|
|
|
36
36
|
countDistinctModels,
|
|
37
37
|
createEvent,
|
|
38
38
|
getGlobalRegistry
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-V7VGNFAN.js";
|
|
40
40
|
import {
|
|
41
41
|
getToolMemory
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-46CXXIQ4.js";
|
|
43
43
|
import {
|
|
44
44
|
delay,
|
|
45
45
|
getAvailableClis,
|
|
46
46
|
sleep,
|
|
47
47
|
withTimeout
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-E5QULKGJ.js";
|
|
49
49
|
import {
|
|
50
50
|
sanitizeErrorDetails,
|
|
51
51
|
sanitizeOutput
|
|
52
52
|
} from "./chunk-2NDA4DHW.js";
|
|
53
53
|
import {
|
|
54
54
|
isTimeoutText
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-QSXDLYV4.js";
|
|
56
56
|
import {
|
|
57
57
|
AgentError,
|
|
58
58
|
CLI_NAMES,
|
|
@@ -63,6 +63,7 @@ import {
|
|
|
63
63
|
OutcomeStore,
|
|
64
64
|
TaskOutcomeSchema,
|
|
65
65
|
UNDECLARED_OPTIONS_EXCERPT_CHARS,
|
|
66
|
+
UNKNOWN_MODEL,
|
|
66
67
|
VOTE_TIMEOUTS,
|
|
67
68
|
authRemediation,
|
|
68
69
|
categorizeOutcomeErrorMessage,
|
|
@@ -93,7 +94,7 @@ import {
|
|
|
93
94
|
resolveVoteTimeout,
|
|
94
95
|
servedCostDetail,
|
|
95
96
|
stepBus
|
|
96
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-X7BYCDQN.js";
|
|
97
98
|
import {
|
|
98
99
|
ensureLearningDir,
|
|
99
100
|
getOutcomesFile
|
|
@@ -2000,7 +2001,10 @@ async function runVoteCompletion(args) {
|
|
|
2000
2001
|
cliStderr: response.value.cliStderr,
|
|
2001
2002
|
// #6115: the alias the seat asked for, when the CLI answered on another
|
|
2002
2003
|
// one of its family (#6120) — the seat's result discloses it as a fallback.
|
|
2003
|
-
fallbackFrom: response.value.fallbackFrom
|
|
2004
|
+
fallbackFrom: response.value.fallbackFrom,
|
|
2005
|
+
// #6660: the model the adapter reported answering — not `adapter.modelId`,
|
|
2006
|
+
// the alias requested. An empty report is no report.
|
|
2007
|
+
servedModel: response.value.model === "" ? void 0 : response.value.model
|
|
2004
2008
|
};
|
|
2005
2009
|
}
|
|
2006
2010
|
async function executeSingleVoteAttempt(role, proposal, adapter, timeoutMs, context = {}) {
|
|
@@ -2026,7 +2030,8 @@ async function executeSingleVoteAttempt(role, proposal, adapter, timeoutMs, cont
|
|
|
2026
2030
|
output: completion.output,
|
|
2027
2031
|
usage: completion.usage,
|
|
2028
2032
|
cliStderr: completion.cliStderr,
|
|
2029
|
-
fallbackFrom: completion.fallbackFrom
|
|
2033
|
+
fallbackFrom: completion.fallbackFrom,
|
|
2034
|
+
servedModel: completion.servedModel
|
|
2030
2035
|
};
|
|
2031
2036
|
} catch (error) {
|
|
2032
2037
|
if (error instanceof SyntheticVoteError) {
|
|
@@ -2067,8 +2072,8 @@ async function executeWithRetries(opts) {
|
|
|
2067
2072
|
attemptMs,
|
|
2068
2073
|
succeeded: true
|
|
2069
2074
|
});
|
|
2070
|
-
const { vote, usage, cliStderr, fallbackFrom } = result;
|
|
2071
|
-
return { vote, usage, cliStderr, fallbackFrom, ok: true };
|
|
2075
|
+
const { vote, usage, cliStderr, fallbackFrom, servedModel } = result;
|
|
2076
|
+
return { vote, usage, cliStderr, fallbackFrom, servedModel, ok: true };
|
|
2072
2077
|
}
|
|
2073
2078
|
lastError = result.error;
|
|
2074
2079
|
const terminal = logFailedAttempt(logger11, {
|
|
@@ -2324,7 +2329,7 @@ function computeOverallConsensusDeadlineMs(timeoutMs, maxRetries, roleCount, int
|
|
|
2324
2329
|
}
|
|
2325
2330
|
var DEFAULT_INTER_AGENT_DELAY_MS = 2e3;
|
|
2326
2331
|
var defaultLogger = createLogger({ component: "voter-agents" });
|
|
2327
|
-
function buildLlmVoteResult(role, { vote, usage, fallbackFrom }, adapter, processingTimeMs) {
|
|
2332
|
+
function buildLlmVoteResult(role, { vote, usage, fallbackFrom, servedModel }, adapter, processingTimeMs) {
|
|
2328
2333
|
return {
|
|
2329
2334
|
role,
|
|
2330
2335
|
vote,
|
|
@@ -2332,6 +2337,9 @@ function buildLlmVoteResult(role, { vote, usage, fallbackFrom }, adapter, proces
|
|
|
2332
2337
|
source: "llm",
|
|
2333
2338
|
cli: adapter.providerId,
|
|
2334
2339
|
model: adapter.modelId,
|
|
2340
|
+
// #6660: the model that answered, as the adapter reported it — the
|
|
2341
|
+
// outcome row names and prices this one, not the requested `model`.
|
|
2342
|
+
...servedModel !== void 0 ? { servedModel } : {},
|
|
2335
2343
|
// #4392 step 4: which gateway arm served the seat, so the cost rollup
|
|
2336
2344
|
// prices it by the arm's declaration and not the model id's list price.
|
|
2337
2345
|
...isGatewayModelAdapter(adapter) ? { gatewayArm: adapter.gatewayArm } : {},
|
|
@@ -6190,13 +6198,15 @@ function seatFallbacks(votes) {
|
|
|
6190
6198
|
return out;
|
|
6191
6199
|
}
|
|
6192
6200
|
function panelDiversityOf(votes) {
|
|
6193
|
-
const
|
|
6201
|
+
const resolved = answeringSeats(votes).map(resolvedModel);
|
|
6202
|
+
const models = resolved.filter((m) => m !== void 0);
|
|
6194
6203
|
const families = models.map(vendorFamilyOf);
|
|
6195
6204
|
const classified = families.filter((f) => f !== "unknown");
|
|
6196
6205
|
return {
|
|
6197
6206
|
distinctModels: countDistinctModels(models),
|
|
6198
6207
|
distinctFamilies: new Set(classified).size,
|
|
6199
6208
|
unclassifiedSeats: families.length - classified.length,
|
|
6209
|
+
unresolvedSeats: resolved.length - models.length,
|
|
6200
6210
|
fallbacks: seatFallbacks(votes).length
|
|
6201
6211
|
};
|
|
6202
6212
|
}
|
|
@@ -6639,7 +6649,7 @@ function logPartialProposal(bounded, log) {
|
|
|
6639
6649
|
}
|
|
6640
6650
|
async function runContrarianCheck(proposal, log, opts) {
|
|
6641
6651
|
try {
|
|
6642
|
-
const { executeExpert } = await import("./expert-bridge-
|
|
6652
|
+
const { executeExpert } = await import("./expert-bridge-H4EOOXWB.js");
|
|
6643
6653
|
const bounded = boundArtifactForReview(proposal, CONTRARIAN_PROPOSAL_BUDGET, "proposal");
|
|
6644
6654
|
logPartialProposal(bounded, log);
|
|
6645
6655
|
const result = await executeExpert("architecture", buildContrarianPrompt(bounded, opts), {
|
|
@@ -7435,8 +7445,11 @@ function recordVoteOutcomes(votes) {
|
|
|
7435
7445
|
voterRole: vote.role,
|
|
7436
7446
|
// #6624 — `model` stays the `consensus` marker; the model that sat
|
|
7437
7447
|
// this seat and its cost go beside it, priced like the vote rollup.
|
|
7448
|
+
// #6660 — the model the adapter REPORTED answering, never `vote.model`
|
|
7449
|
+
// (the alias requested): a seat that fell back to another model was
|
|
7450
|
+
// named, and priced, as the one it asked for.
|
|
7438
7451
|
...servedOutcomeFields({
|
|
7439
|
-
model: vote.
|
|
7452
|
+
model: vote.servedModel,
|
|
7440
7453
|
gatewayArm: vote.gatewayArm,
|
|
7441
7454
|
inputTokens: vote.inputTokens,
|
|
7442
7455
|
outputTokens: vote.outputTokens
|
|
@@ -7466,15 +7479,17 @@ function reportedTokenFields(v) {
|
|
|
7466
7479
|
}
|
|
7467
7480
|
function voteCostDetail(v) {
|
|
7468
7481
|
const hasTokens = v.inputTokens !== void 0 || v.outputTokens !== void 0;
|
|
7469
|
-
if (!hasTokens
|
|
7470
|
-
|
|
7482
|
+
if (!hasTokens) return void 0;
|
|
7483
|
+
if (v.servedModel === void 0) return { costUsd: 0, priced: false, resolvedId: UNKNOWN_MODEL };
|
|
7484
|
+
return servedCostDetail(v.gatewayArm, v.servedModel, v.inputTokens ?? 0, v.outputTokens ?? 0);
|
|
7471
7485
|
}
|
|
7472
7486
|
function votesToCostInputs(votes) {
|
|
7473
7487
|
return votes.map((v) => {
|
|
7474
7488
|
const detail = voteCostDetail(v);
|
|
7475
7489
|
const input = {
|
|
7476
7490
|
role: v.role,
|
|
7477
|
-
|
|
7491
|
+
// #6663: the model that answered, the one the cost is priced at.
|
|
7492
|
+
model: v.servedModel,
|
|
7478
7493
|
// #6115: the assignment beside the model that answered.
|
|
7479
7494
|
...v.assignedCli !== void 0 ? { assignedCli: v.assignedCli } : {},
|
|
7480
7495
|
...reportedTokenFields(v),
|
|
@@ -9770,6 +9785,9 @@ var CONSENSUS_VOTE_OUTPUT_SCHEMA = {
|
|
|
9770
9785
|
// answering seats whose model names no recognised vendor.
|
|
9771
9786
|
distinctFamilies: z16.number().int().nonnegative(),
|
|
9772
9787
|
unclassifiedSeats: z16.number().int().nonnegative(),
|
|
9788
|
+
// #6660: answering seats whose model never resolved. Always set by
|
|
9789
|
+
// panelDiversityOf; optional so the published schema widens additively.
|
|
9790
|
+
unresolvedSeats: z16.number().int().nonnegative().optional(),
|
|
9773
9791
|
fallbacks: z16.number().int().nonnegative()
|
|
9774
9792
|
}).optional(),
|
|
9775
9793
|
// #3855: per-decision cost rollup. Same omission as panelWarning (#4032) — it
|
|
@@ -9940,4 +9958,4 @@ export {
|
|
|
9940
9958
|
CONSENSUS_VOTE_TOOL_SCHEMA,
|
|
9941
9959
|
registerConsensusVoteTool
|
|
9942
9960
|
};
|
|
9943
|
-
//# sourceMappingURL=chunk-
|
|
9961
|
+
//# sourceMappingURL=chunk-ALX7T72L.js.map
|