Enable smart edit by default on main (#7679)

This commit is contained in:
Silvio Junior
2025-09-03 19:04:50 -04:00
committed by GitHub
parent af522f21fb
commit 70900799d9
2 changed files with 2 additions and 2 deletions

View File

@@ -359,7 +359,7 @@ export class Config {
this.useRipgrep = params.useRipgrep ?? false;
this.shouldUseNodePtyShell = params.shouldUseNodePtyShell ?? false;
this.skipNextSpeakerCheck = params.skipNextSpeakerCheck ?? false;
this.useSmartEdit = params.useSmartEdit ?? false;
this.useSmartEdit = params.useSmartEdit ?? true;
this.extensionManagement = params.extensionManagement ?? false;
this.storage = new Storage(this.targetDir);
this.enablePromptCompletion = params.enablePromptCompletion ?? false;

View File

@@ -209,7 +209,7 @@ describe('ClearcutLogger', () => {
const cli_version = CLI_VERSION;
const git_commit_hash = GIT_COMMIT_INFO;
const prompt_id = 'my-prompt-123';
const user_settings = safeJsonStringify([{ smart_edit_enabled: false }]);
const user_settings = safeJsonStringify([{ smart_edit_enabled: true }]);
// Setup logger with expected values
const { logger, loggerConfig } = setup({