agmsg 1.3.0 → 1.3.1

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,38 @@ 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.3.1] - 2026-09-17
8
+
9
+ Teams that use remote sync should update every machine to 1.3.1 or later. From this release the client reports its version to the server, so older clients can be told apart.
10
+
11
+ The Antigravity monitor remains experimental: it is usable only on a dedicated seat that no person types into, started with `agy-tui ... -- --dangerously-skip-permissions`. For interactive Antigravity use, keep the default turn delivery. It runs on macOS and Linux only; on other systems the monitor refuses to start. This release's live check covered macOS only.
12
+
13
+ ### Added
14
+ - The client sends its version to the server in an `Agmsg-Client-Version` header on every request; a request without it comes from a client older than 1.3.1 (#1290)
15
+ - `peek` and `poke` have an agent-native substitute on terminals with no addressable pane (#1256)
16
+ - `agy-tui` passes everything after `--` to `agy`, and rejects any other unknown option (#1291)
17
+ - Devin is supported as an agent type (#898)
18
+
19
+ ### Fixed
20
+ - Codex: each seat runs its own app-server, and its bridge dispatcher starts only the role recorded for that seat instead of every role in the project (#1273, #1285)
21
+ - Codex: a stale app-server URL left in a request file no longer overrides the live endpoint (#1293, #1305)
22
+ - `install --update` restarts a sync engine that was running, on the new code, instead of leaving it stale (#1288)
23
+ - Receiving tolerates unknown fields in a message, so a newer sender does not get its messages rejected (#1282)
24
+ - Claude Code Monitor directives set a 30-minute timeout (#1287). The instruction to re-arm silently on expiry is now opt-in, behind `AGMSG_CC_MONITOR_KEEP_ALIVE` (unset by default) — most seats do not need a watch kept alive across its own natural expiry, and `rearm.sh` covers the ones that do by poking every claude-code seat in a team whose delivery mode is monitor or both (#1315)
25
+ - Antigravity monitor delivery, which is experimental, now also runs on macOS (#1253); switching an existing 1.3.0 project to monitor delivery is accepted (#1289, #1303); user-facing messages are in English (#1281); a refused claim names the process that holds the role and how to release it (#1301); the driver's messages and comments are all in English (#1313). See docs/antigravity-monitor-beta.md for its limitations before enabling it.
26
+ - Sync engines supervised by systemd are detected (#1006)
27
+ - Windows: every jq call in the sqlite driver forces binary output, so values read back from the server no longer carry a stray carriage return and fail the sequence check (#1277, #1278)
28
+ - A backtick in a SQL comment no longer runs as a command substitution (#1276)
29
+ - herdr instance names containing a backslash survive percent-decoding (#1275)
30
+
31
+ ### Changed
32
+ - Antigravity's read-reservation guard lives in the Antigravity driver (#1271)
33
+
34
+ ### Documentation
35
+ - `mode: monitor` means the mode is configured, and the docs say how to confirm the watcher is actually running (#270)
36
+ - Antigravity permission guidance covers the exact invocation shapes `agy` prompts for, including `bash -lc` (#1289)
37
+ - The design RFC describes tag subscriptions, session-start identity, and delivery through the driver (#1251, #1267)
38
+
7
39
  ## [1.3.0] - 2026-09-14
8
40
 
9
41
  ### Added
@@ -193,7 +225,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
193
225
  - Narrow a claim I disproved myself two commits later
194
226
  - Delete a comment describing the control this one replaced
195
227
  - Point key.sh at the current design, and stop asserting the move has happened
196
- - Move the connect onboarding design to agmsg-cloud, and drop labels that point at nothing
197
228
  - Make the promise about this document weak enough to be true
198
229
  - Label what stands behind each claim, instead of asserting they all cite
199
230
  - Add a Japanese translation, and consolidate the derivation it mirrors
package/README.ja.md CHANGED
@@ -210,7 +210,7 @@ codex:
210
210
  --dangerously-skip-permissions: false # `false`の値はフラグ自体を出力しない
211
211
  ```
212
212
 
213
- 9種類のエージェントタイプのうち8つがspawn可能 — `claude-code`、`codex`、`grok-build`、`cursor`、`gemini`、`antigravity`、`copilot`、`opencode`。`hermes` は不可 — そのCLIには初期プロンプトを事前に仕込んだインタラクティブセッションを開始するモードがない(#279)。macOSが主なターゲットで、LinuxとWindowsはベストエフォート(ターミナルが未対応の場合はissueまたはPRを歓迎)。ヘッドレス環境 — tmuxもなく使えるターミナルもない — はエージェントCLIがインタラクティブなターミナルを必要とするためエラーになる。
213
+ 10種類のエージェントタイプのうち8つがspawn可能 — `claude-code`、`codex`、`grok-build`、`cursor`、`gemini`、`antigravity`、`copilot`、`opencode`。`hermes` は、初期プロンプトを事前に仕込んだインタラクティブセッションを開始する既知のCLIモードがないためspawn不可(#279)。`devin` は、同等のインタラクティブ起動方法がまだ検証されていないため、現時点ではspawnableとして扱っていない。macOSが主なターゲットで、LinuxとWindowsはベストエフォート(ターミナルが未対応の場合はissueまたはPRを歓迎)。ヘッドレス環境 — tmuxもなく使えるターミナルもない — はエージェントCLIがインタラクティブなターミナルを必要とするためエラーになる。
214
214
 
215
215
  ### spawnしたエージェントを終了する(`despawn`)
216
216
 
package/README.md CHANGED
@@ -123,13 +123,17 @@ The **command name** determines:
123
123
 
124
124
  After install, **restart your agent** (Claude Code / Codex / Gemini CLI / Copilot CLI / Antigravity / OpenCode) so it picks up the new skill.
125
125
 
126
- ### Windows: Git Bash & Codex
126
+ ### Windows: Git Bash
127
127
 
128
128
  agmsg's implementation is the Bash script set under `scripts/`, so on Windows the
129
129
  scripts run through **Git Bash** (Git for Windows, with `sqlite3` available on the
130
130
  Git Bash PATH). There is no PowerShell reimplementation.
131
131
 
132
- - In Windows environments, Claude Code naturally works with Bash/Git Bash for
132
+ - In Windows environments, Claude Code monitor delivery is verified through
133
+ Git Bash. If monitor setup fails from PowerShell or a native Windows shell,
134
+ retry the same agmsg command from Git Bash so `watch.sh` runs in the expected
135
+ Bash environment.
136
+ - Claude Code normally works with Bash/Git Bash for
133
137
  these script calls, but native Windows Codex commands and hooks often start
134
138
  from PowerShell. Keep the actual agmsg execution path pinned to Git Bash so
135
139
  all agents share the same `$HOME` and SQLite database.
@@ -211,7 +215,7 @@ codex:
211
215
  --dangerously-skip-permissions: false # a `false` value suppresses the flag entirely
212
216
  ```
213
217
 
214
- Eight of the nine agent types are spawnable — `claude-code`, `codex`, `grok-build`, `cursor`, `gemini`, `antigravity`, `copilot`, `opencode`. `hermes` is not: its CLI has no mode that starts an interactive session pre-seeded with an initial prompt (#279). macOS is the primary target; Linux and Windows are best-effort (please open an issue/PR if your terminal isn't handled). Headless environments — no tmux **and** no usable terminal — error out, since the agent CLIs need an interactive terminal.
218
+ Eight of the ten agent types are spawnable — `claude-code`, `codex`, `grok-build`, `cursor`, `gemini`, `antigravity`, `copilot`, `opencode`. `hermes` is not spawnable because its CLI has no known mode that starts an interactive session pre-seeded with an initial prompt (#279). `devin` is currently not marked spawnable because an equivalent interactive boot mode has not yet been verified. macOS is the primary target; Linux and Windows are best-effort (please open an issue/PR if your terminal isn't handled). Headless environments — no tmux **and** no usable terminal — error out, since the agent CLIs need an interactive terminal.
215
219
 
216
220
  ### Tear down a spawned agent (`despawn`)
217
221
 
@@ -266,6 +270,26 @@ Settings are per-project. Each `<project>/.claude/settings.local.json` gets exac
266
270
 
267
271
  **Monitor priming**: in `monitor` mode, the receiving agent doesn't react to its first inbound message until it has taken at least one turn this session. If you've just started a fresh session and a teammate has already sent something, nudge the agent with any short message ("hi") to prime it — subsequent messages stream in real time.
268
272
 
273
+ ### Claude Code monitor verification
274
+
275
+ `delivery.sh status claude-code <project>` showing `mode: monitor` means the project is configured for monitor delivery. It does **not** prove that Claude Code has started the runtime Monitor task in the current session.
276
+
277
+ For real-time delivery, verify the Claude Code runtime state:
278
+
279
+ 1. `ToolSearch select:Monitor` finds Claude Code's generic `Monitor` tool.
280
+ 2. The session starts `Monitor(agmsg inbox stream)` with the `watch.sh ... claude-code` command from the `AGMSG-DIRECTIVE` (or, after `actas <name>`, `Monitor(agmsg inbox stream (acting as <name>))`).
281
+ 3. `TaskList` shows a task whose description begins with `agmsg inbox stream` for this session.
282
+ 4. The transcript contains a `Monitor event: "agmsg inbox stream"` (or `"agmsg inbox stream (acting as <name>)"`) notification when messages arrive.
283
+
284
+ These are failure states, even if `delivery.sh status` says `mode: monitor`:
285
+
286
+ - `TaskList` shows no task whose description begins with `agmsg inbox stream` for this session.
287
+ - `watch.sh` is running only as a Bash/background/nohup shell process, not through the Monitor tool.
288
+ - Tool search finds Azure Monitor, an MCP monitor, or any other monitor-branded tool instead of Claude Code's generic `Monitor` tool.
289
+ - `ToolSearch select:Monitor` cannot find a generic `Monitor` tool.
290
+
291
+ The background-task footer is not a reliable signal either way — it does not consistently reflect whether a Monitor is really streaming for this session, so check `TaskList` instead. If the Monitor tool is unavailable, use `turn` delivery or manual `/agmsg` inbox checks as a fallback. Those modes still deliver queued messages, but they are not real-time monitor delivery.
292
+
269
293
  ### Migrating from legacy `hook on/off`
270
294
 
271
295
  `hook on` is now a thin alias for `mode turn` (with a one-line deprecation hint). To switch to real-time push:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agmsg",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
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"