Memoji menu and «Дела» panel for BroV Ops
- A click on the Memoji (not a drag) opens a menu: Дела (agenda counts), stop timer, пипетка, переводчик, кофе. The slap on click is gone; hover love and drag-to-window stay. - «Дела»: overdue / today / this week from the homelab service with Done/Paid, timer and Tomorrow buttons, the running timer, and a text box that goes to the service's Claude. - Settings → Чат → «Дела (хоумлаб)»: service URL and API token (Keychain). - CLAUDE.md: the BroV Ops section. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -33,3 +33,9 @@ DerivedData must stay outside ~/Documents (iCloud adds Finder attributes and cod
|
||||
- `scripts/netcore/gen.py` builds the config (Amnezia keys → provider `keys/amnezia.yaml`, WireGuard clients, VLESS subscription). Install/update: `sudo sh scripts/netcore/install.sh` (verifies the mihomo SHA256, migrates keys). Never commit keys, configs or the guide (`~/.brov-secrets`).
|
||||
- Reloading the whole core config drops every connection (including this chat); group switches and provider reloads don't.
|
||||
|
||||
## BroV Ops (homelab manager, `ops/`)
|
||||
- Separate service on the homelab Ubuntu VM (Hyper-V): tasks with subtasks + timer, subscriptions + payments, routines. Python, SQLite, systemd (`brov-ops`), user `brovops`. Tests: `python3 -m unittest discover -s ops/tests`.
|
||||
- Free text → `claude -p` (Haiku, the user's subscription, logged in on the VM) → JSON actions; only the whitelist in `brain.ALLOWED` is applied, nothing is deleted. Voice from Telegram → faster-whisper on the VM first (Claude doesn't take audio).
|
||||
- Telegram and Claude are blocked from Russia: the service goes through its own proxy-only mihomo (`brov-ops-proxy`, 127.0.0.1:7890, VLESS subscription in /etc/brov-ops/proxy/vless.sub). No system-wide VPN on the VM.
|
||||
- Secrets (bot token, API token, subscription) only in /etc/brov-ops on the VM; BroV keeps the API token in the Keychain (`brov-ops-token`), URL in UserDefaults `opsURL`.
|
||||
- BroV side: `Ops.swift` — click on the Memoji opens the menu (Дела, timer, пипетка, переводчик, кофе); settings in Settings → Чат → «Дела (хоумлаб)». The ops service is independent of BroV and of the VPN core: restarting either doesn't touch the others.
|
||||
|
||||
Reference in New Issue
Block a user