elsabro 2.3.0 → 3.8.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.
Files changed (71) hide show
  1. package/README.md +698 -20
  2. package/bin/install.js +0 -0
  3. package/flows/development-flow.json +452 -0
  4. package/flows/quick-flow.json +118 -0
  5. package/hooks/hooks-config-updated.json +285 -0
  6. package/hooks/skill-discovery.sh +539 -0
  7. package/package.json +3 -2
  8. package/references/SYSTEM_INDEX.md +400 -5
  9. package/references/agent-marketplace.md +2274 -0
  10. package/references/agent-protocol.md +1126 -0
  11. package/references/ai-code-suggestions.md +2413 -0
  12. package/references/checkpointing.md +595 -0
  13. package/references/collaboration-patterns.md +851 -0
  14. package/references/collaborative-sessions.md +1081 -0
  15. package/references/configuration-management.md +1810 -0
  16. package/references/cost-tracking.md +1095 -0
  17. package/references/enterprise-sso.md +2001 -0
  18. package/references/error-contracts-v2.md +968 -0
  19. package/references/event-driven.md +1031 -0
  20. package/references/flow-orchestration.md +940 -0
  21. package/references/flow-visualization.md +1557 -0
  22. package/references/ide-integrations.md +3513 -0
  23. package/references/interrupt-system.md +681 -0
  24. package/references/kubernetes-deployment.md +3099 -0
  25. package/references/memory-system.md +683 -0
  26. package/references/mobile-companion.md +3236 -0
  27. package/references/multi-llm-providers.md +2494 -0
  28. package/references/multi-project-memory.md +1182 -0
  29. package/references/observability.md +793 -0
  30. package/references/output-schemas.md +858 -0
  31. package/references/performance-profiler.md +955 -0
  32. package/references/plugin-system.md +1526 -0
  33. package/references/prompt-management.md +292 -0
  34. package/references/sandbox-execution.md +303 -0
  35. package/references/security-system.md +1253 -0
  36. package/references/skill-marketplace-integration.md +3901 -0
  37. package/references/streaming.md +696 -0
  38. package/references/testing-framework.md +1151 -0
  39. package/references/time-travel.md +802 -0
  40. package/references/tool-registry.md +886 -0
  41. package/references/voice-commands.md +3296 -0
  42. package/templates/agent-marketplace-config.json +220 -0
  43. package/templates/agent-protocol-config.json +136 -0
  44. package/templates/ai-suggestions-config.json +100 -0
  45. package/templates/checkpoint-state.json +61 -0
  46. package/templates/collaboration-config.json +157 -0
  47. package/templates/collaborative-sessions-config.json +153 -0
  48. package/templates/configuration-config.json +245 -0
  49. package/templates/cost-tracking-config.json +148 -0
  50. package/templates/enterprise-sso-config.json +438 -0
  51. package/templates/events-config.json +148 -0
  52. package/templates/flow-visualization-config.json +196 -0
  53. package/templates/ide-integrations-config.json +442 -0
  54. package/templates/kubernetes-config.json +764 -0
  55. package/templates/memory-state.json +84 -0
  56. package/templates/mobile-companion-config.json +600 -0
  57. package/templates/multi-llm-config.json +544 -0
  58. package/templates/multi-project-memory-config.json +145 -0
  59. package/templates/observability-config.json +109 -0
  60. package/templates/performance-profiler-config.json +125 -0
  61. package/templates/plugin-config.json +170 -0
  62. package/templates/prompt-management-config.json +86 -0
  63. package/templates/sandbox-config.json +185 -0
  64. package/templates/schemas-config.json +65 -0
  65. package/templates/security-config.json +120 -0
  66. package/templates/skill-marketplace-config.json +441 -0
  67. package/templates/streaming-config.json +72 -0
  68. package/templates/testing-config.json +81 -0
  69. package/templates/timetravel-config.json +62 -0
  70. package/templates/tool-registry-config.json +109 -0
  71. package/templates/voice-commands-config.json +658 -0
