@@ -8,7 +8,6 @@ import (
8 "github.com/charmbracelet/crush/internal/app"
8 "github.com/charmbracelet/crush/internal/app"
9 "github.com/charmbracelet/crush/internal/config"
9 "github.com/charmbracelet/crush/internal/config"
10 "github.com/charmbracelet/crush/internal/llm/agent"
10 "github.com/charmbracelet/crush/internal/llm/agent"
11− "github.com/charmbracelet/crush/internal/llm/tools"
12 "github.com/charmbracelet/crush/internal/logging"
11 "github.com/charmbracelet/crush/internal/logging"
13 "github.com/charmbracelet/crush/internal/permission"
12 "github.com/charmbracelet/crush/internal/permission"
14 "github.com/charmbracelet/crush/internal/pubsub"
13 "github.com/charmbracelet/crush/internal/pubsub"
@@ -52,6 +51,7 @@ type appModel struct {
53 // Session
52 // Session
54 selectedSessionID string // The ID of the currently selected session
53 selectedSessionID string // The ID of the currently selected session
54+ fullHelp bool // Whether to show full help text
57// Init initializes the application model and returns initial commands.
57// Init initializes the application model and returns initial commands.
@@ -220,16 +220,6 @@ func (a *appModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
220 return a, tea.Batch(cmds...)
220 return a, tea.Batch(cmds...)
221 // Key Press Messages
221 // Key Press Messages
222 case tea.KeyPressMsg:
222 case tea.KeyPressMsg:
223− if msg.String() == "ctrl+t" {
224− go a.app.Permissions.Request(permission.CreatePermissionRequest{
228− Params: tools.BashPermissionsParams{
233 return a, a.handleKeyPressMsg(msg)
223 return a, a.handleKeyPressMsg(msg)
235 s, _ := a.status.Update(msg)
225 s, _ := a.status.Update(msg)