snow-flow 2.0.4 → 2.0.6

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.
Files changed (74) hide show
  1. package/dist/config/snow-flow-config.d.ts +1492 -0
  2. package/dist/config/snow-flow-config.js +938 -0
  3. package/dist/coordination/coordination-engine.d.ts +41 -0
  4. package/dist/coordination/coordination-engine.js +324 -0
  5. package/dist/coordination/coordination.test.d.ts +6 -0
  6. package/dist/coordination/example.d.ts +31 -0
  7. package/dist/coordination/example.js +394 -0
  8. package/dist/coordination/execution-patterns.d.ts +43 -0
  9. package/dist/coordination/execution-patterns.js +507 -0
  10. package/dist/coordination/factory.d.ts +94 -0
  11. package/dist/coordination/factory.js +433 -0
  12. package/dist/coordination/index.d.ts +71 -0
  13. package/dist/coordination/index.js +135 -0
  14. package/dist/coordination/progress-monitor.d.ts +71 -0
  15. package/dist/coordination/progress-monitor.js +505 -0
  16. package/dist/coordination/quality-gates.d.ts +124 -0
  17. package/dist/coordination/quality-gates.js +577 -0
  18. package/dist/coordination/shared-memory.d.ts +39 -0
  19. package/dist/coordination/shared-memory.js +289 -0
  20. package/dist/coordination/task-dependencies.d.ts +50 -0
  21. package/dist/coordination/task-dependencies.js +407 -0
  22. package/dist/coordination/team-coordinator.d.ts +59 -0
  23. package/dist/coordination/team-coordinator.js +550 -0
  24. package/dist/coordination/types.d.ts +152 -0
  25. package/dist/coordination/types.js +3 -0
  26. package/dist/memory/hierarchical-memory-system.d.ts +90 -0
  27. package/dist/memory/hierarchical-memory-system.js +400 -0
  28. package/dist/memory/index.d.ts +9 -0
  29. package/dist/memory/index.js +20 -0
  30. package/dist/memory/mcp-integration-example.d.ts +6 -0
  31. package/dist/memory/mcp-integration-example.js +281 -0
  32. package/dist/memory/memory-client.d.ts +199 -0
  33. package/dist/memory/memory-client.js +364 -0
  34. package/dist/memory/memory-manager.d.ts +29 -0
  35. package/dist/memory/memory-manager.js +280 -0
  36. package/dist/memory/memory-operations.d.ts +179 -0
  37. package/dist/memory/memory-operations.js +691 -0
  38. package/dist/memory/memory-system.d.ts +152 -0
  39. package/dist/memory/memory-system.js +632 -0
  40. package/dist/memory/memory-test.d.ts +6 -0
  41. package/dist/memory/memory-test.js +161 -0
  42. package/dist/memory/servicenow-artifact-indexer.d.ts +119 -0
  43. package/dist/memory/servicenow-artifact-indexer.js +560 -0
  44. package/dist/memory/snow-flow-memory-patterns.d.ts +213 -0
  45. package/dist/memory/snow-flow-memory-patterns.js +200 -0
  46. package/dist/memory/snow-memory.d.ts +54 -0
  47. package/dist/memory/snow-memory.js +301 -0
  48. package/dist/memory/swarm-memory.d.ts +135 -0
  49. package/dist/memory/swarm-memory.js +378 -0
  50. package/memory/claude-flow-data.json +5 -0
  51. package/memory/servicenow_artifacts/000d9224c895221055906c7518aa2d3d.json +30 -0
  52. package/memory/servicenow_artifacts/0196b66173303010e46b4a2214f6a7a2.json +36 -0
  53. package/memory/servicenow_artifacts/125e5d1d837e2a102a7ea130ceaad397.json +30 -0
  54. package/memory/servicenow_artifacts/7637c1f2b7112210a5e5911cde11a972.json +30 -0
  55. package/memory/servicenow_artifacts/default_documentation_tables_1754056582292.json +55 -0
  56. package/memory/servicenow_artifacts/default_documentation_tables_1754057477189.json +55 -0
  57. package/memory/sessions/README.md +32 -0
  58. package/memory/update-set-sessions/01f82af583faea102a7ea130ceaad3d4.json +9 -0
  59. package/memory/update-set-sessions/27718fb983faea102a7ea130ceaad34b.json +9 -0
  60. package/memory/update-set-sessions/412e9bf6833e22502a7ea130ceaad30a.json +8 -0
  61. package/memory/update-set-sessions/66fc5a79837aea102a7ea130ceaad3ab.json +9 -0
  62. package/memory/update-set-sessions/71a30ff5837eea102a7ea130ceaad37f.json +9 -0
  63. package/memory/update-set-sessions/74fba27983faea102a7ea130ceaad3bd.json +9 -0
  64. package/memory/update-set-sessions/a0b147b5837eea102a7ea130ceaad344.json +58 -0
  65. package/memory/update-set-sessions/b13f5eb983baea102a7ea130ceaad33e.json +9 -0
  66. package/package.json +1 -1
  67. package/reports/swarm-auto-centralized-1752649029776.json +13 -0
  68. package/scripts/postinstall.js +30 -0
  69. package/scripts/update-version.js +31 -0
  70. package/servicenow/widgets/openai_incident_classifier/client_controller.js +284 -0
  71. package/servicenow/widgets/openai_incident_classifier/server_script.js +314 -0
  72. package/servicenow/widgets/openai_incident_classifier/style.css +354 -0
  73. package/servicenow/widgets/openai_incident_classifier/template.html +167 -0
  74. package/servicenow/widgets/openai_incident_classifier/widget.json +86 -0
