system-status: show storage usage (DB, attachments, backups, disk free) — v0.1.0:63
/api/system/status now returns a best-effort storage block: database file size (crm.db + WAL + SHM), the email_attachments dir, the backups dir, and disk total/used/free via shutil.disk_usage(DATA_DIR). System Status renders a Storage section with human-readable sizes so growth can be watched over time. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -27,8 +27,9 @@ export const PACKAGE_TITLE = 'Ten31 Database'
|
||||
// * 0.1.0:59 (Email Capture admin panel + matched email into the grounding corpus)
|
||||
// * 0.1.0:60 (Email Capture: single-mailbox enroll field for testing)
|
||||
// * 0.1.0:61 (Email Capture: live backfill progress + auto-refresh)
|
||||
// * Current: 0.1.0:62 (fix backfill crash on no-Reply-To emails; Sync now retries errored mailboxes)
|
||||
export const PACKAGE_VERSION = '0.1.0:62'
|
||||
// * 0.1.0:62 (fix backfill crash on no-Reply-To emails; Sync now retries errored mailboxes)
|
||||
// * Current: 0.1.0:63 (System Status: storage usage — DB, attachments, backups, disk free)
|
||||
export const PACKAGE_VERSION = '0.1.0:63'
|
||||
|
||||
export const DATA_MOUNT_PATH = '/data'
|
||||
export const WEB_PORT = 8080
|
||||
|
||||
Reference in New Issue
Block a user