nexus-agents 8.9.0 → 8.9.1
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-WANOR3MX.js → ast-rule-runner-BEUFFQWL.js} +3 -3
- package/dist/{child-mcp-config-N4HLLCEH.js → child-mcp-config-QFPSL7Y2.js} +2 -2
- package/dist/{chunk-VADACTVB.js → chunk-2RZWKIDU.js} +2 -2
- package/dist/{chunk-QCSXKQTK.js → chunk-36BA6D6J.js} +2 -2
- package/dist/{chunk-LP4W7RTH.js → chunk-46YGVSBD.js} +2 -2
- package/dist/{chunk-7J7UYJXC.js → chunk-4GSFZS6M.js} +7 -7
- package/dist/{chunk-ERL3XHQO.js → chunk-AOBIUJX5.js} +3 -3
- package/dist/{chunk-276GRITW.js → chunk-BTPPGHG3.js} +4 -4
- package/dist/{chunk-II5NJRKH.js → chunk-CMQO6WEQ.js} +2 -2
- package/dist/{chunk-WXU4Y5T3.js → chunk-D3TZZO6L.js} +2 -2
- package/dist/chunk-DJFYMDMD.js +7 -0
- package/dist/{chunk-K2PVLCHR.js → chunk-DLVIES6W.js} +2 -2
- package/dist/{chunk-3XQK4MEF.js → chunk-FDZ3SLMV.js} +2 -2
- package/dist/{chunk-ISE53XGS.js → chunk-FMKEGR6N.js} +3 -3
- package/dist/{chunk-F2GERNMF.js → chunk-FOYSPWOA.js} +2 -2
- package/dist/{chunk-XTSDR3HE.js → chunk-FPHFCZ2E.js} +6 -6
- package/dist/{chunk-TZWJ7QLW.js → chunk-HQ2A4DGU.js} +2 -2
- package/dist/{chunk-3CLKYFE3.js → chunk-I3J7WUMV.js} +2 -2
- package/dist/{chunk-64VMTY3M.js → chunk-K2GDWPVK.js} +2 -2
- package/dist/{chunk-U4RQ4XPP.js → chunk-KE5IGD6G.js} +7 -7
- package/dist/{chunk-SHE6SSTO.js → chunk-M33EQB7P.js} +2 -2
- package/dist/{chunk-L4SJAHQF.js → chunk-MYERGZK3.js} +35 -35
- package/dist/{chunk-SNSPYZQT.js → chunk-MZUUIMRQ.js} +5 -5
- package/dist/{chunk-7QQ5F7T5.js → chunk-OJSG734P.js} +8 -8
- package/dist/{chunk-GRBOJFKA.js → chunk-P2DV7PDG.js} +4 -4
- package/dist/{chunk-YUKNO5ZM.js → chunk-P64GQUQW.js} +9 -9
- package/dist/{chunk-GXLI2E4U.js → chunk-PCPQ75EC.js} +4 -4
- package/dist/{chunk-Q5V3KTUL.js → chunk-Q55JVMUD.js} +2 -2
- package/dist/{chunk-EALWAQAQ.js → chunk-S2B4UBHK.js} +5 -5
- package/dist/{chunk-NR62IQDC.js → chunk-SGOBMAZK.js} +4 -4
- package/dist/{chunk-NR62IQDC.js.map → chunk-SGOBMAZK.js.map} +1 -1
- package/dist/{chunk-ISUMI6BV.js → chunk-UXCE2OBL.js} +3 -3
- package/dist/{chunk-7AU5WLAJ.js → chunk-V7PXKAZD.js} +2 -2
- package/dist/{chunk-FKKVZRSY.js → chunk-VQRXDFVF.js} +2 -2
- package/dist/{chunk-6HETGJSB.js → chunk-WANBZFP2.js} +2 -2
- package/dist/{chunk-ZGHJMFQ6.js → chunk-WFZARRYN.js} +3 -3
- package/dist/{chunk-AOS7F4QR.js → chunk-WKYDGROH.js} +2 -2
- package/dist/{cli-circuit-breaker-AAHYLFXZ.js → cli-circuit-breaker-BOZNYIZE.js} +3 -3
- package/dist/cli.js +43 -43
- package/dist/{composite-router-VAVDLJGT.js → composite-router-NG7BLVVR.js} +2 -2
- package/dist/{consensus-vote-6NUSZPQY.js → consensus-vote-3FCOFDON.js} +17 -17
- package/dist/{context-retriever-MYKBBDAN.js → context-retriever-QKMSSV6W.js} +8 -8
- package/dist/{doctor-deep-AKOPPCXB.js → doctor-deep-CPMR6TDF.js} +3 -3
- package/dist/{doctor-live-3PVIYQST.js → doctor-live-GWE5IA7D.js} +9 -9
- package/dist/{expert-bridge-G3KN7QWL.js → expert-bridge-6WZ333NT.js} +4 -4
- package/dist/{factory-KVMLFEWJ.js → factory-2DD2YGBU.js} +5 -5
- package/dist/{factory-ROTP63IZ.js → factory-73WKMDVR.js} +9 -9
- package/dist/{improvement-review-5EYOUAB6.js → improvement-review-RMDGMKIB.js} +6 -6
- package/dist/index.d.ts +21 -1
- package/dist/index.js +32 -32
- package/dist/{init-opencode-C63LASGX.js → init-opencode-7PKVI3LD.js} +6 -6
- package/dist/issue-triage-MLBUABPA.js +17 -0
- package/dist/{pr-reviewer-helpers-IPC6XCRK.js → pr-reviewer-helpers-7DSP3YTT.js} +4 -4
- package/dist/{registry-command-IRDP2L2R.js → registry-command-YXFZ7LVE.js} +2 -2
- package/dist/{repo-security-plan-NS47HQEF.js → repo-security-plan-M36GODNF.js} +3 -3
- package/dist/{research-helpers-synthesize-5NBL637T.js → research-helpers-synthesize-7CI4MFYP.js} +4 -4
- package/dist/{routing-memory-2IELT5GT.js → routing-memory-MIK3LGDH.js} +2 -2
- package/dist/{session-memory-CH3CVLIT.js → session-memory-T2X4BM33.js} +3 -3
- package/dist/{setup-config-MKZZDUJP.js → setup-config-6JSBY6OG.js} +3 -3
- package/dist/{setup-custom-api-2I52S7XU.js → setup-custom-api-2OXG6ERI.js} +4 -4
- package/dist/setup-data-dir-CWU367E6.js +29 -0
- package/dist/{tool-memory-STS3DWOK.js → tool-memory-AL3RAR67.js} +5 -5
- package/dist/{unified-registry-NJS4ZWC3.js → unified-registry-5YUSIEML.js} +10 -10
- package/dist/{weather-report-YG4T4Q23.js → weather-report-W34L4HW5.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-2ONCHXIW.js +0 -7
- package/dist/issue-triage-VRELWGYY.js +0 -17
- package/dist/setup-data-dir-LM2IFTFD.js +0 -29
- /package/dist/{ast-rule-runner-WANOR3MX.js.map → ast-rule-runner-BEUFFQWL.js.map} +0 -0
- /package/dist/{child-mcp-config-N4HLLCEH.js.map → child-mcp-config-QFPSL7Y2.js.map} +0 -0
- /package/dist/{chunk-VADACTVB.js.map → chunk-2RZWKIDU.js.map} +0 -0
- /package/dist/{chunk-QCSXKQTK.js.map → chunk-36BA6D6J.js.map} +0 -0
- /package/dist/{chunk-LP4W7RTH.js.map → chunk-46YGVSBD.js.map} +0 -0
- /package/dist/{chunk-7J7UYJXC.js.map → chunk-4GSFZS6M.js.map} +0 -0
- /package/dist/{chunk-ERL3XHQO.js.map → chunk-AOBIUJX5.js.map} +0 -0
- /package/dist/{chunk-276GRITW.js.map → chunk-BTPPGHG3.js.map} +0 -0
- /package/dist/{chunk-II5NJRKH.js.map → chunk-CMQO6WEQ.js.map} +0 -0
- /package/dist/{chunk-WXU4Y5T3.js.map → chunk-D3TZZO6L.js.map} +0 -0
- /package/dist/{chunk-2ONCHXIW.js.map → chunk-DJFYMDMD.js.map} +0 -0
- /package/dist/{chunk-K2PVLCHR.js.map → chunk-DLVIES6W.js.map} +0 -0
- /package/dist/{chunk-3XQK4MEF.js.map → chunk-FDZ3SLMV.js.map} +0 -0
- /package/dist/{chunk-ISE53XGS.js.map → chunk-FMKEGR6N.js.map} +0 -0
- /package/dist/{chunk-F2GERNMF.js.map → chunk-FOYSPWOA.js.map} +0 -0
- /package/dist/{chunk-XTSDR3HE.js.map → chunk-FPHFCZ2E.js.map} +0 -0
- /package/dist/{chunk-TZWJ7QLW.js.map → chunk-HQ2A4DGU.js.map} +0 -0
- /package/dist/{chunk-3CLKYFE3.js.map → chunk-I3J7WUMV.js.map} +0 -0
- /package/dist/{chunk-64VMTY3M.js.map → chunk-K2GDWPVK.js.map} +0 -0
- /package/dist/{chunk-U4RQ4XPP.js.map → chunk-KE5IGD6G.js.map} +0 -0
- /package/dist/{chunk-SHE6SSTO.js.map → chunk-M33EQB7P.js.map} +0 -0
- /package/dist/{chunk-L4SJAHQF.js.map → chunk-MYERGZK3.js.map} +0 -0
- /package/dist/{chunk-SNSPYZQT.js.map → chunk-MZUUIMRQ.js.map} +0 -0
- /package/dist/{chunk-7QQ5F7T5.js.map → chunk-OJSG734P.js.map} +0 -0
- /package/dist/{chunk-GRBOJFKA.js.map → chunk-P2DV7PDG.js.map} +0 -0
- /package/dist/{chunk-YUKNO5ZM.js.map → chunk-P64GQUQW.js.map} +0 -0
- /package/dist/{chunk-GXLI2E4U.js.map → chunk-PCPQ75EC.js.map} +0 -0
- /package/dist/{chunk-Q5V3KTUL.js.map → chunk-Q55JVMUD.js.map} +0 -0
- /package/dist/{chunk-EALWAQAQ.js.map → chunk-S2B4UBHK.js.map} +0 -0
- /package/dist/{chunk-ISUMI6BV.js.map → chunk-UXCE2OBL.js.map} +0 -0
- /package/dist/{chunk-7AU5WLAJ.js.map → chunk-V7PXKAZD.js.map} +0 -0
- /package/dist/{chunk-FKKVZRSY.js.map → chunk-VQRXDFVF.js.map} +0 -0
- /package/dist/{chunk-6HETGJSB.js.map → chunk-WANBZFP2.js.map} +0 -0
- /package/dist/{chunk-ZGHJMFQ6.js.map → chunk-WFZARRYN.js.map} +0 -0
- /package/dist/{chunk-AOS7F4QR.js.map → chunk-WKYDGROH.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-AAHYLFXZ.js.map → cli-circuit-breaker-BOZNYIZE.js.map} +0 -0
- /package/dist/{composite-router-VAVDLJGT.js.map → composite-router-NG7BLVVR.js.map} +0 -0
- /package/dist/{consensus-vote-6NUSZPQY.js.map → consensus-vote-3FCOFDON.js.map} +0 -0
- /package/dist/{context-retriever-MYKBBDAN.js.map → context-retriever-QKMSSV6W.js.map} +0 -0
- /package/dist/{doctor-deep-AKOPPCXB.js.map → doctor-deep-CPMR6TDF.js.map} +0 -0
- /package/dist/{doctor-live-3PVIYQST.js.map → doctor-live-GWE5IA7D.js.map} +0 -0
- /package/dist/{expert-bridge-G3KN7QWL.js.map → expert-bridge-6WZ333NT.js.map} +0 -0
- /package/dist/{factory-KVMLFEWJ.js.map → factory-2DD2YGBU.js.map} +0 -0
- /package/dist/{factory-ROTP63IZ.js.map → factory-73WKMDVR.js.map} +0 -0
- /package/dist/{improvement-review-5EYOUAB6.js.map → improvement-review-RMDGMKIB.js.map} +0 -0
- /package/dist/{init-opencode-C63LASGX.js.map → init-opencode-7PKVI3LD.js.map} +0 -0
- /package/dist/{issue-triage-VRELWGYY.js.map → issue-triage-MLBUABPA.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-IPC6XCRK.js.map → pr-reviewer-helpers-7DSP3YTT.js.map} +0 -0
- /package/dist/{registry-command-IRDP2L2R.js.map → registry-command-YXFZ7LVE.js.map} +0 -0
- /package/dist/{repo-security-plan-NS47HQEF.js.map → repo-security-plan-M36GODNF.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-5NBL637T.js.map → research-helpers-synthesize-7CI4MFYP.js.map} +0 -0
- /package/dist/{routing-memory-2IELT5GT.js.map → routing-memory-MIK3LGDH.js.map} +0 -0
- /package/dist/{session-memory-CH3CVLIT.js.map → session-memory-T2X4BM33.js.map} +0 -0
- /package/dist/{setup-config-MKZZDUJP.js.map → setup-config-6JSBY6OG.js.map} +0 -0
- /package/dist/{setup-custom-api-2I52S7XU.js.map → setup-custom-api-2OXG6ERI.js.map} +0 -0
- /package/dist/{setup-data-dir-LM2IFTFD.js.map → setup-data-dir-CWU367E6.js.map} +0 -0
- /package/dist/{tool-memory-STS3DWOK.js.map → tool-memory-AL3RAR67.js.map} +0 -0
- /package/dist/{unified-registry-NJS4ZWC3.js.map → unified-registry-5YUSIEML.js.map} +0 -0
- /package/dist/{weather-report-YG4T4Q23.js.map → weather-report-W34L4HW5.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateSecurityPlan
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-V7PXKAZD.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-KE5IGD6G.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-4GSFZS6M.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-P64GQUQW.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-WFZARRYN.js";
|
|
59
59
|
import {
|
|
60
60
|
IssueTriage,
|
|
61
61
|
createDurableAuditSink,
|
|
62
62
|
createDurableAuditTrail
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-FPHFCZ2E.js";
|
|
64
64
|
import {
|
|
65
65
|
resolveEnvMode,
|
|
66
66
|
sanitizeInput
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-M33EQB7P.js";
|
|
68
68
|
import {
|
|
69
69
|
withPrerequisite
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-FMKEGR6N.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-P2DV7PDG.js";
|
|
96
96
|
import {
|
|
97
97
|
createAuditTrail,
|
|
98
98
|
createGraphAuditBridge,
|
|
99
99
|
emitPipelinePolicyEvent
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-46YGVSBD.js";
|
|
101
101
|
import {
|
|
102
102
|
EventTopics,
|
|
103
103
|
createEvent,
|
|
104
104
|
getGlobalEventBus,
|
|
105
105
|
getGlobalRegistry
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-BTPPGHG3.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-S2B4UBHK.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-I3J7WUMV.js";
|
|
148
148
|
import {
|
|
149
149
|
getTokenEnvVars,
|
|
150
150
|
resolveToken
|
|
151
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-CMQO6WEQ.js";
|
|
152
152
|
import {
|
|
153
153
|
DEFAULT_RELEVANCE_CONFIG,
|
|
154
154
|
MemoryImportance,
|
|
155
155
|
calculateTextJaccardSimilarity,
|
|
156
156
|
getToolMemory
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-SGOBMAZK.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-DLVIES6W.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-OJSG734P.js";
|
|
183
183
|
import {
|
|
184
184
|
BaseAdapter,
|
|
185
185
|
createStream,
|
|
186
186
|
requireApiKey,
|
|
187
187
|
validateApiKeyPresence
|
|
188
|
-
} from "./chunk-
|
|
188
|
+
} from "./chunk-VQRXDFVF.js";
|
|
189
189
|
import {
|
|
190
190
|
DEFAULTS
|
|
191
|
-
} from "./chunk-
|
|
191
|
+
} from "./chunk-36BA6D6J.js";
|
|
192
192
|
import {
|
|
193
193
|
getAvailabilityCache,
|
|
194
194
|
getCliForModelId,
|
|
195
195
|
resolveFallback
|
|
196
|
-
} from "./chunk-
|
|
196
|
+
} from "./chunk-HQ2A4DGU.js";
|
|
197
197
|
import {
|
|
198
198
|
generateHyphenId,
|
|
199
199
|
generateUUID
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-D3TZZO6L.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-AOBIUJX5.js";
|
|
307
307
|
import {
|
|
308
308
|
ensureLearningDir,
|
|
309
309
|
getMetaOutcomesFile,
|
|
@@ -29703,7 +29703,7 @@ function execIdFields(executionId) {
|
|
|
29703
29703
|
async function populateUnifiedContextOnState(state, options) {
|
|
29704
29704
|
const taskCandidate = state["task"];
|
|
29705
29705
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
29706
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
29706
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-QKMSSV6W.js");
|
|
29707
29707
|
const category = inferTaskCategory2(taskCandidate);
|
|
29708
29708
|
const executionId = options?.executionId;
|
|
29709
29709
|
const execFields = execIdFields(executionId);
|
|
@@ -45443,7 +45443,7 @@ async function tryIssueTriage(task) {
|
|
|
45443
45443
|
try {
|
|
45444
45444
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
45445
45445
|
if (issueMatch === null) return null;
|
|
45446
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
45446
|
+
const { createIssueTriage } = await import("./issue-triage-MLBUABPA.js");
|
|
45447
45447
|
const triage = createIssueTriage();
|
|
45448
45448
|
const owner = issueMatch[1] ?? "";
|
|
45449
45449
|
const num = issueMatch[2] ?? "";
|
|
@@ -45471,7 +45471,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
45471
45471
|
]);
|
|
45472
45472
|
async function classifyWithLLM(task) {
|
|
45473
45473
|
try {
|
|
45474
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
45474
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-6WZ333NT.js");
|
|
45475
45475
|
const prompt = [
|
|
45476
45476
|
"Classify this task into exactly one pipeline template.",
|
|
45477
45477
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -47162,7 +47162,7 @@ var memoryInitPromise = null;
|
|
|
47162
47162
|
async function initPipelineMemory() {
|
|
47163
47163
|
if (cachedMemory !== null) return cachedMemory;
|
|
47164
47164
|
try {
|
|
47165
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47165
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-T2X4BM33.js");
|
|
47166
47166
|
const { getLearningDir } = await import("./learning-persistence-JK2FELZL.js");
|
|
47167
47167
|
const mem = createSessionMemory2(getLearningDir());
|
|
47168
47168
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
@@ -47224,7 +47224,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
|
|
|
47224
47224
|
callRecord(routingMemoryCache);
|
|
47225
47225
|
return;
|
|
47226
47226
|
}
|
|
47227
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
47227
|
+
routingMemoryInitPromise ??= import("./routing-memory-MIK3LGDH.js").then(({ createRoutingMemory }) => {
|
|
47228
47228
|
routingMemoryCache ??= createRoutingMemory();
|
|
47229
47229
|
return routingMemoryCache;
|
|
47230
47230
|
}).catch((error) => {
|
|
@@ -47258,7 +47258,7 @@ ${text}` : "";
|
|
|
47258
47258
|
}
|
|
47259
47259
|
async function getWeatherContext() {
|
|
47260
47260
|
try {
|
|
47261
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
47261
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-W34L4HW5.js");
|
|
47262
47262
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
47263
47263
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
47264
47264
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -47276,7 +47276,7 @@ ${lines}
|
|
|
47276
47276
|
}
|
|
47277
47277
|
async function getMemoryContext(task) {
|
|
47278
47278
|
try {
|
|
47279
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47279
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-T2X4BM33.js");
|
|
47280
47280
|
const { getLearningDir } = await import("./learning-persistence-JK2FELZL.js");
|
|
47281
47281
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
47282
47282
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
@@ -47395,7 +47395,7 @@ ${contextBlock}`;
|
|
|
47395
47395
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47396
47396
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47397
47397
|
try {
|
|
47398
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47398
|
+
const { executeVoting } = await import("./consensus-vote-3FCOFDON.js");
|
|
47399
47399
|
const votingResult = await executeVoting(
|
|
47400
47400
|
{
|
|
47401
47401
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -47824,7 +47824,7 @@ async function searchCodebaseForTask(task) {
|
|
|
47824
47824
|
}
|
|
47825
47825
|
async function queryResearchRegistry(task) {
|
|
47826
47826
|
try {
|
|
47827
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
47827
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-7CI4MFYP.js");
|
|
47828
47828
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
47829
47829
|
if (topic === void 0) return null;
|
|
47830
47830
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -47895,7 +47895,7 @@ function createScanStageWrapper() {
|
|
|
47895
47895
|
try {
|
|
47896
47896
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
47897
47897
|
if (slug !== void 0) {
|
|
47898
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
47898
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-M36GODNF.js");
|
|
47899
47899
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
47900
47900
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
47901
47901
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -51066,7 +51066,7 @@ var GitHubTaskTracker = class {
|
|
|
51066
51066
|
cachedProvider = null;
|
|
51067
51067
|
async getProvider() {
|
|
51068
51068
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
51069
|
-
const { createScmProvider } = await import("./factory-
|
|
51069
|
+
const { createScmProvider } = await import("./factory-2DD2YGBU.js");
|
|
51070
51070
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
51071
51071
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
51072
51072
|
this.cachedProvider = result.value;
|
|
@@ -51981,7 +51981,7 @@ async function probeSource(source, includeModelIds) {
|
|
|
51981
51981
|
}
|
|
51982
51982
|
}
|
|
51983
51983
|
async function defaultSources(includeOpenRouter) {
|
|
51984
|
-
const { createAllAdapters: createAllAdapters2 } = await import("./factory-
|
|
51984
|
+
const { createAllAdapters: createAllAdapters2 } = await import("./factory-73WKMDVR.js");
|
|
51985
51985
|
const adapters = createAllAdapters2();
|
|
51986
51986
|
return buildDefaultModelSources(adapters, { includeOpenRouter });
|
|
51987
51987
|
}
|
|
@@ -56051,4 +56051,4 @@ export {
|
|
|
56051
56051
|
shutdownFeedbackSubscriber,
|
|
56052
56052
|
createEventBusBridge
|
|
56053
56053
|
};
|
|
56054
|
-
//# sourceMappingURL=chunk-
|
|
56054
|
+
//# sourceMappingURL=chunk-MYERGZK3.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
computeCostDetail,
|
|
3
3
|
recordUsageEvent
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WANBZFP2.js";
|
|
5
5
|
import {
|
|
6
6
|
BaseAdapter,
|
|
7
7
|
createStream,
|
|
8
8
|
planOptionalParams,
|
|
9
9
|
requireApiKey,
|
|
10
10
|
validateApiKeyPresence
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VQRXDFVF.js";
|
|
12
12
|
import {
|
|
13
13
|
assertCustomApiHostResolvesPublic
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-FOYSPWOA.js";
|
|
15
15
|
import {
|
|
16
16
|
ConfigError,
|
|
17
17
|
ModelCapability,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
getTimeProvider,
|
|
23
23
|
getTokenEstimator,
|
|
24
24
|
ok
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-AOBIUJX5.js";
|
|
26
26
|
|
|
27
27
|
// src/adapters/openai-types.ts
|
|
28
28
|
var OPENAI_MODELS = {
|
|
@@ -833,4 +833,4 @@ export {
|
|
|
833
833
|
discoverModels,
|
|
834
834
|
buildOpenAICompatAdapters
|
|
835
835
|
};
|
|
836
|
-
//# sourceMappingURL=chunk-
|
|
836
|
+
//# sourceMappingURL=chunk-MZUUIMRQ.js.map
|
|
@@ -5,34 +5,34 @@ import {
|
|
|
5
5
|
planOptionalParams,
|
|
6
6
|
requireApiKey,
|
|
7
7
|
validateApiKeyPresence
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-VQRXDFVF.js";
|
|
9
9
|
import {
|
|
10
10
|
CUSTOM_API_DEFAULT_MODEL
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-36BA6D6J.js";
|
|
12
12
|
import {
|
|
13
13
|
CUSTOM_API_BASE_URL_ENV,
|
|
14
14
|
PROVIDER_ENV_KEYS,
|
|
15
15
|
assertCustomApiHostResolvesPublic,
|
|
16
16
|
validateCustomApiBaseUrl
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-FOYSPWOA.js";
|
|
18
18
|
import {
|
|
19
19
|
nexusMkdtempSync
|
|
20
20
|
} from "./chunk-DKHBIJO4.js";
|
|
21
21
|
import {
|
|
22
22
|
getAvailabilityCache
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-HQ2A4DGU.js";
|
|
24
24
|
import {
|
|
25
25
|
extractSystemPrompt
|
|
26
26
|
} from "./chunk-QZUG667L.js";
|
|
27
27
|
import {
|
|
28
28
|
generateHyphenId
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-D3TZZO6L.js";
|
|
30
30
|
import {
|
|
31
31
|
CliCircuitBreaker,
|
|
32
32
|
DEFAULT_CIRCUIT_BREAKER_CONFIG,
|
|
33
33
|
getCliCircuitBreakerSnapshot,
|
|
34
34
|
getDefaultCliCircuitBreakerRegistry
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-2RZWKIDU.js";
|
|
36
36
|
import {
|
|
37
37
|
CLI_SUBPROCESS_TIMEOUTS,
|
|
38
38
|
CLI_TIMEOUTS,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
resolveCliAlias,
|
|
73
73
|
resolveRetryAfterMs,
|
|
74
74
|
retryAfterMsFromContext
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-AOBIUJX5.js";
|
|
76
76
|
|
|
77
77
|
// src/cli-adapters/cli-to-model-adapter.ts
|
|
78
78
|
var CliToModelAdapter = class {
|
|
@@ -4946,4 +4946,4 @@ export {
|
|
|
4946
4946
|
SdkAdapter,
|
|
4947
4947
|
createAutoAdapter
|
|
4948
4948
|
};
|
|
4949
|
-
//# sourceMappingURL=chunk-
|
|
4949
|
+
//# sourceMappingURL=chunk-OJSG734P.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VERSION
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DJFYMDMD.js";
|
|
4
4
|
import {
|
|
5
5
|
emitClawGuardViolation
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-46YGVSBD.js";
|
|
7
7
|
import {
|
|
8
8
|
CACHE_TIMEOUTS,
|
|
9
9
|
MCP_TIMEOUTS,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
getTimeProvider,
|
|
20
20
|
ok,
|
|
21
21
|
resolveToolClassGuardMs
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-AOBIUJX5.js";
|
|
23
23
|
import {
|
|
24
24
|
getNexusDataDir
|
|
25
25
|
} from "./chunk-J7QCZRVK.js";
|
|
@@ -2246,4 +2246,4 @@ export {
|
|
|
2246
2246
|
VOTING_THRESHOLDS,
|
|
2247
2247
|
ConsensusMetricsSchema
|
|
2248
2248
|
};
|
|
2249
|
-
//# sourceMappingURL=chunk-
|
|
2249
|
+
//# sourceMappingURL=chunk-P2DV7PDG.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
computeCostDetail,
|
|
3
3
|
priceBasisOf
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WANBZFP2.js";
|
|
5
5
|
import {
|
|
6
6
|
allOf
|
|
7
7
|
} from "./chunk-OQB3XC5O.js";
|
|
@@ -23,25 +23,25 @@ import {
|
|
|
23
23
|
toolSuccessStructured,
|
|
24
24
|
withProgressHeartbeat,
|
|
25
25
|
wrapToolWithTimeout
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-P2DV7PDG.js";
|
|
27
27
|
import {
|
|
28
28
|
VERSION
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-DJFYMDMD.js";
|
|
30
30
|
import {
|
|
31
31
|
assessPanelIndependence,
|
|
32
32
|
countDistinctModels,
|
|
33
33
|
createEvent,
|
|
34
34
|
getGlobalRegistry
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-BTPPGHG3.js";
|
|
36
36
|
import {
|
|
37
37
|
getToolMemory
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-SGOBMAZK.js";
|
|
39
39
|
import {
|
|
40
40
|
authRemediation,
|
|
41
41
|
delay,
|
|
42
42
|
getAvailableClis,
|
|
43
43
|
withTimeout
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-OJSG734P.js";
|
|
45
45
|
import {
|
|
46
46
|
AgentError,
|
|
47
47
|
CLI_NAMES,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
registerPersistentOutcomeStoreFactory,
|
|
71
71
|
resolveClassGuardMs,
|
|
72
72
|
resolveVoteTimeout
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-AOBIUJX5.js";
|
|
74
74
|
import {
|
|
75
75
|
ensureLearningDir,
|
|
76
76
|
getOutcomesFile
|
|
@@ -6388,7 +6388,7 @@ function logPartialProposal(bounded, log) {
|
|
|
6388
6388
|
}
|
|
6389
6389
|
async function runContrarianCheck(proposal, log) {
|
|
6390
6390
|
try {
|
|
6391
|
-
const { executeExpert } = await import("./expert-bridge-
|
|
6391
|
+
const { executeExpert } = await import("./expert-bridge-6WZ333NT.js");
|
|
6392
6392
|
const bounded = boundArtifactForReview(proposal, CONTRARIAN_PROPOSAL_BUDGET, "proposal");
|
|
6393
6393
|
logPartialProposal(bounded, log);
|
|
6394
6394
|
const result = await executeExpert("architecture", buildContrarianPrompt(bounded));
|
|
@@ -6972,4 +6972,4 @@ export {
|
|
|
6972
6972
|
CONSENSUS_VOTE_TOOL_SCHEMA,
|
|
6973
6973
|
registerConsensusVoteTool
|
|
6974
6974
|
};
|
|
6975
|
-
//# sourceMappingURL=chunk-
|
|
6975
|
+
//# sourceMappingURL=chunk-P64GQUQW.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GitHubProvider,
|
|
3
3
|
ScmError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-Q55JVMUD.js";
|
|
5
5
|
import {
|
|
6
6
|
resolveToken
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CMQO6WEQ.js";
|
|
8
8
|
import {
|
|
9
9
|
err,
|
|
10
10
|
ok
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AOBIUJX5.js";
|
|
12
12
|
|
|
13
13
|
// src/scm/factory.ts
|
|
14
14
|
async function createScmProvider(config) {
|
|
@@ -41,4 +41,4 @@ export {
|
|
|
41
41
|
createScmProvider,
|
|
42
42
|
createGitHubProvider
|
|
43
43
|
};
|
|
44
|
-
//# sourceMappingURL=chunk-
|
|
44
|
+
//# sourceMappingURL=chunk-PCPQ75EC.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
err,
|
|
5
5
|
getErrorMessage,
|
|
6
6
|
ok
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-AOBIUJX5.js";
|
|
8
8
|
|
|
9
9
|
// src/scm/types.ts
|
|
10
10
|
var ScmError = class extends Error {
|
|
@@ -263,4 +263,4 @@ export {
|
|
|
263
263
|
ScmError,
|
|
264
264
|
GitHubProvider
|
|
265
265
|
};
|
|
266
|
-
//# sourceMappingURL=chunk-
|
|
266
|
+
//# sourceMappingURL=chunk-Q55JVMUD.js.map
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
loadTechniquesRegistry,
|
|
6
6
|
resolveInsideRoot,
|
|
7
7
|
savePapersRegistry
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-I3J7WUMV.js";
|
|
9
9
|
import {
|
|
10
10
|
resolveToken
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-CMQO6WEQ.js";
|
|
12
12
|
import {
|
|
13
13
|
getToolMemory
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-SGOBMAZK.js";
|
|
15
15
|
import {
|
|
16
16
|
capitalizeWords,
|
|
17
17
|
tokenizeFiltered,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
ok,
|
|
41
41
|
registerPersistentDistillerFactory,
|
|
42
42
|
sigmoidConfidence
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-AOBIUJX5.js";
|
|
44
44
|
import {
|
|
45
45
|
ensureLearningDir,
|
|
46
46
|
getRulesFile
|
|
@@ -4165,4 +4165,4 @@ export {
|
|
|
4165
4165
|
DEFAULT_CONTEXT_BUDGET_TOKENS,
|
|
4166
4166
|
getContextPromptPrefix
|
|
4167
4167
|
};
|
|
4168
|
-
//# sourceMappingURL=chunk-
|
|
4168
|
+
//# sourceMappingURL=chunk-S2B4UBHK.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-6T3EPABN.js";
|
|
6
6
|
import {
|
|
7
7
|
SessionMemory
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DLVIES6W.js";
|
|
9
9
|
import {
|
|
10
10
|
StatsOnlyAdapter,
|
|
11
11
|
ensureSharedMemoryRegistry
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-YYJFZ7TO.js";
|
|
16
16
|
import {
|
|
17
17
|
generateId
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-D3TZZO6L.js";
|
|
19
19
|
import {
|
|
20
20
|
ErrorCode,
|
|
21
21
|
NexusError,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
ok,
|
|
30
30
|
openSqliteDatabase,
|
|
31
31
|
setSharedMobiMemDbPathResolver
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-AOBIUJX5.js";
|
|
33
33
|
import {
|
|
34
34
|
nexusDataPath
|
|
35
35
|
} from "./chunk-J7QCZRVK.js";
|
|
@@ -5617,4 +5617,4 @@ export {
|
|
|
5617
5617
|
reinitializeMemoryBackends,
|
|
5618
5618
|
ToolMemoryManager
|
|
5619
5619
|
};
|
|
5620
|
-
//# sourceMappingURL=chunk-
|
|
5620
|
+
//# sourceMappingURL=chunk-SGOBMAZK.js.map
|