elsabro 2.2.0 → 3.7.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 (88) hide show
  1. package/README.md +668 -20
  2. package/agents/elsabro-orchestrator.md +113 -0
  3. package/bin/install.js +0 -0
  4. package/commands/elsabro/execute.md +223 -46
  5. package/commands/elsabro/start.md +34 -0
  6. package/commands/elsabro/verify-work.md +29 -0
  7. package/flows/development-flow.json +452 -0
  8. package/flows/quick-flow.json +118 -0
  9. package/hooks/confirm-destructive.sh +145 -0
  10. package/hooks/hooks-config.json +81 -0
  11. package/hooks/lint-check.sh +238 -0
  12. package/hooks/post-edit-test.sh +189 -0
  13. package/package.json +5 -3
  14. package/references/SYSTEM_INDEX.md +379 -5
  15. package/references/agent-marketplace.md +2274 -0
  16. package/references/agent-protocol.md +1126 -0
  17. package/references/ai-code-suggestions.md +2413 -0
  18. package/references/checkpointing.md +595 -0
  19. package/references/collaboration-patterns.md +851 -0
  20. package/references/collaborative-sessions.md +1081 -0
  21. package/references/configuration-management.md +1810 -0
  22. package/references/cost-tracking.md +1095 -0
  23. package/references/enterprise-sso.md +2001 -0
  24. package/references/error-contracts-tests.md +1171 -0
  25. package/references/error-contracts-v2.md +968 -0
  26. package/references/error-contracts.md +3102 -0
  27. package/references/event-driven.md +1031 -0
  28. package/references/flow-orchestration.md +940 -0
  29. package/references/flow-visualization.md +1557 -0
  30. package/references/ide-integrations.md +3513 -0
  31. package/references/interrupt-system.md +681 -0
  32. package/references/kubernetes-deployment.md +3099 -0
  33. package/references/memory-system.md +683 -0
  34. package/references/mobile-companion.md +3236 -0
  35. package/references/multi-llm-providers.md +2494 -0
  36. package/references/multi-project-memory.md +1182 -0
  37. package/references/observability.md +793 -0
  38. package/references/output-schemas.md +858 -0
  39. package/references/parallel-worktrees.md +293 -0
  40. package/references/performance-profiler.md +955 -0
  41. package/references/plugin-system.md +1526 -0
  42. package/references/prompt-management.md +292 -0
  43. package/references/sandbox-execution.md +303 -0
  44. package/references/security-system.md +1253 -0
  45. package/references/streaming.md +696 -0
  46. package/references/testing-framework.md +1151 -0
  47. package/references/time-travel.md +802 -0
  48. package/references/tool-registry.md +886 -0
  49. package/references/voice-commands.md +3296 -0
  50. package/scripts/setup-parallel-worktrees.sh +319 -0
  51. package/skills/memory-update.md +207 -0
  52. package/skills/review.md +331 -0
  53. package/skills/techdebt.md +289 -0
  54. package/skills/tutor.md +219 -0
  55. package/templates/.planning/notes/.gitkeep +0 -0
  56. package/templates/CLAUDE.md.template +48 -0
  57. package/templates/agent-marketplace-config.json +220 -0
  58. package/templates/agent-protocol-config.json +136 -0
  59. package/templates/ai-suggestions-config.json +100 -0
  60. package/templates/checkpoint-state.json +61 -0
  61. package/templates/collaboration-config.json +157 -0
  62. package/templates/collaborative-sessions-config.json +153 -0
  63. package/templates/configuration-config.json +245 -0
  64. package/templates/cost-tracking-config.json +148 -0
  65. package/templates/enterprise-sso-config.json +438 -0
  66. package/templates/error-handling-config.json +79 -2
  67. package/templates/events-config.json +148 -0
  68. package/templates/flow-visualization-config.json +196 -0
  69. package/templates/ide-integrations-config.json +442 -0
  70. package/templates/kubernetes-config.json +764 -0
  71. package/templates/memory-state.json +84 -0
  72. package/templates/mistakes.md.template +52 -0
  73. package/templates/mobile-companion-config.json +600 -0
  74. package/templates/multi-llm-config.json +544 -0
  75. package/templates/multi-project-memory-config.json +145 -0
  76. package/templates/observability-config.json +109 -0
  77. package/templates/patterns.md.template +114 -0
  78. package/templates/performance-profiler-config.json +125 -0
  79. package/templates/plugin-config.json +170 -0
  80. package/templates/prompt-management-config.json +86 -0
  81. package/templates/sandbox-config.json +185 -0
  82. package/templates/schemas-config.json +65 -0
  83. package/templates/security-config.json +120 -0
  84. package/templates/streaming-config.json +72 -0
  85. package/templates/testing-config.json +81 -0
  86. package/templates/timetravel-config.json +62 -0
  87. package/templates/tool-registry-config.json +109 -0
  88. package/templates/voice-commands-config.json +658 -0