@@ -0,0 +1,394 @@
1
+ "use strict";
2
+ /**
3
+ * Comprehensive example of using the Team Coordination Framework
4
+ * for ServiceNow development workflows
5
+ */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.exampleWidgetDevelopment = exampleWidgetDevelopment;
8
+ exports.exampleFlowDevelopment = exampleFlowDevelopment;
9
+ exports.exampleAdvancedCoordination = exampleAdvancedCoordination;
10
+ exports.exampleProgressMonitoring = exampleProgressMonitoring;
11
+ exports.runAllExamples = runAllExamples;
12
+ exports.createMockTeam = createMockTeam;
13
+ const index_1 = require("./index");
14
+ /**
15
+ * Example: ServiceNow Widget Development with Team Coordination
16
+ */
17
+ async function exampleWidgetDevelopment() {
18
+ console.log('🚀 Starting ServiceNow Widget Development Example');
19
+ // 1. Create ServiceNow coordination setup
20
+ const { engine, qualityGates, progressListener, taskBuilder } = (0, index_1.createServiceNowCoordinationSetup)({
21
+ maxConcurrentTasks: 6,
22
+ enableAdvancedQualityGates: true,
23
+ progressLogging: true
24
+ });
25
+ // 2. Create mock team of specialized agents
26
+ const team = createMockTeam();
27
+ // 3. Add progress monitoring
28
+ const monitor = engine.getSharedMemory();
29
+ // Subscribe to progress events
30
+ engine.on('coordination:started', (data) => {
31
+ console.log('🎯 Coordination started:', data);
32
+ });
33
+ engine.on('task:completed', ({ taskId, result }) => {
34
+ console.log(`✅ Task completed: ${taskId}`);
35
+ });
36
+ engine.on('task:failed', ({ taskId, error }) => {
37
+ console.error(`❌ Task failed: ${taskId}`, error.message);
38
+ });
39
+ engine.on('phase:completed', ({ phase, type, progress }) => {
40
+ console.log(`🏁 Phase ${phase} (${type}) completed - ${Math.round(progress * 100)}% done`);
41
+ });
42
+ engine.on('coordination:completed', ({ results, metrics }) => {
43
+ console.log('🎉 Coordination completed!');
44
+ console.log('📊 Metrics:', {
45
+ totalTasks: metrics.totalTasks,
46
+ completedTasks: metrics.completedTasks,
47
+ totalTime: `${Math.round(metrics.totalExecutionTime / 1000)}s`,
48
+ averageTaskTime: `${Math.round(metrics.averageTaskTime / 1000)}s`
49
+ });
50
+ });
51
+ // 4. Build task specification for incident dashboard widget
52
+ const specification = taskBuilder('incident-dashboard-widget', 'Create a comprehensive incident dashboard widget for ServiceNow')
53
+ .addWidgetDevelopmentTasks('incident_dashboard')
54
+ .addContext('servicenow_instance', 'dev123456')
55
+ .addContext('update_set', 'incident_dashboard_us_001')
56
+ .addContext('widget_requirements', {
57
+ type: 'dashboard',
58
+ data_source: 'incident',
59
+ refresh_interval: 30,
60
+ features: ['real-time updates', 'filtering', 'charts']
61
+ })
62
+ .setExecutionPattern('hybrid')
63
+ .build();
64
+ console.log('📋 Task Specification:', {
65
+ name: specification.name,
66
+ tasks: specification.tasks.length,
67
+ executionPattern: specification.executionPattern
68
+ });
69
+ try {
70
+ // 5. Execute coordination
71
+ const result = await engine.coordinateTeamExecution(team, specification);
72
+ if (result.success) {
73
+ console.log('✅ Widget development completed successfully!');
74
+ console.log('📦 Deliverables:');
75
+ Object.entries(result.results).forEach(([taskId, taskResult]) => {
76
+ console.log(` - ${taskId}: ${Object.keys(taskResult.outputs || {}).join(', ')}`);
77
+ });
78
+ }
79
+ else {
80
+ console.error('❌ Widget development failed:', result.errors);
81
+ }
82
+ }
83
+ catch (error) {
84
+ console.error('💥 Coordination failed:', error.message);
85
+ }
86
+ }
87
+ /**
88
+ * Example: ServiceNow Flow Development with Parallel Execution
89
+ */
90
+ async function exampleFlowDevelopment() {
91
+ console.log('🚀 Starting ServiceNow Flow Development Example');
92
+ // Create framework with parallel execution preference
93
+ const framework = new index_1.CoordinationFramework({
94
+ maxConcurrentTasks: 8,
95
+ enableQualityGates: true,
96
+ executionPattern: 'parallel'
97
+ });
98
+ const team = createMockTeam();
99
+ // Build complex flow specification
100
+ const specification = (0, index_1.createServiceNowTaskSpecification)('user-provisioning-flow', 'Create comprehensive user provisioning automation flow')
101
+ .addFlowDevelopmentTasks('user_provisioning_flow')
102
+ .addTask({
103
+ id: 'create_approval_step',
104
+ name: 'Create Approval Step',
105
+ description: 'Design and implement approval workflow step',
106
+ agentType: 'workflow-designer',
107
+ requirements: {
108
+ inputs: { approvalType: 'manager_approval' },
109
+ outputs: ['approvalStep', 'approvalLogic'],
110
+ capabilities: ['workflow', 'approval', 'servicenow']
111
+ },
112
+ dependencies: ['design_flow']
113
+ })
114
+ .addTask({
115
+ id: 'integrate_ldap',
116
+ name: 'Integrate LDAP',
117
+ description: 'Configure LDAP integration for user data',
118
+ agentType: 'integration-specialist',
119
+ requirements: {
120
+ inputs: { ldapConfig: 'corporate_ldap' },
121
+ outputs: ['ldapIntegration'],
122
+ capabilities: ['ldap', 'integration', 'servicenow']
123
+ },
124
+ dependencies: ['design_flow']
125
+ })
126
+ .addTask({
127
+ id: 'setup_notifications',
128
+ name: 'Setup Notifications',
129
+ description: 'Configure email notifications for the flow',
130
+ agentType: 'servicenow-specialist',
131
+ requirements: {
132
+ inputs: { notificationTemplates: 'standard' },
133
+ outputs: ['notificationConfig'],
134
+ capabilities: ['email', 'notifications', 'servicenow']
135
+ },
136
+ dependencies: ['implement_flow']
137
+ })
138
+ .addContext('servicenow_instance', 'prod12345')
139
+ .addContext('integration_environment', 'production')
140
+ .addContext('compliance_level', 'high')
141
+ .setExecutionPattern('hybrid')
142
+ .build();
143
+ try {
144
+ const result = await framework.coordinate(team, specification);
145
+ if (result.success) {
146
+ console.log('✅ Flow development completed successfully!');
147
+ // Display execution metrics
148
+ console.log('📊 Execution Metrics:', {
149
+ parallelTasks: result.metrics.concurrentTasks,
150
+ efficiency: `${Math.round((result.metrics.completedTasks / result.metrics.totalTasks) * 100)}%`,
151
+ totalTime: `${Math.round(result.metrics.totalExecutionTime / 1000)}s`
152
+ });
153
+ }
154
+ }
155
+ catch (error) {
156
+ console.error('💥 Flow development failed:', error.message);
157
+ }
158
+ }
159
+ /**
160
+ * Example: Advanced Coordination with Custom Quality Gates
161
+ */
162
+ async function exampleAdvancedCoordination() {
163
+ console.log('🚀 Starting Advanced Coordination Example');
164
+ const { engine, qualityGates } = (0, index_1.createServiceNowCoordinationSetup)({
165
+ maxConcurrentTasks: 4,
166
+ enableAdvancedQualityGates: true
167
+ });
168
+ // Add custom quality gate
169
+ class ComplianceGate {
170
+ constructor() {
171
+ this.name = 'SOX Compliance';
172
+ this.blocking = true;
173
+ }
174
+ async validate(result) {
175
+ const issues = [];
176
+ let score = 1.0;
177
+ // Check SOX compliance requirements
178
+ if (!result.auditTrail) {
179
+ issues.push('Missing audit trail for SOX compliance');
180
+ score -= 0.5;
181
+ }
182
+ if (!result.accessControls) {
183
+ issues.push('Missing access controls documentation');
184
+ score -= 0.3;
185
+ }
186
+ if (!result.changeApproval) {
187
+ issues.push('Missing change approval documentation');
188
+ score -= 0.4;
189
+ }
190
+ return {
191
+ passed: issues.length === 0,
192
+ score,
193
+ error: issues.length > 0 ? issues.join('; ') : undefined,
194
+ suggestions: [
195
+ 'Document all changes for audit trail',
196
+ 'Implement proper access controls',
197
+ 'Get proper change approval'
198
+ ]
199
+ };
200
+ }
201
+ }
202
+ // Add custom gate to quality manager
203
+ qualityGates.addGate('deploy_production_flow', new ComplianceGate());
204
+ const team = createMockTeam();
205
+ const specification = (0, index_1.createServiceNowTaskSpecification)('production-deployment', 'Deploy flow to production with full compliance checks')
206
+ .addTask({
207
+ id: 'prepare_deployment',
208
+ name: 'Prepare Deployment',
209
+ description: 'Prepare all deployment artifacts',
210
+ agentType: 'servicenow-specialist',
211
+ requirements: {
212
+ outputs: ['deploymentPackage', 'documentation'],
213
+ capabilities: ['deployment', 'documentation']
214
+ }
215
+ })
216
+ .addTask({
217
+ id: 'compliance_review',
218
+ name: 'Compliance Review',
219
+ description: 'Conduct SOX compliance review',
220
+ agentType: 'security-auditor',
221
+ requirements: {
222
+ outputs: ['complianceReport', 'auditTrail'],
223
+ capabilities: ['compliance', 'audit', 'security']
224
+ },
225
+ dependencies: ['prepare_deployment']
226
+ })
227
+ .addTask({
228
+ id: 'deploy_production_flow',
229
+ name: 'Deploy to Production',
230
+ description: 'Deploy flow to production environment',
231
+ agentType: 'servicenow-specialist',
232
+ requirements: {
233
+ outputs: ['deploymentResult', 'accessControls', 'changeApproval'],
234
+ capabilities: ['deployment', 'production']
235
+ },
236
+ dependencies: ['compliance_review']
237
+ })
238
+ .addContext('environment', 'production')
239
+ .addContext('compliance_framework', 'SOX')
240
+ .setExecutionPattern('sequential') // Sequential for production safety
241
+ .build();
242
+ try {
243
+ const result = await engine.coordinateTeamExecution(team, specification);
244
+ if (result.success) {
245
+ console.log('✅ Production deployment completed with full compliance!');
246
+ }
247
+ else {
248
+ console.error('❌ Deployment failed compliance checks:', result.errors);
249
+ }
250
+ }
251
+ catch (error) {
252
+ console.error('💥 Advanced coordination failed:', error.message);
253
+ }
254
+ }
255
+ /**
256
+ * Example: Real-time Progress Monitoring
257
+ */
258
+ async function exampleProgressMonitoring() {
259
+ console.log('🚀 Starting Progress Monitoring Example');
260
+ const framework = new index_1.CoordinationFramework({
261
+ enableProgressMonitoring: true,
262
+ maxConcurrentTasks: 5
263
+ });
264
+ // Create custom progress listener
265
+ const progressListener = {
266
+ onProgress(event, data) {
267
+ switch (event) {
268
+ case 'task_progress':
269
+ console.log(`📊 Progress: ${data.percentage}% (${data.completed}/${data.total}) - Phase: ${data.currentPhase}`);
270
+ if (data.bottlenecks && data.bottlenecks.length > 0) {
271
+ console.warn('🚧 Bottlenecks detected:', data.bottlenecks);
272
+ }
273
+ break;
274
+ case 'agent_health':
275
+ const unhealthyCount = Object.values(data.agents)
276
+ .filter((health) => health.status === 'error').length;
277
+ if (unhealthyCount > 0) {
278
+ console.warn(`⚠️ ${unhealthyCount} agents are unhealthy`);
279
+ }
280
+ break;
281
+ case 'performance_metrics':
282
+ console.log(`⚡ Performance: Efficiency ${Math.round(data.efficiency * 100)}%, Throughput ${data.throughput.toFixed(2)} tasks/sec`);
283
+ break;
284
+ case 'trend_analysis':
285
+ console.log(`📈 Trend: ${data.trend} (${data.progressRate.toFixed(3)} progress/sec)`);
286
+ break;
287
+ }
288
+ }
289
+ };
290
+ // Get framework's progress monitor
291
+ const monitor = framework['engine'].progressMonitor;
292
+ monitor.addListener(progressListener);
293
+ const team = createMockTeam();
294
+ // Create long-running task specification for monitoring demo
295
+ const specification = (0, index_1.createServiceNowTaskSpecification)('monitoring-demo', 'Demonstrate progress monitoring capabilities')
296
+ .addWidgetDevelopmentTasks('monitoring_widget')
297
+ .addFlowDevelopmentTasks('monitoring_flow')
298
+ .addContext('monitoring_demo', true)
299
+ .setExecutionPattern('hybrid')
300
+ .build();
301
+ try {
302
+ const result = await framework.coordinate(team, specification);
303
+ if (result.success) {
304
+ console.log('✅ Monitoring demo completed successfully!');
305
+ // Get detailed progress report
306
+ const report = await monitor.getDetailedReport();
307
+ console.log('📋 Final Report:', {
308
+ overview: report.overview,
309
+ trends: report.trends,
310
+ recommendations: report.recommendations
311
+ });
312
+ }
313
+ }
314
+ catch (error) {
315
+ console.error('💥 Monitoring demo failed:', error.message);
316
+ }
317
+ }
318
+ /**
319
+ * Create a mock team of specialized agents for demonstration
320
+ */
321
+ function createMockTeam() {
322
+ const agents = new Map();
323
+ // Create different types of agents
324
+ const agentConfigs = [
325
+ { id: 'analyst-001', name: 'Sarah (Analyst)', type: 'analyst', capabilities: ['analysis', 'requirements', 'design'] },
326
+ { id: 'ui-builder-001', name: 'Mike (UI Builder)', type: 'ui-builder', capabilities: ['html', 'css', 'javascript', 'ui-design'] },
327
+ { id: 'coder-001', name: 'Alex (Developer)', type: 'coder', capabilities: ['javascript', 'servicenow', 'backend', 'frontend'] },
328
+ { id: 'coder-002', name: 'Emma (Developer)', type: 'coder', capabilities: ['javascript', 'servicenow', 'integration'] },
329
+ { id: 'snow-specialist-001', name: 'David (ServiceNow)', type: 'servicenow-specialist', capabilities: ['servicenow', 'deployment', 'configuration'] },
330
+ { id: 'workflow-designer-001', name: 'Lisa (Workflow)', type: 'workflow-designer', capabilities: ['workflow', 'flow-designer', 'automation'] },
331
+ { id: 'tester-001', name: 'James (Tester)', type: 'tester', capabilities: ['testing', 'qa', 'servicenow'] },
332
+ { id: 'security-auditor-001', name: 'Rachel (Security)', type: 'security-auditor', capabilities: ['security', 'compliance', 'audit'] },
333
+ { id: 'integration-specialist-001', name: 'Tom (Integration)', type: 'integration-specialist', capabilities: ['integration', 'api', 'ldap'] }
334
+ ];
335
+ agentConfigs.forEach(config => {
336
+ const agent = {
337
+ id: config.id,
338
+ name: config.name,
339
+ type: config.type,
340
+ status: 'idle',
341
+ capabilities: config.capabilities,
342
+ metadata: { specialized: true },
343
+ createdAt: new Date(),
344
+ lastActivity: new Date()
345
+ };
346
+ agents.set(config.id, agent);
347
+ });
348
+ // Create team implementation
349
+ const team = {
350
+ agents,
351
+ getAgent(id) {
352
+ return agents.get(id);
353
+ },
354
+ addAgent(agent) {
355
+ agents.set(agent.id, agent);
356
+ },
357
+ removeAgent(id) {
358
+ agents.delete(id);
359
+ },
360
+ getAvailableAgents() {
361
+ return Array.from(agents.values()).filter(agent => agent.status === 'idle');
362
+ },
363
+ getAgentsByType(type) {
364
+ return Array.from(agents.values()).filter(agent => agent.type === type);
365
+ }
366
+ };
367
+ console.log(`👥 Created mock team with ${agents.size} specialized agents`);
368
+ return team;
369
+ }
370
+ /**
371
+ * Run all examples
372
+ */
373
+ async function runAllExamples() {
374
+ console.log('🎬 Starting Team Coordination Framework Examples\n');
375
+ try {
376
+ await exampleWidgetDevelopment();
377
+ console.log('\n' + '='.repeat(80) + '\n');
378
+ await exampleFlowDevelopment();
379
+ console.log('\n' + '='.repeat(80) + '\n');
380
+ await exampleAdvancedCoordination();
381
+ console.log('\n' + '='.repeat(80) + '\n');
382
+ await exampleProgressMonitoring();
383
+ console.log('\n' + '='.repeat(80) + '\n');
384
+ console.log('🎉 All examples completed successfully!');
385
+ }
386
+ catch (error) {
387
+ console.error('💥 Example execution failed:', error.message);
388
+ }
389
+ }
390
+ // Run examples if called directly
391
+ if (require.main === module) {
392
+ runAllExamples().catch(console.error);
393
+ }
394
+ //# sourceMappingURL=example.js.map
@@ -0,0 +1,43 @@
1
+ import { EventEmitter } from 'eventemitter3';
2
+ import { BaseTeam, CoordinationConfig } from './types';
3
+ import { TaskDependencyGraph } from './task-dependencies';
4
+ import { QualityGateManager } from './quality-gates';
5
+ import { ProgressMonitor } from './progress-monitor';
6
+ export declare abstract class ExecutionPattern extends EventEmitter {
7
+ protected qualityGates: QualityGateManager;
8
+ protected progressMonitor: ProgressMonitor;
9
+ protected config: CoordinationConfig;
10
+ constructor(qualityGates: QualityGateManager, progressMonitor: ProgressMonitor, config: CoordinationConfig);
11
+ abstract execute(team: BaseTeam, taskGraph: TaskDependencyGraph): Promise<Record<string, any>>;
12
+ protected executeTaskWithQualityGates(taskId: string, taskGraph: TaskDependencyGraph): Promise<any>;
13
+ protected waitForAvailableSlot(currentTasks: Set<string>): Promise<void>;
14
+ }
15
+ export declare class SequentialExecutionPattern extends ExecutionPattern {
16
+ execute(team: BaseTeam, taskGraph: TaskDependencyGraph): Promise<Record<string, any>>;
17
+ private getSequentialOrder;
18
+ }
19
+ export declare class ParallelExecutionPattern extends ExecutionPattern {
20
+ execute(team: BaseTeam, taskGraph: TaskDependencyGraph): Promise<Record<string, any>>;
21
+ }
22
+ export declare class HybridExecutionPattern extends ExecutionPattern {
23
+ execute(team: BaseTeam, taskGraph: TaskDependencyGraph): Promise<Record<string, any>>;
24
+ private optimizeExecutionPlan;
25
+ private optimizeLargeLevel;
26
+ private executeParallelPhase;
27
+ private executeSequentialPhase;
28
+ private estimateTaskDuration;
29
+ private assessParallelRisk;
30
+ }
31
+ export declare class AdaptiveExecutionPattern extends ExecutionPattern {
32
+ private performanceHistory;
33
+ execute(team: BaseTeam, taskGraph: TaskDependencyGraph): Promise<Record<string, any>>;
34
+ private adaptStrategy;
35
+ private calculateLevelComplexity;
36
+ private executeSequentialLevel;
37
+ private executeParallelLevel;
38
+ private executeHybridLevel;
39
+ private recordPerformanceMetrics;
40
+ private getHistoricalPerformance;
41
+ private assessParallelRisk;
42
+ }
43
+ //# sourceMappingURL=execution-patterns.d.ts.map