cmd

package
v0.6.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2026 License: MIT Imports: 67 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiscoverTargetProjects

func DiscoverTargetProjects() ([]*workspace.WorkspaceNode, string, error)

DiscoverTargetProjects determines the appropriate scope of projects based on the current context. If run from within an EcosystemWorktree, it returns only the constituents of that worktree. If run from within an Ecosystem root, it returns only the direct sub-projects. Otherwise, it returns all projects in the root ecosystem or standalone project group.

func Execute

func Execute() error

Execute runs the root command

func NewDevCmd

func NewDevCmd() *cobra.Command

NewDevCmd creates the dev command for managing local development binaries

Types

type LLMChangelogResult

type LLMChangelogResult struct {
	Suggestion    string `json:"suggestion"`    // "major", "minor", or "patch"
	Justification string `json:"justification"` // A brief reason for the suggestion
	Changelog     string `json:"changelog"`     // The full markdown changelog
}

LLMChangelogResult holds the structured response from the LLM.

type LLMConfig

type LLMConfig struct {
	DefaultModel string `yaml:"default_model"`
}

type LayerPage added in v0.6.3

type LayerPage struct {
	// contains filtered or unexported fields
}

LayerPage implements configui.ConfigPage for a specific config layer. Uses viewport for smooth scrolling instead of bubbles/list pagination.

func NewLayerPage added in v0.6.3

func NewLayerPage(name string, layer config.ConfigSource, layered *config.LayeredConfig, width, height int) *LayerPage

NewLayerPage creates a page for a specific layer with viewport-based scrolling.

func (*LayerPage) Blur added in v0.6.3

func (p *LayerPage) Blur()

func (*LayerPage) Focus added in v0.6.3

func (p *LayerPage) Focus() tea.Cmd

func (*LayerPage) Init added in v0.6.3

func (p *LayerPage) Init() tea.Cmd

func (*LayerPage) IsZChordPending added in v0.6.3

func (p *LayerPage) IsZChordPending() bool

IsZChordPending returns true if a 'z' key was recently pressed (for zR/zM/zo/zc chords).

func (*LayerPage) Layer added in v0.6.3

func (p *LayerPage) Layer() config.ConfigSource

func (*LayerPage) Name added in v0.6.3

func (p *LayerPage) Name() string

func (*LayerPage) Refresh added in v0.6.3

func (p *LayerPage) Refresh(layered *config.LayeredConfig)

func (*LayerPage) SetSize added in v0.6.3

func (p *LayerPage) SetSize(width, height int)

func (*LayerPage) Update added in v0.6.3

func (p *LayerPage) Update(msg tea.Msg) (*LayerPage, tea.Cmd)

func (*LayerPage) View added in v0.6.3

func (p *LayerPage) View() string

type ToolInfo

type ToolInfo struct {
	Name          string   `json:"name"`
	RepoName      string   `json:"repo_name"`
	Status        string   `json:"status"`
	ActiveVersion string   `json:"active_version,omitempty"`
	ActivePath    string   `json:"active_path,omitempty"`
	OtherVersions []string `json:"other_versions,omitempty"`
	LatestRelease string   `json:"latest_release,omitempty"`
}

type WorkspaceMetadata

type WorkspaceMetadata struct {
	Branch    string   `yaml:"branch"`
	Plan      string   `yaml:"plan"`
	CreatedAt string   `yaml:"created_at"`
	Ecosystem bool     `yaml:"ecosystem"`
	Repos     []string `yaml:"repos,omitempty"`
}

WorkspaceMetadata represents the structure of .grove/workspace file

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL