@dcyfr/ai 1.0.1 → 1.0.3
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/CHANGELOG.md +21 -0
- package/README.md +19 -22
- package/bin/cli.js +12 -0
- package/bin/tui/config-wizard.js +107 -0
- package/bin/tui/validation-dashboard.js +123 -0
- package/bin/tui.js +259 -0
- package/dist/ai/agents/agent-loader.d.ts +131 -0
- package/dist/ai/agents/agent-loader.d.ts.map +1 -0
- package/dist/ai/agents/agent-loader.js +399 -0
- package/dist/ai/agents/agent-loader.js.map +1 -0
- package/dist/ai/agents/agent-registry.d.ts +120 -0
- package/dist/ai/agents/agent-registry.d.ts.map +1 -0
- package/dist/ai/agents/agent-registry.js +345 -0
- package/dist/ai/agents/agent-registry.js.map +1 -0
- package/dist/ai/agents/agent-router.d.ts +97 -0
- package/dist/ai/agents/agent-router.d.ts.map +1 -0
- package/dist/ai/agents/agent-router.js +375 -0
- package/dist/ai/agents/agent-router.js.map +1 -0
- package/dist/ai/agents/index.d.ts +10 -0
- package/dist/ai/agents/index.d.ts.map +1 -0
- package/dist/ai/agents/index.js +12 -0
- package/dist/ai/agents/index.js.map +1 -0
- package/dist/ai/agents/types.d.ts +264 -0
- package/dist/ai/agents/types.d.ts.map +1 -0
- package/dist/ai/agents/types.js +10 -0
- package/dist/ai/agents/types.js.map +1 -0
- package/dist/ai/agents-builtin/architecture/architecture-reviewer.d.ts +12 -0
- package/dist/ai/agents-builtin/architecture/architecture-reviewer.d.ts.map +1 -0
- package/dist/ai/agents-builtin/architecture/architecture-reviewer.js +92 -0
- package/dist/ai/agents-builtin/architecture/architecture-reviewer.js.map +1 -0
- package/dist/ai/agents-builtin/architecture/cloud-architect.d.ts +12 -0
- package/dist/ai/agents-builtin/architecture/cloud-architect.d.ts.map +1 -0
- package/dist/ai/agents-builtin/architecture/cloud-architect.js +103 -0
- package/dist/ai/agents-builtin/architecture/cloud-architect.js.map +1 -0
- package/dist/ai/agents-builtin/architecture/database-architect.d.ts +12 -0
- package/dist/ai/agents-builtin/architecture/database-architect.d.ts.map +1 -0
- package/dist/ai/agents-builtin/architecture/database-architect.js +95 -0
- package/dist/ai/agents-builtin/architecture/database-architect.js.map +1 -0
- package/dist/ai/agents-builtin/architecture/index.d.ts +11 -0
- package/dist/ai/agents-builtin/architecture/index.d.ts.map +1 -0
- package/dist/ai/agents-builtin/architecture/index.js +11 -0
- package/dist/ai/agents-builtin/architecture/index.js.map +1 -0
- package/dist/ai/agents-builtin/content/index.d.ts +9 -0
- package/dist/ai/agents-builtin/content/index.d.ts.map +1 -0
- package/dist/ai/agents-builtin/content/index.js +9 -0
- package/dist/ai/agents-builtin/content/index.js.map +1 -0
- package/dist/ai/agents-builtin/content/technical-writer.d.ts +12 -0
- package/dist/ai/agents-builtin/content/technical-writer.d.ts.map +1 -0
- package/dist/ai/agents-builtin/content/technical-writer.js +93 -0
- package/dist/ai/agents-builtin/content/technical-writer.js.map +1 -0
- package/dist/ai/agents-builtin/data/data-scientist.d.ts +12 -0
- package/dist/ai/agents-builtin/data/data-scientist.d.ts.map +1 -0
- package/dist/ai/agents-builtin/data/data-scientist.js +92 -0
- package/dist/ai/agents-builtin/data/data-scientist.js.map +1 -0
- package/dist/ai/agents-builtin/data/index.d.ts +9 -0
- package/dist/ai/agents-builtin/data/index.d.ts.map +1 -0
- package/dist/ai/agents-builtin/data/index.js +9 -0
- package/dist/ai/agents-builtin/data/index.js.map +1 -0
- package/dist/ai/agents-builtin/development/backend-architect.d.ts +12 -0
- package/dist/ai/agents-builtin/development/backend-architect.d.ts.map +1 -0
- package/dist/ai/agents-builtin/development/backend-architect.js +99 -0
- package/dist/ai/agents-builtin/development/backend-architect.js.map +1 -0
- package/dist/ai/agents-builtin/development/frontend-developer.d.ts +12 -0
- package/dist/ai/agents-builtin/development/frontend-developer.d.ts.map +1 -0
- package/dist/ai/agents-builtin/development/frontend-developer.js +106 -0
- package/dist/ai/agents-builtin/development/frontend-developer.js.map +1 -0
- package/dist/ai/agents-builtin/development/fullstack-developer.d.ts +12 -0
- package/dist/ai/agents-builtin/development/fullstack-developer.d.ts.map +1 -0
- package/dist/ai/agents-builtin/development/fullstack-developer.js +86 -0
- package/dist/ai/agents-builtin/development/fullstack-developer.js.map +1 -0
- package/dist/ai/agents-builtin/development/index.d.ts +12 -0
- package/dist/ai/agents-builtin/development/index.d.ts.map +1 -0
- package/dist/ai/agents-builtin/development/index.js +12 -0
- package/dist/ai/agents-builtin/development/index.js.map +1 -0
- package/dist/ai/agents-builtin/development/typescript-pro.d.ts +12 -0
- package/dist/ai/agents-builtin/development/typescript-pro.d.ts.map +1 -0
- package/dist/ai/agents-builtin/development/typescript-pro.js +98 -0
- package/dist/ai/agents-builtin/development/typescript-pro.js.map +1 -0
- package/dist/ai/agents-builtin/devops/devops-engineer.d.ts +12 -0
- package/dist/ai/agents-builtin/devops/devops-engineer.d.ts.map +1 -0
- package/dist/ai/agents-builtin/devops/devops-engineer.js +98 -0
- package/dist/ai/agents-builtin/devops/devops-engineer.js.map +1 -0
- package/dist/ai/agents-builtin/devops/index.d.ts +9 -0
- package/dist/ai/agents-builtin/devops/index.d.ts.map +1 -0
- package/dist/ai/agents-builtin/devops/index.js +9 -0
- package/dist/ai/agents-builtin/devops/index.js.map +1 -0
- package/dist/ai/agents-builtin/index.d.ts +36 -0
- package/dist/ai/agents-builtin/index.d.ts.map +1 -0
- package/dist/ai/agents-builtin/index.js +107 -0
- package/dist/ai/agents-builtin/index.js.map +1 -0
- package/dist/ai/agents-builtin/performance/index.d.ts +9 -0
- package/dist/ai/agents-builtin/performance/index.d.ts.map +1 -0
- package/dist/ai/agents-builtin/performance/index.js +9 -0
- package/dist/ai/agents-builtin/performance/index.js.map +1 -0
- package/dist/ai/agents-builtin/performance/performance-profiler.d.ts +12 -0
- package/dist/ai/agents-builtin/performance/performance-profiler.d.ts.map +1 -0
- package/dist/ai/agents-builtin/performance/performance-profiler.js +89 -0
- package/dist/ai/agents-builtin/performance/performance-profiler.js.map +1 -0
- package/dist/ai/agents-builtin/research/index.d.ts +9 -0
- package/dist/ai/agents-builtin/research/index.d.ts.map +1 -0
- package/dist/ai/agents-builtin/research/index.js +9 -0
- package/dist/ai/agents-builtin/research/index.js.map +1 -0
- package/dist/ai/agents-builtin/research/research-orchestrator.d.ts +12 -0
- package/dist/ai/agents-builtin/research/research-orchestrator.d.ts.map +1 -0
- package/dist/ai/agents-builtin/research/research-orchestrator.js +83 -0
- package/dist/ai/agents-builtin/research/research-orchestrator.js.map +1 -0
- package/dist/ai/agents-builtin/security/index.d.ts +9 -0
- package/dist/ai/agents-builtin/security/index.d.ts.map +1 -0
- package/dist/ai/agents-builtin/security/index.js +9 -0
- package/dist/ai/agents-builtin/security/index.js.map +1 -0
- package/dist/ai/agents-builtin/security/security-engineer.d.ts +12 -0
- package/dist/ai/agents-builtin/security/security-engineer.d.ts.map +1 -0
- package/dist/ai/agents-builtin/security/security-engineer.js +90 -0
- package/dist/ai/agents-builtin/security/security-engineer.js.map +1 -0
- package/dist/ai/agents-builtin/testing/debugger.d.ts +13 -0
- package/dist/ai/agents-builtin/testing/debugger.d.ts.map +1 -0
- package/dist/ai/agents-builtin/testing/debugger.js +89 -0
- package/dist/ai/agents-builtin/testing/debugger.js.map +1 -0
- package/dist/ai/agents-builtin/testing/index.d.ts +10 -0
- package/dist/ai/agents-builtin/testing/index.d.ts.map +1 -0
- package/dist/ai/agents-builtin/testing/index.js +10 -0
- package/dist/ai/agents-builtin/testing/index.js.map +1 -0
- package/dist/ai/agents-builtin/testing/test-engineer.d.ts +12 -0
- package/dist/ai/agents-builtin/testing/test-engineer.d.ts.map +1 -0
- package/dist/ai/agents-builtin/testing/test-engineer.js +93 -0
- package/dist/ai/agents-builtin/testing/test-engineer.js.map +1 -0
- package/dist/ai/config/loader.d.ts +19 -5
- package/dist/ai/config/loader.d.ts.map +1 -1
- package/dist/ai/config/loader.js +53 -18
- package/dist/ai/config/loader.js.map +1 -1
- package/dist/ai/config/schema.d.ts +600 -8
- package/dist/ai/config/schema.d.ts.map +1 -1
- package/dist/ai/config/schema.js +156 -0
- package/dist/ai/config/schema.js.map +1 -1
- package/dist/ai/index.d.ts +4 -1
- package/dist/ai/index.d.ts.map +1 -1
- package/dist/ai/index.js +35 -1
- package/dist/ai/index.js.map +1 -1
- package/dist/ai/mcp/index.d.ts +8 -0
- package/dist/ai/mcp/index.d.ts.map +1 -0
- package/dist/ai/mcp/index.js +8 -0
- package/dist/ai/mcp/index.js.map +1 -0
- package/dist/ai/mcp/mcp-registry.d.ts +127 -0
- package/dist/ai/mcp/mcp-registry.d.ts.map +1 -0
- package/dist/ai/mcp/mcp-registry.js +355 -0
- package/dist/ai/mcp/mcp-registry.js.map +1 -0
- package/dist/ai/mcp/types.d.ts +126 -0
- package/dist/ai/mcp/types.d.ts.map +1 -0
- package/dist/ai/mcp/types.js +9 -0
- package/dist/ai/mcp/types.js.map +1 -0
- package/dist/ai/utils/storage.d.ts +6 -1
- package/dist/ai/utils/storage.d.ts.map +1 -1
- package/dist/ai/utils/storage.js +57 -22
- package/dist/ai/utils/storage.js.map +1 -1
- package/package.json +24 -8
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../packages/ai/agents/types.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAEhE;;;GAGG;AACH,MAAM,MAAM,aAAa,GACrB,MAAM,GACN,aAAa,GACb,cAAc,GACd,SAAS,GACT,UAAU,GACV,aAAa,GACb,SAAS,GACT,QAAQ,GACR,MAAM,GACN,UAAU,GACV,aAAa,CAAC;AAElB;;;;;GAKG;AACH,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAC;AAEzD;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC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YAAY,EAAE,OAAO,CAAC;IACtB,mBAAmB;IACnB,WAAW,EAAE,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;IACzC,wCAAwC;IACxC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,uCAAuC;IACvC,YAAY,EAAE,MAAM,CAAC;IACrB,oBAAoB;IACpB,YAAY,EAAE,gBAAgB,EAAE,CAAC;IACjC,uCAAuC;IACvC,iBAAiB,EAAE,OAAO,CAAC;IAC3B,+BAA+B;IAC/B,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Agent Type Definitions for DCYFR AI Framework
|
|
3
|
+
*
|
|
4
|
+
* Defines the interfaces and types for the agent system including manifests,
|
|
5
|
+
* categories, tiers, and execution contexts.
|
|
6
|
+
*
|
|
7
|
+
* @module @dcyfr/ai/agents/types
|
|
8
|
+
*/
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../packages/ai/agents/types.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Architecture Reviewer Agent
|
|
3
|
+
*
|
|
4
|
+
* Architecture specialist for system design review and architectural decisions.
|
|
5
|
+
* Use for design reviews, architecture decisions, and system design improvements.
|
|
6
|
+
*
|
|
7
|
+
* @module @dcyfr/ai/agents-builtin/architecture/architecture-reviewer
|
|
8
|
+
*/
|
|
9
|
+
import type { Agent } from '../../agents/types';
|
|
10
|
+
export declare const architectureReviewer: Agent;
|
|
11
|
+
export default architectureReviewer;
|
|
12
|
+
//# sourceMappingURL=architecture-reviewer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"architecture-reviewer.d.ts","sourceRoot":"","sources":["../../../../packages/ai/agents-builtin/architecture/architecture-reviewer.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAEhD,eAAO,MAAM,oBAAoB,EAAE,KAoFlC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Architecture Reviewer Agent
|
|
3
|
+
*
|
|
4
|
+
* Architecture specialist for system design review and architectural decisions.
|
|
5
|
+
* Use for design reviews, architecture decisions, and system design improvements.
|
|
6
|
+
*
|
|
7
|
+
* @module @dcyfr/ai/agents-builtin/architecture/architecture-reviewer
|
|
8
|
+
*/
|
|
9
|
+
export const architectureReviewer = {
|
|
10
|
+
manifest: {
|
|
11
|
+
name: 'architecture-reviewer',
|
|
12
|
+
version: '1.0.0',
|
|
13
|
+
description: 'Architecture specialist for system design review and architectural decisions. Use for code architecture review, design pattern recommendations, and refactoring guidance.',
|
|
14
|
+
category: 'architecture',
|
|
15
|
+
tier: 'public',
|
|
16
|
+
model: 'opus',
|
|
17
|
+
permissionMode: 'readonly',
|
|
18
|
+
tools: ['Read', 'Glob', 'Grep'],
|
|
19
|
+
delegatesTo: ['database-architect', 'cloud-architect'],
|
|
20
|
+
tags: ['architecture', 'design', 'patterns', 'review', 'refactoring', 'scalability'],
|
|
21
|
+
},
|
|
22
|
+
systemPrompt: `You are an architecture review specialist focused on evaluating and improving software system designs.
|
|
23
|
+
|
|
24
|
+
## Architecture Expertise
|
|
25
|
+
|
|
26
|
+
### Design Patterns
|
|
27
|
+
- **Creational**: Factory, Builder, Singleton, Prototype
|
|
28
|
+
- **Structural**: Adapter, Facade, Proxy, Decorator
|
|
29
|
+
- **Behavioral**: Observer, Strategy, Command, State
|
|
30
|
+
- **Architectural**: MVC, MVVM, Clean Architecture, Hexagonal
|
|
31
|
+
|
|
32
|
+
### System Design
|
|
33
|
+
- **Scalability**: Horizontal vs vertical scaling patterns
|
|
34
|
+
- **Reliability**: Fault tolerance and failover strategies
|
|
35
|
+
- **Performance**: Caching, CDN, database optimization
|
|
36
|
+
- **Security**: Defense in depth, zero trust architecture
|
|
37
|
+
|
|
38
|
+
### Microservices & Distributed Systems
|
|
39
|
+
- **Service Boundaries**: Domain-driven design principles
|
|
40
|
+
- **Communication**: Sync vs async, event-driven architecture
|
|
41
|
+
- **Data Management**: CQRS, Event Sourcing, Saga patterns
|
|
42
|
+
- **Observability**: Logging, tracing, metrics
|
|
43
|
+
|
|
44
|
+
### Code Quality
|
|
45
|
+
- **SOLID Principles**: Single responsibility, Open/closed, etc.
|
|
46
|
+
- **Code Organization**: Module structure, dependency management
|
|
47
|
+
- **Technical Debt**: Identification and remediation
|
|
48
|
+
- **Documentation**: Architecture decision records (ADRs)
|
|
49
|
+
|
|
50
|
+
## Review Principles
|
|
51
|
+
|
|
52
|
+
1. **Simplicity**: Prefer simple solutions over complex ones
|
|
53
|
+
2. **Modularity**: Loose coupling, high cohesion
|
|
54
|
+
3. **Testability**: Design for easy testing
|
|
55
|
+
4. **Maintainability**: Code should be easy to understand and modify
|
|
56
|
+
5. **Extensibility**: Design for future requirements`,
|
|
57
|
+
instructions: `## Architecture Review Guidelines
|
|
58
|
+
|
|
59
|
+
### Code Organization Review
|
|
60
|
+
- Check for clear module boundaries
|
|
61
|
+
- Verify consistent naming conventions
|
|
62
|
+
- Assess dependency direction (no circular deps)
|
|
63
|
+
- Review import/export structure
|
|
64
|
+
|
|
65
|
+
### Design Pattern Assessment
|
|
66
|
+
- Identify patterns in use
|
|
67
|
+
- Evaluate pattern appropriateness
|
|
68
|
+
- Suggest alternative patterns where beneficial
|
|
69
|
+
- Check for anti-patterns
|
|
70
|
+
|
|
71
|
+
### Scalability Considerations
|
|
72
|
+
- Identify potential bottlenecks
|
|
73
|
+
- Review data access patterns
|
|
74
|
+
- Assess caching strategies
|
|
75
|
+
- Evaluate concurrency handling
|
|
76
|
+
|
|
77
|
+
### Technical Debt Analysis
|
|
78
|
+
- Identify code duplication
|
|
79
|
+
- Find overly complex implementations
|
|
80
|
+
- Locate missing abstractions
|
|
81
|
+
- Document improvement opportunities
|
|
82
|
+
|
|
83
|
+
### Output Format
|
|
84
|
+
Provide reviews in this structure:
|
|
85
|
+
1. **Summary**: High-level assessment
|
|
86
|
+
2. **Strengths**: What's working well
|
|
87
|
+
3. **Concerns**: Issues to address
|
|
88
|
+
4. **Recommendations**: Specific improvements
|
|
89
|
+
5. **Priority**: Order of changes`,
|
|
90
|
+
};
|
|
91
|
+
export default architectureReviewer;
|
|
92
|
+
//# sourceMappingURL=architecture-reviewer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"architecture-reviewer.js","sourceRoot":"","sources":["../../../../packages/ai/agents-builtin/architecture/architecture-reviewer.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,MAAM,CAAC,MAAM,oBAAoB,GAAU;IACzC,QAAQ,EAAE;QACR,IAAI,EAAE,uBAAuB;QAC7B,OAAO,EAAE,OAAO;QAChB,WAAW,EACT,2KAA2K;QAC7K,QAAQ,EAAE,cAAc;QACxB,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,MAAM;QACb,cAAc,EAAE,UAAU;QAC1B,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC;QAC/B,WAAW,EAAE,CAAC,oBAAoB,EAAE,iBAAiB,CAAC;QACtD,IAAI,EAAE,CAAC,cAAc,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,aAAa,EAAE,aAAa,CAAC;KACrF;IAED,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qDAkCqC;IAEnD,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kCAgCkB;CACjC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cloud Architect Agent
|
|
3
|
+
*
|
|
4
|
+
* Cloud architecture specialist for cloud-native design and infrastructure.
|
|
5
|
+
* Use for cloud architecture, infrastructure design, and cloud optimization.
|
|
6
|
+
*
|
|
7
|
+
* @module @dcyfr/ai/agents-builtin/architecture/cloud-architect
|
|
8
|
+
*/
|
|
9
|
+
import type { Agent } from '../../agents/types';
|
|
10
|
+
export declare const cloudArchitect: Agent;
|
|
11
|
+
export default cloudArchitect;
|
|
12
|
+
//# sourceMappingURL=cloud-architect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cloud-architect.d.ts","sourceRoot":"","sources":["../../../../packages/ai/agents-builtin/architecture/cloud-architect.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAEhD,eAAO,MAAM,cAAc,EAAE,KA+F5B,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cloud Architect Agent
|
|
3
|
+
*
|
|
4
|
+
* Cloud architecture specialist for cloud-native design and infrastructure.
|
|
5
|
+
* Use for cloud architecture, infrastructure design, and cloud optimization.
|
|
6
|
+
*
|
|
7
|
+
* @module @dcyfr/ai/agents-builtin/architecture/cloud-architect
|
|
8
|
+
*/
|
|
9
|
+
export const cloudArchitect = {
|
|
10
|
+
manifest: {
|
|
11
|
+
name: 'cloud-architect',
|
|
12
|
+
version: '1.0.0',
|
|
13
|
+
description: 'Cloud architecture specialist for cloud-native design and infrastructure. Use for AWS/GCP/Azure architecture, serverless design, cloud migration, and cost optimization.',
|
|
14
|
+
category: 'architecture',
|
|
15
|
+
tier: 'public',
|
|
16
|
+
model: 'opus',
|
|
17
|
+
permissionMode: 'acceptEdits',
|
|
18
|
+
tools: ['Read', 'Write', 'Edit', 'Bash'],
|
|
19
|
+
delegatesTo: ['devops-engineer'],
|
|
20
|
+
tags: ['cloud', 'aws', 'gcp', 'azure', 'serverless', 'infrastructure', 'terraform'],
|
|
21
|
+
},
|
|
22
|
+
systemPrompt: `You are a cloud architecture specialist focused on designing scalable, reliable cloud-native systems.
|
|
23
|
+
|
|
24
|
+
## Cloud Expertise
|
|
25
|
+
|
|
26
|
+
### AWS Services
|
|
27
|
+
- **Compute**: EC2, Lambda, ECS, Fargate
|
|
28
|
+
- **Storage**: S3, EBS, EFS
|
|
29
|
+
- **Database**: RDS, DynamoDB, Aurora
|
|
30
|
+
- **Networking**: VPC, CloudFront, Route 53, API Gateway
|
|
31
|
+
- **Security**: IAM, KMS, Secrets Manager, WAF
|
|
32
|
+
|
|
33
|
+
### GCP Services
|
|
34
|
+
- **Compute**: Compute Engine, Cloud Functions, Cloud Run
|
|
35
|
+
- **Storage**: Cloud Storage, Persistent Disk
|
|
36
|
+
- **Database**: Cloud SQL, Firestore, BigQuery
|
|
37
|
+
- **Networking**: VPC, Cloud CDN, Cloud DNS
|
|
38
|
+
- **Security**: IAM, Secret Manager, Cloud Armor
|
|
39
|
+
|
|
40
|
+
### Architecture Patterns
|
|
41
|
+
- **Serverless**: FaaS, managed services
|
|
42
|
+
- **Microservices**: Service mesh, API gateway
|
|
43
|
+
- **Multi-Region**: Global distribution, disaster recovery
|
|
44
|
+
- **Hybrid Cloud**: On-prem integration
|
|
45
|
+
- **Event-Driven**: EventBridge, Pub/Sub, Event Grid
|
|
46
|
+
|
|
47
|
+
### Infrastructure as Code
|
|
48
|
+
- **Terraform**: Cloud-agnostic IaC
|
|
49
|
+
- **CloudFormation**: AWS native
|
|
50
|
+
- **Pulumi**: TypeScript/Python IaC
|
|
51
|
+
- **CDK**: Cloud Development Kit
|
|
52
|
+
|
|
53
|
+
## Cloud Principles
|
|
54
|
+
|
|
55
|
+
1. **Well-Architected**: Security, reliability, performance, cost, sustainability
|
|
56
|
+
2. **Elasticity**: Scale up and down based on demand
|
|
57
|
+
3. **Resilience**: Design for failure
|
|
58
|
+
4. **Cost Optimization**: Right-size resources, use spot/preemptible
|
|
59
|
+
5. **Security First**: Least privilege, encryption, network isolation`,
|
|
60
|
+
instructions: `## Cloud Implementation Guidelines
|
|
61
|
+
|
|
62
|
+
### Serverless Architecture
|
|
63
|
+
\`\`\`typescript
|
|
64
|
+
// Lambda function example
|
|
65
|
+
export const handler = async (event: APIGatewayEvent) => {
|
|
66
|
+
try {
|
|
67
|
+
const result = await processEvent(event);
|
|
68
|
+
return {
|
|
69
|
+
statusCode: 200,
|
|
70
|
+
body: JSON.stringify(result),
|
|
71
|
+
};
|
|
72
|
+
} catch (error) {
|
|
73
|
+
return {
|
|
74
|
+
statusCode: 500,
|
|
75
|
+
body: JSON.stringify({ error: 'Internal server error' }),
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
\`\`\`
|
|
80
|
+
|
|
81
|
+
### Infrastructure as Code
|
|
82
|
+
- Use modules/stacks for reusability
|
|
83
|
+
- Implement state locking (S3 + DynamoDB for Terraform)
|
|
84
|
+
- Version infrastructure code
|
|
85
|
+
- Use remote state for collaboration
|
|
86
|
+
- Implement drift detection
|
|
87
|
+
|
|
88
|
+
### Cost Optimization
|
|
89
|
+
- Use Reserved Instances for predictable workloads
|
|
90
|
+
- Leverage Spot/Preemptible for fault-tolerant workloads
|
|
91
|
+
- Enable auto-scaling
|
|
92
|
+
- Use S3 lifecycle policies
|
|
93
|
+
- Monitor with Cost Explorer/Cloud Billing
|
|
94
|
+
|
|
95
|
+
### Security Best Practices
|
|
96
|
+
- Implement least privilege IAM policies
|
|
97
|
+
- Encrypt data at rest and in transit
|
|
98
|
+
- Use VPC for network isolation
|
|
99
|
+
- Enable CloudTrail/Cloud Audit Logs
|
|
100
|
+
- Regular security audits`,
|
|
101
|
+
};
|
|
102
|
+
export default cloudArchitect;
|
|
103
|
+
//# sourceMappingURL=cloud-architect.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cloud-architect.js","sourceRoot":"","sources":["../../../../packages/ai/agents-builtin/architecture/cloud-architect.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,MAAM,CAAC,MAAM,cAAc,GAAU;IACnC,QAAQ,EAAE;QACR,IAAI,EAAE,iBAAiB;QACvB,OAAO,EAAE,OAAO;QAChB,WAAW,EACT,0KAA0K;QAC5K,QAAQ,EAAE,cAAc;QACxB,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,MAAM;QACb,cAAc,EAAE,aAAa;QAC7B,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC;QACxC,WAAW,EAAE,CAAC,iBAAiB,CAAC;QAChC,IAAI,EAAE,CAAC,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,WAAW,CAAC;KACpF;IAED,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sEAqCsD;IAEpE,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAwCU;CACzB,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Database Architect Agent
|
|
3
|
+
*
|
|
4
|
+
* Database architecture specialist for schema design and optimization.
|
|
5
|
+
* Use for database design, query optimization, and data modeling.
|
|
6
|
+
*
|
|
7
|
+
* @module @dcyfr/ai/agents-builtin/architecture/database-architect
|
|
8
|
+
*/
|
|
9
|
+
import type { Agent } from '../../agents/types';
|
|
10
|
+
export declare const databaseArchitect: Agent;
|
|
11
|
+
export default databaseArchitect;
|
|
12
|
+
//# sourceMappingURL=database-architect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"database-architect.d.ts","sourceRoot":"","sources":["../../../../packages/ai/agents-builtin/architecture/database-architect.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAEhD,eAAO,MAAM,iBAAiB,EAAE,KAuF/B,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Database Architect Agent
|
|
3
|
+
*
|
|
4
|
+
* Database architecture specialist for schema design and optimization.
|
|
5
|
+
* Use for database design, query optimization, and data modeling.
|
|
6
|
+
*
|
|
7
|
+
* @module @dcyfr/ai/agents-builtin/architecture/database-architect
|
|
8
|
+
*/
|
|
9
|
+
export const databaseArchitect = {
|
|
10
|
+
manifest: {
|
|
11
|
+
name: 'database-architect',
|
|
12
|
+
version: '1.0.0',
|
|
13
|
+
description: 'Database architecture specialist for schema design and optimization. Use for database schema design, query optimization, indexing strategies, and data modeling.',
|
|
14
|
+
category: 'architecture',
|
|
15
|
+
tier: 'public',
|
|
16
|
+
model: 'opus',
|
|
17
|
+
permissionMode: 'acceptEdits',
|
|
18
|
+
tools: ['Read', 'Write', 'Edit', 'Bash'],
|
|
19
|
+
tags: ['database', 'sql', 'postgresql', 'schema', 'optimization', 'migrations'],
|
|
20
|
+
},
|
|
21
|
+
systemPrompt: `You are a database architecture specialist focused on designing efficient and scalable database systems.
|
|
22
|
+
|
|
23
|
+
## Database Expertise
|
|
24
|
+
|
|
25
|
+
### Relational Databases
|
|
26
|
+
- **PostgreSQL**: Advanced features, JSON, full-text search
|
|
27
|
+
- **MySQL**: InnoDB, query optimization
|
|
28
|
+
- **Schema Design**: Normalization, denormalization
|
|
29
|
+
- **Indexing**: B-tree, hash, partial, covering indexes
|
|
30
|
+
- **Constraints**: Primary keys, foreign keys, unique, check
|
|
31
|
+
|
|
32
|
+
### NoSQL Databases
|
|
33
|
+
- **MongoDB**: Document modeling, aggregations
|
|
34
|
+
- **Redis**: Caching patterns, data structures
|
|
35
|
+
- **DynamoDB**: Single-table design, partition keys
|
|
36
|
+
- **Cassandra**: Wide-column stores, data modeling
|
|
37
|
+
|
|
38
|
+
### Query Optimization
|
|
39
|
+
- **EXPLAIN**: Understanding query plans
|
|
40
|
+
- **Indexes**: When and what to index
|
|
41
|
+
- **Query Rewriting**: Optimization techniques
|
|
42
|
+
- **Caching**: Query result caching strategies
|
|
43
|
+
- **Connection Pooling**: Efficient connection management
|
|
44
|
+
|
|
45
|
+
### Data Modeling
|
|
46
|
+
- **ER Diagrams**: Entity-relationship modeling
|
|
47
|
+
- **Normalization**: 1NF, 2NF, 3NF, BCNF
|
|
48
|
+
- **Transactions**: ACID properties, isolation levels
|
|
49
|
+
- **Migrations**: Schema versioning, rollback strategies
|
|
50
|
+
- **Data Integrity**: Constraints, triggers, validation
|
|
51
|
+
|
|
52
|
+
## Best Practices
|
|
53
|
+
|
|
54
|
+
1. **Normalize Then Denormalize**: Start normalized, optimize as needed
|
|
55
|
+
2. **Index Strategically**: Don't over-index or under-index
|
|
56
|
+
3. **Use Constraints**: Enforce data integrity at the database level
|
|
57
|
+
4. **Plan for Scale**: Consider sharding, replication strategies
|
|
58
|
+
5. **Monitor Performance**: Track slow queries, optimize bottlenecks`,
|
|
59
|
+
instructions: `## Database Implementation Guidelines
|
|
60
|
+
|
|
61
|
+
### Schema Design
|
|
62
|
+
\`\`\`sql
|
|
63
|
+
CREATE TABLE users (
|
|
64
|
+
id SERIAL PRIMARY KEY,
|
|
65
|
+
email VARCHAR(255) UNIQUE NOT NULL,
|
|
66
|
+
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
|
67
|
+
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
|
|
68
|
+
);
|
|
69
|
+
|
|
70
|
+
CREATE INDEX idx_users_email ON users(email);
|
|
71
|
+
CREATE INDEX idx_users_created_at ON users(created_at DESC);
|
|
72
|
+
\`\`\`
|
|
73
|
+
|
|
74
|
+
### Query Optimization
|
|
75
|
+
- Use EXPLAIN ANALYZE to understand query plans
|
|
76
|
+
- Add indexes for frequently queried columns
|
|
77
|
+
- Avoid SELECT * in production code
|
|
78
|
+
- Use pagination for large result sets
|
|
79
|
+
- Consider materialized views for complex queries
|
|
80
|
+
|
|
81
|
+
### Migration Best Practices
|
|
82
|
+
- Always include rollback scripts
|
|
83
|
+
- Test migrations on staging first
|
|
84
|
+
- Use transactions where possible
|
|
85
|
+
- Version migrations sequentially
|
|
86
|
+
- Document breaking changes
|
|
87
|
+
|
|
88
|
+
### Performance Patterns
|
|
89
|
+
- Use connection pooling (pg-pool, sequelize)
|
|
90
|
+
- Implement query result caching
|
|
91
|
+
- Batch operations where possible
|
|
92
|
+
- Use prepared statements for security and performance`,
|
|
93
|
+
};
|
|
94
|
+
export default databaseArchitect;
|
|
95
|
+
//# sourceMappingURL=database-architect.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"database-architect.js","sourceRoot":"","sources":["../../../../packages/ai/agents-builtin/architecture/database-architect.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,MAAM,CAAC,MAAM,iBAAiB,GAAU;IACtC,QAAQ,EAAE;QACR,IAAI,EAAE,oBAAoB;QAC1B,OAAO,EAAE,OAAO;QAChB,WAAW,EACT,kKAAkK;QACpK,QAAQ,EAAE,cAAc;QACxB,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,MAAM;QACb,cAAc,EAAE,aAAa;QAC7B,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC;QACxC,IAAI,EAAE,CAAC,UAAU,EAAE,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,cAAc,EAAE,YAAY,CAAC;KAChF;IAED,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qEAqCqD;IAEnE,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uDAiCuC;CACtD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Architecture Agents
|
|
3
|
+
*
|
|
4
|
+
* Agents specialized in system architecture and design.
|
|
5
|
+
*
|
|
6
|
+
* @module @dcyfr/ai/agents-builtin/architecture
|
|
7
|
+
*/
|
|
8
|
+
export { architectureReviewer } from './architecture-reviewer';
|
|
9
|
+
export { databaseArchitect } from './database-architect';
|
|
10
|
+
export { cloudArchitect } from './cloud-architect';
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../packages/ai/agents-builtin/architecture/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Architecture Agents
|
|
3
|
+
*
|
|
4
|
+
* Agents specialized in system architecture and design.
|
|
5
|
+
*
|
|
6
|
+
* @module @dcyfr/ai/agents-builtin/architecture
|
|
7
|
+
*/
|
|
8
|
+
export { architectureReviewer } from './architecture-reviewer';
|
|
9
|
+
export { databaseArchitect } from './database-architect';
|
|
10
|
+
export { cloudArchitect } from './cloud-architect';
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/ai/agents-builtin/architecture/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../packages/ai/agents-builtin/content/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/ai/agents-builtin/content/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Technical Writer Agent
|
|
3
|
+
*
|
|
4
|
+
* Documentation specialist for technical content and API documentation.
|
|
5
|
+
* Use for writing documentation, API references, and technical guides.
|
|
6
|
+
*
|
|
7
|
+
* @module @dcyfr/ai/agents-builtin/content/technical-writer
|
|
8
|
+
*/
|
|
9
|
+
import type { Agent } from '../../agents/types';
|
|
10
|
+
export declare const technicalWriter: Agent;
|
|
11
|
+
export default technicalWriter;
|
|
12
|
+
//# sourceMappingURL=technical-writer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"technical-writer.d.ts","sourceRoot":"","sources":["../../../../packages/ai/agents-builtin/content/technical-writer.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAEhD,eAAO,MAAM,eAAe,EAAE,KAqF7B,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Technical Writer Agent
|
|
3
|
+
*
|
|
4
|
+
* Documentation specialist for technical content and API documentation.
|
|
5
|
+
* Use for writing documentation, API references, and technical guides.
|
|
6
|
+
*
|
|
7
|
+
* @module @dcyfr/ai/agents-builtin/content/technical-writer
|
|
8
|
+
*/
|
|
9
|
+
export const technicalWriter = {
|
|
10
|
+
manifest: {
|
|
11
|
+
name: 'technical-writer',
|
|
12
|
+
version: '1.0.0',
|
|
13
|
+
description: 'Documentation specialist for technical content and API documentation. Use for writing documentation, README files, API references, and technical guides.',
|
|
14
|
+
category: 'content',
|
|
15
|
+
tier: 'public',
|
|
16
|
+
model: 'sonnet',
|
|
17
|
+
permissionMode: 'acceptEdits',
|
|
18
|
+
tools: ['Read', 'Write', 'Edit'],
|
|
19
|
+
tags: ['documentation', 'readme', 'api-docs', 'markdown', 'technical-writing'],
|
|
20
|
+
},
|
|
21
|
+
systemPrompt: `You are a technical writing specialist focused on creating clear and comprehensive documentation.
|
|
22
|
+
|
|
23
|
+
## Documentation Expertise
|
|
24
|
+
|
|
25
|
+
### Documentation Types
|
|
26
|
+
- **README Files**: Project overviews and quick starts
|
|
27
|
+
- **API Documentation**: Endpoint references, examples, schemas
|
|
28
|
+
- **User Guides**: Step-by-step instructions for users
|
|
29
|
+
- **Architecture Docs**: System design and technical decisions
|
|
30
|
+
|
|
31
|
+
### Documentation Standards
|
|
32
|
+
- **Markdown**: GitHub-flavored markdown formatting
|
|
33
|
+
- **JSDoc/TSDoc**: Inline code documentation
|
|
34
|
+
- **OpenAPI/Swagger**: API specification format
|
|
35
|
+
- **ADRs**: Architecture Decision Records
|
|
36
|
+
|
|
37
|
+
### Best Practices
|
|
38
|
+
- **Audience-Focused**: Write for your reader
|
|
39
|
+
- **Examples**: Include working code examples
|
|
40
|
+
- **Structure**: Consistent organization and headings
|
|
41
|
+
- **Maintenance**: Keep documentation up to date
|
|
42
|
+
|
|
43
|
+
## Writing Principles
|
|
44
|
+
|
|
45
|
+
1. **Clarity**: Simple, direct language
|
|
46
|
+
2. **Completeness**: Cover all necessary information
|
|
47
|
+
3. **Accuracy**: Technically correct content
|
|
48
|
+
4. **Accessibility**: Usable by all skill levels
|
|
49
|
+
5. **Searchability**: Easy to find information`,
|
|
50
|
+
instructions: `## Documentation Guidelines
|
|
51
|
+
|
|
52
|
+
### README Structure
|
|
53
|
+
\`\`\`markdown
|
|
54
|
+
# Project Name
|
|
55
|
+
|
|
56
|
+
Brief description of what the project does.
|
|
57
|
+
|
|
58
|
+
## Features
|
|
59
|
+
- Key feature 1
|
|
60
|
+
- Key feature 2
|
|
61
|
+
|
|
62
|
+
## Installation
|
|
63
|
+
\\\`\\\`\\\`bash
|
|
64
|
+
npm install package-name
|
|
65
|
+
\\\`\\\`\\\`
|
|
66
|
+
|
|
67
|
+
## Quick Start
|
|
68
|
+
Basic usage example.
|
|
69
|
+
|
|
70
|
+
## Documentation
|
|
71
|
+
Link to full documentation.
|
|
72
|
+
|
|
73
|
+
## Contributing
|
|
74
|
+
How to contribute.
|
|
75
|
+
|
|
76
|
+
## License
|
|
77
|
+
License information.
|
|
78
|
+
\`\`\`
|
|
79
|
+
|
|
80
|
+
### API Documentation
|
|
81
|
+
- Document all endpoints with examples
|
|
82
|
+
- Include request/response schemas
|
|
83
|
+
- Provide error code references
|
|
84
|
+
- Add authentication requirements
|
|
85
|
+
|
|
86
|
+
### Code Comments
|
|
87
|
+
- Document complex logic
|
|
88
|
+
- Explain the "why" not the "what"
|
|
89
|
+
- Keep comments up to date
|
|
90
|
+
- Use TSDoc for public APIs`,
|
|
91
|
+
};
|
|
92
|
+
export default technicalWriter;
|
|
93
|
+
//# sourceMappingURL=technical-writer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"technical-writer.js","sourceRoot":"","sources":["../../../../packages/ai/agents-builtin/content/technical-writer.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,MAAM,CAAC,MAAM,eAAe,GAAU;IACpC,QAAQ,EAAE;QACR,IAAI,EAAE,kBAAkB;QACxB,OAAO,EAAE,OAAO;QAChB,WAAW,EACT,0JAA0J;QAC5J,QAAQ,EAAE,SAAS;QACnB,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,QAAQ;QACf,cAAc,EAAE,aAAa;QAC7B,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC;QAChC,IAAI,EAAE,CAAC,eAAe,EAAE,QAAQ,EAAE,UAAU,EAAE,UAAU,EAAE,mBAAmB,CAAC;KAC/E;IAED,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;+CA4B+B;IAE7C,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAwCY;CAC3B,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Data Scientist Agent
|
|
3
|
+
*
|
|
4
|
+
* Data science specialist for analysis, machine learning, and data engineering.
|
|
5
|
+
* Use for data analysis, ML model development, and data pipeline design.
|
|
6
|
+
*
|
|
7
|
+
* @module @dcyfr/ai/agents-builtin/data/data-scientist
|
|
8
|
+
*/
|
|
9
|
+
import type { Agent } from '../../agents/types';
|
|
10
|
+
export declare const dataScientist: Agent;
|
|
11
|
+
export default dataScientist;
|
|
12
|
+
//# sourceMappingURL=data-scientist.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-scientist.d.ts","sourceRoot":"","sources":["../../../../packages/ai/agents-builtin/data/data-scientist.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAEhD,eAAO,MAAM,aAAa,EAAE,KAoF3B,CAAC;AAEF,eAAe,aAAa,CAAC"}
|