Commit Graph
65 Commits
Author SHA1 Message Date
efitenandClaude Opus 4.8 bbf91c2afc feat: move Connect to Settings, open on Settings until connected, name last reception (v1.3.1)
- Connect/Disconnect (+ progress + status) moves from Home to the Settings tab, so
  the recently-heard list moves up — Home stays a pure monitor.
- The app opens on Settings (where Connect lives) until a companion is connected,
  then jumps to Home; the live monitor is shown only when there's something to watch.
- Last reception shows the resolved node name when available, upgrading from the raw
  ID once names.js resolves it (label derived live each tick).

SW cache v8→v9.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-20 15:57:37 +02:00
efiten ff7e4c0dd7 Merge pull request #4 from efiten/feat/settings-screen-home-monitor
feat: auto-discover + Settings tab + Home monitor, fix stuck-uploads drain (v1.3.0)
v1.3.0
2026-06-20 15:42:53 +02:00
efitenandClaude Opus 4.8 d65b923c10 feat: auto-discover + Settings tab + Home monitor, fix stuck-uploads drain (v1.3.0)
Home becomes a pure monitor and a new Settings tab holds config/diagnostics.

- Discover now runs automatically while connected with a 15 s traffic backoff
  (an overheard 2-byte forwarder/advert means a busy channel — don't poll on top
  of it); standstill still suspends it. The Flood probe is removed entirely.
- New Settings tab: CoreScope broker status + "Push pending now", companion info,
  diagnostics (verbose, debug log, share/mail the log via Web Share API).
- Home enriched: nodes/hex/rx counters, status strip (GPS accuracy, pending,
  upload health + last-upload age, capture rate), last-reception SNR peak-hold
  meter, discover status line.
- Fix the +60-pending-on-WiFi bug: publish() now times out instead of hanging on
  a dead socket, drainLoop re-arms in finally so it can never die, MQTT keepalive
  lowered, and a drain is kicked on broker reconnect / window online.

