nexus-agents 2.80.1 → 2.80.2
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-Q6UMCPGZ.js → child-mcp-config-UG4CH654.js} +3 -3
- package/dist/{chunk-HR7C4DSA.js → chunk-2ZRTLW2G.js} +3 -3
- package/dist/{chunk-UEKTTIDA.js → chunk-376MBRLD.js} +8 -8
- package/dist/{chunk-D3MQ4U2R.js → chunk-3QRO77LO.js} +9 -9
- package/dist/{chunk-T4E6UFFC.js → chunk-4MHE5UVO.js} +5 -5
- package/dist/{chunk-EPZMFIAX.js → chunk-5FUVEIJC.js} +3 -3
- package/dist/{chunk-23XU4LE2.js → chunk-5SBD55T7.js} +4 -4
- package/dist/{chunk-WZ2T4T7N.js → chunk-7BSVRW2O.js} +5 -5
- package/dist/{chunk-NCBWA6RU.js → chunk-BQ55PBN4.js} +2 -2
- package/dist/{chunk-L7433REX.js → chunk-C3BOZZQC.js} +3 -3
- package/dist/{chunk-ALDKPBOZ.js → chunk-FBW6XKZJ.js} +2 -2
- package/dist/{chunk-GODRGVF4.js → chunk-FQKQUJBU.js} +3 -3
- package/dist/{chunk-I5KYDT23.js → chunk-GHWTMPPL.js} +2 -2
- package/dist/{chunk-Q4DXTNGR.js → chunk-H4XSKDI6.js} +2 -2
- package/dist/{chunk-54UT2JUQ.js → chunk-HDFUSBU3.js} +2 -2
- package/dist/{chunk-SX3P2PD2.js → chunk-HQR27JGL.js} +2 -2
- package/dist/{chunk-5WN3WGXG.js → chunk-HXXRFTKP.js} +3 -3
- package/dist/{chunk-33LDLZCC.js → chunk-HYNFZQU4.js} +2 -2
- package/dist/{chunk-7UM5XRGG.js → chunk-JECCDZ2S.js} +2 -2
- package/dist/{chunk-NALIFUBD.js → chunk-KN7JWET4.js} +3 -3
- package/dist/{chunk-D4NEYNBO.js → chunk-LUVQUKW5.js} +2 -2
- package/dist/{chunk-O2ECPTFH.js → chunk-OO662XRQ.js} +3 -3
- package/dist/{chunk-UP2VWCW5.js → chunk-PR4QN5HX.js} +12 -7
- package/dist/{chunk-LDD272PW.js → chunk-RCNNN4E2.js} +32 -32
- package/dist/{chunk-LDD272PW.js.map → chunk-RCNNN4E2.js.map} +1 -1
- package/dist/{chunk-D5C5N5Q4.js → chunk-RCWWUZHA.js} +2 -2
- package/dist/{chunk-TFTP7EUQ.js → chunk-RFUBLOZQ.js} +7 -7
- package/dist/{chunk-MVIYQMQM.js → chunk-TE26NHNW.js} +2 -2
- package/dist/{chunk-MUIA32LU.js → chunk-TLE2YE6G.js} +2 -2
- package/dist/{chunk-7ZKZ7K7J.js → chunk-VQBVL3UD.js} +2 -2
- package/dist/{cli-circuit-breaker-EUERR2HK.js → cli-circuit-breaker-MAN2V7DA.js} +5 -5
- package/dist/cli.js +35 -35
- package/dist/{codebase-search-CZUA37RU.js → codebase-search-PIBRTGBE.js} +2 -2
- package/dist/{composite-router-ZP72LQFH.js → composite-router-YCIEYOZC.js} +3 -3
- package/dist/{consensus-vote-TU3TQ4VH.js → consensus-vote-TGTGZSPS.js} +12 -12
- package/dist/{context-retriever-OTLV46DF.js → context-retriever-FKJKKPAA.js} +6 -6
- package/dist/dist-APHOQ26Z.js +45959 -0
- package/dist/dist-APHOQ26Z.js.map +1 -0
- package/dist/{dist-NIXVXYIH.js → dist-OFXI4GYH.js} +2 -2
- package/dist/{doctor-deep-ZMBSG2DF.js → doctor-deep-2KT4LZA6.js} +4 -4
- package/dist/expert-bridge-6NA7MK7T.js +11 -0
- package/dist/{expert-config-HN7U7X2K.js → expert-config-OIIUMJFB.js} +2 -2
- package/dist/factory-IIPDY7QB.js +14 -0
- package/dist/{factory-45NHZFLK.js → factory-VXHVQXKR.js} +5 -5
- package/dist/index.d.ts +35 -5
- package/dist/index.js +50 -31
- package/dist/index.js.map +1 -1
- package/dist/{init-opencode-WFL4OXMB.js → init-opencode-26YCTSR4.js} +6 -6
- package/dist/issue-triage-NGWFHIKY.js +15 -0
- package/dist/{learning-persistence-TGOBRUUU.js → learning-persistence-Q63HZ2EB.js} +2 -2
- package/dist/{outcome-store-adapter-QRFJJIKB.js → outcome-store-adapter-D3UDQFNQ.js} +2 -2
- package/dist/{pr-reviewer-helpers-L4L324FQ.js → pr-reviewer-helpers-WYPUYQ2U.js} +2 -2
- package/dist/{registry-command-YMZPSW7S.js → registry-command-AKJBYP5N.js} +3 -3
- package/dist/{repo-analyze-GBQT4LAK.js → repo-analyze-D2OY2QSR.js} +2 -2
- package/dist/{repo-security-plan-TGDXTSHS.js → repo-security-plan-ZGJN6QRW.js} +4 -4
- package/dist/{research-helpers-synthesize-5BAN353Y.js → research-helpers-synthesize-ZWBBFT2O.js} +4 -4
- package/dist/{routing-memory-RG3U2MC2.js → routing-memory-Y5UBVQGM.js} +3 -3
- package/dist/{session-memory-C5GC2JAX.js → session-memory-OOBM2GQ7.js} +4 -4
- package/dist/{setup-command-OXJ32UAI.js → setup-command-VJLR47CI.js} +11 -11
- package/dist/setup-config-F7NK2KVC.js +10 -0
- package/dist/{setup-custom-api-4EYRKCHB.js → setup-custom-api-53SYDF4L.js} +5 -5
- package/dist/{shared-memory-AEO2HJLC.js → shared-memory-CM6T2MYE.js} +2 -2
- package/dist/{symbol-extractor-UEBANFSN.js → symbol-extractor-WYXPJH65.js} +2 -2
- package/dist/{tool-memory-LUXUOE6Q.js → tool-memory-RZ7NJCPV.js} +5 -5
- package/dist/{weather-report-3KSDTC7T.js → weather-report-VOSP7KKV.js} +3 -3
- package/package.json +16 -16
- package/dist/dist-RLMRWMYO.js +0 -49531
- package/dist/dist-RLMRWMYO.js.map +0 -1
- package/dist/expert-bridge-IK4TY7HA.js +0 -11
- package/dist/factory-QDHYIYVE.js +0 -14
- package/dist/issue-triage-UHFCGTEJ.js +0 -15
- package/dist/setup-config-KNMVMGDD.js +0 -10
- /package/dist/{child-mcp-config-Q6UMCPGZ.js.map → child-mcp-config-UG4CH654.js.map} +0 -0
- /package/dist/{chunk-HR7C4DSA.js.map → chunk-2ZRTLW2G.js.map} +0 -0
- /package/dist/{chunk-UEKTTIDA.js.map → chunk-376MBRLD.js.map} +0 -0
- /package/dist/{chunk-D3MQ4U2R.js.map → chunk-3QRO77LO.js.map} +0 -0
- /package/dist/{chunk-T4E6UFFC.js.map → chunk-4MHE5UVO.js.map} +0 -0
- /package/dist/{chunk-EPZMFIAX.js.map → chunk-5FUVEIJC.js.map} +0 -0
- /package/dist/{chunk-23XU4LE2.js.map → chunk-5SBD55T7.js.map} +0 -0
- /package/dist/{chunk-WZ2T4T7N.js.map → chunk-7BSVRW2O.js.map} +0 -0
- /package/dist/{chunk-NCBWA6RU.js.map → chunk-BQ55PBN4.js.map} +0 -0
- /package/dist/{chunk-L7433REX.js.map → chunk-C3BOZZQC.js.map} +0 -0
- /package/dist/{chunk-ALDKPBOZ.js.map → chunk-FBW6XKZJ.js.map} +0 -0
- /package/dist/{chunk-GODRGVF4.js.map → chunk-FQKQUJBU.js.map} +0 -0
- /package/dist/{chunk-I5KYDT23.js.map → chunk-GHWTMPPL.js.map} +0 -0
- /package/dist/{chunk-Q4DXTNGR.js.map → chunk-H4XSKDI6.js.map} +0 -0
- /package/dist/{chunk-54UT2JUQ.js.map → chunk-HDFUSBU3.js.map} +0 -0
- /package/dist/{chunk-SX3P2PD2.js.map → chunk-HQR27JGL.js.map} +0 -0
- /package/dist/{chunk-5WN3WGXG.js.map → chunk-HXXRFTKP.js.map} +0 -0
- /package/dist/{chunk-33LDLZCC.js.map → chunk-HYNFZQU4.js.map} +0 -0
- /package/dist/{chunk-7UM5XRGG.js.map → chunk-JECCDZ2S.js.map} +0 -0
- /package/dist/{chunk-NALIFUBD.js.map → chunk-KN7JWET4.js.map} +0 -0
- /package/dist/{chunk-D4NEYNBO.js.map → chunk-LUVQUKW5.js.map} +0 -0
- /package/dist/{chunk-O2ECPTFH.js.map → chunk-OO662XRQ.js.map} +0 -0
- /package/dist/{chunk-UP2VWCW5.js.map → chunk-PR4QN5HX.js.map} +0 -0
- /package/dist/{chunk-D5C5N5Q4.js.map → chunk-RCWWUZHA.js.map} +0 -0
- /package/dist/{chunk-TFTP7EUQ.js.map → chunk-RFUBLOZQ.js.map} +0 -0
- /package/dist/{chunk-MVIYQMQM.js.map → chunk-TE26NHNW.js.map} +0 -0
- /package/dist/{chunk-MUIA32LU.js.map → chunk-TLE2YE6G.js.map} +0 -0
- /package/dist/{chunk-7ZKZ7K7J.js.map → chunk-VQBVL3UD.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-EUERR2HK.js.map → cli-circuit-breaker-MAN2V7DA.js.map} +0 -0
- /package/dist/{codebase-search-CZUA37RU.js.map → codebase-search-PIBRTGBE.js.map} +0 -0
- /package/dist/{composite-router-ZP72LQFH.js.map → composite-router-YCIEYOZC.js.map} +0 -0
- /package/dist/{consensus-vote-TU3TQ4VH.js.map → consensus-vote-TGTGZSPS.js.map} +0 -0
- /package/dist/{context-retriever-OTLV46DF.js.map → context-retriever-FKJKKPAA.js.map} +0 -0
- /package/dist/{dist-NIXVXYIH.js.map → dist-OFXI4GYH.js.map} +0 -0
- /package/dist/{doctor-deep-ZMBSG2DF.js.map → doctor-deep-2KT4LZA6.js.map} +0 -0
- /package/dist/{expert-bridge-IK4TY7HA.js.map → expert-bridge-6NA7MK7T.js.map} +0 -0
- /package/dist/{expert-config-HN7U7X2K.js.map → expert-config-OIIUMJFB.js.map} +0 -0
- /package/dist/{factory-45NHZFLK.js.map → factory-IIPDY7QB.js.map} +0 -0
- /package/dist/{factory-QDHYIYVE.js.map → factory-VXHVQXKR.js.map} +0 -0
- /package/dist/{init-opencode-WFL4OXMB.js.map → init-opencode-26YCTSR4.js.map} +0 -0
- /package/dist/{issue-triage-UHFCGTEJ.js.map → issue-triage-NGWFHIKY.js.map} +0 -0
- /package/dist/{learning-persistence-TGOBRUUU.js.map → learning-persistence-Q63HZ2EB.js.map} +0 -0
- /package/dist/{outcome-store-adapter-QRFJJIKB.js.map → outcome-store-adapter-D3UDQFNQ.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-L4L324FQ.js.map → pr-reviewer-helpers-WYPUYQ2U.js.map} +0 -0
- /package/dist/{registry-command-YMZPSW7S.js.map → registry-command-AKJBYP5N.js.map} +0 -0
- /package/dist/{repo-analyze-GBQT4LAK.js.map → repo-analyze-D2OY2QSR.js.map} +0 -0
- /package/dist/{repo-security-plan-TGDXTSHS.js.map → repo-security-plan-ZGJN6QRW.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-5BAN353Y.js.map → research-helpers-synthesize-ZWBBFT2O.js.map} +0 -0
- /package/dist/{routing-memory-RG3U2MC2.js.map → routing-memory-Y5UBVQGM.js.map} +0 -0
- /package/dist/{session-memory-C5GC2JAX.js.map → session-memory-OOBM2GQ7.js.map} +0 -0
- /package/dist/{setup-command-OXJ32UAI.js.map → setup-command-VJLR47CI.js.map} +0 -0
- /package/dist/{setup-config-KNMVMGDD.js.map → setup-config-F7NK2KVC.js.map} +0 -0
- /package/dist/{setup-custom-api-4EYRKCHB.js.map → setup-custom-api-53SYDF4L.js.map} +0 -0
- /package/dist/{shared-memory-AEO2HJLC.js.map → shared-memory-CM6T2MYE.js.map} +0 -0
- /package/dist/{symbol-extractor-UEBANFSN.js.map → symbol-extractor-WYXPJH65.js.map} +0 -0
- /package/dist/{tool-memory-LUXUOE6Q.js.map → tool-memory-RZ7NJCPV.js.map} +0 -0
- /package/dist/{weather-report-3KSDTC7T.js.map → weather-report-VOSP7KKV.js.map} +0 -0
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
getTokenEnvVars,
|
|
9
9
|
resolveToken
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-BQ55PBN4.js";
|
|
11
11
|
import {
|
|
12
12
|
executeExpert
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-376MBRLD.js";
|
|
14
14
|
import {
|
|
15
15
|
EventTopics,
|
|
16
16
|
NOOP_NOTIFIER,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
withAccessPolicy,
|
|
37
37
|
withProgressHeartbeat,
|
|
38
38
|
wrapToolWithTimeout
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-3QRO77LO.js";
|
|
40
40
|
import {
|
|
41
41
|
REGISTRY_PATH,
|
|
42
42
|
getProjectRoot,
|
|
@@ -45,14 +45,14 @@ import {
|
|
|
45
45
|
normalizeTopicToCanonical,
|
|
46
46
|
savePapersRegistry,
|
|
47
47
|
synthesizeResearch
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-H4XSKDI6.js";
|
|
49
49
|
import {
|
|
50
50
|
IssueTriage,
|
|
51
51
|
sanitizeInput
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-OO662XRQ.js";
|
|
53
53
|
import {
|
|
54
54
|
generateSecurityPlan
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-TE26NHNW.js";
|
|
56
56
|
import {
|
|
57
57
|
analyzeGitHubRepo
|
|
58
58
|
} from "./chunk-7J7PNOJQ.js";
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
getContextForTask,
|
|
65
65
|
inferTaskCategory,
|
|
66
66
|
summarizeContextForPrompt
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-C3BOZZQC.js";
|
|
68
68
|
import {
|
|
69
69
|
DEFAULT_RELEVANCE_CONFIG,
|
|
70
70
|
MemoryImportance,
|
|
@@ -72,19 +72,19 @@ import {
|
|
|
72
72
|
generateHyphenId,
|
|
73
73
|
generateUUID,
|
|
74
74
|
getToolMemory
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-KN7JWET4.js";
|
|
76
76
|
import {
|
|
77
77
|
DEFAULT_TASK_TTL_MS,
|
|
78
78
|
DEFAULT_TOOL_RATE_LIMITS,
|
|
79
79
|
clampTaskTtl
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-RFUBLOZQ.js";
|
|
81
81
|
import {
|
|
82
82
|
getAvailabilityCache,
|
|
83
83
|
resolveFallback
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-TLE2YE6G.js";
|
|
85
85
|
import {
|
|
86
86
|
DEFAULTS
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-HDFUSBU3.js";
|
|
88
88
|
import {
|
|
89
89
|
resolveInsideRoot
|
|
90
90
|
} from "./chunk-NUBSJGQZ.js";
|
|
@@ -100,7 +100,7 @@ import {
|
|
|
100
100
|
getAvailableClis,
|
|
101
101
|
sleep,
|
|
102
102
|
withTimeout
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-5FUVEIJC.js";
|
|
104
104
|
import {
|
|
105
105
|
BUILT_IN_EXPERTS,
|
|
106
106
|
BuiltInExpertTypeSchema,
|
|
@@ -112,7 +112,7 @@ import {
|
|
|
112
112
|
} from "./chunk-PQHVC4BD.js";
|
|
113
113
|
import {
|
|
114
114
|
createSessionMemory
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-FBW6XKZJ.js";
|
|
116
116
|
import {
|
|
117
117
|
AGENT_ROUTER_TIMEOUTS,
|
|
118
118
|
API_TIMEOUTS,
|
|
@@ -182,7 +182,7 @@ import {
|
|
|
182
182
|
resolveModelIdentitySync,
|
|
183
183
|
toExpertTaskAnalysisResult,
|
|
184
184
|
withStep
|
|
185
|
-
} from "./chunk-
|
|
185
|
+
} from "./chunk-4MHE5UVO.js";
|
|
186
186
|
import {
|
|
187
187
|
getNexusDataDir,
|
|
188
188
|
nexusDataPath
|
|
@@ -26699,7 +26699,7 @@ async function populateUnifiedContextOnState(state) {
|
|
|
26699
26699
|
try {
|
|
26700
26700
|
const taskCandidate = state["task"];
|
|
26701
26701
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
26702
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
26702
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-FKJKKPAA.js");
|
|
26703
26703
|
const ctx = await getContextForTask2({
|
|
26704
26704
|
task: taskCandidate,
|
|
26705
26705
|
category: inferTaskCategory2(taskCandidate),
|
|
@@ -41621,7 +41621,7 @@ function registerNodes(builder, template, stages) {
|
|
|
41621
41621
|
function createNodeHandler(stage, template) {
|
|
41622
41622
|
return async (state) => {
|
|
41623
41623
|
const existingStore = state[PIPELINE_STATE_KEYS.SHARED_MEMORY];
|
|
41624
|
-
const { SharedMemoryStore: SharedMemoryStore2 } = await import("./shared-memory-
|
|
41624
|
+
const { SharedMemoryStore: SharedMemoryStore2 } = await import("./shared-memory-CM6T2MYE.js");
|
|
41625
41625
|
const sharedMemory = existingStore instanceof SharedMemoryStore2 ? existingStore : new SharedMemoryStore2();
|
|
41626
41626
|
const context = {
|
|
41627
41627
|
executionId: `${template.id}-${stage.id}`,
|
|
@@ -41930,7 +41930,7 @@ async function tryIssueTriage(task) {
|
|
|
41930
41930
|
try {
|
|
41931
41931
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
41932
41932
|
if (issueMatch === null) return null;
|
|
41933
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
41933
|
+
const { createIssueTriage } = await import("./issue-triage-NGWFHIKY.js");
|
|
41934
41934
|
const triage = createIssueTriage();
|
|
41935
41935
|
const owner = issueMatch[1] ?? "";
|
|
41936
41936
|
const num = issueMatch[2] ?? "";
|
|
@@ -41958,7 +41958,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
41958
41958
|
]);
|
|
41959
41959
|
async function classifyWithLLM(task) {
|
|
41960
41960
|
try {
|
|
41961
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
41961
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-6NA7MK7T.js");
|
|
41962
41962
|
const prompt = [
|
|
41963
41963
|
"Classify this task into exactly one pipeline template.",
|
|
41964
41964
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -42742,8 +42742,8 @@ var memoryInitPromise = null;
|
|
|
42742
42742
|
async function initPipelineMemory() {
|
|
42743
42743
|
if (cachedMemory !== null) return cachedMemory;
|
|
42744
42744
|
try {
|
|
42745
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
42746
|
-
const { getLearningDir } = await import("./learning-persistence-
|
|
42745
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-OOBM2GQ7.js");
|
|
42746
|
+
const { getLearningDir } = await import("./learning-persistence-Q63HZ2EB.js");
|
|
42747
42747
|
const mem = createSessionMemory2(getLearningDir());
|
|
42748
42748
|
mem.startSession(`pipeline-${String(Date.now())}`);
|
|
42749
42749
|
cachedMemory = {
|
|
@@ -42798,7 +42798,7 @@ function recordRoutingExperience(category, success, durationMs) {
|
|
|
42798
42798
|
callRecord(routingMemoryCache);
|
|
42799
42799
|
return;
|
|
42800
42800
|
}
|
|
42801
|
-
void import("./routing-memory-
|
|
42801
|
+
void import("./routing-memory-Y5UBVQGM.js").then(({ createRoutingMemory }) => {
|
|
42802
42802
|
routingMemoryCache = createRoutingMemory();
|
|
42803
42803
|
callRecord(routingMemoryCache);
|
|
42804
42804
|
}).catch((error) => {
|
|
@@ -42827,7 +42827,7 @@ ${text}` : "";
|
|
|
42827
42827
|
}
|
|
42828
42828
|
async function getWeatherContext() {
|
|
42829
42829
|
try {
|
|
42830
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
42830
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-VOSP7KKV.js");
|
|
42831
42831
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
42832
42832
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
42833
42833
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -42845,8 +42845,8 @@ ${lines}
|
|
|
42845
42845
|
}
|
|
42846
42846
|
async function getMemoryContext(task) {
|
|
42847
42847
|
try {
|
|
42848
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
42849
|
-
const { getLearningDir } = await import("./learning-persistence-
|
|
42848
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-OOBM2GQ7.js");
|
|
42849
|
+
const { getLearningDir } = await import("./learning-persistence-Q63HZ2EB.js");
|
|
42850
42850
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
42851
42851
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
42852
42852
|
if (learnings.length === 0) return "";
|
|
@@ -42951,7 +42951,7 @@ ${contextBlock}`;
|
|
|
42951
42951
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
42952
42952
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
42953
42953
|
try {
|
|
42954
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
42954
|
+
const { executeVoting } = await import("./consensus-vote-TGTGZSPS.js");
|
|
42955
42955
|
const votingResult = await executeVoting(
|
|
42956
42956
|
{
|
|
42957
42957
|
proposal: plan.slice(0, 4e3),
|
|
@@ -43807,7 +43807,7 @@ function createScaffoldStageWrapper() {
|
|
|
43807
43807
|
}
|
|
43808
43808
|
async function searchCodebaseForTask(task) {
|
|
43809
43809
|
try {
|
|
43810
|
-
const { CodebaseIndex: CodebaseIndex2 } = await import("./codebase-search-
|
|
43810
|
+
const { CodebaseIndex: CodebaseIndex2 } = await import("./codebase-search-PIBRTGBE.js");
|
|
43811
43811
|
const index = new CodebaseIndex2(process.cwd());
|
|
43812
43812
|
const terms = task.toLowerCase().split(/\s+/).filter((w) => w.length > 4).slice(0, 3);
|
|
43813
43813
|
if (terms.length === 0) return null;
|
|
@@ -43824,7 +43824,7 @@ async function extractSymbolsForTask(task) {
|
|
|
43824
43824
|
try {
|
|
43825
43825
|
const fileRefs = task.match(/(?:src|lib|packages)\/[^\s,)]+\.ts/g);
|
|
43826
43826
|
if (fileRefs === null || fileRefs.length === 0) return null;
|
|
43827
|
-
const { extractSymbols: extractSymbols2 } = await import("./symbol-extractor-
|
|
43827
|
+
const { extractSymbols: extractSymbols2 } = await import("./symbol-extractor-WYXPJH65.js");
|
|
43828
43828
|
const path14 = await import("path");
|
|
43829
43829
|
const summaries = [];
|
|
43830
43830
|
for (const ref of fileRefs.slice(0, 3)) {
|
|
@@ -43845,7 +43845,7 @@ async function extractSymbolsForTask(task) {
|
|
|
43845
43845
|
}
|
|
43846
43846
|
async function queryResearchRegistry(task) {
|
|
43847
43847
|
try {
|
|
43848
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
43848
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-ZWBBFT2O.js");
|
|
43849
43849
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
43850
43850
|
if (topic === void 0) return null;
|
|
43851
43851
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -43910,7 +43910,7 @@ function createAnalyzeStageWrapper() {
|
|
|
43910
43910
|
true
|
|
43911
43911
|
);
|
|
43912
43912
|
}
|
|
43913
|
-
const { analyzeGitHubRepo: analyzeGitHubRepo2 } = await import("./repo-analyze-
|
|
43913
|
+
const { analyzeGitHubRepo: analyzeGitHubRepo2 } = await import("./repo-analyze-D2OY2QSR.js");
|
|
43914
43914
|
const analysis = await analyzeGitHubRepo2({ repo: slug, depth: "deep" });
|
|
43915
43915
|
const summary = `Language: ${String(analysis.language)}, Framework: ${String(analysis.framework)}, CI: ${String(analysis.ciProvider)}, Security: ${analysis.securityTooling.join(", ") || "none"}`;
|
|
43916
43916
|
ctx.sharedMemory.write("analyze", "discovery", { slug, analysis: summary });
|
|
@@ -43930,7 +43930,7 @@ function createScanStageWrapper() {
|
|
|
43930
43930
|
try {
|
|
43931
43931
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
43932
43932
|
if (slug !== void 0) {
|
|
43933
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
43933
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-ZGJN6QRW.js");
|
|
43934
43934
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
43935
43935
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
43936
43936
|
ctx.sharedMemory.write("scan", "decision", { recommendations: recs });
|
|
@@ -49541,7 +49541,7 @@ var GitHubTaskTracker = class {
|
|
|
49541
49541
|
cachedProvider = null;
|
|
49542
49542
|
async getProvider() {
|
|
49543
49543
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
49544
|
-
const { createScmProvider } = await import("./factory-
|
|
49544
|
+
const { createScmProvider } = await import("./factory-IIPDY7QB.js");
|
|
49545
49545
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
49546
49546
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
49547
49547
|
this.cachedProvider = result.value;
|
|
@@ -50246,4 +50246,4 @@ export {
|
|
|
50246
50246
|
detectBackend,
|
|
50247
50247
|
createTaskTracker
|
|
50248
50248
|
};
|
|
50249
|
-
//# sourceMappingURL=chunk-
|
|
50249
|
+
//# sourceMappingURL=chunk-RCNNN4E2.js.map
|