nexus-agents 8.42.4 → 8.42.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-2D4SCONP.js → ast-rule-runner-HYXMWPF5.js} +3 -3
- package/dist/{child-mcp-config-A7ILUJP6.js → child-mcp-config-EX5CQUGZ.js} +2 -2
- package/dist/{chunk-CRWPONZV.js → chunk-44LS5IVI.js} +5 -5
- package/dist/{chunk-5ZYFO6TN.js → chunk-4TII45E4.js} +4 -4
- package/dist/{chunk-CBQABK4Y.js → chunk-5H4NVDUR.js} +3 -3
- package/dist/{chunk-SIIBPD6G.js → chunk-5NAEOFBG.js} +5 -5
- package/dist/{chunk-Q7KRPNY6.js → chunk-7BVK5VU7.js} +4 -4
- package/dist/{chunk-IFMOM4FX.js → chunk-7RNUHPWR.js} +57 -44
- package/dist/{chunk-IFMOM4FX.js.map → chunk-7RNUHPWR.js.map} +1 -1
- package/dist/{chunk-QF4F5L64.js → chunk-AV74AYIL.js} +3 -3
- package/dist/chunk-AV74AYIL.js.map +1 -0
- package/dist/{chunk-FVJ5QLWV.js → chunk-BTLHHT7R.js} +2 -2
- package/dist/{chunk-E67ENJWG.js → chunk-CBZDBSTC.js} +4 -4
- package/dist/{chunk-S3O2OKGO.js → chunk-CNDTL5PN.js} +2 -2
- package/dist/{chunk-ILKTFCC3.js → chunk-CPQESXT6.js} +2 -2
- package/dist/{chunk-J2VFV7JJ.js → chunk-F7SJ666A.js} +3 -3
- package/dist/{chunk-2WJBSFPH.js → chunk-FDSBPZV4.js} +2 -2
- package/dist/{chunk-CE7IFP3L.js → chunk-FNOH5QDN.js} +2 -2
- package/dist/{chunk-W3WIYJQL.js → chunk-HTSKUXUY.js} +7 -7
- package/dist/{chunk-FW3G54YA.js → chunk-IE2TKC2U.js} +2 -2
- package/dist/{chunk-PUVLA3GN.js → chunk-JXTNFZA4.js} +2 -2
- package/dist/{chunk-US4A55FY.js → chunk-L5PONUPR.js} +2 -2
- package/dist/{chunk-DBFFI6NM.js → chunk-NGXVNTXT.js} +2 -2
- package/dist/{chunk-3TDPO3Q4.js → chunk-NOWQF44H.js} +7 -7
- package/dist/{chunk-UOX2KWDX.js → chunk-NQXISQVW.js} +2 -2
- package/dist/{chunk-FQ2ZEXLV.js → chunk-NX6CP5PU.js} +9 -9
- package/dist/{chunk-2R4O22JU.js → chunk-OB6ROUO3.js} +3 -3
- package/dist/{chunk-P742Y3JR.js → chunk-PE5VFJHN.js} +2 -2
- package/dist/{chunk-NV5YBG6R.js → chunk-QDDJCQJH.js} +2 -2
- package/dist/{chunk-CWI5EK43.js → chunk-QV34QDLQ.js} +2 -2
- package/dist/{chunk-QUM7WFYS.js → chunk-ROXUQNXW.js} +2 -2
- package/dist/{chunk-HOU4NWRH.js → chunk-TA7XMQ5E.js} +22 -9
- package/dist/chunk-TA7XMQ5E.js.map +1 -0
- package/dist/{chunk-ENMARUHB.js → chunk-TR2BOCPD.js} +2 -2
- package/dist/{chunk-YITEBJJS.js → chunk-TWPQ366B.js} +2 -2
- package/dist/{chunk-2YXSH66Z.js → chunk-URTZLB3Q.js} +2 -2
- package/dist/{chunk-XJRAP2IU.js → chunk-X4MHF6Z7.js} +6 -6
- package/dist/{chunk-66VYFQZO.js → chunk-YJZCECQY.js} +2 -2
- package/dist/{chunk-ZTJUHW6H.js → chunk-ZQMB7ZUX.js} +4 -4
- package/dist/{cli-circuit-breaker-3IP72JEP.js → cli-circuit-breaker-JD2ZKKFZ.js} +3 -3
- package/dist/cli.js +43 -43
- package/dist/{composite-router-BEKRKLV7.js → composite-router-NNGG6VWS.js} +2 -2
- package/dist/{consensus-vote-344MQZ26.js → consensus-vote-N5PJYDLM.js} +17 -17
- package/dist/{context-retriever-UOBJPQPL.js → context-retriever-7DLQMRCL.js} +8 -8
- package/dist/{doctor-deep-LQCMXPGF.js → doctor-deep-4Y4HJTVI.js} +3 -3
- package/dist/{doctor-live-GXXVWRIR.js → doctor-live-NSMFWL6O.js} +9 -9
- package/dist/{expert-bridge-THC5EYCW.js → expert-bridge-5F5B2AUR.js} +4 -4
- package/dist/{factory-YRO4BWY6.js → factory-A6M7FIDG.js} +9 -9
- package/dist/{factory-RMJHKNAM.js → factory-W4QLUZH5.js} +5 -5
- package/dist/{improvement-review-KZOAN246.js → improvement-review-ABXDO2UR.js} +6 -6
- package/dist/index.d.ts +36 -0
- package/dist/index.js +31 -31
- package/dist/{init-opencode-NXOPYD7P.js → init-opencode-PY27EYTQ.js} +6 -6
- package/dist/issue-triage-NJHK46X2.js +17 -0
- package/dist/{pr-reviewer-helpers-T5R7EWVO.js → pr-reviewer-helpers-MJ5GES5Y.js} +4 -4
- package/dist/{registry-command-63V4Z4E7.js → registry-command-RJUP3M7I.js} +2 -2
- package/dist/{repo-security-plan-L2NAKOCG.js → repo-security-plan-NAGMNMTD.js} +3 -3
- package/dist/{research-helpers-synthesize-FJOZ6TIM.js → research-helpers-synthesize-B2VB2A6Y.js} +4 -4
- package/dist/{routing-memory-OTBEC6A3.js → routing-memory-7CY6NMIG.js} +2 -2
- package/dist/{session-memory-EVBXOWG7.js → session-memory-JPOLLJUU.js} +3 -3
- package/dist/{setup-config-SREI7DGK.js → setup-config-4Y6GI3IN.js} +3 -3
- package/dist/{setup-custom-api-WHW5GLJS.js → setup-custom-api-I3MCV2BS.js} +4 -4
- package/dist/setup-data-dir-LPJ2BR2M.js +29 -0
- package/dist/{tool-memory-45HFUB7I.js → tool-memory-RO2H5LBC.js} +5 -5
- package/dist/{unified-registry-B2XBZZ73.js → unified-registry-RPQADIOX.js} +10 -10
- package/dist/{weather-report-NXSK5IWT.js → weather-report-FQ4WI7VE.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-HOU4NWRH.js.map +0 -1
- package/dist/chunk-QF4F5L64.js.map +0 -1
- package/dist/issue-triage-HEQGVBPF.js +0 -17
- package/dist/setup-data-dir-Y5FLJCF5.js +0 -29
- /package/dist/{ast-rule-runner-2D4SCONP.js.map → ast-rule-runner-HYXMWPF5.js.map} +0 -0
- /package/dist/{child-mcp-config-A7ILUJP6.js.map → child-mcp-config-EX5CQUGZ.js.map} +0 -0
- /package/dist/{chunk-CRWPONZV.js.map → chunk-44LS5IVI.js.map} +0 -0
- /package/dist/{chunk-5ZYFO6TN.js.map → chunk-4TII45E4.js.map} +0 -0
- /package/dist/{chunk-CBQABK4Y.js.map → chunk-5H4NVDUR.js.map} +0 -0
- /package/dist/{chunk-SIIBPD6G.js.map → chunk-5NAEOFBG.js.map} +0 -0
- /package/dist/{chunk-Q7KRPNY6.js.map → chunk-7BVK5VU7.js.map} +0 -0
- /package/dist/{chunk-FVJ5QLWV.js.map → chunk-BTLHHT7R.js.map} +0 -0
- /package/dist/{chunk-E67ENJWG.js.map → chunk-CBZDBSTC.js.map} +0 -0
- /package/dist/{chunk-S3O2OKGO.js.map → chunk-CNDTL5PN.js.map} +0 -0
- /package/dist/{chunk-ILKTFCC3.js.map → chunk-CPQESXT6.js.map} +0 -0
- /package/dist/{chunk-J2VFV7JJ.js.map → chunk-F7SJ666A.js.map} +0 -0
- /package/dist/{chunk-2WJBSFPH.js.map → chunk-FDSBPZV4.js.map} +0 -0
- /package/dist/{chunk-CE7IFP3L.js.map → chunk-FNOH5QDN.js.map} +0 -0
- /package/dist/{chunk-W3WIYJQL.js.map → chunk-HTSKUXUY.js.map} +0 -0
- /package/dist/{chunk-FW3G54YA.js.map → chunk-IE2TKC2U.js.map} +0 -0
- /package/dist/{chunk-PUVLA3GN.js.map → chunk-JXTNFZA4.js.map} +0 -0
- /package/dist/{chunk-US4A55FY.js.map → chunk-L5PONUPR.js.map} +0 -0
- /package/dist/{chunk-DBFFI6NM.js.map → chunk-NGXVNTXT.js.map} +0 -0
- /package/dist/{chunk-3TDPO3Q4.js.map → chunk-NOWQF44H.js.map} +0 -0
- /package/dist/{chunk-UOX2KWDX.js.map → chunk-NQXISQVW.js.map} +0 -0
- /package/dist/{chunk-FQ2ZEXLV.js.map → chunk-NX6CP5PU.js.map} +0 -0
- /package/dist/{chunk-2R4O22JU.js.map → chunk-OB6ROUO3.js.map} +0 -0
- /package/dist/{chunk-P742Y3JR.js.map → chunk-PE5VFJHN.js.map} +0 -0
- /package/dist/{chunk-NV5YBG6R.js.map → chunk-QDDJCQJH.js.map} +0 -0
- /package/dist/{chunk-CWI5EK43.js.map → chunk-QV34QDLQ.js.map} +0 -0
- /package/dist/{chunk-QUM7WFYS.js.map → chunk-ROXUQNXW.js.map} +0 -0
- /package/dist/{chunk-ENMARUHB.js.map → chunk-TR2BOCPD.js.map} +0 -0
- /package/dist/{chunk-YITEBJJS.js.map → chunk-TWPQ366B.js.map} +0 -0
- /package/dist/{chunk-2YXSH66Z.js.map → chunk-URTZLB3Q.js.map} +0 -0
- /package/dist/{chunk-XJRAP2IU.js.map → chunk-X4MHF6Z7.js.map} +0 -0
- /package/dist/{chunk-66VYFQZO.js.map → chunk-YJZCECQY.js.map} +0 -0
- /package/dist/{chunk-ZTJUHW6H.js.map → chunk-ZQMB7ZUX.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-3IP72JEP.js.map → cli-circuit-breaker-JD2ZKKFZ.js.map} +0 -0
- /package/dist/{composite-router-BEKRKLV7.js.map → composite-router-NNGG6VWS.js.map} +0 -0
- /package/dist/{consensus-vote-344MQZ26.js.map → consensus-vote-N5PJYDLM.js.map} +0 -0
- /package/dist/{context-retriever-UOBJPQPL.js.map → context-retriever-7DLQMRCL.js.map} +0 -0
- /package/dist/{doctor-deep-LQCMXPGF.js.map → doctor-deep-4Y4HJTVI.js.map} +0 -0
- /package/dist/{doctor-live-GXXVWRIR.js.map → doctor-live-NSMFWL6O.js.map} +0 -0
- /package/dist/{expert-bridge-THC5EYCW.js.map → expert-bridge-5F5B2AUR.js.map} +0 -0
- /package/dist/{factory-RMJHKNAM.js.map → factory-A6M7FIDG.js.map} +0 -0
- /package/dist/{factory-YRO4BWY6.js.map → factory-W4QLUZH5.js.map} +0 -0
- /package/dist/{improvement-review-KZOAN246.js.map → improvement-review-ABXDO2UR.js.map} +0 -0
- /package/dist/{init-opencode-NXOPYD7P.js.map → init-opencode-PY27EYTQ.js.map} +0 -0
- /package/dist/{issue-triage-HEQGVBPF.js.map → issue-triage-NJHK46X2.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-T5R7EWVO.js.map → pr-reviewer-helpers-MJ5GES5Y.js.map} +0 -0
- /package/dist/{registry-command-63V4Z4E7.js.map → registry-command-RJUP3M7I.js.map} +0 -0
- /package/dist/{repo-security-plan-L2NAKOCG.js.map → repo-security-plan-NAGMNMTD.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-FJOZ6TIM.js.map → research-helpers-synthesize-B2VB2A6Y.js.map} +0 -0
- /package/dist/{routing-memory-OTBEC6A3.js.map → routing-memory-7CY6NMIG.js.map} +0 -0
- /package/dist/{session-memory-EVBXOWG7.js.map → session-memory-JPOLLJUU.js.map} +0 -0
- /package/dist/{setup-config-SREI7DGK.js.map → setup-config-4Y6GI3IN.js.map} +0 -0
- /package/dist/{setup-custom-api-WHW5GLJS.js.map → setup-custom-api-I3MCV2BS.js.map} +0 -0
- /package/dist/{setup-data-dir-Y5FLJCF5.js.map → setup-data-dir-LPJ2BR2M.js.map} +0 -0
- /package/dist/{tool-memory-45HFUB7I.js.map → tool-memory-RO2H5LBC.js.map} +0 -0
- /package/dist/{unified-registry-B2XBZZ73.js.map → unified-registry-RPQADIOX.js.map} +0 -0
- /package/dist/{weather-report-NXSK5IWT.js.map → weather-report-FQ4WI7VE.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-ROXUQNXW.js";
|
|
13
|
+
import "./chunk-AV74AYIL.js";
|
|
14
14
|
import "./chunk-3HELETAQ.js";
|
|
15
15
|
import "./chunk-JVNJJ2VL.js";
|
|
16
16
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -26,4 +26,4 @@ export {
|
|
|
26
26
|
loadRules,
|
|
27
27
|
runAstQaRules
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=ast-rule-runner-
|
|
29
|
+
//# sourceMappingURL=ast-rule-runner-HYXMWPF5.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-T5GVEXSA.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-AV74AYIL.js";
|
|
7
7
|
import "./chunk-3HELETAQ.js";
|
|
8
8
|
import "./chunk-JVNJJ2VL.js";
|
|
9
9
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -62,4 +62,4 @@ export {
|
|
|
62
62
|
generateMcpConfig,
|
|
63
63
|
getDefaultAllowedTools
|
|
64
64
|
};
|
|
65
|
-
//# sourceMappingURL=child-mcp-config-
|
|
65
|
+
//# sourceMappingURL=child-mcp-config-EX5CQUGZ.js.map
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
loadTechniquesRegistry,
|
|
6
6
|
resolveInsideRoot,
|
|
7
7
|
savePapersRegistry
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CPQESXT6.js";
|
|
9
9
|
import {
|
|
10
10
|
resolveToken
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-JXTNFZA4.js";
|
|
12
12
|
import {
|
|
13
13
|
getToolMemory
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ZQMB7ZUX.js";
|
|
15
15
|
import {
|
|
16
16
|
capitalizeWords,
|
|
17
17
|
tokenizeFiltered,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
ok,
|
|
41
41
|
registerPersistentDistillerFactory,
|
|
42
42
|
sigmoidConfidence
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-AV74AYIL.js";
|
|
44
44
|
import {
|
|
45
45
|
ensureLearningDir,
|
|
46
46
|
getRulesFile
|
|
@@ -4228,4 +4228,4 @@ export {
|
|
|
4228
4228
|
DEFAULT_CONTEXT_BUDGET_TOKENS,
|
|
4229
4229
|
getContextPromptPrefix
|
|
4230
4230
|
};
|
|
4231
|
-
//# sourceMappingURL=chunk-
|
|
4231
|
+
//# sourceMappingURL=chunk-44LS5IVI.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GitHubProvider,
|
|
3
3
|
ScmError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QDDJCQJH.js";
|
|
5
5
|
import {
|
|
6
6
|
resolveToken
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-JXTNFZA4.js";
|
|
8
8
|
import {
|
|
9
9
|
err,
|
|
10
10
|
ok
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AV74AYIL.js";
|
|
12
12
|
|
|
13
13
|
// src/scm/factory.ts
|
|
14
14
|
async function createScmProvider(config) {
|
|
@@ -41,4 +41,4 @@ export {
|
|
|
41
41
|
createScmProvider,
|
|
42
42
|
createGitHubProvider
|
|
43
43
|
};
|
|
44
|
-
//# sourceMappingURL=chunk-
|
|
44
|
+
//# sourceMappingURL=chunk-4TII45E4.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
toolStructuredError,
|
|
8
8
|
toolSuccessStructured,
|
|
9
9
|
wrapToolWithTimeout
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CBZDBSTC.js";
|
|
11
11
|
import {
|
|
12
12
|
JsonlStore,
|
|
13
13
|
SECURITY_KEYWORDS,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
getTimeProvider,
|
|
21
21
|
isDeclaredNeverDeprecate,
|
|
22
22
|
isRegisteredToolName
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-AV74AYIL.js";
|
|
24
24
|
import {
|
|
25
25
|
getNexusDataDir,
|
|
26
26
|
nexusDataPath
|
|
@@ -2173,4 +2173,4 @@ export {
|
|
|
2173
2173
|
runImprovementReview,
|
|
2174
2174
|
registerImprovementReviewTool
|
|
2175
2175
|
};
|
|
2176
|
-
//# sourceMappingURL=chunk-
|
|
2176
|
+
//# sourceMappingURL=chunk-5H4NVDUR.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
computeCostDetail,
|
|
3
3
|
recordUsageEvent
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-URTZLB3Q.js";
|
|
5
5
|
import {
|
|
6
6
|
BaseAdapter,
|
|
7
7
|
createStream,
|
|
8
8
|
planOptionalParams,
|
|
9
9
|
requireApiKey,
|
|
10
10
|
validateApiKeyPresence
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-IE2TKC2U.js";
|
|
12
12
|
import {
|
|
13
13
|
assertCustomApiHostResolvesPublic
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-YJZCECQY.js";
|
|
15
15
|
import {
|
|
16
16
|
ConfigError,
|
|
17
17
|
ModelCapability,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
getTimeProvider,
|
|
23
23
|
getTokenEstimator,
|
|
24
24
|
ok
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-AV74AYIL.js";
|
|
26
26
|
|
|
27
27
|
// src/adapters/openai-types.ts
|
|
28
28
|
var OPENAI_MODELS = {
|
|
@@ -842,4 +842,4 @@ export {
|
|
|
842
842
|
discoverModels,
|
|
843
843
|
buildOpenAICompatAdapters
|
|
844
844
|
};
|
|
845
|
-
//# sourceMappingURL=chunk-
|
|
845
|
+
//# sourceMappingURL=chunk-5NAEOFBG.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createAutoAdapter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TA7XMQ5E.js";
|
|
4
4
|
import {
|
|
5
5
|
getDefaultCliCircuitBreakerRegistry,
|
|
6
6
|
mapModelErrorToCategory
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FNOH5QDN.js";
|
|
8
8
|
import {
|
|
9
9
|
CLI_NAMES,
|
|
10
10
|
CircularBuffer,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
recordRateLimitEvent,
|
|
25
25
|
resolveModelIdentitySync,
|
|
26
26
|
toRateLimitError
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-AV74AYIL.js";
|
|
28
28
|
|
|
29
29
|
// src/config/model-equivalence.ts
|
|
30
30
|
function canonicalModelKey(modelId) {
|
|
@@ -904,4 +904,4 @@ export {
|
|
|
904
904
|
getGlobalRegistry,
|
|
905
905
|
resetGlobalRegistry
|
|
906
906
|
};
|
|
907
|
-
//# sourceMappingURL=chunk-
|
|
907
|
+
//# sourceMappingURL=chunk-7BVK5VU7.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateSecurityPlan
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PE5VFJHN.js";
|
|
4
4
|
import {
|
|
5
5
|
analyzeGitHubRepo
|
|
6
6
|
} from "./chunk-DGWT7DXX.js";
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
DEFAULT_TASK_TTL_MS,
|
|
23
23
|
clampTaskTtl
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-NOWQF44H.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-HTSKUXUY.js";
|
|
28
28
|
import {
|
|
29
29
|
JobStatusSchema,
|
|
30
30
|
VOTER_ROLES,
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
toJobSummary,
|
|
56
56
|
updateStage,
|
|
57
57
|
writeJobCancelled
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-NX6CP5PU.js";
|
|
59
59
|
import {
|
|
60
60
|
allOf,
|
|
61
61
|
anyOf
|
|
@@ -63,19 +63,19 @@ import {
|
|
|
63
63
|
import {
|
|
64
64
|
normalizeTopicToCanonical,
|
|
65
65
|
synthesizeResearch
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-OB6ROUO3.js";
|
|
67
67
|
import {
|
|
68
68
|
IssueTriage,
|
|
69
69
|
createDurableAuditSink,
|
|
70
70
|
createDurableAuditTrail
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-X4MHF6Z7.js";
|
|
72
72
|
import {
|
|
73
73
|
resolveEnvMode,
|
|
74
74
|
sanitizeInput
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-NQXISQVW.js";
|
|
76
76
|
import {
|
|
77
77
|
withPrerequisite
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-5H4NVDUR.js";
|
|
79
79
|
import {
|
|
80
80
|
NOOP_NOTIFIER,
|
|
81
81
|
RateLimiter,
|
|
@@ -100,18 +100,18 @@ import {
|
|
|
100
100
|
withAuditTrail,
|
|
101
101
|
withProgressHeartbeat,
|
|
102
102
|
wrapToolWithTimeout
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-CBZDBSTC.js";
|
|
104
104
|
import {
|
|
105
105
|
createAuditTrail,
|
|
106
106
|
createGraphAuditBridge,
|
|
107
107
|
emitPipelinePolicyEvent
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-FDSBPZV4.js";
|
|
109
109
|
import {
|
|
110
110
|
EventTopics,
|
|
111
111
|
createEvent,
|
|
112
112
|
getGlobalEventBus,
|
|
113
113
|
getGlobalRegistry
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-7BVK5VU7.js";
|
|
115
115
|
import {
|
|
116
116
|
IDENTIFIER_RE,
|
|
117
117
|
LANG_VALUES,
|
|
@@ -144,7 +144,7 @@ import {
|
|
|
144
144
|
parseRegistry,
|
|
145
145
|
sourceExistsInRegistry,
|
|
146
146
|
summarizeContextForPrompt
|
|
147
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-44LS5IVI.js";
|
|
148
148
|
import {
|
|
149
149
|
REGISTRY_PATH,
|
|
150
150
|
getProjectRoot,
|
|
@@ -152,25 +152,25 @@ import {
|
|
|
152
152
|
loadTechniquesRegistry,
|
|
153
153
|
resolveInsideRoot,
|
|
154
154
|
resolveRegistryRoot
|
|
155
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-CPQESXT6.js";
|
|
156
156
|
import {
|
|
157
157
|
getTokenEnvVars,
|
|
158
158
|
resolveToken
|
|
159
|
-
} from "./chunk-
|
|
159
|
+
} from "./chunk-JXTNFZA4.js";
|
|
160
160
|
import {
|
|
161
161
|
DEFAULT_RELEVANCE_CONFIG,
|
|
162
162
|
MemoryImportance,
|
|
163
163
|
MemoryType,
|
|
164
164
|
calculateTextJaccardSimilarity,
|
|
165
165
|
getToolMemory
|
|
166
|
-
} from "./chunk-
|
|
166
|
+
} from "./chunk-ZQMB7ZUX.js";
|
|
167
167
|
import {
|
|
168
168
|
STOPWORDS,
|
|
169
169
|
truncateWithInfo
|
|
170
170
|
} from "./chunk-7LP6VJRP.js";
|
|
171
171
|
import {
|
|
172
172
|
createSessionMemory
|
|
173
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-TWPQ366B.js";
|
|
174
174
|
import {
|
|
175
175
|
BUILT_IN_EXPERTS,
|
|
176
176
|
BuiltInExpertTypeSchema,
|
|
@@ -188,25 +188,25 @@ import {
|
|
|
188
188
|
getAvailableClis,
|
|
189
189
|
sleep,
|
|
190
190
|
withTimeout
|
|
191
|
-
} from "./chunk-
|
|
191
|
+
} from "./chunk-TA7XMQ5E.js";
|
|
192
192
|
import {
|
|
193
193
|
BaseAdapter,
|
|
194
194
|
createStream,
|
|
195
195
|
requireApiKey,
|
|
196
196
|
validateApiKeyPresence
|
|
197
|
-
} from "./chunk-
|
|
197
|
+
} from "./chunk-IE2TKC2U.js";
|
|
198
198
|
import {
|
|
199
199
|
DEFAULTS
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-CNDTL5PN.js";
|
|
201
201
|
import {
|
|
202
202
|
getAvailabilityCache,
|
|
203
203
|
getCliForModelId,
|
|
204
204
|
resolveFallback
|
|
205
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-NGXVNTXT.js";
|
|
206
206
|
import {
|
|
207
207
|
generateHyphenId,
|
|
208
208
|
generateUUID
|
|
209
|
-
} from "./chunk-
|
|
209
|
+
} from "./chunk-BTLHHT7R.js";
|
|
210
210
|
import {
|
|
211
211
|
AGENT_ROUTER_TIMEOUTS,
|
|
212
212
|
API_TIMEOUTS,
|
|
@@ -318,7 +318,7 @@ import {
|
|
|
318
318
|
selectStrategyByManifest,
|
|
319
319
|
toExpertTaskAnalysisResult,
|
|
320
320
|
withStep
|
|
321
|
-
} from "./chunk-
|
|
321
|
+
} from "./chunk-AV74AYIL.js";
|
|
322
322
|
import {
|
|
323
323
|
ensureLearningDir,
|
|
324
324
|
getMetaOutcomesFile,
|
|
@@ -29989,7 +29989,7 @@ function execIdFields(executionId) {
|
|
|
29989
29989
|
async function populateUnifiedContextOnState(state, options) {
|
|
29990
29990
|
const taskCandidate = state["task"];
|
|
29991
29991
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
29992
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
29992
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-7DLQMRCL.js");
|
|
29993
29993
|
const category = inferTaskCategory2(taskCandidate);
|
|
29994
29994
|
const executionId = options?.executionId;
|
|
29995
29995
|
const execFields = execIdFields(executionId);
|
|
@@ -30979,18 +30979,29 @@ function createGateHandler(gate, taskId, stageType, enforcement) {
|
|
|
30979
30979
|
if (enforcement === void 0) {
|
|
30980
30980
|
return (_state) => Promise.resolve({
|
|
30981
30981
|
currentStage: gate.id,
|
|
30982
|
-
|
|
30982
|
+
// No engine wired, so no rule ran. The marker is the same courtesy
|
|
30983
|
+
// `placeholder: true` extends to an absent plugin below.
|
|
30984
|
+
stageResults: [{ gateId: gate.id, status: "passed", policyEvaluated: false }]
|
|
30983
30985
|
});
|
|
30984
30986
|
}
|
|
30985
30987
|
return (_state) => {
|
|
30986
30988
|
const verdict = enforceGatePolicy(enforcement, { gateId: gate.id, taskId, stageType });
|
|
30987
|
-
const status = verdict.allowed ? "passed" : "warned";
|
|
30988
30989
|
return Promise.resolve({
|
|
30989
30990
|
currentStage: gate.id,
|
|
30990
|
-
stageResults: [
|
|
30991
|
+
stageResults: [buildGateResult(gate.id, verdict)]
|
|
30991
30992
|
});
|
|
30992
30993
|
};
|
|
30993
30994
|
}
|
|
30995
|
+
function buildGateResult(gateId, verdict) {
|
|
30996
|
+
const violated = verdict.violations.length > 0;
|
|
30997
|
+
return {
|
|
30998
|
+
gateId,
|
|
30999
|
+
status: violated ? "warned" : "passed",
|
|
31000
|
+
policyEvaluated: verdict.mode !== "off",
|
|
31001
|
+
policyMode: verdict.mode,
|
|
31002
|
+
...violated ? { violations: verdict.violations.map((v) => `${v.ruleId}: ${v.reason}`) } : {}
|
|
31003
|
+
};
|
|
31004
|
+
}
|
|
30994
31005
|
function addStageNodes(builder, stages, registry) {
|
|
30995
31006
|
for (const stage of stages) {
|
|
30996
31007
|
builder.addNode(stage.id, createStageHandler(stage, registry));
|
|
@@ -32061,20 +32072,21 @@ function orchestrateInputToTaskContract(input, opts = {}) {
|
|
|
32061
32072
|
}
|
|
32062
32073
|
async function executeOrchestratePipeline(task) {
|
|
32063
32074
|
const policyResult = checkPipelinePolicy(task, "execute");
|
|
32075
|
+
const policyViolations = policyResult.violations.map((v) => `${v.ruleId}: ${v.reason}`);
|
|
32076
|
+
const policyRecord = policyViolations.length > 0 ? { policyViolations, policyMode: policyResult.mode } : {};
|
|
32064
32077
|
if (!policyResult.allowed) {
|
|
32065
|
-
const violations = policyResult.violations.map((v) => `${v.ruleId}: ${v.reason}`);
|
|
32066
32078
|
return {
|
|
32067
32079
|
compiled: false,
|
|
32068
32080
|
executed: false,
|
|
32069
32081
|
stepsExecuted: 0,
|
|
32070
32082
|
durationMs: 0,
|
|
32071
32083
|
policyBlocked: true,
|
|
32072
|
-
|
|
32084
|
+
...policyRecord
|
|
32073
32085
|
};
|
|
32074
32086
|
}
|
|
32075
32087
|
const compiled = createDelegatePipeline(task);
|
|
32076
32088
|
if (!compiled.ok) {
|
|
32077
|
-
return { compiled: false, executed: false, stepsExecuted: 0, durationMs: 0 };
|
|
32089
|
+
return { compiled: false, executed: false, stepsExecuted: 0, durationMs: 0, ...policyRecord };
|
|
32078
32090
|
}
|
|
32079
32091
|
const runner = new PipelineRunner();
|
|
32080
32092
|
const startMs = Date.now();
|
|
@@ -32083,13 +32095,14 @@ async function executeOrchestratePipeline(task) {
|
|
|
32083
32095
|
});
|
|
32084
32096
|
const durationMs = Date.now() - startMs;
|
|
32085
32097
|
if (!result.ok) {
|
|
32086
|
-
return { compiled: true, executed: false, stepsExecuted: 0, durationMs };
|
|
32098
|
+
return { compiled: true, executed: false, stepsExecuted: 0, durationMs, ...policyRecord };
|
|
32087
32099
|
}
|
|
32088
32100
|
return {
|
|
32089
32101
|
compiled: true,
|
|
32090
32102
|
executed: result.value.success,
|
|
32091
32103
|
stepsExecuted: result.value.stepsExecuted,
|
|
32092
|
-
durationMs
|
|
32104
|
+
durationMs,
|
|
32105
|
+
...policyRecord
|
|
32093
32106
|
};
|
|
32094
32107
|
}
|
|
32095
32108
|
|
|
@@ -45528,7 +45541,7 @@ async function tryIssueTriage(task) {
|
|
|
45528
45541
|
try {
|
|
45529
45542
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
45530
45543
|
if (issueMatch === null) return null;
|
|
45531
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
45544
|
+
const { createIssueTriage } = await import("./issue-triage-NJHK46X2.js");
|
|
45532
45545
|
const triage = createIssueTriage();
|
|
45533
45546
|
const owner = issueMatch[1] ?? "";
|
|
45534
45547
|
const num = issueMatch[2] ?? "";
|
|
@@ -45556,7 +45569,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
45556
45569
|
]);
|
|
45557
45570
|
async function classifyWithLLM(task) {
|
|
45558
45571
|
try {
|
|
45559
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
45572
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-5F5B2AUR.js");
|
|
45560
45573
|
const prompt = [
|
|
45561
45574
|
"Classify this task into exactly one pipeline template.",
|
|
45562
45575
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -45930,7 +45943,7 @@ function buildVotingInput(plan, config) {
|
|
|
45930
45943
|
}
|
|
45931
45944
|
async function executeSingleVote(plan, config, log) {
|
|
45932
45945
|
try {
|
|
45933
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
45946
|
+
const { executeVoting } = await import("./consensus-vote-N5PJYDLM.js");
|
|
45934
45947
|
const input = buildVotingInput(plan, config);
|
|
45935
45948
|
const result = await executeVoting(input, log);
|
|
45936
45949
|
return parseVotingResult(result);
|
|
@@ -47489,7 +47502,7 @@ var memoryInitPromise = null;
|
|
|
47489
47502
|
async function initPipelineMemory() {
|
|
47490
47503
|
if (cachedMemory !== null) return cachedMemory;
|
|
47491
47504
|
try {
|
|
47492
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47505
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-JPOLLJUU.js");
|
|
47493
47506
|
const { getLearningDir } = await import("./learning-persistence-TX2WE7Y7.js");
|
|
47494
47507
|
const mem = createSessionMemory2(getLearningDir());
|
|
47495
47508
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
@@ -47551,7 +47564,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
|
|
|
47551
47564
|
callRecord(routingMemoryCache);
|
|
47552
47565
|
return;
|
|
47553
47566
|
}
|
|
47554
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
47567
|
+
routingMemoryInitPromise ??= import("./routing-memory-7CY6NMIG.js").then(({ createRoutingMemory }) => {
|
|
47555
47568
|
routingMemoryCache ??= createRoutingMemory();
|
|
47556
47569
|
return routingMemoryCache;
|
|
47557
47570
|
}).catch((error) => {
|
|
@@ -47585,7 +47598,7 @@ ${text}` : "";
|
|
|
47585
47598
|
}
|
|
47586
47599
|
async function getWeatherContext() {
|
|
47587
47600
|
try {
|
|
47588
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
47601
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-FQ4WI7VE.js");
|
|
47589
47602
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
47590
47603
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
47591
47604
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -47603,7 +47616,7 @@ ${lines}
|
|
|
47603
47616
|
}
|
|
47604
47617
|
async function getMemoryContext(task) {
|
|
47605
47618
|
try {
|
|
47606
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47619
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-JPOLLJUU.js");
|
|
47607
47620
|
const { getLearningDir } = await import("./learning-persistence-TX2WE7Y7.js");
|
|
47608
47621
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
47609
47622
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
@@ -47722,7 +47735,7 @@ ${contextBlock}`;
|
|
|
47722
47735
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47723
47736
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47724
47737
|
try {
|
|
47725
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47738
|
+
const { executeVoting } = await import("./consensus-vote-N5PJYDLM.js");
|
|
47726
47739
|
const votingResult = await executeVoting(
|
|
47727
47740
|
{
|
|
47728
47741
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -48153,7 +48166,7 @@ async function searchCodebaseForTask(task) {
|
|
|
48153
48166
|
}
|
|
48154
48167
|
async function queryResearchRegistry(task) {
|
|
48155
48168
|
try {
|
|
48156
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
48169
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-B2VB2A6Y.js");
|
|
48157
48170
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
48158
48171
|
if (topic === void 0) return null;
|
|
48159
48172
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -48224,7 +48237,7 @@ function createScanStageWrapper() {
|
|
|
48224
48237
|
try {
|
|
48225
48238
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
48226
48239
|
if (slug !== void 0) {
|
|
48227
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
48240
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-NAGMNMTD.js");
|
|
48228
48241
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
48229
48242
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
48230
48243
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -51462,7 +51475,7 @@ var GitHubTaskTracker = class {
|
|
|
51462
51475
|
cachedProvider = null;
|
|
51463
51476
|
async getProvider() {
|
|
51464
51477
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
51465
|
-
const { createScmProvider } = await import("./factory-
|
|
51478
|
+
const { createScmProvider } = await import("./factory-W4QLUZH5.js");
|
|
51466
51479
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
51467
51480
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
51468
51481
|
this.cachedProvider = result.value;
|
|
@@ -52366,7 +52379,7 @@ async function probeSource(source, includeModelIds) {
|
|
|
52366
52379
|
}
|
|
52367
52380
|
}
|
|
52368
52381
|
async function defaultSources(includeOpenRouter) {
|
|
52369
|
-
const { createAllAdapters: createAllAdapters2 } = await import("./factory-
|
|
52382
|
+
const { createAllAdapters: createAllAdapters2 } = await import("./factory-A6M7FIDG.js");
|
|
52370
52383
|
const adapters = createAllAdapters2();
|
|
52371
52384
|
return buildDefaultModelSources(adapters, { includeOpenRouter });
|
|
52372
52385
|
}
|
|
@@ -56403,4 +56416,4 @@ export {
|
|
|
56403
56416
|
startPipelineEventBridge,
|
|
56404
56417
|
shutdownPipelineEventBridge
|
|
56405
56418
|
};
|
|
56406
|
-
//# sourceMappingURL=chunk-
|
|
56419
|
+
//# sourceMappingURL=chunk-7RNUHPWR.js.map
|