Skip to main content

Module config

Module config 

Source
Expand description

Config-group command facets (FEAT-028 D3/D4).

These traits let /config, /settings, /mode, /theme, /verbose, /login, /logout, /pet and /trust express their intent without naming App, a service locator, a callback, or any concrete host type. Hosts own persistence, services and I/O; the values here grant no terminal, TUI or runtime authority, and a missing facet must fail safely rather than panic.

Structs§

CommandClaudeApplyOutcome
Typed --apply outcome; the command composes the final message.
CommandClaudeArtifacts
Paths and write outcomes from persisting the report/bundle.
CommandClaudePlan
The full /import-claude plan. Pure data: building it mutates nothing.
CommandCompactionConfig
Compaction configuration carried by ConfigAction::CompactionChanged.
CommandConfigAuditReport
Typed /config status audit: the resolved config path and its rows.
CommandConfigAuditRow
One row of the /config status editability audit.
CommandLoginStatus
/login status projection (the command composes the report text).
CommandMcpCandidate
One MCP server discovered in the Claude sources.
CommandSettingsReport
Typed /settings text report.
CommandSettingsRow
One structured /settings row: the label, its column width and its value.
CommandSubagentRuntimeConfig
Subagent runtime configuration carried by ConfigAction::SubagentRuntimeChanged.
CommandSubagentsLimit
One of the five sub-agent limits: raw, resolved global and active-provider.
CommandSubagentsProviderRow
One per-provider override row (already display-formatted).
CommandSubagentsReport
Typed /config subagents [status] report.
CommandWorkflowSummary
Effective [workflow]/[goal] facts for /config workflow.
ConfigReply
Portable result of a config-group host operation.

Enums§

CommandAccountState
Account sign-in state for /login.
CommandCapabilityState
Route capability fact, mirroring the config layer’s CapabilityState.
CommandCompletionSound
Turn-completion sound choice.
CommandImportFollowUp
One typed /import-claude --apply follow-up.
CommandNotificationCondition
When operator notifications are allowed.
CommandNotificationEvent
One notification event kind.
CommandNotificationMethod
Operator-notification delivery method.
CommandNotificationUpdate
One validated notification edit, mirroring NotificationConfigUpdate.
CommandPetBodyStyle
Portable pet body style for /pet style.
CommandPetControl
Pet presence, mode, sound and habitat actions for /pet.
CommandPetLabel
Localized pet labels the command composes into its messages.
CommandSearchProvider
Search provider carried by ConfigAction::SearchProviderChanged.
CommandSourceStatus
Outcome of reading one Claude source file.
CommandSubagentCompletion
Subagent-completion notification policy.
ConfigMessage
A message the host raises for the command to render.
TrustPathError
A path problem surfaced by /trust add|remove.

Constants§

EFFECT_REPLY_TEMPLATES
The complete reply contract for mutating config operations.

Traits§

CommandConfigContext
Read/write configuration, presets, the editability audit, login state and the config-owned view/display commands (/mode, /theme, /verbose, /fullscreen, /inline, /statusbar, /workbar, /import-claude).
CommandLoginContext
Account/provider session state for /login and /logout.
CommandPetContext
CommandTrustContext
Workspace trust and the per-path allow-list for /trust.
CommandWorkSurfaceContext
Workbar placement/panel observation and mutation for /workbar.