agmsg 1.1.1 → 1.1.3

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/README.md +28 -3
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -4,6 +4,42 @@ 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.1.3] - 2026-06-30
8
+
9
+ ### Added
10
+ - Use brand logo mark + favicon set (#257)
11
+ - Redesign agmsg.cc landing with Astro + Tailwind (#213) (#249)
12
+ - Allow passing an initial prompt to the spawned agent (#212)
13
+
14
+ ### Fixed
15
+ - Run watch-once.sh via bash so the codex bridge arms on Windows
16
+ - Prefer shell function monitor shim; skip agmsg wrapper when resolving real codex (#193)
17
+ - Drop monitor/both — Gemini has no Monitor tool (#258)
18
+ - Skip Monitor directive when watcher already alive (#246)
19
+ - Escape interpolated values as SQL string literals (#223)
20
+ - Add CIM fallback for /proc-less cmdline/comm (#225) (#234)
21
+ - Robust monitor — session-bind, orphan reaper, foolproof launch (#245)
22
+ - Report bridge liveness in delivery status (#232)
23
+ - Reject agent names that break JSON paths
24
+ - Pipe SQL via stdin to avoid ARG_MAX on large bodies
25
+
26
+ ### Documentation
27
+ - Add agmsg logo asset kit (#255)
28
+
29
+ ## [1.1.2] - 2026-06-27
30
+
31
+ ### Added
32
+ - Add opt-in explicit-launch monitor delivery (#236)
33
+ - Add MSYS2 compat shim (#88) (#211)
34
+
35
+ ### Fixed
36
+ - Start the watcher when GROK_SESSION_ID is empty (#236 follow-up) (#238)
37
+ - Keep Codex working across 0.142 upgrades (fail-open + stale app-server reuse) (#237)
38
+ - Serialize team config writes behind a per-team lock (#141) (#227)
39
+ - Open the message DB via a Windows-acceptable path (#197) (#226)
40
+ - Handle whoami suggest= identity and anchor agent= match (#224)
41
+ - Bound bridge app-server stalls (#209)
42
+
7
43
  ## [1.1.1] - 2026-06-25
8
44
 
9
45
  ### Added
@@ -135,6 +171,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
135
171
  - Handle empty TaskList explicitly to stop fresh-session loop (#71)
136
172
  - Storage driver pluginization design (epic #51) (#52)
137
173
 
174
+ [1.1.3]: https://github.com/fujibee/agmsg/compare/v1.1.2...v1.1.3
175
+ [1.1.2]: https://github.com/fujibee/agmsg/compare/v1.1.1...v1.1.2
138
176
  [1.1.1]: https://github.com/fujibee/agmsg/compare/v1.1.0...v1.1.1
139
177
  [1.1.0]: https://github.com/fujibee/agmsg/compare/v1.0.6...v1.1.0
140
178
  [1.0.6]: https://github.com/fujibee/agmsg/compare/v1.0.5...v1.0.6
package/README.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # agmsg
2
2
 
3
+ [![CI](https://img.shields.io/github/actions/workflow/status/fujibee/agmsg/tests.yml?branch=main&label=CI&logo=github)](https://github.com/fujibee/agmsg/actions/workflows/tests.yml)
4
+ [![release](https://img.shields.io/github/v/release/fujibee/agmsg?label=release)](https://github.com/fujibee/agmsg/releases/latest)
5
+ [![license](https://img.shields.io/github/license/fujibee/agmsg)](LICENSE)
6
+
3
7
  Cross-agent messaging for CLI AI agents. No daemon, no network, no complexity.
4
8
 
5
9
  > **For AI agents:** see [`/llms.txt`](llms.txt) for a quick, machine-friendly orientation.
@@ -180,13 +184,16 @@ Where `actas` switches *this* session to a different role, `spawn` brings up a *
180
184
  ```
181
185
  /agmsg spawn codex reviewer # new codex agent, joins and becomes "reviewer"
182
186
  /agmsg spawn claude-code alice --window # new claude-code agent in a fresh tmux window
187
+ /agmsg spawn codex reviewer --boot-prompt "review the diff on this branch" # joins AND starts the task
183
188
  ```
184
189
 
185
190
  `spawn <type> <name>` pre-joins `<name>`, then launches the target CLI with the actas slash command (`/<your-command> actas <name>`, matching your install command name) as its initial prompt. If the current session is inside **tmux**, it opens in a new pane (or `--window` for a new window, `--split h|v` for the direction); otherwise it opens a new **OS terminal** window.
186
191
 
192
+ Pass `--boot-prompt <text>` to hand the new agent an initial task: the boot prompt becomes the actas slash command followed (newline-separated) by your text, so the agent claims its identity **and** acts on the task in the same first turn. This is the only way to give a one-shot goal to a **codex** peer, which has no Monitor and so never notices a message you `send` after it goes idle.
193
+
187
194
  By default `spawn` **blocks until the new agent is actually listening** — its watcher attaches and touches a readiness sentinel — then prints `status=ready`, so you can send work the moment `spawn` returns without losing it to the agent's cold start. Use `--no-wait` for fire-and-forget, or `--ready-timeout <secs>` to bound the wait (default 90; on timeout it prints `status=timeout` and exits 3 so a caller can re-spawn). Codex skips the wait (it has no Monitor).
188
195
 
189
- Options: `--project <path>` (default: current project), `--team <team>` (auto-resolved when the project has a single team), and `--terminal <tmpl>` / `$AGMSG_TERMINAL` / config `spawn.terminal` to override the terminal command on the non-tmux path (a `{cmd}` placeholder is replaced with the path to the generated boot script). On macOS the default opens whichever terminal you're currently in (iTerm or Terminal, via `$TERM_PROGRAM`) using `open -a` — a plain app launch, so it does **not** trigger the Automation/AppleScript permission prompts that scripting the terminal directly would.
196
+ Options: `--boot-prompt <text>` (initial task; see above), `--project <path>` (default: current project), `--team <team>` (auto-resolved when the project has a single team), and `--terminal <tmpl>` / `$AGMSG_TERMINAL` / config `spawn.terminal` to override the terminal command on the non-tmux path (a `{cmd}` placeholder is replaced with the path to the generated boot script). On macOS the default opens whichever terminal you're currently in (iTerm or Terminal, via `$TERM_PROGRAM`) using `open -a` — a plain app launch, so it does **not** trigger the Automation/AppleScript permission prompts that scripting the terminal directly would.
190
197
 
191
198
  Only `claude-code` and `codex` are supported today. 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.
192
199
 
@@ -268,9 +275,9 @@ $agmsg — or /skills → agmsg
268
275
 
269
276
  Codex supports `mode monitor` as a **beta** app-server bridge, plus `mode turn` and `mode off`.
270
277
 
271
- > ⚠️ **The monitor beta changes how Codex starts — opt in only if you understand it.** Codex has no Monitor tool, so `mode monitor` installs a shim at `~/.agents/bin/codex` and asks you to put `~/.agents/bin` **first on your PATH**, so `codex` then resolves to the shim instead of the real binary. In monitor-mode projects the shim routes interactive launches through a bridge that turns incoming agmsg messages into turns on the current Codex thread; `codex exec` and non-monitor projects pass straight through to the real Codex. It depends on experimental Codex app-server behavior and has known rough edges (orphans on TUI close — #149; one identity per project — #150).
278
+ > ⚠️ **The monitor beta changes how Codex starts — opt in only if you understand it.** Codex has no Monitor tool, so `mode monitor` prints a shell function that makes `codex` route through agmsg's monitor shim in your interactive shell. In monitor-mode projects the shim routes interactive launches through a bridge that turns incoming agmsg messages into turns on the current Codex thread; `codex exec` and non-monitor projects pass straight through to the real Codex. It depends on experimental Codex app-server behavior and has known rough edges (orphans on TUI close — #149; one identity per project — #150).
272
279
 
273
- If the shim can't be installed, launch with `~/.agents/skills/<cmd>/scripts/drivers/types/codex/codex-monitor.sh`. Codex sandboxing must allow writes to the skill's `db/`, `teams/`, and `run/` dirs — `install.sh` configures those `writable_roots` when `~/.codex/config.toml` exists. Setup, PATH notes, and internals: [docs/codex-monitor-beta.md](docs/codex-monitor-beta.md).
280
+ If you prefer a global PATH shim, run `~/.agents/skills/<cmd>/scripts/drivers/types/codex/codex-shim-install.sh install` and put `~/.agents/bin` before the real Codex binary on PATH. You can also launch with `~/.agents/skills/<cmd>/scripts/drivers/types/codex/codex-monitor.sh`. Codex sandboxing must allow writes to the skill's `db/`, `teams/`, and `run/` dirs — `install.sh` configures those `writable_roots` when `~/.codex/config.toml` exists. Setup notes and internals: [docs/codex-monitor-beta.md](docs/codex-monitor-beta.md).
274
281
 
275
282
  ### GitHub Copilot CLI
276
283
 
@@ -516,6 +523,24 @@ Full discovery order, the trust model, and authoring guidance:
516
523
  - **Derivative projects**: `agmsg-shogi`, `agmsg-go`, `agmsg-mcp` (community-built)
517
524
  - **External contributors**: [@MiuraKatsu](https://github.com/MiuraKatsu) (Gemini support + whoami auto-detect), [@roundrop](https://github.com/roundrop) (Copilot CLI support), [@TOMONOSUKEJP](https://github.com/TOMONOSUKEJP) (native Windows / Git Bash), [@kenshin-yamada](https://github.com/kenshin-yamada) (watcher scoping fix), [@utenadev](https://github.com/utenadev) (OpenCode contribution), [@lucianlamp](https://github.com/lucianlamp) (native Windows PowerShell helpers), [@tatsuya6502](https://github.com/tatsuya6502) (sandboxed Bash tool support)
518
525
 
526
+ ## Project site (agmsg.cc)
527
+
528
+ [agmsg.cc](https://agmsg.cc) is an Astro project under [`site/`](site/).
529
+
530
+ - **Source of truth:** `site/` (Astro + Tailwind). The built output is **not** committed — CI builds it.
531
+ - **Local preview:**
532
+ ```bash
533
+ cd site
534
+ npm install
535
+ npm run dev # http://localhost:4321, live reload
536
+ # or, to serve the production build:
537
+ npm run build && npm run preview
538
+ ```
539
+ - **Publish:** pushing to `main` with changes under `site/` runs [`.github/workflows/pages.yml`](.github/workflows/pages.yml), which builds the site and deploys it to GitHub Pages. The custom domain is set by `site/public/CNAME`.
540
+ - The agent-types gallery is generated at build time from `scripts/drivers/types/*/type.conf`, so adding an agent type surfaces it on the site automatically.
541
+
542
+ `docs/` is developer documentation (markdown, ADRs, spec) read on GitHub — it is **not** the published site.
543
+
519
544
  ## Contributing
520
545
 
521
546
  See [Design & Architecture](docs/design.md) for developer documentation — identity model, data storage, hook system, and script responsibilities.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agmsg",
3
- "version": "1.1.1",
3
+ "version": "1.1.3",
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"