support !shell commands

This commit is contained in:
Dax Raad
2025-08-13 15:25:51 -04:00
parent 1d30b9260f
commit 7b78ee7688
9 changed files with 75 additions and 67 deletions
+2 -2
View File
@@ -767,10 +767,10 @@ func (a *App) SendBash(ctx context.Context, command string) (*App, tea.Cmd) {
}
cmds = append(cmds, func() tea.Msg {
_, err := a.Client.Session.Bash(
_, err := a.Client.Session.Shell(
context.Background(),
a.Session.ID,
opencode.SessionBashParams{
opencode.SessionShellParams{
Agent: opencode.F(a.Agent().Name),
Command: opencode.F(command),
},