nexus-agents 2.29.0 → 2.29.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/adaptive-memory-5VP5WWTE.js +15 -0
- package/dist/chunk-5COIDGQJ.js +1585 -0
- package/dist/chunk-5COIDGQJ.js.map +1 -0
- package/dist/{chunk-HWDBNDUX.js → chunk-63AJLNKU.js} +2 -2
- package/dist/chunk-66NNHMVB.js +195 -0
- package/dist/chunk-66NNHMVB.js.map +1 -0
- package/dist/chunk-AP2FD37C.js +127 -0
- package/dist/chunk-AP2FD37C.js.map +1 -0
- package/dist/chunk-BC3M4VLP.js +359 -0
- package/dist/chunk-BC3M4VLP.js.map +1 -0
- package/dist/chunk-BQ4YXGGQ.js +127 -0
- package/dist/chunk-BQ4YXGGQ.js.map +1 -0
- package/dist/{chunk-ZBZJHXRT.js → chunk-CW2Z773T.js} +19 -347
- package/dist/chunk-CW2Z773T.js.map +1 -0
- package/dist/chunk-DDQGAVQA.js +944 -0
- package/dist/chunk-DDQGAVQA.js.map +1 -0
- package/dist/chunk-ED6VQWNG.js +63 -0
- package/dist/chunk-ED6VQWNG.js.map +1 -0
- package/dist/{chunk-7F6HYUIY.js → chunk-EPMBGZQX.js} +16 -97
- package/dist/chunk-EPMBGZQX.js.map +1 -0
- package/dist/chunk-GX436VRU.js +931 -0
- package/dist/chunk-GX436VRU.js.map +1 -0
- package/dist/{chunk-IMWYKX4H.js → chunk-HSOPD265.js} +444 -399
- package/dist/chunk-HSOPD265.js.map +1 -0
- package/dist/{chunk-S3BKWNST.js → chunk-J245RJGW.js} +680 -1436
- package/dist/chunk-J245RJGW.js.map +1 -0
- package/dist/{chunk-I6YDS23R.js → chunk-KQIDTE52.js} +2 -2
- package/dist/{chunk-POBO4G2P.js → chunk-LDIN2PLV.js} +250 -110
- package/dist/chunk-LDIN2PLV.js.map +1 -0
- package/dist/{chunk-KGDG6PWZ.js → chunk-LKDHAJJB.js} +2 -2
- package/dist/{chunk-T7PU3NPQ.js → chunk-NKGTEJYU.js} +7 -5
- package/dist/{chunk-T7PU3NPQ.js.map → chunk-NKGTEJYU.js.map} +1 -1
- package/dist/chunk-QGODFK36.js +122 -0
- package/dist/chunk-QGODFK36.js.map +1 -0
- package/dist/{chunk-DAMRMAM2.js → chunk-QSNAFOE6.js} +12369 -14499
- package/dist/chunk-QSNAFOE6.js.map +1 -0
- package/dist/chunk-TL2GJMJ5.js +700 -0
- package/dist/chunk-TL2GJMJ5.js.map +1 -0
- package/dist/{chunk-WSK4VSXP.js → chunk-V6MSPUQF.js} +2 -2
- package/dist/chunk-VZ2YOQWU.js +90 -0
- package/dist/chunk-VZ2YOQWU.js.map +1 -0
- package/dist/{chunk-5VZLXMO7.js → chunk-WSYJN7BI.js} +7 -6
- package/dist/chunk-WSYJN7BI.js.map +1 -0
- package/dist/chunk-Y477EGI4.js +356 -0
- package/dist/chunk-Y477EGI4.js.map +1 -0
- package/dist/{chunk-HH5LVGEE.js → chunk-Z4OZ25VS.js} +4 -4
- package/dist/cli-circuit-breaker-6EJO3PPU.js +13 -0
- package/dist/cli.js +123 -68
- package/dist/cli.js.map +1 -1
- package/dist/codebase-search-CZUA37RU.js +9 -0
- package/dist/{composite-router-YPRWVTRB.js → composite-router-JD7URTC2.js} +2 -2
- package/dist/{consensus-vote-DBE6RNZG.js → consensus-vote-COW34Q2Y.js} +7 -5
- package/dist/{dist-7PQR2BQB.js → dist-CV74KUT7.js} +1302 -805
- package/dist/dist-CV74KUT7.js.map +1 -0
- package/dist/{doctor-deep-AWE7SRU6.js → doctor-deep-4A4X5X6U.js} +3 -3
- package/dist/expert-bridge-J36C7VES.js +10 -0
- package/dist/{expert-config-FHNBQRX2.js → expert-config-MQ5OJE3U.js} +2 -2
- package/dist/{factory-O5C7ZBZO.js → factory-4Z4RSUYE.js} +5 -4
- package/dist/{factory-PCHGQ3ZG.js → factory-NHORX63J.js} +4 -3
- package/dist/index.d.ts +507 -42
- package/dist/index.js +331 -78
- package/dist/index.js.map +1 -1
- package/dist/issue-triage-TIG3RKXF.js +15 -0
- package/dist/{mcp-config-AUZQPUBY.js → mcp-config-ETY7GFGW.js} +3 -3
- package/dist/mobimem-5PAAMVFR.js +13 -0
- package/dist/mobimem-5PAAMVFR.js.map +1 -0
- package/dist/repo-analyze-HWMXSK5C.js +24 -0
- package/dist/repo-analyze-HWMXSK5C.js.map +1 -0
- package/dist/repo-security-plan-KQB3ZJTE.js +17 -0
- package/dist/repo-security-plan-KQB3ZJTE.js.map +1 -0
- package/dist/research-helpers-synthesize-ZMERZZ5B.js +10 -0
- package/dist/research-helpers-synthesize-ZMERZZ5B.js.map +1 -0
- package/dist/{routing-memory-QY3XMU2R.js → routing-memory-3ES3OHLM.js} +2 -2
- package/dist/routing-memory-3ES3OHLM.js.map +1 -0
- package/dist/{session-memory-3MBCE5KS.js → session-memory-E2OE2CYR.js} +3 -3
- package/dist/session-memory-E2OE2CYR.js.map +1 -0
- package/dist/{setup-command-IQ4MD3FT.js → setup-command-CMCQRBJF.js} +7 -6
- package/dist/setup-command-CMCQRBJF.js.map +1 -0
- package/dist/{setup-config-5YUPLDXF.js → setup-config-KITOPV7V.js} +3 -3
- package/dist/setup-config-KITOPV7V.js.map +1 -0
- package/dist/shared-memory-AEO2HJLC.js +8 -0
- package/dist/shared-memory-AEO2HJLC.js.map +1 -0
- package/dist/symbol-extractor-UEBANFSN.js +10 -0
- package/dist/symbol-extractor-UEBANFSN.js.map +1 -0
- package/dist/{weather-report-CC2C4KAX.js → weather-report-KUSVNXDZ.js} +2 -2
- package/dist/weather-report-KUSVNXDZ.js.map +1 -0
- package/package.json +14 -13
- package/dist/chunk-5VZLXMO7.js.map +0 -1
- package/dist/chunk-7F6HYUIY.js.map +0 -1
- package/dist/chunk-DAMRMAM2.js.map +0 -1
- package/dist/chunk-IMWYKX4H.js.map +0 -1
- package/dist/chunk-POBO4G2P.js.map +0 -1
- package/dist/chunk-S3BKWNST.js.map +0 -1
- package/dist/chunk-ZBZJHXRT.js.map +0 -1
- package/dist/dist-7PQR2BQB.js.map +0 -1
- /package/dist/{composite-router-YPRWVTRB.js.map → adaptive-memory-5VP5WWTE.js.map} +0 -0
- /package/dist/{chunk-HWDBNDUX.js.map → chunk-63AJLNKU.js.map} +0 -0
- /package/dist/{chunk-I6YDS23R.js.map → chunk-KQIDTE52.js.map} +0 -0
- /package/dist/{chunk-KGDG6PWZ.js.map → chunk-LKDHAJJB.js.map} +0 -0
- /package/dist/{chunk-WSK4VSXP.js.map → chunk-V6MSPUQF.js.map} +0 -0
- /package/dist/{chunk-HH5LVGEE.js.map → chunk-Z4OZ25VS.js.map} +0 -0
- /package/dist/{consensus-vote-DBE6RNZG.js.map → cli-circuit-breaker-6EJO3PPU.js.map} +0 -0
- /package/dist/{doctor-deep-AWE7SRU6.js.map → codebase-search-CZUA37RU.js.map} +0 -0
- /package/dist/{expert-config-FHNBQRX2.js.map → composite-router-JD7URTC2.js.map} +0 -0
- /package/dist/{factory-O5C7ZBZO.js.map → consensus-vote-COW34Q2Y.js.map} +0 -0
- /package/dist/{factory-PCHGQ3ZG.js.map → doctor-deep-4A4X5X6U.js.map} +0 -0
- /package/dist/{mcp-config-AUZQPUBY.js.map → expert-bridge-J36C7VES.js.map} +0 -0
- /package/dist/{routing-memory-QY3XMU2R.js.map → expert-config-MQ5OJE3U.js.map} +0 -0
- /package/dist/{session-memory-3MBCE5KS.js.map → factory-4Z4RSUYE.js.map} +0 -0
- /package/dist/{setup-command-IQ4MD3FT.js.map → factory-NHORX63J.js.map} +0 -0
- /package/dist/{setup-config-5YUPLDXF.js.map → issue-triage-TIG3RKXF.js.map} +0 -0
- /package/dist/{weather-report-CC2C4KAX.js.map → mcp-config-ETY7GFGW.js.map} +0 -0
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createGitHubProvider,
|
|
3
3
|
createScmProvider
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NKGTEJYU.js";
|
|
5
5
|
import {
|
|
6
6
|
ALLOWED_COMMANDS,
|
|
7
7
|
ARTIFACT_TYPES,
|
|
8
|
+
AUDIT_PIPELINE_TEMPLATE,
|
|
8
9
|
ActivationStrategySchema,
|
|
9
|
-
AgentActionSchema,
|
|
10
10
|
AgentEventSchema,
|
|
11
11
|
AgentMessageSchema,
|
|
12
12
|
AgentRoleSchema,
|
|
@@ -41,7 +41,6 @@ import {
|
|
|
41
41
|
COMPLEXITY_ORDER,
|
|
42
42
|
CORE_PLUGINS,
|
|
43
43
|
CliAgentExecutor,
|
|
44
|
-
CliCircuitBreakerIntegration,
|
|
45
44
|
CodeChangeSchema,
|
|
46
45
|
CodeExpert,
|
|
47
46
|
CollaborationConfigSchema,
|
|
@@ -93,6 +92,7 @@ import {
|
|
|
93
92
|
DEFAULT_TIMEOUTS,
|
|
94
93
|
DEFAULT_TRINITY_CONFIG,
|
|
95
94
|
DEFAULT_WAVE_CONFIG,
|
|
95
|
+
DEV_PIPELINE_TEMPLATE,
|
|
96
96
|
Dashboard,
|
|
97
97
|
DashboardConfigSchema,
|
|
98
98
|
DatasetLoadError,
|
|
@@ -127,7 +127,6 @@ import {
|
|
|
127
127
|
ExplorationEventSchema,
|
|
128
128
|
ExplorationEventTypeSchema,
|
|
129
129
|
ExtractSymbolsInputSchema,
|
|
130
|
-
FALLBACK_SCANNER_DATA,
|
|
131
130
|
FactoryError,
|
|
132
131
|
FailurePatternSchema,
|
|
133
132
|
FeedbackCollectorConfigSchema,
|
|
@@ -138,11 +137,9 @@ import {
|
|
|
138
137
|
ForestResultSchema,
|
|
139
138
|
ForestStateSchema,
|
|
140
139
|
ForestStatisticsSchema,
|
|
140
|
+
GENERAL_PIPELINE_TEMPLATE,
|
|
141
141
|
GeminiResponseParser,
|
|
142
142
|
GeneratedTestSchema,
|
|
143
|
-
GitHubReviewer,
|
|
144
|
-
GitHubUserInfo,
|
|
145
|
-
GitHubUserRoleSchema,
|
|
146
143
|
GraphBuilder,
|
|
147
144
|
HarnessExecutor,
|
|
148
145
|
HarnessExecutorError,
|
|
@@ -150,7 +147,6 @@ import {
|
|
|
150
147
|
ICTMInferenceResultSchema,
|
|
151
148
|
InMemoryAuditStorage,
|
|
152
149
|
InMemoryCheckpointStore,
|
|
153
|
-
InjectionFlagSchema,
|
|
154
150
|
InputDefinitionSchema,
|
|
155
151
|
InputDefinitionSchema2,
|
|
156
152
|
InputTypeSchema,
|
|
@@ -180,6 +176,8 @@ import {
|
|
|
180
176
|
OrchestratorFactory,
|
|
181
177
|
OrchestratorOptionsSchema,
|
|
182
178
|
OutcomeFeedbackCollector,
|
|
179
|
+
PIPELINE_STATE_KEYS,
|
|
180
|
+
PIPELINE_TEMPLATES,
|
|
183
181
|
PLUGIN_TRUST_LEVELS,
|
|
184
182
|
PROMPT_DEFINITIONS,
|
|
185
183
|
ParallelProtocol,
|
|
@@ -201,7 +199,7 @@ import {
|
|
|
201
199
|
QualitySignalsSchema,
|
|
202
200
|
QueryTraceInputSchema,
|
|
203
201
|
REPO_COMPLEXITY,
|
|
204
|
-
|
|
202
|
+
RESEARCH_PIPELINE_TEMPLATE,
|
|
205
203
|
ReasoningDepthSchema,
|
|
206
204
|
ReasoningNodeMetadataSchema,
|
|
207
205
|
ReasoningNodeSchema,
|
|
@@ -213,7 +211,6 @@ import {
|
|
|
213
211
|
RepoSecurityPlanInputSchema,
|
|
214
212
|
ReportGenerationError,
|
|
215
213
|
ReportGenerator,
|
|
216
|
-
ReputationCache,
|
|
217
214
|
ResearchAddInputSchema,
|
|
218
215
|
ResearchAddSourceInputSchema,
|
|
219
216
|
ResearchAnalyzeInputSchema,
|
|
@@ -235,8 +232,6 @@ import {
|
|
|
235
232
|
SWEBenchRunnerError,
|
|
236
233
|
SWE_BENCH_DATASETS,
|
|
237
234
|
SWE_BENCH_SYSTEM_PROMPT,
|
|
238
|
-
SanitizedInputSchema,
|
|
239
|
-
SanitizerConfigSchema,
|
|
240
235
|
ScoreBreakdownSchema,
|
|
241
236
|
SearchCodebaseInputSchema,
|
|
242
237
|
SecurityConfigSchema,
|
|
@@ -264,15 +259,12 @@ import {
|
|
|
264
259
|
SkillProvenanceSchema,
|
|
265
260
|
SkillRBACSchema,
|
|
266
261
|
SkillSecurityErrorSchema,
|
|
267
|
-
SourceCitationSchema,
|
|
268
262
|
StageResultSchema,
|
|
269
263
|
StageSpecSchema,
|
|
270
264
|
StepExecutor,
|
|
271
|
-
StrippedElementSchema,
|
|
272
265
|
SubTaskSchema,
|
|
273
266
|
SubtaskPrioritySchema,
|
|
274
267
|
SubtaskStatusSchema,
|
|
275
|
-
SuspiciousSignalSchema,
|
|
276
268
|
SwarmObserver,
|
|
277
269
|
SwarmObserverConfigSchema,
|
|
278
270
|
SynthesizedResultSchema,
|
|
@@ -283,7 +275,6 @@ import {
|
|
|
283
275
|
TRINITY_ROLE_MAX_TOKENS,
|
|
284
276
|
TRINITY_ROLE_PROMPTS,
|
|
285
277
|
TRINITY_ROLE_TEMPERATURES,
|
|
286
|
-
TRUST_TIER_NUMERIC,
|
|
287
278
|
TaskAnalysisResultSchema,
|
|
288
279
|
TaskAnalysisSchema,
|
|
289
280
|
TaskComplexity,
|
|
@@ -309,10 +300,8 @@ import {
|
|
|
309
300
|
TrinityPhaseSchema,
|
|
310
301
|
TrinityRoleSchema,
|
|
311
302
|
TrinityStopReasonSchema,
|
|
312
|
-
TrustTierSchema,
|
|
313
303
|
ValidationDashboard,
|
|
314
304
|
VerifierVerdictSchema,
|
|
315
|
-
ViolationSchema,
|
|
316
305
|
VoteDecisionSchema,
|
|
317
306
|
VoteMessageSchema,
|
|
318
307
|
VulnerabilitySchema,
|
|
@@ -327,21 +316,17 @@ import {
|
|
|
327
316
|
WorkflowStepSchema2,
|
|
328
317
|
aggregateResults,
|
|
329
318
|
analyzeFailures,
|
|
330
|
-
analyzeGitHubRepo,
|
|
331
|
-
analyzeRepo,
|
|
332
319
|
analyzeTask,
|
|
333
320
|
analyzeTask2,
|
|
334
321
|
append,
|
|
335
322
|
applyPatch,
|
|
336
323
|
areStepsCompleted,
|
|
337
|
-
assessReputation,
|
|
338
324
|
buildDependencyGraph,
|
|
339
325
|
buildDependencyGraph2,
|
|
340
326
|
buildDockerArgs,
|
|
341
327
|
buildEnrichedPrompt,
|
|
342
328
|
buildHarnessArgs,
|
|
343
329
|
buildHarnessCommand,
|
|
344
|
-
buildPlanFromAnalysis,
|
|
345
330
|
calculateDistributionStats,
|
|
346
331
|
calculateEstimatedRemaining,
|
|
347
332
|
calculateMetrics,
|
|
@@ -351,18 +336,16 @@ import {
|
|
|
351
336
|
calculateWinLoss,
|
|
352
337
|
canApplyPatch,
|
|
353
338
|
canExecuteSkill,
|
|
354
|
-
canInfluenceDecisions,
|
|
355
|
-
canProceed,
|
|
356
339
|
cancelExecution,
|
|
357
340
|
checkPermissionBoundary,
|
|
358
341
|
checkPipelinePolicy,
|
|
359
342
|
checkpointToResult,
|
|
360
343
|
chunkByDirectory,
|
|
361
|
-
|
|
344
|
+
classifyTask,
|
|
362
345
|
cleanupCheckpoint,
|
|
363
|
-
clearRegistryCache,
|
|
364
346
|
clearTemplateCache,
|
|
365
347
|
compareProportions,
|
|
348
|
+
compilePipelineGraph,
|
|
366
349
|
compilePlan,
|
|
367
350
|
compileSpecToGraph,
|
|
368
351
|
computeOutcomeReward,
|
|
@@ -375,7 +358,6 @@ import {
|
|
|
375
358
|
createBenchmarkMemory,
|
|
376
359
|
createCheckpoint,
|
|
377
360
|
createCheckpointStore,
|
|
378
|
-
createCliCircuitBreakerIntegration,
|
|
379
361
|
createCliExecutor,
|
|
380
362
|
createCodeExpert,
|
|
381
363
|
createCollaborationSession,
|
|
@@ -388,6 +370,7 @@ import {
|
|
|
388
370
|
createDefaultRegistry,
|
|
389
371
|
createDelegatePipeline,
|
|
390
372
|
createDependencyError,
|
|
373
|
+
createDevStageRegistry,
|
|
391
374
|
createDocumentationExpert,
|
|
392
375
|
createDryRunHandler,
|
|
393
376
|
createEmptyContext,
|
|
@@ -398,7 +381,6 @@ import {
|
|
|
398
381
|
createExecutor,
|
|
399
382
|
createExplorationPrompt,
|
|
400
383
|
createFeedbackIntegration,
|
|
401
|
-
createFullGitHubProvider,
|
|
402
384
|
createGraphAuditBridge,
|
|
403
385
|
createHarnessExecutor,
|
|
404
386
|
createInitialProgress,
|
|
@@ -464,19 +446,21 @@ import {
|
|
|
464
446
|
emitGraphExecutionEvent,
|
|
465
447
|
emitNodeResults,
|
|
466
448
|
emitNodeStarted,
|
|
449
|
+
emitPipelineStageEvent,
|
|
467
450
|
emitPolicyEvent,
|
|
468
451
|
emitReputationEvent,
|
|
469
452
|
emitSanitizationEvent,
|
|
453
|
+
emitStageCompleted,
|
|
454
|
+
emitStageFailed,
|
|
455
|
+
emitStageStarted,
|
|
470
456
|
emitStateUpdated,
|
|
471
457
|
emitStepCompleted,
|
|
472
458
|
emitTrustEvent,
|
|
473
459
|
estimateDifficulty,
|
|
474
460
|
estimateTokens,
|
|
475
461
|
evaluatePolicy as evaluatePolicy2,
|
|
476
|
-
evaluatePolicy2 as evaluatePolicy3,
|
|
477
462
|
evaluatePredictions,
|
|
478
463
|
executeDelegatePipeline,
|
|
479
|
-
executeExpert,
|
|
480
464
|
executeGraph,
|
|
481
465
|
executeHarness,
|
|
482
466
|
executeInDocker,
|
|
@@ -493,6 +477,7 @@ import {
|
|
|
493
477
|
extractPatch,
|
|
494
478
|
extractRepoFromInstanceId,
|
|
495
479
|
extractRepoName,
|
|
480
|
+
extractStateValue,
|
|
496
481
|
filterAvailableModels,
|
|
497
482
|
filterByRepo,
|
|
498
483
|
filterByVersion,
|
|
@@ -502,7 +487,6 @@ import {
|
|
|
502
487
|
formatContextForPrompt,
|
|
503
488
|
formatValidationResult,
|
|
504
489
|
generateReport,
|
|
505
|
-
generateSecurityPlan,
|
|
506
490
|
getAvailabilityCache,
|
|
507
491
|
getAvailableRoles,
|
|
508
492
|
getBuiltInTemplates,
|
|
@@ -512,7 +496,6 @@ import {
|
|
|
512
496
|
getCliForModelId,
|
|
513
497
|
getCompletedInstanceIds,
|
|
514
498
|
getCompletedSteps,
|
|
515
|
-
getCorroborationRules,
|
|
516
499
|
getCpuCores,
|
|
517
500
|
getDatasetInfo,
|
|
518
501
|
getDockerVersion,
|
|
@@ -532,14 +515,13 @@ import {
|
|
|
532
515
|
getPythonVersion,
|
|
533
516
|
getRecommendedRole,
|
|
534
517
|
getReferencedSteps,
|
|
535
|
-
getRegistryManifest,
|
|
536
|
-
getRequiredTrustTier,
|
|
537
518
|
getResultsFilePath,
|
|
538
519
|
getSkillSetForTask,
|
|
539
520
|
getSkillsForTask,
|
|
540
521
|
getStepResult,
|
|
541
522
|
getSwarmObserver,
|
|
542
523
|
getSwebenchVersion,
|
|
524
|
+
getTemplate,
|
|
543
525
|
getTopologicalOrder,
|
|
544
526
|
getVariable,
|
|
545
527
|
ictmToExpertConfig,
|
|
@@ -549,10 +531,9 @@ import {
|
|
|
549
531
|
initializeEventBusBridge,
|
|
550
532
|
isCancelled,
|
|
551
533
|
isCliAvailable as isCliAvailable2,
|
|
552
|
-
isMutatingAction,
|
|
553
|
-
isReadOnlyAction,
|
|
554
534
|
isStepCompleted,
|
|
555
535
|
listInstances,
|
|
536
|
+
listTemplateIds,
|
|
556
537
|
loadCheckpointState,
|
|
557
538
|
loadDataset,
|
|
558
539
|
loadTemplateFile,
|
|
@@ -561,12 +542,10 @@ import {
|
|
|
561
542
|
logToolError,
|
|
562
543
|
logToolStart,
|
|
563
544
|
logToolSuccess,
|
|
564
|
-
mapAuthorAssociation,
|
|
565
545
|
mapResolutionStatus,
|
|
566
546
|
mapStateToPhase,
|
|
567
547
|
mapTestStatus,
|
|
568
548
|
meanConfidenceInterval,
|
|
569
|
-
normalizeRepoId,
|
|
570
549
|
orchestrateInputToTaskContract,
|
|
571
550
|
overwrite,
|
|
572
551
|
parseExpression,
|
|
@@ -618,27 +597,25 @@ import {
|
|
|
618
597
|
registerSearchCodebaseTool,
|
|
619
598
|
registerTools,
|
|
620
599
|
registerWeatherReportTool,
|
|
621
|
-
requiresCitation,
|
|
622
|
-
requiresCorroboration,
|
|
623
600
|
resetAvailabilityCache,
|
|
624
601
|
resetPipelinePluginRegistry,
|
|
625
602
|
resetRegistry,
|
|
626
603
|
resolveExpression,
|
|
627
604
|
resolveFallback,
|
|
628
605
|
resolveInput,
|
|
629
|
-
resolveScannerData,
|
|
630
606
|
resolveStringExpressions,
|
|
631
607
|
resolveV2Config,
|
|
632
608
|
resolveWithFallbacks,
|
|
609
|
+
runAdaptiveOrchestrator,
|
|
633
610
|
runAgentOnInstance,
|
|
634
611
|
runBenchmarkInstances,
|
|
635
612
|
runBenchmarkParallel,
|
|
636
613
|
runDevPipeline,
|
|
614
|
+
runGraphPipeline,
|
|
637
615
|
runPreconditions,
|
|
638
616
|
runSingleInstance,
|
|
639
617
|
runTests,
|
|
640
618
|
runVerification,
|
|
641
|
-
sanitizeInput,
|
|
642
619
|
saveStageCheckpoint,
|
|
643
620
|
scoreByHybrid,
|
|
644
621
|
scoreByImportance,
|
|
@@ -655,10 +632,8 @@ import {
|
|
|
655
632
|
transformInstanceResult,
|
|
656
633
|
transformTestResult,
|
|
657
634
|
updateContext,
|
|
658
|
-
validateAgentAction,
|
|
659
635
|
validateCapabilities,
|
|
660
636
|
validateCommand,
|
|
661
|
-
validateCorroboration,
|
|
662
637
|
validateDependencyGraph,
|
|
663
638
|
validateDiskSpace,
|
|
664
639
|
validateDocker,
|
|
@@ -681,14 +656,13 @@ import {
|
|
|
681
656
|
validateWorkflowDependencies,
|
|
682
657
|
withLogging,
|
|
683
658
|
writePredictions
|
|
684
|
-
} from "./chunk-
|
|
659
|
+
} from "./chunk-QSNAFOE6.js";
|
|
685
660
|
import {
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
} from "./chunk-5VZLXMO7.js";
|
|
661
|
+
getTokenEnvVars,
|
|
662
|
+
hasToken,
|
|
663
|
+
resolveToken
|
|
664
|
+
} from "./chunk-VZ2YOQWU.js";
|
|
665
|
+
import "./chunk-X2M7OF27.js";
|
|
692
666
|
import {
|
|
693
667
|
AdapterModelError,
|
|
694
668
|
AgentFindingSchema,
|
|
@@ -804,21 +778,93 @@ import {
|
|
|
804
778
|
validateApiKeyPresence,
|
|
805
779
|
validateToolInput,
|
|
806
780
|
withTimeout
|
|
807
|
-
} from "./chunk-
|
|
781
|
+
} from "./chunk-J245RJGW.js";
|
|
782
|
+
import "./chunk-GX436VRU.js";
|
|
783
|
+
import {
|
|
784
|
+
AgentActionSchema,
|
|
785
|
+
GitHubReviewer,
|
|
786
|
+
GitHubUserInfo,
|
|
787
|
+
GitHubUserRoleSchema,
|
|
788
|
+
InjectionFlagSchema,
|
|
789
|
+
ROLE_DEFAULT_TRUST,
|
|
790
|
+
ReputationCache,
|
|
791
|
+
SanitizedInputSchema,
|
|
792
|
+
SanitizerConfigSchema,
|
|
793
|
+
SourceCitationSchema,
|
|
794
|
+
StrippedElementSchema,
|
|
795
|
+
SuspiciousSignalSchema,
|
|
796
|
+
TRUST_TIER_NUMERIC,
|
|
797
|
+
TrustTierSchema,
|
|
798
|
+
ViolationSchema,
|
|
799
|
+
assessReputation,
|
|
800
|
+
canInfluenceDecisions,
|
|
801
|
+
canProceed,
|
|
802
|
+
classifyTrust,
|
|
803
|
+
createFullGitHubProvider,
|
|
804
|
+
evaluatePolicy as evaluatePolicy3,
|
|
805
|
+
getCorroborationRules,
|
|
806
|
+
getRequiredTrustTier,
|
|
807
|
+
isMutatingAction,
|
|
808
|
+
isReadOnlyAction,
|
|
809
|
+
mapAuthorAssociation,
|
|
810
|
+
requiresCitation,
|
|
811
|
+
requiresCorroboration,
|
|
812
|
+
sanitizeInput,
|
|
813
|
+
validateAgentAction,
|
|
814
|
+
validateCorroboration
|
|
815
|
+
} from "./chunk-5COIDGQJ.js";
|
|
816
|
+
import {
|
|
817
|
+
GitHubProvider,
|
|
818
|
+
ScmError
|
|
819
|
+
} from "./chunk-EPMBGZQX.js";
|
|
820
|
+
import {
|
|
821
|
+
FALLBACK_SCANNER_DATA,
|
|
822
|
+
buildPlanFromAnalysis,
|
|
823
|
+
clearRegistryCache,
|
|
824
|
+
generateSecurityPlan,
|
|
825
|
+
getRegistryManifest,
|
|
826
|
+
resolveScannerData
|
|
827
|
+
} from "./chunk-TL2GJMJ5.js";
|
|
828
|
+
import {
|
|
829
|
+
analyzeGitHubRepo,
|
|
830
|
+
analyzeRepo,
|
|
831
|
+
normalizeRepoId
|
|
832
|
+
} from "./chunk-BC3M4VLP.js";
|
|
833
|
+
import "./chunk-AP2FD37C.js";
|
|
834
|
+
import "./chunk-BQ4YXGGQ.js";
|
|
835
|
+
import {
|
|
836
|
+
SharedMemoryStore
|
|
837
|
+
} from "./chunk-ED6VQWNG.js";
|
|
838
|
+
import {
|
|
839
|
+
BUILT_IN_EXPERTS,
|
|
840
|
+
BuiltInExpertTypeSchema,
|
|
841
|
+
EXPERT_TYPE_TO_ROLE,
|
|
842
|
+
ExpertConfigSchema as ExpertConfigSchema2,
|
|
843
|
+
ModelPreferenceSchema,
|
|
844
|
+
safeValidateExpertConfig,
|
|
845
|
+
validateExpertConfig
|
|
846
|
+
} from "./chunk-LDIN2PLV.js";
|
|
847
|
+
import {
|
|
848
|
+
VERSION,
|
|
849
|
+
closeServer,
|
|
850
|
+
connectTransport,
|
|
851
|
+
createServer,
|
|
852
|
+
startStdioServer
|
|
853
|
+
} from "./chunk-WSYJN7BI.js";
|
|
854
|
+
import "./chunk-KQIDTE52.js";
|
|
855
|
+
import "./chunk-DDQGAVQA.js";
|
|
808
856
|
import "./chunk-633WH2ML.js";
|
|
809
|
-
import "./chunk-I6YDS23R.js";
|
|
810
857
|
import {
|
|
811
858
|
generateMcpConfig,
|
|
812
859
|
getDefaultAllowedTools
|
|
813
|
-
} from "./chunk-
|
|
860
|
+
} from "./chunk-LKDHAJJB.js";
|
|
814
861
|
import {
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
} from "./chunk-
|
|
821
|
-
import "./chunk-X2M7OF27.js";
|
|
862
|
+
CliCircuitBreakerIntegration,
|
|
863
|
+
createCliCircuitBreakerIntegration
|
|
864
|
+
} from "./chunk-66NNHMVB.js";
|
|
865
|
+
import {
|
|
866
|
+
executeExpert
|
|
867
|
+
} from "./chunk-QGODFK36.js";
|
|
822
868
|
import {
|
|
823
869
|
BaseCliAdapter,
|
|
824
870
|
CLI_TIMEOUT_PROFILES,
|
|
@@ -847,7 +893,8 @@ import {
|
|
|
847
893
|
isCliAvailable,
|
|
848
894
|
isRetryableError,
|
|
849
895
|
sleep
|
|
850
|
-
} from "./chunk-
|
|
896
|
+
} from "./chunk-CW2Z773T.js";
|
|
897
|
+
import "./chunk-Y477EGI4.js";
|
|
851
898
|
import {
|
|
852
899
|
AgentCapability,
|
|
853
900
|
AgentError,
|
|
@@ -918,20 +965,11 @@ import {
|
|
|
918
965
|
toError,
|
|
919
966
|
unwrap,
|
|
920
967
|
unwrapOr
|
|
921
|
-
} from "./chunk-
|
|
968
|
+
} from "./chunk-HSOPD265.js";
|
|
922
969
|
import {
|
|
923
970
|
RULES_FILE,
|
|
924
971
|
ensureLearningDir
|
|
925
972
|
} from "./chunk-CLYZ7FWP.js";
|
|
926
|
-
import {
|
|
927
|
-
BUILT_IN_EXPERTS,
|
|
928
|
-
BuiltInExpertTypeSchema,
|
|
929
|
-
EXPERT_TYPE_TO_ROLE,
|
|
930
|
-
ExpertConfigSchema as ExpertConfigSchema2,
|
|
931
|
-
ModelPreferenceSchema,
|
|
932
|
-
safeValidateExpertConfig,
|
|
933
|
-
validateExpertConfig
|
|
934
|
-
} from "./chunk-POBO4G2P.js";
|
|
935
973
|
import "./chunk-UP2VWCW5.js";
|
|
936
974
|
|
|
937
975
|
// src/adapters/factory.ts
|
|
@@ -3363,10 +3401,10 @@ var RulesSnapshotSchema = z4.object({
|
|
|
3363
3401
|
var PersistentStrategyDistiller = class extends StrategyDistiller {
|
|
3364
3402
|
filePath;
|
|
3365
3403
|
persistLogger;
|
|
3366
|
-
constructor(outcomeStore, persistConfig,
|
|
3367
|
-
super(outcomeStore,
|
|
3404
|
+
constructor(outcomeStore, persistConfig, logger10, distillerConfig) {
|
|
3405
|
+
super(outcomeStore, logger10, distillerConfig);
|
|
3368
3406
|
this.filePath = persistConfig?.filePath ?? RULES_FILE;
|
|
3369
|
-
this.persistLogger =
|
|
3407
|
+
this.persistLogger = logger10 ?? createLogger({ component: "PersistentStrategyDistiller" });
|
|
3370
3408
|
const dataDir = persistConfig?.dataDir;
|
|
3371
3409
|
ensureLearningDir(dataDir);
|
|
3372
3410
|
this.hydrate();
|
|
@@ -3442,7 +3480,7 @@ var PersistentStrategyDistiller = class extends StrategyDistiller {
|
|
|
3442
3480
|
}
|
|
3443
3481
|
};
|
|
3444
3482
|
registerPersistentDistillerFactory(
|
|
3445
|
-
(outcomeStore,
|
|
3483
|
+
(outcomeStore, logger10) => new PersistentStrategyDistiller(outcomeStore, void 0, logger10)
|
|
3446
3484
|
);
|
|
3447
3485
|
|
|
3448
3486
|
// src/learning/ab-test-tracker.ts
|
|
@@ -4990,6 +5028,14 @@ var FileReferenceSchema = z9.object({
|
|
|
4990
5028
|
/** Optional line number */
|
|
4991
5029
|
line: z9.number().int().positive().optional()
|
|
4992
5030
|
});
|
|
5031
|
+
var TechStackSchema = z9.object({
|
|
5032
|
+
/** Programming language */
|
|
5033
|
+
language: z9.string().optional(),
|
|
5034
|
+
/** Framework or library */
|
|
5035
|
+
framework: z9.string().optional(),
|
|
5036
|
+
/** Package manager */
|
|
5037
|
+
packageManager: z9.string().optional()
|
|
5038
|
+
});
|
|
4993
5039
|
var ParsedSpecSchema = z9.object({
|
|
4994
5040
|
/** Spec title (from first H1 or H2 heading) */
|
|
4995
5041
|
title: z9.string().min(1),
|
|
@@ -5008,7 +5054,9 @@ var ParsedSpecSchema = z9.object({
|
|
|
5008
5054
|
/** Sections that were missing from the spec */
|
|
5009
5055
|
missingSections: z9.array(z9.string()),
|
|
5010
5056
|
/** Raw markdown source */
|
|
5011
|
-
rawMarkdown: z9.string()
|
|
5057
|
+
rawMarkdown: z9.string(),
|
|
5058
|
+
/** Inferred technology stack */
|
|
5059
|
+
techStack: TechStackSchema.optional()
|
|
5012
5060
|
});
|
|
5013
5061
|
var KNOWN_SECTIONS = [
|
|
5014
5062
|
"overview",
|
|
@@ -5602,11 +5650,191 @@ Assess this research for applicability to nexus-agents.`,
|
|
|
5602
5650
|
}
|
|
5603
5651
|
}
|
|
5604
5652
|
|
|
5653
|
+
// src/pipeline/research-pipeline.ts
|
|
5654
|
+
var logger7 = createLogger({ component: "research-pipeline" });
|
|
5655
|
+
|
|
5656
|
+
// src/pipeline/iterative-consensus.ts
|
|
5657
|
+
var defaultLogger = createLogger({ component: "iterative-consensus" });
|
|
5658
|
+
var DEFAULT_MAX_ITERATIONS = 3;
|
|
5659
|
+
var DEFAULT_MAX_PROPOSAL_LENGTH = 4e3;
|
|
5660
|
+
var DEFAULT_STRATEGY = "higher_order";
|
|
5661
|
+
var DEFAULT_PREFIX = "pipeline";
|
|
5662
|
+
async function runOneIteration(state, iteration) {
|
|
5663
|
+
state.log.info("Consensus iteration", { iteration });
|
|
5664
|
+
emitPipelineStageEvent(state.prefix, "vote", "started");
|
|
5665
|
+
state.lastVote = await executeSingleVote(state.plan, state.config, state.log);
|
|
5666
|
+
const iterMs = getTimeProvider().now() - state.globalStart;
|
|
5667
|
+
const status = isVoteAccepted(state.lastVote) ? "completed" : "failed";
|
|
5668
|
+
emitPipelineStageEvent(state.prefix, "vote", status, { durationMs: iterMs });
|
|
5669
|
+
if (isVoteAccepted(state.lastVote)) {
|
|
5670
|
+
return { vote: state.lastVote, iterations: iteration, durationMs: iterMs };
|
|
5671
|
+
}
|
|
5672
|
+
return void 0;
|
|
5673
|
+
}
|
|
5674
|
+
async function runIterativeConsensus(initialPlan, revisePlan, config) {
|
|
5675
|
+
const maxIter = config?.maxIterations ?? DEFAULT_MAX_ITERATIONS;
|
|
5676
|
+
const state = {
|
|
5677
|
+
plan: initialPlan,
|
|
5678
|
+
lastVote: void 0,
|
|
5679
|
+
config,
|
|
5680
|
+
log: config?.logger ?? defaultLogger,
|
|
5681
|
+
prefix: config?.pipelinePrefix ?? DEFAULT_PREFIX,
|
|
5682
|
+
globalStart: getTimeProvider().now()
|
|
5683
|
+
};
|
|
5684
|
+
for (let i = 0; i < maxIter; i++) {
|
|
5685
|
+
const accepted = await runOneIteration(state, i + 1);
|
|
5686
|
+
if (accepted !== void 0) return accepted;
|
|
5687
|
+
await maybeRevise(state, i, maxIter, revisePlan);
|
|
5688
|
+
}
|
|
5689
|
+
return buildExhaustedResult(state, maxIter);
|
|
5690
|
+
}
|
|
5691
|
+
function isVoteAccepted(vote) {
|
|
5692
|
+
return vote.kind === "approved" || vote.kind === "conditional_go";
|
|
5693
|
+
}
|
|
5694
|
+
function extractFeedback(vote) {
|
|
5695
|
+
if (vote === void 0) return "";
|
|
5696
|
+
return vote.kind === "rejected" ? vote.feedback : "";
|
|
5697
|
+
}
|
|
5698
|
+
async function maybeRevise(state, iteration, maxIter, revisePlan) {
|
|
5699
|
+
if (iteration >= maxIter - 1) return;
|
|
5700
|
+
state.log.info("Vote rejected, revising plan", { iteration: iteration + 1 });
|
|
5701
|
+
state.plan = await revisePlan(state.plan, extractFeedback(state.lastVote));
|
|
5702
|
+
}
|
|
5703
|
+
function buildExhaustedResult(state, maxIter) {
|
|
5704
|
+
const totalMs = getTimeProvider().now() - state.globalStart;
|
|
5705
|
+
const fallback = {
|
|
5706
|
+
kind: "rejected",
|
|
5707
|
+
feedback: "No votes executed",
|
|
5708
|
+
approvalPercentage: 0
|
|
5709
|
+
};
|
|
5710
|
+
return { vote: state.lastVote ?? fallback, iterations: maxIter, durationMs: totalMs };
|
|
5711
|
+
}
|
|
5712
|
+
function buildVotingInput(plan, config) {
|
|
5713
|
+
const maxLen = config?.maxProposalLength ?? DEFAULT_MAX_PROPOSAL_LENGTH;
|
|
5714
|
+
return {
|
|
5715
|
+
proposal: plan.slice(0, maxLen),
|
|
5716
|
+
strategy: config?.strategy ?? DEFAULT_STRATEGY,
|
|
5717
|
+
simulateVotes: config?.simulateVotes ?? false,
|
|
5718
|
+
quickMode: config?.quickMode ?? false
|
|
5719
|
+
};
|
|
5720
|
+
}
|
|
5721
|
+
async function executeSingleVote(plan, config, log) {
|
|
5722
|
+
try {
|
|
5723
|
+
const { executeVoting } = await import("./consensus-vote-COW34Q2Y.js");
|
|
5724
|
+
const input = buildVotingInput(plan, config);
|
|
5725
|
+
const result = await executeVoting(input, log);
|
|
5726
|
+
return parseVotingResult(result);
|
|
5727
|
+
} catch (error) {
|
|
5728
|
+
const msg = error instanceof Error ? error.message : String(error);
|
|
5729
|
+
log.warn("Vote execution failed, auto-approving", { error: msg });
|
|
5730
|
+
return { kind: "approved", approvalPercentage: 0 };
|
|
5731
|
+
}
|
|
5732
|
+
}
|
|
5733
|
+
function parseVotingResult(result) {
|
|
5734
|
+
const approved = result.result.outcome === "approved";
|
|
5735
|
+
const total = Math.max(1, result.result.voteCounts.approve + result.result.voteCounts.reject);
|
|
5736
|
+
const pct = result.result.voteCounts.approve / total * 100;
|
|
5737
|
+
if (approved) {
|
|
5738
|
+
return { kind: "approved", approvalPercentage: pct };
|
|
5739
|
+
}
|
|
5740
|
+
const feedback = result.votes.filter((v) => v.vote.decision !== "approve").map((v) => v.vote.reasoning).join("\n");
|
|
5741
|
+
return { kind: "rejected", feedback, approvalPercentage: pct };
|
|
5742
|
+
}
|
|
5743
|
+
|
|
5744
|
+
// src/pipeline/incomplete-result.ts
|
|
5745
|
+
function isIncompleteResult(value) {
|
|
5746
|
+
if (typeof value !== "object" || value === null) return false;
|
|
5747
|
+
const obj = value;
|
|
5748
|
+
return typeof obj["stageId"] === "string" && typeof obj["severity"] === "string" && typeof obj["justification"] === "string" && typeof obj["canProceed"] === "boolean" && Array.isArray(obj["missing"]);
|
|
5749
|
+
}
|
|
5750
|
+
function createIncompleteResult(stageId, partialOutput, missing, severity, justification) {
|
|
5751
|
+
return {
|
|
5752
|
+
stageId,
|
|
5753
|
+
partialOutput,
|
|
5754
|
+
missing,
|
|
5755
|
+
severity,
|
|
5756
|
+
justification,
|
|
5757
|
+
canProceed: severity !== "critical"
|
|
5758
|
+
};
|
|
5759
|
+
}
|
|
5760
|
+
function canPipelineProceed(results) {
|
|
5761
|
+
return results.every((r) => r.canProceed);
|
|
5762
|
+
}
|
|
5763
|
+
function filterBySeverity(results, minSeverity) {
|
|
5764
|
+
const severityOrder = {
|
|
5765
|
+
info: 0,
|
|
5766
|
+
warning: 1,
|
|
5767
|
+
error: 2,
|
|
5768
|
+
critical: 3
|
|
5769
|
+
};
|
|
5770
|
+
const threshold = severityOrder[minSeverity];
|
|
5771
|
+
return results.filter((r) => severityOrder[r.severity] >= threshold);
|
|
5772
|
+
}
|
|
5773
|
+
|
|
5774
|
+
// src/pipeline/dynamic-expert.ts
|
|
5775
|
+
var logger8 = createLogger({ component: "dynamic-expert" });
|
|
5776
|
+
var MAX_DYNAMIC_EXPERTS = 2;
|
|
5777
|
+
var DynamicExpertManager = class {
|
|
5778
|
+
experts = [];
|
|
5779
|
+
maxExperts;
|
|
5780
|
+
constructor(maxExperts = MAX_DYNAMIC_EXPERTS) {
|
|
5781
|
+
this.maxExperts = maxExperts;
|
|
5782
|
+
}
|
|
5783
|
+
/** Create a new dynamic expert. Returns null if limit reached. */
|
|
5784
|
+
create(spec) {
|
|
5785
|
+
if (this.experts.length >= this.maxExperts) {
|
|
5786
|
+
logger8.warn("Dynamic expert limit reached", {
|
|
5787
|
+
limit: this.maxExperts,
|
|
5788
|
+
requested: spec.id
|
|
5789
|
+
});
|
|
5790
|
+
return null;
|
|
5791
|
+
}
|
|
5792
|
+
if (spec.id.trim() === "" || spec.name.trim() === "") {
|
|
5793
|
+
logger8.warn("Invalid dynamic expert spec", { id: spec.id });
|
|
5794
|
+
return null;
|
|
5795
|
+
}
|
|
5796
|
+
if (this.experts.some((e) => e.spec.id === spec.id)) {
|
|
5797
|
+
logger8.warn("Duplicate dynamic expert ID", { id: spec.id });
|
|
5798
|
+
return null;
|
|
5799
|
+
}
|
|
5800
|
+
const expert = {
|
|
5801
|
+
spec,
|
|
5802
|
+
createdAt: Date.now(),
|
|
5803
|
+
promoted: false
|
|
5804
|
+
};
|
|
5805
|
+
this.experts.push(expert);
|
|
5806
|
+
logger8.info("Dynamic expert created", {
|
|
5807
|
+
id: spec.id,
|
|
5808
|
+
name: spec.name,
|
|
5809
|
+
total: this.experts.length,
|
|
5810
|
+
max: this.maxExperts
|
|
5811
|
+
});
|
|
5812
|
+
return expert;
|
|
5813
|
+
}
|
|
5814
|
+
/** Get all created experts. */
|
|
5815
|
+
list() {
|
|
5816
|
+
return [...this.experts];
|
|
5817
|
+
}
|
|
5818
|
+
/** Get an expert by ID. */
|
|
5819
|
+
get(id) {
|
|
5820
|
+
return this.experts.find((e) => e.spec.id === id);
|
|
5821
|
+
}
|
|
5822
|
+
/** How many more experts can be created. */
|
|
5823
|
+
get remaining() {
|
|
5824
|
+
return Math.max(0, this.maxExperts - this.experts.length);
|
|
5825
|
+
}
|
|
5826
|
+
/** Whether the limit has been reached. */
|
|
5827
|
+
get atLimit() {
|
|
5828
|
+
return this.experts.length >= this.maxExperts;
|
|
5829
|
+
}
|
|
5830
|
+
};
|
|
5831
|
+
|
|
5605
5832
|
// src/replay/replay-executor.ts
|
|
5606
|
-
var
|
|
5833
|
+
var logger9 = createLogger({ component: "ReplayExecutor" });
|
|
5607
5834
|
export {
|
|
5608
5835
|
ALLOWED_COMMANDS,
|
|
5609
5836
|
ARTIFACT_TYPES,
|
|
5837
|
+
AUDIT_PIPELINE_TEMPLATE,
|
|
5610
5838
|
AbTestTracker,
|
|
5611
5839
|
ActivationStrategySchema,
|
|
5612
5840
|
AdapterConfigSchema,
|
|
@@ -5752,6 +5980,7 @@ export {
|
|
|
5752
5980
|
DEFAULT_VOTING_PROTOCOL_CONFIG,
|
|
5753
5981
|
DEFAULT_WAVE_CONFIG,
|
|
5754
5982
|
DEFAULT_WEIGHTED_VOTING_CONFIG,
|
|
5983
|
+
DEV_PIPELINE_TEMPLATE,
|
|
5755
5984
|
DagEdgeSchema,
|
|
5756
5985
|
Dashboard,
|
|
5757
5986
|
DashboardConfigSchema,
|
|
@@ -5763,6 +5992,7 @@ export {
|
|
|
5763
5992
|
DependencyGraph,
|
|
5764
5993
|
DirectedInteractionGraph,
|
|
5765
5994
|
DocumentationExpert,
|
|
5995
|
+
DynamicExpertManager,
|
|
5766
5996
|
END,
|
|
5767
5997
|
EXPERT_CAPABILITIES,
|
|
5768
5998
|
EXPERT_DEFAULT_CAPABILITIES,
|
|
@@ -5808,6 +6038,7 @@ export {
|
|
|
5808
6038
|
ForestStatisticsSchema,
|
|
5809
6039
|
GEMINI_MODELS,
|
|
5810
6040
|
GEMINI_MODEL_ALIASES,
|
|
6041
|
+
GENERAL_PIPELINE_TEMPLATE,
|
|
5811
6042
|
GeminiAdapter,
|
|
5812
6043
|
GeminiCliAdapter,
|
|
5813
6044
|
GeminiResponseParser,
|
|
@@ -5848,6 +6079,7 @@ export {
|
|
|
5848
6079
|
LockedWriter,
|
|
5849
6080
|
LoggingConfigSchema,
|
|
5850
6081
|
MANIPULATION_CATEGORY,
|
|
6082
|
+
MAX_DYNAMIC_EXPERTS,
|
|
5851
6083
|
MAX_EXECUTION_TIME_MS,
|
|
5852
6084
|
MIN_EXPERTS_FOR_PATTERN,
|
|
5853
6085
|
MODEL_CAPABILITIES,
|
|
@@ -5888,6 +6120,8 @@ export {
|
|
|
5888
6120
|
OutcomeStore,
|
|
5889
6121
|
TaskOutcomeSchema as OutcomeTaskSchema,
|
|
5890
6122
|
PIPELINE_EVENT_TYPES,
|
|
6123
|
+
PIPELINE_STATE_KEYS,
|
|
6124
|
+
PIPELINE_TEMPLATES,
|
|
5891
6125
|
PLUGIN_TRUST_LEVELS,
|
|
5892
6126
|
PRIVACY_CATEGORY,
|
|
5893
6127
|
PROMPT_DEFINITIONS,
|
|
@@ -5925,6 +6159,7 @@ export {
|
|
|
5925
6159
|
QueryTraceInputSchema,
|
|
5926
6160
|
REJECTION_CATEGORIES,
|
|
5927
6161
|
REPO_COMPLEXITY,
|
|
6162
|
+
RESEARCH_PIPELINE_TEMPLATE,
|
|
5928
6163
|
RISK_AWARENESS_CATEGORY,
|
|
5929
6164
|
ROBUSTNESS_CATEGORY,
|
|
5930
6165
|
ROLE_DEFAULT_TRUST,
|
|
@@ -5994,6 +6229,7 @@ export {
|
|
|
5994
6229
|
SessionStatusSchema,
|
|
5995
6230
|
SharedConclusionSchema,
|
|
5996
6231
|
SharedInsightSchema,
|
|
6232
|
+
SharedMemoryStore,
|
|
5997
6233
|
SimpleAgent,
|
|
5998
6234
|
SimpleMajorityStrategy,
|
|
5999
6235
|
AgentRoleSchema as SkillAgentRoleSchema,
|
|
@@ -6136,6 +6372,7 @@ export {
|
|
|
6136
6372
|
canApplyPatch,
|
|
6137
6373
|
canExecuteSkill,
|
|
6138
6374
|
canInfluenceDecisions,
|
|
6375
|
+
canPipelineProceed,
|
|
6139
6376
|
canProceed,
|
|
6140
6377
|
cancelExecution,
|
|
6141
6378
|
categorizeOutcomeError,
|
|
@@ -6145,6 +6382,7 @@ export {
|
|
|
6145
6382
|
checkPipelinePolicy,
|
|
6146
6383
|
checkpointToResult,
|
|
6147
6384
|
chunkByDirectory,
|
|
6385
|
+
classifyTask,
|
|
6148
6386
|
classifyTrust,
|
|
6149
6387
|
cleanupCheckpoint,
|
|
6150
6388
|
clearRegistryCache,
|
|
@@ -6155,6 +6393,7 @@ export {
|
|
|
6155
6393
|
collectRealVotes,
|
|
6156
6394
|
collectStream,
|
|
6157
6395
|
compareProportions,
|
|
6396
|
+
compilePipelineGraph,
|
|
6158
6397
|
compilePlan,
|
|
6159
6398
|
compileSpecToGraph,
|
|
6160
6399
|
computeAdaptiveThresholds,
|
|
@@ -6196,6 +6435,7 @@ export {
|
|
|
6196
6435
|
createDefaultRegistry,
|
|
6197
6436
|
createDelegatePipeline,
|
|
6198
6437
|
createDependencyError,
|
|
6438
|
+
createDevStageRegistry,
|
|
6199
6439
|
createDocumentationExpert,
|
|
6200
6440
|
createDryRunHandler,
|
|
6201
6441
|
createEmptyContext,
|
|
@@ -6214,6 +6454,7 @@ export {
|
|
|
6214
6454
|
createGraphAuditBridge,
|
|
6215
6455
|
createHarnessExecutor,
|
|
6216
6456
|
createHigherOrderVotingStrategy,
|
|
6457
|
+
createIncompleteResult,
|
|
6217
6458
|
createInitialCostMetrics,
|
|
6218
6459
|
createInitialProgress,
|
|
6219
6460
|
createInitialSessionMetrics,
|
|
@@ -6304,9 +6545,13 @@ export {
|
|
|
6304
6545
|
emitGraphExecutionEvent,
|
|
6305
6546
|
emitNodeResults,
|
|
6306
6547
|
emitNodeStarted,
|
|
6548
|
+
emitPipelineStageEvent,
|
|
6307
6549
|
emitPolicyEvent,
|
|
6308
6550
|
emitReputationEvent,
|
|
6309
6551
|
emitSanitizationEvent,
|
|
6552
|
+
emitStageCompleted,
|
|
6553
|
+
emitStageFailed,
|
|
6554
|
+
emitStageStarted,
|
|
6310
6555
|
emitStateUpdated,
|
|
6311
6556
|
emitStepCompleted,
|
|
6312
6557
|
emitThresholdUpdate,
|
|
@@ -6343,10 +6588,12 @@ export {
|
|
|
6343
6588
|
extractRepoFromInstanceId,
|
|
6344
6589
|
extractRepoName,
|
|
6345
6590
|
extractSessionId,
|
|
6591
|
+
extractStateValue,
|
|
6346
6592
|
extractStringArrayField,
|
|
6347
6593
|
extractStringField,
|
|
6348
6594
|
filterAvailableModels,
|
|
6349
6595
|
filterByRepo,
|
|
6596
|
+
filterBySeverity,
|
|
6350
6597
|
filterByVersion,
|
|
6351
6598
|
filterStream,
|
|
6352
6599
|
findActiveSession,
|
|
@@ -6407,6 +6654,7 @@ export {
|
|
|
6407
6654
|
getStepResult,
|
|
6408
6655
|
getSwarmObserver,
|
|
6409
6656
|
getSwebenchVersion,
|
|
6657
|
+
getTemplate,
|
|
6410
6658
|
getTestCasesByTags,
|
|
6411
6659
|
getTimeoutForTask,
|
|
6412
6660
|
getTimeoutForTaskAuto,
|
|
@@ -6424,6 +6672,7 @@ export {
|
|
|
6424
6672
|
isCliAvailable,
|
|
6425
6673
|
isRetryableError as isCliRetryableError,
|
|
6426
6674
|
isErr,
|
|
6675
|
+
isIncompleteResult,
|
|
6427
6676
|
isMutatingAction,
|
|
6428
6677
|
isOk,
|
|
6429
6678
|
isReadOnlyAction,
|
|
@@ -6432,6 +6681,7 @@ export {
|
|
|
6432
6681
|
isStepCompleted,
|
|
6433
6682
|
isZodError,
|
|
6434
6683
|
listInstances,
|
|
6684
|
+
listTemplateIds,
|
|
6435
6685
|
loadCheckpointState,
|
|
6436
6686
|
loadDataset,
|
|
6437
6687
|
loadTemplateFile,
|
|
@@ -6524,10 +6774,13 @@ export {
|
|
|
6524
6774
|
resolveV2Config,
|
|
6525
6775
|
resolveWithFallbacks,
|
|
6526
6776
|
resultToOutcome,
|
|
6777
|
+
runAdaptiveOrchestrator,
|
|
6527
6778
|
runAgentOnInstance,
|
|
6528
6779
|
runBenchmarkInstances,
|
|
6529
6780
|
runBenchmarkParallel,
|
|
6530
6781
|
runDevPipeline,
|
|
6782
|
+
runGraphPipeline,
|
|
6783
|
+
runIterativeConsensus,
|
|
6531
6784
|
runPreconditions,
|
|
6532
6785
|
runSingleInstance,
|
|
6533
6786
|
runTests,
|