Let the lead walk the user through permission and tool setup
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user