feat(tui): add /compaction mode selector command (#1141)

This commit is contained in:
amysguan
2026-03-02 11:28:37 -08:00
committed by GitHub
parent 04dcff9c33
commit 3f189ed0c8
3 changed files with 239 additions and 0 deletions

View File

@@ -92,6 +92,15 @@ export const commands: Record<string, Command> = {
return "Opening sleeptime settings...";
},
},
"/compaction": {
desc: "Configure compaction mode settings",
order: 15.6,
noArgs: true,
handler: () => {
// Handled specially in App.tsx to open compaction settings
return "Opening compaction settings...";
},
},
"/memfs": {
desc: "Manage filesystem-backed memory (/memfs [enable|disable|sync|reset])",
args: "[enable|disable|sync|reset]",