@@ -8,7 +8,6 @@ import (
88 "github.com/charmbracelet/crush/internal/app"
99 "github.com/charmbracelet/crush/internal/config"
1010 "github.com/charmbracelet/crush/internal/llm/agent"
11− "github.com/charmbracelet/crush/internal/llm/tools"
1211 "github.com/charmbracelet/crush/internal/logging"
1312 "github.com/charmbracelet/crush/internal/permission"
1413 "github.com/charmbracelet/crush/internal/pubsub"
@@ -52,6 +51,7 @@ type appModel struct {
5251
5352 // Session
5453 selectedSessionID string // The ID of the currently selected session
54+ fullHelp bool // Whether to show full help text
5555}
5656
5757// Init initializes the application model and returns initial commands.
@@ -220,16 +220,6 @@ func (a *appModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
220220 return a, tea.Batch(cmds...)
221221 // Key Press Messages
222222 case tea.KeyPressMsg:
223− if msg.String() == "ctrl+t" {
224− go a.app.Permissions.Request(permission.CreatePermissionRequest{
225− SessionID: "123",
226− ToolName: "bash",
227− Action: "execute",
228− Params: tools.BashPermissionsParams{
229− Command: "ls -la",
230− },
231− })
232− }
233223 return a, a.handleKeyPressMsg(msg)
234224 }
235225 s, _ := a.status.Update(msg)