Add byre-hands: screen capture and app control tools for agents

This commit is contained in:
Ian Gulliver
2026-10-17 22:43:38 -07:00
parent 658f78934c
commit bb908e493f
14 changed files with 1101 additions and 3 deletions
+7
View File
@@ -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{}}
}
+3
View File
@@ -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 {