Documentation
¶
Overview ¶
Package assembly owns the ordered list of plugins sidecar registers, and therefore the tab order.
It exists so tab order is data rather than the sequence of `if enabled { register(...) }` statements it used to be in cmd/sidecar/main.go. Plan is a pure function of config plus feature flags, so every enabled/disabled combination is unit-testable without booting the application.
It lives under internal/plugins rather than internal/app because the plugin packages themselves import internal/app; an assembly there would be an import cycle.
Index ¶
Constants ¶
const ( IDTDMonitor = "td-monitor" IDGitStatus = "git-status" IDFileBrowser = "file-browser" IDConversations = "conversations" IDWorkspace = "workspace-manager" IDNotes = "notes" )
Plugin IDs used as ordering anchors. They mirror each plugin's own ID().
Variables ¶
This section is empty.
Functions ¶
func ConversationsWanted ¶ added in v0.97.0
ConversationsWanted reports whether the Conversations plugin should be registered and whether history adapters should be constructed.
Both the conversations_plugin feature flag and plugins.conversations.enabled must be true. When false, Sidecar must not construct adapters, run Detect, open session-store watchers, or show the Conversations tab.