agmsg 1.8.2 → 1.9.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 +38 -0
- package/README.ja.md +20 -1
- package/README.md +20 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,44 @@ 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.9.1] - 2026-11-26
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
- agmsgd (Windows): when a running Claude Code session has moved to a new messaging pipe, agmsgd finds the current pipe from the session's file and delivers there, instead of retrying the old one on every poll (#2042)
|
|
11
|
+
- team list (Windows): native Windows Python can open the team config paths, so `agmsg team list` no longer skips every team with "could not read config" (#2040)
|
|
12
|
+
- agmsgd (Windows): a reused pid no longer reads as the running agmsgd; the pid's start time is checked against the owner's claim time, so `agmsg daemon start` starts a new one after the node was killed (#2045)
|
|
13
|
+
- agmsgd: a heartbeat left by a killed executor no longer reads as running, so `agmsg daemon start` starts a new one (#2038)
|
|
14
|
+
- agmsgd: `daemon start` reports running only for an owner that started after it; on Windows it says when no one is signed in (#2026)
|
|
15
|
+
- agmsgd: the socket and the owner's heartbeat are checked before a restart, so a second agmsgd is not started next to a live one (#2023)
|
|
16
|
+
- remote: connect reports roster, name and server-instance drift and continues; members are matched by id (#2036)
|
|
17
|
+
- remote: connect adopts its own registration after the roster changed, on the journal's evidence (#2031)
|
|
18
|
+
- Codex bridge: workspace roots are passed as physical paths, so a symlinked state directory no longer breaks the seat's shell (#2021)
|
|
19
|
+
- antigravity: turn delivery rules carry the always-on trigger (#2019)
|
|
20
|
+
- install: the install.db meta read has a busy timeout (#2020)
|
|
21
|
+
- tests: the busy-timeout tests hold the sqlite3 lock through a coprocess so they run on Windows (#2041); the rotation look-ahead test pins its decrypt concurrency (#2032)
|
|
22
|
+
- CI: the full suite runs on the release pull request and daily; pull requests run only what their changes reach (#2027)
|
|
23
|
+
|
|
24
|
+
[1.9.1]: https://github.com/fujibee/agmsg/compare/v1.9.0...v1.9.1
|
|
25
|
+
|
|
26
|
+
## [1.9.0] - 2026-11-24
|
|
27
|
+
|
|
28
|
+
### Added
|
|
29
|
+
- Desktop apps: Claude Code in the Claude desktop app's Code tab (Local sessions) and Codex in the Codex desktop app join a team as seats. agmsgd delivers to them even while the conversation is idle: Claude Code through the session's cross-session socket, Codex through the Codex queue with the thread and profile recorded by actas. Verified on macOS (#2016, #2025)
|
|
30
|
+
|
|
31
|
+
### Changed
|
|
32
|
+
- actas: in a desktop app, running actas in a new chat takes the role over and delivery moves to that chat; without it, delivery stays with the old chat. A terminal seat still refuses a role held by another live session (#2016)
|
|
33
|
+
|
|
34
|
+
### Fixed
|
|
35
|
+
- delivery: `agmsg delivery agmsgd` for Codex and the other types prints only the agmsgd result, not the monitor-mode setup and shim advice (#2016)
|
|
36
|
+
- team: a Codex desktop app seat shows identity, CLI session and reach as n/a, the same as a Claude Code desktop seat (#2016)
|
|
37
|
+
- remote: unlock reprocessing decrypts a few messages at once and reads a page's local ids in one call (#2022)
|
|
38
|
+
- input-box: a labeled Claude Code top rule is paired with the full-width bottom rule (#2005)
|
|
39
|
+
- scripts: grep -q input is read without a pipe, so a skipped match cannot change a result (#2011)
|
|
40
|
+
- tests: AGMSG_HOME and AGMSG_INSTALL_HOME are cleared, and a test that changes the real state directory fails (#2008)
|
|
41
|
+
- CI: a rerun runs only the tests the earlier attempt did not pass (#2010)
|
|
42
|
+
|
|
43
|
+
[1.9.0]: https://github.com/fujibee/agmsg/compare/v1.8.2...v1.9.0
|
|
44
|
+
|
|
7
45
|
## [1.8.2] - 2026-11-21
|
|
8
46
|
|
|
9
47
|
### Fixed
|
package/README.ja.md
CHANGED
|
@@ -169,6 +169,25 @@ agmsgdが有効なまま止まると、次の通常のagmsgスクリプト操作
|
|
|
169
169
|
|
|
170
170
|
ブリッジ通知に戻すには `agmsg daemon disable` を実行し、ブリッジが無いと一覧されたCodexセッションを再起動する(例: `codex resume`、続けて `$agmsg actas <name>`)。再起動までは新しい通知を受け取らない。既存のブリッジのセッションは再起動不要で、以降のCodex起動にはブリッジが付く。Codexのキューがすでに受け付けた通知は取り消されず、もう一度表示されることがある。Claude Codeの席は次のSessionStartでMonitorに戻り、それまで開いているClaude Codeセッションは通知を受け取らない。既存のセッションで通知を戻すには、再開してSessionStartでMonitorを張り直す。`stop` は常駐サービスを外さずにデーモンを止め、`disable` はそのサービスの登録も解除する。
|
|
171
171
|
|
|
172
|
+
### デスクトップアプリ
|
|
173
|
+
|
|
174
|
+
Claudeデスクトップアプリの **Codeタブ**にあるClaude Codeと、**Codexデスクトップアプリ(ChatGPT.app)**のCodexは、agmsgチームに参加できる。macOS、agmsg 1.8.2、ログイン時に起動するagmsgdで確認済み。ターミナル2席とアプリ2席の間で、アプリが関わる全10方向の送受信が成功し、アイドル中のアプリの会話にも送信後1–5秒で通知が届いた。
|
|
175
|
+
|
|
176
|
+
Claude CodeのCodeタブでは **Local** セッションを選び、プロジェクトのフォルダを選択する。Cloudセッションはこのマシンのinstallに届かない。フォルダを選ばないと一時的なscratch workspaceが使われるため、長く使う席ではフォルダを選ぶ。Codexアプリではプロジェクトを開く。アプリは `~/.codex` を使う。シェルはネットワーク無効のsandbox内で動くため、ローカルの `send` と `inbox` は使えるが、remote syncなどのネットワーク操作はそのシェルからは動かない。
|
|
177
|
+
|
|
178
|
+
agmsgをインストールしたら、アプリの会話で既存のチームの名前を引き継ぐ:
|
|
179
|
+
|
|
180
|
+
```text
|
|
181
|
+
/agmsg actas <name> # Claude CodeのCodeタブ
|
|
182
|
+
$agmsg actas <name> # Codexアプリ
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
新しい名前なら、先に `/agmsg` または `$agmsg` でチームのセットアップに従う。アプリの通知には **agmsgd** を使う。Claude Codeにはセッションのcross-session socket、Codexには `actas` が記録したthreadとprofileを使うCodex queue経由で届き、アイドル中の会話にも届く。Codexのmonitor(legacy)ブリッジとシェルshimはターミナルCLI用で、Codexアプリ用ではない。Claude CodeのMonitorは直接配送が使えない場合の代替として残る。
|
|
186
|
+
|
|
187
|
+
**新しいチャットを開いたら、そのチャットで `actas <name>` をもう一度実行する。** 配送は新しいチャットに移り、古いチャットへの配送は止まる。実行しない場合は古いチャットに届き続ける。アプリの引き継ぎはheldで拒否せず、記録した配送先を置き換える。Claude Codeアプリのチャットのプロセスが終了すると、再度 `actas` するまで通知は届かない。溜まったメッセージは保持され、引き継ぎ後に届く。
|
|
188
|
+
|
|
189
|
+
アプリ席には操作対象のターミナルペインがなく、`peek`、`poke`、`spawn`、`arrange` は非対応。`team` のidentity、CLI session、reachは `n/a` と表示する。デスクトップアプリの動作確認済み環境は **macOS**。
|
|
190
|
+
|
|
172
191
|
## 初回実行
|
|
173
192
|
|
|
174
193
|
エージェント(Claude Code、Codexなど)でプロジェクトを開き、次を実行する:
|
|
@@ -198,7 +217,7 @@ $agmsg # Codex, Gemini CLI, Antigravity
|
|
|
198
217
|
/agmsg drop biz-analyst # このプロジェクトからロールを削除
|
|
199
218
|
```
|
|
200
219
|
|
|
201
|
-
`actas <name>` は**セッション間で排他的**だ — 送受信の両方を `<name>` に切り替え、ロックを取得してピアセッションが同じ名前を購読するのを防ぎ、別セッションが既にそのロックを保持している場合は拒否する。`drop` はロックを解放する。ロックが固まってしまった場合は、保持しているセッションからロールをdropするか、そのセッションを終了すること。
|
|
220
|
+
ターミナル席では `actas <name>` は**セッション間で排他的**だ — 送受信の両方を `<name>` に切り替え、ロックを取得してピアセッションが同じ名前を購読するのを防ぎ、別セッションが既にそのロックを保持している場合は拒否する。`drop` はロックを解放する。ロックが固まってしまった場合は、保持しているセッションからロールをdropするか、そのセッションを終了すること。
|
|
202
221
|
|
|
203
222
|
排他性モデル、リカバリ、生存確認/PID再利用、Codexの注意点など詳細な仕組みは [docs/actas.md](docs/actas.md) を参照。
|
|
204
223
|
|
package/README.md
CHANGED
|
@@ -171,6 +171,25 @@ If agmsgd stops while enabled, the next ordinary agmsg script operation warns at
|
|
|
171
171
|
|
|
172
172
|
To return to bridge notices, run `agmsg daemon disable`, then restart the Codex sessions listed as having no bridge (for example, `codex resume`, followed by `$agmsg actas <name>`). They receive no new notices until restarted. Existing bridge sessions need no restart, and subsequent Codex launches get a bridge. Notices already accepted by the Codex queue are not cancelled and may appear once more. Claude Code seats go back to Monitor at their next SessionStart; an open Claude Code session gets no notices until then. To restore notices in an existing session, resume it so SessionStart arms Monitor again. `stop` stops the daemon without removing its resident service; `disable` also unregisters that service.
|
|
173
173
|
|
|
174
|
+
### Desktop apps
|
|
175
|
+
|
|
176
|
+
Claude Code in the Claude desktop app's **Code tab** and Codex in the **Codex desktop app (ChatGPT.app)** can join an agmsg team. Verified on macOS with agmsg 1.8.2 and agmsgd running as a login service: all ten message directions involving an app across two terminal seats and two app seats worked, including idle app conversations (notices arrived 1–5 seconds after sending).
|
|
177
|
+
|
|
178
|
+
Choose a **Local** session and select your project folder in Claude Code's Code tab. Cloud sessions cannot reach this machine's install. Without a selected folder, the app uses a temporary scratch workspace; select a folder for a lasting seat. In the Codex app, open the project; the app uses `~/.codex`. Its shell runs in a sandbox with networking disabled: local `send` and `inbox` work, but remote sync and other network operations cannot run from that shell.
|
|
179
|
+
|
|
180
|
+
After installing agmsg, claim an existing team identity in the app conversation:
|
|
181
|
+
|
|
182
|
+
```text
|
|
183
|
+
/agmsg actas <name> # Claude Code, Code tab
|
|
184
|
+
$agmsg actas <name> # Codex app
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
For a new identity, run `/agmsg` or `$agmsg` first and follow the team setup. Use **agmsgd** for app notices. It reaches Claude Code through the session's cross-session socket and Codex through the Codex queue using the thread and profile recorded by `actas`; it also reaches idle conversations. The Codex monitor (legacy) bridge and shell shim are for the terminal CLI, not the Codex app. Claude Code's Monitor remains an alternative when direct delivery is unavailable.
|
|
188
|
+
|
|
189
|
+
**Open a new chat? Run `actas <name>` again there.** Delivery moves to that chat and stops going to the old one; without `actas`, it keeps going to the old chat. App handoff replaces the recorded destination rather than refusing it as held. If the Claude Code app chat's process ends, notices stop until you run `actas` again; queued messages remain and arrive after reclaiming the seat.
|
|
190
|
+
|
|
191
|
+
App seats have no addressable terminal pane: `peek`, `poke`, `spawn`, and `arrange` are unsupported. Their `team` status shows identity, CLI session, and reach as `n/a`. Desktop app support is verified on **macOS**.
|
|
192
|
+
|
|
174
193
|
## First run
|
|
175
194
|
|
|
176
195
|
Open your project in your agent (Claude Code, Codex, Gemini CLI, etc.) and run:
|
|
@@ -200,7 +219,7 @@ Same project, same agent type, different role — for example a `tech-lead` iden
|
|
|
200
219
|
/agmsg drop biz-analyst # remove the role from this project
|
|
201
220
|
```
|
|
202
221
|
|
|
203
|
-
`actas <name>` is **exclusive across sessions**: it switches both sending and receiving to `<name>`, claims a lock that stops peer sessions from subscribing to the same name, and refuses if another session already holds it. `drop` releases the lock. If a lock gets stuck, drop the role from the holding session or end that session.
|
|
222
|
+
For terminal seats, `actas <name>` is **exclusive across sessions**: it switches both sending and receiving to `<name>`, claims a lock that stops peer sessions from subscribing to the same name, and refuses if another session already holds it. `drop` releases the lock. If a lock gets stuck, drop the role from the holding session or end that session.
|
|
204
223
|
|
|
205
224
|
See [docs/actas.md](docs/actas.md) for the full mechanics — exclusivity model, recovery, liveness / PID recycling, Codex caveat.
|
|
206
225
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agmsg",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.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"
|