Documentation
¶
Index ¶
- Constants
- Variables
- func RenderHelp(content string, width, height int) string
- func RenderStatusBar(width int) string
- func RunChat()
- func RunDashboard() string
- func RunDevServer(path string, opts ...tea.ProgramOption) error
- func RunEditor(filename string)
- func RunFileManager(path string, opts ...tea.ProgramOption) error
- func RunProjectDashboard()
- func RunRoot()
- func RunSettings()
- func RunTimeMachine(repoPath, filePath string) error
- type AIAssistantModel
- type APIClientModel
- type AutoUpdateModel
- type BackMsg
- type BoilerplateBackMsg
- type BoilerplateDashboardModel
- type BoilerplateItemType
- type BonusBackMsg
- type BonusDashboardModel
- type ChatModel
- type DashboardModel
- type DevServerBackMsg
- type DevServerDashboardModel
- type DockerDashboardModel
- type DocsModel
- type FileManagerModel
- type ProjectDashModel
- type ProjectDashboardModel
- type RootModel
- type SettingsModel
- type SmartFileModel
- type SnippetsModel
- type StandaloneWrapper
- type SubFeatureBackMsg
- type SwitchViewMsg
- type TaskRunnerModel
- type TimeMachineModel
- type UpdateCheckMsg
- type UpdateCompleteMsg
- type UpdaterModel
- type VenvBackMsg
- type VenvDashboardModel
Constants ¶
View Source
const ( StateAPIMethodSelect = iota StateAPIURLInput StateAPIBodyInput StateAPISending StateAPIResponseView )
View Source
const ( StateAutoUpdateMenu = iota StateAutoUpdateLanguages StateAutoUpdateKeys StateAutoUpdateCheck StateAutoUpdateSummarizing StateAutoUpdateReview StateAutoUpdateInstalling StateAutoUpdateKeyInput StateAutoUpdateDone StateAutoUpdateHelp )
View Source
const ( StateBPMenu = iota StateBPSnippets StateBPLanguage StateBPTemplates StateBPArchList StateBPSuccess StateBPSaveTemplate StateBPSelectProject StateBPLoadTemplate StateBPInputPath StateBPShowResult StateBPHelp )
View Source
const ( StateBonusMenu = iota StateBonusTaskRunner StateBonusSmartFile StateBonusSnippets StateBonusProjectDash StateBonusAIAssistant StateBonusTimeMachinePicker StateBonusTimeMachine StateBonusHelp )
View Source
const ( StateDevServerPathInput = iota StateDevServerDetecting StateDevServerReady StateDevServerRunning StateDevServerConfirmation StateDevServerStopping StateDevServerHelp )
View Source
const ( StateDockerList = iota StateDockerLogs StateDockerError )
View Source
const ( LangEnglish = "en" LangSpanish = "es" LangHindi = "hi" LangFrench = "fr" LangGerman = "de" LangChinese = "zh" LangJapanese = "ja" Backtick = "`" )
View Source
const ( ProjectToolsHelp = `` /* 1757-byte string literal not displayed */ VenvWizardHelp = `` /* 2344-byte string literal not displayed */ DevServerHelp = `` /* 1916-byte string literal not displayed */ FileManagerHelp = `` /* 1436-byte string literal not displayed */ EditorHelp = `` /* 1546-byte string literal not displayed */ AIchatHelp = `` /* 1082-byte string literal not displayed */ SettingsHelp = `` /* 1387-byte string literal not displayed */ BoilerplateHelp = `` /* 1632-byte string literal not displayed */ BonusFeaturesHelp = `` /* 1933-byte string literal not displayed */ TaskRunnerHelp = `` /* 1519-byte string literal not displayed */ AutoUpdateHelp = `` /* 1870-byte string literal not displayed */ SmartFileHelp = `` /* 1452-byte string literal not displayed */ SnippetLibraryHelp = `` /* 1423-byte string literal not displayed */ AIAssistantHelp = `` /* 1620-byte string literal not displayed */ TimeMachineHelp = `` /* 2161-byte string literal not displayed */ )
View Source
const ( StateMenu = iota StateProjectList StateSelectTemplate StateNameProject StateSelectPath StateCreating StateSuccess StateBackupInput StateCleanupPrompt StateHistoryList StateConfirmDelete StateProjectHelp StateVenvWizard StateDevServer StateBoilerplate StateBonus )
View Source
const ( StateDashboard = iota StateProject StateFileManager StateChat StateEditor StateAutoUpdate StateDocs StateDocker StateAPIClient )
View Source
const ( StateVenvList = iota StateVenvActionMenu StateVenvCloneInput StateVenvCreateInput StateVenvSyncInput StateVenvScanInput StateVenvDeleteConfirm StateVenvProcessing StateVenvCreating StateVenvSuccess StateVenvHelp )
Variables ¶
View Source
var ( AppBorderStyle = lipgloss.NewStyle(). Border(lipgloss.RoundedBorder()). BorderForeground(colorPurple). Padding(1, 2) LeftPaneStyle = lipgloss.NewStyle(). Border(lipgloss.RoundedBorder()). BorderForeground(colorPurple). Padding(1, 1) RightPaneStyle = lipgloss.NewStyle(). Border(lipgloss.RoundedBorder()). BorderForeground(colorCyan). Padding(1, 2) HeaderBadgeStyle = lipgloss.NewStyle(). Background(colorGreen). Foreground(lipgloss.Color("#282a36")). Bold(true). Padding(0, 1) WizardCardStyle = lipgloss.NewStyle(). Border(lipgloss.RoundedBorder()). BorderForeground(colorPurple). Padding(1, 2). Width(65). Align(lipgloss.Center) StepStyle = lipgloss.NewStyle(). Foreground(colorPink). Bold(true). MarginBottom(1) PreviewHeaderStyle = lipgloss.NewStyle(). Background(colorCyan). Foreground(lipgloss.Color("#282a36")). Bold(true). Padding(0, 2) )
View Source
var ChatCmd = &cobra.Command{ Use: "chat", Short: "Start AI chat session (TUI)", Run: func(cmd *cobra.Command, args []string) { RunChat() }, }
View Source
var EditorCmd = &cobra.Command{ Use: "editor [file]", Short: "Launch the built-in multi-language IDE", Args: cobra.MaximumNArgs(1), Run: func(cmd *cobra.Command, args []string) { filename := "" if len(args) > 0 { filename = args[0] } RunEditor(filename) }, }
Functions ¶
func RenderHelp ¶
func RenderStatusBar ¶
func RunDashboard ¶
func RunDashboard() string
func RunDevServer ¶
func RunDevServer(path string, opts ...tea.ProgramOption) error
func RunFileManager ¶
func RunFileManager(path string, opts ...tea.ProgramOption) error
func RunProjectDashboard ¶
func RunProjectDashboard()
func RunSettings ¶
func RunSettings()
func RunTimeMachine ¶
Types ¶
type AIAssistantModel ¶
type AIAssistantModel struct {
// contains filtered or unexported fields
}
func NewAIAssistantModel ¶
func NewAIAssistantModel() AIAssistantModel
func (AIAssistantModel) Init ¶
func (m AIAssistantModel) Init() tea.Cmd
func (AIAssistantModel) Update ¶
func (m AIAssistantModel) Update(msg tea.Msg) (AIAssistantModel, tea.Cmd)
func (AIAssistantModel) View ¶
func (m AIAssistantModel) View() string
type APIClientModel ¶
type APIClientModel struct {
// contains filtered or unexported fields
}
func NewAPIClientModel ¶
func NewAPIClientModel() APIClientModel
func (APIClientModel) Init ¶
func (m APIClientModel) Init() tea.Cmd
func (APIClientModel) View ¶
func (m APIClientModel) View() string
type AutoUpdateModel ¶
type AutoUpdateModel struct {
// contains filtered or unexported fields
}
func NewAutoUpdateModel ¶
func NewAutoUpdateModel() AutoUpdateModel
func (AutoUpdateModel) Init ¶
func (m AutoUpdateModel) Init() tea.Cmd
func (AutoUpdateModel) View ¶
func (m AutoUpdateModel) View() string
type BoilerplateBackMsg ¶
type BoilerplateBackMsg struct{}
type BoilerplateDashboardModel ¶
type BoilerplateDashboardModel struct {
// contains filtered or unexported fields
}
func NewBoilerplateDashboardModel ¶
func NewBoilerplateDashboardModel(workspace string) BoilerplateDashboardModel
func (BoilerplateDashboardModel) Init ¶
func (m BoilerplateDashboardModel) Init() tea.Cmd
func (BoilerplateDashboardModel) Update ¶
func (m BoilerplateDashboardModel) Update(msg tea.Msg) (BoilerplateDashboardModel, tea.Cmd)
func (BoilerplateDashboardModel) View ¶
func (m BoilerplateDashboardModel) View() string
type BoilerplateItemType ¶
type BoilerplateItemType int
const ( ItemTypeNone BoilerplateItemType = iota ItemTypeSnippet ItemTypeArchitecture )
type BonusBackMsg ¶
type BonusBackMsg struct{}
type BonusDashboardModel ¶
type BonusDashboardModel struct {
// contains filtered or unexported fields
}
func NewBonusDashboardModel ¶
func NewBonusDashboardModel(workspace string) BonusDashboardModel
func (BonusDashboardModel) Init ¶
func (m BonusDashboardModel) Init() tea.Cmd
func (BonusDashboardModel) Update ¶
func (m BonusDashboardModel) Update(msg tea.Msg) (BonusDashboardModel, tea.Cmd)
func (BonusDashboardModel) View ¶
func (m BonusDashboardModel) View() string
type ChatModel ¶
type ChatModel struct {
// contains filtered or unexported fields
}
func NewChatModel ¶
func NewChatModel() ChatModel
type DashboardModel ¶
type DashboardModel struct {
// contains filtered or unexported fields
}
func NewDashboard ¶
func NewDashboard() DashboardModel
func (DashboardModel) Init ¶
func (m DashboardModel) Init() tea.Cmd
func (DashboardModel) View ¶
func (m DashboardModel) View() string
type DevServerBackMsg ¶
type DevServerBackMsg struct{}
type DevServerDashboardModel ¶
type DevServerDashboardModel struct {
// contains filtered or unexported fields
}
func NewDevServerDashboardModel ¶
func NewDevServerDashboardModel(projectPath string) DevServerDashboardModel
func (DevServerDashboardModel) Init ¶
func (m DevServerDashboardModel) Init() tea.Cmd
func (DevServerDashboardModel) View ¶
func (m DevServerDashboardModel) View() string
type DockerDashboardModel ¶
type DockerDashboardModel struct {
// contains filtered or unexported fields
}
func NewDockerDashboardModel ¶
func NewDockerDashboardModel() DockerDashboardModel
func (DockerDashboardModel) Init ¶
func (m DockerDashboardModel) Init() tea.Cmd
func (DockerDashboardModel) View ¶
func (m DockerDashboardModel) View() string
type DocsModel ¶
type DocsModel struct {
// contains filtered or unexported fields
}
func NewDocsModel ¶
func NewDocsModel() DocsModel
type FileManagerModel ¶
type FileManagerModel struct {
// contains filtered or unexported fields
}
func NewFileManagerModel ¶
func NewFileManagerModel(startPath string) FileManagerModel
func (FileManagerModel) Init ¶
func (m FileManagerModel) Init() tea.Cmd
func (FileManagerModel) View ¶
func (m FileManagerModel) View() string
type ProjectDashModel ¶
type ProjectDashModel struct {
// contains filtered or unexported fields
}
func NewProjectDashModel ¶
func NewProjectDashModel(workspace string) ProjectDashModel
func (ProjectDashModel) Init ¶
func (m ProjectDashModel) Init() tea.Cmd
func (ProjectDashModel) Update ¶
func (m ProjectDashModel) Update(msg tea.Msg) (ProjectDashModel, tea.Cmd)
func (ProjectDashModel) View ¶
func (m ProjectDashModel) View() string
type ProjectDashboardModel ¶
type ProjectDashboardModel struct {
// contains filtered or unexported fields
}
func NewProjectDashboardModel ¶
func NewProjectDashboardModel() ProjectDashboardModel
func (ProjectDashboardModel) Init ¶
func (m ProjectDashboardModel) Init() tea.Cmd
func (ProjectDashboardModel) View ¶
func (m ProjectDashboardModel) View() string
type RootModel ¶
type RootModel struct {
// contains filtered or unexported fields
}
func NewRootModel ¶
func NewRootModel() RootModel
type SettingsModel ¶
type SettingsModel struct {
// contains filtered or unexported fields
}
func NewSettingsModel ¶
func NewSettingsModel() SettingsModel
func (SettingsModel) Init ¶
func (m SettingsModel) Init() tea.Cmd
func (SettingsModel) View ¶
func (m SettingsModel) View() string
type SmartFileModel ¶
type SmartFileModel struct {
// contains filtered or unexported fields
}
func NewSmartFileModel ¶
func NewSmartFileModel(workspace string) SmartFileModel
func (SmartFileModel) Init ¶
func (m SmartFileModel) Init() tea.Cmd
func (SmartFileModel) Update ¶
func (m SmartFileModel) Update(msg tea.Msg) (SmartFileModel, tea.Cmd)
func (SmartFileModel) View ¶
func (m SmartFileModel) View() string
type SnippetsModel ¶
type SnippetsModel struct {
// contains filtered or unexported fields
}
func NewSnippetsModel ¶
func NewSnippetsModel() SnippetsModel
func (SnippetsModel) Init ¶
func (m SnippetsModel) Init() tea.Cmd
func (SnippetsModel) Update ¶
func (m SnippetsModel) Update(msg tea.Msg) (SnippetsModel, tea.Cmd)
func (SnippetsModel) View ¶
func (m SnippetsModel) View() string
type StandaloneWrapper ¶
type StandaloneWrapper struct {
// contains filtered or unexported fields
}
func Wrap ¶
func Wrap(m tea.Model) StandaloneWrapper
func (StandaloneWrapper) Init ¶
func (m StandaloneWrapper) Init() tea.Cmd
func (StandaloneWrapper) View ¶
func (m StandaloneWrapper) View() string
type SubFeatureBackMsg ¶
type SubFeatureBackMsg struct{}
type SwitchViewMsg ¶
type SwitchViewMsg struct {
TargetState int
Args interface{}
}
type TaskRunnerModel ¶
type TaskRunnerModel struct {
// contains filtered or unexported fields
}
func NewTaskRunnerModel ¶
func NewTaskRunnerModel(workspace string) TaskRunnerModel
func (TaskRunnerModel) Init ¶
func (m TaskRunnerModel) Init() tea.Cmd
func (TaskRunnerModel) Update ¶
func (m TaskRunnerModel) Update(msg tea.Msg) (TaskRunnerModel, tea.Cmd)
func (TaskRunnerModel) View ¶
func (m TaskRunnerModel) View() string
type TimeMachineModel ¶
type TimeMachineModel struct {
// contains filtered or unexported fields
}
func NewTimeMachineModel ¶
func NewTimeMachineModel(repoPath, filePath string) (*TimeMachineModel, error)
func (*TimeMachineModel) Init ¶
func (m *TimeMachineModel) Init() tea.Cmd
func (*TimeMachineModel) View ¶
func (m *TimeMachineModel) View() string
type UpdateCheckMsg ¶
type UpdateCheckMsg struct {
// contains filtered or unexported fields
}
type UpdateCompleteMsg ¶
type UpdateCompleteMsg struct {
// contains filtered or unexported fields
}
type UpdaterModel ¶
type UpdaterModel struct {
// contains filtered or unexported fields
}
func NewUpdaterModel ¶
func NewUpdaterModel() UpdaterModel
func (UpdaterModel) Init ¶
func (m UpdaterModel) Init() tea.Cmd
func (UpdaterModel) Update ¶
func (m UpdaterModel) Update(msg tea.Msg) (UpdaterModel, tea.Cmd)
func (UpdaterModel) View ¶
func (m UpdaterModel) View() string
type VenvBackMsg ¶
type VenvBackMsg struct{}
type VenvDashboardModel ¶
type VenvDashboardModel struct {
// contains filtered or unexported fields
}
func NewVenvDashboardModel ¶
func NewVenvDashboardModel() VenvDashboardModel
func (VenvDashboardModel) Init ¶
func (m VenvDashboardModel) Init() tea.Cmd
func (VenvDashboardModel) Update ¶
func (m VenvDashboardModel) Update(msg tea.Msg) (VenvDashboardModel, tea.Cmd)
func (VenvDashboardModel) View ¶
func (m VenvDashboardModel) View() string
Source Files
¶
- ai_assistant_dashboard.go
- api_client_dashboard.go
- autoupdate_dashboard.go
- boilerplate_dashboard.go
- bonus_dashboard.go
- chat_ui.go
- commands_helper.go
- dashboard.go
- devserver_dashboard.go
- docker_dashboard.go
- docs_dashboard.go
- editor.go
- exec_result.go
- file_utils.go
- filemanager.go
- help_content.go
- project_dashboard.go
- projectdash_dashboard.go
- root.go
- runners.go
- settings.go
- smartfile_dashboard.go
- snippets_dashboard.go
- statusbar.go
- styles.go
- taskrunner_dashboard.go
- timemachine_dashboard.go
- updater_ui.go
- venv_dashboard.go
- wrapper.go
Click to show internal directories.
Click to hide internal directories.