Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewModel ¶
func NewModel(adapter db.DBAdapter, dbPath string, rawDSN string, connName string, aiClient *ai.Client, snippets []snippet.Snippet, profiles []profile.Profile, readonly bool) model
NewModel builds the TUI model. readonly marks the session as read-only: the adapter passed in is expected to already be guarded, and every connection opened later is guarded too.
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.