Without it Claude Code keeps the server for the one folder the command ran in,
so sessions elsewhere don't see brokeless.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
/api/mcp (Streamable HTTP, stateless) with personal tokens made on Connect
your AI (stored as a hash, shown once, revocable; migration 0033). Each call
runs as the token's user in their own session, so RLS applies; AI switched
off in Settings refuses.
Summary only, like every cloud path: the existing summary tools, plus tools
that change things through placeholders and answer with counts: list
categories and rules, create rule, delete rule (with undo), recategorize,
find transfers, merge accounts (preview first).
Rule past-matching and merging moved to shared libraries (lib/rule-past.ts,
lib/merge-run.ts) so the app and the tools run the same code.
Tested with the official MCP client: bad token refused, tools listed, and the
'ing' rule found, undone and replaced.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Eight charts over the same spend / income rule as the rest of broke (transfers
never count): cash flow, savings rate per month, spending by category over time,
this month so far vs last month and the 3-month average, balance over time per
account and in total (worked back from today's balances), top merchants,
spending by weekday and biggest changes vs the period before.
Filters in the URL: time range or custom dates, grouping, accounts, categories,
tags, direction, merchant search, and compare with the previous period.
Clicking a bar or point opens those transactions in Activity. Every chart has a
legend and a table view; series colors are a validated palette in a fixed order
set by all-time spending, so filters never repaint a series.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The account editor of an imported account gets a Merge into section: pick the
linked account, see what moves and what the bank already has, then merge.
Tested in the stack: older rows move, overlap counts once, edits carry over,
and the next sync leaves it alone.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- save when the permission ends (consent_until, migration 0032)
- Accounts warns two weeks ahead, says Needs attention once it ran out, and offers
Link again; an expired or revoked session no longer shows a raw API error
- accounts and rows are keyed on identification_hash, which stays the same across
links (the uid doesn't), so linking again adds no copies and keeps edits
- links made with the per-link uid move to the stable key on their next sync
- linking the same bank again replaces the old connection
Tested against the stand-in: first link, moving old IDs, linking again,
the warning and an expired permission.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
It has no header row, so nothing came in. Recognize its eight columns, and take
the other party's name out of ABN's coded text (/NAME/, card payments, Naam:).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Docker passes BROKE_HOSTED through (setting it in .env did nothing before)
- the helper finds claude.exe / claude.cmd on Windows (PATH uses ';' there),
runs a .cmd through cmd.exe with the question on stdin only, and keeps the
Windows variables Claude needs to find its login; opencode on Windows only as .exe
- the page gives Windows a PowerShell command (curl.exe, file then node)
- Copy works on a plain http LAN address
Tested on Windows end to end with a stand-in claude.cmd: pairing, a question with
quotes, & and %, and every lockdown flag arriving intact.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Docker passes ENABLE_BANKING_APP_ID and ENABLE_BANKING_PRIVATE_KEY through
- transactions are keyed on entry_reference: Enable Banking says transaction_id
may change between fetches, which imported rows twice
- a key pasted on one line keeps its own PEM label (PKCS#1 keys broke before)
- nginx keeps X-Forwarded-Proto/Host from a reverse proxy, so return links are https
- README: how to set up the app, the keys, and https if Enable Banking needs it
Checked against Enable Banking's API docs and tested end to end against a stand-in.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- BROKE_OFFLINE=1 (on in Docker) turns off the GitHub update check and the
exchange-rate fetch, so the server makes no calls out
- auto-update in scripts/start.mjs pulls from your own repo (origin), never upstream
- install.sh points at brokeless; drop the workflow that merged upstream by itself
- compose project and image are named brokeless
- README: what changed from broke, how to run it, how to review upstream
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On start, broke fetches main and fast-forwards when this copy has no changes of
its own, then reinstalls only if package-lock.json changed. With your own changes
it says to run npm run update; offline, no git or BROKE_NO_AUTO_UPDATE=1, it
starts the copy you have.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>