Add presentation guidelines, privacy section, and env-configurable config path

- SKILL.md: Add Presentation Guidelines and Privacy sections for
  consistent financial data presentation
- actual-query.mjs: Support ACTUAL_BUDGET_CONFIG_DIR env var to
  override default ~/.config/actual-budget/ path, enabling use in
  containers where that path isn't persisted
This commit is contained in:
2026-03-22 13:52:35 -04:00
parent cd340aa3ac
commit a6e841b4eb
2 changed files with 21 additions and 1 deletions

View File

@@ -13,7 +13,8 @@ function output(data) {
_origLog(JSON.stringify(data, null, 2));
}
const CONFIG_DIR = path.join(process.env.HOME, '.config', 'actual-budget');
const CONFIG_DIR = process.env.ACTUAL_BUDGET_CONFIG_DIR
|| path.join(process.env.HOME, '.config', 'actual-budget');
const CONFIG_FILE = path.join(CONFIG_DIR, 'config');
const PASSWORD_FILE = path.join(CONFIG_DIR, 'password');
const DATA_DIR = path.join(CONFIG_DIR, 'data');