agmsg 1.0.6 → 1.1.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 +55 -0
- package/README.md +54 -39
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,59 @@ 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.1] - 2026-06-25
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
- Add --model to launch a spawned agent on a chosen model (#220)
|
|
11
|
+
- Add grok-build agent type (xAI Grok Build CLI) (#216)
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
- Scope watcher teardown to (project, type), not project (#219)
|
|
15
|
+
- Exit on originating-session death so a quiet watcher can't hang (#67, #388) (#215)
|
|
16
|
+
- Quote Monitor command args so space-in-path survives (#188) (#200)
|
|
17
|
+
- Use tasklist for native pid liveness in agmsg_instance_alive (#134)
|
|
18
|
+
|
|
19
|
+
## [1.1.0] - 2026-06-22
|
|
20
|
+
|
|
21
|
+
### Added
|
|
22
|
+
- Add Cursor agent type (#189)
|
|
23
|
+
- Add Hermes Agent as a beta agent type
|
|
24
|
+
- Axis-generic driver discovery + external-plugin opt-in
|
|
25
|
+
- Drop the aliases= auto-redirect; explicit type selection only
|
|
26
|
+
- Pluggable agent-type registry
|
|
27
|
+
|
|
28
|
+
### Fixed
|
|
29
|
+
- Warn to re-register delivery hooks on --update (#190)
|
|
30
|
+
- Re-point an existing Codex monitor shim on --update
|
|
31
|
+
- Follow init-db move to internal/ in the Windows PowerShell smoke
|
|
32
|
+
- Readfile() config binding for single-quote-safe registry (#185)
|
|
33
|
+
- Strip CR from sqlite3 output so Windows Git Bash works (#180)
|
|
34
|
+
- Git Bash compatibility for the Codex bridge (#179)
|
|
35
|
+
- Cut-release.sh stops at the PR (no auto-merge / auto-publish) (#177)
|
|
36
|
+
|
|
37
|
+
### Changed
|
|
38
|
+
- Drop the Windows PowerShell launcher in favor of Git Bash
|
|
39
|
+
- Relocate types/ under scripts/drivers/types/
|
|
40
|
+
- Consolidate mode support into delivery_modes manifest
|
|
41
|
+
- Data-drive Windows hook wrapping via manifest
|
|
42
|
+
- Status as a Template Method plug
|
|
43
|
+
- Fold the codex runtime into types/codex/
|
|
44
|
+
- Move enable/disable side effects into type plugs
|
|
45
|
+
- Wire SKILL templates to type-dir manifests
|
|
46
|
+
- Extract codex bridge handoff into a type plug
|
|
47
|
+
- Drive Stop-hook status output from manifest stop_output=
|
|
48
|
+
- Per-type delivery as a Template Method plug
|
|
49
|
+
- Extract hook JSON primitives into lib/hooks-json.sh
|
|
50
|
+
- Move init-db to internal/, dispatch to windows/, drop hook.sh
|
|
51
|
+
- Move the codex subsystem into scripts/codex/
|
|
52
|
+
|
|
53
|
+
### Documentation
|
|
54
|
+
- Add supported-agents logo strip
|
|
55
|
+
- List hermes in the --agent-type help (co1 nit)
|
|
56
|
+
- Add docs/plugins.md + README section + plugins/ drop-in dir
|
|
57
|
+
- Refresh manifest table + paths for the 1.1.0 layout
|
|
58
|
+
- Lead Quick Start with npx, the zero-clone install path
|
|
59
|
+
|
|
7
60
|
## [1.0.6] - 2026-06-21
|
|
8
61
|
|
|
9
62
|
### Added
|
|
@@ -82,6 +135,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
82
135
|
- Handle empty TaskList explicitly to stop fresh-session loop (#71)
|
|
83
136
|
- Storage driver pluginization design (epic #51) (#52)
|
|
84
137
|
|
|
138
|
+
[1.1.1]: https://github.com/fujibee/agmsg/compare/v1.1.0...v1.1.1
|
|
139
|
+
[1.1.0]: https://github.com/fujibee/agmsg/compare/v1.0.6...v1.1.0
|
|
85
140
|
[1.0.6]: https://github.com/fujibee/agmsg/compare/v1.0.5...v1.0.6
|
|
86
141
|
[1.0.5]: https://github.com/fujibee/agmsg/compare/v1.0.4...v1.0.5
|
|
87
142
|
[1.0.4]: https://github.com/fujibee/agmsg/compare/v1.0.3...v1.0.4
|
package/README.md
CHANGED
|
@@ -15,6 +15,11 @@ Cross-agent messaging for CLI AI agents. No daemon, no network, no complexity.
|
|
|
15
15
|
|
|
16
16
|
You stop being the copy-paste courier between your agents. Claude Code, Codex, Gemini CLI, GitHub Copilot CLI, and any other CLI agent message each other directly through a shared local SQLite database — no human in the middle.
|
|
17
17
|
|
|
18
|
+
<p align="center">
|
|
19
|
+
<img src="docs/logos/supported-agents.png" width="780"
|
|
20
|
+
alt="Supported agents: Claude Code, Codex, Gemini, GitHub Copilot, Antigravity, OpenCode, Hermes">
|
|
21
|
+
</p>
|
|
22
|
+
|
|
18
23
|
**What it isn't:**
|
|
19
24
|
|
|
20
25
|
- Not MCP. No MCP server, no extra runtime — just `bash` + `sqlite3`.
|
|
@@ -36,11 +41,8 @@ In real use it looks like this — Claude Code asking Codex for a code review an
|
|
|
36
41
|
**Requires:** `bash` and `sqlite3`. macOS ships both. On a minimal Linux box (some Debian/Ubuntu containers, Alpine) you may need to install `sqlite3` first — `sudo apt-get install -y sqlite3` or your distro's equivalent.
|
|
37
42
|
|
|
38
43
|
```bash
|
|
39
|
-
# 1. Install
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
# Or clone first if you want to inspect the code
|
|
43
|
-
git clone https://github.com/fujibee/agmsg.git && cd agmsg && ./install.sh
|
|
44
|
+
# 1. Install — npx is the fastest path, no clone needed
|
|
45
|
+
npx agmsg
|
|
44
46
|
|
|
45
47
|
# 2. Restart Claude Code / Codex / Gemini CLI / Antigravity / OpenCode to pick up the new skill
|
|
46
48
|
|
|
@@ -54,7 +56,7 @@ git clone https://github.com/fujibee/agmsg.git && cd agmsg && ./install.sh
|
|
|
54
56
|
|
|
55
57
|
That's it. The slash command prompts you for a team name and an agent name on first use, then asks you to pick a [delivery mode](#delivery-modes) (default on Claude Code: `monitor` — real-time push; Codex offers a beta `monitor` bridge or `turn`). After that, you talk to your agent naturally — see [First run](#first-run) below.
|
|
56
58
|
|
|
57
|
-
Prefer a
|
|
59
|
+
Prefer to inspect the code first, track the latest `main`, or pick a custom command name? See [Install](#install) below for the `setup.sh` one-liner, `git clone`, and the Claude Code plugin marketplace paths.
|
|
58
60
|
|
|
59
61
|
## How it works
|
|
60
62
|
|
|
@@ -113,34 +115,30 @@ The **command name** determines:
|
|
|
113
115
|
|
|
114
116
|
After install, **restart your agent** (Claude Code / Codex / Gemini CLI / Copilot CLI / Antigravity / OpenCode) so it picks up the new skill.
|
|
115
117
|
|
|
116
|
-
###
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
PowerShell
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
```
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
reimplement agmsg logic or read the SQLite database directly. Git Bash and
|
|
141
|
-
`sqlite3` must both be available from the Windows environment. See
|
|
142
|
-
[Windows PowerShell launcher](docs/windows.md) for details and an optional
|
|
143
|
-
profile installer.
|
|
118
|
+
### Windows: Git Bash & Codex
|
|
119
|
+
|
|
120
|
+
agmsg's implementation is the Bash script set under `scripts/`, so on Windows the
|
|
121
|
+
scripts run through **Git Bash** (Git for Windows, with `sqlite3` available on the
|
|
122
|
+
Git Bash PATH). There is no PowerShell reimplementation.
|
|
123
|
+
|
|
124
|
+
- In Windows environments, Claude Code naturally works with Bash/Git Bash for
|
|
125
|
+
these script calls, but native Windows Codex commands and hooks often start
|
|
126
|
+
from PowerShell. Keep the actual agmsg execution path pinned to Git Bash so
|
|
127
|
+
all agents share the same `$HOME` and SQLite database.
|
|
128
|
+
- **Codex delivery hooks** are wrapped automatically. On native Windows Codex runs
|
|
129
|
+
hook commands via PowerShell, which cannot execute a bare `.sh` path, so agmsg
|
|
130
|
+
emits a `commandWindows` entry that invokes Git Bash (`& $bash -lc '...'`). No
|
|
131
|
+
setup needed — see `windows_wrap()` in `scripts/delivery.sh`.
|
|
132
|
+
- **Interactive / agent-typed commands** call the scripts through Git Bash, e.g.
|
|
133
|
+
`bash -lc 'scripts/whoami.sh "$(pwd)" codex'`.
|
|
134
|
+
- Heads-up: a bare `bash` in PowerShell usually resolves to the **WSL** shim
|
|
135
|
+
(`WindowsApps\bash.exe`), which has a separate `$HOME` and database — agents
|
|
136
|
+
would then talk to a different DB than Claude Code. Pin Git Bash in your
|
|
137
|
+
PowerShell profile so everything shares one database:
|
|
138
|
+
|
|
139
|
+
```powershell
|
|
140
|
+
Set-Alias bash 'C:\Program Files\Git\bin\bash.exe'
|
|
141
|
+
```
|
|
144
142
|
|
|
145
143
|
## First run
|
|
146
144
|
|
|
@@ -272,7 +270,7 @@ Codex supports `mode monitor` as a **beta** app-server bridge, plus `mode turn`
|
|
|
272
270
|
|
|
273
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).
|
|
274
272
|
|
|
275
|
-
If the shim can't be installed, launch with `~/.agents/skills/<cmd>/scripts/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).
|
|
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).
|
|
276
274
|
|
|
277
275
|
### GitHub Copilot CLI
|
|
278
276
|
|
|
@@ -309,8 +307,6 @@ See [docs/opencode.md](docs/opencode.md) for full setup instructions.
|
|
|
309
307
|
|
|
310
308
|
`send.sh` takes exactly four positional arguments: `<team> <from> <to> "<message>"`. Quote the message so the shell sees it as one argument; an unquoted message with spaces will be misparsed.
|
|
311
309
|
|
|
312
|
-
`hook.sh on|off` still works as a legacy alias for `delivery.sh set turn|off` but prints a deprecation notice.
|
|
313
|
-
|
|
314
310
|
## FAQ / Design notes
|
|
315
311
|
|
|
316
312
|
**Is this MCP? Do I need an MCP server?**
|
|
@@ -380,6 +376,7 @@ Auto-detects installed skill directories and cleans up: skill files, slash comma
|
|
|
380
376
|
| Variable | Default | Purpose |
|
|
381
377
|
|---|---|---|
|
|
382
378
|
| `AGMSG_STORAGE_PATH` | `<skill>/db` | Directory holding the SQLite message store (`messages.db`). Override to relocate the store — handy for tests, sandboxes, or running isolated instances. |
|
|
379
|
+
| `AGMSG_PLUGIN_DIRS` | (unset) | `:`-separated extra directories to search for external drivers, in addition to `<skill>/plugins`. Each holds `<axis>/<name>/` subdirs. Drivers found here are still ignored until opted into with `agmsg plugin trust`. See [docs/plugins.md](docs/plugins.md). |
|
|
383
380
|
|
|
384
381
|
The message store path resolves as **`AGMSG_STORAGE_PATH` (env) > built-in default**. (A config-file layer is planned to slot in between the two as part of the storage-driver work; the intended order is env > config > default.) The override is scoped to the SQLite store only — team configs under `teams/` are unaffected.
|
|
385
382
|
|
|
@@ -480,8 +477,10 @@ bats tests/ # requires bats-core: brew install bats-core
|
|
|
480
477
|
├── SKILL.md # Skill definition (read by CC & Codex)
|
|
481
478
|
├── agents/
|
|
482
479
|
│ └── openai.yaml # Codex metadata
|
|
483
|
-
├── scripts/ # Bash scripts
|
|
484
|
-
├──
|
|
480
|
+
├── scripts/ # Bash scripts (the type-agnostic engine)
|
|
481
|
+
│ ├── lib/ # Sourced helper libraries
|
|
482
|
+
│ └── drivers/types/<name>/ # Built-in agent-type drivers (manifest + runtime)
|
|
483
|
+
├── plugins/<axis>/<name>/ # External drivers you opt into (agmsg plugin trust)
|
|
485
484
|
├── db/messages.db # SQLite WAL-mode message store
|
|
486
485
|
└── teams/ # Team configs (self-contained)
|
|
487
486
|
└── <team>/
|
|
@@ -495,6 +494,22 @@ bats tests/ # requires bats-core: brew install bats-core
|
|
|
495
494
|
- **No daemon**: Direct filesystem access
|
|
496
495
|
- **No network**: Everything local
|
|
497
496
|
|
|
497
|
+
## Plugins
|
|
498
|
+
|
|
499
|
+
agmsg's pluggable units are **drivers** grouped by axis (`types` for agent
|
|
500
|
+
runtimes; `storage` and `delivery` to follow). Built-ins ship under
|
|
501
|
+
`scripts/drivers/`; you can drop your own under `<skill>/plugins/<axis>/<name>/`
|
|
502
|
+
(or point `AGMSG_PLUGIN_DIRS` at a directory) to extend agmsg without forking.
|
|
503
|
+
|
|
504
|
+
Because a driver is shell code that runs with your privileges, **external drivers
|
|
505
|
+
are never loaded until you opt in** — an unexpected drop-in is ignored (with a
|
|
506
|
+
warning) until you run `agmsg plugin trust <axis>/<name>`. List what's discovered
|
|
507
|
+
and its trust state with `agmsg plugin list`.
|
|
508
|
+
|
|
509
|
+
Full discovery order, the trust model, and authoring guidance:
|
|
510
|
+
[docs/plugins.md](docs/plugins.md) (design rationale in
|
|
511
|
+
[ADR 0002](docs/adr/0002-driver-discovery-and-plugin-opt-in.md)).
|
|
512
|
+
|
|
498
513
|
## Community
|
|
499
514
|
|
|
500
515
|
- **Product Hunt**: #5 Product of the Day, [2026-06-09 launch](https://www.producthunt.com/products/agmsg) — 219 upvotes, 39 comments
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agmsg",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.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"
|