nexus-agents 8.131.4 → 8.131.6
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-SMEE7RYS.js → ast-rule-runner-DCAXFGPG.js} +3 -3
- package/dist/{child-mcp-config-EGYYY7H5.js → child-mcp-config-46PI4CDD.js} +2 -2
- package/dist/{chunk-XUPZ5LUK.js → chunk-3446TBB7.js} +4 -4
- package/dist/{chunk-GAZRHKPI.js → chunk-3KQJUD4J.js} +3 -3
- package/dist/{chunk-24J3GS2G.js → chunk-4MUBZFRJ.js} +2 -2
- package/dist/{chunk-RT2RZ2N3.js → chunk-5FML33AZ.js} +3 -3
- package/dist/{chunk-4I3GJWP7.js → chunk-733FNXLT.js} +5 -5
- package/dist/{chunk-2H6SOV56.js → chunk-ABRG2C4Q.js} +4 -4
- package/dist/{chunk-TK7GELG7.js → chunk-BJUFLV25.js} +4 -4
- package/dist/{chunk-SWM3UQVB.js → chunk-CGGKU72Q.js} +2 -2
- package/dist/{chunk-OPIP264O.js → chunk-CL6PLSGC.js} +3 -3
- package/dist/{chunk-PWVXFZC6.js → chunk-CS2Z4U44.js} +4 -4
- package/dist/{chunk-VIBLSP2T.js → chunk-DFRCMAGB.js} +57 -44
- package/dist/{chunk-VIBLSP2T.js.map → chunk-DFRCMAGB.js.map} +1 -1
- package/dist/{chunk-IX4T2OZK.js → chunk-DJKUORAD.js} +3 -3
- package/dist/{chunk-4EDCJTGY.js → chunk-EZ5T4NKW.js} +2 -2
- package/dist/{chunk-Z6O7SWLZ.js → chunk-FPSMQBJD.js} +9 -9
- package/dist/{chunk-UC2QFHD3.js → chunk-FRZSCLHF.js} +7 -7
- package/dist/{chunk-UAGNX4MV.js → chunk-GC3UWE32.js} +2 -2
- package/dist/{chunk-JCKH5Q3G.js → chunk-HDANGHKN.js} +2 -2
- package/dist/{chunk-JPEDMS2W.js → chunk-ILDOTFTF.js} +2 -2
- package/dist/{chunk-ILXLX2QB.js → chunk-KT5ZLKZ3.js} +2 -2
- package/dist/{chunk-ZYKJCJGF.js → chunk-MONAUBHI.js} +11 -11
- package/dist/{chunk-AW7OAZP5.js → chunk-MRBD2WNF.js} +2 -2
- package/dist/{chunk-WG3R5JFJ.js → chunk-NANNGTSF.js} +5 -5
- package/dist/{chunk-CEPCDDL6.js → chunk-NJW2PXCF.js} +2 -2
- package/dist/{chunk-53SE2SML.js → chunk-NM5MOHXO.js} +5 -5
- package/dist/{chunk-XMI6V44P.js → chunk-PNVKGNAB.js} +3 -3
- package/dist/{chunk-JYCRKUFW.js → chunk-QMDAAVBN.js} +6 -6
- package/dist/{chunk-45LK6KOK.js → chunk-REFGTW22.js} +12 -12
- package/dist/{chunk-4566OBYW.js → chunk-TGJ4MLBI.js} +7 -6
- package/dist/chunk-TGJ4MLBI.js.map +1 -0
- package/dist/{chunk-3U5CO6JR.js → chunk-TQAZKT7M.js} +2 -2
- package/dist/{chunk-QWSLDY4R.js → chunk-U5SGPCPU.js} +95 -63
- package/dist/chunk-U5SGPCPU.js.map +1 -0
- package/dist/{chunk-RJJWQFTK.js → chunk-UQNPJK6J.js} +2 -2
- package/dist/{chunk-3YC4DKBY.js → chunk-VYGYBX3C.js} +2 -2
- package/dist/{chunk-EIKL76VP.js → chunk-WT6HQEWS.js} +2 -2
- package/dist/{chunk-FHOAHIYC.js → chunk-YBX6XYRL.js} +2 -2
- package/dist/{chunk-NSTKD4T6.js → chunk-ZA77RUTM.js} +2 -2
- package/dist/{cli-circuit-breaker-LLCVUTDD.js → cli-circuit-breaker-PTXRXBG6.js} +3 -3
- package/dist/cli.js +119 -57
- package/dist/cli.js.map +1 -1
- package/dist/{composite-router-H4SCUKNA.js → composite-router-4HQZMR2Z.js} +2 -2
- package/dist/{consensus-vote-WRQVPISJ.js → consensus-vote-36ELETID.js} +17 -17
- package/dist/{context-retriever-P4ALBDH6.js → context-retriever-OA2CWQ75.js} +8 -8
- package/dist/{doctor-deep-BNHOYTGK.js → doctor-deep-K5KXYVQ7.js} +3 -3
- package/dist/{doctor-gateway-report-EJHJKEE7.js → doctor-gateway-report-O7YPYHE7.js} +8 -8
- package/dist/{doctor-live-WABLQ7IF.js → doctor-live-MRRVM7HO.js} +11 -11
- package/dist/{expert-bridge-UBJJ7VA6.js → expert-bridge-PMQSUIQW.js} +4 -4
- package/dist/{factory-AZOYPTG3.js → factory-776CIKXP.js} +5 -5
- package/dist/{factory-2P7VOA4W.js → factory-ZKLNQNR3.js} +10 -10
- package/dist/{improvement-review-VUCSKH24.js → improvement-review-V6YSSFDO.js} +6 -6
- package/dist/index.d.ts +3 -7
- package/dist/index.js +32 -32
- package/dist/{init-opencode-UVQVMCHG.js → init-opencode-LPWAYYR4.js} +6 -6
- package/dist/{issue-triage-HBM6RK3H.js → issue-triage-B3BRDZT6.js} +6 -6
- package/dist/{openai-compat-adapter-DOOGDW43.js → openai-compat-adapter-U54LJ7TJ.js} +6 -6
- package/dist/{outcome-store-adapter-UJPQYAUW.js → outcome-store-adapter-3EWXP7PY.js} +2 -2
- package/dist/{pr-reviewer-helpers-2YO45CBX.js → pr-reviewer-helpers-57TM7TCL.js} +4 -4
- package/dist/{registry-command-VGINIZAE.js → registry-command-4FIKBK5L.js} +2 -2
- package/dist/{repo-security-plan-EVDIUHDI.js → repo-security-plan-VGSGRZFE.js} +3 -3
- package/dist/{research-helpers-synthesize-BMVACM2N.js → research-helpers-synthesize-APUBTQMC.js} +4 -4
- package/dist/{routing-memory-E5WQ2YDY.js → routing-memory-EAI3JQ4W.js} +2 -2
- package/dist/{session-memory-RRFETFXN.js → session-memory-HTPPZPBQ.js} +3 -3
- package/dist/{setup-config-46VZEAJM.js → setup-config-4IL6HB2E.js} +3 -3
- package/dist/{setup-custom-api-YMDQK6YW.js → setup-custom-api-VCQ6SC2E.js} +4 -4
- package/dist/setup-data-dir-S4Q3RKX2.js +33 -0
- package/dist/{tool-memory-HXZQYP4L.js → tool-memory-ZEUMMKUC.js} +5 -5
- package/dist/{unified-registry-SAUDS2DQ.js → unified-registry-ATH2UJ2Y.js} +11 -11
- package/dist/{weather-report-C2M3EEXG.js → weather-report-VK5UMXSF.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-4566OBYW.js.map +0 -1
- package/dist/chunk-QWSLDY4R.js.map +0 -1
- package/dist/setup-data-dir-MDGUHYYP.js +0 -33
- /package/dist/{ast-rule-runner-SMEE7RYS.js.map → ast-rule-runner-DCAXFGPG.js.map} +0 -0
- /package/dist/{child-mcp-config-EGYYY7H5.js.map → child-mcp-config-46PI4CDD.js.map} +0 -0
- /package/dist/{chunk-XUPZ5LUK.js.map → chunk-3446TBB7.js.map} +0 -0
- /package/dist/{chunk-GAZRHKPI.js.map → chunk-3KQJUD4J.js.map} +0 -0
- /package/dist/{chunk-24J3GS2G.js.map → chunk-4MUBZFRJ.js.map} +0 -0
- /package/dist/{chunk-RT2RZ2N3.js.map → chunk-5FML33AZ.js.map} +0 -0
- /package/dist/{chunk-4I3GJWP7.js.map → chunk-733FNXLT.js.map} +0 -0
- /package/dist/{chunk-2H6SOV56.js.map → chunk-ABRG2C4Q.js.map} +0 -0
- /package/dist/{chunk-TK7GELG7.js.map → chunk-BJUFLV25.js.map} +0 -0
- /package/dist/{chunk-SWM3UQVB.js.map → chunk-CGGKU72Q.js.map} +0 -0
- /package/dist/{chunk-OPIP264O.js.map → chunk-CL6PLSGC.js.map} +0 -0
- /package/dist/{chunk-PWVXFZC6.js.map → chunk-CS2Z4U44.js.map} +0 -0
- /package/dist/{chunk-IX4T2OZK.js.map → chunk-DJKUORAD.js.map} +0 -0
- /package/dist/{chunk-4EDCJTGY.js.map → chunk-EZ5T4NKW.js.map} +0 -0
- /package/dist/{chunk-Z6O7SWLZ.js.map → chunk-FPSMQBJD.js.map} +0 -0
- /package/dist/{chunk-UC2QFHD3.js.map → chunk-FRZSCLHF.js.map} +0 -0
- /package/dist/{chunk-UAGNX4MV.js.map → chunk-GC3UWE32.js.map} +0 -0
- /package/dist/{chunk-JCKH5Q3G.js.map → chunk-HDANGHKN.js.map} +0 -0
- /package/dist/{chunk-JPEDMS2W.js.map → chunk-ILDOTFTF.js.map} +0 -0
- /package/dist/{chunk-ILXLX2QB.js.map → chunk-KT5ZLKZ3.js.map} +0 -0
- /package/dist/{chunk-ZYKJCJGF.js.map → chunk-MONAUBHI.js.map} +0 -0
- /package/dist/{chunk-AW7OAZP5.js.map → chunk-MRBD2WNF.js.map} +0 -0
- /package/dist/{chunk-WG3R5JFJ.js.map → chunk-NANNGTSF.js.map} +0 -0
- /package/dist/{chunk-CEPCDDL6.js.map → chunk-NJW2PXCF.js.map} +0 -0
- /package/dist/{chunk-53SE2SML.js.map → chunk-NM5MOHXO.js.map} +0 -0
- /package/dist/{chunk-XMI6V44P.js.map → chunk-PNVKGNAB.js.map} +0 -0
- /package/dist/{chunk-JYCRKUFW.js.map → chunk-QMDAAVBN.js.map} +0 -0
- /package/dist/{chunk-45LK6KOK.js.map → chunk-REFGTW22.js.map} +0 -0
- /package/dist/{chunk-3U5CO6JR.js.map → chunk-TQAZKT7M.js.map} +0 -0
- /package/dist/{chunk-RJJWQFTK.js.map → chunk-UQNPJK6J.js.map} +0 -0
- /package/dist/{chunk-3YC4DKBY.js.map → chunk-VYGYBX3C.js.map} +0 -0
- /package/dist/{chunk-EIKL76VP.js.map → chunk-WT6HQEWS.js.map} +0 -0
- /package/dist/{chunk-FHOAHIYC.js.map → chunk-YBX6XYRL.js.map} +0 -0
- /package/dist/{chunk-NSTKD4T6.js.map → chunk-ZA77RUTM.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-LLCVUTDD.js.map → cli-circuit-breaker-PTXRXBG6.js.map} +0 -0
- /package/dist/{composite-router-H4SCUKNA.js.map → composite-router-4HQZMR2Z.js.map} +0 -0
- /package/dist/{consensus-vote-WRQVPISJ.js.map → consensus-vote-36ELETID.js.map} +0 -0
- /package/dist/{context-retriever-P4ALBDH6.js.map → context-retriever-OA2CWQ75.js.map} +0 -0
- /package/dist/{doctor-deep-BNHOYTGK.js.map → doctor-deep-K5KXYVQ7.js.map} +0 -0
- /package/dist/{doctor-gateway-report-EJHJKEE7.js.map → doctor-gateway-report-O7YPYHE7.js.map} +0 -0
- /package/dist/{doctor-live-WABLQ7IF.js.map → doctor-live-MRRVM7HO.js.map} +0 -0
- /package/dist/{expert-bridge-UBJJ7VA6.js.map → expert-bridge-PMQSUIQW.js.map} +0 -0
- /package/dist/{factory-2P7VOA4W.js.map → factory-776CIKXP.js.map} +0 -0
- /package/dist/{factory-AZOYPTG3.js.map → factory-ZKLNQNR3.js.map} +0 -0
- /package/dist/{improvement-review-VUCSKH24.js.map → improvement-review-V6YSSFDO.js.map} +0 -0
- /package/dist/{init-opencode-UVQVMCHG.js.map → init-opencode-LPWAYYR4.js.map} +0 -0
- /package/dist/{issue-triage-HBM6RK3H.js.map → issue-triage-B3BRDZT6.js.map} +0 -0
- /package/dist/{openai-compat-adapter-DOOGDW43.js.map → openai-compat-adapter-U54LJ7TJ.js.map} +0 -0
- /package/dist/{outcome-store-adapter-UJPQYAUW.js.map → outcome-store-adapter-3EWXP7PY.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-2YO45CBX.js.map → pr-reviewer-helpers-57TM7TCL.js.map} +0 -0
- /package/dist/{registry-command-VGINIZAE.js.map → registry-command-4FIKBK5L.js.map} +0 -0
- /package/dist/{repo-security-plan-EVDIUHDI.js.map → repo-security-plan-VGSGRZFE.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-BMVACM2N.js.map → research-helpers-synthesize-APUBTQMC.js.map} +0 -0
- /package/dist/{routing-memory-E5WQ2YDY.js.map → routing-memory-EAI3JQ4W.js.map} +0 -0
- /package/dist/{session-memory-RRFETFXN.js.map → session-memory-HTPPZPBQ.js.map} +0 -0
- /package/dist/{setup-config-46VZEAJM.js.map → setup-config-4IL6HB2E.js.map} +0 -0
- /package/dist/{setup-custom-api-YMDQK6YW.js.map → setup-custom-api-VCQ6SC2E.js.map} +0 -0
- /package/dist/{setup-data-dir-MDGUHYYP.js.map → setup-data-dir-S4Q3RKX2.js.map} +0 -0
- /package/dist/{tool-memory-HXZQYP4L.js.map → tool-memory-ZEUMMKUC.js.map} +0 -0
- /package/dist/{unified-registry-SAUDS2DQ.js.map → unified-registry-ATH2UJ2Y.js.map} +0 -0
- /package/dist/{weather-report-C2M3EEXG.js.map → weather-report-VK5UMXSF.js.map} +0 -0
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
logGatewaySlotMapping,
|
|
8
8
|
resolveOwnerCli,
|
|
9
9
|
setGatewaySlotCatalog
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-U5SGPCPU.js";
|
|
11
11
|
|
|
12
12
|
// src/config/model-availability.ts
|
|
13
13
|
var DEFAULT_TTL_MS = 6e4;
|
|
@@ -139,7 +139,7 @@ function discoverGatewayOnce(logger = defaultLogger) {
|
|
|
139
139
|
}
|
|
140
140
|
async function runProbe(logger) {
|
|
141
141
|
try {
|
|
142
|
-
const { buildOpenAICompatAdapters: build } = await import("./openai-compat-adapter-
|
|
142
|
+
const { buildOpenAICompatAdapters: build } = await import("./openai-compat-adapter-U54LJ7TJ.js");
|
|
143
143
|
return await build(logger);
|
|
144
144
|
} catch (error) {
|
|
145
145
|
return err(new ConfigError(`Gateway discovery threw: ${getErrorMessage(error)}`));
|
|
@@ -269,4 +269,4 @@ export {
|
|
|
269
269
|
setGatewayRediscovery,
|
|
270
270
|
ensureGatewayDiscovered
|
|
271
271
|
};
|
|
272
|
-
//# sourceMappingURL=chunk-
|
|
272
|
+
//# sourceMappingURL=chunk-DJKUORAD.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
getErrorMessage,
|
|
8
8
|
getTimeProvider,
|
|
9
9
|
ok
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-U5SGPCPU.js";
|
|
11
11
|
|
|
12
12
|
// src/context/session-memory.ts
|
|
13
13
|
import * as fs from "node:fs";
|
|
@@ -374,4 +374,4 @@ export {
|
|
|
374
374
|
SessionMemory,
|
|
375
375
|
createSessionMemory
|
|
376
376
|
};
|
|
377
|
-
//# sourceMappingURL=chunk-
|
|
377
|
+
//# sourceMappingURL=chunk-EZ5T4NKW.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CUSTOM_API_DEFAULT_MODEL
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CGGKU72Q.js";
|
|
4
4
|
import {
|
|
5
5
|
nexusMkdtempSync
|
|
6
6
|
} from "./chunk-JPFRRNRR.js";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
ensureGatewayDiscovered,
|
|
9
9
|
gatewayDiscoveryStatus,
|
|
10
10
|
getAvailabilityCache
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-DJKUORAD.js";
|
|
12
12
|
import {
|
|
13
13
|
AdapterModelError,
|
|
14
14
|
BaseAdapter,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
requireApiKey,
|
|
20
20
|
validateApiKeyPresence,
|
|
21
21
|
withGatewayUsageRecording
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-YBX6XYRL.js";
|
|
23
23
|
import {
|
|
24
24
|
assertCustomApiHostResolvesPublic,
|
|
25
25
|
hostnameOf,
|
|
@@ -28,22 +28,22 @@ import {
|
|
|
28
28
|
readGatewayEnv,
|
|
29
29
|
redactApiKey,
|
|
30
30
|
validateCustomApiBaseUrl
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-ILDOTFTF.js";
|
|
32
32
|
import {
|
|
33
33
|
sanitizeOutput
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-ZA77RUTM.js";
|
|
35
35
|
import {
|
|
36
36
|
extractSystemPrompt
|
|
37
37
|
} from "./chunk-QZUG667L.js";
|
|
38
38
|
import {
|
|
39
39
|
generateHyphenId
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-GC3UWE32.js";
|
|
41
41
|
import {
|
|
42
42
|
CliCircuitBreaker,
|
|
43
43
|
DEFAULT_CIRCUIT_BREAKER_CONFIG,
|
|
44
44
|
getCliCircuitBreakerSnapshot,
|
|
45
45
|
getDefaultCliCircuitBreakerRegistry
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-4MUBZFRJ.js";
|
|
47
47
|
import {
|
|
48
48
|
CLI_NAMES,
|
|
49
49
|
CLI_SUBPROCESS_TIMEOUTS,
|
|
@@ -118,7 +118,7 @@ import {
|
|
|
118
118
|
unenforcedAccessModeRefusal,
|
|
119
119
|
warnIfGatewayCostUndeclared,
|
|
120
120
|
withEnforcedAccessMode
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-U5SGPCPU.js";
|
|
122
122
|
import {
|
|
123
123
|
parseBoolValue
|
|
124
124
|
} from "./chunk-LWOX65CP.js";
|
|
@@ -6157,4 +6157,4 @@ export {
|
|
|
6157
6157
|
SdkAdapter,
|
|
6158
6158
|
createAutoAdapter
|
|
6159
6159
|
};
|
|
6160
|
-
//# sourceMappingURL=chunk-
|
|
6160
|
+
//# sourceMappingURL=chunk-FPSMQBJD.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ensureGatewayDiscovered,
|
|
3
3
|
gatewayDiscoveryGeneration
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-DJKUORAD.js";
|
|
5
5
|
import {
|
|
6
6
|
createLogger,
|
|
7
7
|
getTimeProvider,
|
|
8
8
|
isRateLimitText,
|
|
9
9
|
resolveCliSlot
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-U5SGPCPU.js";
|
|
11
11
|
|
|
12
12
|
// src/pipeline/expert-access-mode.ts
|
|
13
13
|
var logger = createLogger({ component: "expert-bridge" });
|
|
@@ -78,7 +78,7 @@ async function dispatchWithMcpConfig(router, content, expertType, start, options
|
|
|
78
78
|
let config;
|
|
79
79
|
if (requestedAccessModeOf(options) === "default") {
|
|
80
80
|
try {
|
|
81
|
-
const { generateMcpConfig } = await import("./child-mcp-config-
|
|
81
|
+
const { generateMcpConfig } = await import("./child-mcp-config-46PI4CDD.js");
|
|
82
82
|
config = await generateMcpConfig();
|
|
83
83
|
activeMcpConfigs.add(config);
|
|
84
84
|
} catch (error) {
|
|
@@ -167,8 +167,8 @@ async function getRouter() {
|
|
|
167
167
|
}
|
|
168
168
|
if (cachedRouter !== null) return cachedRouter;
|
|
169
169
|
routerInitPromise ??= (async () => {
|
|
170
|
-
const { createAllAdapters } = await import("./factory-
|
|
171
|
-
const { createCompositeRouter } = await import("./composite-router-
|
|
170
|
+
const { createAllAdapters } = await import("./factory-ZKLNQNR3.js");
|
|
171
|
+
const { createCompositeRouter } = await import("./composite-router-4HQZMR2Z.js");
|
|
172
172
|
const adapters = createAllAdapters();
|
|
173
173
|
const superseded = generation !== routerGeneration;
|
|
174
174
|
if (adapters.size === 0) {
|
|
@@ -179,7 +179,7 @@ async function getRouter() {
|
|
|
179
179
|
if (superseded) return router;
|
|
180
180
|
cachedRouter = router;
|
|
181
181
|
try {
|
|
182
|
-
const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-
|
|
182
|
+
const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-PTXRXBG6.js");
|
|
183
183
|
cachedCircuitBreaker = createCliCircuitBreakerIntegration([...adapters.values()]);
|
|
184
184
|
} catch (error) {
|
|
185
185
|
const msg = error instanceof Error ? error.message : String(error);
|
|
@@ -320,4 +320,4 @@ export {
|
|
|
320
320
|
tokenSplitFromUsage,
|
|
321
321
|
executeExpert
|
|
322
322
|
};
|
|
323
|
-
//# sourceMappingURL=chunk-
|
|
323
|
+
//# sourceMappingURL=chunk-FRZSCLHF.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getRandomProvider,
|
|
3
3
|
getTimeProvider
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-U5SGPCPU.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-GC3UWE32.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
createLogger,
|
|
5
5
|
formatZodError,
|
|
6
6
|
resolveInsideRoot
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-U5SGPCPU.js";
|
|
8
8
|
|
|
9
9
|
// src/security/ast-rule-runner.ts
|
|
10
10
|
import { existsSync } from "node:fs";
|
|
@@ -241,4 +241,4 @@ export {
|
|
|
241
241
|
collectAstQaFindings,
|
|
242
242
|
runAstQaRules
|
|
243
243
|
};
|
|
244
|
-
//# sourceMappingURL=chunk-
|
|
244
|
+
//# sourceMappingURL=chunk-HDANGHKN.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
createLogger,
|
|
8
8
|
err,
|
|
9
9
|
ok
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-U5SGPCPU.js";
|
|
11
11
|
|
|
12
12
|
// src/adapters/gateway-redaction.ts
|
|
13
13
|
var GATEWAY_REDACTED = "<redacted>";
|
|
@@ -341,4 +341,4 @@ export {
|
|
|
341
341
|
validateCustomApiBaseUrl,
|
|
342
342
|
assertCustomApiHostResolvesPublic
|
|
343
343
|
};
|
|
344
|
-
//# sourceMappingURL=chunk-
|
|
344
|
+
//# sourceMappingURL=chunk-ILDOTFTF.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
getErrorMessage,
|
|
7
7
|
ok,
|
|
8
8
|
resolveInsideRoot
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-U5SGPCPU.js";
|
|
10
10
|
import {
|
|
11
11
|
findRepoRoot,
|
|
12
12
|
getActiveWorkspaceRoot,
|
|
@@ -211,4 +211,4 @@ export {
|
|
|
211
211
|
loadPapersRegistry,
|
|
212
212
|
savePapersRegistry
|
|
213
213
|
};
|
|
214
|
-
//# sourceMappingURL=chunk-
|
|
214
|
+
//# sourceMappingURL=chunk-KT5ZLKZ3.js.map
|
|
@@ -21,23 +21,23 @@ import {
|
|
|
21
21
|
toolSuccessStructured,
|
|
22
22
|
withProgressHeartbeat,
|
|
23
23
|
wrapToolWithTimeout
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-3446TBB7.js";
|
|
25
25
|
import {
|
|
26
26
|
VERSION
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-PNVKGNAB.js";
|
|
28
28
|
import {
|
|
29
29
|
allOf
|
|
30
30
|
} from "./chunk-EZNIYU5T.js";
|
|
31
31
|
import {
|
|
32
32
|
isGatewayModelAdapter
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-733FNXLT.js";
|
|
34
34
|
import {
|
|
35
35
|
createEvent,
|
|
36
36
|
getGlobalRegistry
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-NM5MOHXO.js";
|
|
38
38
|
import {
|
|
39
39
|
getToolMemory
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-CS2Z4U44.js";
|
|
41
41
|
import {
|
|
42
42
|
UNVERIFIABLE_STDERR_RE,
|
|
43
43
|
classifyUnverifiable,
|
|
@@ -49,15 +49,15 @@ import {
|
|
|
49
49
|
markUnverifiable,
|
|
50
50
|
sleep,
|
|
51
51
|
withTimeout
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-FPSMQBJD.js";
|
|
53
53
|
import {
|
|
54
54
|
ensureGatewayDiscovered
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-DJKUORAD.js";
|
|
56
56
|
import {
|
|
57
57
|
sanitizeErrorDetails,
|
|
58
58
|
sanitizeOutput,
|
|
59
59
|
sanitizeStringLeaves
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-ZA77RUTM.js";
|
|
61
61
|
import {
|
|
62
62
|
AgentError,
|
|
63
63
|
CLI_NAMES,
|
|
@@ -116,7 +116,7 @@ import {
|
|
|
116
116
|
servedCostDetail,
|
|
117
117
|
stepBus,
|
|
118
118
|
voteRecordWriteFailedMessage
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-U5SGPCPU.js";
|
|
120
120
|
import {
|
|
121
121
|
ensureLearningDir,
|
|
122
122
|
getOutcomesFile
|
|
@@ -6483,7 +6483,7 @@ function logPartialProposal(bounded, log) {
|
|
|
6483
6483
|
}
|
|
6484
6484
|
async function runContrarianCheck(proposal, options, log, opts) {
|
|
6485
6485
|
try {
|
|
6486
|
-
const { executeExpert } = await import("./expert-bridge-
|
|
6486
|
+
const { executeExpert } = await import("./expert-bridge-PMQSUIQW.js");
|
|
6487
6487
|
const bounded = boundArtifactForReview(proposal, CONTRARIAN_PROPOSAL_BUDGET, "proposal");
|
|
6488
6488
|
logPartialProposal(bounded, log);
|
|
6489
6489
|
const result = await executeExpert(
|
|
@@ -9636,4 +9636,4 @@ export {
|
|
|
9636
9636
|
CONSENSUS_VOTE_TOOL_SCHEMA,
|
|
9637
9637
|
registerConsensusVoteTool
|
|
9638
9638
|
};
|
|
9639
|
-
//# sourceMappingURL=chunk-
|
|
9639
|
+
//# sourceMappingURL=chunk-MONAUBHI.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
getAdaptiveBonus,
|
|
9
9
|
getOutcomeStore,
|
|
10
10
|
hasMeasuredCategory
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-U5SGPCPU.js";
|
|
12
12
|
|
|
13
13
|
// src/cli/doctor-deep.ts
|
|
14
14
|
var CLI_NAMES = ["claude", "gemini", "codex", "opencode"];
|
|
@@ -148,4 +148,4 @@ export {
|
|
|
148
148
|
runDeepDiagnostics,
|
|
149
149
|
formatDeepDiagnostics
|
|
150
150
|
};
|
|
151
|
-
//# sourceMappingURL=chunk-
|
|
151
|
+
//# sourceMappingURL=chunk-MRBD2WNF.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GitHubProvider,
|
|
3
3
|
ScmError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NJW2PXCF.js";
|
|
5
5
|
import {
|
|
6
6
|
ReputationCache,
|
|
7
7
|
assessReputation,
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
resolveEnvMode,
|
|
10
10
|
resolveReputationGatingMode,
|
|
11
11
|
sanitizeInput
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UQNPJK6J.js";
|
|
13
13
|
import {
|
|
14
14
|
hasToken
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-WT6HQEWS.js";
|
|
16
16
|
import {
|
|
17
17
|
toContentTrustProvenanceRecord
|
|
18
18
|
} from "./chunk-ZO6ZKR7L.js";
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
getErrorMessage,
|
|
29
29
|
getTimeProvider,
|
|
30
30
|
ok
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-U5SGPCPU.js";
|
|
32
32
|
|
|
33
33
|
// src/security/firewall/firewall-policy-mode.ts
|
|
34
34
|
import { z } from "zod";
|
|
@@ -2661,4 +2661,4 @@ export {
|
|
|
2661
2661
|
IssueTriage,
|
|
2662
2662
|
createIssueTriage
|
|
2663
2663
|
};
|
|
2664
|
-
//# sourceMappingURL=chunk-
|
|
2664
|
+
//# sourceMappingURL=chunk-NANNGTSF.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
err,
|
|
5
5
|
getErrorMessage,
|
|
6
6
|
ok
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-U5SGPCPU.js";
|
|
8
8
|
|
|
9
9
|
// src/scm/types.ts
|
|
10
10
|
var ScmError = class extends Error {
|
|
@@ -281,4 +281,4 @@ export {
|
|
|
281
281
|
ScmError,
|
|
282
282
|
GitHubProvider
|
|
283
283
|
};
|
|
284
|
-
//# sourceMappingURL=chunk-
|
|
284
|
+
//# sourceMappingURL=chunk-NJW2PXCF.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createAutoAdapter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FPSMQBJD.js";
|
|
4
4
|
import {
|
|
5
5
|
ensureGatewayDiscovered,
|
|
6
6
|
gatewayDiscoveryGeneration
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DJKUORAD.js";
|
|
8
8
|
import {
|
|
9
9
|
getDefaultCliCircuitBreakerRegistry,
|
|
10
10
|
mapModelErrorToCategory
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-4MUBZFRJ.js";
|
|
12
12
|
import {
|
|
13
13
|
CircularBuffer,
|
|
14
14
|
ConfigError,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
recordRateLimitEvent,
|
|
34
34
|
toRateLimitError,
|
|
35
35
|
warnIfGatewayCostUndeclared
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-U5SGPCPU.js";
|
|
37
37
|
|
|
38
38
|
// src/agents/collaboration/event-bus-helpers.ts
|
|
39
39
|
import { randomUUID } from "node:crypto";
|
|
@@ -1040,4 +1040,4 @@ export {
|
|
|
1040
1040
|
getGlobalRegistry,
|
|
1041
1041
|
resetGlobalRegistry
|
|
1042
1042
|
};
|
|
1043
|
-
//# sourceMappingURL=chunk-
|
|
1043
|
+
//# sourceMappingURL=chunk-NM5MOHXO.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTimeProvider
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-U5SGPCPU.js";
|
|
4
4
|
|
|
5
5
|
// src/version.ts
|
|
6
6
|
import semver from "semver";
|
|
7
|
-
var VERSION = true ? "8.131.
|
|
7
|
+
var VERSION = true ? "8.131.6" : "dev";
|
|
8
8
|
var NODE_ENGINE_RANGE = ">=22.5.0";
|
|
9
9
|
function isNodeVersionSupported(version) {
|
|
10
10
|
return semver.satisfies(version, NODE_ENGINE_RANGE);
|
|
@@ -106,4 +106,4 @@ export {
|
|
|
106
106
|
contextForLogging,
|
|
107
107
|
measuredTrustTier
|
|
108
108
|
};
|
|
109
|
-
//# sourceMappingURL=chunk-
|
|
109
|
+
//# sourceMappingURL=chunk-PNVKGNAB.js.map
|
|
@@ -4,16 +4,16 @@ import {
|
|
|
4
4
|
createOpenAICompatAdapter,
|
|
5
5
|
discoverGatewayCatalog,
|
|
6
6
|
readOpenAICompatEnv
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-733FNXLT.js";
|
|
8
8
|
import {
|
|
9
9
|
CUSTOM_API_DEFAULT_MODEL
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CGGKU72Q.js";
|
|
11
11
|
import {
|
|
12
12
|
gatewayProxyUrl
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-YBX6XYRL.js";
|
|
14
14
|
import {
|
|
15
15
|
redactGatewaySecrets
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ILDOTFTF.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_OPENAI_COMPAT_ENDPOINT,
|
|
19
19
|
GATEWAY_COST_ENV,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
isCliDisabled,
|
|
32
32
|
symbols,
|
|
33
33
|
writeLine
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-U5SGPCPU.js";
|
|
35
35
|
|
|
36
36
|
// src/cli/doctor-gateway-slots.ts
|
|
37
37
|
var FAMILY_SLOTS = [
|
|
@@ -398,4 +398,4 @@ export {
|
|
|
398
398
|
formatGatewayReport,
|
|
399
399
|
formatGatewaySlotWarnings
|
|
400
400
|
};
|
|
401
|
-
//# sourceMappingURL=chunk-
|
|
401
|
+
//# sourceMappingURL=chunk-QMDAAVBN.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SERVES_PROBE_PROMPT
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ABRG2C4Q.js";
|
|
4
4
|
import {
|
|
5
5
|
checkGatewayHealth,
|
|
6
6
|
cliFailsVerdict,
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
gatewaySlotServing,
|
|
11
11
|
gatewayVerdict,
|
|
12
12
|
printVoterTransportCheck
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-QMDAAVBN.js";
|
|
14
14
|
import {
|
|
15
15
|
NODE_ENGINE_RANGE,
|
|
16
16
|
VERSION,
|
|
17
17
|
isNodeVersionSupported,
|
|
18
18
|
recordServerTransport
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-PNVKGNAB.js";
|
|
20
20
|
import {
|
|
21
21
|
allOf,
|
|
22
22
|
anyOf
|
|
@@ -24,10 +24,10 @@ import {
|
|
|
24
24
|
import {
|
|
25
25
|
readOpenAICompatEndpoint,
|
|
26
26
|
readOpenAICompatEnv
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-733FNXLT.js";
|
|
28
28
|
import {
|
|
29
29
|
claimGlobalRegistry
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-NM5MOHXO.js";
|
|
31
31
|
import {
|
|
32
32
|
CODEX_LEGACY_LANDLOCK_CONFIG,
|
|
33
33
|
CODEX_MCP_SERVER_UNAVAILABLE_REASON,
|
|
@@ -39,13 +39,13 @@ import {
|
|
|
39
39
|
createCliAdapter,
|
|
40
40
|
isCliAdmitted,
|
|
41
41
|
probeCli
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-FPSMQBJD.js";
|
|
43
43
|
import {
|
|
44
44
|
getNexusTmpDir
|
|
45
45
|
} from "./chunk-JPFRRNRR.js";
|
|
46
46
|
import {
|
|
47
47
|
resolveGatewayEnv
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-ILDOTFTF.js";
|
|
49
49
|
import {
|
|
50
50
|
DEFAULT_CAPABILITIES,
|
|
51
51
|
capitalize,
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
resolveGatewayCostDeclaration,
|
|
70
70
|
symbols,
|
|
71
71
|
writeLine
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-U5SGPCPU.js";
|
|
73
73
|
import {
|
|
74
74
|
getLearningDir,
|
|
75
75
|
getOutcomesFile,
|
|
@@ -1533,7 +1533,7 @@ async function doctorCommand(options = {}) {
|
|
|
1533
1533
|
options.onResult?.(result);
|
|
1534
1534
|
printDoctorResults(result, void 0, options.deferSummary === true);
|
|
1535
1535
|
if (options.gateway === true || options.probe === true) {
|
|
1536
|
-
const { formatGatewayReport } = await import("./doctor-gateway-report-
|
|
1536
|
+
const { formatGatewayReport } = await import("./doctor-gateway-report-O7YPYHE7.js");
|
|
1537
1537
|
for (const line of formatGatewayReport(result.gateway, result.clis)) {
|
|
1538
1538
|
process.stdout.write(line + "\n");
|
|
1539
1539
|
}
|
|
@@ -1552,13 +1552,13 @@ async function runDoctorFix(result) {
|
|
|
1552
1552
|
writeLine2("\u2500".repeat(40));
|
|
1553
1553
|
let fixCount = 0;
|
|
1554
1554
|
if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
|
|
1555
|
-
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-
|
|
1555
|
+
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-S4Q3RKX2.js");
|
|
1556
1556
|
const outcome = describeDataDirFix2(initDataDirectories2());
|
|
1557
1557
|
writeLine2(outcome.line);
|
|
1558
1558
|
if (outcome.counted) fixCount++;
|
|
1559
1559
|
}
|
|
1560
1560
|
if (!result.configFile.found) {
|
|
1561
|
-
const { runConfigInitSync } = await import("./setup-config-
|
|
1561
|
+
const { runConfigInitSync } = await import("./setup-config-4IL6HB2E.js");
|
|
1562
1562
|
const configResult = runConfigInitSync(process.cwd(), false, false);
|
|
1563
1563
|
if (configResult.success && configResult.created) {
|
|
1564
1564
|
writeLine2(`\u2713 Generated config: ${configResult.path}`);
|
|
@@ -1657,4 +1657,4 @@ export {
|
|
|
1657
1657
|
startStdioServer,
|
|
1658
1658
|
closeServer
|
|
1659
1659
|
};
|
|
1660
|
-
//# sourceMappingURL=chunk-
|
|
1660
|
+
//# sourceMappingURL=chunk-REFGTW22.js.map
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
} from "./chunk-W654ME6B.js";
|
|
4
4
|
import {
|
|
5
5
|
resolveToken
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WT6HQEWS.js";
|
|
7
7
|
import {
|
|
8
8
|
REGISTRY_PATH,
|
|
9
9
|
getProjectRoot,
|
|
10
10
|
loadPapersRegistry,
|
|
11
11
|
loadTechniquesRegistry,
|
|
12
12
|
savePapersRegistry
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-KT5ZLKZ3.js";
|
|
14
14
|
import {
|
|
15
15
|
beliefTrustTier,
|
|
16
16
|
getToolMemory,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
rankedItemTrustTier,
|
|
19
19
|
trustTierLabel,
|
|
20
20
|
withoutUntrustedMemory
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-CS2Z4U44.js";
|
|
22
22
|
import {
|
|
23
23
|
extractSystemPrompt,
|
|
24
24
|
generateCacheKey,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
sigmoidConfidence,
|
|
47
47
|
tokenizeFiltered,
|
|
48
48
|
truncateSentence
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-U5SGPCPU.js";
|
|
50
50
|
import {
|
|
51
51
|
ensureLearningDir,
|
|
52
52
|
getRulesFile
|
|
@@ -553,6 +553,7 @@ var TIER_2_VENUES = /* @__PURE__ */ new Set([
|
|
|
553
553
|
function classifyVenue(venue) {
|
|
554
554
|
if (venue === null || venue === void 0 || venue.length === 0) return 0;
|
|
555
555
|
const normalized = venue.toLowerCase().replace(/[^a-z]/g, "");
|
|
556
|
+
if (normalized.length === 0) return 0;
|
|
556
557
|
if (TIER_3_VENUES.has(normalized)) return 3;
|
|
557
558
|
if (TIER_2_VENUES.has(normalized)) return 2;
|
|
558
559
|
if (!normalized.includes("arxiv")) return 1;
|
|
@@ -568,7 +569,7 @@ function recencyBoost(publicationDate) {
|
|
|
568
569
|
return 0;
|
|
569
570
|
}
|
|
570
571
|
function citationScore(count) {
|
|
571
|
-
if (count === void 0 || count === 0) return 0;
|
|
572
|
+
if (count === void 0 || count === null || count === 0 || Number.isNaN(count)) return 0;
|
|
572
573
|
if (count < 10) return 1;
|
|
573
574
|
if (count < 100) return 2;
|
|
574
575
|
return 3;
|
|
@@ -4286,4 +4287,4 @@ export {
|
|
|
4286
4287
|
DEFAULT_CONTEXT_BUDGET_TOKENS,
|
|
4287
4288
|
getContextPromptPrefix
|
|
4288
4289
|
};
|
|
4289
|
-
//# sourceMappingURL=chunk-
|
|
4290
|
+
//# sourceMappingURL=chunk-TGJ4MLBI.js.map
|