nexus-agents 2.135.0 → 2.136.0
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/{child-mcp-config-RIEZRHWO.js → child-mcp-config-TM6OCARU.js} +4 -3
- package/dist/{child-mcp-config-RIEZRHWO.js.map → child-mcp-config-TM6OCARU.js.map} +1 -1
- package/dist/{chunk-FGQL4LZP.js → chunk-257QMFTM.js} +3 -3
- package/dist/{chunk-PQHVC4BD.js → chunk-2XRPKJKX.js} +23 -12
- package/dist/chunk-2XRPKJKX.js.map +1 -0
- package/dist/{chunk-4L4VXVKC.js → chunk-3AAJWZCR.js} +4 -4
- package/dist/{chunk-JA3SDBVY.js → chunk-3JSDOBOA.js} +2 -2
- package/dist/{chunk-52N3NGEY.js → chunk-3QH2KWLH.js} +2 -2
- package/dist/{chunk-KAIRRC5R.js → chunk-3WBEEYCS.js} +4 -4
- package/dist/{chunk-5MWNLEU2.js → chunk-4GVPON4W.js} +3 -3
- package/dist/{chunk-C5FWXNAR.js → chunk-5546JU53.js} +8 -8
- package/dist/chunk-5SXGPX34.js +44 -0
- package/dist/chunk-5SXGPX34.js.map +1 -0
- package/dist/{chunk-JWWCNN76.js → chunk-66TXNH4S.js} +14 -12
- package/dist/{chunk-JWWCNN76.js.map → chunk-66TXNH4S.js.map} +1 -1
- package/dist/{chunk-PZ3MGLJU.js → chunk-6JOXXQK2.js} +52 -50
- package/dist/{chunk-PZ3MGLJU.js.map → chunk-6JOXXQK2.js.map} +1 -1
- package/dist/{chunk-4NANSSKX.js → chunk-7E5UXA4U.js} +2 -2
- package/dist/{chunk-HGYJLSLL.js → chunk-7G63H7ZT.js} +2 -2
- package/dist/{chunk-C4GDV57D.js → chunk-CQDGPGTL.js} +3 -3
- package/dist/{chunk-ZVIBVJBI.js → chunk-ESP6U3LW.js} +13 -81
- package/dist/chunk-ESP6U3LW.js.map +1 -0
- package/dist/{chunk-V6XZFDFR.js → chunk-FHFEC2XM.js} +2 -2
- package/dist/{chunk-WRP5COST.js → chunk-FIQSOSQU.js} +2 -2
- package/dist/{chunk-QX2Y5QWO.js → chunk-FSUZIIOJ.js} +2 -2
- package/dist/{chunk-K5O7SSOH.js → chunk-GWOXPCIF.js} +13 -13
- package/dist/{chunk-ILH5TZAX.js → chunk-HMZT2SJK.js} +4 -4
- package/dist/{chunk-OQZQITVU.js → chunk-JK4L2TQ6.js} +3 -3
- package/dist/{chunk-MREIJMH7.js → chunk-JVZ7FGWR.js} +3 -3
- package/dist/{chunk-HDBV64A3.js → chunk-KOVTOPEQ.js} +2 -2
- package/dist/{chunk-GZ4NF4ZW.js → chunk-L4QFWOOQ.js} +63 -92
- package/dist/chunk-L4QFWOOQ.js.map +1 -0
- package/dist/{chunk-2QTDOKWV.js → chunk-LCSGGLZZ.js} +2 -2
- package/dist/{chunk-FNYTCR6R.js → chunk-MTE7THMR.js} +6 -6
- package/dist/{chunk-ME4DQ6BI.js → chunk-N67LHY47.js} +88 -31
- package/dist/chunk-N67LHY47.js.map +1 -0
- package/dist/{chunk-CBJN5MYW.js → chunk-OCJEYHUQ.js} +11 -8
- package/dist/chunk-OCJEYHUQ.js.map +1 -0
- package/dist/chunk-UGAKYSDO.js +92 -0
- package/dist/chunk-UGAKYSDO.js.map +1 -0
- package/dist/{chunk-XM3OQXN5.js → chunk-UH3F4RZB.js} +7 -7
- package/dist/{chunk-DXVQ6VFB.js → chunk-VN3CKPEF.js} +3 -3
- package/dist/{chunk-SMRXY5ZN.js → chunk-VVBKPRLI.js} +2 -2
- package/dist/{chunk-GM5F2FO5.js → chunk-VY4FZNZA.js} +2 -2
- package/dist/{chunk-T77RGBUF.js → chunk-WOE5J5M6.js} +4 -4
- package/dist/{chunk-C46YFMFO.js → chunk-ZHCEOIEQ.js} +2 -2
- package/dist/{chunk-BGGX3BXC.js → chunk-ZII5MDUO.js} +2 -2
- package/dist/{chunk-3IT473PY.js → chunk-ZLENFXL5.js} +4 -4
- package/dist/cli-circuit-breaker-HFFMCA43.js +14 -0
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +68 -66
- package/dist/cli.js.map +1 -1
- package/dist/{composite-router-DU22RBNQ.js → composite-router-PS42433A.js} +4 -3
- package/dist/consensus-vote-K2SHY4TC.js +39 -0
- package/dist/{consensus-vote-types-CYBHW8vY.d.ts → consensus-vote-types-Dx4pf3YW.d.ts} +16 -0
- package/dist/{context-retriever-BWLNV73G.js → context-retriever-NIFXFYPQ.js} +12 -10
- package/dist/{dist-C4457XNQ.js → dist-KGTVHDVC.js} +4 -2
- package/dist/doctor-deep-VQQNT7VN.js +13 -0
- package/dist/{expert-bridge-4YXDWOMR.js → expert-bridge-NY6FAFQH.js} +6 -5
- package/dist/factory-6A26HIWS.js +15 -0
- package/dist/factory-GGSACEWN.js +22 -0
- package/dist/{improvement-review-GUPEYLGP.js → improvement-review-JDSRWFHM.js} +6 -5
- package/dist/index.d.ts +7 -7
- package/dist/index.js +64 -62
- package/dist/index.js.map +1 -1
- package/dist/{init-opencode-3ETCD3BE.js → init-opencode-C7U6ZQK3.js} +8 -7
- package/dist/{init-opencode-3ETCD3BE.js.map → init-opencode-C7U6ZQK3.js.map} +1 -1
- package/dist/issue-triage-7RN74LBU.js +17 -0
- package/dist/{learning-persistence-2KO4CXNL.js → learning-persistence-EHTHKWR5.js} +3 -2
- package/dist/{pr-reviewer-helpers-56FWDR3G.js → pr-reviewer-helpers-D47TVXFX.js} +6 -5
- package/dist/{registry-command-PYAMTDT2.js → registry-command-PVC47NSQ.js} +4 -3
- package/dist/{registry-command-PYAMTDT2.js.map → registry-command-PVC47NSQ.js.map} +1 -1
- package/dist/{repo-security-plan-WJM2JXPT.js → repo-security-plan-76IXMJNC.js} +5 -4
- package/dist/research-helpers-synthesize-WH4IC36H.js +15 -0
- package/dist/{routing-memory-K54FC6WD.js → routing-memory-RAYIYIUP.js} +4 -3
- package/dist/{session-memory-G5DWGR6S.js → session-memory-WZCS7WDH.js} +5 -4
- package/dist/{setup-command-7IN7ORLV.js → setup-command-O62DVQ2U.js} +13 -12
- package/dist/setup-config-KEBEUMC3.js +11 -0
- package/dist/{setup-custom-api-2IDPBBER.js → setup-custom-api-2PQP6UOT.js} +5 -4
- package/dist/{setup-custom-api-2IDPBBER.js.map → setup-custom-api-2PQP6UOT.js.map} +1 -1
- package/dist/tool-memory-RAQWOUXV.js +22 -0
- package/dist/tool-memory-registry-adapters-Y4EGADHN.js +12 -0
- package/dist/unified-registry-L5PGLSEI.js +25 -0
- package/dist/{weather-report-RYUENMV5.js → weather-report-TEBEALS7.js} +4 -3
- package/dist/weather-report-TEBEALS7.js.map +1 -0
- package/package.json +2 -2
- package/dist/chunk-CBJN5MYW.js.map +0 -1
- package/dist/chunk-GZ4NF4ZW.js.map +0 -1
- package/dist/chunk-ME4DQ6BI.js.map +0 -1
- package/dist/chunk-PQHVC4BD.js.map +0 -1
- package/dist/chunk-ZVIBVJBI.js.map +0 -1
- package/dist/cli-circuit-breaker-QONQNI3B.js +0 -13
- package/dist/consensus-vote-ZBSY2SCU.js +0 -37
- package/dist/doctor-deep-JW3Y5ZD2.js +0 -12
- package/dist/factory-3HBHEN54.js +0 -14
- package/dist/factory-7XUQGSHC.js +0 -21
- package/dist/issue-triage-7QHWTJRD.js +0 -16
- package/dist/research-helpers-synthesize-K4Z4BYGI.js +0 -14
- package/dist/setup-config-PTRDCT22.js +0 -10
- package/dist/tool-memory-GGQVY2GX.js +0 -20
- package/dist/unified-registry-3QASCESS.js +0 -24
- /package/dist/{chunk-FGQL4LZP.js.map → chunk-257QMFTM.js.map} +0 -0
- /package/dist/{chunk-4L4VXVKC.js.map → chunk-3AAJWZCR.js.map} +0 -0
- /package/dist/{chunk-JA3SDBVY.js.map → chunk-3JSDOBOA.js.map} +0 -0
- /package/dist/{chunk-52N3NGEY.js.map → chunk-3QH2KWLH.js.map} +0 -0
- /package/dist/{chunk-KAIRRC5R.js.map → chunk-3WBEEYCS.js.map} +0 -0
- /package/dist/{chunk-5MWNLEU2.js.map → chunk-4GVPON4W.js.map} +0 -0
- /package/dist/{chunk-C5FWXNAR.js.map → chunk-5546JU53.js.map} +0 -0
- /package/dist/{chunk-4NANSSKX.js.map → chunk-7E5UXA4U.js.map} +0 -0
- /package/dist/{chunk-HGYJLSLL.js.map → chunk-7G63H7ZT.js.map} +0 -0
- /package/dist/{chunk-C4GDV57D.js.map → chunk-CQDGPGTL.js.map} +0 -0
- /package/dist/{chunk-V6XZFDFR.js.map → chunk-FHFEC2XM.js.map} +0 -0
- /package/dist/{chunk-WRP5COST.js.map → chunk-FIQSOSQU.js.map} +0 -0
- /package/dist/{chunk-QX2Y5QWO.js.map → chunk-FSUZIIOJ.js.map} +0 -0
- /package/dist/{chunk-K5O7SSOH.js.map → chunk-GWOXPCIF.js.map} +0 -0
- /package/dist/{chunk-ILH5TZAX.js.map → chunk-HMZT2SJK.js.map} +0 -0
- /package/dist/{chunk-OQZQITVU.js.map → chunk-JK4L2TQ6.js.map} +0 -0
- /package/dist/{chunk-MREIJMH7.js.map → chunk-JVZ7FGWR.js.map} +0 -0
- /package/dist/{chunk-HDBV64A3.js.map → chunk-KOVTOPEQ.js.map} +0 -0
- /package/dist/{chunk-2QTDOKWV.js.map → chunk-LCSGGLZZ.js.map} +0 -0
- /package/dist/{chunk-FNYTCR6R.js.map → chunk-MTE7THMR.js.map} +0 -0
- /package/dist/{chunk-XM3OQXN5.js.map → chunk-UH3F4RZB.js.map} +0 -0
- /package/dist/{chunk-DXVQ6VFB.js.map → chunk-VN3CKPEF.js.map} +0 -0
- /package/dist/{chunk-SMRXY5ZN.js.map → chunk-VVBKPRLI.js.map} +0 -0
- /package/dist/{chunk-GM5F2FO5.js.map → chunk-VY4FZNZA.js.map} +0 -0
- /package/dist/{chunk-T77RGBUF.js.map → chunk-WOE5J5M6.js.map} +0 -0
- /package/dist/{chunk-C46YFMFO.js.map → chunk-ZHCEOIEQ.js.map} +0 -0
- /package/dist/{chunk-BGGX3BXC.js.map → chunk-ZII5MDUO.js.map} +0 -0
- /package/dist/{chunk-3IT473PY.js.map → chunk-ZLENFXL5.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-QONQNI3B.js.map → cli-circuit-breaker-HFFMCA43.js.map} +0 -0
- /package/dist/{composite-router-DU22RBNQ.js.map → composite-router-PS42433A.js.map} +0 -0
- /package/dist/{consensus-vote-ZBSY2SCU.js.map → consensus-vote-K2SHY4TC.js.map} +0 -0
- /package/dist/{context-retriever-BWLNV73G.js.map → context-retriever-NIFXFYPQ.js.map} +0 -0
- /package/dist/{dist-C4457XNQ.js.map → dist-KGTVHDVC.js.map} +0 -0
- /package/dist/{doctor-deep-JW3Y5ZD2.js.map → doctor-deep-VQQNT7VN.js.map} +0 -0
- /package/dist/{expert-bridge-4YXDWOMR.js.map → expert-bridge-NY6FAFQH.js.map} +0 -0
- /package/dist/{factory-3HBHEN54.js.map → factory-6A26HIWS.js.map} +0 -0
- /package/dist/{factory-7XUQGSHC.js.map → factory-GGSACEWN.js.map} +0 -0
- /package/dist/{improvement-review-GUPEYLGP.js.map → improvement-review-JDSRWFHM.js.map} +0 -0
- /package/dist/{issue-triage-7QHWTJRD.js.map → issue-triage-7RN74LBU.js.map} +0 -0
- /package/dist/{learning-persistence-2KO4CXNL.js.map → learning-persistence-EHTHKWR5.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-56FWDR3G.js.map → pr-reviewer-helpers-D47TVXFX.js.map} +0 -0
- /package/dist/{repo-security-plan-WJM2JXPT.js.map → repo-security-plan-76IXMJNC.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-K4Z4BYGI.js.map → research-helpers-synthesize-WH4IC36H.js.map} +0 -0
- /package/dist/{routing-memory-K54FC6WD.js.map → routing-memory-RAYIYIUP.js.map} +0 -0
- /package/dist/{session-memory-G5DWGR6S.js.map → session-memory-WZCS7WDH.js.map} +0 -0
- /package/dist/{setup-command-7IN7ORLV.js.map → setup-command-O62DVQ2U.js.map} +0 -0
- /package/dist/{setup-config-PTRDCT22.js.map → setup-config-KEBEUMC3.js.map} +0 -0
- /package/dist/{tool-memory-GGQVY2GX.js.map → tool-memory-RAQWOUXV.js.map} +0 -0
- /package/dist/{unified-registry-3QASCESS.js.map → tool-memory-registry-adapters-Y4EGADHN.js.map} +0 -0
- /package/dist/{weather-report-RYUENMV5.js.map → unified-registry-L5PGLSEI.js.map} +0 -0
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateSecurityPlan
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3JSDOBOA.js";
|
|
4
|
+
import {
|
|
5
|
+
analyzeGitHubRepo
|
|
6
|
+
} from "./chunk-HFOQKCD2.js";
|
|
4
7
|
import {
|
|
5
8
|
CodebaseIndex,
|
|
6
9
|
extractSymbolIndex,
|
|
@@ -11,9 +14,14 @@ import {
|
|
|
11
14
|
SARIF_LEVEL_MAP,
|
|
12
15
|
SEVERITY_ORDER
|
|
13
16
|
} from "./chunk-WAYGXUSM.js";
|
|
17
|
+
import {
|
|
18
|
+
DEFAULT_TASK_TTL_MS,
|
|
19
|
+
DEFAULT_TOOL_RATE_LIMITS,
|
|
20
|
+
clampTaskTtl
|
|
21
|
+
} from "./chunk-66TXNH4S.js";
|
|
14
22
|
import {
|
|
15
23
|
executeExpert
|
|
16
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-UH3F4RZB.js";
|
|
17
25
|
import {
|
|
18
26
|
JobStatusSchema,
|
|
19
27
|
collectRealVotes,
|
|
@@ -32,24 +40,24 @@ import {
|
|
|
32
40
|
toJobSummary,
|
|
33
41
|
warnIfSimulatedOutsideTests,
|
|
34
42
|
writeJobCancelled
|
|
35
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-N67LHY47.js";
|
|
36
44
|
import {
|
|
37
45
|
normalizeTopicToCanonical,
|
|
38
46
|
synthesizeResearch
|
|
39
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-4GVPON4W.js";
|
|
40
48
|
import {
|
|
41
49
|
IssueTriage,
|
|
42
50
|
createAuditTrail,
|
|
43
51
|
createGraphAuditBridge,
|
|
44
52
|
emitPipelinePolicyEvent
|
|
45
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-3AAJWZCR.js";
|
|
46
54
|
import {
|
|
47
55
|
resolveEnvMode,
|
|
48
56
|
sanitizeInput
|
|
49
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-FSUZIIOJ.js";
|
|
50
58
|
import {
|
|
51
59
|
withPrerequisite
|
|
52
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-3WBEEYCS.js";
|
|
53
61
|
import {
|
|
54
62
|
NOOP_NOTIFIER,
|
|
55
63
|
RateLimiter,
|
|
@@ -71,10 +79,7 @@ import {
|
|
|
71
79
|
withAccessPolicy,
|
|
72
80
|
withProgressHeartbeat,
|
|
73
81
|
wrapToolWithTimeout
|
|
74
|
-
} from "./chunk-
|
|
75
|
-
import {
|
|
76
|
-
analyzeGitHubRepo
|
|
77
|
-
} from "./chunk-HFOQKCD2.js";
|
|
82
|
+
} from "./chunk-JVZ7FGWR.js";
|
|
78
83
|
import {
|
|
79
84
|
addResearchPaper,
|
|
80
85
|
addSourceToRegistry,
|
|
@@ -102,36 +107,31 @@ import {
|
|
|
102
107
|
parseRegistry,
|
|
103
108
|
sourceExistsInRegistry,
|
|
104
109
|
summarizeContextForPrompt
|
|
105
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-5546JU53.js";
|
|
106
111
|
import {
|
|
107
112
|
getTokenEnvVars,
|
|
108
113
|
resolveToken
|
|
109
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-FHFEC2XM.js";
|
|
110
115
|
import {
|
|
111
116
|
loadPapersRegistry,
|
|
112
117
|
loadTechniquesRegistry
|
|
113
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-ZHCEOIEQ.js";
|
|
119
|
+
import {
|
|
120
|
+
resolveInsideRoot
|
|
121
|
+
} from "./chunk-NUBSJGQZ.js";
|
|
114
122
|
import {
|
|
115
123
|
DEFAULT_RELEVANCE_CONFIG,
|
|
116
124
|
MemoryImportance,
|
|
117
125
|
calculateTextJaccardSimilarity,
|
|
118
126
|
getToolMemory
|
|
119
|
-
} from "./chunk-
|
|
120
|
-
import {
|
|
121
|
-
createSessionMemory
|
|
122
|
-
} from "./chunk-52N3NGEY.js";
|
|
123
|
-
import {
|
|
124
|
-
DEFAULT_TASK_TTL_MS,
|
|
125
|
-
DEFAULT_TOOL_RATE_LIMITS,
|
|
126
|
-
clampTaskTtl
|
|
127
|
-
} from "./chunk-JWWCNN76.js";
|
|
128
|
-
import {
|
|
129
|
-
resolveInsideRoot
|
|
130
|
-
} from "./chunk-NUBSJGQZ.js";
|
|
127
|
+
} from "./chunk-ESP6U3LW.js";
|
|
131
128
|
import {
|
|
132
129
|
STOPWORDS,
|
|
133
130
|
truncateWithInfo
|
|
134
131
|
} from "./chunk-6T3EPABN.js";
|
|
132
|
+
import {
|
|
133
|
+
createSessionMemory
|
|
134
|
+
} from "./chunk-3QH2KWLH.js";
|
|
135
135
|
import {
|
|
136
136
|
BUILT_IN_EXPERTS,
|
|
137
137
|
BuiltInExpertTypeSchema,
|
|
@@ -140,13 +140,13 @@ import {
|
|
|
140
140
|
} from "./chunk-ZM4O442V.js";
|
|
141
141
|
import {
|
|
142
142
|
getMemoryRegistry
|
|
143
|
-
} from "./chunk-
|
|
143
|
+
} from "./chunk-2XRPKJKX.js";
|
|
144
144
|
import {
|
|
145
145
|
EventTopics,
|
|
146
146
|
createEvent,
|
|
147
147
|
getGlobalEventBus,
|
|
148
148
|
getGlobalRegistry
|
|
149
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-HMZT2SJK.js";
|
|
150
150
|
import {
|
|
151
151
|
CliDetectionCache,
|
|
152
152
|
asRecord,
|
|
@@ -154,19 +154,19 @@ import {
|
|
|
154
154
|
getAvailableClis,
|
|
155
155
|
sleep,
|
|
156
156
|
withTimeout
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-GWOXPCIF.js";
|
|
158
158
|
import {
|
|
159
159
|
DEFAULTS
|
|
160
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-7E5UXA4U.js";
|
|
161
161
|
import {
|
|
162
162
|
getAvailabilityCache,
|
|
163
163
|
getCliForModelId,
|
|
164
164
|
resolveFallback
|
|
165
|
-
} from "./chunk-
|
|
165
|
+
} from "./chunk-KOVTOPEQ.js";
|
|
166
166
|
import {
|
|
167
167
|
generateHyphenId,
|
|
168
168
|
generateUUID
|
|
169
|
-
} from "./chunk-
|
|
169
|
+
} from "./chunk-FIQSOSQU.js";
|
|
170
170
|
import {
|
|
171
171
|
AGENT_ROUTER_TIMEOUTS,
|
|
172
172
|
API_TIMEOUTS,
|
|
@@ -258,14 +258,16 @@ import {
|
|
|
258
258
|
selectStrategyByManifest,
|
|
259
259
|
toExpertTaskAnalysisResult,
|
|
260
260
|
withStep
|
|
261
|
-
} from "./chunk-
|
|
261
|
+
} from "./chunk-OCJEYHUQ.js";
|
|
262
262
|
import {
|
|
263
263
|
ensureLearningDir,
|
|
264
264
|
getMetaOutcomesFile,
|
|
265
|
-
isPersistenceEnabled
|
|
265
|
+
isPersistenceEnabled
|
|
266
|
+
} from "./chunk-5SXGPX34.js";
|
|
267
|
+
import {
|
|
266
268
|
nexusDataPath,
|
|
267
269
|
nexusDataPathEnsure
|
|
268
|
-
} from "./chunk-
|
|
270
|
+
} from "./chunk-L4QFWOOQ.js";
|
|
269
271
|
|
|
270
272
|
// src/agents/state-machine-types.ts
|
|
271
273
|
var VALID_TRANSITIONS = /* @__PURE__ */ new Map([
|
|
@@ -26290,7 +26292,7 @@ function execIdFields(executionId) {
|
|
|
26290
26292
|
async function populateUnifiedContextOnState(state, options) {
|
|
26291
26293
|
const taskCandidate = state["task"];
|
|
26292
26294
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
26293
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
26295
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-NIFXFYPQ.js");
|
|
26294
26296
|
const category = inferTaskCategory2(taskCandidate);
|
|
26295
26297
|
const executionId = options?.executionId;
|
|
26296
26298
|
const execFields = execIdFields(executionId);
|
|
@@ -41387,7 +41389,7 @@ async function tryIssueTriage(task) {
|
|
|
41387
41389
|
try {
|
|
41388
41390
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
41389
41391
|
if (issueMatch === null) return null;
|
|
41390
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
41392
|
+
const { createIssueTriage } = await import("./issue-triage-7RN74LBU.js");
|
|
41391
41393
|
const triage = createIssueTriage();
|
|
41392
41394
|
const owner = issueMatch[1] ?? "";
|
|
41393
41395
|
const num = issueMatch[2] ?? "";
|
|
@@ -41415,7 +41417,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
41415
41417
|
]);
|
|
41416
41418
|
async function classifyWithLLM(task) {
|
|
41417
41419
|
try {
|
|
41418
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
41420
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-NY6FAFQH.js");
|
|
41419
41421
|
const prompt = [
|
|
41420
41422
|
"Classify this task into exactly one pipeline template.",
|
|
41421
41423
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -43181,8 +43183,8 @@ var memoryInitPromise = null;
|
|
|
43181
43183
|
async function initPipelineMemory() {
|
|
43182
43184
|
if (cachedMemory !== null) return cachedMemory;
|
|
43183
43185
|
try {
|
|
43184
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
43185
|
-
const { getLearningDir } = await import("./learning-persistence-
|
|
43186
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-WZCS7WDH.js");
|
|
43187
|
+
const { getLearningDir } = await import("./learning-persistence-EHTHKWR5.js");
|
|
43186
43188
|
const mem = createSessionMemory2(getLearningDir());
|
|
43187
43189
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
43188
43190
|
cachedMemory = {
|
|
@@ -43243,7 +43245,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
|
|
|
43243
43245
|
callRecord(routingMemoryCache);
|
|
43244
43246
|
return;
|
|
43245
43247
|
}
|
|
43246
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
43248
|
+
routingMemoryInitPromise ??= import("./routing-memory-RAYIYIUP.js").then(({ createRoutingMemory }) => {
|
|
43247
43249
|
routingMemoryCache ??= createRoutingMemory();
|
|
43248
43250
|
return routingMemoryCache;
|
|
43249
43251
|
}).catch((error) => {
|
|
@@ -43277,7 +43279,7 @@ ${text}` : "";
|
|
|
43277
43279
|
}
|
|
43278
43280
|
async function getWeatherContext() {
|
|
43279
43281
|
try {
|
|
43280
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
43282
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-TEBEALS7.js");
|
|
43281
43283
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
43282
43284
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
43283
43285
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -43295,8 +43297,8 @@ ${lines}
|
|
|
43295
43297
|
}
|
|
43296
43298
|
async function getMemoryContext(task) {
|
|
43297
43299
|
try {
|
|
43298
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
43299
|
-
const { getLearningDir } = await import("./learning-persistence-
|
|
43300
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-WZCS7WDH.js");
|
|
43301
|
+
const { getLearningDir } = await import("./learning-persistence-EHTHKWR5.js");
|
|
43300
43302
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
43301
43303
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
43302
43304
|
if (learnings.length === 0) return "";
|
|
@@ -43407,7 +43409,7 @@ ${contextBlock}`;
|
|
|
43407
43409
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
43408
43410
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
43409
43411
|
try {
|
|
43410
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
43412
|
+
const { executeVoting } = await import("./consensus-vote-K2SHY4TC.js");
|
|
43411
43413
|
const votingResult = await executeVoting(
|
|
43412
43414
|
{
|
|
43413
43415
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -43844,7 +43846,7 @@ async function searchCodebaseForTask(task) {
|
|
|
43844
43846
|
}
|
|
43845
43847
|
async function queryResearchRegistry(task) {
|
|
43846
43848
|
try {
|
|
43847
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
43849
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-WH4IC36H.js");
|
|
43848
43850
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
43849
43851
|
if (topic === void 0) return null;
|
|
43850
43852
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -43915,7 +43917,7 @@ function createScanStageWrapper() {
|
|
|
43915
43917
|
try {
|
|
43916
43918
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
43917
43919
|
if (slug !== void 0) {
|
|
43918
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
43920
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-76IXMJNC.js");
|
|
43919
43921
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
43920
43922
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
43921
43923
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -46021,7 +46023,7 @@ var GitHubTaskTracker = class {
|
|
|
46021
46023
|
cachedProvider = null;
|
|
46022
46024
|
async getProvider() {
|
|
46023
46025
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
46024
|
-
const { createScmProvider } = await import("./factory-
|
|
46026
|
+
const { createScmProvider } = await import("./factory-6A26HIWS.js");
|
|
46025
46027
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
46026
46028
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
46027
46029
|
this.cachedProvider = result.value;
|
|
@@ -46786,7 +46788,7 @@ async function probeSource(source, includeModelIds) {
|
|
|
46786
46788
|
}
|
|
46787
46789
|
}
|
|
46788
46790
|
async function defaultSources(includeOpenRouter) {
|
|
46789
|
-
const { createAllAdapters: createAllAdapters2 } = await import("./factory-
|
|
46791
|
+
const { createAllAdapters: createAllAdapters2 } = await import("./factory-GGSACEWN.js");
|
|
46790
46792
|
const adapters = createAllAdapters2();
|
|
46791
46793
|
return buildDefaultModelSources(adapters, { includeOpenRouter });
|
|
46792
46794
|
}
|
|
@@ -50909,4 +50911,4 @@ export {
|
|
|
50909
50911
|
shutdownFeedbackSubscriber,
|
|
50910
50912
|
createEventBusBridge
|
|
50911
50913
|
};
|
|
50912
|
-
//# sourceMappingURL=chunk-
|
|
50914
|
+
//# sourceMappingURL=chunk-6JOXXQK2.js.map
|