Skip to main content

Crate assistant_kit

Crate assistant_kit 

Source
Expand description

§assistant_kit

Layer 3 library facade re-exporting all Layer 2 full-featured coding agent crates. Zero own logic — every public item originates from a Layer 2 crate.

§Responsibility Table

FileResponsibility
Cargo.tomlCrate manifest: five feature-gated optional workspace deps
src/Feature-gated pub mod re-export modules for all five domains
tests/Integration smoke tests verifying re-export paths per feature
verb/Shell scripts for each do protocol verb.

§Feature Flags

FeatureActivatesDescription
profileclaude_profile/enabledAccount management, token status, CLI surface
runnerclaude_runner/enabledClaudeCommand builder + CLI surface
versionclaude_version/enabledVersion detection, settings I/O, CLI surface
assetsclaude_assets/enabledSymlink-based artifact installer CLI surface
storageclaude_storage/cliStorage exploration CLI surface
fullall five aboveEverything
enabledfullAlias for full; conventional activation name

§vs dream

CrateLayerRe-exportsUse when
dream2*_core crates only — types and logic, no CLIEmbed core types without CLI overhead
assistant_kit3Full Layer 2 crates — types, logic, and CLI command surfaceEmbed complete CLI command surface as a library

§Usage

[dependencies]
assistant_kit = { version = "^0.1", features = ["profile", "runner"] }
use assistant_kit::profile::ClaudePaths;
use assistant_kit::runner::VerbosityLevel;

§Architecture

Layer 3 facade — depends on Layer 2 (claude_profile, claude_runner, claude_version, claude_assets, claude_storage). No dependency on any binary or CLI framework crate (unilang, error_tools). No own types, traits, functions, or error definitions. assistant_kit — Layer 3 library facade re-exporting all Layer 2 full-featured crates.

Unlike [dream] (which re-exports only *_core crates), assistant_kit re-exports the full-featured Layer 2 crates — giving library consumers access to the complete CLI command surface without depending on a binary.

§Feature Flags

FeatureActivatesDescription
profileclaude_profile/enabledAccount management, token status, CLI surface
runnerclaude_runner/enabledClaudeCommand builder + CLI surface
versionclaude_version/enabledVersion detection, settings I/O, CLI surface
assetsclaude_assets/enabledSymlink-based artifact installer CLI surface
storageclaude_storage/cliStorage exploration CLI surface
fullall five aboveEverything
enabledfullAlias for full