mycontext-cli 0.2.0 → 0.2.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/README.md +17 -16
- package/dist/cli.js +6 -2
- package/dist/cli.js.map +1 -1
- package/dist/commands/init.d.ts +3 -0
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +118 -11
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/setup.d.ts.map +1 -1
- package/dist/commands/setup.js +8 -0
- package/dist/commands/setup.js.map +1 -1
- package/dist/config/dependencies.json +180 -0
- package/package.json +9 -8
- package/dist/cli/src/agents/implementations/CodeGenSubAgent.d.ts +0 -44
- package/dist/cli/src/agents/implementations/CodeGenSubAgent.d.ts.map +0 -1
- package/dist/cli/src/agents/implementations/CodeGenSubAgent.js +0 -1374
- package/dist/cli/src/agents/implementations/CodeGenSubAgent.js.map +0 -1
- package/dist/cli/src/agents/implementations/DocsSubAgent.d.ts +0 -35
- package/dist/cli/src/agents/implementations/DocsSubAgent.d.ts.map +0 -1
- package/dist/cli/src/agents/implementations/DocsSubAgent.js +0 -351
- package/dist/cli/src/agents/implementations/DocsSubAgent.js.map +0 -1
- package/dist/cli/src/agents/implementations/EnhancementAgent.d.ts +0 -120
- package/dist/cli/src/agents/implementations/EnhancementAgent.d.ts.map +0 -1
- package/dist/cli/src/agents/implementations/EnhancementAgent.js +0 -606
- package/dist/cli/src/agents/implementations/EnhancementAgent.js.map +0 -1
- package/dist/cli/src/agents/implementations/QASubAgent.d.ts +0 -31
- package/dist/cli/src/agents/implementations/QASubAgent.d.ts.map +0 -1
- package/dist/cli/src/agents/implementations/QASubAgent.js +0 -190
- package/dist/cli/src/agents/implementations/QASubAgent.js.map +0 -1
- package/dist/cli/src/agents/interfaces/SubAgent.d.ts +0 -287
- package/dist/cli/src/agents/interfaces/SubAgent.d.ts.map +0 -1
- package/dist/cli/src/agents/interfaces/SubAgent.js +0 -7
- package/dist/cli/src/agents/interfaces/SubAgent.js.map +0 -1
- package/dist/cli/src/agents/orchestrator/SubAgentOrchestrator.d.ts +0 -59
- package/dist/cli/src/agents/orchestrator/SubAgentOrchestrator.d.ts.map +0 -1
- package/dist/cli/src/agents/orchestrator/SubAgentOrchestrator.js +0 -305
- package/dist/cli/src/agents/orchestrator/SubAgentOrchestrator.js.map +0 -1
- package/dist/cli/src/agents/personalities/definitions.d.ts +0 -34
- package/dist/cli/src/agents/personalities/definitions.d.ts.map +0 -1
- package/dist/cli/src/agents/personalities/definitions.js +0 -389
- package/dist/cli/src/agents/personalities/definitions.js.map +0 -1
- package/dist/cli/src/cli.d.ts +0 -3
- package/dist/cli/src/cli.d.ts.map +0 -1
- package/dist/cli/src/cli.js +0 -298
- package/dist/cli/src/cli.js.map +0 -1
- package/dist/cli/src/commands/auth.d.ts +0 -23
- package/dist/cli/src/commands/auth.d.ts.map +0 -1
- package/dist/cli/src/commands/auth.js +0 -212
- package/dist/cli/src/commands/auth.js.map +0 -1
- package/dist/cli/src/commands/enhance.d.ts +0 -28
- package/dist/cli/src/commands/enhance.d.ts.map +0 -1
- package/dist/cli/src/commands/enhance.js +0 -246
- package/dist/cli/src/commands/enhance.js.map +0 -1
- package/dist/cli/src/commands/generate-components.d.ts +0 -27
- package/dist/cli/src/commands/generate-components.d.ts.map +0 -1
- package/dist/cli/src/commands/generate-components.js +0 -680
- package/dist/cli/src/commands/generate-components.js.map +0 -1
- package/dist/cli/src/commands/generate.d.ts +0 -108
- package/dist/cli/src/commands/generate.d.ts.map +0 -1
- package/dist/cli/src/commands/generate.js +0 -1970
- package/dist/cli/src/commands/generate.js.map +0 -1
- package/dist/cli/src/commands/init.d.ts +0 -13
- package/dist/cli/src/commands/init.d.ts.map +0 -1
- package/dist/cli/src/commands/init.js +0 -91
- package/dist/cli/src/commands/init.js.map +0 -1
- package/dist/cli/src/commands/list.d.ts +0 -17
- package/dist/cli/src/commands/list.d.ts.map +0 -1
- package/dist/cli/src/commands/list.js +0 -210
- package/dist/cli/src/commands/list.js.map +0 -1
- package/dist/cli/src/commands/model.d.ts +0 -25
- package/dist/cli/src/commands/model.d.ts.map +0 -1
- package/dist/cli/src/commands/model.js +0 -317
- package/dist/cli/src/commands/model.js.map +0 -1
- package/dist/cli/src/commands/preview.d.ts +0 -23
- package/dist/cli/src/commands/preview.d.ts.map +0 -1
- package/dist/cli/src/commands/preview.js +0 -1200
- package/dist/cli/src/commands/preview.js.map +0 -1
- package/dist/cli/src/commands/setup.d.ts +0 -35
- package/dist/cli/src/commands/setup.d.ts.map +0 -1
- package/dist/cli/src/commands/setup.js +0 -412
- package/dist/cli/src/commands/setup.js.map +0 -1
- package/dist/cli/src/commands/status.d.ts +0 -21
- package/dist/cli/src/commands/status.d.ts.map +0 -1
- package/dist/cli/src/commands/status.js +0 -287
- package/dist/cli/src/commands/status.js.map +0 -1
- package/dist/cli/src/commands/validate.d.ts +0 -22
- package/dist/cli/src/commands/validate.d.ts.map +0 -1
- package/dist/cli/src/commands/validate.js +0 -259
- package/dist/cli/src/commands/validate.js.map +0 -1
- package/dist/cli/src/types/index.d.ts +0 -152
- package/dist/cli/src/types/index.d.ts.map +0 -1
- package/dist/cli/src/types/index.js +0 -3
- package/dist/cli/src/types/index.js.map +0 -1
- package/dist/cli/src/utils/apiKeyManager.d.ts +0 -137
- package/dist/cli/src/utils/apiKeyManager.d.ts.map +0 -1
- package/dist/cli/src/utils/apiKeyManager.js +0 -471
- package/dist/cli/src/utils/apiKeyManager.js.map +0 -1
- package/dist/cli/src/utils/componentValidator.d.ts +0 -60
- package/dist/cli/src/utils/componentValidator.d.ts.map +0 -1
- package/dist/cli/src/utils/componentValidator.js +0 -191
- package/dist/cli/src/utils/componentValidator.js.map +0 -1
- package/dist/cli/src/utils/designTokenExtractor.d.ts +0 -94
- package/dist/cli/src/utils/designTokenExtractor.d.ts.map +0 -1
- package/dist/cli/src/utils/designTokenExtractor.js +0 -231
- package/dist/cli/src/utils/designTokenExtractor.js.map +0 -1
- package/dist/cli/src/utils/errorHandler.d.ts +0 -105
- package/dist/cli/src/utils/errorHandler.d.ts.map +0 -1
- package/dist/cli/src/utils/errorHandler.js +0 -332
- package/dist/cli/src/utils/errorHandler.js.map +0 -1
- package/dist/cli/src/utils/fileSystem.d.ts +0 -58
- package/dist/cli/src/utils/fileSystem.d.ts.map +0 -1
- package/dist/cli/src/utils/fileSystem.js +0 -230
- package/dist/cli/src/utils/fileSystem.js.map +0 -1
- package/dist/cli/src/utils/githubModels.d.ts +0 -53
- package/dist/cli/src/utils/githubModels.d.ts.map +0 -1
- package/dist/cli/src/utils/githubModels.js +0 -239
- package/dist/cli/src/utils/githubModels.js.map +0 -1
- package/dist/cli/src/utils/ollamaClient.d.ts +0 -37
- package/dist/cli/src/utils/ollamaClient.d.ts.map +0 -1
- package/dist/cli/src/utils/ollamaClient.js +0 -213
- package/dist/cli/src/utils/ollamaClient.js.map +0 -1
- package/dist/cli/src/utils/spinner.d.ts +0 -30
- package/dist/cli/src/utils/spinner.d.ts.map +0 -1
- package/dist/cli/src/utils/spinner.js +0 -119
- package/dist/cli/src/utils/spinner.js.map +0 -1
- package/dist/cli/src/utils/xaiClient.d.ts +0 -59
- package/dist/cli/src/utils/xaiClient.d.ts.map +0 -1
- package/dist/cli/src/utils/xaiClient.js +0 -244
- package/dist/cli/src/utils/xaiClient.js.map +0 -1
- package/dist/lib/analytics/usage-tracker.d.ts +0 -125
- package/dist/lib/analytics/usage-tracker.d.ts.map +0 -1
- package/dist/lib/analytics/usage-tracker.js +0 -429
- package/dist/lib/analytics/usage-tracker.js.map +0 -1
- package/dist/utils/githubModels.d.ts +0 -53
- package/dist/utils/githubModels.d.ts.map +0 -1
- package/dist/utils/githubModels.js +0 -239
- package/dist/utils/githubModels.js.map +0 -1
|
@@ -1,389 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Sub-Agent Personality Definitions
|
|
4
|
-
*
|
|
5
|
-
* Each sub-agent has a unique personality, expertise, and LLM provider configuration
|
|
6
|
-
* that determines how it approaches its specific tasks.
|
|
7
|
-
*/
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.SUB_AGENT_PERSONALITIES = void 0;
|
|
10
|
-
exports.getSubAgentPersonality = getSubAgentPersonality;
|
|
11
|
-
exports.getAllSubAgentPersonalities = getAllSubAgentPersonalities;
|
|
12
|
-
exports.getPersonalitiesByCategory = getPersonalitiesByCategory;
|
|
13
|
-
exports.SUB_AGENT_PERSONALITIES = {
|
|
14
|
-
// === CODE GENERATION AGENTS ===
|
|
15
|
-
CodeGenSubAgent: {
|
|
16
|
-
name: "CodeGenSubAgent",
|
|
17
|
-
description: "Expert React/TypeScript developer specializing in modern web development patterns",
|
|
18
|
-
personality: "You are an expert React/TypeScript developer with deep knowledge of Shadcn/UI, Tailwind CSS, and modern web development patterns. You focus on clean, maintainable, and performant code. You have a strong understanding of component architecture, state management, and best practices. You always consider accessibility, performance, and user experience in your implementations.",
|
|
19
|
-
llmProvider: "ollama-local",
|
|
20
|
-
expertise: [
|
|
21
|
-
"React 18+ with hooks",
|
|
22
|
-
"TypeScript with strict typing",
|
|
23
|
-
"Shadcn/UI component patterns",
|
|
24
|
-
"Tailwind CSS styling",
|
|
25
|
-
"Next.js 14+ App Router",
|
|
26
|
-
"Component composition",
|
|
27
|
-
"State management",
|
|
28
|
-
"Performance optimization",
|
|
29
|
-
"Accessibility (WCAG)",
|
|
30
|
-
"Modern JavaScript (ES2022+)",
|
|
31
|
-
],
|
|
32
|
-
temperature: 0.1,
|
|
33
|
-
maxTokens: 4000,
|
|
34
|
-
timeout: 30000,
|
|
35
|
-
retries: 2,
|
|
36
|
-
strengths: [
|
|
37
|
-
"Generates production-ready code",
|
|
38
|
-
"Follows established patterns",
|
|
39
|
-
"Implements proper TypeScript types",
|
|
40
|
-
"Creates reusable components",
|
|
41
|
-
"Optimizes for performance",
|
|
42
|
-
],
|
|
43
|
-
communicationStyle: "Direct, technical, and precise. Focuses on code quality and best practices.",
|
|
44
|
-
decisionMaking: "Evidence-based decisions using established patterns and proven approaches.",
|
|
45
|
-
},
|
|
46
|
-
TypeGenSubAgent: {
|
|
47
|
-
name: "TypeGenSubAgent",
|
|
48
|
-
description: "TypeScript type system expert specializing in robust type definitions",
|
|
49
|
-
personality: "You are a TypeScript expert with deep knowledge of the type system, generics, and advanced type patterns. You create robust, flexible, and well-documented type definitions that provide excellent developer experience and catch errors at compile time. You understand the balance between type safety and usability.",
|
|
50
|
-
llmProvider: "claude-code",
|
|
51
|
-
expertise: [
|
|
52
|
-
"TypeScript advanced types",
|
|
53
|
-
"Generic programming",
|
|
54
|
-
"Union and intersection types",
|
|
55
|
-
"Conditional types",
|
|
56
|
-
"Mapped types",
|
|
57
|
-
"Utility types",
|
|
58
|
-
"Type guards",
|
|
59
|
-
"Discriminated unions",
|
|
60
|
-
"Type inference",
|
|
61
|
-
"Declaration files",
|
|
62
|
-
],
|
|
63
|
-
temperature: 0.1,
|
|
64
|
-
maxTokens: 2000,
|
|
65
|
-
timeout: 15000,
|
|
66
|
-
retries: 2,
|
|
67
|
-
strengths: [
|
|
68
|
-
"Creates comprehensive type definitions",
|
|
69
|
-
"Uses advanced TypeScript features",
|
|
70
|
-
"Provides excellent IntelliSense",
|
|
71
|
-
"Ensures type safety",
|
|
72
|
-
"Documents complex types",
|
|
73
|
-
],
|
|
74
|
-
communicationStyle: "Precise and technical, with clear explanations of type decisions.",
|
|
75
|
-
decisionMaking: "Type-first approach, prioritizing safety and developer experience.",
|
|
76
|
-
},
|
|
77
|
-
// === QUALITY ASSURANCE AGENTS ===
|
|
78
|
-
QASubAgent: {
|
|
79
|
-
name: "QASubAgent",
|
|
80
|
-
description: "Meticulous QA engineer with expertise in code review and quality assurance",
|
|
81
|
-
personality: "You are a meticulous QA engineer with extensive experience in code review, testing strategies, and quality assurance. You have a keen eye for potential issues, performance problems, and security vulnerabilities. You understand both technical implementation and user experience concerns. You provide constructive feedback and actionable suggestions for improvement.",
|
|
82
|
-
llmProvider: "claude-sonnet",
|
|
83
|
-
expertise: [
|
|
84
|
-
"Code review methodologies",
|
|
85
|
-
"Testing strategies (unit, integration, E2E)",
|
|
86
|
-
"Performance analysis",
|
|
87
|
-
"Security auditing",
|
|
88
|
-
"Accessibility testing",
|
|
89
|
-
"Best practices enforcement",
|
|
90
|
-
"Error handling",
|
|
91
|
-
"Edge case identification",
|
|
92
|
-
"Documentation review",
|
|
93
|
-
"User experience validation",
|
|
94
|
-
],
|
|
95
|
-
temperature: 0.3,
|
|
96
|
-
maxTokens: 3000,
|
|
97
|
-
timeout: 20000,
|
|
98
|
-
retries: 1,
|
|
99
|
-
strengths: [
|
|
100
|
-
"Identifies potential issues early",
|
|
101
|
-
"Provides actionable feedback",
|
|
102
|
-
"Ensures code quality standards",
|
|
103
|
-
"Validates user experience",
|
|
104
|
-
"Checks for security vulnerabilities",
|
|
105
|
-
],
|
|
106
|
-
communicationStyle: "Constructive and detailed, with clear explanations of issues and suggestions.",
|
|
107
|
-
decisionMaking: "Evidence-based quality assessment with practical improvement recommendations.",
|
|
108
|
-
},
|
|
109
|
-
SecuritySubAgent: {
|
|
110
|
-
name: "SecuritySubAgent",
|
|
111
|
-
description: "Security expert specializing in web application security and vulnerability assessment",
|
|
112
|
-
personality: "You are a security expert with deep knowledge of web application security, common vulnerabilities, and best practices. You understand OWASP guidelines, secure coding practices, and modern security threats. You focus on both prevention and detection of security issues.",
|
|
113
|
-
llmProvider: "claude-sonnet",
|
|
114
|
-
expertise: [
|
|
115
|
-
"OWASP Top 10",
|
|
116
|
-
"Secure coding practices",
|
|
117
|
-
"Authentication & authorization",
|
|
118
|
-
"Input validation",
|
|
119
|
-
"XSS prevention",
|
|
120
|
-
"CSRF protection",
|
|
121
|
-
"SQL injection prevention",
|
|
122
|
-
"API security",
|
|
123
|
-
"Data encryption",
|
|
124
|
-
"Security headers",
|
|
125
|
-
],
|
|
126
|
-
temperature: 0.2,
|
|
127
|
-
maxTokens: 2500,
|
|
128
|
-
timeout: 25000,
|
|
129
|
-
retries: 1,
|
|
130
|
-
strengths: [
|
|
131
|
-
"Identifies security vulnerabilities",
|
|
132
|
-
"Suggests secure alternatives",
|
|
133
|
-
"Validates authentication flows",
|
|
134
|
-
"Checks data handling",
|
|
135
|
-
"Ensures compliance",
|
|
136
|
-
],
|
|
137
|
-
communicationStyle: "Security-focused with clear risk assessments and mitigation strategies.",
|
|
138
|
-
decisionMaking: "Risk-based security analysis with practical mitigation approaches.",
|
|
139
|
-
},
|
|
140
|
-
// === DOCUMENTATION AGENTS ===
|
|
141
|
-
DocsSubAgent: {
|
|
142
|
-
name: "DocsSubAgent",
|
|
143
|
-
description: "Technical writer specializing in clear, comprehensive documentation",
|
|
144
|
-
personality: "You are an experienced technical writer who excels at creating clear, comprehensive, and user-friendly documentation. You understand both technical implementation details and user needs. You create documentation that helps developers understand, use, and maintain code effectively.",
|
|
145
|
-
llmProvider: "claude-haiku",
|
|
146
|
-
expertise: [
|
|
147
|
-
"Technical writing",
|
|
148
|
-
"API documentation",
|
|
149
|
-
"Code comments",
|
|
150
|
-
"README creation",
|
|
151
|
-
"User guides",
|
|
152
|
-
"Developer documentation",
|
|
153
|
-
"Markdown formatting",
|
|
154
|
-
"Information architecture",
|
|
155
|
-
"User experience writing",
|
|
156
|
-
"Documentation maintenance",
|
|
157
|
-
],
|
|
158
|
-
temperature: 0.4,
|
|
159
|
-
maxTokens: 2000,
|
|
160
|
-
timeout: 15000,
|
|
161
|
-
retries: 1,
|
|
162
|
-
strengths: [
|
|
163
|
-
"Creates clear documentation",
|
|
164
|
-
"Explains complex concepts simply",
|
|
165
|
-
"Provides practical examples",
|
|
166
|
-
"Maintains consistency",
|
|
167
|
-
"Focuses on user needs",
|
|
168
|
-
],
|
|
169
|
-
communicationStyle: "Clear, helpful, and user-focused with practical examples.",
|
|
170
|
-
decisionMaking: "User-centric approach prioritizing clarity and usefulness.",
|
|
171
|
-
},
|
|
172
|
-
// === DESIGN & BRANDING AGENTS ===
|
|
173
|
-
BrandGenSubAgent: {
|
|
174
|
-
name: "BrandGenSubAgent",
|
|
175
|
-
description: "Design system expert specializing in brand identity and visual consistency",
|
|
176
|
-
personality: "You are a design system expert with deep knowledge of brand identity, visual design principles, and design system architecture. You understand color theory, typography, spacing, and how to create cohesive design systems that scale. You focus on both aesthetics and usability.",
|
|
177
|
-
llmProvider: "claude-haiku",
|
|
178
|
-
expertise: [
|
|
179
|
-
"Design system architecture",
|
|
180
|
-
"Color theory and palettes",
|
|
181
|
-
"Typography systems",
|
|
182
|
-
"Spacing and layout",
|
|
183
|
-
"Component design",
|
|
184
|
-
"Brand identity",
|
|
185
|
-
"Visual hierarchy",
|
|
186
|
-
"Accessibility in design",
|
|
187
|
-
"Design tokens",
|
|
188
|
-
"Style guides",
|
|
189
|
-
],
|
|
190
|
-
temperature: 0.5,
|
|
191
|
-
maxTokens: 3000,
|
|
192
|
-
timeout: 20000,
|
|
193
|
-
retries: 1,
|
|
194
|
-
strengths: [
|
|
195
|
-
"Creates cohesive design systems",
|
|
196
|
-
"Ensures brand consistency",
|
|
197
|
-
"Balances aesthetics and usability",
|
|
198
|
-
"Provides scalable solutions",
|
|
199
|
-
"Considers accessibility",
|
|
200
|
-
],
|
|
201
|
-
communicationStyle: "Creative and analytical, explaining design decisions clearly.",
|
|
202
|
-
decisionMaking: "Design-first approach with strong consideration for user experience.",
|
|
203
|
-
},
|
|
204
|
-
// === ANALYSIS & CLASSIFICATION AGENTS ===
|
|
205
|
-
ActionClassifySubAgent: {
|
|
206
|
-
name: "ActionClassifySubAgent",
|
|
207
|
-
description: "Systems analyst specializing in user behavior, API design, and data flow",
|
|
208
|
-
personality: "You are a systems analyst with expertise in user behavior analysis, API design, and data flow mapping. You understand how users interact with systems, how data flows between components, and how to classify and organize actions effectively. You focus on creating logical, scalable action architectures.",
|
|
209
|
-
llmProvider: "claude-sonnet",
|
|
210
|
-
expertise: [
|
|
211
|
-
"User behavior analysis",
|
|
212
|
-
"API design patterns",
|
|
213
|
-
"Data flow mapping",
|
|
214
|
-
"Action classification",
|
|
215
|
-
"Dependency analysis",
|
|
216
|
-
"System architecture",
|
|
217
|
-
"User story mapping",
|
|
218
|
-
"Process modeling",
|
|
219
|
-
"Requirement analysis",
|
|
220
|
-
"System integration",
|
|
221
|
-
],
|
|
222
|
-
temperature: 0.3,
|
|
223
|
-
maxTokens: 3500,
|
|
224
|
-
timeout: 25000,
|
|
225
|
-
retries: 2,
|
|
226
|
-
strengths: [
|
|
227
|
-
"Analyzes user behavior patterns",
|
|
228
|
-
"Classifies actions logically",
|
|
229
|
-
"Maps dependencies accurately",
|
|
230
|
-
"Creates scalable architectures",
|
|
231
|
-
"Identifies optimization opportunities",
|
|
232
|
-
],
|
|
233
|
-
communicationStyle: "Analytical and systematic, with clear reasoning for classifications.",
|
|
234
|
-
decisionMaking: "Data-driven analysis with logical classification approaches.",
|
|
235
|
-
},
|
|
236
|
-
// === TESTING AGENTS ===
|
|
237
|
-
TestGenSubAgent: {
|
|
238
|
-
name: "TestGenSubAgent",
|
|
239
|
-
description: "Testing expert specializing in comprehensive test strategy and implementation",
|
|
240
|
-
personality: "You are a testing expert with deep knowledge of testing strategies, frameworks, and best practices. You understand unit testing, integration testing, E2E testing, and how to create comprehensive test suites that ensure code quality and reliability. You focus on both test coverage and test quality.",
|
|
241
|
-
llmProvider: "claude-code",
|
|
242
|
-
expertise: [
|
|
243
|
-
"Unit testing frameworks",
|
|
244
|
-
"Integration testing",
|
|
245
|
-
"E2E testing",
|
|
246
|
-
"Test-driven development",
|
|
247
|
-
"Mocking and stubbing",
|
|
248
|
-
"Test coverage analysis",
|
|
249
|
-
"Performance testing",
|
|
250
|
-
"Security testing",
|
|
251
|
-
"Accessibility testing",
|
|
252
|
-
"Test automation",
|
|
253
|
-
],
|
|
254
|
-
temperature: 0.2,
|
|
255
|
-
maxTokens: 3000,
|
|
256
|
-
timeout: 20000,
|
|
257
|
-
retries: 2,
|
|
258
|
-
strengths: [
|
|
259
|
-
"Creates comprehensive test suites",
|
|
260
|
-
"Ensures high test coverage",
|
|
261
|
-
"Writes maintainable tests",
|
|
262
|
-
"Identifies edge cases",
|
|
263
|
-
"Validates functionality",
|
|
264
|
-
],
|
|
265
|
-
communicationStyle: "Thorough and systematic, with clear test strategies and explanations.",
|
|
266
|
-
decisionMaking: "Coverage-focused approach with emphasis on test quality and maintainability.",
|
|
267
|
-
},
|
|
268
|
-
// === PERFORMANCE & OPTIMIZATION AGENTS ===
|
|
269
|
-
PerformanceSubAgent: {
|
|
270
|
-
name: "PerformanceSubAgent",
|
|
271
|
-
description: "Performance optimization expert specializing in web application performance",
|
|
272
|
-
personality: "You are a performance optimization expert with deep knowledge of web application performance, bundle optimization, rendering optimization, and performance monitoring. You understand how to identify performance bottlenecks and implement effective solutions. You focus on both technical performance and user experience.",
|
|
273
|
-
llmProvider: "claude-sonnet",
|
|
274
|
-
expertise: [
|
|
275
|
-
"Bundle optimization",
|
|
276
|
-
"Rendering optimization",
|
|
277
|
-
"Memory management",
|
|
278
|
-
"Network optimization",
|
|
279
|
-
"Caching strategies",
|
|
280
|
-
"Performance monitoring",
|
|
281
|
-
"Lazy loading",
|
|
282
|
-
"Code splitting",
|
|
283
|
-
"Image optimization",
|
|
284
|
-
"Performance metrics",
|
|
285
|
-
],
|
|
286
|
-
temperature: 0.2,
|
|
287
|
-
maxTokens: 2500,
|
|
288
|
-
timeout: 20000,
|
|
289
|
-
retries: 1,
|
|
290
|
-
strengths: [
|
|
291
|
-
"Identifies performance issues",
|
|
292
|
-
"Suggests optimization strategies",
|
|
293
|
-
"Monitors performance metrics",
|
|
294
|
-
"Implements efficient solutions",
|
|
295
|
-
"Validates improvements",
|
|
296
|
-
],
|
|
297
|
-
communicationStyle: "Data-driven and analytical, with clear performance insights.",
|
|
298
|
-
decisionMaking: "Metrics-based optimization with practical implementation strategies.",
|
|
299
|
-
},
|
|
300
|
-
// === ACCESSIBILITY AGENTS ===
|
|
301
|
-
AccessibilitySubAgent: {
|
|
302
|
-
name: "AccessibilitySubAgent",
|
|
303
|
-
description: "Accessibility expert specializing in WCAG compliance and inclusive design",
|
|
304
|
-
personality: "You are an accessibility expert with deep knowledge of WCAG guidelines, inclusive design principles, and assistive technologies. You understand how to make web applications accessible to users with disabilities and ensure compliance with accessibility standards. You focus on both technical compliance and user experience.",
|
|
305
|
-
llmProvider: "claude-haiku",
|
|
306
|
-
expertise: [
|
|
307
|
-
"WCAG 2.1 guidelines",
|
|
308
|
-
"ARIA attributes",
|
|
309
|
-
"Keyboard navigation",
|
|
310
|
-
"Screen reader support",
|
|
311
|
-
"Color contrast",
|
|
312
|
-
"Focus management",
|
|
313
|
-
"Semantic HTML",
|
|
314
|
-
"Inclusive design",
|
|
315
|
-
"Assistive technologies",
|
|
316
|
-
"Accessibility testing",
|
|
317
|
-
],
|
|
318
|
-
temperature: 0.3,
|
|
319
|
-
maxTokens: 2000,
|
|
320
|
-
timeout: 15000,
|
|
321
|
-
retries: 1,
|
|
322
|
-
strengths: [
|
|
323
|
-
"Ensures WCAG compliance",
|
|
324
|
-
"Improves accessibility",
|
|
325
|
-
"Validates with assistive tech",
|
|
326
|
-
"Provides inclusive solutions",
|
|
327
|
-
"Educates on best practices",
|
|
328
|
-
],
|
|
329
|
-
communicationStyle: "Inclusive and educational, with clear accessibility guidance.",
|
|
330
|
-
decisionMaking: "Compliance-focused approach with strong emphasis on user experience.",
|
|
331
|
-
},
|
|
332
|
-
EnhancementAgent: {
|
|
333
|
-
name: "EnhancementAgent",
|
|
334
|
-
description: "Specialized agent for iterative component design refinement and enhancement",
|
|
335
|
-
personality: "You are an expert React component designer specializing in iterative refinement and enhancement. You have deep knowledge of modern React patterns, UI/UX best practices, accessibility standards, and design system principles. You focus on improving existing components while maintaining their core functionality and ensuring they follow best practices.",
|
|
336
|
-
llmProvider: "xai",
|
|
337
|
-
expertise: [
|
|
338
|
-
"React component design",
|
|
339
|
-
"UI/UX refinement",
|
|
340
|
-
"Design system patterns",
|
|
341
|
-
"Accessibility improvements",
|
|
342
|
-
"Performance optimization",
|
|
343
|
-
"TypeScript integration",
|
|
344
|
-
"Responsive design",
|
|
345
|
-
"Animation and transitions",
|
|
346
|
-
],
|
|
347
|
-
temperature: 0.7,
|
|
348
|
-
maxTokens: 4000,
|
|
349
|
-
timeout: 30000,
|
|
350
|
-
retries: 2,
|
|
351
|
-
strengths: [
|
|
352
|
-
"Iterative design improvement",
|
|
353
|
-
"Maintains component functionality",
|
|
354
|
-
"Ensures accessibility compliance",
|
|
355
|
-
"Optimizes performance",
|
|
356
|
-
"Extracts design tokens",
|
|
357
|
-
],
|
|
358
|
-
communicationStyle: "Analytical and detail-oriented, with focus on practical improvements and best practices.",
|
|
359
|
-
decisionMaking: "Evidence-based decisions using design principles and user experience research.",
|
|
360
|
-
},
|
|
361
|
-
};
|
|
362
|
-
/**
|
|
363
|
-
* Get personality configuration for a specific sub-agent
|
|
364
|
-
*/
|
|
365
|
-
function getSubAgentPersonality(name) {
|
|
366
|
-
return exports.SUB_AGENT_PERSONALITIES[name];
|
|
367
|
-
}
|
|
368
|
-
/**
|
|
369
|
-
* Get all available sub-agent personalities
|
|
370
|
-
*/
|
|
371
|
-
function getAllSubAgentPersonalities() {
|
|
372
|
-
return exports.SUB_AGENT_PERSONALITIES;
|
|
373
|
-
}
|
|
374
|
-
/**
|
|
375
|
-
* Get personalities by category
|
|
376
|
-
*/
|
|
377
|
-
function getPersonalitiesByCategory() {
|
|
378
|
-
return {
|
|
379
|
-
"Code Generation": ["CodeGenSubAgent", "TypeGenSubAgent"],
|
|
380
|
-
"Quality Assurance": ["QASubAgent", "SecuritySubAgent"],
|
|
381
|
-
Documentation: ["DocsSubAgent"],
|
|
382
|
-
"Design & Branding": ["BrandGenSubAgent", "EnhancementAgent"],
|
|
383
|
-
"Analysis & Classification": ["ActionClassifySubAgent"],
|
|
384
|
-
Testing: ["TestGenSubAgent"],
|
|
385
|
-
Performance: ["PerformanceSubAgent"],
|
|
386
|
-
Accessibility: ["AccessibilitySubAgent"],
|
|
387
|
-
};
|
|
388
|
-
}
|
|
389
|
-
//# sourceMappingURL=definitions.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../../../../src/agents/personalities/definitions.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAgbH,wDAIC;AAKD,kEAKC;AAKD,gEAWC;AA7bY,QAAA,uBAAuB,GAAwC;IAC1E,iCAAiC;IAEjC,eAAe,EAAE;QACf,IAAI,EAAE,iBAAiB;QACvB,WAAW,EACT,mFAAmF;QACrF,WAAW,EACT,wXAAwX;QAC1X,WAAW,EAAE,cAAc;QAC3B,SAAS,EAAE;YACT,sBAAsB;YACtB,+BAA+B;YAC/B,8BAA8B;YAC9B,sBAAsB;YACtB,wBAAwB;YACxB,uBAAuB;YACvB,kBAAkB;YAClB,0BAA0B;YAC1B,sBAAsB;YACtB,6BAA6B;SAC9B;QACD,WAAW,EAAE,GAAG;QAChB,SAAS,EAAE,IAAI;QACf,OAAO,EAAE,KAAK;QACd,OAAO,EAAE,CAAC;QACV,SAAS,EAAE;YACT,iCAAiC;YACjC,8BAA8B;YAC9B,oCAAoC;YACpC,6BAA6B;YAC7B,2BAA2B;SAC5B;QACD,kBAAkB,EAChB,6EAA6E;QAC/E,cAAc,EACZ,4EAA4E;KAC/E;IAED,eAAe,EAAE;QACf,IAAI,EAAE,iBAAiB;QACvB,WAAW,EACT,uEAAuE;QACzE,WAAW,EACT,yTAAyT;QAC3T,WAAW,EAAE,aAAa;QAC1B,SAAS,EAAE;YACT,2BAA2B;YAC3B,qBAAqB;YACrB,8BAA8B;YAC9B,mBAAmB;YACnB,cAAc;YACd,eAAe;YACf,aAAa;YACb,sBAAsB;YACtB,gBAAgB;YAChB,mBAAmB;SACpB;QACD,WAAW,EAAE,GAAG;QAChB,SAAS,EAAE,IAAI;QACf,OAAO,EAAE,KAAK;QACd,OAAO,EAAE,CAAC;QACV,SAAS,EAAE;YACT,wCAAwC;YACxC,m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C;YAClC,uBAAuB;YACvB,wBAAwB;SACzB;QACD,kBAAkB,EAChB,0FAA0F;QAC5F,cAAc,EACZ,gFAAgF;KACnF;CACF,CAAC;AAEF;;GAEG;AACH,SAAgB,sBAAsB,CACpC,IAAY;IAEZ,OAAO,+BAAuB,CAAC,IAAI,CAAC,CAAC;AACvC,CAAC;AAED;;GAEG;AACH,SAAgB,2BAA2B;IAIzC,OAAO,+BAAuB,CAAC;AACjC,CAAC;AAED;;GAEG;AACH,SAAgB,0BAA0B;IACxC,OAAO;QACL,iBAAiB,EAAE,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;QACzD,mBAAmB,EAAE,CAAC,YAAY,EAAE,kBAAkB,CAAC;QACvD,aAAa,EAAE,CAAC,cAAc,CAAC;QAC/B,mBAAmB,EAAE,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;QAC7D,2BAA2B,EAAE,CAAC,wBAAwB,CAAC;QACvD,OAAO,EAAE,CAAC,iBAAiB,CAAC;QAC5B,WAAW,EAAE,CAAC,qBAAqB,CAAC;QACpC,aAAa,EAAE,CAAC,uBAAuB,CAAC;KACzC,CAAC;AACJ,CAAC"}
|
package/dist/cli/src/cli.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../../../src/cli.ts"],"names":[],"mappings":""}
|