Files
MeshTerm/CHANGELOG.md
T
Jean-Pierre MartineauandClaude Opus 5 3c4c6ec05a The block is worth attaching, not only pasting
Copying off a screen is the wrong shape for anything long: you select,
you scroll, you select again, and on the PicoCalc there is no clipboard
to select into at all. So the page saves. s writes
meshterm-diagnostics.txt into the config directory beside the log, which
is the folder "send me both" already names, and meshterm diagnostics
--out PATH does the same from a shell -- spelled the way config
export-key --out already spells it rather than inventing a second word
for writing an answer to a path.

The save key forced the one concession on the bare frame. A bare frame
has no footer and no F-key lane, so a page that could save and never said
so would be a key nobody could find, and on the PicoCalc the lane is
normally the only place an affordance is advertised at all. The page
carries its own last line instead. One trailing line after a blank row
costs a paste far less than a border costs it on every line, and a drag
that follows the block stops above it of its own accord.

Saving answers on that same line. A dialog would cover the block the
reader was about to copy, and the line has to be able to say a write
failed -- a read-only home, a full disk -- without inventing an error
screen for it. The block stays readable either way, which is the whole
reason both routes exist.

The file is always the plain block, even under --json: it is there to be
read by whoever opens the issue, and a document of the same facts helps
them less. It is rendered at a fixed wide width so no lane crops, and
with the trailing pad stripped, since Rich pads every cell to its column
and that is invisible on a terminal and noise on disk.

With --out the answer becomes the path, the trade config export-key
already makes: a caller who asked for a file wants to be told where it is,
not handed the contents they just redirected into it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-19 16:33:34 -04:00

6.9 KiB

Changelog

Notable changes to MeshTerm, newest first.

The format follows Keep a Changelog, and the version numbers follow Semantic Versioning — with one caveat SemVer makes for a leading zero: while the major version is still 0, a minor bump is allowed to change how things behave, not just add to them.

Unreleased

Added

  • Diagnostics — everything a bug report opens with, in one block. A new page under This app, and a new meshterm diagnostics command. It states which MeshTerm this is and how it was installed, the OS and its build, the terminal and its size, every verdict resolved once at boot and shown on no screen (icons, powerline, the platform flavour and why), the radio and what its link is set to, and how much stored history there is. Those are the questions an issue thread otherwise asks one at a time, and the person who hit the bug is the one least able to answer them.

    • The page is a bare frame — no border, no header, no footer, no key hints. Not a style choice: a terminal is selected by dragging, so every one of those is a character the clipboard carries into the issue. A long value hangs under its own block rather than being cropped, which is the one place the page and the command line lay the same facts out differently.

    • Nothing in it is private. No pairing PIN, no admin password, no channel secret, no private key, no position, and no contact's name or key. The mesh is described in aggregate — a row count per table and the span the observations cover — which is the half that explains a bug without naming anyone the reporter talks to. It is a property of the feature rather than a habit: tests/test_diagnostics.py plants real secrets in the stores that hold them and fails if any of them, or a field merely named like one, reaches either face.

    • The radio is asked but never required. A report about a companion that will not connect is exactly the report most worth filing, so a failure to reach it becomes connected no with the radio's own words in error, and every other fact still arrives.

    • The table counts are discovered from the schema, not from a list written down somewhere, so a table added later starts being reported the day it lands — and the interesting count is always the table nobody expected to be full.

    • It saves to a file, for attaching rather than pasting. s on the page writes meshterm-diagnostics.txt into the config directory beside the log, and says so on the page's own last line rather than in a dialog over the block you were about to read. meshterm diagnostics --out PATH does the same from a shell, spelled the way config export-key --out already spells it. The file is always the plain block, even under --json — it exists to be read by a person — and it is laid out at full width, so nothing is folded to whatever the terminal happened to be.

Changed

  • --json and the plain face grew a shared projection for a set of facts (ui/renderers.facts_pairs), so the Diagnostics page cannot drift from what meshterm diagnostics prints: a field added to the report reaches both without anyone remembering to. A path also gained the lane constructor it never had (ui/fields.path) — the machine face had always spelled one correctly and the plain face could not render one at all.

0.9.0 — 2026-09-22

The first public release. Everything in MeshTerm is new today, so instead of a list of changes, here is what it does.

MeshTerm is a program you run in a terminal to work with a MeshCore radio — one of the small LoRa boards people use to build long-range mesh networks. A mesh like that needs no internet, no phone signal, and nobody in the middle: the radios pass messages along to each other until they arrive. You plug one into your computer, start MeshTerm, and it shows you what the mesh is doing.

What you can do with it

  • Run it two ways, and it behaves the same either way. Type meshterm on its own and you get a full-screen menu you drive with the arrow keys. Type a command instead — meshterm contacts, meshterm map — and it prints an answer and exits, which is what you want in a script. Add --json to any command and the answer comes back as data for another program to read.

  • It listens all the time, and writes down what it hears. Radios on a mesh announce themselves. From the moment yours is connected, MeshTerm notes down every announcement it overhears: which radio it was, how strong the signal was, and where it said it was. All of it is saved on your own computer. That is why the lists and charts can show you not only what is happening now, but what was happening last Tuesday.

  • You can see where everyone is. There is a street map, drawn in the terminal, with the radios on it. You can pan it, zoom it, and search it. There is also a Time Machine that winds the map back so you can watch the mesh change over days.

  • You can talk to people. Group channels and one-to-one messages, both live. If someone is out of range right now, the courier holds your message and delivers it when they come back. Channels can be shared as a QR code someone else scans, or as a link.

  • You can measure the mesh, not just guess at it. Trace a message's route and see which hop is the weak one. Sweep your transmit power from coarse to fine to find the lowest setting that still gets through. Walk a map of how the whole mesh actually hangs together, which is often not how you thought it did.

  • It talks to your radio however your radio talks. USB cable, Bluetooth, or over the network. It finds the ones it can find on its own and asks you to pick. If a connection drops it reconnects by itself. No radio yet? meshterm --mock runs the whole program against a simulated mesh.

  • It runs on the small machines too. There is a second layout built for handheld consoles — the PicoCalc's 53-column screen and the uConsole — with its own fonts, colours and on-screen key labels, not just the desktop screen squeezed.

  • It works with no internet. Map tiles are kept on disk once fetched, and when there is no network at all the map falls back to a plain grid. Nothing about MeshTerm needs to phone home.

Getting it

One file to download, with nothing else to install, for Windows, macOS (both Intel and Apple silicon) and Linux (including 64-bit ARM, so handhelds are covered). If you would rather use Python, pipx install works too. The README has the exact commands.

MeshTerm is free and open source under the Apache 2.0 licence. The name and the logo are not — see NOTICE — so a fork is welcome, under its own name.