feat(cliproxy): disable logging by default and add cleanup command

- Disable CLIProxy logging by default to prevent 5-12GB disk bloat
- Add cliproxy.logging config option for user opt-in via ~/.ccs/config.yaml
- Add `ccs cleanup` command to remove old CLIProxy logs
- Bump CLIProxy config version to v3 to trigger config regeneration

Closes #96
This commit is contained in:
kaitranntt committed 2025-12-13 23:27:23 -05:00
1 parent 03dca41b2b
commit e5cdf7c083
6 files changed
+252 -3

No files matched your search

+7
View File
@@ -252,6 +252,13 @@ async function main(): Promise<void> {
return;
}
// Special case: cleanup command
if (firstArg === 'cleanup' || firstArg === '--cleanup') {
const { handleCleanupCommand } = await import('./commands/cleanup-command');
await handleCleanupCommand(args.slice(1));
return;
}
// Special case: migrate command
if (firstArg === 'migrate' || firstArg === '--migrate') {
const { handleMigrateCommand, printMigrateHelp } = await import('./commands/migrate-command');