diff options
| author | adamdotdevin <[email protected]> | 2025-07-31 09:34:43 -0500 |
|---|---|---|
| committer | adamdotdevin <[email protected]> | 2025-07-31 09:59:17 -0500 |
| commit | 5500698734c5119ccd7b0d9ab504bb3a53e5e39d (patch) | |
| tree | 6e77b461a2a488aab213355a5fb47c7b304bce78 /packages/tui/internal/app | |
| parent | e7631763f3e42292d3cecf14c0ebf295d9b9b333 (diff) | |
| download | opencode-5500698734c5119ccd7b0d9ab504bb3a53e5e39d.tar.gz opencode-5500698734c5119ccd7b0d9ab504bb3a53e5e39d.zip | |
wip: tui permissions
Diffstat (limited to 'packages/tui/internal/app')
| -rw-r--r-- | packages/tui/internal/app/app.go | 42 |
1 files changed, 22 insertions, 20 deletions
diff --git a/packages/tui/internal/app/app.go b/packages/tui/internal/app/app.go index df4e209cf..672bc0ee6 100644 --- a/packages/tui/internal/app/app.go +++ b/packages/tui/internal/app/app.go @@ -26,26 +26,28 @@ type Message struct { } type App struct { - Info opencode.App - Modes []opencode.Mode - Providers []opencode.Provider - Version string - StatePath string - Config *opencode.Config - Client *opencode.Client - State *State - ModeIndex int - Mode *opencode.Mode - Provider *opencode.Provider - Model *opencode.Model - Session *opencode.Session - Messages []Message - Commands commands.CommandRegistry - InitialModel *string - InitialPrompt *string - IntitialMode *string - compactCancel context.CancelFunc - IsLeaderSequence bool + Info opencode.App + Modes []opencode.Mode + Providers []opencode.Provider + Version string + StatePath string + Config *opencode.Config + Client *opencode.Client + State *State + ModeIndex int + Mode *opencode.Mode + Provider *opencode.Provider + Model *opencode.Model + Session *opencode.Session + Messages []Message + Permissions []opencode.Permission + CurrentPermission opencode.Permission + Commands commands.CommandRegistry + InitialModel *string + InitialPrompt *string + IntitialMode *string + compactCancel context.CancelFunc + IsLeaderSequence bool } type SessionCreatedMsg = struct { |
