add sender allowlist for per-chat access control (#705)

* feat: add sender allowlist for per-chat access control

* style: fix prettier formatting
This commit is contained in:
Akshan Krithick
2026-03-04 08:05:45 -08:00
committed by GitHub
parent a5845a5cf4
commit 4de981b9b9
6 changed files with 423 additions and 7 deletions

View File

@@ -27,6 +27,12 @@ export const MOUNT_ALLOWLIST_PATH = path.join(
'nanoclaw',
'mount-allowlist.json',
);
export const SENDER_ALLOWLIST_PATH = path.join(
HOME_DIR,
'.config',
'nanoclaw',
'sender-allowlist.json',
);
export const STORE_DIR = path.resolve(PROJECT_ROOT, 'store');
export const GROUPS_DIR = path.resolve(PROJECT_ROOT, 'groups');
export const DATA_DIR = path.resolve(PROJECT_ROOT, 'data');