nexus-agents 11.5.6 → 11.5.8
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-TY2DZJBQ.js → ast-rule-runner-XNN6C4BK.js} +7 -7
- package/dist/{child-mcp-config-YKGYKLE4.js → child-mcp-config-7TBGBZDT.js} +6 -6
- package/dist/{chunk-Y3FXFM7Y.js → chunk-2AAT4K7W.js} +6 -6
- package/dist/{chunk-NJZSAXXK.js → chunk-3ADJ62JR.js} +5 -5
- package/dist/{chunk-4TIN5SKQ.js → chunk-3PR6YSBO.js} +3 -3
- package/dist/{chunk-CAMFBH4W.js → chunk-4G7WXXER.js} +8 -8
- package/dist/{chunk-P4EL25PO.js → chunk-57HOX3PY.js} +5 -5
- package/dist/{chunk-KZIDRH7L.js → chunk-6R4TSS6U.js} +5 -5
- package/dist/{chunk-6EW6KXEW.js → chunk-75E5P5VI.js} +75 -51
- package/dist/{chunk-6EW6KXEW.js.map → chunk-75E5P5VI.js.map} +1 -1
- package/dist/{chunk-4S7H76GJ.js → chunk-7HLM6D4D.js} +2 -2
- package/dist/{chunk-OMT226GF.js → chunk-7JOOFROV.js} +3 -3
- package/dist/{chunk-OB7DE4QN.js → chunk-DF4QS47S.js} +3 -3
- package/dist/{chunk-2GXAL4WV.js → chunk-GHHFQWSF.js} +3 -3
- package/dist/{chunk-HHB2Z7LX.js → chunk-GZTZ3YNJ.js} +3 -3
- package/dist/{chunk-A3XTSBSA.js → chunk-HQ443CYG.js} +4 -4
- package/dist/{chunk-4UNCRRJP.js → chunk-KIWP4Q65.js} +3 -3
- package/dist/{chunk-LTH76W6C.js → chunk-LACIHWOE.js} +5 -5
- package/dist/{chunk-SNEXMYWH.js → chunk-LYEEI7UV.js} +5 -5
- package/dist/{chunk-MS4PMYDL.js → chunk-M3ER5IOQ.js} +4 -4
- package/dist/{chunk-SKSR4Q3L.js → chunk-MAH6W4JY.js} +15 -15
- package/dist/{chunk-442TR7T5.js → chunk-MCREMMPD.js} +6 -6
- package/dist/{chunk-XT4BDCNW.js → chunk-MHNZVNNR.js} +2 -2
- package/dist/{chunk-H5N7VP4L.js → chunk-MM4XMSPL.js} +3 -3
- package/dist/{chunk-GR6WCJWY.js → chunk-MQ23UGSY.js} +127 -12
- package/dist/chunk-MQ23UGSY.js.map +1 -0
- package/dist/{chunk-BIJRNGI4.js → chunk-NAC67DJA.js} +3 -3
- package/dist/{chunk-3665PYSK.js → chunk-O3FMPRQH.js} +65 -27
- package/dist/chunk-O3FMPRQH.js.map +1 -0
- package/dist/{chunk-UFAK5UGH.js → chunk-PDC5MCNC.js} +2 -2
- package/dist/{chunk-6ZTMMN2N.js → chunk-PX7KZWZT.js} +2 -2
- package/dist/{chunk-PSHG65FT.js → chunk-QC437V2W.js} +16 -16
- package/dist/{chunk-X4A3XAWE.js → chunk-QDJJECQF.js} +3 -3
- package/dist/{chunk-F3QJ6MMF.js → chunk-SKZCM3NK.js} +3 -3
- package/dist/{chunk-P7UYXTBL.js → chunk-SPM2Z5ND.js} +5 -5
- package/dist/{chunk-773AZVR3.js → chunk-U44OI6Z5.js} +2 -2
- package/dist/{chunk-XCNZ63HH.js → chunk-UV7KKABG.js} +8 -8
- package/dist/{chunk-CRE3VUQU.js → chunk-W2ETDM6J.js} +9 -9
- package/dist/{chunk-OWRB3X7N.js → chunk-WNTCWKXS.js} +3 -3
- package/dist/{chunk-53J7YO4O.js → chunk-WPO6HX5A.js} +3 -3
- package/dist/{chunk-UPATHBFM.js → chunk-X4YSDGS5.js} +11 -11
- package/dist/{chunk-GQ3ZYHFA.js → chunk-XNCGJL7M.js} +7 -7
- package/dist/{chunk-3DTEV3ZW.js → chunk-YIIQBHT3.js} +10 -10
- package/dist/{cli-circuit-breaker-JVZ5PU4B.js → cli-circuit-breaker-XWDDFE7U.js} +7 -7
- package/dist/{cli-readiness-7JCRT2EI.js → cli-readiness-MCY4CHAU.js} +11 -11
- package/dist/{cli-server-gateway-5MQUDWGD.js → cli-server-gateway-6NMQ4AVZ.js} +15 -15
- package/dist/cli.js +48 -48
- package/dist/{composite-router-XSLAMEZ2.js → composite-router-EQFWXBFF.js} +6 -6
- package/dist/{consensus-vote-YQS6ALNB.js → consensus-vote-MFU4GC7U.js} +19 -19
- package/dist/{context-retriever-R73UHFWI.js → context-retriever-EQAQAPFN.js} +12 -12
- package/dist/{doctor-deep-M2TBIEBC.js → doctor-deep-DBXUXRW5.js} +7 -7
- package/dist/{doctor-gateway-report-YDT7XPVY.js → doctor-gateway-report-YBDNGYLC.js} +10 -10
- package/dist/{doctor-live-Z4LF54MW.js → doctor-live-3VUTMQF2.js} +15 -15
- package/dist/{expert-bridge-W4VQIKJZ.js → expert-bridge-KTVO4YSL.js} +8 -8
- package/dist/{factory-ASG5ZHNZ.js → factory-IAXWLSS5.js} +9 -9
- package/dist/{factory-PHXMDQTV.js → factory-PULIMXIN.js} +14 -14
- package/dist/{improvement-review-KHHA4HWY.js → improvement-review-DIFXBALY.js} +10 -10
- package/dist/index.js +34 -34
- package/dist/{init-opencode-WVUH45BK.js → init-opencode-FFQUKSAV.js} +9 -9
- package/dist/{issue-triage-WJJTD4MM.js → issue-triage-LUEJOVWU.js} +10 -10
- package/dist/{model-config-helpers-7ZDR3P4Y.js → model-config-helpers-USXRLRPD.js} +4 -4
- package/dist/{openai-compat-adapter-WMFPZ3UG.js → openai-compat-adapter-HVIYFIEZ.js} +9 -9
- package/dist/{outcome-store-adapter-LAJVBCNK.js → outcome-store-adapter-XMX6TOYL.js} +3 -3
- package/dist/{pr-reviewer-helpers-KFU6XHHL.js → pr-reviewer-helpers-WK5DGZAI.js} +8 -8
- package/dist/{registry-command-AOMYQ2FJ.js → registry-command-NYXMJKDT.js} +3 -3
- package/dist/{repo-security-plan-7AUZZRCO.js → repo-security-plan-PA65A7BU.js} +7 -7
- package/dist/{research-helpers-synthesize-Q7TPPQMV.js → research-helpers-synthesize-HT6AWTJE.js} +8 -8
- package/dist/{routing-memory-CQVHYZTF.js → routing-memory-EO7FQ6QC.js} +6 -6
- package/dist/{session-memory-VKEGIPWB.js → session-memory-7DUZ4UPF.js} +7 -7
- package/dist/{setup-config-W23HGFJX.js → setup-config-6H6FDCDP.js} +7 -7
- package/dist/{setup-custom-api-ENCKU6RP.js → setup-custom-api-2Y5LCBCK.js} +7 -7
- package/dist/setup-data-dir-F37R7F23.js +40 -0
- package/dist/{tool-memory-YKHJP5A7.js → tool-memory-X5WMBUZX.js} +9 -9
- package/dist/{unified-registry-TLEJ4EIA.js → unified-registry-YLHVTOLJ.js} +14 -14
- package/dist/{weather-report-OO44SAKC.js → weather-report-ZLQALSCF.js} +6 -6
- package/package.json +1 -1
- package/dist/chunk-3665PYSK.js.map +0 -1
- package/dist/chunk-GR6WCJWY.js.map +0 -1
- package/dist/setup-data-dir-AFKZMHNU.js +0 -40
- /package/dist/{ast-rule-runner-TY2DZJBQ.js.map → ast-rule-runner-XNN6C4BK.js.map} +0 -0
- /package/dist/{child-mcp-config-YKGYKLE4.js.map → child-mcp-config-7TBGBZDT.js.map} +0 -0
- /package/dist/{chunk-Y3FXFM7Y.js.map → chunk-2AAT4K7W.js.map} +0 -0
- /package/dist/{chunk-NJZSAXXK.js.map → chunk-3ADJ62JR.js.map} +0 -0
- /package/dist/{chunk-4TIN5SKQ.js.map → chunk-3PR6YSBO.js.map} +0 -0
- /package/dist/{chunk-CAMFBH4W.js.map → chunk-4G7WXXER.js.map} +0 -0
- /package/dist/{chunk-P4EL25PO.js.map → chunk-57HOX3PY.js.map} +0 -0
- /package/dist/{chunk-KZIDRH7L.js.map → chunk-6R4TSS6U.js.map} +0 -0
- /package/dist/{chunk-4S7H76GJ.js.map → chunk-7HLM6D4D.js.map} +0 -0
- /package/dist/{chunk-OMT226GF.js.map → chunk-7JOOFROV.js.map} +0 -0
- /package/dist/{chunk-OB7DE4QN.js.map → chunk-DF4QS47S.js.map} +0 -0
- /package/dist/{chunk-2GXAL4WV.js.map → chunk-GHHFQWSF.js.map} +0 -0
- /package/dist/{chunk-HHB2Z7LX.js.map → chunk-GZTZ3YNJ.js.map} +0 -0
- /package/dist/{chunk-A3XTSBSA.js.map → chunk-HQ443CYG.js.map} +0 -0
- /package/dist/{chunk-4UNCRRJP.js.map → chunk-KIWP4Q65.js.map} +0 -0
- /package/dist/{chunk-LTH76W6C.js.map → chunk-LACIHWOE.js.map} +0 -0
- /package/dist/{chunk-SNEXMYWH.js.map → chunk-LYEEI7UV.js.map} +0 -0
- /package/dist/{chunk-MS4PMYDL.js.map → chunk-M3ER5IOQ.js.map} +0 -0
- /package/dist/{chunk-SKSR4Q3L.js.map → chunk-MAH6W4JY.js.map} +0 -0
- /package/dist/{chunk-442TR7T5.js.map → chunk-MCREMMPD.js.map} +0 -0
- /package/dist/{chunk-XT4BDCNW.js.map → chunk-MHNZVNNR.js.map} +0 -0
- /package/dist/{chunk-H5N7VP4L.js.map → chunk-MM4XMSPL.js.map} +0 -0
- /package/dist/{chunk-BIJRNGI4.js.map → chunk-NAC67DJA.js.map} +0 -0
- /package/dist/{chunk-UFAK5UGH.js.map → chunk-PDC5MCNC.js.map} +0 -0
- /package/dist/{chunk-6ZTMMN2N.js.map → chunk-PX7KZWZT.js.map} +0 -0
- /package/dist/{chunk-PSHG65FT.js.map → chunk-QC437V2W.js.map} +0 -0
- /package/dist/{chunk-X4A3XAWE.js.map → chunk-QDJJECQF.js.map} +0 -0
- /package/dist/{chunk-F3QJ6MMF.js.map → chunk-SKZCM3NK.js.map} +0 -0
- /package/dist/{chunk-P7UYXTBL.js.map → chunk-SPM2Z5ND.js.map} +0 -0
- /package/dist/{chunk-773AZVR3.js.map → chunk-U44OI6Z5.js.map} +0 -0
- /package/dist/{chunk-XCNZ63HH.js.map → chunk-UV7KKABG.js.map} +0 -0
- /package/dist/{chunk-CRE3VUQU.js.map → chunk-W2ETDM6J.js.map} +0 -0
- /package/dist/{chunk-OWRB3X7N.js.map → chunk-WNTCWKXS.js.map} +0 -0
- /package/dist/{chunk-53J7YO4O.js.map → chunk-WPO6HX5A.js.map} +0 -0
- /package/dist/{chunk-UPATHBFM.js.map → chunk-X4YSDGS5.js.map} +0 -0
- /package/dist/{chunk-GQ3ZYHFA.js.map → chunk-XNCGJL7M.js.map} +0 -0
- /package/dist/{chunk-3DTEV3ZW.js.map → chunk-YIIQBHT3.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-JVZ5PU4B.js.map → cli-circuit-breaker-XWDDFE7U.js.map} +0 -0
- /package/dist/{cli-readiness-7JCRT2EI.js.map → cli-readiness-MCY4CHAU.js.map} +0 -0
- /package/dist/{cli-server-gateway-5MQUDWGD.js.map → cli-server-gateway-6NMQ4AVZ.js.map} +0 -0
- /package/dist/{composite-router-XSLAMEZ2.js.map → composite-router-EQFWXBFF.js.map} +0 -0
- /package/dist/{consensus-vote-YQS6ALNB.js.map → consensus-vote-MFU4GC7U.js.map} +0 -0
- /package/dist/{context-retriever-R73UHFWI.js.map → context-retriever-EQAQAPFN.js.map} +0 -0
- /package/dist/{doctor-deep-M2TBIEBC.js.map → doctor-deep-DBXUXRW5.js.map} +0 -0
- /package/dist/{doctor-gateway-report-YDT7XPVY.js.map → doctor-gateway-report-YBDNGYLC.js.map} +0 -0
- /package/dist/{doctor-live-Z4LF54MW.js.map → doctor-live-3VUTMQF2.js.map} +0 -0
- /package/dist/{expert-bridge-W4VQIKJZ.js.map → expert-bridge-KTVO4YSL.js.map} +0 -0
- /package/dist/{factory-ASG5ZHNZ.js.map → factory-IAXWLSS5.js.map} +0 -0
- /package/dist/{factory-PHXMDQTV.js.map → factory-PULIMXIN.js.map} +0 -0
- /package/dist/{improvement-review-KHHA4HWY.js.map → improvement-review-DIFXBALY.js.map} +0 -0
- /package/dist/{init-opencode-WVUH45BK.js.map → init-opencode-FFQUKSAV.js.map} +0 -0
- /package/dist/{issue-triage-WJJTD4MM.js.map → issue-triage-LUEJOVWU.js.map} +0 -0
- /package/dist/{model-config-helpers-7ZDR3P4Y.js.map → model-config-helpers-USXRLRPD.js.map} +0 -0
- /package/dist/{openai-compat-adapter-WMFPZ3UG.js.map → openai-compat-adapter-HVIYFIEZ.js.map} +0 -0
- /package/dist/{outcome-store-adapter-LAJVBCNK.js.map → outcome-store-adapter-XMX6TOYL.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-KFU6XHHL.js.map → pr-reviewer-helpers-WK5DGZAI.js.map} +0 -0
- /package/dist/{registry-command-AOMYQ2FJ.js.map → registry-command-NYXMJKDT.js.map} +0 -0
- /package/dist/{repo-security-plan-7AUZZRCO.js.map → repo-security-plan-PA65A7BU.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-Q7TPPQMV.js.map → research-helpers-synthesize-HT6AWTJE.js.map} +0 -0
- /package/dist/{routing-memory-CQVHYZTF.js.map → routing-memory-EO7FQ6QC.js.map} +0 -0
- /package/dist/{session-memory-VKEGIPWB.js.map → session-memory-7DUZ4UPF.js.map} +0 -0
- /package/dist/{setup-config-W23HGFJX.js.map → setup-config-6H6FDCDP.js.map} +0 -0
- /package/dist/{setup-custom-api-ENCKU6RP.js.map → setup-custom-api-2Y5LCBCK.js.map} +0 -0
- /package/dist/{setup-data-dir-AFKZMHNU.js.map → setup-data-dir-F37R7F23.js.map} +0 -0
- /package/dist/{tool-memory-YKHJP5A7.js.map → tool-memory-X5WMBUZX.js.map} +0 -0
- /package/dist/{unified-registry-TLEJ4EIA.js.map → unified-registry-YLHVTOLJ.js.map} +0 -0
- /package/dist/{weather-report-OO44SAKC.js.map → weather-report-ZLQALSCF.js.map} +0 -0
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
getBuiltInAstRulesPath,
|
|
10
10
|
loadRules,
|
|
11
11
|
runAstQaRules
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-NAC67DJA.js";
|
|
13
|
+
import "./chunk-YIIQBHT3.js";
|
|
14
14
|
import "./chunk-XBEKMUTO.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-MHNZVNNR.js";
|
|
16
|
+
import "./chunk-WPO6HX5A.js";
|
|
17
17
|
import "./chunk-CBN5IKTG.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-PDC5MCNC.js";
|
|
19
|
+
import "./chunk-MQ23UGSY.js";
|
|
20
20
|
import "./chunk-356WC2D4.js";
|
|
21
21
|
import "./chunk-6TBRXZY7.js";
|
|
22
22
|
import "./chunk-SYTFRVWX.js";
|
|
@@ -34,4 +34,4 @@ export {
|
|
|
34
34
|
loadRules,
|
|
35
35
|
runAstQaRules
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=ast-rule-runner-
|
|
37
|
+
//# sourceMappingURL=ast-rule-runner-XNN6C4BK.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
nexusMkdtempSync
|
|
3
3
|
} from "./chunk-CBDUTJJC.js";
|
|
4
|
-
import "./chunk-
|
|
4
|
+
import "./chunk-YIIQBHT3.js";
|
|
5
5
|
import "./chunk-XBEKMUTO.js";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-MHNZVNNR.js";
|
|
7
|
+
import "./chunk-WPO6HX5A.js";
|
|
8
8
|
import "./chunk-CBN5IKTG.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-PDC5MCNC.js";
|
|
10
10
|
import {
|
|
11
11
|
createLogger
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-MQ23UGSY.js";
|
|
13
13
|
import "./chunk-356WC2D4.js";
|
|
14
14
|
import "./chunk-6TBRXZY7.js";
|
|
15
15
|
import "./chunk-SYTFRVWX.js";
|
|
@@ -81,4 +81,4 @@ async function generateMcpConfig(options) {
|
|
|
81
81
|
export {
|
|
82
82
|
generateMcpConfig
|
|
83
83
|
};
|
|
84
|
-
//# sourceMappingURL=child-mcp-config-
|
|
84
|
+
//# sourceMappingURL=child-mcp-config-7TBGBZDT.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GitHubProvider,
|
|
3
3
|
ScmError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3PR6YSBO.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-U44OI6Z5.js";
|
|
13
13
|
import {
|
|
14
14
|
hasToken
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-WNTCWKXS.js";
|
|
16
16
|
import {
|
|
17
17
|
toContentTrustProvenanceRecord
|
|
18
18
|
} from "./chunk-ZO6ZKR7L.js";
|
|
@@ -25,11 +25,11 @@ import {
|
|
|
25
25
|
err,
|
|
26
26
|
getErrorMessage,
|
|
27
27
|
ok
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-YIIQBHT3.js";
|
|
29
29
|
import {
|
|
30
30
|
createLogger,
|
|
31
31
|
getTimeProvider
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-MQ23UGSY.js";
|
|
33
33
|
import {
|
|
34
34
|
CLI_SUBPROCESS_TIMEOUTS
|
|
35
35
|
} from "./chunk-6TBRXZY7.js";
|
|
@@ -2647,4 +2647,4 @@ export {
|
|
|
2647
2647
|
IssueTriage,
|
|
2648
2648
|
createIssueTriage
|
|
2649
2649
|
};
|
|
2650
|
-
//# sourceMappingURL=chunk-
|
|
2650
|
+
//# sourceMappingURL=chunk-2AAT4K7W.js.map
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
getCurrentRequestContext,
|
|
6
6
|
runWithRequestContext,
|
|
7
7
|
serverCallerInfo
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-GZTZ3YNJ.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_EXECUTION_MODE
|
|
11
11
|
} from "./chunk-TYLE7Z2S.js";
|
|
12
12
|
import {
|
|
13
13
|
sanitizeErrorDetails,
|
|
14
14
|
sanitizeStringLeaves
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-O3FMPRQH.js";
|
|
16
16
|
import {
|
|
17
17
|
SecurityError,
|
|
18
18
|
TOOL_MANIFEST,
|
|
@@ -24,11 +24,11 @@ import {
|
|
|
24
24
|
getErrorMessage,
|
|
25
25
|
ok,
|
|
26
26
|
resolveInsideRoot
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-YIIQBHT3.js";
|
|
28
28
|
import {
|
|
29
29
|
createLogger,
|
|
30
30
|
getTimeProvider
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-MQ23UGSY.js";
|
|
32
32
|
import {
|
|
33
33
|
getNexusDataDir,
|
|
34
34
|
parseBoolValue
|
|
@@ -2345,4 +2345,4 @@ export {
|
|
|
2345
2345
|
DEFAULT_CONSENSUS_CONFIG,
|
|
2346
2346
|
ConsensusMetricsSchema
|
|
2347
2347
|
};
|
|
2348
|
-
//# sourceMappingURL=chunk-
|
|
2348
|
+
//# sourceMappingURL=chunk-3ADJ62JR.js.map
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
err,
|
|
3
3
|
getErrorMessage,
|
|
4
4
|
ok
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-YIIQBHT3.js";
|
|
6
6
|
import {
|
|
7
7
|
createLogger
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-MQ23UGSY.js";
|
|
9
9
|
import {
|
|
10
10
|
CLI_SUBPROCESS_TIMEOUTS
|
|
11
11
|
} from "./chunk-6TBRXZY7.js";
|
|
@@ -285,4 +285,4 @@ export {
|
|
|
285
285
|
ScmError,
|
|
286
286
|
GitHubProvider
|
|
287
287
|
};
|
|
288
|
-
//# sourceMappingURL=chunk-
|
|
288
|
+
//# sourceMappingURL=chunk-3PR6YSBO.js.map
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getGlobalRegistry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-X4YSDGS5.js";
|
|
4
4
|
import {
|
|
5
5
|
GatewayRediscovery,
|
|
6
6
|
discoverGatewayOnce,
|
|
7
7
|
setGatewayRediscovery
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-57HOX3PY.js";
|
|
9
9
|
import {
|
|
10
10
|
GatewayHostRefusedError,
|
|
11
11
|
buildOpenAICompatAdapters,
|
|
12
12
|
readOpenAICompatEndpoint,
|
|
13
13
|
readOpenAICompatEnv
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-XNCGJL7M.js";
|
|
15
15
|
import {
|
|
16
16
|
hostnameOf
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-SKZCM3NK.js";
|
|
18
18
|
import {
|
|
19
19
|
getDefaultCliCircuitBreakerRegistry
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-MM4XMSPL.js";
|
|
21
21
|
import {
|
|
22
22
|
createGatewayArmAdapter,
|
|
23
23
|
gatewayEndpointRejection,
|
|
@@ -25,10 +25,10 @@ import {
|
|
|
25
25
|
resolveGatewayDefault,
|
|
26
26
|
setGatewayCatalog,
|
|
27
27
|
setGatewaySlotCatalog
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-YIIQBHT3.js";
|
|
29
29
|
import {
|
|
30
30
|
isEndpointArmId
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-PDC5MCNC.js";
|
|
32
32
|
import {
|
|
33
33
|
detectSandbox,
|
|
34
34
|
parseBoolEnv
|
|
@@ -1045,4 +1045,4 @@ export {
|
|
|
1045
1045
|
registerGatewayArm,
|
|
1046
1046
|
wireGateway
|
|
1047
1047
|
};
|
|
1048
|
-
//# sourceMappingURL=chunk-
|
|
1048
|
+
//# sourceMappingURL=chunk-4G7WXXER.js.map
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
getErrorMessage,
|
|
5
5
|
logGatewaySlotMapping,
|
|
6
6
|
setGatewaySlotCatalog
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-YIIQBHT3.js";
|
|
8
8
|
import {
|
|
9
9
|
resolveOwnerCli
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MHNZVNNR.js";
|
|
11
11
|
import {
|
|
12
12
|
createLogger,
|
|
13
13
|
getTimeProvider
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-MQ23UGSY.js";
|
|
15
15
|
|
|
16
16
|
// src/config/model-availability.ts
|
|
17
17
|
var DEFAULT_TTL_MS = 6e4;
|
|
@@ -143,7 +143,7 @@ function discoverGatewayOnce(logger = defaultLogger) {
|
|
|
143
143
|
}
|
|
144
144
|
async function runProbe(logger) {
|
|
145
145
|
try {
|
|
146
|
-
const { buildOpenAICompatAdapters: build } = await import("./openai-compat-adapter-
|
|
146
|
+
const { buildOpenAICompatAdapters: build } = await import("./openai-compat-adapter-HVIYFIEZ.js");
|
|
147
147
|
return await build(logger);
|
|
148
148
|
} catch (error) {
|
|
149
149
|
return err(new ConfigError(`Gateway discovery threw: ${getErrorMessage(error)}`));
|
|
@@ -273,4 +273,4 @@ export {
|
|
|
273
273
|
setGatewayRediscovery,
|
|
274
274
|
ensureGatewayDiscovered
|
|
275
275
|
};
|
|
276
|
-
//# sourceMappingURL=chunk-
|
|
276
|
+
//# sourceMappingURL=chunk-57HOX3PY.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
IN_FAMILY_FALLBACK_OPTION
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UV7KKABG.js";
|
|
4
4
|
import {
|
|
5
5
|
sanitizeErrorDetails
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-O3FMPRQH.js";
|
|
7
7
|
import {
|
|
8
8
|
classifyExtractedError,
|
|
9
9
|
isTimeoutText
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YIIQBHT3.js";
|
|
11
11
|
import {
|
|
12
12
|
getTimeProvider
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-MQ23UGSY.js";
|
|
14
14
|
import {
|
|
15
15
|
resolveClassGuardMs
|
|
16
16
|
} from "./chunk-6TBRXZY7.js";
|
|
@@ -158,4 +158,4 @@ export {
|
|
|
158
158
|
SERVES_PROBE_PROMPT,
|
|
159
159
|
probeServes
|
|
160
160
|
};
|
|
161
|
-
//# sourceMappingURL=chunk-
|
|
161
|
+
//# sourceMappingURL=chunk-6R4TSS6U.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-Z2AAMUNG.js";
|
|
6
6
|
import {
|
|
7
7
|
executeExpert
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-W2ETDM6J.js";
|
|
9
9
|
import {
|
|
10
10
|
JobStatusSchema,
|
|
11
11
|
RawFindingSchema,
|
|
@@ -58,11 +58,11 @@ import {
|
|
|
58
58
|
updateStage,
|
|
59
59
|
withFileLock,
|
|
60
60
|
writeJobCancelled
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-QC437V2W.js";
|
|
62
62
|
import {
|
|
63
63
|
normalizeTopicToCanonical,
|
|
64
64
|
synthesizeResearch
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-DF4QS47S.js";
|
|
66
66
|
import {
|
|
67
67
|
IssueTriage,
|
|
68
68
|
createAuditTrail,
|
|
@@ -71,13 +71,13 @@ import {
|
|
|
71
71
|
createGraphAuditBridge,
|
|
72
72
|
emitPipelinePolicyEvent,
|
|
73
73
|
readActionRefusal
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-2AAT4K7W.js";
|
|
75
75
|
import {
|
|
76
76
|
sanitizeInput
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-U44OI6Z5.js";
|
|
78
78
|
import {
|
|
79
79
|
withPrerequisite
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-LACIHWOE.js";
|
|
81
81
|
import {
|
|
82
82
|
NOOP_NOTIFIER,
|
|
83
83
|
RateLimiter,
|
|
@@ -105,10 +105,10 @@ import {
|
|
|
105
105
|
toolSuccess,
|
|
106
106
|
withProgressHeartbeat,
|
|
107
107
|
wrapToolWithTimeout
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-3ADJ62JR.js";
|
|
109
109
|
import {
|
|
110
110
|
generateSecurityPlan
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-PX7KZWZT.js";
|
|
112
112
|
import {
|
|
113
113
|
analyzeGitHubRepo
|
|
114
114
|
} from "./chunk-4GDMHCKX.js";
|
|
@@ -152,18 +152,18 @@ import {
|
|
|
152
152
|
parseRegistry,
|
|
153
153
|
sourceExistsInRegistry,
|
|
154
154
|
summarizeContextForPrompt
|
|
155
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-MCREMMPD.js";
|
|
156
156
|
import {
|
|
157
157
|
REGISTRY_PATH,
|
|
158
158
|
getProjectRoot,
|
|
159
159
|
loadPapersRegistry,
|
|
160
160
|
loadTechniquesRegistry,
|
|
161
161
|
resolveRegistryRoot
|
|
162
|
-
} from "./chunk-
|
|
162
|
+
} from "./chunk-KIWP4Q65.js";
|
|
163
163
|
import {
|
|
164
164
|
getTokenEnvVars,
|
|
165
165
|
resolveToken
|
|
166
|
-
} from "./chunk-
|
|
166
|
+
} from "./chunk-WNTCWKXS.js";
|
|
167
167
|
import {
|
|
168
168
|
DEFAULT_RELEVANCE_CONFIG,
|
|
169
169
|
MemoryImportance,
|
|
@@ -171,7 +171,7 @@ import {
|
|
|
171
171
|
calculateTextJaccardSimilarity,
|
|
172
172
|
getToolMemory,
|
|
173
173
|
memoryTrustTierTag
|
|
174
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-SPM2Z5ND.js";
|
|
175
175
|
import {
|
|
176
176
|
EXTERNAL_CONTENT_TRUST_TIER,
|
|
177
177
|
resolveContentTrustProvenance,
|
|
@@ -187,7 +187,7 @@ import {
|
|
|
187
187
|
import {
|
|
188
188
|
DEFAULT_TASK_TTL_MS,
|
|
189
189
|
clampTaskTtl
|
|
190
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-MAH6W4JY.js";
|
|
191
191
|
import {
|
|
192
192
|
allOf,
|
|
193
193
|
anyOf
|
|
@@ -196,7 +196,7 @@ import {
|
|
|
196
196
|
VERSION,
|
|
197
197
|
createRequestContext,
|
|
198
198
|
measuredTrustTier
|
|
199
|
-
} from "./chunk-
|
|
199
|
+
} from "./chunk-GZTZ3YNJ.js";
|
|
200
200
|
import {
|
|
201
201
|
BWRAP_READ_ONLY_ARGS,
|
|
202
202
|
CliDetectionCache,
|
|
@@ -208,13 +208,13 @@ import {
|
|
|
208
208
|
getGlobalEventBus,
|
|
209
209
|
getGlobalRegistry,
|
|
210
210
|
isAbsentSeat
|
|
211
|
-
} from "./chunk-
|
|
211
|
+
} from "./chunk-X4YSDGS5.js";
|
|
212
212
|
import {
|
|
213
213
|
ensureGatewayDiscovered,
|
|
214
214
|
getAvailabilityCache,
|
|
215
215
|
getCliForModelId,
|
|
216
216
|
resolveFallback
|
|
217
|
-
} from "./chunk-
|
|
217
|
+
} from "./chunk-57HOX3PY.js";
|
|
218
218
|
import {
|
|
219
219
|
DEFAULTS
|
|
220
220
|
} from "./chunk-AKNZ5SZW.js";
|
|
@@ -232,10 +232,10 @@ import {
|
|
|
232
232
|
parseGatewayExtraHeaders,
|
|
233
233
|
requireApiKey,
|
|
234
234
|
validateApiKeyPresence
|
|
235
|
-
} from "./chunk-
|
|
235
|
+
} from "./chunk-XNCGJL7M.js";
|
|
236
236
|
import {
|
|
237
237
|
createSessionMemory
|
|
238
|
-
} from "./chunk-
|
|
238
|
+
} from "./chunk-GHHFQWSF.js";
|
|
239
239
|
import {
|
|
240
240
|
TrustTierSchema
|
|
241
241
|
} from "./chunk-CJKHQ6MV.js";
|
|
@@ -249,17 +249,17 @@ import {
|
|
|
249
249
|
terminateProcessTree,
|
|
250
250
|
trackProcessTree,
|
|
251
251
|
withTimeout
|
|
252
|
-
} from "./chunk-
|
|
252
|
+
} from "./chunk-UV7KKABG.js";
|
|
253
253
|
import {
|
|
254
254
|
generateHyphenId,
|
|
255
255
|
generateUUID
|
|
256
|
-
} from "./chunk-
|
|
256
|
+
} from "./chunk-QDJJECQF.js";
|
|
257
257
|
import {
|
|
258
258
|
getDefaultCliCircuitBreakerRegistry
|
|
259
|
-
} from "./chunk-
|
|
259
|
+
} from "./chunk-MM4XMSPL.js";
|
|
260
260
|
import {
|
|
261
261
|
sanitizeErrorDetails
|
|
262
|
-
} from "./chunk-
|
|
262
|
+
} from "./chunk-O3FMPRQH.js";
|
|
263
263
|
import {
|
|
264
264
|
ARCHITECTURE_KEYWORDS,
|
|
265
265
|
AUTHORITY_TIERS,
|
|
@@ -354,7 +354,7 @@ import {
|
|
|
354
354
|
toExpertTaskAnalysisResult,
|
|
355
355
|
truncateWithInfo,
|
|
356
356
|
withStep
|
|
357
|
-
} from "./chunk-
|
|
357
|
+
} from "./chunk-YIIQBHT3.js";
|
|
358
358
|
import {
|
|
359
359
|
SUPPORTED_EXTENSIONS
|
|
360
360
|
} from "./chunk-XBEKMUTO.js";
|
|
@@ -369,13 +369,13 @@ import {
|
|
|
369
369
|
lookupInTreeCapability,
|
|
370
370
|
modelSupportsAll,
|
|
371
371
|
resolveOwnerCli
|
|
372
|
-
} from "./chunk-
|
|
372
|
+
} from "./chunk-MHNZVNNR.js";
|
|
373
373
|
import {
|
|
374
374
|
deriveEntry,
|
|
375
375
|
getDefaultRegistry,
|
|
376
376
|
resolveModelIdentity,
|
|
377
377
|
resolveModelIdentitySync
|
|
378
|
-
} from "./chunk-
|
|
378
|
+
} from "./chunk-WPO6HX5A.js";
|
|
379
379
|
import {
|
|
380
380
|
ensureLearningDir,
|
|
381
381
|
getMetaOutcomesFile,
|
|
@@ -391,11 +391,11 @@ import {
|
|
|
391
391
|
outcomeFailureFields,
|
|
392
392
|
resolveOutcomeCategory,
|
|
393
393
|
routingArmCliSlot
|
|
394
|
-
} from "./chunk-
|
|
394
|
+
} from "./chunk-PDC5MCNC.js";
|
|
395
395
|
import {
|
|
396
396
|
createLogger,
|
|
397
397
|
getTimeProvider
|
|
398
|
-
} from "./chunk-
|
|
398
|
+
} from "./chunk-MQ23UGSY.js";
|
|
399
399
|
import {
|
|
400
400
|
findRepoRoot,
|
|
401
401
|
getActiveWorkspaceRoot,
|
|
@@ -29770,7 +29770,7 @@ function execIdFields(executionId) {
|
|
|
29770
29770
|
async function populateUnifiedContextOnState(state, options) {
|
|
29771
29771
|
const taskCandidate = state["task"];
|
|
29772
29772
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
29773
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
29773
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-EQAQAPFN.js");
|
|
29774
29774
|
const category = inferTaskCategory2(taskCandidate);
|
|
29775
29775
|
const executionId = options?.executionId;
|
|
29776
29776
|
const execFields = execIdFields(executionId);
|
|
@@ -46285,7 +46285,7 @@ async function tryIssueTriage(task) {
|
|
|
46285
46285
|
try {
|
|
46286
46286
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
46287
46287
|
if (issueMatch === null) return null;
|
|
46288
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
46288
|
+
const { createIssueTriage } = await import("./issue-triage-LUEJOVWU.js");
|
|
46289
46289
|
const triage = createIssueTriage();
|
|
46290
46290
|
const owner = issueMatch[1] ?? "";
|
|
46291
46291
|
const num2 = issueMatch[2] ?? "";
|
|
@@ -46313,7 +46313,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
46313
46313
|
]);
|
|
46314
46314
|
async function classifyWithLLM(task) {
|
|
46315
46315
|
try {
|
|
46316
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
46316
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-KTVO4YSL.js");
|
|
46317
46317
|
const prompt = [
|
|
46318
46318
|
"Classify this task into exactly one pipeline template.",
|
|
46319
46319
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -46682,7 +46682,7 @@ function buildVotingInput(plan, config) {
|
|
|
46682
46682
|
}
|
|
46683
46683
|
async function executeSingleVote(plan, config, log) {
|
|
46684
46684
|
try {
|
|
46685
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
46685
|
+
const { executeVoting } = await import("./consensus-vote-MFU4GC7U.js");
|
|
46686
46686
|
const input = buildVotingInput(plan, config);
|
|
46687
46687
|
const result = await executeVoting(input, log);
|
|
46688
46688
|
return parseVotingResult(result);
|
|
@@ -48286,7 +48286,7 @@ var memoryInitPromise = null;
|
|
|
48286
48286
|
async function initPipelineMemory() {
|
|
48287
48287
|
if (cachedMemory !== null) return cachedMemory;
|
|
48288
48288
|
try {
|
|
48289
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
48289
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-7DUZ4UPF.js");
|
|
48290
48290
|
const { getLearningDir } = await import("./learning-persistence-RXI2ASRC.js");
|
|
48291
48291
|
const mem = createSessionMemory2(getLearningDir());
|
|
48292
48292
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
@@ -48348,7 +48348,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
|
|
|
48348
48348
|
callRecord(routingMemoryCache);
|
|
48349
48349
|
return;
|
|
48350
48350
|
}
|
|
48351
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
48351
|
+
routingMemoryInitPromise ??= import("./routing-memory-EO7FQ6QC.js").then(({ createRoutingMemory }) => {
|
|
48352
48352
|
routingMemoryCache ??= createRoutingMemory();
|
|
48353
48353
|
return routingMemoryCache;
|
|
48354
48354
|
}).catch((error) => {
|
|
@@ -48583,7 +48583,7 @@ function createVoteStage({ config, startStage }) {
|
|
|
48583
48583
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
48584
48584
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
48585
48585
|
try {
|
|
48586
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
48586
|
+
const { executeVoting } = await import("./consensus-vote-MFU4GC7U.js");
|
|
48587
48587
|
const proposal = buildVoteProposal(plan, research);
|
|
48588
48588
|
const votingResult = await executeVoting(
|
|
48589
48589
|
{
|
|
@@ -49077,7 +49077,7 @@ import { readFile as readFile5, realpath as realpath2, writeFile as writeFile2 }
|
|
|
49077
49077
|
import { delimiter as delimiter2, isAbsolute as isAbsolute6, join as join14, parse as parse4, resolve as resolve9 } from "node:path";
|
|
49078
49078
|
var logger47 = createLogger({ component: "security-scan" });
|
|
49079
49079
|
var SCAN_TIMEOUT_MS = 3e5;
|
|
49080
|
-
async function
|
|
49080
|
+
async function probeSemgrepVersion(signal, env, wrapper, binary = "semgrep", cwd) {
|
|
49081
49081
|
try {
|
|
49082
49082
|
const { stdout } = await execFileTree(binary, ["--version"], {
|
|
49083
49083
|
timeoutMs: 1e4,
|
|
@@ -49086,10 +49086,35 @@ async function isSemgrepAvailable(signal, env, wrapper, binary = "semgrep", cwd)
|
|
|
49086
49086
|
wrapper,
|
|
49087
49087
|
cwd
|
|
49088
49088
|
});
|
|
49089
|
-
|
|
49090
|
-
|
|
49091
|
-
|
|
49089
|
+
const version = stdout.trim();
|
|
49090
|
+
return version === "" ? { error: "semgrep version probe returned empty output" } : version;
|
|
49091
|
+
} catch (error) {
|
|
49092
|
+
if (failureCode(error) === "ENOENT" && wrapper === void 0 && await isSemgrepExecutableMissing(binary, env, cwd)) {
|
|
49093
|
+
return { error: "semgrep is not installed. Install with: pip install semgrep" };
|
|
49094
|
+
}
|
|
49095
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
49096
|
+
return {
|
|
49097
|
+
error: `semgrep version probe failed (exit ${String(failureCode(error))}): ${message}`
|
|
49098
|
+
};
|
|
49099
|
+
}
|
|
49100
|
+
}
|
|
49101
|
+
function probeExecutableCandidates(binary, env, cwd) {
|
|
49102
|
+
const root = cwd ?? process.cwd();
|
|
49103
|
+
const searchPath = (env ?? process.env)["PATH"];
|
|
49104
|
+
return isAbsolute6(binary) || /[/\\]/.test(binary) ? [resolve9(root, binary)] : process.platform === "win32" ? void 0 : searchPath?.split(delimiter2).map((directory) => resolve9(root, directory, binary));
|
|
49105
|
+
}
|
|
49106
|
+
async function isSemgrepExecutableMissing(binary, env, cwd) {
|
|
49107
|
+
const candidates = probeExecutableCandidates(binary, env, cwd);
|
|
49108
|
+
if (candidates === void 0 || candidates.length === 0) return false;
|
|
49109
|
+
for (const candidate of candidates) {
|
|
49110
|
+
try {
|
|
49111
|
+
await access(candidate);
|
|
49112
|
+
return false;
|
|
49113
|
+
} catch (error) {
|
|
49114
|
+
if (failureCode(error) !== "ENOENT" && failureCode(error) !== "ENOTDIR") return false;
|
|
49115
|
+
}
|
|
49092
49116
|
}
|
|
49117
|
+
return true;
|
|
49093
49118
|
}
|
|
49094
49119
|
async function runSemgrep(targetDir, rulesets, signal, env, options) {
|
|
49095
49120
|
const prepared = options.preparedScan;
|
|
@@ -49175,7 +49200,7 @@ function unwrapRuleset(text) {
|
|
|
49175
49200
|
return text;
|
|
49176
49201
|
}
|
|
49177
49202
|
async function measureScannerVersion(options, targetDir) {
|
|
49178
|
-
const version = await
|
|
49203
|
+
const version = await probeSemgrepVersion(
|
|
49179
49204
|
options.signal,
|
|
49180
49205
|
options.env,
|
|
49181
49206
|
options.wrapper,
|
|
@@ -49183,8 +49208,7 @@ async function measureScannerVersion(options, targetDir) {
|
|
|
49183
49208
|
parse4(targetDir).root
|
|
49184
49209
|
);
|
|
49185
49210
|
if (options.signal?.aborted === true) return { error: "Scan aborted before semgrep ran" };
|
|
49186
|
-
if (version
|
|
49187
|
-
return { error: "semgrep is not installed. Install with: pip install semgrep" };
|
|
49211
|
+
if (typeof version !== "string") return version;
|
|
49188
49212
|
if (options.preparedScan !== void 0 && options.preparedScan.version !== version) {
|
|
49189
49213
|
return {
|
|
49190
49214
|
error: `Scanner version changed: expected ${options.preparedScan.version}, got ${version}`
|
|
@@ -49196,14 +49220,14 @@ async function prepareSecurityScan(rulesets, options) {
|
|
|
49196
49220
|
try {
|
|
49197
49221
|
if (rulesets.length === 0) throw new Error("No security rulesets configured");
|
|
49198
49222
|
const binary = await resolveSemgrep(options.env ?? process.env);
|
|
49199
|
-
const version = await
|
|
49223
|
+
const version = await probeSemgrepVersion(
|
|
49200
49224
|
options.signal,
|
|
49201
49225
|
options.env,
|
|
49202
49226
|
options.wrapper,
|
|
49203
49227
|
binary,
|
|
49204
49228
|
parse4(resolve9(options.directory)).root
|
|
49205
49229
|
);
|
|
49206
|
-
if (version
|
|
49230
|
+
if (typeof version !== "string") throw new Error(version.error);
|
|
49207
49231
|
const configs = [];
|
|
49208
49232
|
for (const [index, ruleset] of rulesets.entries()) {
|
|
49209
49233
|
const contents = await readRuleset(ruleset, options.signal);
|
|
@@ -50265,7 +50289,7 @@ ${text}` : "";
|
|
|
50265
50289
|
}
|
|
50266
50290
|
async function getWeatherContext() {
|
|
50267
50291
|
try {
|
|
50268
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
50292
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-ZLQALSCF.js");
|
|
50269
50293
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
50270
50294
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
50271
50295
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -50283,7 +50307,7 @@ ${lines}
|
|
|
50283
50307
|
}
|
|
50284
50308
|
async function getMemoryContext(task) {
|
|
50285
50309
|
try {
|
|
50286
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
50310
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-7DUZ4UPF.js");
|
|
50287
50311
|
const { getLearningDir } = await import("./learning-persistence-RXI2ASRC.js");
|
|
50288
50312
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
50289
50313
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
@@ -51006,7 +51030,7 @@ async function searchCodebaseForTask(task) {
|
|
|
51006
51030
|
}
|
|
51007
51031
|
async function queryResearchRegistry(task) {
|
|
51008
51032
|
try {
|
|
51009
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
51033
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-HT6AWTJE.js");
|
|
51010
51034
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
51011
51035
|
if (topic === void 0) return null;
|
|
51012
51036
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -51077,7 +51101,7 @@ function createScanStageWrapper() {
|
|
|
51077
51101
|
try {
|
|
51078
51102
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
51079
51103
|
if (slug !== void 0) {
|
|
51080
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
51104
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-PA65A7BU.js");
|
|
51081
51105
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
51082
51106
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
51083
51107
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -55024,7 +55048,7 @@ var GitHubTaskTracker = class {
|
|
|
55024
55048
|
cachedProvider = null;
|
|
55025
55049
|
async getProvider() {
|
|
55026
55050
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
55027
|
-
const { createScmProvider } = await import("./factory-
|
|
55051
|
+
const { createScmProvider } = await import("./factory-IAXWLSS5.js");
|
|
55028
55052
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
55029
55053
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
55030
55054
|
this.cachedProvider = result.value;
|
|
@@ -56105,7 +56129,7 @@ function withCatalogueCaveat(report) {
|
|
|
56105
56129
|
var GATEWAY_TRANSPORT = "gateway";
|
|
56106
56130
|
var GATEWAY_API_ARM = "api:custom-openai";
|
|
56107
56131
|
async function gatewaySource(apiArm) {
|
|
56108
|
-
const { discoverModels, readOpenAICompatEnv } = await import("./openai-compat-adapter-
|
|
56132
|
+
const { discoverModels, readOpenAICompatEnv } = await import("./openai-compat-adapter-HVIYFIEZ.js");
|
|
56109
56133
|
const config = readOpenAICompatEnv();
|
|
56110
56134
|
if (config !== null) {
|
|
56111
56135
|
return {
|
|
@@ -56124,7 +56148,7 @@ async function gatewaySource(apiArm) {
|
|
|
56124
56148
|
}
|
|
56125
56149
|
async function defaultSources(includeOpenRouter, adaptersFactory) {
|
|
56126
56150
|
const adapters = new Map(
|
|
56127
|
-
adaptersFactory !== void 0 ? adaptersFactory() : (await import("./factory-
|
|
56151
|
+
adaptersFactory !== void 0 ? adaptersFactory() : (await import("./factory-PULIMXIN.js")).createAllAdapters()
|
|
56128
56152
|
);
|
|
56129
56153
|
const apiArm = adapters.get(GATEWAY_API_ARM);
|
|
56130
56154
|
adapters.delete(GATEWAY_API_ARM);
|
|
@@ -59481,4 +59505,4 @@ export {
|
|
|
59481
59505
|
initializeSandbox,
|
|
59482
59506
|
getSandboxMode
|
|
59483
59507
|
};
|
|
59484
|
-
//# sourceMappingURL=chunk-
|
|
59508
|
+
//# sourceMappingURL=chunk-75E5P5VI.js.map
|