@@ -59,6 +59,7 @@ type commandDialogCmp struct {
61 SwitchSessionsMsg struct{}
61 SwitchSessionsMsg struct{}
62+ NewSessionsMsg struct{}
62 SwitchModelMsg struct{}
63 SwitchModelMsg struct{}
63 QuitMsg struct{}
64 QuitMsg struct{}
64 OpenFilePickerMsg struct{}
65 OpenFilePickerMsg struct{}
@@ -250,6 +251,15 @@ func (c *commandDialogCmp) Position() (int, int) {
251func (c *commandDialogCmp) defaultCommands() []Command {
252func (c *commandDialogCmp) defaultCommands() []Command {
252 commands := []Command{
253 commands := []Command{
256+ Title: "New Session",
257+ Description: "start a new session",
259+ Handler: func(cmd Command) tea.Cmd {
260+ return util.CmdHandler(NewSessionsMsg{})
254 ID: "switch_session",
264 ID: "switch_session",
255 Title: "Switch Session",
265 Title: "Switch Session",