@@ -0,0 +1,220 @@
1
+ {
2
+ "marketplace": {
3
+ "enabled": true,
4
+ "version": "3.6.0",
5
+
6
+ "registry": {
7
+ "url": "https://marketplace.elsabro.dev/api/v1",
8
+ "mirrorUrls": [
9
+ "https://marketplace-eu.elsabro.dev/api/v1",
10
+ "https://marketplace-asia.elsabro.dev/api/v1"
11
+ ],
12
+ "timeout": 30000,
13
+ "retryAttempts": 3,
14
+ "cacheEnabled": true,
15
+ "cacheTTL": 3600000
16
+ },
17
+
18
+ "categories": [
19
+ {
20
+ "id": "exploration",
21
+ "name": "Exploration",
22
+ "description": "Agents for codebase analysis and discovery",
23
+ "icon": "search"
24
+ },
25
+ {
26
+ "id": "implementation",
27
+ "name": "Implementation",
28
+ "description": "Agents for code generation and development",
29
+ "icon": "code"
30
+ },
31
+ {
32
+ "id": "review",
33
+ "name": "Review",
34
+ "description": "Agents for code review and quality analysis",
35
+ "icon": "eye"
36
+ },
37
+ {
38
+ "id": "testing",
39
+ "name": "Testing",
40
+ "description": "Agents for test generation and execution",
41
+ "icon": "check-circle"
42
+ },
43
+ {
44
+ "id": "specialized",
45
+ "name": "Specialized",
46
+ "description": "Domain-specific and custom agents",
47
+ "icon": "star"
48
+ }
49
+ ],
50
+
51
+ "search": {
52
+ "enabled": true,
53
+ "maxResults": 50,
54
+ "defaultSort": "relevance",
55
+ "sortOptions": ["relevance", "downloads", "rating", "updated", "name"],
56
+ "filters": {
57
+ "tags": true,
58
+ "rating": true,
59
+ "downloads": true,
60
+ "compatibility": true,
61
+ "verified": true,
62
+ "category": true
63
+ },
64
+ "fuzzyMatching": true,
65
+ "minSearchLength": 2
66
+ },
67
+
68
+ "packaging": {
69
+ "manifestFile": "agent.manifest.json",
70
+ "requiredFields": ["name", "version", "displayName", "description", "author", "main"],
71
+ "maxPackageSize": 52428800,
72
+ "allowedFileTypes": [".js", ".ts", ".json", ".md", ".txt", ".yaml", ".yml"],
73
+ "excludePatterns": ["node_modules/**", ".git/**", "*.log", ".env*"],
74
+ "compressionLevel": 9,
75
+ "checksumAlgorithm": "sha256"
76
+ },
77
+
78
+ "signing": {
79
+ "enabled": true,
80
+ "required": false,
81
+ "algorithm": "ed25519",
82
+ "trustedPublishers": [],
83
+ "keyServer": "https://keys.elsabro.dev",
84
+ "verifyOnInstall": true,
85
+ "allowUnsigned": true,
86
+ "warnUnsigned": true
87
+ },
88
+
89
+ "publishing": {
90
+ "requireAccount": true,
91
+ "requireVerifiedEmail": true,
92
+ "autoReview": true,
93
+ "manualReviewThreshold": 0.7,
94
+ "stages": ["submit", "validate", "review", "approve", "publish"],
95
+ "webhooks": {
96
+ "onSubmit": null,
97
+ "onApprove": null,
98
+ "onPublish": null,
99
+ "onReject": null
100
+ },
101
+ "retentionPolicy": {
102
+ "keepVersions": 10,
103
+ "keepDays": 365
104
+ }
105
+ },
106
+
107
+ "testing": {
108
+ "requiredBeforePublish": true,
109
+ "minCoverage": 60,
110
+ "runSandboxed": true,
111
+ "timeout": 300000,
112
+ "testTypes": ["unit", "integration", "compatibility"],
113
+ "compatibilityMatrix": {
114
+ "elsabroVersions": ["3.4.x", "3.5.x", "3.6.x"],
115
+ "nodeVersions": ["18.x", "20.x", "22.x"]
116
+ }
117
+ },
118
+
119
+ "reviews": {
120
+ "enabled": true,
121
+ "requireInstall": true,
122
+ "minRating": 1,
123
+ "maxRating": 5,
124
+ "allowAnonymous": false,
125
+ "moderationEnabled": true,
126
+ "editWindow": 604800000,
127
+ "responseEnabled": true
128
+ },
129
+
130
+ "metrics": {
131
+ "trackDownloads": true,
132
+ "trackActiveUsers": true,
133
+ "trackSuccessRate": true,
134
+ "trackErrors": true,
135
+ "retentionDays": 90,
136
+ "aggregationInterval": 86400000
137
+ },
138
+
139
+ "installation": {
140
+ "defaultPath": ".elsabro/marketplace-agents",
141
+ "globalPath": "~/.elsabro/global-agents",
142
+ "verifyChecksum": true,
143
+ "verifySignature": true,
144
+ "backupBeforeUpdate": true,
145
+ "rollbackOnFailure": true,
146
+ "maxConcurrentInstalls": 3,
147
+ "lockFile": ".elsabro/agent-lock.json"
148
+ },
149
+
150
+ "dependencies": {
151
+ "autoResolve": true,
152
+ "strategy": "highest-compatible",
153
+ "allowPeerDependencies": true,
154
+ "checkConflicts": true,
155
+ "hoistDependencies": true,
156
+ "lockfileVersion": 1
157
+ },
158
+
159
+ "sandbox": {
160
+ "enabled": true,
161
+ "isolationLevel": "strict",
162
+ "permissions": {
163
+ "filesystem": "restricted",
164
+ "network": "restricted",
165
+ "shell": "denied",
166
+ "env": "restricted"
167
+ },
168
+ "resourceLimits": {
169
+ "memory": 268435456,
170
+ "cpu": 0.75,
171
+ "timeout": 60000
172
+ },
173
+ "allowedHosts": [],
174
+ "blockedHosts": []
175
+ },
176
+
177
+ "updates": {
178
+ "checkOnStartup": true,
179
+ "checkInterval": 86400000,
180
+ "autoUpdate": false,
181
+ "autoUpdateMinor": false,
182
+ "autoUpdatePatch": true,
183
+ "notifyAvailable": true,
184
+ "prereleaseChannel": false
185
+ },
186
+
187
+ "reporting": {
188
+ "enabled": true,
189
+ "types": ["bug", "security", "inappropriate", "license"],
190
+ "requireDescription": true,
191
+ "minDescriptionLength": 50,
192
+ "notifyPublisher": true
193
+ },
194
+
195
+ "cache": {
196
+ "enabled": true,
197
+ "path": ".elsabro/marketplace-cache",
198
+ "maxSize": 524288000,
199
+ "cleanupInterval": 604800000,
200
+ "cachePackages": true,
201
+ "cacheMetadata": true
202
+ },
203
+
204
+ "offline": {
205
+ "enabled": true,
206
+ "useCachedMetadata": true,
207
+ "useCachedPackages": true,
208
+ "syncOnConnect": true
209
+ },
210
+
211
+ "ui": {
212
+ "showRatings": true,
213
+ "showDownloads": true,
214
+ "showLastUpdated": true,
215
+ "showVerifiedBadge": true,
216
+ "previewEnabled": true,
217
+ "defaultView": "grid"
218
+ }
219
+ }
220
+ }
@@ -0,0 +1,136 @@
1
+ {
2
+ "agentProtocol": {
3
+ "enabled": true,
4
+ "version": "1.0.0",
5
+
6
+ "server": {
7
+ "port": 8080,
8
+ "host": "localhost",
9
+ "basePath": "/api/v1",
10
+ "shutdownTimeout": 5000
11
+ },
12
+
13
+ "agent": {
14
+ "name": "ELSABRO",
15
+ "version": "3.2.0",
16
+ "description": "AI-powered development orchestration framework",
17
+ "capabilities": [
18
+ "checkpointing",
19
+ "multi-level-memory",
20
+ "flow-orchestration",
21
+ "error-contracts",
22
+ "interrupts",
23
+ "observability",
24
+ "streaming",
25
+ "output-schemas",
26
+ "time-travel",
27
+ "agent-protocol"
28
+ ]
29
+ },
30
+
31
+ "artifacts": {
32
+ "directory": ".elsabro/artifacts",
33
+ "maxSizeBytes": 104857600,
34
+ "allowedTypes": [
35
+ "application/json",
36
+ "text/plain",
37
+ "text/markdown",
38
+ "text/typescript",
39
+ "text/javascript",
40
+ "application/pdf",
41
+ "image/png",
42
+ "image/jpeg",
43
+ "application/zip"
44
+ ],
45
+ "retention": {
46
+ "enabled": true,
47
+ "maxAgeDays": 30,
48
+ "maxTotalSizeBytes": 1073741824
49
+ }
50
+ },
51
+
52
+ "cors": {
53
+ "enabled": true,
54
+ "origins": ["*"],
55
+ "methods": ["GET", "POST", "PUT", "DELETE", "OPTIONS"],
56
+ "allowedHeaders": ["Content-Type", "Authorization"],
57
+ "credentials": false
58
+ },
59
+
60
+ "auth": {
61
+ "enabled": false,
62
+ "type": "bearer",
63
+ "token": null,
64
+ "apiKeyHeader": "X-API-Key"
65
+ },
66
+
67
+ "websocket": {
68
+ "enabled": true,
69
+ "path": "/ws",
70
+ "pingInterval": 30000,
71
+ "maxConnections": 100
72
+ },
73
+
74
+ "rateLimit": {
75
+ "enabled": true,
76
+ "windowMs": 60000,
77
+ "maxRequests": 100,
78
+ "skipFailedRequests": false,
79
+ "keyGenerator": "ip"
80
+ },
81
+
82
+ "logging": {
83
+ "enabled": true,
84
+ "level": "info",
85
+ "includeBody": false,
86
+ "excludePaths": ["/health", "/metrics"]
87
+ },
88
+
89
+ "health": {
90
+ "enabled": true,
91
+ "path": "/health",
92
+ "checks": ["memory", "disk", "agents"]
93
+ },
94
+
95
+ "metrics": {
96
+ "enabled": true,
97
+ "path": "/metrics",
98
+ "format": "prometheus"
99
+ },
100
+
101
+ "tasks": {
102
+ "maxConcurrent": 10,
103
+ "defaultTimeout": 300000,
104
+ "cleanupAfterMs": 86400000
105
+ },
106
+
107
+ "steps": {
108
+ "maxPerTask": 1000,
109
+ "defaultTimeout": 60000,
110
+ "autoSaveCheckpoint": true
111
+ },
112
+
113
+ "integration": {
114
+ "flowEngine": {
115
+ "enabled": true,
116
+ "defaultFlow": "development-flow"
117
+ },
118
+ "checkpointManager": {
119
+ "enabled": true,
120
+ "autoCheckpoint": true
121
+ },
122
+ "memoryManager": {
123
+ "enabled": true,
124
+ "persistContext": true
125
+ },
126
+ "streamManager": {
127
+ "enabled": true,
128
+ "broadcastProgress": true
129
+ },
130
+ "telemetryManager": {
131
+ "enabled": true,
132
+ "traceRequests": true
133
+ }
134
+ }
135
+ }
136
+ }
@@ -0,0 +1,100 @@
1
+ {
2
+ "aiCodeSuggestions": {
3
+ "enabled": true,
4
+ "version": "3.7.0",
5
+
6
+ "engine": {
7
+ "model": "claude-3-sonnet",
8
+ "fallbackModel": "claude-3-haiku",
9
+ "maxTokens": 2048,
10
+ "temperature": 0.2,
11
+ "timeout": 5000,
12
+ "retries": 2
13
+ },
14
+
15
+ "context": {
16
+ "maxFileSize": 100000,
17
+ "includeImports": true,
18
+ "includeTypes": true,
19
+ "siblingFiles": 3,
20
+ "historyDepth": 10
21
+ },
22
+
23
+ "completion": {
24
+ "enabled": true,
25
+ "triggerChars": [".", "(", "{", "[", "\"", "'", "`", "/"],
26
+ "debounceMs": 150,
27
+ "maxSuggestions": 5,
28
+ "multiLine": true,
29
+ "fillInMiddle": true,
30
+ "ghostText": true
31
+ },
32
+
33
+ "refactoring": {
34
+ "enabled": true,
35
+ "autoDetect": true,
36
+ "minComplexity": 10,
37
+ "extractFunction": true,
38
+ "extractVariable": true,
39
+ "renameSymbol": true,
40
+ "moveToFile": true
41
+ },
42
+
43
+ "patterns": {
44
+ "enabled": true,
45
+ "antiPatterns": true,
46
+ "codeSmells": true,
47
+ "solidViolations": true,
48
+ "frameworkPatterns": ["react", "vue", "angular", "express"]
49
+ },
50
+
51
+ "documentation": {
52
+ "enabled": true,
53
+ "style": "jsdoc",
54
+ "includeExamples": true,
55
+ "includeParams": true,
56
+ "includeReturns": true,
57
+ "readme": true,
58
+ "changelog": true
59
+ },
60
+
61
+ "testing": {
62
+ "enabled": true,
63
+ "framework": "jest",
64
+ "coverage": 80,
65
+ "edgeCases": true,
66
+ "mocks": true,
67
+ "integration": true
68
+ },
69
+
70
+ "security": {
71
+ "enabled": true,
72
+ "owaspTop10": true,
73
+ "secretsDetection": true,
74
+ "dependencyCheck": true,
75
+ "severityThreshold": "medium"
76
+ },
77
+
78
+ "performance": {
79
+ "enabled": true,
80
+ "n1Detection": true,
81
+ "memoryLeaks": true,
82
+ "bundleSize": true,
83
+ "lazyLoading": true
84
+ },
85
+
86
+ "cache": {
87
+ "enabled": true,
88
+ "embeddingsDir": ".elsabro/embeddings",
89
+ "ttlSeconds": 3600,
90
+ "maxSizeMb": 500
91
+ },
92
+
93
+ "telemetry": {
94
+ "enabled": true,
95
+ "acceptanceRate": true,
96
+ "latencyMetrics": true,
97
+ "errorTracking": true
98
+ }
99
+ }
100
+ }
@@ -0,0 +1,61 @@
1
+ {
2
+ "version": "3.0.0",
3
+ "checkpointId": "",
4
+ "sessionId": "",
5
+ "createdAt": "",
6
+ "updatedAt": "",
7
+
8
+ "execution": {
9
+ "status": "INIT",
10
+ "currentPhase": null,
11
+ "currentWave": 0,
12
+ "totalWaves": 0,
13
+ "progress": 0,
14
+ "startedAt": null,
15
+ "estimatedCompletion": null
16
+ },
17
+
18
+ "graph": {
19
+ "nodes": [],
20
+ "edges": [],
21
+ "currentNode": null,
22
+ "completedNodes": [],
23
+ "failedNodes": []
24
+ },
25
+
26
+ "state": {
27
+ "variables": {
28
+ "projectName": "",
29
+ "projectPath": "",
30
+ "targetFramework": "",
31
+ "currentMilestone": "",
32
+ "currentPhase": ""
33
+ },
34
+ "memory": {
35
+ "shortTerm": [],
36
+ "decisions": [],
37
+ "artifacts": [],
38
+ "errors": []
39
+ },
40
+ "context": {
41
+ "lastCommand": "",
42
+ "lastAgent": "",
43
+ "pendingTasks": [],
44
+ "completedTasks": []
45
+ }
46
+ },
47
+
48
+ "history": [],
49
+
50
+ "interrupts": {
51
+ "pending": [],
52
+ "history": []
53
+ },
54
+
55
+ "metadata": {
56
+ "elasbroVersion": "3.0.0",
57
+ "createdBy": "auto",
58
+ "tags": [],
59
+ "notes": ""
60
+ }
61
+ }
@@ -0,0 +1,157 @@
1
+ {
2
+ "collaboration": {
3
+ "enabled": true,
4
+ "version": "1.0.0",
5
+
6
+ "defaultPattern": "supervisor",
7
+ "autoSelect": true,
8
+
9
+ "patterns": {
10
+ "supervisor": {
11
+ "enabled": true,
12
+ "supervisor": {
13
+ "agentType": "orchestrator",
14
+ "model": "opus",
15
+ "maxDelegations": 10
16
+ },
17
+ "workers": {
18
+ "agentTypes": ["Explore", "executor", "code-reviewer"],
19
+ "model": "haiku",
20
+ "maxConcurrent": 4
21
+ },
22
+ "routing": "capability",
23
+ "retryOnFailure": true
24
+ },
25
+
26
+ "hierarchical": {
27
+ "enabled": true,
28
+ "levels": [
29
+ {
30
+ "name": "leader",
31
+ "agentType": "orchestrator",
32
+ "model": "opus",
33
+ "maxChildren": 3
34
+ },
35
+ {
36
+ "name": "team-lead",
37
+ "agentType": "planner",
38
+ "model": "sonnet",
39
+ "maxChildren": 4
40
+ },
41
+ {
42
+ "name": "worker",
43
+ "agentType": "executor",
44
+ "model": "haiku",
45
+ "maxChildren": 0
46
+ }
47
+ ],
48
+ "communicationMode": "strict",
49
+ "escalationThreshold": 2
50
+ },
51
+
52
+ "consensus": {
53
+ "enabled": true,
54
+ "voters": {
55
+ "count": 3,
56
+ "agentType": "code-reviewer",
57
+ "model": "opus"
58
+ },
59
+ "votingStrategy": "majority",
60
+ "quorumThreshold": 0.66,
61
+ "maxRounds": 3,
62
+ "tieBreaker": "supervisor",
63
+ "shareReasoning": true
64
+ },
65
+
66
+ "debate": {
67
+ "enabled": true,
68
+ "advocate": {
69
+ "agentType": "architect",
70
+ "model": "opus",
71
+ "position": "pro"
72
+ },
73
+ "critic": {
74
+ "agentType": "code-reviewer",
75
+ "model": "opus",
76
+ "position": "devils-advocate"
77
+ },
78
+ "judge": {
79
+ "agentType": "orchestrator",
80
+ "model": "opus"
81
+ },
82
+ "rounds": 3,
83
+ "format": "structured",
84
+ "requireEvidence": true
85
+ },
86
+
87
+ "round-robin": {
88
+ "enabled": true,
89
+ "agents": [
90
+ { "agentType": "Explore", "model": "haiku", "specialty": "exploration" },
91
+ { "agentType": "planner", "model": "sonnet", "specialty": "planning" },
92
+ { "agentType": "executor", "model": "opus", "specialty": "implementation" },
93
+ { "agentType": "qa", "model": "opus", "specialty": "verification" }
94
+ ],
95
+ "rotationMode": "by-specialty",
96
+ "handoffMode": "summary-only",
97
+ "maxRounds": 4
98
+ },
99
+
100
+ "swarm": {
101
+ "enabled": true,
102
+ "agents": {
103
+ "count": 5,
104
+ "agentType": "general-purpose",
105
+ "model": "haiku"
106
+ },
107
+ "blackboard": {
108
+ "enabled": true,
109
+ "capacity": 100
110
+ },
111
+ "termination": {
112
+ "mode": "convergence",
113
+ "threshold": 0.9,
114
+ "timeout": 300000,
115
+ "maxIterations": 20
116
+ },
117
+ "communication": {
118
+ "mode": "broadcast",
119
+ "frequency": "periodic"
120
+ }
121
+ }
122
+ },
123
+
124
+ "taskAnalysis": {
125
+ "autoAnalyze": true,
126
+ "rules": {
127
+ "needsConsensus": ["review", "approval", "decision"],
128
+ "needsDebate": ["architecture", "tradeoff", "risk"],
129
+ "isLargeScale": { "subtasksThreshold": 10 },
130
+ "hasIndependentParts": { "dependencyThreshold": 0.3 },
131
+ "needsIteration": ["refine", "iterate", "improve"],
132
+ "needsCreativity": ["brainstorm", "explore", "creative"]
133
+ }
134
+ },
135
+
136
+ "communication": {
137
+ "messageQueue": {
138
+ "enabled": true,
139
+ "maxSize": 1000
140
+ },
141
+ "sharedMemory": {
142
+ "enabled": true,
143
+ "maxSize": 10000
144
+ },
145
+ "blackboard": {
146
+ "enabled": true,
147
+ "persistence": "session"
148
+ }
149
+ },
150
+
151
+ "metrics": {
152
+ "trackUtilization": true,
153
+ "trackLatency": true,
154
+ "trackSuccess": true
155
+ }
156
+ }
157
+ }