Skip to main content

Module facets

Module facets 

Source
Expand description

Independent, object-safe capability shapes for staged command migration.

FEAT-014 publishes these interfaces without implementing them for the TUI or changing an existing command. Later work adopts them inside codewhale-tui one command group at a time. Only after every group uses these shapes will groups move physically into a commands crate.

Structs§

CommandApprovalState
Host approval posture for the /restore trust gate (D4: no MODE_POLICY).
MediaAttachmentReceipt
Portable receipt for a successful atomic media attachment (FEAT-018 D4). Carries only the information needed for the existing confirmation text.
MemoryDelete
Zero-field success value for delete operations (D2): the handler already owns the selected scope and needs no additional success data.
MemoryExport
Portable export payload — the exported memory document itself, never a preformatted command response.
MemoryHit
Portable semantic hit for a native-memory search or get result.
MemoryReindex
Portable reindex entry count.
MemoryRemembered
Portable result of a successful remember operation.
MemoryStatus
Portable native-memory location summary (status operation).
PluginDetail
Portable full bundle detail for show/review/validate rendering (FEAT-020 D2).
PluginDiagnostic
Portable plugin diagnostic entry.
PluginExportReceipt
Portable bundle export receipt (FEAT-020 D2).
PluginLegacyScan
Portable legacy-tool scan result: directory and discovered tools.
PluginLegacyTool
Portable legacy executable-tool detail (FEAT-020 D2).
PluginManagedCandidate
Portable Kimi managed-plugin candidate (FEAT-020 D2).
PluginManagedScan
Portable Kimi managed-scan result (FEAT-020 D2).
PluginMarketplaceAddReceipt
Portable marketplace add receipt (FEAT-020 D2).
PluginMarketplaceCandidate
Portable marketplace candidate (FEAT-020 D2).
PluginMarketplaceCatalog
Portable marketplace catalog (FEAT-020 D2).
PluginMarketplaceState
Portable marketplace state: stored catalogs plus an optional host-provided built-in official catalog.
PluginMcpServerDetail
Portable MCP server detail for the capability review body (FEAT-020 D2).
PluginMutationReceipt
Portable mutation receipt returned synchronously by the facet (FEAT-020 D11).
PluginSuggestion
Portable suggestion for the /plugin suggest recommendation output.
PluginSummary
Portable summary of one loaded plugin bundle (list output, FEAT-020 D2).
ProjectGoalState
Portable goal projection (FEAT-021 D1).
ProjectShareProjection
Portable session-share projection (FEAT-021 D1).
RemoteSkillEntry
One curated remote registry entry (/skills --remote).
SkillActivationOutcome
Successful skill activation data (host performs the side effects).
SkillEntry
One discovered skill entry (portable).
SkillMutationReceipt
Synchronous portable receipt for a skill mutation (FEAT-020 D11 mirror): the host owns the async network bridge; the handler renders the receipt byte-identically from these values.
SkillRecommendation
Remote recommendation for /skills suggest <task>.
SkillRegistryProjection
Portable projection of the host skill registry (discovery, D1).
SnapshotEntry
One snapshot entry for /restore listings.

Enums§

MemoryDeleteScope
Typed delete scope for the non-workspace delete method (D8/D9).
MemoryGetOutcome
Portable get outcome: found hit or explicit not-found.
MemoryImportOutcome
Portable import outcome: imported (with destination) or skipped.
MemoryRememberTarget
Typed remember target (D9): the handler resolves workspace identity through the workspace facet and passes the resulting typed ID here.
PluginDiagnosticLevel
Portable plugin diagnostic level (FEAT-020 D2).
PluginMarketplaceInstallPlan
Portable marketplace candidate install plan (FEAT-020 D2).
PluginMcpTransport
Portable MCP transport classification for the capability review body.
PluginMutationOutcome
Portable outcome of a plugin mutation (FEAT-020 D2/D11).
ProjectGoalStatus
Portable goal status for the project facet (FEAT-021 D1).
RemoteRegistryOutcome
Remote registry fetch outcome (/skills --remote, suggest source).
ReviewOutcome
/review outcome data (host performs the side effects).
SkillActivationError
Activation failures with the exact data the handler renders.
SkillBundledTier
Curated product tier for bundled (shipped) skills.
SkillMutationOutcome
Portable mutation outcome mirroring the host receipt variants.
SkillSourceKind
Source provenance of a discovered skill (native file vs reviewed plugin snapshot).
SkillSyncEntry
Per-skill outcome of /skills sync.
SkillSyncOutcome
Aggregate /skills sync outcome.
SkillTargetScope
Target scope for skill mutations (/skill install|update|uninstall|trust).

Traits§

CommandCostContext
Cost display and accounting operations.
CommandMediaContext
Atomic composer/media capability (FEAT-018 D4).
CommandMemoryContext
Host memory data for the memory command group (FEAT-019 D1).
CommandModePolicyContext
Operating mode, approval posture, shell access, and policy lock.
CommandModelContext
Model selection, provider identity, effort, and fallback chain.
CommandPluginContext
Host plugin data for the plugin command group (FEAT-020 D1).
CommandPresentationContext
Stable-key translation with named replacements (FEAT-018 D3).
CommandProjectContext
Host project data for the project command group (FEAT-021 D1).
CommandSessionContext
Session identity, messages, queue operations, and token totals.
CommandSkillGroupContext
Host skill data for the skills command group (FEAT-022 D1).
CommandSkillsContext
Active skill identity and skill-cache refresh.
CommandSystemPromptContext
Read access to the effective system prompt.
CommandWorkspaceContext
Workspace path and a bounded serialized work-state snapshot.