20f5f43fb3
- Use acp-go-sdk for all ACP communication in agentctl - Mark agent as completed when Prompt() returns successfully - Update task state to COMPLETED when agent completes - Update task state to FAILED when agent fails and retries exhausted - Enhanced E2E test to verify agent actually creates files - E2E test now validates full flow: task creation -> agent work -> file creation -> task completion
29 lines
940 B
Go
29 lines
940 B
Go
package registry
|
|
|
|
// DefaultAgents returns the default agent configurations
|
|
func DefaultAgents() []*AgentTypeConfig {
|
|
return []*AgentTypeConfig{
|
|
{
|
|
ID: "augment-agent",
|
|
Name: "Augment Coding Agent",
|
|
Description: "Auggie CLI-powered autonomous coding agent. Requires AUGMENT_SESSION_AUTH for authentication.",
|
|
Image: "kandev/augment-agent",
|
|
Tag: "latest",
|
|
WorkingDir: "/workspace",
|
|
RequiredEnv: []string{"AUGMENT_SESSION_AUTH"},
|
|
Mounts: []MountTemplate{
|
|
{Source: "{workspace}", Target: "/workspace", ReadOnly: false},
|
|
{Source: "{augment_sessions}", Target: "/root/.augment/sessions", ReadOnly: false},
|
|
},
|
|
ResourceLimits: ResourceLimits{
|
|
MemoryMB: 4096,
|
|
CPUCores: 2.0,
|
|
TimeoutSeconds: 3600, // 1 hour
|
|
},
|
|
Capabilities: []string{"code_generation", "code_review", "refactoring", "testing", "shell_execution"},
|
|
Enabled: true,
|
|
},
|
|
}
|
|
}
|
|
|