Documentation
¶
Overview ¶
Package nativeui projects a selected person into the Claude Code terminal surfaces a composed identity can drive: a custom theme and the settings fragment that selects it and carries the role's spinner voice.
Index ¶
Constants ¶
const SubagentStatusLineCommand = "acompose statusline --subagent --color"
SubagentStatusLineCommand renders the composed identity per agent-panel row.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Bundle ¶
type Bundle struct {
Role string `json:"role"`
Slug string `json:"slug"`
Theme Theme `json:"theme"`
Settings Settings `json:"settings"`
}
Bundle is everything one role contributes to the native surfaces.
type Options ¶
type Options struct {
// SpinnerMode is "replace" or "append". Replace makes the role
// unmistakable and discards the harness vocabulary.
SpinnerMode string
// SlugPrefix namespaces theme slugs so several people can coexist.
SlugPrefix string
}
Options tunes emission for callers that do not want the default voice.
type Settings ¶
type Settings struct {
Theme string `json:"theme"`
SpinnerVerbs SpinnerVerbs `json:"spinnerVerbs"`
SpinnerTipsEnabled bool `json:"spinnerTipsEnabled"`
SpinnerTips SpinnerTips `json:"spinnerTipsOverride"`
SubagentStatusLine StatusLineCommand `json:"subagentStatusLine"`
}
Settings is the fragment merged into ~/.claude/settings.json.
type SpinnerTips ¶
SpinnerTips adds role doctrine to the waiting surface. ExcludeDefault stays false so the harness keeps teaching its own features.
type SpinnerVerbs ¶
SpinnerVerbs replaces or extends the harness verb vocabulary.
type StatusLineCommand ¶
StatusLineCommand is a pull-based row renderer the harness invokes. Nothing is installed for it, so it survives --safe-mode.