@elizaos/plugin-agent-orchestrator 0.1.0 → 0.2.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 +29 -6
- package/dist/index.js +465 -539
- package/dist/index.js.map +10 -10
- package/dist/src/actions/coding-task-handlers.d.ts +44 -0
- package/dist/src/actions/coding-task-handlers.d.ts.map +1 -0
- package/dist/src/actions/coding-task-helpers.d.ts +27 -0
- package/dist/src/actions/coding-task-helpers.d.ts.map +1 -0
- package/dist/src/actions/finalize-workspace.d.ts +11 -0
- package/dist/src/actions/finalize-workspace.d.ts.map +1 -0
- package/dist/src/actions/list-agents.d.ts +11 -0
- package/dist/src/actions/list-agents.d.ts.map +1 -0
- package/dist/src/actions/manage-issues.d.ts +11 -0
- package/dist/src/actions/manage-issues.d.ts.map +1 -0
- package/dist/src/actions/provision-workspace.d.ts +11 -0
- package/dist/src/actions/provision-workspace.d.ts.map +1 -0
- package/dist/src/actions/send-to-agent.d.ts +11 -0
- package/dist/src/actions/send-to-agent.d.ts.map +1 -0
- package/dist/src/actions/spawn-agent.d.ts +11 -0
- package/dist/src/actions/spawn-agent.d.ts.map +1 -0
- package/dist/src/actions/start-coding-task.d.ts +17 -0
- package/dist/src/actions/start-coding-task.d.ts.map +1 -0
- package/dist/src/actions/stop-agent.d.ts +11 -0
- package/dist/src/actions/stop-agent.d.ts.map +1 -0
- package/dist/src/api/agent-routes.d.ts +18 -0
- package/dist/src/api/agent-routes.d.ts.map +1 -0
- package/dist/src/api/coordinator-routes.d.ts +22 -0
- package/dist/src/api/coordinator-routes.d.ts.map +1 -0
- package/dist/src/api/issue-routes.d.ts +17 -0
- package/dist/src/api/issue-routes.d.ts.map +1 -0
- package/dist/src/api/routes.d.ts +36 -0
- package/dist/src/api/routes.d.ts.map +1 -0
- package/dist/src/api/workspace-routes.d.ts +17 -0
- package/dist/src/api/workspace-routes.d.ts.map +1 -0
- package/dist/src/index.d.ts +32 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/providers/action-examples.d.ts +13 -0
- package/dist/src/providers/action-examples.d.ts.map +1 -0
- package/dist/src/providers/active-workspace-context.d.ts +13 -0
- package/dist/src/providers/active-workspace-context.d.ts.map +1 -0
- package/dist/src/services/agent-metrics.d.ts +28 -0
- package/dist/src/services/agent-metrics.d.ts.map +1 -0
- package/dist/src/services/agent-selection.d.ts +53 -0
- package/dist/src/services/agent-selection.d.ts.map +1 -0
- package/dist/src/services/ansi-utils.d.ts +48 -0
- package/dist/src/services/ansi-utils.d.ts.map +1 -0
- package/dist/src/services/pty-auto-response.d.ts +30 -0
- package/dist/src/services/pty-auto-response.d.ts.map +1 -0
- package/dist/src/services/pty-init.d.ts +43 -0
- package/dist/src/services/pty-init.d.ts.map +1 -0
- package/dist/src/services/pty-service.d.ts +92 -0
- package/dist/src/services/pty-service.d.ts.map +1 -0
- package/dist/src/services/pty-session-io.d.ts +46 -0
- package/dist/src/services/pty-session-io.d.ts.map +1 -0
- package/dist/src/services/pty-spawn.d.ts +50 -0
- package/dist/src/services/pty-spawn.d.ts.map +1 -0
- package/dist/src/services/pty-types.d.ts +80 -0
- package/dist/src/services/pty-types.d.ts.map +1 -0
- package/dist/src/services/stall-classifier.d.ts +44 -0
- package/dist/src/services/stall-classifier.d.ts.map +1 -0
- package/dist/src/services/swarm-coordinator-prompts.d.ts +62 -0
- package/dist/src/services/swarm-coordinator-prompts.d.ts.map +1 -0
- package/dist/src/services/swarm-coordinator.d.ts +163 -0
- package/dist/src/services/swarm-coordinator.d.ts.map +1 -0
- package/dist/src/services/swarm-decision-loop.d.ts +39 -0
- package/dist/src/services/swarm-decision-loop.d.ts.map +1 -0
- package/dist/src/services/swarm-idle-watchdog.d.ts +22 -0
- package/dist/src/services/swarm-idle-watchdog.d.ts.map +1 -0
- package/dist/src/services/workspace-git-ops.d.ts +28 -0
- package/dist/src/services/workspace-git-ops.d.ts.map +1 -0
- package/dist/src/services/workspace-github.d.ts +58 -0
- package/dist/src/services/workspace-github.d.ts.map +1 -0
- package/dist/src/services/workspace-lifecycle.d.ts +18 -0
- package/dist/src/services/workspace-lifecycle.d.ts.map +1 -0
- package/dist/src/services/workspace-service.d.ts +84 -0
- package/dist/src/services/workspace-service.d.ts.map +1 -0
- package/dist/src/services/workspace-types.d.ts +81 -0
- package/dist/src/services/workspace-types.d.ts.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Orchestrate CLI-based coding agents (Claude Code, Codex, Gemini CLI, Aider, Pi) via PTY sessions and manage git workspaces for autonomous coding tasks.
|
|
4
4
|
|
|
5
|
+
Built for [Milady](https://github.com/milady-ai/milady). The plugin registers ElizaOS-compatible actions and services, so any ElizaOS agent can spawn and manage coding agents via chat. The full experience — live xterm terminal views, real-time PTY output streaming, and the swarm monitoring dashboard — requires the Milady frontend and server.
|
|
6
|
+
|
|
5
7
|
## Features
|
|
6
8
|
|
|
7
9
|
- **PTY Session Management**: Spawn, control, and monitor coding agents running in pseudo-terminals
|
|
@@ -9,14 +11,33 @@ Orchestrate CLI-based coding agents (Claude Code, Codex, Gemini CLI, Aider, Pi)
|
|
|
9
11
|
- **PR Workflow**: Commit changes, push to remote, create pull requests
|
|
10
12
|
- **Multi-Agent Support**: Claude Code, Codex, Gemini CLI, Aider, Pi, or generic shell
|
|
11
13
|
|
|
12
|
-
##
|
|
14
|
+
## Prerequisites
|
|
15
|
+
|
|
16
|
+
This plugin spawns CLI coding agents in PTY sessions. You need **at least one** of the following installed on your machine:
|
|
17
|
+
|
|
18
|
+
| Agent | Install | Docs |
|
|
19
|
+
|-------|---------|------|
|
|
20
|
+
| **Claude Code** | `npm install -g @anthropic-ai/claude-code` | [claude.ai/claude-code](https://claude.ai/claude-code) |
|
|
21
|
+
| **Codex** | `npm install -g @openai/codex` | [github.com/openai/codex](https://github.com/openai/codex) |
|
|
22
|
+
| **Gemini CLI** | `npm install -g @google/gemini-cli` | [github.com/google-gemini/gemini-cli](https://github.com/google-gemini/gemini-cli) |
|
|
23
|
+
| **Aider** | `pip install aider-chat` | [aider.chat](https://aider.chat) |
|
|
24
|
+
|
|
25
|
+
Each agent also requires its own API key (e.g., `ANTHROPIC_API_KEY` for Claude Code, `OPENAI_API_KEY` for Codex, `GOOGLE_GENERATIVE_AI_API_KEY` for Gemini). Set these in your environment or runtime settings.
|
|
13
26
|
|
|
14
|
-
|
|
27
|
+
The plugin auto-detects which agents are available at spawn time and will report if a requested agent isn't installed.
|
|
28
|
+
|
|
29
|
+
## Installation
|
|
15
30
|
|
|
16
31
|
```bash
|
|
17
|
-
|
|
32
|
+
npm install @elizaos/plugin-agent-orchestrator
|
|
18
33
|
```
|
|
19
34
|
|
|
35
|
+
The following peer dependencies will be installed automatically:
|
|
36
|
+
|
|
37
|
+
- `pty-manager` — PTY session management
|
|
38
|
+
- `git-workspace-service` — git workspace provisioning
|
|
39
|
+
- `coding-agent-adapters` — CLI agent adapter layer
|
|
40
|
+
|
|
20
41
|
## Usage
|
|
21
42
|
|
|
22
43
|
### Register the Plugin
|
|
@@ -24,7 +45,7 @@ pnpm add pty-manager git-workspace-service
|
|
|
24
45
|
```typescript
|
|
25
46
|
import { codingAgentPlugin } from "@elizaos/plugin-agent-orchestrator";
|
|
26
47
|
|
|
27
|
-
// Add to your ElizaOS agent configuration
|
|
48
|
+
// Add to your Milady or ElizaOS agent configuration
|
|
28
49
|
const agent = {
|
|
29
50
|
plugins: [codingAgentPlugin],
|
|
30
51
|
// ... other config
|
|
@@ -161,8 +182,10 @@ runtime.setSetting("CODING_WORKSPACE_CONFIG", {
|
|
|
161
182
|
|
|
162
183
|
## Dependencies
|
|
163
184
|
|
|
164
|
-
- `pty-manager` - PTY session management with
|
|
165
|
-
- `
|
|
185
|
+
- `pty-manager` - PTY session management with stall detection and auto-response
|
|
186
|
+
- `coding-agent-adapters` - Adapter layer for Claude Code, Codex, Gemini CLI, Aider CLIs
|
|
187
|
+
- `git-workspace-service` - Git workspace provisioning, credential management, and PR creation
|
|
188
|
+
- `pty-console` - Terminal bridge for xterm.js frontend integration
|
|
166
189
|
|
|
167
190
|
## License
|
|
168
191
|
|