Commit Graph

10 Commits

Author SHA1 Message Date
jackos1998 07804e8ae8 Expand AGENTS.md: checks, brand assets, decompiled-APK note
Add a Checks section (`py_compile` + `nix build`), note the `brand/` assets
and their source, broaden the backtick-quoting rule, refine the token-expiry
guidance, and explain using decompiled APK output if provided.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-14 02:42:32 +01:00
jackos1998 73cf5d2ce4 Document remaining API endpoints and token-lifecycle findings
Catalogue every endpoint from the capture (account, classes, products,
instructors, tracking, lifecycle), add the white-label-id and companyId
notes, and an agent-authored caveat. PII anonymised.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-14 02:38:04 +01:00
jackos1998 0fd2393a3d Send X-Go-White-Label-ID header
Send the hardcoded West Wood white-label tenant ID on API requests, matching
the app. The server doesn't require it.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-14 01:38:42 +01:00
jackos1998 55b4a17a26 Add README
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-14 01:10:52 +01:00
jackos1998 f4d89c06c9 Document backtick-quoting code in prose
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-14 01:01:28 +01:00
jackos1998 fce36e22b9 Add West Wood Club brand icon and logo
Ship icon/logo (extracted from the app's brand asset) in the component's
`brand/` dir.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-14 01:00:55 +01:00
jackos1998 475ccf21e6 Strip duplicate club-name prefix from sensor names
With has_entity_name the device name is prepended, so the API's
'West Wood Club <club>' names rendered as 'West Wood Club West Wood
Club <club>'. Strip the prefix to show e.g. 'West Wood Club Dun
Laoghaire'.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-14 00:48:51 +01:00
jackos1998 792d5e176b Document direnv exec for non-interactive runs
Prefer `direnv exec .` (cached dev shell) over `nix develop --command`,
which re-evaluates the flake every call.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-14 00:34:58 +01:00
jackos1998 aafd487b83 Add Home Assistant integration
Token-authenticated custom component exposing live per-club member counts
as sensors under a single "West Wood Club" device, fed by one coordinator
polling `/v1/Clubs/WhoIsInCount`.

Packaged via `buildHomeAssistantComponent` with a flake package + overlay so
it can be used in `services.home-assistant.customComponents`.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-14 00:11:04 +01:00
jackos1998 ea1eccb4a5 Initial commit 2026-06-13 23:25:13 +01:00