ruvbot 0.1.1 → 0.1.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/cli/commands/templates.d.ts +9 -0
- package/dist/cli/commands/templates.d.ts.map +1 -0
- package/dist/cli/commands/templates.js +168 -0
- package/dist/cli/commands/templates.js.map +1 -0
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +4 -1
- package/dist/cli/index.js.map +1 -1
- package/dist/esm/cli/commands/templates.d.ts +9 -0
- package/dist/esm/cli/commands/templates.d.ts.map +1 -0
- package/dist/esm/cli/commands/templates.js +164 -0
- package/dist/esm/cli/commands/templates.js.map +1 -0
- package/dist/esm/cli/index.d.ts.map +1 -1
- package/dist/esm/cli/index.js +4 -1
- package/dist/esm/cli/index.js.map +1 -1
- package/dist/esm/templates/index.d.ts +48 -0
- package/dist/esm/templates/index.d.ts.map +1 -0
- package/dist/esm/templates/index.js +307 -0
- package/dist/esm/templates/index.js.map +1 -0
- package/dist/templates/index.d.ts +48 -0
- package/dist/templates/index.d.ts.map +1 -0
- package/dist/templates/index.js +313 -0
- package/dist/templates/index.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* RuvBot Template Library
|
|
3
|
+
*
|
|
4
|
+
* Pre-built templates for common long-running agent patterns.
|
|
5
|
+
* Deploy with: npx ruvbot deploy <template-name>
|
|
6
|
+
*/
|
|
7
|
+
export interface Template {
|
|
8
|
+
id: string;
|
|
9
|
+
name: string;
|
|
10
|
+
description: string;
|
|
11
|
+
category: 'practical' | 'intermediate' | 'advanced' | 'exotic';
|
|
12
|
+
agents: AgentSpec[];
|
|
13
|
+
config: TemplateConfig;
|
|
14
|
+
example: string;
|
|
15
|
+
}
|
|
16
|
+
export interface AgentSpec {
|
|
17
|
+
type: string;
|
|
18
|
+
name: string;
|
|
19
|
+
role: string;
|
|
20
|
+
model?: string;
|
|
21
|
+
systemPrompt?: string;
|
|
22
|
+
}
|
|
23
|
+
export interface TemplateConfig {
|
|
24
|
+
topology: 'hierarchical' | 'mesh' | 'star' | 'ring' | 'hive-mind';
|
|
25
|
+
maxAgents: number;
|
|
26
|
+
consensus?: 'raft' | 'byzantine' | 'gossip' | 'crdt';
|
|
27
|
+
memory?: 'local' | 'distributed' | 'hybrid';
|
|
28
|
+
workers?: string[];
|
|
29
|
+
}
|
|
30
|
+
export declare const CODE_REVIEWER: Template;
|
|
31
|
+
export declare const DOC_GENERATOR: Template;
|
|
32
|
+
export declare const TEST_GENERATOR: Template;
|
|
33
|
+
export declare const FEATURE_SWARM: Template;
|
|
34
|
+
export declare const REFACTOR_SQUAD: Template;
|
|
35
|
+
export declare const CI_CD_PIPELINE: Template;
|
|
36
|
+
export declare const SELF_LEARNING_BOT: Template;
|
|
37
|
+
export declare const RESEARCH_SWARM: Template;
|
|
38
|
+
export declare const PERFORMANCE_OPTIMIZER: Template;
|
|
39
|
+
export declare const BYZANTINE_VALIDATOR: Template;
|
|
40
|
+
export declare const HIVE_MIND: Template;
|
|
41
|
+
export declare const MULTI_REPO_COORDINATOR: Template;
|
|
42
|
+
export declare const ADVERSARIAL_TESTER: Template;
|
|
43
|
+
export declare const TEMPLATES: Record<string, Template>;
|
|
44
|
+
export declare const TEMPLATE_LIST: Template[];
|
|
45
|
+
export declare function getTemplate(id: string): Template | undefined;
|
|
46
|
+
export declare function listTemplates(category?: Template['category']): Template[];
|
|
47
|
+
export declare function getTemplatesByCategory(): Record<string, Template[]>;
|
|
48
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/templates/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,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AE,QAoBhC,CAAC;AAMF,eAAO,MAAM,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAqB9C,CAAC;AAEF,eAAO,MAAM,aAAa,YAA2B,CAAC;AAEtD,wBAAgB,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,QAAQ,GAAG,SAAS,CAE5D;AAED,wBAAgB,aAAa,CAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC,UAAU,CAAC,GAAG,QAAQ,EAAE,CAKzE;AAED,wBAAgB,sBAAsB,IAAI,MAAM,CAAC,MAAM,EAAE,QAAQ,EAAE,CAAC,CAOnE"}
|
|
@@ -0,0 +1,307 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* RuvBot Template Library
|
|
3
|
+
*
|
|
4
|
+
* Pre-built templates for common long-running agent patterns.
|
|
5
|
+
* Deploy with: npx ruvbot deploy <template-name>
|
|
6
|
+
*/
|
|
7
|
+
// =============================================================================
|
|
8
|
+
// PRACTICAL TEMPLATES
|
|
9
|
+
// =============================================================================
|
|
10
|
+
export const CODE_REVIEWER = {
|
|
11
|
+
id: 'code-reviewer',
|
|
12
|
+
name: 'Code Review Bot',
|
|
13
|
+
description: 'Automated code review with security scanning and best practices',
|
|
14
|
+
category: 'practical',
|
|
15
|
+
agents: [
|
|
16
|
+
{ type: 'reviewer', name: 'code-reviewer', role: 'Review code for quality and patterns' },
|
|
17
|
+
{ type: 'security-auditor', name: 'security-scanner', role: 'Scan for vulnerabilities' },
|
|
18
|
+
],
|
|
19
|
+
config: {
|
|
20
|
+
topology: 'star',
|
|
21
|
+
maxAgents: 3,
|
|
22
|
+
workers: ['audit', 'testgaps'],
|
|
23
|
+
},
|
|
24
|
+
example: `npx ruvbot deploy code-reviewer --repo ./my-project`,
|
|
25
|
+
};
|
|
26
|
+
export const DOC_GENERATOR = {
|
|
27
|
+
id: 'doc-generator',
|
|
28
|
+
name: 'Documentation Generator',
|
|
29
|
+
description: 'Auto-generate and maintain project documentation',
|
|
30
|
+
category: 'practical',
|
|
31
|
+
agents: [
|
|
32
|
+
{ type: 'researcher', name: 'code-analyzer', role: 'Analyze codebase structure' },
|
|
33
|
+
{ type: 'api-docs', name: 'doc-writer', role: 'Generate API documentation' },
|
|
34
|
+
],
|
|
35
|
+
config: {
|
|
36
|
+
topology: 'star',
|
|
37
|
+
maxAgents: 2,
|
|
38
|
+
workers: ['document', 'map'],
|
|
39
|
+
},
|
|
40
|
+
example: `npx ruvbot deploy doc-generator --output ./docs`,
|
|
41
|
+
};
|
|
42
|
+
export const TEST_GENERATOR = {
|
|
43
|
+
id: 'test-generator',
|
|
44
|
+
name: 'Test Suite Generator',
|
|
45
|
+
description: 'Generate comprehensive test suites with TDD approach',
|
|
46
|
+
category: 'practical',
|
|
47
|
+
agents: [
|
|
48
|
+
{ type: 'tester', name: 'test-writer', role: 'Write unit and integration tests' },
|
|
49
|
+
{ type: 'coder', name: 'mock-generator', role: 'Generate mocks and fixtures' },
|
|
50
|
+
],
|
|
51
|
+
config: {
|
|
52
|
+
topology: 'star',
|
|
53
|
+
maxAgents: 3,
|
|
54
|
+
workers: ['testgaps', 'benchmark'],
|
|
55
|
+
},
|
|
56
|
+
example: `npx ruvbot deploy test-generator --coverage 80`,
|
|
57
|
+
};
|
|
58
|
+
// =============================================================================
|
|
59
|
+
// INTERMEDIATE TEMPLATES
|
|
60
|
+
// =============================================================================
|
|
61
|
+
export const FEATURE_SWARM = {
|
|
62
|
+
id: 'feature-swarm',
|
|
63
|
+
name: 'Feature Development Swarm',
|
|
64
|
+
description: 'Parallel feature development with coordinated agents',
|
|
65
|
+
category: 'intermediate',
|
|
66
|
+
agents: [
|
|
67
|
+
{ type: 'planner', name: 'architect', role: 'Design feature architecture' },
|
|
68
|
+
{ type: 'coder', name: 'implementer', role: 'Implement feature code' },
|
|
69
|
+
{ type: 'tester', name: 'qa', role: 'Write and run tests' },
|
|
70
|
+
{ type: 'reviewer', name: 'reviewer', role: 'Code review and refinement' },
|
|
71
|
+
],
|
|
72
|
+
config: {
|
|
73
|
+
topology: 'hierarchical',
|
|
74
|
+
maxAgents: 6,
|
|
75
|
+
consensus: 'raft',
|
|
76
|
+
memory: 'hybrid',
|
|
77
|
+
workers: ['optimize', 'testgaps'],
|
|
78
|
+
},
|
|
79
|
+
example: `npx ruvbot deploy feature-swarm --feature "Add user auth"`,
|
|
80
|
+
};
|
|
81
|
+
export const REFACTOR_SQUAD = {
|
|
82
|
+
id: 'refactor-squad',
|
|
83
|
+
name: 'Refactoring Squad',
|
|
84
|
+
description: 'Coordinated codebase refactoring across multiple files',
|
|
85
|
+
category: 'intermediate',
|
|
86
|
+
agents: [
|
|
87
|
+
{ type: 'system-architect', name: 'architect', role: 'Plan refactoring strategy' },
|
|
88
|
+
{ type: 'coder', name: 'refactorer-1', role: 'Execute refactoring' },
|
|
89
|
+
{ type: 'coder', name: 'refactorer-2', role: 'Execute refactoring' },
|
|
90
|
+
{ type: 'tester', name: 'regression', role: 'Ensure no regressions' },
|
|
91
|
+
],
|
|
92
|
+
config: {
|
|
93
|
+
topology: 'mesh',
|
|
94
|
+
maxAgents: 5,
|
|
95
|
+
consensus: 'raft',
|
|
96
|
+
memory: 'distributed',
|
|
97
|
+
workers: ['map', 'optimize'],
|
|
98
|
+
},
|
|
99
|
+
example: `npx ruvbot deploy refactor-squad --pattern "extract-service"`,
|
|
100
|
+
};
|
|
101
|
+
export const CI_CD_PIPELINE = {
|
|
102
|
+
id: 'ci-cd-pipeline',
|
|
103
|
+
name: 'CI/CD Pipeline Agent',
|
|
104
|
+
description: 'Automated build, test, and deployment pipeline',
|
|
105
|
+
category: 'intermediate',
|
|
106
|
+
agents: [
|
|
107
|
+
{ type: 'cicd-engineer', name: 'pipeline-manager', role: 'Orchestrate CI/CD' },
|
|
108
|
+
{ type: 'tester', name: 'test-runner', role: 'Execute test suites' },
|
|
109
|
+
{ type: 'security-auditor', name: 'security-gate', role: 'Security validation' },
|
|
110
|
+
],
|
|
111
|
+
config: {
|
|
112
|
+
topology: 'star',
|
|
113
|
+
maxAgents: 4,
|
|
114
|
+
workers: ['audit', 'benchmark'],
|
|
115
|
+
},
|
|
116
|
+
example: `npx ruvbot deploy ci-cd-pipeline --trigger push`,
|
|
117
|
+
};
|
|
118
|
+
// =============================================================================
|
|
119
|
+
// ADVANCED TEMPLATES
|
|
120
|
+
// =============================================================================
|
|
121
|
+
export const SELF_LEARNING_BOT = {
|
|
122
|
+
id: 'self-learning-bot',
|
|
123
|
+
name: 'Self-Learning Assistant',
|
|
124
|
+
description: 'AI that improves from interactions using neural patterns',
|
|
125
|
+
category: 'advanced',
|
|
126
|
+
agents: [
|
|
127
|
+
{ type: 'safla-neural', name: 'learner', role: 'Learn from interactions' },
|
|
128
|
+
{ type: 'memory-coordinator', name: 'memory', role: 'Manage persistent memory' },
|
|
129
|
+
{ type: 'coder', name: 'executor', role: 'Execute learned patterns' },
|
|
130
|
+
],
|
|
131
|
+
config: {
|
|
132
|
+
topology: 'hierarchical',
|
|
133
|
+
maxAgents: 4,
|
|
134
|
+
consensus: 'raft',
|
|
135
|
+
memory: 'hybrid',
|
|
136
|
+
workers: ['ultralearn', 'consolidate', 'predict'],
|
|
137
|
+
},
|
|
138
|
+
example: `npx ruvbot deploy self-learning-bot --domain "code-assistance"`,
|
|
139
|
+
};
|
|
140
|
+
export const RESEARCH_SWARM = {
|
|
141
|
+
id: 'research-swarm',
|
|
142
|
+
name: 'Research Swarm',
|
|
143
|
+
description: 'Distributed research across multiple sources and domains',
|
|
144
|
+
category: 'advanced',
|
|
145
|
+
agents: [
|
|
146
|
+
{ type: 'researcher', name: 'lead-researcher', role: 'Coordinate research' },
|
|
147
|
+
{ type: 'researcher', name: 'web-researcher', role: 'Search web sources' },
|
|
148
|
+
{ type: 'researcher', name: 'code-researcher', role: 'Analyze codebases' },
|
|
149
|
+
{ type: 'analyst', name: 'synthesizer', role: 'Synthesize findings' },
|
|
150
|
+
],
|
|
151
|
+
config: {
|
|
152
|
+
topology: 'mesh',
|
|
153
|
+
maxAgents: 6,
|
|
154
|
+
consensus: 'gossip',
|
|
155
|
+
memory: 'distributed',
|
|
156
|
+
workers: ['deepdive', 'map'],
|
|
157
|
+
},
|
|
158
|
+
example: `npx ruvbot deploy research-swarm --topic "vector databases"`,
|
|
159
|
+
};
|
|
160
|
+
export const PERFORMANCE_OPTIMIZER = {
|
|
161
|
+
id: 'performance-optimizer',
|
|
162
|
+
name: 'Performance Optimizer',
|
|
163
|
+
description: 'Continuous performance monitoring and optimization',
|
|
164
|
+
category: 'advanced',
|
|
165
|
+
agents: [
|
|
166
|
+
{ type: 'perf-analyzer', name: 'profiler', role: 'Profile performance' },
|
|
167
|
+
{ type: 'performance-optimizer', name: 'optimizer', role: 'Implement optimizations' },
|
|
168
|
+
{ type: 'tester', name: 'benchmark-runner', role: 'Run benchmarks' },
|
|
169
|
+
],
|
|
170
|
+
config: {
|
|
171
|
+
topology: 'star',
|
|
172
|
+
maxAgents: 4,
|
|
173
|
+
memory: 'hybrid',
|
|
174
|
+
workers: ['optimize', 'benchmark'],
|
|
175
|
+
},
|
|
176
|
+
example: `npx ruvbot deploy performance-optimizer --target ./src`,
|
|
177
|
+
};
|
|
178
|
+
// =============================================================================
|
|
179
|
+
// EXOTIC TEMPLATES
|
|
180
|
+
// =============================================================================
|
|
181
|
+
export const BYZANTINE_VALIDATOR = {
|
|
182
|
+
id: 'byzantine-validator',
|
|
183
|
+
name: 'Byzantine Fault-Tolerant Validator',
|
|
184
|
+
description: 'High-stakes validation with Byzantine consensus (tolerates 33% malicious)',
|
|
185
|
+
category: 'exotic',
|
|
186
|
+
agents: [
|
|
187
|
+
{ type: 'byzantine-coordinator', name: 'primary', role: 'Lead consensus' },
|
|
188
|
+
{ type: 'consensus-coordinator', name: 'validator-1', role: 'Validate decisions' },
|
|
189
|
+
{ type: 'consensus-coordinator', name: 'validator-2', role: 'Validate decisions' },
|
|
190
|
+
{ type: 'consensus-coordinator', name: 'validator-3', role: 'Validate decisions' },
|
|
191
|
+
{ type: 'security-manager', name: 'crypto-verifier', role: 'Cryptographic verification' },
|
|
192
|
+
],
|
|
193
|
+
config: {
|
|
194
|
+
topology: 'mesh',
|
|
195
|
+
maxAgents: 7,
|
|
196
|
+
consensus: 'byzantine',
|
|
197
|
+
memory: 'distributed',
|
|
198
|
+
workers: ['audit'],
|
|
199
|
+
},
|
|
200
|
+
example: `npx ruvbot deploy byzantine-validator --quorum 4`,
|
|
201
|
+
};
|
|
202
|
+
export const HIVE_MIND = {
|
|
203
|
+
id: 'hive-mind',
|
|
204
|
+
name: 'Hive-Mind Collective',
|
|
205
|
+
description: 'Emergent collective intelligence with queen-led coordination',
|
|
206
|
+
category: 'exotic',
|
|
207
|
+
agents: [
|
|
208
|
+
{ type: 'queen-coordinator', name: 'queen', role: 'Strategic orchestration' },
|
|
209
|
+
{ type: 'worker-specialist', name: 'worker-1', role: 'Task execution' },
|
|
210
|
+
{ type: 'worker-specialist', name: 'worker-2', role: 'Task execution' },
|
|
211
|
+
{ type: 'worker-specialist', name: 'worker-3', role: 'Task execution' },
|
|
212
|
+
{ type: 'scout-explorer', name: 'scout-1', role: 'Information reconnaissance' },
|
|
213
|
+
{ type: 'scout-explorer', name: 'scout-2', role: 'Information reconnaissance' },
|
|
214
|
+
{ type: 'swarm-memory-manager', name: 'memory-sync', role: 'Distributed memory' },
|
|
215
|
+
{ type: 'collective-intelligence-coordinator', name: 'hive-brain', role: 'Collective decisions' },
|
|
216
|
+
],
|
|
217
|
+
config: {
|
|
218
|
+
topology: 'hive-mind',
|
|
219
|
+
maxAgents: 15,
|
|
220
|
+
consensus: 'crdt',
|
|
221
|
+
memory: 'distributed',
|
|
222
|
+
workers: ['ultralearn', 'consolidate', 'predict', 'map'],
|
|
223
|
+
},
|
|
224
|
+
example: `npx ruvbot deploy hive-mind --objective "Build complete app"`,
|
|
225
|
+
};
|
|
226
|
+
export const MULTI_REPO_COORDINATOR = {
|
|
227
|
+
id: 'multi-repo-coordinator',
|
|
228
|
+
name: 'Multi-Repository Coordinator',
|
|
229
|
+
description: 'Coordinate changes across multiple repositories',
|
|
230
|
+
category: 'exotic',
|
|
231
|
+
agents: [
|
|
232
|
+
{ type: 'repo-architect', name: 'coordinator', role: 'Cross-repo orchestration' },
|
|
233
|
+
{ type: 'sync-coordinator', name: 'sync-manager', role: 'Version synchronization' },
|
|
234
|
+
{ type: 'pr-manager', name: 'pr-coordinator', role: 'PR management' },
|
|
235
|
+
{ type: 'release-manager', name: 'release', role: 'Release coordination' },
|
|
236
|
+
],
|
|
237
|
+
config: {
|
|
238
|
+
topology: 'hierarchical',
|
|
239
|
+
maxAgents: 8,
|
|
240
|
+
consensus: 'raft',
|
|
241
|
+
memory: 'distributed',
|
|
242
|
+
workers: ['audit', 'document'],
|
|
243
|
+
},
|
|
244
|
+
example: `npx ruvbot deploy multi-repo-coordinator --repos "repo1,repo2,repo3"`,
|
|
245
|
+
};
|
|
246
|
+
export const ADVERSARIAL_TESTER = {
|
|
247
|
+
id: 'adversarial-tester',
|
|
248
|
+
name: 'Adversarial Security Tester',
|
|
249
|
+
description: 'Red team vs blue team security testing with adversarial agents',
|
|
250
|
+
category: 'exotic',
|
|
251
|
+
agents: [
|
|
252
|
+
{ type: 'security-architect', name: 'red-team-lead', role: 'Attack planning' },
|
|
253
|
+
{ type: 'security-auditor', name: 'attacker-1', role: 'Execute attacks' },
|
|
254
|
+
{ type: 'security-auditor', name: 'attacker-2', role: 'Execute attacks' },
|
|
255
|
+
{ type: 'security-manager', name: 'blue-team-lead', role: 'Defense coordination' },
|
|
256
|
+
{ type: 'security-auditor', name: 'defender', role: 'Implement defenses' },
|
|
257
|
+
],
|
|
258
|
+
config: {
|
|
259
|
+
topology: 'mesh',
|
|
260
|
+
maxAgents: 6,
|
|
261
|
+
consensus: 'byzantine',
|
|
262
|
+
memory: 'distributed',
|
|
263
|
+
workers: ['audit', 'deepdive'],
|
|
264
|
+
},
|
|
265
|
+
example: `npx ruvbot deploy adversarial-tester --target ./api`,
|
|
266
|
+
};
|
|
267
|
+
// =============================================================================
|
|
268
|
+
// TEMPLATE REGISTRY
|
|
269
|
+
// =============================================================================
|
|
270
|
+
export const TEMPLATES = {
|
|
271
|
+
// Practical
|
|
272
|
+
'code-reviewer': CODE_REVIEWER,
|
|
273
|
+
'doc-generator': DOC_GENERATOR,
|
|
274
|
+
'test-generator': TEST_GENERATOR,
|
|
275
|
+
// Intermediate
|
|
276
|
+
'feature-swarm': FEATURE_SWARM,
|
|
277
|
+
'refactor-squad': REFACTOR_SQUAD,
|
|
278
|
+
'ci-cd-pipeline': CI_CD_PIPELINE,
|
|
279
|
+
// Advanced
|
|
280
|
+
'self-learning-bot': SELF_LEARNING_BOT,
|
|
281
|
+
'research-swarm': RESEARCH_SWARM,
|
|
282
|
+
'performance-optimizer': PERFORMANCE_OPTIMIZER,
|
|
283
|
+
// Exotic
|
|
284
|
+
'byzantine-validator': BYZANTINE_VALIDATOR,
|
|
285
|
+
'hive-mind': HIVE_MIND,
|
|
286
|
+
'multi-repo-coordinator': MULTI_REPO_COORDINATOR,
|
|
287
|
+
'adversarial-tester': ADVERSARIAL_TESTER,
|
|
288
|
+
};
|
|
289
|
+
export const TEMPLATE_LIST = Object.values(TEMPLATES);
|
|
290
|
+
export function getTemplate(id) {
|
|
291
|
+
return TEMPLATES[id];
|
|
292
|
+
}
|
|
293
|
+
export function listTemplates(category) {
|
|
294
|
+
if (category) {
|
|
295
|
+
return TEMPLATE_LIST.filter(t => t.category === category);
|
|
296
|
+
}
|
|
297
|
+
return TEMPLATE_LIST;
|
|
298
|
+
}
|
|
299
|
+
export function getTemplatesByCategory() {
|
|
300
|
+
return {
|
|
301
|
+
practical: listTemplates('practical'),
|
|
302
|
+
intermediate: listTemplates('intermediate'),
|
|
303
|
+
advanced: listTemplates('advanced'),
|
|
304
|
+
exotic: listTemplates('exotic'),
|
|
305
|
+
};
|
|
306
|
+
}
|
|
307
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index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pC,OAAO,SAAS,CAAC,EAAE,CAAC,CAAC;AACvB,CAAC;AAED,MAAM,UAAU,aAAa,CAAC,QAA+B;IAC3D,IAAI,QAAQ,EAAE,CAAC;QACb,OAAO,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,KAAK,QAAQ,CAAC,CAAC;IAC5D,CAAC;IACD,OAAO,aAAa,CAAC;AACvB,CAAC;AAED,MAAM,UAAU,sBAAsB;IACpC,OAAO;QACL,SAAS,EAAE,aAAa,CAAC,WAAW,CAAC;QACrC,YAAY,EAAE,aAAa,CAAC,cAAc,CAAC;QAC3C,QAAQ,EAAE,aAAa,CAAC,UAAU,CAAC;QACnC,MAAM,EAAE,aAAa,CAAC,QAAQ,CAAC;KAChC,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* RuvBot Template Library
|
|
3
|
+
*
|
|
4
|
+
* Pre-built templates for common long-running agent patterns.
|
|
5
|
+
* Deploy with: npx ruvbot deploy <template-name>
|
|
6
|
+
*/
|
|
7
|
+
export interface Template {
|
|
8
|
+
id: string;
|
|
9
|
+
name: string;
|
|
10
|
+
description: string;
|
|
11
|
+
category: 'practical' | 'intermediate' | 'advanced' | 'exotic';
|
|
12
|
+
agents: AgentSpec[];
|
|
13
|
+
config: TemplateConfig;
|
|
14
|
+
example: string;
|
|
15
|
+
}
|
|
16
|
+
export interface AgentSpec {
|
|
17
|
+
type: string;
|
|
18
|
+
name: string;
|
|
19
|
+
role: string;
|
|
20
|
+
model?: string;
|
|
21
|
+
systemPrompt?: string;
|
|
22
|
+
}
|
|
23
|
+
export interface TemplateConfig {
|
|
24
|
+
topology: 'hierarchical' | 'mesh' | 'star' | 'ring' | 'hive-mind';
|
|
25
|
+
maxAgents: number;
|
|
26
|
+
consensus?: 'raft' | 'byzantine' | 'gossip' | 'crdt';
|
|
27
|
+
memory?: 'local' | 'distributed' | 'hybrid';
|
|
28
|
+
workers?: string[];
|
|
29
|
+
}
|
|
30
|
+
export declare const CODE_REVIEWER: Template;
|
|
31
|
+
export declare const DOC_GENERATOR: Template;
|
|
32
|
+
export declare const TEST_GENERATOR: Template;
|
|
33
|
+
export declare const FEATURE_SWARM: Template;
|
|
34
|
+
export declare const REFACTOR_SQUAD: Template;
|
|
35
|
+
export declare const CI_CD_PIPELINE: Template;
|
|
36
|
+
export declare const SELF_LEARNING_BOT: Template;
|
|
37
|
+
export declare const RESEARCH_SWARM: Template;
|
|
38
|
+
export declare const PERFORMANCE_OPTIMIZER: Template;
|
|
39
|
+
export declare const BYZANTINE_VALIDATOR: Template;
|
|
40
|
+
export declare const HIVE_MIND: Template;
|
|
41
|
+
export declare const MULTI_REPO_COORDINATOR: Template;
|
|
42
|
+
export declare const ADVERSARIAL_TESTER: Template;
|
|
43
|
+
export declare const TEMPLATES: Record<string, Template>;
|
|
44
|
+
export declare const TEMPLATE_LIST: Template[];
|
|
45
|
+
export declare function getTemplate(id: string): Template | undefined;
|
|
46
|
+
export declare function listTemplates(category?: Template['category']): Template[];
|
|
47
|
+
export declare function getTemplatesByCategory(): Record<string, Template[]>;
|
|
48
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/templates/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,WAAW,GAAG,cAAc,GAAG,UAAU,GAAG,QAAQ,CAAC;IAC/D,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,MAAM,EAAE,cAAc,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM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