The look target came from the island poll (10–30 Hz), so the head turned in steps;
mouse-moved monitors now update it on every move. The upstream step-debt frame clock fix
(956413f) doesn't apply: BroV never had that clock, its engine steps by real elapsed time.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- OpsClient probes /api/health on the home address, then the outside one, keeps the one
that answered for a minute and re-probes after any failure (the home router has no NAT
loopback, so at home only the LAN address works, away only the outside one).
Settings: «Адрес дома» + «Адрес снаружи».
- ops/deploy/TRAEFIK.md: instructions for publishing /api/ via Traefik (HTTPS, /api/ only,
Authorization untouched, rate limit, ≥150 s timeouts for /api/say, checks).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On 12.10 one ConnectError through the proxy left getUpdates hanging on a dead (CLOSE-WAIT)
connection for 1.5 days: reminders still went out, incoming messages got no answer.
Explicit connect/read/pool timeouts for both request pools, long-poll timeout 25 s, and a
watchdog: no successful getUpdates for 3 minutes → exit, systemd starts a fresh process.
Tested on the VM by stopping the proxy: restart after 185 s, polling back once the proxy
returned.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The cluster subscription host is unreachable directly from home: the provider pull had
failed with EOF since day one and the node list went stale (a new node, Aurora, never
showed up). The provider now downloads through «exit», every hour instead of 12, and
netctl refresh (BroV: «Обновить список узлов») pulls it now and reports added/removed
nodes, without a reload.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- add_key accepts a vless:// link (uuid, host, port, Reality pbk checked; duplicates
refused; the name from #fragment, made unique). Stored in keys/vless.txt (root, 600),
served as the file provider vless-keys, which joins «ai-out» and «Авто» and the hide
filter. The first key reloads the core (the provider appears), later ones only reload
the provider. state reports vless-keys delays.
- BroV: «Добавить подключение» takes vpn:// or vless://.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- ops: paying marks the current charge paid (paid_for, persisted) instead of jumping to
the next date; repeat_sub moves to the next period or closes the subscription.
Paid-and-undecided subscriptions leave reminders and show in agenda['paid'].
update_sub can set paid; tasks reopen when their status goes back; delete for subs and
routines (BroV only, /api/delete); /api/tasks?all=1 and /api/subs?all=1.
- Bot: «₽ Оплачено?» on reminders, then «🔁 Да, <date> / Нет, закрыть»; after paying by
text it asks the same with buttons.
- BroV: «Оплачено?» everywhere; «Оплачено — повторить?» section under the notch;
«Весь план»: forms to edit or create tasks (title, description, status, due, company),
subscriptions (amount, currency, period, date, reminder, company, paid, active) and
routines, delete with confirmation, «+» per list, done tasks on demand.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- isHeldOpen counts the open popover (only while the notch is expanded).
- Any fold — ⌃, Escape, AppState hiding the island, setMode — clears the flag in
AppState.mode's didSet, so a stale flag can neither hold the notch nor pop the menu up
on the next opening.
- When the popover closes with the pointer already away, the FSM gets mouseLeft, so the
notch folds on its usual delay instead of waiting for the next hover.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- ops: subscriptions get a client (company) column (migrated in place); the brain fills it
from «компания сага / для планеты»; /subs and «Весь план» group by company with
per-company monthly totals; the company shows in agenda rows and the calendar.
- BroV: the API token handed over in ops-token.import is saved by BroV itself, so the
Keychain item belongs to BroV and macOS stops asking for the password.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Popover (click on the Memoji): counters (overdue, today, subscriptions per month),
Сейчас / Горит / Сегодня / На неделе (collapsed), ○ to finish, «Оплачено» for charges,
⏱ and «завтра» on hover, the text box to the service's Claude.
- «Весь план» button opens a regular window: month calendar (task deadlines, upcoming
charges and routine dates with repeats projected forward, overdue days outlined) with
the selected day's list; the task tree with subtasks, clients, minutes and the timer;
subscriptions with the monthly total; routines with the last time done.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The intermediate menu (Дела, пипетка, переводчик, кофе) is gone: those live in Func and
the header. The popover is the «Дела» panel itself.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Storage and the API stay ISO; ru_day() formats every user-facing date, Claude is asked
to write dates in its replies the same way.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- faster-whisper 1.1.1 calls av.open(metadata_errors=…), removed in PyAV 14+: pin av.
- httpx logged every Telegram URL, which contains the bot token: silenced to WARNING
(the VM journal was vacuumed).
- Voice notes: «слушаю…» while transcribing, an answer on failure; an error handler
for the bot.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From the homelab the subscription host times out while the VLESS node itself is
reachable: ~/.brovops-nodes (the subscription content) becomes a file provider; the
URL provider stays optional. take_file no longer trips set -e on a missing file.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
So the install can run non-interactively over SSH: the files are moved into
/etc/brov-ops and deleted; hidden prompts remain as the fallback in a terminal.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- install.sh prompts (hidden) for the VLESS subscription URL and the Telegram token on
the first run, and picks Whisper base on VMs under 3.5 GB RAM.
- The owner chat no longer has to be looked up: whoever sends /start first becomes the
owner (saved in the settings table); OWNER_CHAT_ID still overrides.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 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>
- SQLite: tasks with subtasks and time tracking, subscriptions + payments, routines +
history, reminder log. All rules in core.Ops (tested: ops/tests).
- brain: free text → JSON actions via the local claude CLI (Haiku, the subscription);
only whitelisted operations are applied, nothing is deleted.
- Telegram bot (owner only): text and voice (faster-whisper on the VM), /today /tasks
/subs /routines /stop, morning digest and daily reminders with Done/Paid/Tomorrow.
- HTTP API for BroV (bearer token): agenda, tasks, subs, routines, say, action.
- deploy/install.sh: user brovops, venv, systemd; a proxy-only mihomo (127.0.0.1:7890,
checksum-verified) so Telegram and Claude work from Russia without a VPN on the VM.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
One IOPM PreventUserIdleDisplaySleep assertion (released automatically if BroV quits);
the choice is remembered across BroV restarts.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The detached black ellipse looked bad. The folded notch itself now grows slightly down
and sideways from its top edge as the cursor approaches, with a faint purple rim glow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Opening: the notch spreads sideways then pours down with a slight overshoot; header
and screen come out of a soft blur one after the other.
- Chat: a purple→orange wave of bars instead of three dots while Claude answers.
- Haptic tap (Force Touch trackpad) when the notch opens and on Allow/Deny.
- Memoji turns its head toward the cursor clearly (slide, lean, slight shear).
- A drop of the folded notch stretches toward the approaching cursor (within 130 pt),
leaning to its side; its own ObservableObject so only the drop redraws at 30 Hz.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- NSOpenPanel opened from BroV appeared under the notch (BroV floats above the menu
bar): presentAboveNotch shows it one level higher, non-modally. Used by the terminal
paperclip, the chat paperclip and the chat folder picker in Settings.
- Chat: paperclip next to the input attaches a file; dropping a file over the open
chat attaches it directly instead of the shelf animation.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The home router's DNS (192.168.10.1) doesn't answer; a LAN DNS server is reached around
the TUN, so with AmneziaVPN off nothing resolved. netctl now points every network service
at 198.18.0.2 (hijacked inside the TUN) when capture is on, restores the previous servers
when it goes off, and syncs this at boot. uninstall.sh puts DNS back too.
Adds scripts/netcore/diag.sh (one-minute TUN diagnosis, run by hand with sudo).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
After the AmneziaVPN app held the routes, the running core kept Amnezia's utun as its
way out; its own TUN reused the same utun name and sent everything into itself (no
routes, no DNS). "tun on" now refuses while AmneziaVPN is open and restarts the core;
the on/off choice is saved (tun.json) and used on the next start.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- term.macOS: dropping files over an open terminal or the paperclip types their
shell-escaped paths (bracketed paste when the program asks for it).
- Traffic now goes through a fallback group "exit": the pick while it answers,
"auto" when it doesn't. A pinned connection that dies no longer cuts the Mac off.
- Faster checks (exit 30 s, auto 60 s, 3 failures trigger a re-test) and a re-test
of every group 4 s after any network change (Wi-Fi switch, sleep, AmneziaVPN).
- hide/unhide instead of deleting keys: Amnezia connections and VLESS nodes leave the
list and "auto"; kept on disk, returned from "Убранные".
- Core logs are owner-only (they can contain the subscription URL).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Network core moves to a root-only folder; BroV talks to a narrow root helper (netctl.py) over a user-only socket; install script verifies the mihomo SHA256 and migrates keys (scripts/netcore)
- Hardened runtime, no get-task-allow; bypassPermissions removed from the chat; concealed clipboard items are not restored; DangerCheck knows core, LaunchAgents and hook paths; dropped-file copies expire after 7 days
- Ported from upstream Coucou: 1h crash fix (d05f22b), safe settings.json writes (918d30e), Escape/fold for pending approvals (6012900, 40e3ba8), auto-close delay + reopen (74984f2, ea244a7), full AskUserQuestion (52b1562)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>