Screenshots from implementers
This commit is contained in:
@@ -734,7 +734,13 @@ func (m *Manager) startLive(ctx context.Context, sess api.AgentSession, task api
|
||||
env := portEnv(task)
|
||||
stdio := []mcp.Stdio{}
|
||||
if sess.Role == api.Implementer {
|
||||
stdio = []mcp.Stdio{handsMCP()}
|
||||
media := MediaDir(task.WorktreePath)
|
||||
err = os.MkdirAll(media, 0o755)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
g += screenshotGuidance
|
||||
stdio = []mcp.Stdio{handsMCP(media), playwrightMCP(media)}
|
||||
}
|
||||
if sess.Role == api.Reviewer {
|
||||
r, err := m.store.ReviewBySession(ctx, sess.Id)
|
||||
|
||||
Reference in New Issue
Block a user