agessaman
0809618d3a
feat(templates): add {path_names} placeholder for short repeater names
...
{path_names} renders a message's route as compact repeater names, BlackHls▸KalamaSum▸KelsoG3 instead of a1b2,c3d4,e5f6 (3 hops), for [Test_Command] response_format and [Keywords] replies. A hop gets a name only on a 2- or 3-byte path, and only when its prefix has a single recent repeater or a collision resolves with at least path_names_min_confidence (default 0.9). Every other hop keeps its hex prefix, so no hop shows a guessed name. A direct message renders Direct, like {path}.
Names come from the same candidate query and selection as the web viewer's path decode; the candidate query is now candidate_repeaters() in path_inference so both share it. modules/name_shortener.py compacts each name (ASCII fold, emoji and filler dropped, callsigns dropped when another word names the node, CamelCase, place-word abbreviations, then vowels and letters) and packs the route into path_names_max_bytes, eliding hops after the first when names alone can't shrink enough. The lookup only runs when the template contains {path_names}.
2026-11-14 08:45:08 -08:00
..
2026-02-12 19:23:35 -08:00
2026-06-06 16:18:52 -05:00
2026-09-07 15:13:18 -07:00
2026-10-01 21:31:38 -07:00
2026-10-01 06:53:14 -07:00
2026-10-01 15:26:21 -07:00
2026-09-23 21:38:19 -07:00
2026-09-13 12:49:21 -07:00
2026-04-25 09:05:17 -07:00
2026-09-19 09:12:07 -07:00
2026-10-02 16:44:22 -07:00
2026-10-01 11:02:57 -07:00
2026-05-19 17:26:29 +02:00
2026-09-16 07:59:10 -07:00
2026-08-24 21:48:24 -07:00
2026-10-01 06:53:14 -07:00
2026-10-01 06:53:14 -07:00
2026-10-01 06:53:14 -07:00
2026-04-08 21:14:04 -07:00
2026-10-01 00:39:55 -07:00
2026-10-01 11:10:09 -07:00
2026-10-04 11:35:44 -07:00
2026-10-02 07:04:52 -07:00
2026-09-07 15:13:18 -07:00
2026-10-02 00:48:31 -07:00
2026-10-02 07:55:18 -07:00
2026-10-01 22:20:07 -07:00
2026-10-01 19:27:49 -07:00
2026-10-02 01:10:39 -07:00
2026-10-03 22:28:45 -07:00
2026-10-01 01:38:51 -07:00
2026-10-01 02:16:16 -07:00
2026-10-03 22:24:48 -07:00
2026-04-14 10:01:51 -07:00
2026-10-01 06:14:25 -07:00
2026-03-17 18:07:18 -07:00
2026-03-17 18:07:18 -07:00
2026-07-30 07:23:06 -07:00
2026-03-17 18:07:18 -07:00
2026-03-17 18:07:18 -07:00
2026-03-17 18:07:18 -07:00
2026-11-04 16:46:27 -08:00
2026-11-14 08:45:08 -08:00
2026-09-07 17:15:55 -07:00
2026-09-19 09:12:07 -07:00
2026-10-02 01:10:39 -07:00
2026-10-01 23:17:47 -07:00
2026-10-02 18:02:34 -07:00
2026-10-02 16:31:31 -07:00
2026-06-06 21:16:28 -07:00
2026-09-20 10:58:09 -07:00
2026-08-28 22:13:42 -07:00
2026-09-07 17:15:55 -07:00
2026-08-09 18:13:57 +00:00
2026-08-09 18:13:57 +00:00
2026-04-21 19:26:09 -07:00
2026-11-01 16:18:10 -08:00
2026-04-25 09:05:17 -07:00
2026-06-03 19:03:23 -07:00
2026-09-09 22:22:26 -07:00
2026-08-22 00:42:08 -07:00
2026-03-17 18:07:18 -07:00
2026-03-17 18:07:18 -07:00
2026-06-01 15:27:27 -07:00
2026-05-12 17:23:22 -07:00
2026-07-06 11:29:47 -07:00
2026-11-14 08:45:08 -08:00
2026-04-14 10:01:51 -07:00
2026-06-06 16:18:52 -05:00
2026-06-06 16:18:52 -05:00
2026-06-15 08:33:21 -05:00
2026-08-26 13:54:57 +04:00
2026-09-30 22:26:09 -07:00
2026-11-05 18:11:06 -08:00
2026-09-15 20:57:49 -07:00
2026-04-08 21:14:04 -07:00
2026-10-02 01:10:39 -07:00
2026-11-04 19:41:50 -08:00
2026-10-01 07:14:09 -07:00
2026-05-17 14:38:47 -07:00
2026-10-01 01:55:17 -07:00
2026-10-01 05:54:56 -07:00
2026-07-28 20:08:57 -07:00
2026-08-30 08:14:55 +04:00
2026-10-04 15:55:17 -07:00
2026-09-07 15:13:18 -07:00
2026-10-01 20:51:56 -07:00
2026-10-01 21:31:38 -07:00
2026-09-22 16:21:54 -07:00
2026-10-04 15:41:45 -07:00
2026-11-04 16:46:27 -08:00
2026-10-02 01:10:39 -07:00
2026-10-01 23:00:14 -07:00
2026-09-15 21:48:00 -07:00
2026-10-01 21:17:16 -07:00
2026-10-02 07:12:38 -07:00
2026-10-01 22:20:44 -07:00
2026-10-01 21:11:23 -07:00
2026-09-15 21:02:32 -07:00
2026-10-02 01:31:37 -07:00
2026-10-02 00:48:31 -07:00
2026-10-01 23:12:47 -07:00
2026-09-07 15:13:18 -07:00
2026-10-02 01:10:39 -07:00
2026-10-02 07:55:18 -07:00
2026-07-16 15:40:20 -07:00
2026-07-12 16:31:05 -07:00
2026-09-22 16:21:54 -07:00
2026-10-04 08:28:02 -07:00
2026-10-01 15:53:04 -07:00