nexus-agents 8.9.2 → 8.9.3
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-BEUFFQWL.js → ast-rule-runner-TWZ2RW5M.js} +3 -3
- package/dist/{child-mcp-config-QFPSL7Y2.js → child-mcp-config-24J5URLG.js} +2 -2
- package/dist/{chunk-DLVIES6W.js → chunk-33GXJ3BD.js} +2 -2
- package/dist/{chunk-AOBIUJX5.js → chunk-3576CTEM.js} +3 -6
- package/dist/chunk-3576CTEM.js.map +1 -0
- package/dist/{chunk-I4TQ5VQ7.js → chunk-47PHYHB6.js} +3 -3
- package/dist/{chunk-S2B4UBHK.js → chunk-5IKSN5ST.js} +5 -5
- package/dist/{chunk-HQ2A4DGU.js → chunk-6XOAEDH5.js} +2 -2
- package/dist/{chunk-D3TZZO6L.js → chunk-7DYMRQGR.js} +2 -2
- package/dist/{chunk-FPHFCZ2E.js → chunk-BXLIOFX4.js} +6 -6
- package/dist/{chunk-CMQO6WEQ.js → chunk-BYS7PWMU.js} +2 -2
- package/dist/{chunk-FOYSPWOA.js → chunk-C4PEWJWB.js} +2 -2
- package/dist/{chunk-WANBZFP2.js → chunk-CK6QMNTR.js} +2 -2
- package/dist/{chunk-WKYDGROH.js → chunk-CYQNTTB7.js} +2 -2
- package/dist/{chunk-V7PXKAZD.js → chunk-DU6P5JXZ.js} +2 -2
- package/dist/{chunk-4GSFZS6M.js → chunk-EXNRO3SH.js} +7 -7
- package/dist/{chunk-JLCOIDJJ.js → chunk-KGGXT3DG.js} +9 -9
- package/dist/{chunk-M33EQB7P.js → chunk-MFSUNQB6.js} +2 -2
- package/dist/{chunk-K2GDWPVK.js → chunk-OQLTEQOV.js} +2 -2
- package/dist/{chunk-SGOBMAZK.js → chunk-P7EBMC7O.js} +4 -4
- package/dist/{chunk-WFZARRYN.js → chunk-PCCKBDLY.js} +3 -3
- package/dist/{chunk-I3J7WUMV.js → chunk-PJ77YCAA.js} +2 -2
- package/dist/{chunk-2ZOPJGMY.js → chunk-PUZ2VWSR.js} +42 -43
- package/dist/{chunk-2ZOPJGMY.js.map → chunk-PUZ2VWSR.js.map} +1 -1
- package/dist/{chunk-FDZ3SLMV.js → chunk-RTFZVC5U.js} +2 -2
- package/dist/{chunk-VQRXDFVF.js → chunk-RUP5N62O.js} +2 -2
- package/dist/{chunk-BTPPGHG3.js → chunk-TF7U7OH4.js} +4 -4
- package/dist/{chunk-Q55JVMUD.js → chunk-TIGUKO3N.js} +2 -2
- package/dist/{chunk-36BA6D6J.js → chunk-TJIERMYC.js} +2 -2
- package/dist/{chunk-MJHNCHJI.js → chunk-TQWV7OW4.js} +4 -4
- package/dist/{chunk-MZUUIMRQ.js → chunk-TXJLJKFL.js} +5 -5
- package/dist/{chunk-OJSG734P.js → chunk-UDWGQFXG.js} +8 -8
- package/dist/{chunk-PCPQ75EC.js → chunk-UNWIW57R.js} +4 -4
- package/dist/{chunk-6VGKI5QE.js → chunk-X7FVLNJI.js} +7 -7
- package/dist/chunk-XPP6B5CS.js +7 -0
- package/dist/{chunk-UXCE2OBL.js → chunk-YNCTXH4U.js} +3 -3
- package/dist/{chunk-46YGVSBD.js → chunk-YVTDIMGU.js} +2 -2
- package/dist/{chunk-2RZWKIDU.js → chunk-ZW4SNPGB.js} +2 -2
- package/dist/{cli-circuit-breaker-BOZNYIZE.js → cli-circuit-breaker-DCMU3M3F.js} +3 -3
- package/dist/cli.js +43 -43
- package/dist/{composite-router-NG7BLVVR.js → composite-router-ENJIHHN6.js} +2 -2
- package/dist/{consensus-vote-T6D4XVUA.js → consensus-vote-MLDCVB4P.js} +17 -17
- package/dist/{context-retriever-QKMSSV6W.js → context-retriever-QAEAPXHX.js} +8 -8
- package/dist/{doctor-deep-CPMR6TDF.js → doctor-deep-7YU3PZLB.js} +3 -3
- package/dist/{doctor-live-GWE5IA7D.js → doctor-live-XNYLPFNW.js} +9 -9
- package/dist/{expert-bridge-6WZ333NT.js → expert-bridge-EAJYA4R4.js} +4 -4
- package/dist/{factory-73WKMDVR.js → factory-2NU65DB7.js} +9 -9
- package/dist/{factory-2DD2YGBU.js → factory-4RVFKLVD.js} +5 -5
- package/dist/{improvement-review-TGACR3DL.js → improvement-review-OYUKCJUY.js} +6 -6
- package/dist/index.d.ts +23 -3
- package/dist/index.js +32 -32
- package/dist/index.js.map +1 -1
- package/dist/{init-opencode-7PKVI3LD.js → init-opencode-B3NWRL5O.js} +6 -6
- package/dist/issue-triage-WL5OOXIM.js +17 -0
- package/dist/{pr-reviewer-helpers-7DSP3YTT.js → pr-reviewer-helpers-MSYQIXLD.js} +4 -4
- package/dist/{registry-command-YXFZ7LVE.js → registry-command-2WZZXTMW.js} +2 -2
- package/dist/{repo-security-plan-M36GODNF.js → repo-security-plan-IGHSJBWU.js} +3 -3
- package/dist/{research-helpers-synthesize-7CI4MFYP.js → research-helpers-synthesize-SBC5IICO.js} +4 -4
- package/dist/{routing-memory-MIK3LGDH.js → routing-memory-QT4QKYBO.js} +2 -2
- package/dist/{session-memory-T2X4BM33.js → session-memory-ZKORURX2.js} +3 -3
- package/dist/{setup-config-6JSBY6OG.js → setup-config-I4SN3N3W.js} +3 -3
- package/dist/{setup-custom-api-2OXG6ERI.js → setup-custom-api-CO47LRSF.js} +4 -4
- package/dist/setup-data-dir-HDSIMOQU.js +29 -0
- package/dist/{tool-memory-AL3RAR67.js → tool-memory-RNBO7UH7.js} +5 -5
- package/dist/{unified-registry-5YUSIEML.js → unified-registry-FVKBD7FZ.js} +10 -10
- package/dist/{weather-report-W34L4HW5.js → weather-report-I62Q3K6O.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-AOBIUJX5.js.map +0 -1
- package/dist/chunk-DQ5FYBSF.js +0 -7
- package/dist/issue-triage-MLBUABPA.js +0 -17
- package/dist/setup-data-dir-KVIXN5DN.js +0 -29
- /package/dist/{ast-rule-runner-BEUFFQWL.js.map → ast-rule-runner-TWZ2RW5M.js.map} +0 -0
- /package/dist/{child-mcp-config-QFPSL7Y2.js.map → child-mcp-config-24J5URLG.js.map} +0 -0
- /package/dist/{chunk-DLVIES6W.js.map → chunk-33GXJ3BD.js.map} +0 -0
- /package/dist/{chunk-I4TQ5VQ7.js.map → chunk-47PHYHB6.js.map} +0 -0
- /package/dist/{chunk-S2B4UBHK.js.map → chunk-5IKSN5ST.js.map} +0 -0
- /package/dist/{chunk-HQ2A4DGU.js.map → chunk-6XOAEDH5.js.map} +0 -0
- /package/dist/{chunk-D3TZZO6L.js.map → chunk-7DYMRQGR.js.map} +0 -0
- /package/dist/{chunk-FPHFCZ2E.js.map → chunk-BXLIOFX4.js.map} +0 -0
- /package/dist/{chunk-CMQO6WEQ.js.map → chunk-BYS7PWMU.js.map} +0 -0
- /package/dist/{chunk-FOYSPWOA.js.map → chunk-C4PEWJWB.js.map} +0 -0
- /package/dist/{chunk-WANBZFP2.js.map → chunk-CK6QMNTR.js.map} +0 -0
- /package/dist/{chunk-WKYDGROH.js.map → chunk-CYQNTTB7.js.map} +0 -0
- /package/dist/{chunk-V7PXKAZD.js.map → chunk-DU6P5JXZ.js.map} +0 -0
- /package/dist/{chunk-4GSFZS6M.js.map → chunk-EXNRO3SH.js.map} +0 -0
- /package/dist/{chunk-JLCOIDJJ.js.map → chunk-KGGXT3DG.js.map} +0 -0
- /package/dist/{chunk-M33EQB7P.js.map → chunk-MFSUNQB6.js.map} +0 -0
- /package/dist/{chunk-K2GDWPVK.js.map → chunk-OQLTEQOV.js.map} +0 -0
- /package/dist/{chunk-SGOBMAZK.js.map → chunk-P7EBMC7O.js.map} +0 -0
- /package/dist/{chunk-WFZARRYN.js.map → chunk-PCCKBDLY.js.map} +0 -0
- /package/dist/{chunk-I3J7WUMV.js.map → chunk-PJ77YCAA.js.map} +0 -0
- /package/dist/{chunk-FDZ3SLMV.js.map → chunk-RTFZVC5U.js.map} +0 -0
- /package/dist/{chunk-VQRXDFVF.js.map → chunk-RUP5N62O.js.map} +0 -0
- /package/dist/{chunk-BTPPGHG3.js.map → chunk-TF7U7OH4.js.map} +0 -0
- /package/dist/{chunk-Q55JVMUD.js.map → chunk-TIGUKO3N.js.map} +0 -0
- /package/dist/{chunk-36BA6D6J.js.map → chunk-TJIERMYC.js.map} +0 -0
- /package/dist/{chunk-MJHNCHJI.js.map → chunk-TQWV7OW4.js.map} +0 -0
- /package/dist/{chunk-MZUUIMRQ.js.map → chunk-TXJLJKFL.js.map} +0 -0
- /package/dist/{chunk-OJSG734P.js.map → chunk-UDWGQFXG.js.map} +0 -0
- /package/dist/{chunk-PCPQ75EC.js.map → chunk-UNWIW57R.js.map} +0 -0
- /package/dist/{chunk-6VGKI5QE.js.map → chunk-X7FVLNJI.js.map} +0 -0
- /package/dist/{chunk-DQ5FYBSF.js.map → chunk-XPP6B5CS.js.map} +0 -0
- /package/dist/{chunk-UXCE2OBL.js.map → chunk-YNCTXH4U.js.map} +0 -0
- /package/dist/{chunk-46YGVSBD.js.map → chunk-YVTDIMGU.js.map} +0 -0
- /package/dist/{chunk-2RZWKIDU.js.map → chunk-ZW4SNPGB.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-BOZNYIZE.js.map → cli-circuit-breaker-DCMU3M3F.js.map} +0 -0
- /package/dist/{composite-router-NG7BLVVR.js.map → composite-router-ENJIHHN6.js.map} +0 -0
- /package/dist/{consensus-vote-T6D4XVUA.js.map → consensus-vote-MLDCVB4P.js.map} +0 -0
- /package/dist/{context-retriever-QKMSSV6W.js.map → context-retriever-QAEAPXHX.js.map} +0 -0
- /package/dist/{doctor-deep-CPMR6TDF.js.map → doctor-deep-7YU3PZLB.js.map} +0 -0
- /package/dist/{doctor-live-GWE5IA7D.js.map → doctor-live-XNYLPFNW.js.map} +0 -0
- /package/dist/{expert-bridge-6WZ333NT.js.map → expert-bridge-EAJYA4R4.js.map} +0 -0
- /package/dist/{factory-2DD2YGBU.js.map → factory-2NU65DB7.js.map} +0 -0
- /package/dist/{factory-73WKMDVR.js.map → factory-4RVFKLVD.js.map} +0 -0
- /package/dist/{improvement-review-TGACR3DL.js.map → improvement-review-OYUKCJUY.js.map} +0 -0
- /package/dist/{init-opencode-7PKVI3LD.js.map → init-opencode-B3NWRL5O.js.map} +0 -0
- /package/dist/{issue-triage-MLBUABPA.js.map → issue-triage-WL5OOXIM.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-7DSP3YTT.js.map → pr-reviewer-helpers-MSYQIXLD.js.map} +0 -0
- /package/dist/{registry-command-YXFZ7LVE.js.map → registry-command-2WZZXTMW.js.map} +0 -0
- /package/dist/{repo-security-plan-M36GODNF.js.map → repo-security-plan-IGHSJBWU.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-7CI4MFYP.js.map → research-helpers-synthesize-SBC5IICO.js.map} +0 -0
- /package/dist/{routing-memory-MIK3LGDH.js.map → routing-memory-QT4QKYBO.js.map} +0 -0
- /package/dist/{session-memory-T2X4BM33.js.map → session-memory-ZKORURX2.js.map} +0 -0
- /package/dist/{setup-config-6JSBY6OG.js.map → setup-config-I4SN3N3W.js.map} +0 -0
- /package/dist/{setup-custom-api-2OXG6ERI.js.map → setup-custom-api-CO47LRSF.js.map} +0 -0
- /package/dist/{setup-data-dir-KVIXN5DN.js.map → setup-data-dir-HDSIMOQU.js.map} +0 -0
- /package/dist/{tool-memory-AL3RAR67.js.map → tool-memory-RNBO7UH7.js.map} +0 -0
- /package/dist/{unified-registry-5YUSIEML.js.map → unified-registry-FVKBD7FZ.js.map} +0 -0
- /package/dist/{weather-report-W34L4HW5.js.map → weather-report-I62Q3K6O.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateSecurityPlan
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DU6P5JXZ.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-X7FVLNJI.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-EXNRO3SH.js";
|
|
28
28
|
import {
|
|
29
29
|
JobStatusSchema,
|
|
30
30
|
VOTER_ROLES,
|
|
@@ -48,26 +48,26 @@ import {
|
|
|
48
48
|
simulationDeniedResult,
|
|
49
49
|
toJobSummary,
|
|
50
50
|
writeJobCancelled
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-KGGXT3DG.js";
|
|
52
52
|
import {
|
|
53
53
|
allOf
|
|
54
54
|
} from "./chunk-OQB3XC5O.js";
|
|
55
55
|
import {
|
|
56
56
|
normalizeTopicToCanonical,
|
|
57
57
|
synthesizeResearch
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-PCCKBDLY.js";
|
|
59
59
|
import {
|
|
60
60
|
IssueTriage,
|
|
61
61
|
createDurableAuditSink,
|
|
62
62
|
createDurableAuditTrail
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-BXLIOFX4.js";
|
|
64
64
|
import {
|
|
65
65
|
resolveEnvMode,
|
|
66
66
|
sanitizeInput
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-MFSUNQB6.js";
|
|
68
68
|
import {
|
|
69
69
|
withPrerequisite
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-47PHYHB6.js";
|
|
71
71
|
import {
|
|
72
72
|
NOOP_NOTIFIER,
|
|
73
73
|
RateLimiter,
|
|
@@ -92,18 +92,18 @@ import {
|
|
|
92
92
|
withAuditTrail,
|
|
93
93
|
withProgressHeartbeat,
|
|
94
94
|
wrapToolWithTimeout
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-TQWV7OW4.js";
|
|
96
96
|
import {
|
|
97
97
|
createAuditTrail,
|
|
98
98
|
createGraphAuditBridge,
|
|
99
99
|
emitPipelinePolicyEvent
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-YVTDIMGU.js";
|
|
101
101
|
import {
|
|
102
102
|
EventTopics,
|
|
103
103
|
createEvent,
|
|
104
104
|
getGlobalEventBus,
|
|
105
105
|
getGlobalRegistry
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-TF7U7OH4.js";
|
|
107
107
|
import {
|
|
108
108
|
IDENTIFIER_RE,
|
|
109
109
|
LANG_VALUES,
|
|
@@ -136,7 +136,7 @@ import {
|
|
|
136
136
|
parseRegistry,
|
|
137
137
|
sourceExistsInRegistry,
|
|
138
138
|
summarizeContextForPrompt
|
|
139
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-5IKSN5ST.js";
|
|
140
140
|
import {
|
|
141
141
|
REGISTRY_PATH,
|
|
142
142
|
getProjectRoot,
|
|
@@ -144,24 +144,24 @@ import {
|
|
|
144
144
|
loadTechniquesRegistry,
|
|
145
145
|
resolveInsideRoot,
|
|
146
146
|
resolveRegistryRoot
|
|
147
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-PJ77YCAA.js";
|
|
148
148
|
import {
|
|
149
149
|
getTokenEnvVars,
|
|
150
150
|
resolveToken
|
|
151
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-BYS7PWMU.js";
|
|
152
152
|
import {
|
|
153
153
|
DEFAULT_RELEVANCE_CONFIG,
|
|
154
154
|
MemoryImportance,
|
|
155
155
|
calculateTextJaccardSimilarity,
|
|
156
156
|
getToolMemory
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-P7EBMC7O.js";
|
|
158
158
|
import {
|
|
159
159
|
STOPWORDS,
|
|
160
160
|
truncateWithInfo
|
|
161
161
|
} from "./chunk-6T3EPABN.js";
|
|
162
162
|
import {
|
|
163
163
|
createSessionMemory
|
|
164
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-33GXJ3BD.js";
|
|
165
165
|
import {
|
|
166
166
|
BUILT_IN_EXPERTS,
|
|
167
167
|
BuiltInExpertTypeSchema,
|
|
@@ -179,25 +179,25 @@ import {
|
|
|
179
179
|
getAvailableClis,
|
|
180
180
|
sleep,
|
|
181
181
|
withTimeout
|
|
182
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-UDWGQFXG.js";
|
|
183
183
|
import {
|
|
184
184
|
BaseAdapter,
|
|
185
185
|
createStream,
|
|
186
186
|
requireApiKey,
|
|
187
187
|
validateApiKeyPresence
|
|
188
|
-
} from "./chunk-
|
|
188
|
+
} from "./chunk-RUP5N62O.js";
|
|
189
189
|
import {
|
|
190
190
|
DEFAULTS
|
|
191
|
-
} from "./chunk-
|
|
191
|
+
} from "./chunk-TJIERMYC.js";
|
|
192
192
|
import {
|
|
193
193
|
getAvailabilityCache,
|
|
194
194
|
getCliForModelId,
|
|
195
195
|
resolveFallback
|
|
196
|
-
} from "./chunk-
|
|
196
|
+
} from "./chunk-6XOAEDH5.js";
|
|
197
197
|
import {
|
|
198
198
|
generateHyphenId,
|
|
199
199
|
generateUUID
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-7DYMRQGR.js";
|
|
201
201
|
import {
|
|
202
202
|
AGENT_ROUTER_TIMEOUTS,
|
|
203
203
|
API_TIMEOUTS,
|
|
@@ -303,7 +303,7 @@ import {
|
|
|
303
303
|
selectStrategyByManifest,
|
|
304
304
|
toExpertTaskAnalysisResult,
|
|
305
305
|
withStep
|
|
306
|
-
} from "./chunk-
|
|
306
|
+
} from "./chunk-3576CTEM.js";
|
|
307
307
|
import {
|
|
308
308
|
ensureLearningDir,
|
|
309
309
|
getMetaOutcomesFile,
|
|
@@ -29647,7 +29647,6 @@ async function executeHook(base, run, onSuccess, onFailure) {
|
|
|
29647
29647
|
return withStep(
|
|
29648
29648
|
{
|
|
29649
29649
|
name: `hook:${base.hookPhase}:${base.nodeId}`,
|
|
29650
|
-
kind: "graph.hook",
|
|
29651
29650
|
attrs: { nodeId: base.nodeId, hookName: base.hookName, phase: base.hookPhase }
|
|
29652
29651
|
},
|
|
29653
29652
|
async (ctx) => {
|
|
@@ -29707,7 +29706,7 @@ function execIdFields(executionId) {
|
|
|
29707
29706
|
async function populateUnifiedContextOnState(state, options) {
|
|
29708
29707
|
const taskCandidate = state["task"];
|
|
29709
29708
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
29710
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
29709
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-QAEAPXHX.js");
|
|
29711
29710
|
const category = inferTaskCategory2(taskCandidate);
|
|
29712
29711
|
const executionId = options?.executionId;
|
|
29713
29712
|
const execFields = execIdFields(executionId);
|
|
@@ -39549,7 +39548,7 @@ async function runExpertTask(deps, args, expert) {
|
|
|
39549
39548
|
if (fallback !== void 0) return fallback;
|
|
39550
39549
|
}
|
|
39551
39550
|
return withStep(
|
|
39552
|
-
{ name: `expert:${expert.role}`,
|
|
39551
|
+
{ name: `expert:${expert.role}`, attrs: { expertId, role: expert.role } },
|
|
39553
39552
|
async (ctx) => {
|
|
39554
39553
|
const startTime = getTimeProvider().now();
|
|
39555
39554
|
const result = await runExpertUnderHeartbeat(
|
|
@@ -45433,7 +45432,7 @@ async function tryIssueTriage(task) {
|
|
|
45433
45432
|
try {
|
|
45434
45433
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
45435
45434
|
if (issueMatch === null) return null;
|
|
45436
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
45435
|
+
const { createIssueTriage } = await import("./issue-triage-WL5OOXIM.js");
|
|
45437
45436
|
const triage = createIssueTriage();
|
|
45438
45437
|
const owner = issueMatch[1] ?? "";
|
|
45439
45438
|
const num = issueMatch[2] ?? "";
|
|
@@ -45461,7 +45460,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
45461
45460
|
]);
|
|
45462
45461
|
async function classifyWithLLM(task) {
|
|
45463
45462
|
try {
|
|
45464
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
45463
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-EAJYA4R4.js");
|
|
45465
45464
|
const prompt = [
|
|
45466
45465
|
"Classify this task into exactly one pipeline template.",
|
|
45467
45466
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -46013,7 +46012,7 @@ async function resolveResearch(prior, task, stages, options) {
|
|
|
46013
46012
|
}
|
|
46014
46013
|
options?.untrustedInputGuard?.();
|
|
46015
46014
|
return withStep(
|
|
46016
|
-
{ name: "research",
|
|
46015
|
+
{ name: "research", attrs: { task: task.slice(0, 100) } },
|
|
46017
46016
|
async (ctx) => {
|
|
46018
46017
|
const rc = await stages.research(task);
|
|
46019
46018
|
ctx.setSummary(`${String(rc.text.length)} chars`);
|
|
@@ -46083,7 +46082,7 @@ async function runImplSecurityPhase(planResult, tasks, stages, run) {
|
|
|
46083
46082
|
};
|
|
46084
46083
|
}
|
|
46085
46084
|
const security = await withStep(
|
|
46086
|
-
{ name: "security-scan"
|
|
46085
|
+
{ name: "security-scan" },
|
|
46087
46086
|
async (ctx) => {
|
|
46088
46087
|
const r = await stages.securityScan();
|
|
46089
46088
|
ctx.setSummary(r.passed ? "passed" : "FAILED");
|
|
@@ -46110,7 +46109,7 @@ async function runQualityGateStage(stages, mode) {
|
|
|
46110
46109
|
}
|
|
46111
46110
|
const runGate = stages.qualityGate.bind(stages);
|
|
46112
46111
|
return withStep(
|
|
46113
|
-
{ name: "quality-gate",
|
|
46112
|
+
{ name: "quality-gate", attrs: { mode } },
|
|
46114
46113
|
async (ctx) => {
|
|
46115
46114
|
const r = await runGate();
|
|
46116
46115
|
const advisory = mode === "advisory" && !r.passed;
|
|
@@ -46143,7 +46142,7 @@ async function runOrResumeDecompose(prior, plan, stages, meta) {
|
|
|
46143
46142
|
logger41.info("Resuming from checkpoint", { stage: "decompose" });
|
|
46144
46143
|
return [...prior.tasks];
|
|
46145
46144
|
}
|
|
46146
|
-
const tasks = await withStep({ name: "decompose"
|
|
46145
|
+
const tasks = await withStep({ name: "decompose" }, async (ctx) => {
|
|
46147
46146
|
const r = await stages.decompose(plan);
|
|
46148
46147
|
ctx.setSummary(`${String(r.length)} tasks`);
|
|
46149
46148
|
return r;
|
|
@@ -46165,7 +46164,7 @@ async function planVoteLoop(task, research, stages, sessionId, limits) {
|
|
|
46165
46164
|
let plan = "";
|
|
46166
46165
|
for (let i = 1; i <= limits.vote; i++) {
|
|
46167
46166
|
plan = await withStep(
|
|
46168
|
-
{ name: `plan (i=${String(i)})`,
|
|
46167
|
+
{ name: `plan (i=${String(i)})`, attrs: { iteration: i } },
|
|
46169
46168
|
() => stages.plan(task, research, feedback)
|
|
46170
46169
|
);
|
|
46171
46170
|
if (plan.trim() === "") {
|
|
@@ -46173,7 +46172,7 @@ async function planVoteLoop(task, research, stages, sessionId, limits) {
|
|
|
46173
46172
|
return { plan: "", iterations: i, conditional: false, conditions: [], caveats: [] };
|
|
46174
46173
|
}
|
|
46175
46174
|
const vote = await withStep(
|
|
46176
|
-
{ name: `vote (i=${String(i)})`,
|
|
46175
|
+
{ name: `vote (i=${String(i)})`, attrs: { iteration: i } },
|
|
46177
46176
|
async (ctx) => {
|
|
46178
46177
|
const r = await stages.vote(plan, research);
|
|
46179
46178
|
ctx.setSummary(
|
|
@@ -47152,7 +47151,7 @@ var memoryInitPromise = null;
|
|
|
47152
47151
|
async function initPipelineMemory() {
|
|
47153
47152
|
if (cachedMemory !== null) return cachedMemory;
|
|
47154
47153
|
try {
|
|
47155
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47154
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-ZKORURX2.js");
|
|
47156
47155
|
const { getLearningDir } = await import("./learning-persistence-JK2FELZL.js");
|
|
47157
47156
|
const mem = createSessionMemory2(getLearningDir());
|
|
47158
47157
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
@@ -47214,7 +47213,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
|
|
|
47214
47213
|
callRecord(routingMemoryCache);
|
|
47215
47214
|
return;
|
|
47216
47215
|
}
|
|
47217
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
47216
|
+
routingMemoryInitPromise ??= import("./routing-memory-QT4QKYBO.js").then(({ createRoutingMemory }) => {
|
|
47218
47217
|
routingMemoryCache ??= createRoutingMemory();
|
|
47219
47218
|
return routingMemoryCache;
|
|
47220
47219
|
}).catch((error) => {
|
|
@@ -47248,7 +47247,7 @@ ${text}` : "";
|
|
|
47248
47247
|
}
|
|
47249
47248
|
async function getWeatherContext() {
|
|
47250
47249
|
try {
|
|
47251
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
47250
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-I62Q3K6O.js");
|
|
47252
47251
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
47253
47252
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
47254
47253
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -47266,7 +47265,7 @@ ${lines}
|
|
|
47266
47265
|
}
|
|
47267
47266
|
async function getMemoryContext(task) {
|
|
47268
47267
|
try {
|
|
47269
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47268
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-ZKORURX2.js");
|
|
47270
47269
|
const { getLearningDir } = await import("./learning-persistence-JK2FELZL.js");
|
|
47271
47270
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
47272
47271
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
@@ -47385,7 +47384,7 @@ ${contextBlock}`;
|
|
|
47385
47384
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47386
47385
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47387
47386
|
try {
|
|
47388
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47387
|
+
const { executeVoting } = await import("./consensus-vote-MLDCVB4P.js");
|
|
47389
47388
|
const votingResult = await executeVoting(
|
|
47390
47389
|
{
|
|
47391
47390
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -47814,7 +47813,7 @@ async function searchCodebaseForTask(task) {
|
|
|
47814
47813
|
}
|
|
47815
47814
|
async function queryResearchRegistry(task) {
|
|
47816
47815
|
try {
|
|
47817
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
47816
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-SBC5IICO.js");
|
|
47818
47817
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
47819
47818
|
if (topic === void 0) return null;
|
|
47820
47819
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -47885,7 +47884,7 @@ function createScanStageWrapper() {
|
|
|
47885
47884
|
try {
|
|
47886
47885
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
47887
47886
|
if (slug !== void 0) {
|
|
47888
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
47887
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-IGHSJBWU.js");
|
|
47889
47888
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
47890
47889
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
47891
47890
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -51056,7 +51055,7 @@ var GitHubTaskTracker = class {
|
|
|
51056
51055
|
cachedProvider = null;
|
|
51057
51056
|
async getProvider() {
|
|
51058
51057
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
51059
|
-
const { createScmProvider } = await import("./factory-
|
|
51058
|
+
const { createScmProvider } = await import("./factory-4RVFKLVD.js");
|
|
51060
51059
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
51061
51060
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
51062
51061
|
this.cachedProvider = result.value;
|
|
@@ -51971,7 +51970,7 @@ async function probeSource(source, includeModelIds) {
|
|
|
51971
51970
|
}
|
|
51972
51971
|
}
|
|
51973
51972
|
async function defaultSources(includeOpenRouter) {
|
|
51974
|
-
const { createAllAdapters: createAllAdapters2 } = await import("./factory-
|
|
51973
|
+
const { createAllAdapters: createAllAdapters2 } = await import("./factory-2NU65DB7.js");
|
|
51975
51974
|
const adapters = createAllAdapters2();
|
|
51976
51975
|
return buildDefaultModelSources(adapters, { includeOpenRouter });
|
|
51977
51976
|
}
|
|
@@ -56041,4 +56040,4 @@ export {
|
|
|
56041
56040
|
shutdownFeedbackSubscriber,
|
|
56042
56041
|
createEventBusBridge
|
|
56043
56042
|
};
|
|
56044
|
-
//# sourceMappingURL=chunk-
|
|
56043
|
+
//# sourceMappingURL=chunk-PUZ2VWSR.js.map
|