nexus-agents 8.133.2 → 8.133.4
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-3ILUYP2S.js → ast-rule-runner-5SVWE4V5.js} +3 -3
- package/dist/{child-mcp-config-ZAVMFMHC.js → child-mcp-config-VQNTHRCM.js} +2 -2
- package/dist/{chunk-7TWS65XL.js → chunk-2PSDEOKO.js} +3 -3
- package/dist/{chunk-5TIVCAPR.js → chunk-45NAN3NB.js} +5 -5
- package/dist/{chunk-FYMHYIMX.js → chunk-5BRDJZ4X.js} +8 -7
- package/dist/{chunk-INQLOYI2.js → chunk-5Z6JTSDZ.js} +4 -4
- package/dist/{chunk-J63YVVKW.js → chunk-63STP55Z.js} +3 -3
- package/dist/{chunk-FZ4UDXNX.js → chunk-6Q7BWRPL.js} +55 -52
- package/dist/chunk-6Q7BWRPL.js.map +1 -0
- package/dist/{chunk-37PFBRXG.js → chunk-6VISK4JT.js} +7 -7
- package/dist/{chunk-JT3B4XMV.js → chunk-6VR2KXYZ.js} +4 -4
- package/dist/{chunk-JM2CABHD.js → chunk-A6CTHKSJ.js} +2 -2
- package/dist/{chunk-NQMKCTX6.js → chunk-BG4MHTXJ.js} +2 -2
- package/dist/{chunk-U7VICPNO.js → chunk-BGHKG77F.js} +5 -5
- package/dist/{chunk-SRRECWT6.js → chunk-CIAIGHES.js} +5 -5
- package/dist/{chunk-IGC3MTMN.js → chunk-CUQSLMS7.js} +13 -13
- package/dist/{chunk-26YUABXD.js → chunk-CYOV4UZ3.js} +2 -2
- package/dist/{chunk-4LOCKA6Z.js → chunk-FF3QDRWF.js} +5 -5
- package/dist/{chunk-MQKHFDCM.js → chunk-GXXOMV43.js} +2 -2
- package/dist/{chunk-4VZPN6XN.js → chunk-I6ZPYPSG.js} +13 -13
- package/dist/{chunk-A4LJDRY7.js → chunk-IIMSXW5L.js} +2 -2
- package/dist/{chunk-Z2T54LTR.js → chunk-JA6Q3OO2.js} +2 -2
- package/dist/{chunk-6JDBJO7N.js → chunk-KJI4SNSK.js} +4 -4
- package/dist/{chunk-LBDXYMXS.js → chunk-LAXFJRDX.js} +2 -2
- package/dist/{chunk-YKW32JWJ.js → chunk-LE4FXYYZ.js} +2 -2
- package/dist/{chunk-ASEDGRDA.js → chunk-LSZKWDCP.js} +8 -8
- package/dist/{chunk-KIJY44AB.js → chunk-OXCREJDI.js} +3 -3
- package/dist/{chunk-F4PEUZ4X.js → chunk-R2IQBO5W.js} +2 -2
- package/dist/{chunk-Y7ZQ2FXW.js → chunk-R77KXHK4.js} +2 -2
- package/dist/{chunk-R6K2MRFJ.js → chunk-T2LWKEIV.js} +2 -2
- package/dist/{chunk-DVPTF7E2.js → chunk-TLXQ6CGF.js} +2 -2
- package/dist/{chunk-RIJFSLQ2.js → chunk-TMMPWFO2.js} +5 -5
- package/dist/{chunk-VUCDRYGE.js → chunk-UBFCQKFZ.js} +5 -5
- package/dist/{chunk-RH6XKNZR.js → chunk-UOXEQUBI.js} +3 -3
- package/dist/{chunk-DUCHVCCB.js → chunk-VLNILPYJ.js} +4 -4
- package/dist/{chunk-GZISUG3E.js → chunk-VYT2YEK2.js} +2 -2
- package/dist/{chunk-G32F24ON.js → chunk-XI4CX52X.js} +2 -2
- package/dist/{chunk-OXJBQRYD.js → chunk-XZ3Z7VO5.js} +3 -3
- package/dist/{cli-circuit-breaker-WIQOCIV3.js → cli-circuit-breaker-JE4HNST7.js} +3 -3
- package/dist/{cli-readiness-AMPWLQCT.js → cli-readiness-GPWH5AC2.js} +7 -7
- package/dist/cli.js +105 -63
- package/dist/cli.js.map +1 -1
- package/dist/{composite-router-WAJXYCCX.js → composite-router-BZFN3Z4F.js} +2 -2
- package/dist/{consensus-vote-QGKRHZQ2.js → consensus-vote-Z5BGUSZB.js} +17 -17
- package/dist/{context-retriever-MCPOXBLT.js → context-retriever-7N4CDXYP.js} +8 -8
- package/dist/{doctor-deep-R6LOSA7S.js → doctor-deep-GIJ3IVZD.js} +3 -3
- package/dist/{doctor-gateway-report-AJCXLLBP.js → doctor-gateway-report-ZPQ5ZG4X.js} +7 -7
- package/dist/{doctor-live-24G6DWUF.js → doctor-live-UXGMT4ZA.js} +11 -11
- package/dist/{expert-bridge-ZIK2FIR3.js → expert-bridge-XTTYNDBS.js} +4 -4
- package/dist/{factory-NDYEOO6R.js → factory-UGMGVQTP.js} +10 -10
- package/dist/{factory-QRL47DUV.js → factory-VUK2KP76.js} +5 -5
- package/dist/{improvement-review-F32B7NWE.js → improvement-review-ZFWCDEZJ.js} +6 -6
- package/dist/index.js +32 -32
- package/dist/{init-opencode-QMIGCOL6.js → init-opencode-QD2XTPRZ.js} +6 -6
- package/dist/{issue-triage-BYJM6NLT.js → issue-triage-CAJ232ZV.js} +6 -6
- package/dist/{model-config-helpers-JMW2UUV2.js → model-config-helpers-7HLTRIXX.js} +2 -2
- package/dist/{openai-compat-adapter-KXLQWNMR.js → openai-compat-adapter-BIMDUZUY.js} +6 -6
- package/dist/{outcome-store-adapter-SOXHKXH7.js → outcome-store-adapter-FEIYXOV5.js} +2 -2
- package/dist/{pr-reviewer-helpers-7VD2TIXW.js → pr-reviewer-helpers-IAUYVEZF.js} +4 -4
- package/dist/{registry-command-UB6XFR7W.js → registry-command-E3QDLFIT.js} +2 -2
- package/dist/{repo-security-plan-JHXDYI7I.js → repo-security-plan-NNALBUDS.js} +3 -3
- package/dist/{research-helpers-synthesize-3XVMWIDK.js → research-helpers-synthesize-5RFBOOFU.js} +4 -4
- package/dist/{routing-memory-AMB3K7VB.js → routing-memory-77IYSA2Q.js} +2 -2
- package/dist/{session-memory-IN2M5V56.js → session-memory-X2Y5BJGJ.js} +3 -3
- package/dist/{setup-config-BHTIRLV3.js → setup-config-7P6IBTPP.js} +3 -3
- package/dist/{setup-custom-api-RGPES2HW.js → setup-custom-api-IZJDTTGF.js} +3 -3
- package/dist/setup-data-dir-IE2LWVWY.js +36 -0
- package/dist/{tool-memory-IFCSNEA6.js → tool-memory-H6MKQFJX.js} +5 -5
- package/dist/{unified-registry-NZPESKZQ.js → unified-registry-ITHFGNVT.js} +11 -11
- package/dist/{weather-report-7FN3OUJ2.js → weather-report-RXFQNN3D.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-FZ4UDXNX.js.map +0 -1
- package/dist/setup-data-dir-KM2CKBUE.js +0 -36
- /package/dist/{ast-rule-runner-3ILUYP2S.js.map → ast-rule-runner-5SVWE4V5.js.map} +0 -0
- /package/dist/{child-mcp-config-ZAVMFMHC.js.map → child-mcp-config-VQNTHRCM.js.map} +0 -0
- /package/dist/{chunk-7TWS65XL.js.map → chunk-2PSDEOKO.js.map} +0 -0
- /package/dist/{chunk-5TIVCAPR.js.map → chunk-45NAN3NB.js.map} +0 -0
- /package/dist/{chunk-FYMHYIMX.js.map → chunk-5BRDJZ4X.js.map} +0 -0
- /package/dist/{chunk-INQLOYI2.js.map → chunk-5Z6JTSDZ.js.map} +0 -0
- /package/dist/{chunk-J63YVVKW.js.map → chunk-63STP55Z.js.map} +0 -0
- /package/dist/{chunk-37PFBRXG.js.map → chunk-6VISK4JT.js.map} +0 -0
- /package/dist/{chunk-JT3B4XMV.js.map → chunk-6VR2KXYZ.js.map} +0 -0
- /package/dist/{chunk-JM2CABHD.js.map → chunk-A6CTHKSJ.js.map} +0 -0
- /package/dist/{chunk-NQMKCTX6.js.map → chunk-BG4MHTXJ.js.map} +0 -0
- /package/dist/{chunk-U7VICPNO.js.map → chunk-BGHKG77F.js.map} +0 -0
- /package/dist/{chunk-SRRECWT6.js.map → chunk-CIAIGHES.js.map} +0 -0
- /package/dist/{chunk-IGC3MTMN.js.map → chunk-CUQSLMS7.js.map} +0 -0
- /package/dist/{chunk-26YUABXD.js.map → chunk-CYOV4UZ3.js.map} +0 -0
- /package/dist/{chunk-4LOCKA6Z.js.map → chunk-FF3QDRWF.js.map} +0 -0
- /package/dist/{chunk-MQKHFDCM.js.map → chunk-GXXOMV43.js.map} +0 -0
- /package/dist/{chunk-4VZPN6XN.js.map → chunk-I6ZPYPSG.js.map} +0 -0
- /package/dist/{chunk-A4LJDRY7.js.map → chunk-IIMSXW5L.js.map} +0 -0
- /package/dist/{chunk-Z2T54LTR.js.map → chunk-JA6Q3OO2.js.map} +0 -0
- /package/dist/{chunk-6JDBJO7N.js.map → chunk-KJI4SNSK.js.map} +0 -0
- /package/dist/{chunk-LBDXYMXS.js.map → chunk-LAXFJRDX.js.map} +0 -0
- /package/dist/{chunk-YKW32JWJ.js.map → chunk-LE4FXYYZ.js.map} +0 -0
- /package/dist/{chunk-ASEDGRDA.js.map → chunk-LSZKWDCP.js.map} +0 -0
- /package/dist/{chunk-KIJY44AB.js.map → chunk-OXCREJDI.js.map} +0 -0
- /package/dist/{chunk-F4PEUZ4X.js.map → chunk-R2IQBO5W.js.map} +0 -0
- /package/dist/{chunk-Y7ZQ2FXW.js.map → chunk-R77KXHK4.js.map} +0 -0
- /package/dist/{chunk-R6K2MRFJ.js.map → chunk-T2LWKEIV.js.map} +0 -0
- /package/dist/{chunk-DVPTF7E2.js.map → chunk-TLXQ6CGF.js.map} +0 -0
- /package/dist/{chunk-RIJFSLQ2.js.map → chunk-TMMPWFO2.js.map} +0 -0
- /package/dist/{chunk-VUCDRYGE.js.map → chunk-UBFCQKFZ.js.map} +0 -0
- /package/dist/{chunk-RH6XKNZR.js.map → chunk-UOXEQUBI.js.map} +0 -0
- /package/dist/{chunk-DUCHVCCB.js.map → chunk-VLNILPYJ.js.map} +0 -0
- /package/dist/{chunk-GZISUG3E.js.map → chunk-VYT2YEK2.js.map} +0 -0
- /package/dist/{chunk-G32F24ON.js.map → chunk-XI4CX52X.js.map} +0 -0
- /package/dist/{chunk-OXJBQRYD.js.map → chunk-XZ3Z7VO5.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-WIQOCIV3.js.map → cli-circuit-breaker-JE4HNST7.js.map} +0 -0
- /package/dist/{cli-readiness-AMPWLQCT.js.map → cli-readiness-GPWH5AC2.js.map} +0 -0
- /package/dist/{composite-router-WAJXYCCX.js.map → composite-router-BZFN3Z4F.js.map} +0 -0
- /package/dist/{consensus-vote-QGKRHZQ2.js.map → consensus-vote-Z5BGUSZB.js.map} +0 -0
- /package/dist/{context-retriever-MCPOXBLT.js.map → context-retriever-7N4CDXYP.js.map} +0 -0
- /package/dist/{doctor-deep-R6LOSA7S.js.map → doctor-deep-GIJ3IVZD.js.map} +0 -0
- /package/dist/{doctor-gateway-report-AJCXLLBP.js.map → doctor-gateway-report-ZPQ5ZG4X.js.map} +0 -0
- /package/dist/{doctor-live-24G6DWUF.js.map → doctor-live-UXGMT4ZA.js.map} +0 -0
- /package/dist/{expert-bridge-ZIK2FIR3.js.map → expert-bridge-XTTYNDBS.js.map} +0 -0
- /package/dist/{factory-NDYEOO6R.js.map → factory-UGMGVQTP.js.map} +0 -0
- /package/dist/{factory-QRL47DUV.js.map → factory-VUK2KP76.js.map} +0 -0
- /package/dist/{improvement-review-F32B7NWE.js.map → improvement-review-ZFWCDEZJ.js.map} +0 -0
- /package/dist/{init-opencode-QMIGCOL6.js.map → init-opencode-QD2XTPRZ.js.map} +0 -0
- /package/dist/{issue-triage-BYJM6NLT.js.map → issue-triage-CAJ232ZV.js.map} +0 -0
- /package/dist/{model-config-helpers-JMW2UUV2.js.map → model-config-helpers-7HLTRIXX.js.map} +0 -0
- /package/dist/{openai-compat-adapter-KXLQWNMR.js.map → openai-compat-adapter-BIMDUZUY.js.map} +0 -0
- /package/dist/{outcome-store-adapter-SOXHKXH7.js.map → outcome-store-adapter-FEIYXOV5.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-7VD2TIXW.js.map → pr-reviewer-helpers-IAUYVEZF.js.map} +0 -0
- /package/dist/{registry-command-UB6XFR7W.js.map → registry-command-E3QDLFIT.js.map} +0 -0
- /package/dist/{repo-security-plan-JHXDYI7I.js.map → repo-security-plan-NNALBUDS.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-3XVMWIDK.js.map → research-helpers-synthesize-5RFBOOFU.js.map} +0 -0
- /package/dist/{routing-memory-AMB3K7VB.js.map → routing-memory-77IYSA2Q.js.map} +0 -0
- /package/dist/{session-memory-IN2M5V56.js.map → session-memory-X2Y5BJGJ.js.map} +0 -0
- /package/dist/{setup-config-BHTIRLV3.js.map → setup-config-7P6IBTPP.js.map} +0 -0
- /package/dist/{setup-custom-api-RGPES2HW.js.map → setup-custom-api-IZJDTTGF.js.map} +0 -0
- /package/dist/{setup-data-dir-KM2CKBUE.js.map → setup-data-dir-IE2LWVWY.js.map} +0 -0
- /package/dist/{tool-memory-IFCSNEA6.js.map → tool-memory-H6MKQFJX.js.map} +0 -0
- /package/dist/{unified-registry-NZPESKZQ.js.map → unified-registry-ITHFGNVT.js.map} +0 -0
- /package/dist/{weather-report-7FN3OUJ2.js.map → weather-report-RXFQNN3D.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-CYOV4UZ3.js";
|
|
13
|
+
import "./chunk-5BRDJZ4X.js";
|
|
14
14
|
import "./chunk-XBEKMUTO.js";
|
|
15
15
|
import "./chunk-UE7A2XHM.js";
|
|
16
16
|
import "./chunk-LWOX65CP.js";
|
|
@@ -28,4 +28,4 @@ export {
|
|
|
28
28
|
loadRules,
|
|
29
29
|
runAstQaRules
|
|
30
30
|
};
|
|
31
|
-
//# sourceMappingURL=ast-rule-runner-
|
|
31
|
+
//# sourceMappingURL=ast-rule-runner-5SVWE4V5.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-JPFRRNRR.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5BRDJZ4X.js";
|
|
7
7
|
import "./chunk-XBEKMUTO.js";
|
|
8
8
|
import "./chunk-UE7A2XHM.js";
|
|
9
9
|
import "./chunk-LWOX65CP.js";
|
|
@@ -75,4 +75,4 @@ async function generateMcpConfig(options) {
|
|
|
75
75
|
export {
|
|
76
76
|
generateMcpConfig
|
|
77
77
|
};
|
|
78
|
-
//# sourceMappingURL=child-mcp-config-
|
|
78
|
+
//# sourceMappingURL=child-mcp-config-VQNTHRCM.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadPapersRegistry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XI4CX52X.js";
|
|
4
4
|
import {
|
|
5
5
|
getErrorMessage
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5BRDJZ4X.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-2PSDEOKO.js.map
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
loadPapersRegistry,
|
|
5
5
|
loadTechniquesRegistry,
|
|
6
6
|
savePapersRegistry
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-XI4CX52X.js";
|
|
8
8
|
import {
|
|
9
9
|
resolveToken
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TLXQ6CGF.js";
|
|
11
11
|
import {
|
|
12
12
|
getTsMorph
|
|
13
13
|
} from "./chunk-W654ME6B.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
rankedItemTrustTier,
|
|
19
19
|
trustTierLabel,
|
|
20
20
|
withoutUntrustedMemory
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-KJI4SNSK.js";
|
|
22
22
|
import {
|
|
23
23
|
extractSystemPrompt,
|
|
24
24
|
generateCacheKey,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
sigmoidConfidence,
|
|
44
44
|
tokenizeFiltered,
|
|
45
45
|
truncateSentence
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-5BRDJZ4X.js";
|
|
47
47
|
import {
|
|
48
48
|
ensureLearningDir,
|
|
49
49
|
getRulesFile
|
|
@@ -4289,4 +4289,4 @@ export {
|
|
|
4289
4289
|
DEFAULT_CONTEXT_BUDGET_TOKENS,
|
|
4290
4290
|
getContextPromptPrefix
|
|
4291
4291
|
};
|
|
4292
|
-
//# sourceMappingURL=chunk-
|
|
4292
|
+
//# sourceMappingURL=chunk-45NAN3NB.js.map
|
|
@@ -6073,7 +6073,7 @@ function adapterReadiness(adapter, options) {
|
|
|
6073
6073
|
const ceiling = resolveClassGuardMs("interactive");
|
|
6074
6074
|
const requested = options.timeoutMs ?? ceiling;
|
|
6075
6075
|
const timeoutMs = Number.isFinite(requested) && requested > 0 ? Math.min(requested, ceiling) : ceiling;
|
|
6076
|
-
const flight = import("./cli-readiness-
|
|
6076
|
+
const flight = import("./cli-readiness-GPWH5AC2.js").then(({ probeServes }) => probeServes(adapter, timeoutMs)).finally(() => readinessFlights.delete(adapter));
|
|
6077
6077
|
readinessFlights.set(adapter, flight);
|
|
6078
6078
|
return flight;
|
|
6079
6079
|
}
|
|
@@ -6083,7 +6083,7 @@ async function servesListedModel(adapter, modelId, cli) {
|
|
|
6083
6083
|
const models = await adapter.listModels();
|
|
6084
6084
|
if (models.length === 0) return "unknown";
|
|
6085
6085
|
const requestedKey = canonicalModelKey(modelId);
|
|
6086
|
-
const findCanonicalModel2 = cli === "codex" ? (await import("./model-config-helpers-
|
|
6086
|
+
const findCanonicalModel2 = cli === "codex" ? (await import("./model-config-helpers-7HLTRIXX.js")).findCanonicalModel : void 0;
|
|
6087
6087
|
const requestedEntry = requestedKey === null ? findCanonicalModel2?.("codex", modelId) : void 0;
|
|
6088
6088
|
const listed = models.some((model) => {
|
|
6089
6089
|
const listedEntry = findCanonicalModel2?.("codex", model.id);
|
|
@@ -7533,7 +7533,7 @@ var ModelToCliAdapter = class {
|
|
|
7533
7533
|
}
|
|
7534
7534
|
async execute(task, options) {
|
|
7535
7535
|
const gatewayArm = this.gatewayArmField().gatewayArm;
|
|
7536
|
-
const breaker = gatewayArm !== void 0 && this.modelAdapter.providerId === `cli-${this.name}` ? (await import("./cli-circuit-breaker-
|
|
7536
|
+
const breaker = gatewayArm !== void 0 && this.modelAdapter.providerId === `cli-${this.name}` ? (await import("./cli-circuit-breaker-JE4HNST7.js")).getDefaultCliCircuitBreakerRegistry().getArmBreaker(breakerKeys.forArm({ name: this.name, gatewayArm })) : void 0;
|
|
7537
7537
|
const result = await this.modelAdapter.complete(this.toCompletionRequest(task, options));
|
|
7538
7538
|
if (!result.ok) {
|
|
7539
7539
|
const cliError = this.toCliError(result.error);
|
|
@@ -13563,7 +13563,7 @@ function getOutcomeStore() {
|
|
|
13563
13563
|
async function attachOutcomeStoreToRegistry(store) {
|
|
13564
13564
|
try {
|
|
13565
13565
|
const { getMemoryRegistry } = await import("./dist-RRRU2OKU.js");
|
|
13566
|
-
const { OutcomeStoreAdapter } = await import("./outcome-store-adapter-
|
|
13566
|
+
const { OutcomeStoreAdapter } = await import("./outcome-store-adapter-FEIYXOV5.js");
|
|
13567
13567
|
const { ensureSharedMemoryRegistry } = await import("./tool-memory-registry-adapters-FO6JVQSX.js");
|
|
13568
13568
|
ensureSharedMemoryRegistry();
|
|
13569
13569
|
getMemoryRegistry().attach("outcomes", new OutcomeStoreAdapter(store));
|
|
@@ -19859,7 +19859,7 @@ var CompositeRouter = class _CompositeRouter {
|
|
|
19859
19859
|
*/
|
|
19860
19860
|
async consultUnifiedContext(task) {
|
|
19861
19861
|
try {
|
|
19862
|
-
const { getContextForTask, inferTaskCategory } = await import("./context-retriever-
|
|
19862
|
+
const { getContextForTask, inferTaskCategory } = await import("./context-retriever-7N4CDXYP.js");
|
|
19863
19863
|
const ctx = await getContextForTask({
|
|
19864
19864
|
task: task.content,
|
|
19865
19865
|
category: inferTaskCategory(task.content),
|
|
@@ -20941,7 +20941,7 @@ function setDefaultRegistry(registry) {
|
|
|
20941
20941
|
}
|
|
20942
20942
|
async function reloadDefaultRegistry() {
|
|
20943
20943
|
globalRegistry = buildDefaultRegistry();
|
|
20944
|
-
const { resetGlobalRegistry } = await import("./unified-registry-
|
|
20944
|
+
const { resetGlobalRegistry } = await import("./unified-registry-ITHFGNVT.js");
|
|
20945
20945
|
resetGlobalRegistry();
|
|
20946
20946
|
return globalRegistry;
|
|
20947
20947
|
}
|
|
@@ -21368,6 +21368,7 @@ export {
|
|
|
21368
21368
|
servesListedModel,
|
|
21369
21369
|
cliAuthBlocks,
|
|
21370
21370
|
isCliAdmitted,
|
|
21371
|
+
modelTierOf,
|
|
21371
21372
|
rankFamilyModels,
|
|
21372
21373
|
PROVIDER_ENV_KEYS,
|
|
21373
21374
|
OPENAI_COMPAT_URL_ENV,
|
|
@@ -21607,4 +21608,4 @@ export {
|
|
|
21607
21608
|
AgentCapability,
|
|
21608
21609
|
OrchestratorError
|
|
21609
21610
|
};
|
|
21610
|
-
//# sourceMappingURL=chunk-
|
|
21611
|
+
//# sourceMappingURL=chunk-5BRDJZ4X.js.map
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
getCurrentRequestContext,
|
|
6
6
|
runWithRequestContext,
|
|
7
7
|
serverCallerInfo
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-63STP55Z.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_EXECUTION_MODE
|
|
11
11
|
} from "./chunk-ECJ52NSK.js";
|
|
12
12
|
import {
|
|
13
13
|
sanitizeErrorDetails,
|
|
14
14
|
sanitizeStringLeaves
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-R77KXHK4.js";
|
|
16
16
|
import {
|
|
17
17
|
SecurityError,
|
|
18
18
|
TOOL_MANIFEST,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
getTimeProvider,
|
|
27
27
|
ok,
|
|
28
28
|
resolveInsideRoot
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-5BRDJZ4X.js";
|
|
30
30
|
import {
|
|
31
31
|
getNexusDataDir,
|
|
32
32
|
parseBoolValue
|
|
@@ -2355,4 +2355,4 @@ export {
|
|
|
2355
2355
|
DEFAULT_CONSENSUS_CONFIG,
|
|
2356
2356
|
ConsensusMetricsSchema
|
|
2357
2357
|
};
|
|
2358
|
-
//# sourceMappingURL=chunk-
|
|
2358
|
+
//# sourceMappingURL=chunk-5Z6JTSDZ.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTimeProvider
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5BRDJZ4X.js";
|
|
4
4
|
|
|
5
5
|
// src/version.ts
|
|
6
6
|
import semver from "semver";
|
|
7
|
-
var VERSION = true ? "8.133.
|
|
7
|
+
var VERSION = true ? "8.133.4" : "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-63STP55Z.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-WDAND5YU.js";
|
|
6
6
|
import {
|
|
7
7
|
executeExpert
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6VISK4JT.js";
|
|
9
9
|
import {
|
|
10
10
|
DEPRECATED_MODE_ALIAS_INPUT,
|
|
11
11
|
JobStatusSchema,
|
|
@@ -57,11 +57,11 @@ import {
|
|
|
57
57
|
withFileLock,
|
|
58
58
|
withWarnings,
|
|
59
59
|
writeJobCancelled
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-CUQSLMS7.js";
|
|
61
61
|
import {
|
|
62
62
|
normalizeTopicToCanonical,
|
|
63
63
|
synthesizeResearch
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-2PSDEOKO.js";
|
|
65
65
|
import {
|
|
66
66
|
IssueTriage,
|
|
67
67
|
createAuditTrail,
|
|
@@ -70,13 +70,13 @@ import {
|
|
|
70
70
|
createGraphAuditBridge,
|
|
71
71
|
emitPipelinePolicyEvent,
|
|
72
72
|
readActionRefusal
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-FF3QDRWF.js";
|
|
74
74
|
import {
|
|
75
75
|
sanitizeInput
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-JA6Q3OO2.js";
|
|
77
77
|
import {
|
|
78
78
|
withPrerequisite
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-UOXEQUBI.js";
|
|
80
80
|
import {
|
|
81
81
|
NOOP_NOTIFIER,
|
|
82
82
|
RateLimiter,
|
|
@@ -103,10 +103,10 @@ import {
|
|
|
103
103
|
toolSuccess,
|
|
104
104
|
withProgressHeartbeat,
|
|
105
105
|
wrapToolWithTimeout
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-5Z6JTSDZ.js";
|
|
107
107
|
import {
|
|
108
108
|
generateSecurityPlan
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-A6CTHKSJ.js";
|
|
110
110
|
import {
|
|
111
111
|
analyzeGitHubRepo
|
|
112
112
|
} from "./chunk-4GDMHCKX.js";
|
|
@@ -150,18 +150,18 @@ import {
|
|
|
150
150
|
parseRegistry,
|
|
151
151
|
sourceExistsInRegistry,
|
|
152
152
|
summarizeContextForPrompt
|
|
153
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-45NAN3NB.js";
|
|
154
154
|
import {
|
|
155
155
|
REGISTRY_PATH,
|
|
156
156
|
getProjectRoot,
|
|
157
157
|
loadPapersRegistry,
|
|
158
158
|
loadTechniquesRegistry,
|
|
159
159
|
resolveRegistryRoot
|
|
160
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-XI4CX52X.js";
|
|
161
161
|
import {
|
|
162
162
|
getTokenEnvVars,
|
|
163
163
|
resolveToken
|
|
164
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-TLXQ6CGF.js";
|
|
165
165
|
import {
|
|
166
166
|
DEFAULT_RELEVANCE_CONFIG,
|
|
167
167
|
MemoryImportance,
|
|
@@ -169,7 +169,7 @@ import {
|
|
|
169
169
|
calculateTextJaccardSimilarity,
|
|
170
170
|
getToolMemory,
|
|
171
171
|
memoryTrustTierTag
|
|
172
|
-
} from "./chunk-
|
|
172
|
+
} from "./chunk-KJI4SNSK.js";
|
|
173
173
|
import {
|
|
174
174
|
EXTERNAL_CONTENT_TRUST_TIER,
|
|
175
175
|
resolveContentTrustProvenance,
|
|
@@ -185,7 +185,7 @@ import {
|
|
|
185
185
|
import {
|
|
186
186
|
DEFAULT_TASK_TTL_MS,
|
|
187
187
|
clampTaskTtl
|
|
188
|
-
} from "./chunk-
|
|
188
|
+
} from "./chunk-I6ZPYPSG.js";
|
|
189
189
|
import {
|
|
190
190
|
allOf,
|
|
191
191
|
anyOf
|
|
@@ -194,16 +194,16 @@ import {
|
|
|
194
194
|
VERSION,
|
|
195
195
|
createRequestContext,
|
|
196
196
|
measuredTrustTier
|
|
197
|
-
} from "./chunk-
|
|
197
|
+
} from "./chunk-63STP55Z.js";
|
|
198
198
|
import {
|
|
199
199
|
isGatewayModelAdapter
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-BGHKG77F.js";
|
|
201
201
|
import {
|
|
202
202
|
EventTopics,
|
|
203
203
|
createEvent,
|
|
204
204
|
getGlobalEventBus,
|
|
205
205
|
getGlobalRegistry
|
|
206
|
-
} from "./chunk-
|
|
206
|
+
} from "./chunk-UBFCQKFZ.js";
|
|
207
207
|
import {
|
|
208
208
|
BWRAP_READ_ONLY_ARGS,
|
|
209
209
|
CliDetectionCache,
|
|
@@ -211,13 +211,13 @@ import {
|
|
|
211
211
|
extractRequestSystemPrompt,
|
|
212
212
|
getAvailableClis,
|
|
213
213
|
isAbsentSeat
|
|
214
|
-
} from "./chunk-
|
|
214
|
+
} from "./chunk-LSZKWDCP.js";
|
|
215
215
|
import {
|
|
216
216
|
ensureGatewayDiscovered,
|
|
217
217
|
getAvailabilityCache,
|
|
218
218
|
getCliForModelId,
|
|
219
219
|
resolveFallback
|
|
220
|
-
} from "./chunk-
|
|
220
|
+
} from "./chunk-OXCREJDI.js";
|
|
221
221
|
import {
|
|
222
222
|
DEFAULTS
|
|
223
223
|
} from "./chunk-PRX4ERTK.js";
|
|
@@ -235,13 +235,13 @@ import {
|
|
|
235
235
|
parseGatewayExtraHeaders,
|
|
236
236
|
requireApiKey,
|
|
237
237
|
validateApiKeyPresence
|
|
238
|
-
} from "./chunk-
|
|
238
|
+
} from "./chunk-LE4FXYYZ.js";
|
|
239
239
|
import {
|
|
240
240
|
resolveGatewayEnv
|
|
241
|
-
} from "./chunk-
|
|
241
|
+
} from "./chunk-LAXFJRDX.js";
|
|
242
242
|
import {
|
|
243
243
|
createSessionMemory
|
|
244
|
-
} from "./chunk-
|
|
244
|
+
} from "./chunk-VYT2YEK2.js";
|
|
245
245
|
import {
|
|
246
246
|
TrustTierSchema
|
|
247
247
|
} from "./chunk-CJKHQ6MV.js";
|
|
@@ -255,17 +255,17 @@ import {
|
|
|
255
255
|
terminateProcessTree,
|
|
256
256
|
trackProcessTree,
|
|
257
257
|
withTimeout
|
|
258
|
-
} from "./chunk-
|
|
258
|
+
} from "./chunk-TMMPWFO2.js";
|
|
259
259
|
import {
|
|
260
260
|
generateHyphenId,
|
|
261
261
|
generateUUID
|
|
262
|
-
} from "./chunk-
|
|
262
|
+
} from "./chunk-GXXOMV43.js";
|
|
263
263
|
import {
|
|
264
264
|
getDefaultCliCircuitBreakerRegistry
|
|
265
|
-
} from "./chunk-
|
|
265
|
+
} from "./chunk-IIMSXW5L.js";
|
|
266
266
|
import {
|
|
267
267
|
sanitizeErrorDetails
|
|
268
|
-
} from "./chunk-
|
|
268
|
+
} from "./chunk-R77KXHK4.js";
|
|
269
269
|
import {
|
|
270
270
|
ARCHITECTURE_KEYWORDS,
|
|
271
271
|
AUTHORITY_TIERS,
|
|
@@ -385,7 +385,7 @@ import {
|
|
|
385
385
|
toExpertTaskAnalysisResult,
|
|
386
386
|
truncateWithInfo,
|
|
387
387
|
withStep
|
|
388
|
-
} from "./chunk-
|
|
388
|
+
} from "./chunk-5BRDJZ4X.js";
|
|
389
389
|
import {
|
|
390
390
|
SUPPORTED_EXTENSIONS
|
|
391
391
|
} from "./chunk-XBEKMUTO.js";
|
|
@@ -30460,7 +30460,7 @@ function execIdFields(executionId) {
|
|
|
30460
30460
|
async function populateUnifiedContextOnState(state, options) {
|
|
30461
30461
|
const taskCandidate = state["task"];
|
|
30462
30462
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
30463
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
30463
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-7N4CDXYP.js");
|
|
30464
30464
|
const category = inferTaskCategory2(taskCandidate);
|
|
30465
30465
|
const executionId = options?.executionId;
|
|
30466
30466
|
const execFields = execIdFields(executionId);
|
|
@@ -45392,7 +45392,7 @@ var FileAuditStorage = class _FileAuditStorage {
|
|
|
45392
45392
|
};
|
|
45393
45393
|
|
|
45394
45394
|
// src/audit/audit-logger.ts
|
|
45395
|
-
import * as
|
|
45395
|
+
import * as crypto2 from "node:crypto";
|
|
45396
45396
|
|
|
45397
45397
|
// src/audit/tier-transition-hash.ts
|
|
45398
45398
|
function hasTierTransitionPayload(event) {
|
|
@@ -45415,12 +45415,8 @@ function canonicalTierTransition(raw) {
|
|
|
45415
45415
|
});
|
|
45416
45416
|
}
|
|
45417
45417
|
|
|
45418
|
-
// src/audit/audit-
|
|
45419
|
-
|
|
45420
|
-
const timestamp = getTimeProvider().now().toString(36);
|
|
45421
|
-
const random = crypto.randomBytes(6).toString("hex");
|
|
45422
|
-
return `aud_${timestamp}_${random}`;
|
|
45423
|
-
}
|
|
45418
|
+
// src/audit/audit-chain-verify.ts
|
|
45419
|
+
import * as crypto from "node:crypto";
|
|
45424
45420
|
function computeEventHash(event) {
|
|
45425
45421
|
const projection = {
|
|
45426
45422
|
id: event.id,
|
|
@@ -45499,6 +45495,13 @@ function verifyChain(events) {
|
|
|
45499
45495
|
}
|
|
45500
45496
|
return { ok: true, eventCount: events.length };
|
|
45501
45497
|
}
|
|
45498
|
+
|
|
45499
|
+
// src/audit/audit-logger.ts
|
|
45500
|
+
function generateEventId() {
|
|
45501
|
+
const timestamp = getTimeProvider().now().toString(36);
|
|
45502
|
+
const random = crypto2.randomBytes(6).toString("hex");
|
|
45503
|
+
return `aud_${timestamp}_${random}`;
|
|
45504
|
+
}
|
|
45502
45505
|
var SYSTEM_ACTOR = {
|
|
45503
45506
|
type: "system",
|
|
45504
45507
|
id: "nexus-agents",
|
|
@@ -45958,7 +45961,7 @@ function createAuditLogger(config, storage, logger59, onPersistFailure) {
|
|
|
45958
45961
|
}
|
|
45959
45962
|
|
|
45960
45963
|
// src/audit/pr-review-record.ts
|
|
45961
|
-
import * as
|
|
45964
|
+
import * as crypto3 from "node:crypto";
|
|
45962
45965
|
import { z as z99 } from "zod";
|
|
45963
45966
|
var PrReviewVerdictSchema = z99.enum(["approve", "request_changes", "abstain"]);
|
|
45964
45967
|
var PrReviewVoteCountsSchema = z99.object({
|
|
@@ -46254,7 +46257,7 @@ function computePrReviewRecordHash(payload) {
|
|
|
46254
46257
|
...payload.coverage !== void 0 ? { coverage: projectPanelCoverage(payload.coverage) } : {},
|
|
46255
46258
|
...payload.bindingBounds !== void 0 ? { bindingBounds: projectBindingBounds(payload.bindingBounds) } : {}
|
|
46256
46259
|
});
|
|
46257
|
-
return
|
|
46260
|
+
return crypto3.createHash("sha256").update(canonical).digest("hex");
|
|
46258
46261
|
}
|
|
46259
46262
|
|
|
46260
46263
|
// src/audit/pr-review-record-store.ts
|
|
@@ -46940,7 +46943,7 @@ async function tryIssueTriage(task) {
|
|
|
46940
46943
|
try {
|
|
46941
46944
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
46942
46945
|
if (issueMatch === null) return null;
|
|
46943
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
46946
|
+
const { createIssueTriage } = await import("./issue-triage-CAJ232ZV.js");
|
|
46944
46947
|
const triage = createIssueTriage();
|
|
46945
46948
|
const owner = issueMatch[1] ?? "";
|
|
46946
46949
|
const num2 = issueMatch[2] ?? "";
|
|
@@ -46968,7 +46971,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
46968
46971
|
]);
|
|
46969
46972
|
async function classifyWithLLM(task) {
|
|
46970
46973
|
try {
|
|
46971
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
46974
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-XTTYNDBS.js");
|
|
46972
46975
|
const prompt = [
|
|
46973
46976
|
"Classify this task into exactly one pipeline template.",
|
|
46974
46977
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -47342,7 +47345,7 @@ function buildVotingInput(plan, config) {
|
|
|
47342
47345
|
}
|
|
47343
47346
|
async function executeSingleVote(plan, config, log) {
|
|
47344
47347
|
try {
|
|
47345
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47348
|
+
const { executeVoting } = await import("./consensus-vote-Z5BGUSZB.js");
|
|
47346
47349
|
const input = buildVotingInput(plan, config);
|
|
47347
47350
|
const result = await executeVoting(input, log);
|
|
47348
47351
|
return parseVotingResult(result);
|
|
@@ -48890,7 +48893,7 @@ var memoryInitPromise = null;
|
|
|
48890
48893
|
async function initPipelineMemory() {
|
|
48891
48894
|
if (cachedMemory !== null) return cachedMemory;
|
|
48892
48895
|
try {
|
|
48893
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
48896
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-X2Y5BJGJ.js");
|
|
48894
48897
|
const { getLearningDir } = await import("./learning-persistence-FB4U5AX2.js");
|
|
48895
48898
|
const mem = createSessionMemory2(getLearningDir());
|
|
48896
48899
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
@@ -48952,7 +48955,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
|
|
|
48952
48955
|
callRecord(routingMemoryCache);
|
|
48953
48956
|
return;
|
|
48954
48957
|
}
|
|
48955
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
48958
|
+
routingMemoryInitPromise ??= import("./routing-memory-77IYSA2Q.js").then(({ createRoutingMemory }) => {
|
|
48956
48959
|
routingMemoryCache ??= createRoutingMemory();
|
|
48957
48960
|
return routingMemoryCache;
|
|
48958
48961
|
}).catch((error) => {
|
|
@@ -49171,7 +49174,7 @@ function createVoteStage({ config, startStage }) {
|
|
|
49171
49174
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
49172
49175
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
49173
49176
|
try {
|
|
49174
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
49177
|
+
const { executeVoting } = await import("./consensus-vote-Z5BGUSZB.js");
|
|
49175
49178
|
const proposal = buildVoteProposal(plan, research);
|
|
49176
49179
|
const votingResult = await executeVoting(
|
|
49177
49180
|
{
|
|
@@ -49978,7 +49981,7 @@ ${text}` : "";
|
|
|
49978
49981
|
}
|
|
49979
49982
|
async function getWeatherContext() {
|
|
49980
49983
|
try {
|
|
49981
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
49984
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-RXFQNN3D.js");
|
|
49982
49985
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
49983
49986
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
49984
49987
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -49996,7 +49999,7 @@ ${lines}
|
|
|
49996
49999
|
}
|
|
49997
50000
|
async function getMemoryContext(task) {
|
|
49998
50001
|
try {
|
|
49999
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
50002
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-X2Y5BJGJ.js");
|
|
50000
50003
|
const { getLearningDir } = await import("./learning-persistence-FB4U5AX2.js");
|
|
50001
50004
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
50002
50005
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
@@ -50713,7 +50716,7 @@ async function searchCodebaseForTask(task) {
|
|
|
50713
50716
|
}
|
|
50714
50717
|
async function queryResearchRegistry(task) {
|
|
50715
50718
|
try {
|
|
50716
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
50719
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-5RFBOOFU.js");
|
|
50717
50720
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
50718
50721
|
if (topic === void 0) return null;
|
|
50719
50722
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -50784,7 +50787,7 @@ function createScanStageWrapper() {
|
|
|
50784
50787
|
try {
|
|
50785
50788
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
50786
50789
|
if (slug !== void 0) {
|
|
50787
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
50790
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-NNALBUDS.js");
|
|
50788
50791
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
50789
50792
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
50790
50793
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -51058,7 +51061,7 @@ import { z as z103 } from "zod";
|
|
|
51058
51061
|
import { randomUUID as randomUUID14 } from "node:crypto";
|
|
51059
51062
|
|
|
51060
51063
|
// src/audit/reviewed-diff-hash.ts
|
|
51061
|
-
import * as
|
|
51064
|
+
import * as crypto4 from "node:crypto";
|
|
51062
51065
|
var MAX_REVIEWED_DIFF_BYTES = 5e4;
|
|
51063
51066
|
var CANONICAL_GIT_DIFF_ARGS = Object.freeze([
|
|
51064
51067
|
"-c",
|
|
@@ -51078,7 +51081,7 @@ var CANONICAL_GIT_DIFF_ARGS = Object.freeze([
|
|
|
51078
51081
|
function computeReviewedDiffHash(diff) {
|
|
51079
51082
|
const bytes2 = Buffer.from(diff, "utf-8");
|
|
51080
51083
|
const truncated = bytes2.byteLength > MAX_REVIEWED_DIFF_BYTES ? bytes2.subarray(0, MAX_REVIEWED_DIFF_BYTES) : bytes2;
|
|
51081
|
-
return
|
|
51084
|
+
return crypto4.createHash("sha256").update(truncated).digest("hex");
|
|
51082
51085
|
}
|
|
51083
51086
|
function reviewedDiffWasTruncated(diff) {
|
|
51084
51087
|
return Buffer.byteLength(diff, "utf-8") > MAX_REVIEWED_DIFF_BYTES;
|
|
@@ -54571,7 +54574,7 @@ var GitHubTaskTracker = class {
|
|
|
54571
54574
|
cachedProvider = null;
|
|
54572
54575
|
async getProvider() {
|
|
54573
54576
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
54574
|
-
const { createScmProvider } = await import("./factory-
|
|
54577
|
+
const { createScmProvider } = await import("./factory-VUK2KP76.js");
|
|
54575
54578
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
54576
54579
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
54577
54580
|
this.cachedProvider = result.value;
|
|
@@ -55628,7 +55631,7 @@ function withCatalogueCaveat(report) {
|
|
|
55628
55631
|
var GATEWAY_TRANSPORT = "gateway";
|
|
55629
55632
|
var GATEWAY_API_ARM = "api:custom-openai";
|
|
55630
55633
|
async function gatewaySource(apiArm) {
|
|
55631
|
-
const { discoverModels, readOpenAICompatEnv } = await import("./openai-compat-adapter-
|
|
55634
|
+
const { discoverModels, readOpenAICompatEnv } = await import("./openai-compat-adapter-BIMDUZUY.js");
|
|
55632
55635
|
const config = readOpenAICompatEnv();
|
|
55633
55636
|
if (config !== null) {
|
|
55634
55637
|
return {
|
|
@@ -55647,7 +55650,7 @@ async function gatewaySource(apiArm) {
|
|
|
55647
55650
|
}
|
|
55648
55651
|
async function defaultSources(includeOpenRouter, adaptersFactory) {
|
|
55649
55652
|
const adapters = new Map(
|
|
55650
|
-
adaptersFactory !== void 0 ? adaptersFactory() : (await import("./factory-
|
|
55653
|
+
adaptersFactory !== void 0 ? adaptersFactory() : (await import("./factory-UGMGVQTP.js")).createAllAdapters()
|
|
55651
55654
|
);
|
|
55652
55655
|
const apiArm = adapters.get(GATEWAY_API_ARM);
|
|
55653
55656
|
adapters.delete(GATEWAY_API_ARM);
|
|
@@ -59028,4 +59031,4 @@ export {
|
|
|
59028
59031
|
initializeSandbox,
|
|
59029
59032
|
getSandboxMode
|
|
59030
59033
|
};
|
|
59031
|
-
//# sourceMappingURL=chunk-
|
|
59034
|
+
//# sourceMappingURL=chunk-6Q7BWRPL.js.map
|