nexus-agents 4.22.3 → 4.22.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{child-mcp-config-Y3QSDCYI.js → child-mcp-config-I3IQVN7P.js} +2 -2
- package/dist/{chunk-DGLAEH7Y.js → chunk-3K3IPRED.js} +2 -2
- package/dist/{chunk-IK6JPHMX.js → chunk-3PVG7CQS.js} +5 -5
- package/dist/{chunk-KDUSLLZM.js → chunk-5RC54HVU.js} +2 -2
- package/dist/{chunk-XYWCZNFC.js → chunk-5YBFBXEB.js} +2 -2
- package/dist/{chunk-FVUQY73A.js → chunk-6TV765AS.js} +2 -2
- package/dist/{chunk-GMJQ6QMZ.js → chunk-7MBFKJJT.js} +2 -2
- package/dist/{chunk-JR4XD3T7.js → chunk-ANVPNLZE.js} +4 -4
- package/dist/{chunk-RE2GYZRK.js → chunk-AXG2IGOK.js} +5 -5
- package/dist/{chunk-6U3LS57H.js → chunk-BTAWCQP6.js} +6 -6
- package/dist/{chunk-QRG7UR2F.js → chunk-BZGTZKXY.js} +2 -2
- package/dist/{chunk-MM7BINTV.js → chunk-DXWF7V74.js} +3 -3
- package/dist/{chunk-P422WQJM.js → chunk-EPOKODTI.js} +2 -2
- package/dist/{chunk-N5W3GATS.js → chunk-HLVST3JE.js} +7 -7
- package/dist/{chunk-RMTTKP4L.js → chunk-HWPFUVMS.js} +2 -2
- package/dist/{chunk-7HBTESFT.js → chunk-I6YC5PIL.js} +3 -3
- package/dist/{chunk-EU7S5CDW.js → chunk-IBW6CJ4G.js} +4 -4
- package/dist/{chunk-CBORIR4Y.js → chunk-MCCN5UUW.js} +2 -2
- package/dist/{chunk-SBLLJXJO.js → chunk-N45MVUY7.js} +5 -4
- package/dist/{chunk-SBLLJXJO.js.map → chunk-N45MVUY7.js.map} +1 -1
- package/dist/{chunk-H7CV35LZ.js → chunk-NQ65EKMG.js} +3 -3
- package/dist/{chunk-D6ZTSN34.js → chunk-PLO6VSSN.js} +8 -20
- package/dist/chunk-PLO6VSSN.js.map +1 -0
- package/dist/{chunk-TBXAEAKP.js → chunk-PX7AYAHF.js} +2 -2
- package/dist/{chunk-MTGMOLRO.js → chunk-QQS6FVTQ.js} +2 -2
- package/dist/{chunk-V533P6BT.js → chunk-QS5K3PAY.js} +4 -4
- package/dist/{chunk-JV6SMJMJ.js → chunk-RF5N4HME.js} +2 -2
- package/dist/{chunk-TMKBZG3W.js → chunk-RXGHRVL2.js} +2 -2
- package/dist/{chunk-JM42KPWJ.js → chunk-SBWVYOTV.js} +8 -8
- package/dist/{chunk-ICGYXBS6.js → chunk-SJPZHT6D.js} +2 -2
- package/dist/{chunk-2SVIHHNJ.js → chunk-TBWKMKCX.js} +6 -4
- package/dist/{chunk-2SVIHHNJ.js.map → chunk-TBWKMKCX.js.map} +1 -1
- package/dist/{chunk-LX5HF6N5.js → chunk-VDEDTAHZ.js} +49 -37
- package/dist/{chunk-LX5HF6N5.js.map → chunk-VDEDTAHZ.js.map} +1 -1
- package/dist/{chunk-PSXX2GBZ.js → chunk-VSHQMS37.js} +7 -7
- package/dist/{chunk-X7MLVGJV.js → chunk-YSOWQJ5S.js} +2 -2
- package/dist/{chunk-W2DYH4WL.js → chunk-ZRSKNV3E.js} +8 -8
- package/dist/{cli-circuit-breaker-T2IKLJVA.js → cli-circuit-breaker-OKOGXUQY.js} +3 -3
- package/dist/cli.js +40 -40
- package/dist/{composite-router-CCDCVYTY.js → composite-router-UFQSYHJF.js} +2 -2
- package/dist/{consensus-vote-TMMGZROW.js → consensus-vote-65UZRQMY.js} +16 -16
- package/dist/{context-retriever-CKJ7EJME.js → context-retriever-BROUADMF.js} +8 -8
- package/dist/{doctor-deep-MIQ5QYUL.js → doctor-deep-SBSUG54R.js} +3 -3
- package/dist/{doctor-live-IAERE7DO.js → doctor-live-LBH7XDZX.js} +9 -9
- package/dist/{expert-bridge-5MK4DOB7.js → expert-bridge-H6ITLZUY.js} +4 -4
- package/dist/{factory-OO7MN24L.js → factory-WJ6AV4WU.js} +5 -5
- package/dist/{factory-6FNJM6P3.js → factory-ZIYR7YJ3.js} +9 -9
- package/dist/{improvement-review-DKCVIJSF.js → improvement-review-LJQ2CXAP.js} +5 -5
- package/dist/index.js +30 -30
- package/dist/{init-opencode-CM2HL2PI.js → init-opencode-NTS5ZWXU.js} +6 -6
- package/dist/issue-triage-PM67ACC5.js +17 -0
- package/dist/{pr-reviewer-helpers-I5UIREUR.js → pr-reviewer-helpers-IAKFHBM6.js} +4 -4
- package/dist/{registry-command-BYRGRQ3I.js → registry-command-6HVXEW23.js} +2 -2
- package/dist/{repo-security-plan-NP6AT3NR.js → repo-security-plan-MF4E5MG6.js} +3 -3
- package/dist/{research-helpers-synthesize-2R6TO2SP.js → research-helpers-synthesize-2XQBWVG6.js} +4 -4
- package/dist/{routing-memory-IZH3XQQH.js → routing-memory-YIKR7EMC.js} +2 -2
- package/dist/{session-memory-OWEWA5BX.js → session-memory-B6TFD55A.js} +3 -3
- package/dist/{setup-config-O7LHHD42.js → setup-config-A5DWVRQB.js} +3 -3
- package/dist/{setup-custom-api-OZ3QCQTJ.js → setup-custom-api-ATC26B2O.js} +4 -4
- package/dist/setup-data-dir-DWMKVY6G.js +28 -0
- package/dist/{tool-memory-LYKMCW7U.js → tool-memory-XDUJUM2O.js} +5 -5
- package/dist/{unified-registry-ZSPVJ4BO.js → unified-registry-H2NNOXB3.js} +10 -10
- package/dist/{weather-report-4OFVK5Q5.js → weather-report-YDYML3JW.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-D6ZTSN34.js.map +0 -1
- package/dist/issue-triage-NH25YRNT.js +0 -17
- package/dist/setup-data-dir-XPXP3KIZ.js +0 -28
- /package/dist/{child-mcp-config-Y3QSDCYI.js.map → child-mcp-config-I3IQVN7P.js.map} +0 -0
- /package/dist/{chunk-DGLAEH7Y.js.map → chunk-3K3IPRED.js.map} +0 -0
- /package/dist/{chunk-IK6JPHMX.js.map → chunk-3PVG7CQS.js.map} +0 -0
- /package/dist/{chunk-KDUSLLZM.js.map → chunk-5RC54HVU.js.map} +0 -0
- /package/dist/{chunk-XYWCZNFC.js.map → chunk-5YBFBXEB.js.map} +0 -0
- /package/dist/{chunk-FVUQY73A.js.map → chunk-6TV765AS.js.map} +0 -0
- /package/dist/{chunk-GMJQ6QMZ.js.map → chunk-7MBFKJJT.js.map} +0 -0
- /package/dist/{chunk-JR4XD3T7.js.map → chunk-ANVPNLZE.js.map} +0 -0
- /package/dist/{chunk-RE2GYZRK.js.map → chunk-AXG2IGOK.js.map} +0 -0
- /package/dist/{chunk-6U3LS57H.js.map → chunk-BTAWCQP6.js.map} +0 -0
- /package/dist/{chunk-QRG7UR2F.js.map → chunk-BZGTZKXY.js.map} +0 -0
- /package/dist/{chunk-MM7BINTV.js.map → chunk-DXWF7V74.js.map} +0 -0
- /package/dist/{chunk-P422WQJM.js.map → chunk-EPOKODTI.js.map} +0 -0
- /package/dist/{chunk-N5W3GATS.js.map → chunk-HLVST3JE.js.map} +0 -0
- /package/dist/{chunk-RMTTKP4L.js.map → chunk-HWPFUVMS.js.map} +0 -0
- /package/dist/{chunk-7HBTESFT.js.map → chunk-I6YC5PIL.js.map} +0 -0
- /package/dist/{chunk-EU7S5CDW.js.map → chunk-IBW6CJ4G.js.map} +0 -0
- /package/dist/{chunk-CBORIR4Y.js.map → chunk-MCCN5UUW.js.map} +0 -0
- /package/dist/{chunk-H7CV35LZ.js.map → chunk-NQ65EKMG.js.map} +0 -0
- /package/dist/{chunk-TBXAEAKP.js.map → chunk-PX7AYAHF.js.map} +0 -0
- /package/dist/{chunk-MTGMOLRO.js.map → chunk-QQS6FVTQ.js.map} +0 -0
- /package/dist/{chunk-V533P6BT.js.map → chunk-QS5K3PAY.js.map} +0 -0
- /package/dist/{chunk-JV6SMJMJ.js.map → chunk-RF5N4HME.js.map} +0 -0
- /package/dist/{chunk-TMKBZG3W.js.map → chunk-RXGHRVL2.js.map} +0 -0
- /package/dist/{chunk-JM42KPWJ.js.map → chunk-SBWVYOTV.js.map} +0 -0
- /package/dist/{chunk-ICGYXBS6.js.map → chunk-SJPZHT6D.js.map} +0 -0
- /package/dist/{chunk-PSXX2GBZ.js.map → chunk-VSHQMS37.js.map} +0 -0
- /package/dist/{chunk-X7MLVGJV.js.map → chunk-YSOWQJ5S.js.map} +0 -0
- /package/dist/{chunk-W2DYH4WL.js.map → chunk-ZRSKNV3E.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-T2IKLJVA.js.map → cli-circuit-breaker-OKOGXUQY.js.map} +0 -0
- /package/dist/{composite-router-CCDCVYTY.js.map → composite-router-UFQSYHJF.js.map} +0 -0
- /package/dist/{consensus-vote-TMMGZROW.js.map → consensus-vote-65UZRQMY.js.map} +0 -0
- /package/dist/{context-retriever-CKJ7EJME.js.map → context-retriever-BROUADMF.js.map} +0 -0
- /package/dist/{doctor-deep-MIQ5QYUL.js.map → doctor-deep-SBSUG54R.js.map} +0 -0
- /package/dist/{doctor-live-IAERE7DO.js.map → doctor-live-LBH7XDZX.js.map} +0 -0
- /package/dist/{expert-bridge-5MK4DOB7.js.map → expert-bridge-H6ITLZUY.js.map} +0 -0
- /package/dist/{factory-6FNJM6P3.js.map → factory-WJ6AV4WU.js.map} +0 -0
- /package/dist/{factory-OO7MN24L.js.map → factory-ZIYR7YJ3.js.map} +0 -0
- /package/dist/{improvement-review-DKCVIJSF.js.map → improvement-review-LJQ2CXAP.js.map} +0 -0
- /package/dist/{init-opencode-CM2HL2PI.js.map → init-opencode-NTS5ZWXU.js.map} +0 -0
- /package/dist/{issue-triage-NH25YRNT.js.map → issue-triage-PM67ACC5.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-I5UIREUR.js.map → pr-reviewer-helpers-IAKFHBM6.js.map} +0 -0
- /package/dist/{registry-command-BYRGRQ3I.js.map → registry-command-6HVXEW23.js.map} +0 -0
- /package/dist/{repo-security-plan-NP6AT3NR.js.map → repo-security-plan-MF4E5MG6.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-2R6TO2SP.js.map → research-helpers-synthesize-2XQBWVG6.js.map} +0 -0
- /package/dist/{routing-memory-IZH3XQQH.js.map → routing-memory-YIKR7EMC.js.map} +0 -0
- /package/dist/{session-memory-OWEWA5BX.js.map → session-memory-B6TFD55A.js.map} +0 -0
- /package/dist/{setup-config-O7LHHD42.js.map → setup-config-A5DWVRQB.js.map} +0 -0
- /package/dist/{setup-custom-api-OZ3QCQTJ.js.map → setup-custom-api-ATC26B2O.js.map} +0 -0
- /package/dist/{setup-data-dir-XPXP3KIZ.js.map → setup-data-dir-DWMKVY6G.js.map} +0 -0
- /package/dist/{tool-memory-LYKMCW7U.js.map → tool-memory-XDUJUM2O.js.map} +0 -0
- /package/dist/{unified-registry-ZSPVJ4BO.js.map → unified-registry-H2NNOXB3.js.map} +0 -0
- /package/dist/{weather-report-4OFVK5Q5.js.map → weather-report-YDYML3JW.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateSecurityPlan
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BZGTZKXY.js";
|
|
4
4
|
import {
|
|
5
5
|
analyzeGitHubRepo
|
|
6
6
|
} from "./chunk-HFOQKCD2.js";
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
DEFAULT_TASK_TTL_MS,
|
|
23
23
|
clampTaskTtl
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-HLVST3JE.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-VSHQMS37.js";
|
|
28
28
|
import {
|
|
29
29
|
JobStatusSchema,
|
|
30
30
|
abortJob,
|
|
@@ -46,24 +46,24 @@ import {
|
|
|
46
46
|
simulationDeniedResult,
|
|
47
47
|
toJobSummary,
|
|
48
48
|
writeJobCancelled
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-ZRSKNV3E.js";
|
|
50
50
|
import {
|
|
51
51
|
allOf
|
|
52
52
|
} from "./chunk-OQB3XC5O.js";
|
|
53
53
|
import {
|
|
54
54
|
normalizeTopicToCanonical,
|
|
55
55
|
synthesizeResearch
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-NQ65EKMG.js";
|
|
57
57
|
import {
|
|
58
58
|
IssueTriage
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-BTAWCQP6.js";
|
|
60
60
|
import {
|
|
61
61
|
resolveEnvMode,
|
|
62
62
|
sanitizeInput
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-7MBFKJJT.js";
|
|
64
64
|
import {
|
|
65
65
|
withPrerequisite
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-DXWF7V74.js";
|
|
67
67
|
import {
|
|
68
68
|
NOOP_NOTIFIER,
|
|
69
69
|
RateLimiter,
|
|
@@ -87,18 +87,18 @@ import {
|
|
|
87
87
|
withAuditTrail,
|
|
88
88
|
withProgressHeartbeat,
|
|
89
89
|
wrapToolWithTimeout
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-PLO6VSSN.js";
|
|
91
91
|
import {
|
|
92
92
|
createAuditTrail,
|
|
93
93
|
createGraphAuditBridge,
|
|
94
94
|
emitPipelinePolicyEvent
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-YSOWQJ5S.js";
|
|
96
96
|
import {
|
|
97
97
|
EventTopics,
|
|
98
98
|
createEvent,
|
|
99
99
|
getGlobalEventBus,
|
|
100
100
|
getGlobalRegistry
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-QS5K3PAY.js";
|
|
102
102
|
import {
|
|
103
103
|
IDENTIFIER_RE,
|
|
104
104
|
LANG_VALUES,
|
|
@@ -131,29 +131,29 @@ import {
|
|
|
131
131
|
parseRegistry,
|
|
132
132
|
sourceExistsInRegistry,
|
|
133
133
|
summarizeContextForPrompt
|
|
134
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-3PVG7CQS.js";
|
|
135
135
|
import {
|
|
136
136
|
loadPapersRegistry,
|
|
137
137
|
loadTechniquesRegistry,
|
|
138
138
|
resolveInsideRoot
|
|
139
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-EPOKODTI.js";
|
|
140
140
|
import {
|
|
141
141
|
getTokenEnvVars,
|
|
142
142
|
resolveToken
|
|
143
|
-
} from "./chunk-
|
|
143
|
+
} from "./chunk-5YBFBXEB.js";
|
|
144
144
|
import {
|
|
145
145
|
DEFAULT_RELEVANCE_CONFIG,
|
|
146
146
|
MemoryImportance,
|
|
147
147
|
calculateTextJaccardSimilarity,
|
|
148
148
|
getToolMemory
|
|
149
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-IBW6CJ4G.js";
|
|
150
150
|
import {
|
|
151
151
|
STOPWORDS,
|
|
152
152
|
truncateWithInfo
|
|
153
153
|
} from "./chunk-6T3EPABN.js";
|
|
154
154
|
import {
|
|
155
155
|
createSessionMemory
|
|
156
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-3K3IPRED.js";
|
|
157
157
|
import {
|
|
158
158
|
BUILT_IN_EXPERTS,
|
|
159
159
|
BuiltInExpertTypeSchema,
|
|
@@ -171,25 +171,25 @@ import {
|
|
|
171
171
|
getAvailableClis,
|
|
172
172
|
sleep,
|
|
173
173
|
withTimeout
|
|
174
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-SBWVYOTV.js";
|
|
175
175
|
import {
|
|
176
176
|
BaseAdapter,
|
|
177
177
|
createStream,
|
|
178
178
|
requireApiKey,
|
|
179
179
|
validateApiKeyPresence
|
|
180
|
-
} from "./chunk-
|
|
180
|
+
} from "./chunk-MCCN5UUW.js";
|
|
181
181
|
import {
|
|
182
182
|
DEFAULTS
|
|
183
|
-
} from "./chunk-
|
|
183
|
+
} from "./chunk-RXGHRVL2.js";
|
|
184
184
|
import {
|
|
185
185
|
getAvailabilityCache,
|
|
186
186
|
getCliForModelId,
|
|
187
187
|
resolveFallback
|
|
188
|
-
} from "./chunk-
|
|
188
|
+
} from "./chunk-HWPFUVMS.js";
|
|
189
189
|
import {
|
|
190
190
|
generateHyphenId,
|
|
191
191
|
generateUUID
|
|
192
|
-
} from "./chunk-
|
|
192
|
+
} from "./chunk-QQS6FVTQ.js";
|
|
193
193
|
import {
|
|
194
194
|
AGENT_ROUTER_TIMEOUTS,
|
|
195
195
|
API_TIMEOUTS,
|
|
@@ -293,7 +293,7 @@ import {
|
|
|
293
293
|
selectStrategyByManifest,
|
|
294
294
|
toExpertTaskAnalysisResult,
|
|
295
295
|
withStep
|
|
296
|
-
} from "./chunk-
|
|
296
|
+
} from "./chunk-TBWKMKCX.js";
|
|
297
297
|
import {
|
|
298
298
|
ensureLearningDir,
|
|
299
299
|
getMetaOutcomesFile,
|
|
@@ -29544,7 +29544,7 @@ function execIdFields(executionId) {
|
|
|
29544
29544
|
async function populateUnifiedContextOnState(state, options) {
|
|
29545
29545
|
const taskCandidate = state["task"];
|
|
29546
29546
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
29547
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
29547
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-BROUADMF.js");
|
|
29548
29548
|
const category = inferTaskCategory2(taskCandidate);
|
|
29549
29549
|
const executionId = options?.executionId;
|
|
29550
29550
|
const execFields = execIdFields(executionId);
|
|
@@ -41482,7 +41482,13 @@ function recordGraphWorkflowResult(result) {
|
|
|
41482
41482
|
const store = getOutcomeStore();
|
|
41483
41483
|
store.append({
|
|
41484
41484
|
id: `graph-${String(getTimeProvider().now())}-${getRandomProvider().random().toString(36).slice(2, 8)}`,
|
|
41485
|
-
|
|
41485
|
+
// #5020: NOT `DEFAULT_CLI`. This tool does not know which CLI served the
|
|
41486
|
+
// work — the model field below is a synthetic label, not a model id — and
|
|
41487
|
+
// hardcoding 'claude' credited or debited claude for every run, poisoning
|
|
41488
|
+
// the same routing learner #5003 fixed in the feedback bridge.
|
|
41489
|
+
// `'unknown'` is the schema's own unattributed value, and the bandit's
|
|
41490
|
+
// warm-start already partitions it out (#4935) instead of replaying it.
|
|
41491
|
+
cli: "unknown",
|
|
41486
41492
|
category: workflowToCategory(result.workflow),
|
|
41487
41493
|
model: "graph-workflow",
|
|
41488
41494
|
success: succeeded,
|
|
@@ -42097,7 +42103,13 @@ function recordSpecOutcome(success, durationMs, stage) {
|
|
|
42097
42103
|
const store = getOutcomeStore();
|
|
42098
42104
|
store.append({
|
|
42099
42105
|
id: `spec-${String(getTimeProvider().now())}-${getRandomProvider().random().toString(36).slice(2, 8)}`,
|
|
42100
|
-
|
|
42106
|
+
// #5020: NOT `DEFAULT_CLI`. This tool does not know which CLI served the
|
|
42107
|
+
// work — the model field below is a synthetic label, not a model id — and
|
|
42108
|
+
// hardcoding 'claude' credited or debited claude for every run, poisoning
|
|
42109
|
+
// the same routing learner #5003 fixed in the feedback bridge.
|
|
42110
|
+
// `'unknown'` is the schema's own unattributed value, and the bandit's
|
|
42111
|
+
// warm-start already partitions it out (#4935) instead of replaying it.
|
|
42112
|
+
cli: "unknown",
|
|
42101
42113
|
category: "code_generation",
|
|
42102
42114
|
model: "spec-executor",
|
|
42103
42115
|
success,
|
|
@@ -45272,7 +45284,7 @@ async function tryIssueTriage(task) {
|
|
|
45272
45284
|
try {
|
|
45273
45285
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
45274
45286
|
if (issueMatch === null) return null;
|
|
45275
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
45287
|
+
const { createIssueTriage } = await import("./issue-triage-PM67ACC5.js");
|
|
45276
45288
|
const triage = createIssueTriage();
|
|
45277
45289
|
const owner = issueMatch[1] ?? "";
|
|
45278
45290
|
const num = issueMatch[2] ?? "";
|
|
@@ -45300,7 +45312,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
45300
45312
|
]);
|
|
45301
45313
|
async function classifyWithLLM(task) {
|
|
45302
45314
|
try {
|
|
45303
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
45315
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-H6ITLZUY.js");
|
|
45304
45316
|
const prompt = [
|
|
45305
45317
|
"Classify this task into exactly one pipeline template.",
|
|
45306
45318
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -47081,7 +47093,7 @@ var memoryInitPromise = null;
|
|
|
47081
47093
|
async function initPipelineMemory() {
|
|
47082
47094
|
if (cachedMemory !== null) return cachedMemory;
|
|
47083
47095
|
try {
|
|
47084
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47096
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-B6TFD55A.js");
|
|
47085
47097
|
const { getLearningDir } = await import("./learning-persistence-SR5F4DSY.js");
|
|
47086
47098
|
const mem = createSessionMemory2(getLearningDir());
|
|
47087
47099
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
@@ -47143,7 +47155,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
|
|
|
47143
47155
|
callRecord(routingMemoryCache);
|
|
47144
47156
|
return;
|
|
47145
47157
|
}
|
|
47146
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
47158
|
+
routingMemoryInitPromise ??= import("./routing-memory-YIKR7EMC.js").then(({ createRoutingMemory }) => {
|
|
47147
47159
|
routingMemoryCache ??= createRoutingMemory();
|
|
47148
47160
|
return routingMemoryCache;
|
|
47149
47161
|
}).catch((error) => {
|
|
@@ -47177,7 +47189,7 @@ ${text}` : "";
|
|
|
47177
47189
|
}
|
|
47178
47190
|
async function getWeatherContext() {
|
|
47179
47191
|
try {
|
|
47180
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
47192
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-YDYML3JW.js");
|
|
47181
47193
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
47182
47194
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
47183
47195
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -47195,7 +47207,7 @@ ${lines}
|
|
|
47195
47207
|
}
|
|
47196
47208
|
async function getMemoryContext(task) {
|
|
47197
47209
|
try {
|
|
47198
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47210
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-B6TFD55A.js");
|
|
47199
47211
|
const { getLearningDir } = await import("./learning-persistence-SR5F4DSY.js");
|
|
47200
47212
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
47201
47213
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
@@ -47314,7 +47326,7 @@ ${contextBlock}`;
|
|
|
47314
47326
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47315
47327
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47316
47328
|
try {
|
|
47317
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47329
|
+
const { executeVoting } = await import("./consensus-vote-65UZRQMY.js");
|
|
47318
47330
|
const votingResult = await executeVoting(
|
|
47319
47331
|
{
|
|
47320
47332
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -47753,7 +47765,7 @@ async function searchCodebaseForTask(task) {
|
|
|
47753
47765
|
}
|
|
47754
47766
|
async function queryResearchRegistry(task) {
|
|
47755
47767
|
try {
|
|
47756
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
47768
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-2XQBWVG6.js");
|
|
47757
47769
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
47758
47770
|
if (topic === void 0) return null;
|
|
47759
47771
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -47824,7 +47836,7 @@ function createScanStageWrapper() {
|
|
|
47824
47836
|
try {
|
|
47825
47837
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
47826
47838
|
if (slug !== void 0) {
|
|
47827
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
47839
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-MF4E5MG6.js");
|
|
47828
47840
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
47829
47841
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
47830
47842
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -50949,7 +50961,7 @@ var GitHubTaskTracker = class {
|
|
|
50949
50961
|
cachedProvider = null;
|
|
50950
50962
|
async getProvider() {
|
|
50951
50963
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
50952
|
-
const { createScmProvider } = await import("./factory-
|
|
50964
|
+
const { createScmProvider } = await import("./factory-WJ6AV4WU.js");
|
|
50953
50965
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
50954
50966
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
50955
50967
|
this.cachedProvider = result.value;
|
|
@@ -51862,7 +51874,7 @@ async function probeSource(source, includeModelIds) {
|
|
|
51862
51874
|
}
|
|
51863
51875
|
}
|
|
51864
51876
|
async function defaultSources(includeOpenRouter) {
|
|
51865
|
-
const { createAllAdapters: createAllAdapters2 } = await import("./factory-
|
|
51877
|
+
const { createAllAdapters: createAllAdapters2 } = await import("./factory-ZIYR7YJ3.js");
|
|
51866
51878
|
const adapters = createAllAdapters2();
|
|
51867
51879
|
return buildDefaultModelSources(adapters, { includeOpenRouter });
|
|
51868
51880
|
}
|
|
@@ -55926,4 +55938,4 @@ export {
|
|
|
55926
55938
|
shutdownFeedbackSubscriber,
|
|
55927
55939
|
createEventBusBridge
|
|
55928
55940
|
};
|
|
55929
|
-
//# sourceMappingURL=chunk-
|
|
55941
|
+
//# sourceMappingURL=chunk-VDEDTAHZ.js.map
|