Let the lead walk the user through permission and tool setup

This commit is contained in:
Ian Gulliver
2026-10-22 18:14:27 -07:00
parent da7f324bab
commit 3393d4f99d
5 changed files with 78 additions and 3 deletions
+7 -2
View File
@@ -23,7 +23,7 @@ const (
clientByre = "/Applications/Byre.app/Contents/Helpers/byre"
)
func (m *Manager) clientTools(l *live) []mcp.Tool {
func (m *Manager) clientShellTools() []mcp.Tool {
return []mcp.Tool{
{
Name: "list_clients",
@@ -55,6 +55,11 @@ func (m *Manager) clientTools(l *live) []mcp.Tool {
return m.clientBash(ctx, raw)
},
},
}
}
func (m *Manager) clientTools(l *live) []mcp.Tool {
return append(m.clientShellTools(), []mcp.Tool{
{
Name: "client_upload",
Description: "Copy a file or directory from the Mac byre runs on to a client Mac, replacing whatever is at dest there. " +
@@ -272,7 +277,7 @@ func (m *Manager) clientTools(l *live) []mcp.Tool {
return m.clientHands(ctx, raw)
},
},
}
}...)
}
func (m *Manager) listClients() string {