Pure logic in src/monitor.js + src/sharelog.js with tests. SW cache v7→v8.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-20 15:20:35 +02:00
efiten 61dc94ae29 Merge pull request #3 from efiten/feat/keep-screen-awake
Keep screen awake while capturing + iOS/Bluefy notice + 5-min idle dwell (v1.2.0)
v1.2.0
2026-06-17 09:28:39 +02:00
efitenandClaude Opus 4.8 a0e1eb8c20 chore(release): v1.2.0 — screen wake lock, iOS/Bluefy notice, 5-min idle dwell
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-17 09:27:31 +02:00
efitenandClaude Opus 4.8 e5b4abc7f2 docs(readme): document iOS needs the Bluefy browser; supported browsers + wake lock
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-17 09:27:02 +02:00
efitenandClaude Opus 4.8 a321542900 feat: keep screen awake while capturing + iOS/Bluefy notice
Wake lock held for the whole session (native Screen Wake Lock where available,
hidden muted loop video fallback for Bluefy/WKWebView), acquired in the Connect
user-gesture so iOS allows video.play(), released on disconnect. Shows a notice
when Web Bluetooth is missing (iOS Safari → Bluefy). SW cache → v7.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-17 09:27:02 +02:00
efitenandClaude Opus 4.8 adbb096457 feat(motion): shorten standstill auto-pause dwell from 15 min to 5 min
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-17 09:27:01 +02:00
efiten 85d486e971 Merge pull request #1 from efiten/feat/idle-pause-standstill
Auto-pause capture/upload on standstill (idle gate) — v1.1.0
v1.1.0
2026-06-15 20:35:42 +02:00
efitenandClaude Opus 4.8 89c231bb54 docs(agents): require a cumulative What's New body on every release tag
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-15 20:33:55 +02:00
efitenandClaude Opus 4.8 3e6c1426f5 chore(release): v1.1.0 — auto-pause on standstill
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-15 20:30:17 +02:00
efitenandClaude Opus 4.8 fe754d54b9 feat(app): auto-pause capture/upload when stationary, resume on movement
Feed each GPS fix into the idle gate; while paused, skip queueing/counting/
mapping new receptions (recent-heard list still updates as liveness) and
suspend the Discover loop. Adds an amber status chip; bumps SW cache to v6.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-15 20:27:20 +02:00
efitenandClaude Opus 4.8 b3aaf3aa7b feat(motion): pure idle-gate — displacement-anchor moving/stationary detection
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-15 20:20:57 +02:00
Erwin FitenandClaude Opus 4.8 962b133d95 chore(release): v1.0.0 — first official release (rename to CoreDrive RX)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
v1.0.0
2026-06-15 11:31:45 +02:00
Erwin FitenandClaude Opus 4.8 108e6d7f9a Merge release/coredrive-rx-1.0: recent-list fix, subtitle, bigger hexes, rename to CoreDrive RX
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 11:19:26 +02:00
Erwin FitenandClaude Opus 4.8 61f0ab911a chore: rename corescope-rx -> coredrive-rx (CoreDrive RX)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 11:10:18 +02:00
Erwin FitenandClaude Opus 4.8 bba0d860cb feat(map): coarser live grid + bolder hex style for on-the-move visibility
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 11:07:05 +02:00
Erwin FitenandClaude Opus 4.8 88afdc2386 feat(ui): add subtitle under the app title
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 11:06:18 +02:00
Erwin FitenandClaude Opus 4.8 6132eb91ef fix(recent): re-find merged row by sameNode so name survives key promotion
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 11:05:35 +02:00
Erwin FitenandClaude Opus 4.8 556dc72f46 fix(recent): one row per node — merge a node's heard-key representations
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 11:00:55 +02:00
Erwin FitenandClaude Opus 4.8 5aa5e6d4a9 refactor(recent): clearer field seeding + document name tie-breaking
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 10:56:49 +02:00
Erwin FitenandClaude Opus 4.8 88b159f288 feat(recent): pure prefix-merge for the heard list (dedupes a node's representations)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 10:52:08 +02:00
efiten 6923686a61 feat(deploy): deploy-release.sh — install from a prebuilt release over SSH (no build) 2026-06-14 00:20:52 +02:00
efiten 53baf8e1ee fix(deploy): drop dist/config.json before upload so it never clobbers the server's config 2026-06-13 22:45:10 +02:00
efiten 9407faadc9 chore(release): v0.9.0 — first public release (runtime config.json) v0.9.0 2026-06-13 22:19:10 +02:00
efiten a58be5354f chore: track package-lock.json so CI npm ci works 2026-06-13 22:09:32 +02:00
efiten d1aa05e726 ci: build dist and publish a GitHub Release artifact on version tags 2026-06-13 21:58:31 +02:00
efiten 1b430b7247 docs: generic README with sysop self-host howto 2026-06-13 21:54:57 +02:00
efiten c626669a52 docs: add AGENTS.md contributor rules 2026-06-13 21:51:32 +02:00
efiten 55588c5a27 chore: public metadata + GPLv3 LICENSE 2026-06-13 21:48:47 +02:00
efiten 2a5b479752 chore(deploy): genericize deploy.sh (env-driven, no on8ar, config.json safe) 2026-06-13 21:45:37 +02:00
efiten b61e92a40b feat(config): add config.example.json; gitignore real config.json; drop .env 2026-06-13 21:40:35 +02:00
efiten c06a84f0b6 feat(app): load runtime config.json; build MQTT from it; genericize UI 2026-06-13 21:18:22 +02:00
efiten 20409f9292 chore: stop tracking local planning docs (docs/plan.md, docs/superpowers/) 2026-06-13 21:13:51 +02:00
efiten a7d451a3ff feat(names): resolve URL from runtime config; skip when unset 2026-06-13 21:12:28 +02:00
efiten 6e80334dc6 fix(config): cache loadConfig, guard array input, test mqttPassword normalization 2026-06-13 21:07:54 +02:00
efiten 2bd69ab30f feat(config): runtime config.json loader + validation 2026-06-13 21:00:16 +02:00
efitenandClaude Opus 4.8 b3826a0daa docs(plan): SP4 implementation plan — public release (runtime config.json)
Bite-sized TDD tasks: config.js loader (+tests), names.js→resolveUrl, app.js
wiring + UI genericize, config.example.json/gitignore/drop .env, deploy.sh,
package.json+GPLv3 LICENSE, AGENTS.md, README howto, build/test verify,
mandatory git-history secret scan, then gated flip to public.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-13 20:55:40 +02:00
efitenandClaude Opus 4.8 33021be0e4 docs(spec): SP4 — switch config model to runtime config.json
Per review: deployment config is a runtime config.json fetched at startup (MQTT
url/account/password + optional resolveUrl), not build-time VITE_*/.env. Sysops
host the static build and drop in config.json — no source edits, no rebuild to
change config. config.json (with the publish password) is gitignored; a
config.example.json is committed. Updates the howto, AGENTS rules, and the
pre-public secret scan accordingly.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-13 20:47:51 +02:00
efitenandClaude Opus 4.8 23b4f885b4 docs(spec): SP4 — public release design (genericize, howto, AGENTS.md, GPLv3)
Design for making corescope-rx a public, self-hostable companion app: keep the
build-time VITE_* config model, move the one hardcoded endpoint (names.js BASE)
to VITE_RESOLVE_URL, rewrite the README with a sysop self-host howto, add
AGENTS.md + a GPLv3 LICENSE, scan git history for secrets, then flip to public.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-13 20:39:41 +02:00
efitenandClaude Opus 4.8 c4c049523a fix(app): only attribute path[last] for FLOOD routes
A direct-routed packet consumes the next hop from the FRONT of the path
(firmware Mesh.cpp removeSelfFromPath), so path[last] is the route's
destination-side end, not the node we physically heard — crediting SNR/RSSI to
the wrong (often far-away) node. Flood forwarders append at the end, so there
path[last] is correct. deriveHeardKey now skips DIRECT (2/3) multi-hop packets
via a new isFloodRoute() guard; the debug log calls them out explicitly. Also
covers TRACE (always DIRECT). bump 0.8.0 -> 0.8.1, sw cache v3 -> v4.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
pre-runtime-config
2026-06-11 22:18:38 +02:00
efitenandClaude Opus 4.8 27cdab6a5d chore: gitignore local announce/promo text files
These are local announcement copy, not source — keep them out of github by default.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-11 20:48:23 +02:00
efitenandClaude Opus 4.8 02b61df753 feat(app): node-discover + flood probe, debug-log cleanup
- Discover button now sends a zero-hop node-discover request (CONTROL/DISCOVER_REQ,
  cmd 0x37) every 30s with an in-button countdown; meshpacket parses DISCOVER_RESP
  into a heard_key (src=discover). Wire format verified against meshcore_py + firmware docs.
- replace Ping with a one-shot Flood probe (mesh-wide advert, 60s cooldown) that maps
  repeaters beyond direct range via overheard re-broadcasts.
- meshpacket: guard TRACE packets (header path bytes are per-hop SNR, not hop hashes)
  so they can't yield a bogus heard_key.
- debug log: green reserved for captures, orange for our own sends, explicit grey
  notice for 1-byte path-hash packets, and a Verbose toggle for raw 0x88 bytes +
  unattributable frames.
- bump version 0.7.0 -> 0.8.0, sw cache v2 -> v3.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-11 20:46:33 +02:00
efiten 1e49e40e21 feat(app): colour-code the debug log
Green = forwarded/sent (heard/attributed, published, discover/ping sent),
red = held back/failed (not attributable, no GPS, publish/send errors),
grey = status. (No version bump — v0.7.0.)
2026-06-10 20:31:19 +02:00
efiten 9a5b4c5e02 feat(app): auto-set companion to 2-byte path-hash mode on connect
On connect, query DEVICE_INFO (CMD_DEVICE_QUERY) and read path_hash_mode (byte
81, fw v10+). If it's 0 (1-byte, collision-prone → our rule rejects it), set it
to 1 (2-byte) via CMD_SET_PATH_HASH_MODE and report it below the Connect button.
v0.7.0
2026-06-10 20:27:46 +02:00
efiten 25b5889a89 feat(app): Discover + Ping buttons (zero-hop self-advert)
Discover sends one zero-hop self-advert (CMD_SEND_SELF_ADVERT=7, byte1=0) to
wake/probe only the directly-surrounding nodes (NOT flood). Ping is a toggle:
the same zero-hop advert every 15s, auto-reset whenever a multibyte packet is
heard. Buttons enabled only while a companion is connected.
v0.6.0
2026-06-10 20:15:34 +02:00
efiten c04b8fa9f0 fix(app): align follow button under the zoom control (explicit 10px corner margin) v0.5.4 2026-06-10 16:53:39 +02:00
efiten 8e45167402 fix(app): follow button uses Leaflet's leaflet-bar/<a> markup (matches zoom buttons)
Avoids the app's global button{} styles + native mobile button rendering that
stripped the box; now styled like the +/- control.
v0.5.3
2026-06-10 16:50:44 +02:00
efiten c261c5f59f fix(app): follow-button styling + cache-busting so updates land
- 📍 follow button: override the app's global button padding/margin so the icon
  sits centred in the box
- service worker: bump cache name + purge old caches on activate
- (nginx on rx.on8ar.eu now sends no-cache for index.html/sw, immutable for
  hashed assets, so new versions actually reach clients)
v0.5.2
2026-06-10 16:46:18 +02:00
efiten 91bbe1a67f fix(app): live GPS marker/follow updates continuously, not only on RX
The map's position marker only moved when a packet arrived, so it appeared to
hang and jump. GPS fixes (watchPosition) now feed the map directly via
setPosition; hexes are still added only on a real RX.
v0.5.1
2026-06-10 16:37:22 +02:00