From 3b8675ab6703df599add8d41e8b08594729d38c9 Mon Sep 17 00:00:00 2001 From: TerrifiedBug <35064668+TerrifiedBug@users.noreply.github.com> Date: Sun, 23 Aug 2026 08:52:37 +0000 Subject: [PATCH] chore: release 0.12.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two fixes, both from one incident on a live host. #68 — ensureDaemon launched `process.execPath`, which inside the omp binary is omp: a compiled Bun executable that ignores a script argument and boots an interactive session. So daemon.ts never ran from an omp host, and every spawn was a session that claimed a permanent Telegram topic and exited. 83 of them, five seconds apart, before the loop was broken by hand. The runtime is now resolved by name, the poll lock is read before spawning rather than discovered by spawning, and a daemon child cannot claim a topic at all. #61 — an inbound message now leaves a durable receipt, written before the handoff, so a supervising process can verify delivery without parsing another program's transcript. #67 — /cleanup can select: exact ids, or the crash-loop set identified by evidence (a recorded session file that never existed). Its old dead-pid-only predicate would have deleted eight days of unrelated history along with the spam, irreversibly, in a DM host. Also fixed on the way: registry claims were an unserialised read-modify-write through a shared temp file, so concurrent claims silently lost rows — and a lost row is a topic nothing can ever find again, because the registry is the only index that exists. --- docs/guide.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guide.md b/docs/guide.md index f24a0dd..4277ea1 100644 --- a/docs/guide.md +++ b/docs/guide.md @@ -42,7 +42,7 @@ Install the published extension: ```bash omp plugin install omp-telegram -omp plugin list # → omp-telegram@0.12.2 +omp plugin list # → omp-telegram@0.12.3 ``` There is no build step and no runtime dependency install. The extension uses diff --git a/package.json b/package.json index 97c10f4..8ecfb3f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "omp-telegram", - "version": "0.12.2", + "version": "0.12.3", "description": "Standalone Telegram bridge, session topics, and herdr control plane for omp", "type": "module", "license": "MIT",