feat: add interactive configuration wizard and clap CLI#560
Merged
Conversation
3155e9c to
ad896e9
Compare
Add `zeph init` subcommand with 5-step interactive wizard (dialoguer) for LLM provider, memory, channel, secrets backend configuration. Generates valid config.toml via Serialize on Config types. - Derive Serialize on Config and all nested types across zeph-core, zeph-tools (config, permissions, filters) - Replace manual arg parsing with clap derive API - New src/init.rs wizard module with dialoguer prompts - Round-trip serialization test for Config
ad896e9 to
c6886a2
Compare
Update mdBook docs with installation script, configuration wizard guide, and CLI reference page. Update README with quick start and CLI usage. Add CHANGELOG entries for M28 features. Add 13 unit tests covering clap parsing and build_config for all provider/channel/vault variants.
c6886a2 to
6721221
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
SerializeonConfigand all nested types for TOML generationstd::env::args()parsing with clap derive API (--tui,--config,initsubcommand)zeph initinteractive wizard (dialoguer) with 5-step setup: LLM provider, memory, channels, secrets backend, review and write config.tomlTest plan
cargo +nightly fmt --checkpassescargo clippy --workspace -- -D warningspasseszeph initwalkthrough on macOSzeph(no args) backward compatibility