@@ -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
+ }
@@ -0,0 +1,153 @@
1
+ {
2
+ "collaborativeSessions": {
3
+ "enabled": true,
4
+ "version": "1.0.0",
5
+
6
+ "session": {
7
+ "maxParticipants": 10,
8
+ "idleTimeout": 300000,
9
+ "sessionTimeout": 86400000,
10
+ "requireApproval": false,
11
+ "allowAnonymous": false,
12
+ "autoSave": true,
13
+ "saveInterval": 30000,
14
+ "defaultType": "flow"
15
+ },
16
+
17
+ "realtime": {
18
+ "serverUrl": "wss://collab.elsabro.dev",
19
+ "reconnectBaseDelay": 1000,
20
+ "reconnectMaxDelay": 30000,
21
+ "maxReconnectAttempts": 10,
22
+ "heartbeatInterval": 30000,
23
+ "messageTimeout": 5000
24
+ },
25
+
26
+ "sync": {
27
+ "algorithm": "ot",
28
+ "batchUpdates": true,
29
+ "batchInterval": 100,
30
+ "maxBatchSize": 50,
31
+ "compressMessages": true,
32
+ "persistHistory": true,
33
+ "maxHistorySize": 1000
34
+ },
35
+
36
+ "conflict": {
37
+ "defaultStrategy": "last-write-wins",
38
+ "autoResolve": true,
39
+ "notifyOnConflict": true,
40
+ "retainConflictHistory": true,
41
+ "maxConflictAge": 3600000
42
+ },
43
+
44
+ "presence": {
45
+ "enabled": true,
46
+ "idleTimeout": 60000,
47
+ "awayTimeout": 300000,
48
+ "cursorBroadcastInterval": 50,
49
+ "showTypingIndicator": true,
50
+ "typingTimeout": 3000
51
+ },
52
+
53
+ "permissions": {
54
+ "defaultRole": "viewer",
55
+ "roles": {
56
+ "host": {
57
+ "canEdit": true,
58
+ "canInvite": true,
59
+ "canKick": true,
60
+ "canLock": true,
61
+ "canClose": true,
62
+ "canTransferHost": true
63
+ },
64
+ "editor": {
65
+ "canEdit": true,
66
+ "canInvite": false,
67
+ "canKick": false,
68
+ "canLock": true,
69
+ "canClose": false,
70
+ "canTransferHost": false
71
+ },
72
+ "viewer": {
73
+ "canEdit": false,
74
+ "canInvite": false,
75
+ "canKick": false,
76
+ "canLock": false,
77
+ "canClose": false,
78
+ "canTransferHost": false
79
+ }
80
+ }
81
+ },
82
+
83
+ "invitations": {
84
+ "enabled": true,
85
+ "expiresIn": 86400000,
86
+ "maxPending": 20,
87
+ "allowRevoke": true,
88
+ "notifyOnAccept": true
89
+ },
90
+
91
+ "locking": {
92
+ "enabled": true,
93
+ "autoRelease": true,
94
+ "autoReleaseTimeout": 60000,
95
+ "notifyOnLock": true,
96
+ "allowForceUnlock": true
97
+ },
98
+
99
+ "history": {
100
+ "enabled": true,
101
+ "maxEvents": 500,
102
+ "retentionDays": 30,
103
+ "exportEnabled": true
104
+ },
105
+
106
+ "ui": {
107
+ "showPresenceAvatars": true,
108
+ "showCursors": true,
109
+ "showActivityFeed": true,
110
+ "maxActivityItems": 50,
111
+ "cursorColors": [
112
+ "#ef4444",
113
+ "#f97316",
114
+ "#f59e0b",
115
+ "#84cc16",
116
+ "#22c55e",
117
+ "#14b8a6",
118
+ "#06b6d4",
119
+ "#3b82f6",
120
+ "#6366f1",
121
+ "#8b5cf6",
122
+ "#a855f7",
123
+ "#ec4899"
124
+ ],
125
+ "statusIndicators": {
126
+ "online": "🟢",
127
+ "busy": "🟡",
128
+ "away": "⚪",
129
+ "offline": "⚫"
130
+ }
131
+ },
132
+
133
+ "notifications": {
134
+ "onParticipantJoin": true,
135
+ "onParticipantLeave": true,
136
+ "onConflict": true,
137
+ "onLock": true,
138
+ "onHostTransfer": true,
139
+ "sound": false
140
+ },
141
+
142
+ "security": {
143
+ "requireAuth": true,
144
+ "encryptMessages": true,
145
+ "validateOrigin": true,
146
+ "rateLimit": {
147
+ "enabled": true,
148
+ "maxMessagesPerSecond": 50,
149
+ "maxConnectionsPerUser": 5
150
+ }
151
+ }
152
+ }
153
+ }