The neighbour table says which nodes a repeater receives directly, and
how strongly. Until now the only way to it was the Fetch neighbours row
of the trace path composer, three steps in, and the table dissolved into
the evidence graph with no screen that showed it.
The admin page gets a Neighbours row. The session is already open, so
the fetch sends no second login. It runs under the spinner dialog with
Abort that the reads use, and the answer floats as the Trace-target
picker does: the same lane layout, the same Ctrl+arrow sort ring, the
same type-to-filter, the same node hues, type marks, and key lane.
Enter opens the node page of the highlighted neighbour, and the list
stays pushed under it, so Esc comes back to the same row in the same
sort.
Only the two middle lanes are new, because here the readings belong to
the remote node and not to us: SNR is what that node measured, and HEARD
is how long ago it received from the neighbour. Both are declarations in
the shared lane spec, so the header, the rows, the widths, and the sort
metric all read the same tuple. The contact list gains an `snr` lane
kind, an `absent` word for an age lane (a neighbour with no age is not
"never" heard: the node hears it and did not say when), and an
`unknown` flag that draws the `○` mark, because a type mark on a node
nobody identified is a claim we cannot make.
A neighbour the device holds as a contact carries that contact. One
that nothing can name carries a contact of its key prefix alone, so
every row opens a page: it shows what the stored history knows about a
node our own radio never heard, which is the question the reader has.
The snapshot goes to the repository as before, so a fetch from here
feeds the mesh walk, the path composer, and the trace scenarios exactly
as a fetch from the composer does.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
The rule reached the exit pair of an editor and stopped there. A typed
query still took the Actions section of the Device config, the repeater
admin and the region editor, the Archive and View archived rows of the
Contacts list, the Add rows of Channels and Outbound paths, the bulk
sync of the Clock drift page, the Queue and Clear rows of the Courier,
the delete rows of the Trophy case, the alert actions of the
Watchtower, the whole-mesh row of the Time Machine, Probe all and Keep
current path in Trace, and the actions of the Device route popup.
Find-as-you-type searches the data of a list: the contacts, the
settings, the slots, the queued messages, the records. A row that acts
on the page is not in that data, so a query that matches no record hid
the way to act and said nothing about how to get it back. Each such row
now declares always_shown, and menu_rows takes the flag for a whole
section.
A list that is a menu keeps the old behaviour. The main menu, the
actions of one room, the actions of one outbound path, and the startup
offer are made of verbs, and there the query is how a reader finds one.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Apply has no keyboard key of its own. On the Preferences page, the
Device config page, the repeater admin page, the outbound editor, the
region editor, and the archive sweep, a typed query narrowed the rows
and took the exit pair with them. The staged changes were then only
reachable by a press of Esc that clears the filter, which nothing on
the screen says.
A Choice can now declare always_shown, and the filter keeps such a row
as it keeps each separator. The exit pair of menus.exit_rows, the
live-then-save pair of the region editor, and the Archive/Back pair of
the sweep declare it. A verb row that a reader searches for, such as an
Actions section or a menu, is content and filters as before.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Three breaks had landed: one docstring line of 102 cells in
public_default, and two calls that the formatter joins back onto one
line in chat and menu. Nothing but the shape of the text changed.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
The page had drifted behind the firmware. Three statistics frames arrive
at each open and the panel drew nine rows from them, so the outbound
queue, the firmware error count, and the split of the packet counters
into flood and direct were read and thrown away. The device-query frame
carries the companion protocol version and the contact and channel
capacities, and nothing in MeshTerm had ever asked for them. The
default flood scope was one row named Flood scope, between the two
auto-add rows, with no key beside it. The key of the node itself was
nowhere on the page.
The panel now has four groups, in the order a user asks them in. What
the node is: role, public key with the routed bytes lit, model,
firmware with the protocol version, and place. What MeshTerm does with
it: the scope and the transport key of that scope, the active site with
the outbound paths and kept device routes that apply, and the name of
the radio preset. How it is doing: battery, storage, its own sensor
readings, the clock with its drift, uptime, contacts and channels
against the capacities, the queue, and the errors. What it heard and
sent: the noise floor, the airtime, and the packet counts, split.
A node with no scope says that its floods reach everyone, because an
empty value there is a statement and not an absence. A node whose
stored scope key is not the key of its own name says so in amber: a
flood under that key reaches no repeater that listens for the name, and
nothing else in MeshTerm could show it.
The rows sit in a two-column grid, so a value wider than the panel
wraps under its own column instead of going back to the left edge, and
a 64-digit key stays whole. The gallery draws the panel now, so both
platforms hold it to their readable width.
Two new device reads, both optional and both answered by any firmware:
the scope frame read for its key as well as its name, and the sensor
readings of the node itself, which MeshTerm had never asked any device
for. The device-query frame is no longer read twice at each open, since
the snapshot already merges it.
The scripted face answers with the same three parts: the status, the
readings, and every setting. The settings come from the one definition
that config show answers with, under the keys config get and config set
take, so the two faces cannot drift and no setting is spelled two ways.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
A radio that arrives with no channel at all cannot send anywhere: each
send needs a slot, and the device refuses a send on a slot it does not
have. A new user reads the empty Chat picker as "nobody is here", not
as "this radio has no channel".
So MeshTerm writes the channel that MeshCore itself ships, on slot 0,
and says so on the splash. It does not ask: the key is well known and
the device had nothing to lose, which is the same judgment as the
position that the settings offer restores silently. One preference,
public_on_empty_device, on by default, turns it off.
The step is cheap and quiet. It reads slot 0 first, so a radio that
has channels pays one round trip at each startup. It writes only on a
slot probe that finished, because an unfinished probe returns a short
list that reads exactly like an empty device. The simulator is passed
over: it starts empty at each launch, so it would write and raise a
card on every run of the development loop.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
#Public is not the standard Public channel: its key comes from its
name, so its hash differs and no other node is on it. But the two add
rows sit side by side, and Public is the obvious word to type into
"Public channel name:". A user who did that got a channel that looked
right in every list, that sent with no error, and that nobody heard.
Two halves of the same hole. The name now asks again and offers the
standard channel instead, without refusing the name. And the Chat
picker's offer no longer waits for slot 0 to be empty: the
well-known key decides, not the slot, so a #Public in slot 0 cannot
hide the one way back to the real channel. The offer names the lowest
free slot, and the add confirms that slot against the real capacity
before it writes.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
A mention in a DM plays the DM sound. The sound keys of this unpushed
work are not retired: they never left this machine.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The first switch (sounds on or off, off by default) becomes a mute,
off by default: "no sound" is a theme. The volume is now ten steps.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The first build counted only the relays past the first hops of the
outbound paths. On JP's Public channel, 23 of 23 sent messages came back
only through the two home repeaters: each repeater relays one time, and
the next hop (8 km away) is too far for the companion to hear. So every
message showed the warning mark, and nothing was ever confirmed.
Now each repeater that sends a copy back counts, the same as a DM ack:
spinner, then a check with the number of repeaters, or a cross. The
warning state, the near-relay snapshot of each send, the ^P atom, and
heard_via are removed. heard_relays keeps only the paths; a database with
the first build of the table gets it made again (derived data only).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A channel has no acknowledgement, but the radio hears each repeater that
relays our message, and each copy names the relays that it went through.
The end of our channel message now shows a spinner, then a check and the
number of relays past the near relays (the first hops of the outbound
paths that apply), a warning when only the near relays sent it back, or a
cross when no relay did. A near relay is near by identity, at any place
in a path. Managed nodes play no part: a remote managed repeater counts.
- services/heard_by.py: the verdict, and a tracker that fills in the
background and refreshes on each channel packet. Settled verdicts are
stored (schema 24, heard_relays), with the near relays of each send.
- The picked message names the relays and the near relay that carried it.
- ^P counts the relays past the near relays.
- chat history --channel: a HEARD lane; --json gives heard, heard_by,
heard_via.
- New preference heard_wait_s (Relay wait, 30 s).
- Fix: a copy of our own channel message must carry the time of that
send, so two messages with the same text no longer share copies.
Closes#38
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The history draws its conversations, greetings, traces and neighbours from
one random source. #mcoimg's lines took numbers from it (as messages and as
the greeting adverts before them), which moved the route the video's trace
to Brossard learns off Mont-Royal, and the trace got no reply. Channels past
the first four slots now draw from sources of their own, so the shared one
ends where it did in 0.12.0 and the route is Mont-Royal again (3233x).
Four holds of the video tour are shorter, so it stays under two minutes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The transcript capped an image's height by the platform's rows, so the
Cardputer drew the 30x30 woodpecker at 20x20, and the ^U view at 18x18.
Now neither shrinks it: one pixel is one cell wide, a tall image scrolls
like a long message, and the ^U view only grows it by a whole number
where the frame has room. Only an image wider than the screen still
shrinks, to fit the width.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The demo device holds #mcoimg in slot 4: a short talk about pixel art
around three images, the real 30x30 woodpecker last so the chat opens on
it. The tour saves it as mcoimg.png after the map, waiting on the
channel's title, which every set draws.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Three gallery cases with a real 30x30 image: the transcript, the picked
message (^U image, the Image chip), and the ^U view, on all four sizes.
They showed the Cardputer's view shrinking the image to 12x12 to fit the
im3: string. The string may now only stop the image from growing; when
it would make the image smaller than it is alone, it goes a page down.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The first test image from a real encoder rather than the tests' own raw
one. It uses the 512-colour dynamic profile and a compact regions stream
with three regions, which the reference vectors only cover at tiny sizes.
The pixels were checked by eye; the test pins their hash and colour counts.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The decoder moves from core/mcoimg.py to core/mcoimg_decode.py, unchanged.
mcoimg.py keeps recognition (the caption needs only the header) and is
what the chat imports; pixelart imports the decoder inside decoded().
On the PicoCalc the decoder cost about 50 ms on every chat import.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The ^U view now shows the text the sender transmitted, as a centred block
under the caption, so it can be examined or copied. The string never
shrinks the image below its own size: when both cannot fit, the image
keeps the rows and the string goes a page down, as a large QR code's URL
does. A test now pins that ^U opens the view with images shown too.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mcoimg_palettes.py is generated from meshcore-open's palette files, so
the copyright line and MIT permission text now travel with every copy,
as the Cascadia font's terms do. The decoder itself is MeshTerm's own.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A small image grown to fill the bare frame touched its edges: a wide one
ran edge to edge, and a tall one took every row. It now keeps two cells
at each side and three free rows, which the frame splits one above and
two below, so it sits centred a little above the middle as a code does.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On a picked message that is an MCOimg image, ^U opens it on a bare frame,
grown by a whole number to fill it, with its caption under it. The lane
chip reads Image and the hint ^U image. The new chat_images preference
(Display, on by default) can turn the inline drawing off; then the chat
shows the caption only, and ^U is the way to see the image. Refs #37.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A v3 image (im3:) is now decoded in full: all 16 palette profiles, 4 scan
orders, 8 containers, 16 block algorithms, and every local palette form.
The decoder is written from the published spec; the palette colours are
interop data generated from meshcore-open's tables (MIT, credited).
Hostile input returns None and never raises; a 64x64 image takes ~20 ms.
The chat draws two pixels per cell (top colour over bottom background),
at the body's indent, shrunk by nearest pixel to fit the lane and the
platform's rows. All 45 reference vectors pass, copied to tests/data.
Refs #37.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A message whose body is an MCOimg image (im3:, or im: for v1/v2) now reads
"🎨 image · 24×24 · 16 colours" in the transcript and the Messages preview.
The v3 header gives the size and the palette; the pixels are not decoded yet.
The Base91 text no longer makes false mention chips, links, or QR codes.
Checked against all 51 reference vectors. Refs #37.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
When slot 0 was empty, the Chat picker showed a Public row that looked like
a real channel, and every send on it failed with "the device has no contact
with that key" (#36). The row is now an offer: Enter asks to add Public to
slot 0, and the chat opens only after the write. The CLI lists only the
channels on the device, and a refused channel send names the empty slot.
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
The tour ran 120.2 s with the 0.12.0 screens, over the two minutes that the site promises. Three holds lose half a second each: the map as it opens, the map at zoom 16, and the live feed. The tour now runs 119.0 s.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Device info, Device config, and Send advert now sit on our own node
page, read from the menu's registry and run through the menu's own
runner (`_run_selection`, now public as `run_tool`). When Device config
renames or moves our node, the page opens again with the new values,
and our row in the Contacts list takes the new name in place.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Enter on our row raised UnboundLocalError: the advert-repair row read
`refused`, which only a contact's page set. It now starts as None.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Enter on a received channel message whose sender has no known key opened
Trace path, out to the first relay and back. The sender is a companion
(only a companion sends channel text), so it is the target of the walk,
and the rules of a target that does not relay apply. The dialog now opens
Trace target under the name of the sender:
- The walk turns at the relay that heard the sender, and the line under
the route says so.
- The composer mirrors the route at its last hop. It has no Auto row,
because the session has no route to plan for a node with no key.
- The screen has no Explore row, because the evidence graph keeps nodes
by key.
- A sender with a key but no stored type is also a companion now.
A sender with no key and no name, and a direct message from a peer with no
key, offer no trace.
Refs: #34
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A walk to a companion turns at the repeater that hears it, but the route
that it proves is the route to the companion: every relay, with the one
at the turn. Use writes it on the companion's contact, never on the
repeater's, and never as the shorter route to the repeater.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>