mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 20:03:05 +00:00
feat(coding-agent): add --verbose CLI flag to override quietStartup setting
This commit is contained in:
parent
d89f6e08ce
commit
07e2444b9b
5 changed files with 19 additions and 3 deletions
|
|
@ -137,6 +137,8 @@ export interface InteractiveModeOptions {
|
|||
initialImages?: ImageContent[];
|
||||
/** Additional messages to send after the initial message */
|
||||
initialMessages?: string[];
|
||||
/** Force verbose startup (overrides quietStartup setting) */
|
||||
verbose?: boolean;
|
||||
}
|
||||
|
||||
export class InteractiveMode {
|
||||
|
|
@ -372,7 +374,7 @@ export class InteractiveMode {
|
|||
this.setupAutocomplete(this.fdPath);
|
||||
|
||||
// Add header with keybindings from config (unless silenced)
|
||||
if (!this.settingsManager.getQuietStartup()) {
|
||||
if (this.options.verbose || !this.settingsManager.getQuietStartup()) {
|
||||
const logo = theme.bold(theme.fg("accent", APP_NAME)) + theme.fg("dim", ` v${this.version}`);
|
||||
|
||||
// Build startup instructions using keybinding hint helpers
|
||||
|
|
@ -641,7 +643,7 @@ export class InteractiveMode {
|
|||
}
|
||||
|
||||
private showLoadedResources(options?: { extensionPaths?: string[]; force?: boolean }): void {
|
||||
const shouldShow = options?.force || !this.settingsManager.getQuietStartup();
|
||||
const shouldShow = options?.force || this.options.verbose || !this.settingsManager.getQuietStartup();
|
||||
if (!shouldShow) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue