@maestroai/core 0.1.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.
- package/README.md +46 -0
- package/dist/index.d.ts +1007 -0
- package/dist/index.js +3929 -0
- package/dist/index.js.map +1 -0
- package/package.json +60 -0
package/README.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# @maestroai/core
|
|
2
|
+
|
|
3
|
+
> Core orchestration logic for Maestro multi-agent system
|
|
4
|
+
|
|
5
|
+
This package contains the shared logic for coordinating multiple Claude Code agents working together on software projects.
|
|
6
|
+
|
|
7
|
+
## Features
|
|
8
|
+
|
|
9
|
+
- **Task Management** - Parse, write, and track tasks in markdown format
|
|
10
|
+
- **Agent Lifecycle** - Spawn, monitor, and coordinate agent processes
|
|
11
|
+
- **Messaging** - File-based message passing between agents
|
|
12
|
+
- **Configuration** - YAML-based project and agent configuration
|
|
13
|
+
- **Planning** - AI-powered task decomposition using Claude
|
|
14
|
+
- **File Watching** - Monitor files for changes and agent activity
|
|
15
|
+
|
|
16
|
+
## Usage
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import {
|
|
20
|
+
Planner,
|
|
21
|
+
TaskParser,
|
|
22
|
+
TaskWriter,
|
|
23
|
+
Orchestrator,
|
|
24
|
+
Config,
|
|
25
|
+
} from '@maestroai/core';
|
|
26
|
+
|
|
27
|
+
// Parse tasks from markdown
|
|
28
|
+
const parser = new TaskParser();
|
|
29
|
+
const { tasks } = parser.parse(markdownContent);
|
|
30
|
+
|
|
31
|
+
// Plan tasks from a goal
|
|
32
|
+
const planner = new Planner({
|
|
33
|
+
model: 'sonnet',
|
|
34
|
+
workingDirectory: process.cwd(),
|
|
35
|
+
});
|
|
36
|
+
const plannedTasks = await planner.decompose('Build a REST API');
|
|
37
|
+
|
|
38
|
+
// Orchestrate agents
|
|
39
|
+
const config = Config.fromFile('maestro.yaml');
|
|
40
|
+
const orchestrator = new Orchestrator(config);
|
|
41
|
+
await orchestrator.start();
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## License
|
|
45
|
+
|
|
46
|
+
MIT
|