minor README tweaks + rust progress

This commit is contained in:
kuberwastaken 2026-04-01 03:31:03 +05:30
parent c99507ca1e
commit 45f7ac9071
9 changed files with 628 additions and 25 deletions

View file

@ -151,10 +151,6 @@ struct Cli {
#[arg(long = "dangerously-skip-permissions", action = ArgAction::SetTrue)]
dangerously_skip_permissions: bool,
/// Show version and exit
#[arg(long = "version", short = 'V', action = ArgAction::SetTrue)]
version_flag: bool,
/// Dump the system prompt to stdout and exit
#[arg(long = "dump-system-prompt", action = ArgAction::SetTrue, hide = true)]
dump_system_prompt: bool,
@ -449,6 +445,8 @@ async fn main() -> anyhow::Result<()> {
max_turns: cli.max_turns,
system_prompt: Some(system_prompt),
append_system_prompt: None,
output_style: config.effective_output_style(),
working_directory: Some(cwd.display().to_string()),
thinking_budget: None,
temperature: None,
};
@ -805,6 +803,11 @@ async fn run_interactive(
app.status_message =
Some("Configuration updated.".to_string());
}
Some(CommandResult::ConfigChangeMessage(new_cfg, msg)) => {
cmd_ctx.config = new_cfg.clone();
app.config = new_cfg;
app.status_message = Some(msg);
}
Some(CommandResult::UserMessage(msg)) => {
// Inject as user turn
messages.push(cc_core::types::Message::user(msg.clone()));