nexus-agents 2.64.0 → 2.67.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{adaptive-memory-XD5O3TC4.js → adaptive-memory-MKSYEBST.js} +3 -3
- package/dist/{chunk-UFHFX2GX.js → chunk-32RIOULO.js} +2 -2
- package/dist/{chunk-KTL65MHM.js → chunk-3NDP3APQ.js} +5 -5
- package/dist/{chunk-NV63LTMM.js → chunk-7OBFO4GF.js} +1 -1
- package/dist/{chunk-NV63LTMM.js.map → chunk-7OBFO4GF.js.map} +1 -1
- package/dist/{chunk-CQXNX6BQ.js → chunk-7QWNOE23.js} +3 -3
- package/dist/{chunk-VOBYREAG.js → chunk-7ZPYV4HO.js} +2 -2
- package/dist/{chunk-SUR2TLIG.js → chunk-ANC3HU6F.js} +7 -7
- package/dist/{chunk-R4FVXOZF.js → chunk-DWLATKBK.js} +2 -2
- package/dist/{chunk-WDWKKJHZ.js → chunk-E66KFRSJ.js} +2 -2
- package/dist/{chunk-RLLMWZAE.js → chunk-EMPW45GD.js} +1735 -2239
- package/dist/chunk-EMPW45GD.js.map +1 -0
- package/dist/{chunk-6MRF2PE2.js → chunk-L2LQ3TSV.js} +2 -2
- package/dist/{chunk-GISQ3EJB.js → chunk-L4XSIHF5.js} +4 -4
- package/dist/{chunk-5HQJGYYM.js → chunk-LMRKHQG5.js} +2 -2
- package/dist/{chunk-O4AJGETH.js → chunk-MJHOSM5U.js} +2 -2
- package/dist/{chunk-5CYDU2VX.js → chunk-OF7CYMMA.js} +2 -2
- package/dist/{chunk-Q3PDQ3FZ.js → chunk-OKB2SUFX.js} +7 -7
- package/dist/{chunk-3H44UAHW.js → chunk-TOYPY5XA.js} +2 -2
- package/dist/{chunk-P5NBYCEC.js → chunk-U3HZQTUF.js} +2 -2
- package/dist/{chunk-TSS7VN3V.js → chunk-UMLBVSW4.js} +8 -10
- package/dist/{chunk-TSS7VN3V.js.map → chunk-UMLBVSW4.js.map} +1 -1
- package/dist/{chunk-3BLWO2ZM.js → chunk-VGZJIR22.js} +2 -2
- package/dist/{chunk-F2YQX6Q6.js → chunk-WYSHXPKK.js} +3 -3
- package/dist/{chunk-N36KDK3E.js → chunk-XATH462F.js} +3 -3
- package/dist/{chunk-O3CBMPGT.js → chunk-ZM4O442V.js} +2 -2
- package/dist/chunk-ZM4O442V.js.map +1 -0
- package/dist/{chunk-TR74DSB4.js → chunk-ZPPX2K57.js} +2 -2
- package/dist/{cli-circuit-breaker-JE6XKLUG.js → cli-circuit-breaker-2CJ6NV52.js} +4 -4
- package/dist/cli.js +35 -29
- package/dist/cli.js.map +1 -1
- package/dist/{composite-router-KBOGB7GQ.js → composite-router-AYVJPIOS.js} +2 -2
- package/dist/{consensus-vote-PIU3D3KP.js → consensus-vote-WUGHRBYE.js} +9 -9
- package/dist/{doctor-deep-DGY2N4U2.js → doctor-deep-BJFDBGPO.js} +3 -3
- package/dist/{expert-bridge-5IPLSDJH.js → expert-bridge-75WNNWI4.js} +3 -3
- package/dist/{expert-config-6X4225UC.js → expert-config-HN7U7X2K.js} +2 -2
- package/dist/{factory-ZTNGLNFH.js → factory-BHHC6C7W.js} +5 -5
- package/dist/{factory-PSFI6WDI.js → factory-KMBWFIX2.js} +4 -4
- package/dist/index.d.ts +31 -197
- package/dist/index.js +22 -32
- package/dist/index.js.map +1 -1
- package/dist/{issue-triage-VOZNNCUG.js → issue-triage-TXQ7J6GG.js} +4 -4
- package/dist/{mcp-config-PDH6LS6E.js → mcp-config-OCWIXE2Y.js} +3 -3
- package/dist/{mobimem-7KQVPLAW.js → mobimem-77W5ED4Z.js} +2 -2
- package/dist/{registry-command-BS75IWSA.js → registry-command-BBLIXULQ.js} +2 -2
- package/dist/{repo-security-plan-VZTTNXYJ.js → repo-security-plan-7SNM7JQN.js} +3 -3
- package/dist/{research-helpers-synthesize-B3C6BFCX.js → research-helpers-synthesize-7CI2FJE5.js} +3 -3
- package/dist/{routing-memory-BGK2HMC3.js → routing-memory-DCIZEEVC.js} +2 -2
- package/dist/{session-memory-ESTZAPL2.js → session-memory-5TSAASQW.js} +3 -3
- package/dist/{setup-command-MDGZYUW5.js → setup-command-SACUP65O.js} +9 -9
- package/dist/{setup-config-LG67TIFO.js → setup-config-EA5RDIO2.js} +3 -3
- package/dist/{setup-custom-api-4DZABP47.js → setup-custom-api-IQX3GD2D.js} +4 -4
- package/dist/{weather-report-HUY35FUZ.js → weather-report-NETGWTJX.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-O3CBMPGT.js.map +0 -1
- package/dist/chunk-RLLMWZAE.js.map +0 -1
- /package/dist/{adaptive-memory-XD5O3TC4.js.map → adaptive-memory-MKSYEBST.js.map} +0 -0
- /package/dist/{chunk-UFHFX2GX.js.map → chunk-32RIOULO.js.map} +0 -0
- /package/dist/{chunk-KTL65MHM.js.map → chunk-3NDP3APQ.js.map} +0 -0
- /package/dist/{chunk-CQXNX6BQ.js.map → chunk-7QWNOE23.js.map} +0 -0
- /package/dist/{chunk-VOBYREAG.js.map → chunk-7ZPYV4HO.js.map} +0 -0
- /package/dist/{chunk-SUR2TLIG.js.map → chunk-ANC3HU6F.js.map} +0 -0
- /package/dist/{chunk-R4FVXOZF.js.map → chunk-DWLATKBK.js.map} +0 -0
- /package/dist/{chunk-WDWKKJHZ.js.map → chunk-E66KFRSJ.js.map} +0 -0
- /package/dist/{chunk-6MRF2PE2.js.map → chunk-L2LQ3TSV.js.map} +0 -0
- /package/dist/{chunk-GISQ3EJB.js.map → chunk-L4XSIHF5.js.map} +0 -0
- /package/dist/{chunk-5HQJGYYM.js.map → chunk-LMRKHQG5.js.map} +0 -0
- /package/dist/{chunk-O4AJGETH.js.map → chunk-MJHOSM5U.js.map} +0 -0
- /package/dist/{chunk-5CYDU2VX.js.map → chunk-OF7CYMMA.js.map} +0 -0
- /package/dist/{chunk-Q3PDQ3FZ.js.map → chunk-OKB2SUFX.js.map} +0 -0
- /package/dist/{chunk-3H44UAHW.js.map → chunk-TOYPY5XA.js.map} +0 -0
- /package/dist/{chunk-P5NBYCEC.js.map → chunk-U3HZQTUF.js.map} +0 -0
- /package/dist/{chunk-3BLWO2ZM.js.map → chunk-VGZJIR22.js.map} +0 -0
- /package/dist/{chunk-F2YQX6Q6.js.map → chunk-WYSHXPKK.js.map} +0 -0
- /package/dist/{chunk-N36KDK3E.js.map → chunk-XATH462F.js.map} +0 -0
- /package/dist/{chunk-TR74DSB4.js.map → chunk-ZPPX2K57.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-JE6XKLUG.js.map → cli-circuit-breaker-2CJ6NV52.js.map} +0 -0
- /package/dist/{composite-router-KBOGB7GQ.js.map → composite-router-AYVJPIOS.js.map} +0 -0
- /package/dist/{consensus-vote-PIU3D3KP.js.map → consensus-vote-WUGHRBYE.js.map} +0 -0
- /package/dist/{doctor-deep-DGY2N4U2.js.map → doctor-deep-BJFDBGPO.js.map} +0 -0
- /package/dist/{expert-bridge-5IPLSDJH.js.map → expert-bridge-75WNNWI4.js.map} +0 -0
- /package/dist/{expert-config-6X4225UC.js.map → expert-config-HN7U7X2K.js.map} +0 -0
- /package/dist/{factory-PSFI6WDI.js.map → factory-BHHC6C7W.js.map} +0 -0
- /package/dist/{factory-ZTNGLNFH.js.map → factory-KMBWFIX2.js.map} +0 -0
- /package/dist/{issue-triage-VOZNNCUG.js.map → issue-triage-TXQ7J6GG.js.map} +0 -0
- /package/dist/{mcp-config-PDH6LS6E.js.map → mcp-config-OCWIXE2Y.js.map} +0 -0
- /package/dist/{mobimem-7KQVPLAW.js.map → mobimem-77W5ED4Z.js.map} +0 -0
- /package/dist/{registry-command-BS75IWSA.js.map → registry-command-BBLIXULQ.js.map} +0 -0
- /package/dist/{repo-security-plan-VZTTNXYJ.js.map → repo-security-plan-7SNM7JQN.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-B3C6BFCX.js.map → research-helpers-synthesize-7CI2FJE5.js.map} +0 -0
- /package/dist/{routing-memory-BGK2HMC3.js.map → routing-memory-DCIZEEVC.js.map} +0 -0
- /package/dist/{session-memory-ESTZAPL2.js.map → session-memory-5TSAASQW.js.map} +0 -0
- /package/dist/{setup-command-MDGZYUW5.js.map → setup-command-SACUP65O.js.map} +0 -0
- /package/dist/{setup-config-LG67TIFO.js.map → setup-config-EA5RDIO2.js.map} +0 -0
- /package/dist/{setup-custom-api-4DZABP47.js.map → setup-custom-api-IQX3GD2D.js.map} +0 -0
- /package/dist/{weather-report-HUY35FUZ.js.map → weather-report-NETGWTJX.js.map} +0 -0
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
getErrorMessage,
|
|
5
5
|
getTimeProvider,
|
|
6
6
|
ok
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7OBFO4GF.js";
|
|
8
8
|
|
|
9
9
|
// src/context/session-memory.ts
|
|
10
10
|
import * as fs from "fs";
|
|
@@ -351,4 +351,4 @@ export {
|
|
|
351
351
|
SessionMemory,
|
|
352
352
|
createSessionMemory
|
|
353
353
|
};
|
|
354
|
-
//# sourceMappingURL=chunk-
|
|
354
|
+
//# sourceMappingURL=chunk-ZPPX2K57.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CliCircuitBreakerIntegration,
|
|
3
3
|
createCliCircuitBreakerIntegration
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-WYSHXPKK.js";
|
|
5
|
+
import "./chunk-U3HZQTUF.js";
|
|
6
|
+
import "./chunk-7OBFO4GF.js";
|
|
7
7
|
import "./chunk-LJT65EA7.js";
|
|
8
8
|
import "./chunk-FDNWRZNJ.js";
|
|
9
9
|
import "./chunk-UP2VWCW5.js";
|
|
@@ -11,4 +11,4 @@ export {
|
|
|
11
11
|
CliCircuitBreakerIntegration,
|
|
12
12
|
createCliCircuitBreakerIntegration
|
|
13
13
|
};
|
|
14
|
-
//# sourceMappingURL=cli-circuit-breaker-
|
|
14
|
+
//# sourceMappingURL=cli-circuit-breaker-2CJ6NV52.js.map
|
package/dist/cli.js
CHANGED
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
parseFindings,
|
|
13
13
|
sumFindings
|
|
14
14
|
} from "./chunk-6E3NMMEY.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-32RIOULO.js";
|
|
16
16
|
import {
|
|
17
17
|
setupCommandAsync,
|
|
18
18
|
verifyCommand
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-3NDP3APQ.js";
|
|
20
|
+
import "./chunk-OF7CYMMA.js";
|
|
21
21
|
import {
|
|
22
22
|
AuthHandler,
|
|
23
23
|
DEFAULT_EXPERTS,
|
|
@@ -26,6 +26,7 @@ import {
|
|
|
26
26
|
ExpertFactory,
|
|
27
27
|
FeedbackIntegration,
|
|
28
28
|
Orchestrator,
|
|
29
|
+
OrchestratorFactory,
|
|
29
30
|
PuppeteerOrchestrator,
|
|
30
31
|
READONLY_POLICY,
|
|
31
32
|
SwarmObserver,
|
|
@@ -45,7 +46,7 @@ import {
|
|
|
45
46
|
createGatewayServerProxy,
|
|
46
47
|
createHarnessExecutor,
|
|
47
48
|
createLearnablePolicy,
|
|
48
|
-
|
|
49
|
+
createMockOrchestrator,
|
|
49
50
|
createRealWorkflowEngine,
|
|
50
51
|
createResearchIssue,
|
|
51
52
|
createRuleBasedPolicy,
|
|
@@ -145,16 +146,16 @@ import {
|
|
|
145
146
|
validateCommand,
|
|
146
147
|
validateWorkflow,
|
|
147
148
|
wrapInMarkdownFence
|
|
148
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-EMPW45GD.js";
|
|
149
150
|
import "./chunk-ED6VQWNG.js";
|
|
150
151
|
import {
|
|
151
152
|
resolveToken
|
|
152
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-E66KFRSJ.js";
|
|
153
154
|
import {
|
|
154
155
|
CATEGORY_DISPLAY_NAMES,
|
|
155
156
|
DEFAULT_PR_REVIEW_CONFIG
|
|
156
157
|
} from "./chunk-X2M7OF27.js";
|
|
157
|
-
import "./chunk-
|
|
158
|
+
import "./chunk-ANC3HU6F.js";
|
|
158
159
|
import {
|
|
159
160
|
DEFAULT_VOTE_TIMEOUT_MS,
|
|
160
161
|
THRESHOLD_MAP,
|
|
@@ -167,23 +168,23 @@ import {
|
|
|
167
168
|
shutdownToolMemory,
|
|
168
169
|
validateTimeout,
|
|
169
170
|
warnIfSimulatedOutsideTests
|
|
170
|
-
} from "./chunk-
|
|
171
|
-
import "./chunk-
|
|
171
|
+
} from "./chunk-UMLBVSW4.js";
|
|
172
|
+
import "./chunk-VGZJIR22.js";
|
|
172
173
|
import {
|
|
173
174
|
loadPapersRegistry,
|
|
174
175
|
loadTechniquesRegistry,
|
|
175
176
|
savePapersRegistry,
|
|
176
177
|
synthesizeResearch
|
|
177
|
-
} from "./chunk-
|
|
178
|
+
} from "./chunk-TOYPY5XA.js";
|
|
178
179
|
import {
|
|
179
180
|
classifyTrust,
|
|
180
181
|
createFullGitHubProvider,
|
|
181
182
|
evaluatePolicy,
|
|
182
183
|
parsePRUrl,
|
|
183
184
|
sanitizeInput
|
|
184
|
-
} from "./chunk-
|
|
185
|
-
import "./chunk-
|
|
186
|
-
import "./chunk-
|
|
185
|
+
} from "./chunk-7QWNOE23.js";
|
|
186
|
+
import "./chunk-7ZPYV4HO.js";
|
|
187
|
+
import "./chunk-LMRKHQG5.js";
|
|
187
188
|
import "./chunk-BC3M4VLP.js";
|
|
188
189
|
import "./chunk-AP2FD37C.js";
|
|
189
190
|
import "./chunk-BQ4YXGGQ.js";
|
|
@@ -205,29 +206,29 @@ import {
|
|
|
205
206
|
loadConfig,
|
|
206
207
|
runDoctor,
|
|
207
208
|
validateNexusEnv
|
|
208
|
-
} from "./chunk-
|
|
209
|
+
} from "./chunk-OKB2SUFX.js";
|
|
209
210
|
import {
|
|
210
211
|
DEFAULTS
|
|
211
|
-
} from "./chunk-
|
|
212
|
+
} from "./chunk-L2LQ3TSV.js";
|
|
212
213
|
import "./chunk-NUBSJGQZ.js";
|
|
213
214
|
import {
|
|
214
215
|
createAllAdapters,
|
|
215
216
|
getAvailableClis,
|
|
216
217
|
isRecord
|
|
217
|
-
} from "./chunk-
|
|
218
|
-
import "./chunk-
|
|
219
|
-
import "./chunk-
|
|
218
|
+
} from "./chunk-XATH462F.js";
|
|
219
|
+
import "./chunk-ZM4O442V.js";
|
|
220
|
+
import "./chunk-ZPPX2K57.js";
|
|
220
221
|
import {
|
|
221
222
|
MemoryError
|
|
222
|
-
} from "./chunk-
|
|
223
|
+
} from "./chunk-MJHOSM5U.js";
|
|
223
224
|
import {
|
|
224
225
|
capitalize,
|
|
225
226
|
capitalizeKebab,
|
|
226
227
|
truncateSentence
|
|
227
228
|
} from "./chunk-633WH2ML.js";
|
|
228
|
-
import "./chunk-
|
|
229
|
-
import "./chunk-
|
|
230
|
-
import "./chunk-
|
|
229
|
+
import "./chunk-DWLATKBK.js";
|
|
230
|
+
import "./chunk-WYSHXPKK.js";
|
|
231
|
+
import "./chunk-U3HZQTUF.js";
|
|
231
232
|
import {
|
|
232
233
|
API_TIMEOUTS,
|
|
233
234
|
AgentCapability,
|
|
@@ -292,7 +293,7 @@ import {
|
|
|
292
293
|
toError,
|
|
293
294
|
writeEmptyLine,
|
|
294
295
|
writeLine
|
|
295
|
-
} from "./chunk-
|
|
296
|
+
} from "./chunk-7OBFO4GF.js";
|
|
296
297
|
import "./chunk-LJT65EA7.js";
|
|
297
298
|
import {
|
|
298
299
|
getNexusDataDir,
|
|
@@ -18822,7 +18823,12 @@ var REGISTERED_TOOLS = [
|
|
|
18822
18823
|
var MOCK_ORCHESTRATION_ENV = "NEXUS_ALLOW_MOCK_ORCHESTRATION";
|
|
18823
18824
|
function createOrchestratorForOrchestration(modelAdapter, logger17, useMockTechLead) {
|
|
18824
18825
|
if (modelAdapter !== void 0) {
|
|
18825
|
-
|
|
18826
|
+
const orchestratorAgent = new Orchestrator({ adapter: modelAdapter, logger: logger17 });
|
|
18827
|
+
const factory = new OrchestratorFactory({
|
|
18828
|
+
logger: logger17,
|
|
18829
|
+
techLead: orchestratorAgent
|
|
18830
|
+
});
|
|
18831
|
+
return factory.create("orchestrator");
|
|
18826
18832
|
}
|
|
18827
18833
|
const envMockEnabled = process.env[MOCK_ORCHESTRATION_ENV] === "true";
|
|
18828
18834
|
const mockEnabled = useMockTechLead === true || envMockEnabled;
|
|
@@ -18831,7 +18837,7 @@ function createOrchestratorForOrchestration(modelAdapter, logger17, useMockTechL
|
|
|
18831
18837
|
logger17.warn(
|
|
18832
18838
|
`Using mock orchestrator as explicitly configured via ${source} (no real adapter available)`
|
|
18833
18839
|
);
|
|
18834
|
-
return
|
|
18840
|
+
return createMockOrchestrator();
|
|
18835
18841
|
}
|
|
18836
18842
|
throw new OrchestratorUnavailableError(
|
|
18837
18843
|
`No model adapter available and mock orchestrator not explicitly enabled. Set useMockTechLead: true in config, or ${MOCK_ORCHESTRATION_ENV}=true, or configure an API key (ANTHROPIC_API_KEY, OPENAI_API_KEY, or GOOGLE_AI_API_KEY).`
|
|
@@ -18967,7 +18973,7 @@ function registerOrchestrateToolSafe(ctx) {
|
|
|
18967
18973
|
ctx.useMockTechLead
|
|
18968
18974
|
);
|
|
18969
18975
|
registerOrchestrateTool(ctx.server, {
|
|
18970
|
-
|
|
18976
|
+
orchestrator,
|
|
18971
18977
|
logger: ctx.logger,
|
|
18972
18978
|
rateLimiter: ctx.rateLimiterFactory.getForTool("orchestrate"),
|
|
18973
18979
|
security: ctx.securityConfig,
|
|
@@ -21216,7 +21222,7 @@ async function handleResearchCommand(args) {
|
|
|
21216
21222
|
}
|
|
21217
21223
|
}
|
|
21218
21224
|
async function handleRegistryCommand(args) {
|
|
21219
|
-
const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-
|
|
21225
|
+
const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-BBLIXULQ.js");
|
|
21220
21226
|
const subcommand = args.subcommand;
|
|
21221
21227
|
if (!isValidRegistrySubcommand(subcommand)) {
|
|
21222
21228
|
process.stdout.write(`${formatRegistryUsage()}
|
|
@@ -21264,7 +21270,7 @@ async function handleVerifyCommand(args) {
|
|
|
21264
21270
|
async function handleDoctorCommand(args) {
|
|
21265
21271
|
const exitCode = await doctorCommand({ fix: args.options.fix });
|
|
21266
21272
|
if (args.options.deep) {
|
|
21267
|
-
const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-
|
|
21273
|
+
const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-BJFDBGPO.js");
|
|
21268
21274
|
const diag = runDeepDiagnostics2();
|
|
21269
21275
|
process.stdout.write(formatDeepDiagnostics2(diag) + "\n");
|
|
21270
21276
|
}
|
|
@@ -21320,7 +21326,7 @@ async function handleSetupCommandAsync(args) {
|
|
|
21320
21326
|
process.exit(exitCode === 0 ? EXIT_CODES.SUCCESS : EXIT_CODES.SERVER_START_FAILED);
|
|
21321
21327
|
}
|
|
21322
21328
|
async function runCustomApiSetup(args) {
|
|
21323
|
-
const { configureCustomApi } = await import("./setup-custom-api-
|
|
21329
|
+
const { configureCustomApi } = await import("./setup-custom-api-IQX3GD2D.js");
|
|
21324
21330
|
const baseUrl = args.options.customApi;
|
|
21325
21331
|
if (baseUrl === void 0) return EXIT_CODES.SERVER_START_FAILED;
|
|
21326
21332
|
const input = {
|