Add byre-hands: screen capture and app control tools for agents
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package agents
|
||||
|
||||
import "g.fc.run/misc/byre/internal/mcp"
|
||||
|
||||
func handsMCP() mcp.Stdio {
|
||||
return mcp.Stdio{Name: "hands", Command: "byre-hands", Args: []string{}}
|
||||
}
|
||||
@@ -730,6 +730,9 @@ 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()}
|
||||
}
|
||||
if sess.Role == api.Reviewer {
|
||||
r, err := m.store.ReviewBySession(ctx, sess.Id)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user