agmsg 1.7.0 → 1.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,72 @@ All notable changes to this project are documented here.
4
4
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [1.7.2] - 2026-11-10
8
+
9
+ ### Added
10
+ - Add a shared record for a component that is down or degraded (#1893)
11
+
12
+ ### Fixed
13
+ - CR strip only where sqlite3 emits CRLF (config/roster readers); keep and show a body with a NUL byte (#1944)
14
+ - Make an enabled intent recoverable beyond the installer's one restart attempt (#1904)
15
+ - Fix #774 sync-autostart (and down_notice) going dead under agmsgd/Codex (#1946)
16
+ - One row the wire cannot carry no longer stops the rest of the push (#1943)
17
+ - Carry a message body to the other machine as the same bytes (#1940)
18
+ - Delivery paths: a message body with invalid UTF-8 no longer stops anything; CR strip only on Windows (#1938)
19
+ - JSON-escape backslash and double quote instead of rewriting them (#1929)
20
+ - Codex bridge launcher: stop starting a bridge that only ever ends at once, and say so (#1924)
21
+ - Keep delivering when an update leaves the watcher on older code (#1901)
22
+ - Stop agmsgd's restart burst cap from giving up permanently (#1896)
23
+ - Keep the watcher up when a store read fails or a cursor is stuck (#1895)
24
+ - An unreadable pid check is unknown, not an ended Claude Code session (#1931)
25
+ - Never publish a bare unix:// app-server address; stop a bridge launch that cannot work (#1920)
26
+ - Codex SessionStart: do not start the direct bridge while agmsgd delivers (#1927)
27
+ - Find a live Claude Code seat again when its recorded socket is gone (#1916)
28
+ - Do not report a never-bound local team as connected but not syncing (#1914)
29
+ - Install --update: stop a running agmsgd and confirm it is gone before replacing any script (#1878)
30
+
31
+ ### Changed
32
+ - Keep an install's runtime state outside the directory Codex watches (#1928)
33
+ - Keep seat state in memory, not in install.db (#1911)
34
+ - Codex bridge: date every log record, stop copying the agent's reply into it, keep the log to about a megabyte (#1925)
35
+
36
+ [1.7.2]: https://github.com/fujibee/agmsg/compare/v1.7.1...v1.7.2
37
+
38
+ ## [1.7.1] - 2026-11-03
39
+
40
+ This release keeps agmsgd running through changes it used to stop for. A file added, edited or removed under the installed `scripts/` no longer stops agmsgd or the remote sync engine; they leave only when an update replaces the install record, and `agmsg daemon status` shows what differs while they keep running. On Linux, agmsgd identifies the boot by the kernel's boot id, so a clock step (WSL2 after the host sleeps) no longer makes a running agmsgd read as stopped. Update to get both; nothing else is needed.
41
+
42
+ ### Fixed
43
+ - agmsgd and the remote sync engine no longer stop when a file under the installed `scripts/` is added, edited or removed; they step aside only when an update replaces the install record. `agmsg daemon status` lists the files that differ from the record and says agmsgd keeps running. A watcher re-executes only after an install finishes (#1864, #1870)
44
+ - agmsgd starts even when `scripts/` differs from its install record, and says what differed (#1850)
45
+ - Linux: agmsgd uses the kernel boot id, so a clock step after a host sleep or time sync no longer reports a running agmsgd as stopped; on WSL the start-time check against pid reuse is skipped (#1853)
46
+ - Linux: the agmsgd systemd unit gets a PATH that reaches sqlite3 and Node (#1844)
47
+ - agmsgd finds Node from the path recorded at install first, then `AGMSG_NODE`, then `PATH` (#1818)
48
+ - A project on agmsgd never falls back to the Monitor, and `actas` no longer suggests it there (#1811, #1812, #1820)
49
+ - A Codex seat under the shared Codex app-server finds its own terminal pane from its thread instead of the pane named in the server's environment; when its pane cannot be proven, nothing is written to another seat's pane (#1862)
50
+ - A resumed session can take back its own seat lock (#1808)
51
+ - Process command lines are read with `ps -ww`, so a narrow terminal cannot truncate them (#1813)
52
+ - `check-inbox.sh` reports an unregistered agent type instead of exiting silently (#1832)
53
+ - `plugin remove` names the members still joined and says why they stop answering (#1834)
54
+ - A failing optional setup step no longer stops install or update (#1840)
55
+ - Install and update no longer announce the Codex shim on every run (#1816)
56
+ - Remote sync: the seal request is decoded once, not per chunk; idle cycles skip driver preparation and back off when quiet; a `jq -b` probe that cannot run is told apart from one that lacks `-b` (#1852, #1837, #1825)
57
+ - A stopping watch says so when agmsgd cannot yet address the session (#1854)
58
+ - A seat restored with `actas`, a spawned seat or a rejoin no longer asks about delivery again; the choice is offered only on a first human join, and a running agmsgd is kept (#1873)
59
+ - A resumed Claude Code session that cannot tell which seat it is shows the "pick your seat" list on every prompt until a seat is chosen, instead of once; no watcher is started and no message is read meanwhile. A project picks this up after its delivery mode is set again (#1869)
60
+ - Codex: `agmsg delivery turn` writes the PostToolUse hook even when the Codex version cannot be read. When agmsgd cannot tell whether the previous executor is still running, the refusal explains the risk and the recovery: `agmsg daemon stop`, confirm it stopped, then `agmsg daemon start` (#1866)
61
+
62
+ ### Changed
63
+ - With agmsgd on and no Codex project on the Monitor, the `~/.agents/bin/codex` shim this install owns is removed, and Codex runs as the plain binary. `agmsg daemon disable`, or choosing the Monitor for a Codex project, puts it back. Windows keeps the shim, which adds `--no-daemon` on an elevated shell (#1865)
64
+
65
+ ### Added
66
+ - The `app-addon` member type (data only), used by the desktop app's add-ons (#1860)
67
+
68
+ ### Documentation
69
+ - SKILL.md says what an agmsgd notice asks the agent to do (#1831)
70
+
71
+ [1.7.1]: https://github.com/fujibee/agmsg/compare/v1.7.0...v1.7.1
72
+
7
73
  ## [1.7.0] - 2026-10-27
8
74
 
9
75
  This release adds plugins from GitHub: `agmsg plugin install <owner>/<repo>` adds a third-party ext-tool, terminal or agent type after showing you every file it can run (and, in chat, offering to have the agent read them first), and keeps it pinned to the commit you approved. It also hardens remote sync against compressed responses from a sync server (CVE-2026-111497); if you use remote sync, update.
package/README.md CHANGED
@@ -165,7 +165,7 @@ agmsg daemon status
165
165
 
166
166
  If `agmsg` is not found, use `<install>/scripts/agmsg daemon enable` (and the same path for `status`, `start`, `stop`, or `disable`); `<install>` is the installation directory printed by the installer. Follow its PATH instructions to make `agmsg` available in your shell.
167
167
 
168
- While enabled, new Codex launches through the shim use plain Codex: no bridge app-server or dispatcher is started. Sessions that already have a bridge keep using it until restarted; agmsgd skips those sessions. `enable` and `start` list the remaining bridge sessions and missing destination records. Restart Codex and run `$agmsg actas <name>` to record a missing destination. Existing remote sync processes remain separate, so this beta does not yet reduce all background work to one process. A Claude Code seat only skips Monitor once agmsgd confirms it can actually be delivered to; every other seat keeps using Monitor as before. `daemon status` reports each such seat's state under `claude_code_seats`.
168
+ While enabled, new Codex launches use plain Codex: no bridge app-server or dispatcher is started, and an agmsg `~/.agents/bin/codex` shim that this install owns is removed (a shell function you added, or a `codex` that is not agmsg's, is left alone; Windows keeps the shim). `daemon disable`, or choosing the monitor for a Codex project, puts the shim back. Sessions that already have a bridge keep using it until restarted; agmsgd skips those sessions. `enable` and `start` list the remaining bridge sessions and missing destination records. Restart Codex and run `$agmsg actas <name>` to record a missing destination. Existing remote sync processes remain separate, so this beta does not yet reduce all background work to one process. A Claude Code seat only skips Monitor once agmsgd confirms it can actually be delivered to; every other seat keeps using Monitor as before. `daemon status` reports each such seat's state under `claude_code_seats`.
169
169
 
170
170
  If agmsgd stops while enabled, the next ordinary agmsg script operation warns at most once every ten minutes per install. Codex startup also warns, and `daemon status` and `scripts/doctor.sh` report the failure with exit code 1. Run `agmsg daemon start` to recover. For a missing or outdated Node executable, install Node and run `agmsg daemon enable` again. Unread messages are preserved.
171
171
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agmsg",
3
- "version": "1.7.0",
3
+ "version": "1.7.2",
4
4
  "description": "Cross-agent messaging via SQLite for CLI AI agents (Claude Code, Codex, Gemini CLI, GitHub Copilot CLI, Antigravity, OpenCode). The npm package is a thin bootstrapper that fetches and runs the canonical bash installer at https://github.com/fujibee/agmsg.",
5
5
  "bin": {
6
6
  "agmsg": "bin/agmsg.js"