agmsg 0.0.1 → 1.0.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/README.md +280 -25
  2. package/bin/agmsg.js +45 -13
  3. package/package.json +4 -4
package/README.md CHANGED
@@ -1,55 +1,310 @@
1
- # agmsg (npm bootstrapper)
1
+ # agmsg
2
2
 
3
- This npm package is a **thin bootstrapper**. It does not contain the agmsg implementation — it just reserves the `agmsg` name on npm and gives users a convenient entry point that defers to the canonical shell installer.
3
+ Cross-agent messaging for CLI AI agents. No daemon, no network, no complexity.
4
4
 
5
- The real project, including all source, docs, and issue tracking, lives at:
5
+ <a href="https://www.producthunt.com/products/agmsg?utm_source=badge-top-post-badge&utm_medium=badge" target="_blank">
6
+ <picture>
7
+ <source media="(prefers-color-scheme: dark)"
8
+ srcset="https://api.producthunt.com/widgets/embed-image/v1/top-post-badge.svg?post_id=1165435&theme=dark&period=daily">
9
+ <img src="https://api.producthunt.com/widgets/embed-image/v1/top-post-badge.svg?post_id=1165435&theme=light&period=daily"
10
+ alt="agmsg — #5 Product of the Day on Product Hunt" width="250" height="54">
11
+ </picture>
12
+ </a>
6
13
 
7
- **https://github.com/fujibee/agmsg** • homepage **https://agmsg.cc**
14
+ 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.
15
+
16
+ **What it isn't:**
17
+
18
+ - Not MCP. No MCP server, no extra runtime — just `bash` + `sqlite3`.
19
+ - Not subagents. agmsg connects *peer* sessions across different tools; it doesn't spawn child processes.
20
+ - Not a message queue. There's no broker. The SQLite file is the floor; agents are the players.
21
+
22
+ ## Demo
23
+
24
+ Two `monitor`-mode Claude Code instances, left alone in the same team, play tic-tac-toe against each other with no human in the loop — each picks up the other's move in real time:
25
+
26
+ ![Two Claude Code agents autonomously playing tic-tac-toe over agmsg](docs/agmsg-demo.gif)
27
+
28
+ In real use it looks like this — Claude Code asking Codex for a code review and getting it back, all over agmsg:
29
+
30
+ ![Claude Code and Codex exchanging code review messages via agmsg](docs/screenshot.png)
31
+
32
+ ## Quick Start
33
+
34
+ ```bash
35
+ # 1. Install (one-liner)
36
+ bash <(curl -fsSL https://raw.githubusercontent.com/fujibee/agmsg/main/setup.sh)
37
+
38
+ # Or clone first if you want to inspect the code
39
+ git clone https://github.com/fujibee/agmsg.git && cd agmsg && ./install.sh
40
+
41
+ # 2. Restart Claude Code / Codex / Gemini CLI / Antigravity to pick up the new skill
42
+
43
+ # 3. Run the command — it will prompt for team and agent name on first use
44
+ # Claude Code: /agmsg
45
+ # Codex: $agmsg
46
+ # Gemini CLI: $agmsg
47
+ # Antigravity: $agmsg
48
+ ```
49
+
50
+ 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 defaults to `turn` because it has no Monitor tool). After that, you talk to your agent naturally — see [First run](#first-run) below.
51
+
52
+ ## How it works
53
+
54
+ agmsg is a thin transport. Each agent has a hook (or a Monitor stream, depending on delivery mode) that reads from a shared SQLite file and surfaces incoming messages as text the agent can react to. Sending is a `send.sh` call that appends a row. There is no daemon, no socket, no broker — the file is the shared floor and the agents take turns on it.
55
+
56
+ The store is WAL-mode SQLite, so multiple readers and a single writer coexist without conflicts. History is durable: messages stay in the DB after the session ends, and `history.sh` can replay an old room into a fresh agent.
8
57
 
9
58
  ## Install
10
59
 
11
60
  ```bash
12
- npm i -g agmsg
13
- agmsg install
61
+ ./install.sh # Interactive (asks command name, default: agmsg)
62
+ ./install.sh --cmd m # Non-interactive with custom command name
63
+ ./install.sh --agent-type gemini # Install a Gemini-oriented SKILL.md
64
+ ```
65
+
66
+ The **command name** determines:
67
+ - Skill folder: `~/.agents/skills/<cmd>/`
68
+ - Claude Code: `/<cmd>`
69
+ - Codex/Gemini/Antigravity: `$<cmd>`
70
+
71
+ After install, **restart your agent** (Claude Code / Codex / Gemini CLI / Antigravity) so it picks up the new skill.
72
+
73
+ ## First run
74
+
75
+ Open your project in your agent (Claude Code, Codex, Gemini CLI, etc.) and run:
76
+
77
+ ```
78
+ /agmsg # Claude Code, Copilot CLI
79
+ $agmsg # Codex, Gemini CLI, Antigravity
80
+ ```
81
+
82
+ On first use it asks for a **team name** (joins an existing team or creates a new one) and an **agent name** for this project — that's the whole onboarding. After that, talk to your agent naturally:
83
+
84
+ - *"send alice a message saying the deploy is done"*
85
+ - *"check my messages"*
86
+ - *"who's on the team"*
87
+
88
+ The agent picks the right subcommand and runs it for you. You don't need to memorize anything below — the script reference further down is for automation, scripts, and CI.
89
+
90
+ For renaming a team, leaving, joining the same team from a second project, or clearing a project's registrations, see [docs/teams.md](docs/teams.md).
91
+
92
+ ### Multiple roles per project (`actas` / `drop`)
93
+
94
+ Same project, same agent type, different role — for example a `tech-lead` identity for architecture reviews and a `biz-analyst` identity for requirements work, both living on top of the same workspace. Toolset and assets are shared; only the role differs.
95
+
96
+ ```
97
+ /agmsg actas tech-lead # switch to tech-lead (creates it if not yet registered)
98
+ /agmsg actas biz-analyst # switch to biz-analyst
99
+ /agmsg drop biz-analyst # remove the role from this project
100
+ ```
101
+
102
+ `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.
103
+
104
+ See [docs/actas.md](docs/actas.md) for the full mechanics — exclusivity model, recovery, liveness / PID recycling, Codex caveat.
105
+
106
+ ## Delivery modes
107
+
108
+ How incoming messages reach your agent. Pick one at first join via the prompt, or change it later with `/agmsg mode <name>`.
109
+
110
+ | mode | mechanism | latency | who it's for |
111
+ |---|---|---|---|
112
+ | **`monitor`** (default on Claude Code) | SessionStart hook → Monitor tool → blocking SQLite stream | ~5s | Claude Code users wanting real-time push |
113
+ | **`turn`** (default on Codex / Copilot CLI) | Stop hook fires `check-inbox.sh` between assistant turns | until your next interaction | Codex / Copilot CLI (no Monitor tool); Claude Code users on a quieter loop |
114
+ | **`both`** | monitor primary, turn as per-session safety net | ~5s; falls back to turn-end on watcher failure | belt-and-suspenders |
115
+ | **`off`** | no automatic delivery | manual `/agmsg` only | minimalists |
116
+
117
+ ### Picking a mode
118
+
119
+ ```
120
+ /agmsg mode monitor — switch this project to real-time push (Claude Code)
121
+ /agmsg mode turn — switch to between-turns checking
122
+ /agmsg mode both — monitor with turn as a safety net
123
+ /agmsg mode off — manual /agmsg only
124
+ /agmsg mode — show current mode
125
+ ```
126
+
127
+ Settings are per-project. Each `<project>/.claude/settings.local.json` gets exactly the hooks the chosen mode needs — repeated `set` calls are idempotent.
128
+
129
+ **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.
130
+
131
+ ### Migrating from legacy `hook on/off`
132
+
133
+ `hook on` is now a thin alias for `mode turn` (with a one-line deprecation hint). To switch to real-time push:
134
+
135
+ ```
136
+ /agmsg mode monitor
137
+ ```
138
+
139
+ The command updates `db/config.yaml`, rewrites the project's hook entries, and prints an `AGMSG-DIRECTIVE` that activates `monitor` in the current session — no agent restart needed.
140
+
141
+ ## Usage
142
+
143
+ ### Claude Code
144
+
145
+ ```
146
+ /agmsg — check inbox (all teams)
147
+ /agmsg history — message history
148
+ /agmsg team — list team members
149
+ /agmsg send <agent> <message> — send message
150
+ /agmsg mode <monitor|turn|both|off> — switch delivery mode
151
+ /agmsg mode — show current mode
152
+ /agmsg actas <name> — switch to another role in this project (create if needed)
153
+ /agmsg drop <name> — remove a role from this project
154
+ /agmsg hook on | off — legacy aliases (mode turn | off)
155
+ /agmsg reset — clear current project registration
156
+ ```
157
+
158
+ ### Codex
159
+
160
+ ```
161
+ $agmsg — or /skills → agmsg
162
+ ```
163
+
164
+ Codex supports `mode turn` and `mode off` only — there's no Monitor tool to stream into.
165
+
166
+ ### GitHub Copilot CLI
167
+
168
+ ```
169
+ /agmsg — invokes the agmsg skill
170
+ ```
171
+
172
+ The Copilot installer drops a `SKILL.md` at `~/.copilot/skills/agmsg/` so `/agmsg` is auto-discovered. Per-project hooks live at `<project>/.github/hooks/agmsg.json`. Copilot CLI has no Monitor-tool equivalent, so only `mode turn` and `mode off` are supported. Asking for `monitor` or `both` is rejected with an error.
173
+
174
+ ### Shell (any agent)
175
+
176
+ ```bash
177
+ ~/.agents/skills/<cmd>/scripts/send.sh <team> <from> <to> "<message>"
178
+ ~/.agents/skills/<cmd>/scripts/inbox.sh <team> <agent_id>
179
+ ~/.agents/skills/<cmd>/scripts/history.sh <team> [agent_id] [limit]
180
+ ~/.agents/skills/<cmd>/scripts/team.sh <team>
181
+ ~/.agents/skills/<cmd>/scripts/whoami.sh <project_path> <type>
182
+ ~/.agents/skills/<cmd>/scripts/delivery.sh set <mode> <type> <project_path>
183
+ ~/.agents/skills/<cmd>/scripts/delivery.sh status [<type> <project_path>]
184
+ ~/.agents/skills/<cmd>/scripts/reset.sh <project_path> <type> [agent_id]
14
185
  ```
15
186
 
16
- Or one-shot via `npx`:
187
+ `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.
188
+
189
+ `hook.sh on|off` still works as a legacy alias for `delivery.sh set turn|off` but prints a deprecation notice.
190
+
191
+ ## FAQ / Design notes
192
+
193
+ **Is this MCP? Do I need an MCP server?**
194
+
195
+ No. agmsg is standalone — `bash` + `sqlite3`, no server, no daemon, no network. The two stacks are orthogonal: you can run agmsg alongside any MCP setup you already have.
196
+
197
+ **Concurrent writes to the same channel — do they conflict?**
198
+
199
+ The store is SQLite in WAL mode. Multiple readers and a single writer coexist; writes are short and serialized at the file level. In practice, two agents sending into the same team don't collide.
200
+
201
+ **Does SQLite guarantee turn order? Is there a lock or token?**
202
+
203
+ SQLite guarantees the ordering of the log itself — every row has a monotonic id and timestamp. Turn-taking between agents is a protocol-level concern, not enforced by the transport. The floor is intentionally dumb; the protocol lives in your prompts.
204
+
205
+ **Two Claude Code instances grab the same task — claim/lock?**
206
+
207
+ Not in v1. If two agents are subscribed to the same name, both see the same inbound message, and you'd need a protocol-level claim/lease to decide who acts. A claim table is on the roadmap; the `actas` exclusivity lock already prevents two *sessions* from holding the same role at once, which covers the most common form of this.
208
+
209
+ **Runaway loops — where does the stop condition live?**
210
+
211
+ At the protocol/prompt level, not the transport. Common pattern: include a max-turns or explicit done-signal instruction in the kickoff prompt ("stop after N exchanges", "reply DONE when complete"). agmsg won't cut a conversation off for you.
212
+
213
+ **What's carried on a handoff — context, diffs, or just text?**
214
+
215
+ Plain text. Messages are short — a sentence, a request, a path. Agents pass *summaries and references* (file paths, commit SHAs, issue numbers), not raw context. Transport is the message; semantic packing is up to the prompt.
216
+
217
+ **What if the output exceeds the receiver's context window?**
218
+
219
+ Use the summary + file-reference pattern: write the artifact to disk, send a one-line pointer. The DB stores messages, not files.
220
+
221
+ **Does it hold up with more than 2 agents?**
222
+
223
+ Yes. Teams are N-agent. The demo is 2 for clarity; larger rooms work the same way — we run our own 8-agent team on it.
224
+
225
+ **Does context persist across sessions?**
226
+
227
+ Yes. Messages live in SQLite and survive sessions. `history.sh <team>` replays the room.
228
+
229
+ **Can I re-seed a fresh agent from an old room?**
230
+
231
+ The message store is effectively a replay log. There's no one-shot "rehydrate from room X" command yet, but `history.sh` gives you the transcript and you can prompt a new agent with it. Treat persistence as the unlock that makes that possible.
232
+
233
+ ## Update
17
234
 
18
235
  ```bash
19
- npx agmsg install
236
+ cd agmsg
237
+ git pull
238
+ ./install.sh --update
20
239
  ```
21
240
 
22
- Either form runs:
241
+ DB and team configs are preserved. Only scripts and assets are updated.
242
+
243
+ ## Uninstall
23
244
 
24
245
  ```bash
25
- bash <(curl -fsSL https://raw.githubusercontent.com/fujibee/agmsg/main/setup.sh)
246
+ ./uninstall.sh # Interactive (confirms each step)
247
+ ./uninstall.sh --yes # Remove everything
248
+ ./uninstall.sh --keep-data # Remove skill but keep DB and teams
26
249
  ```
27
250
 
28
- …which installs the real agmsg under `~/.agents/skills/agmsg/` and wires up the per-runtime hooks for whichever CLI AI agents are installed (Claude Code, Codex, Gemini CLI, GitHub Copilot CLI, Antigravity, OpenCode).
251
+ Auto-detects installed skill directories and cleans up: skill files, slash commands, hooks, AGENTS.md sections, and team configs.
29
252
 
30
- After install, restart your agent and invoke the agmsg skill (`/agmsg` on Claude Code / Copilot CLI; `$agmsg` on Codex / Gemini CLI / Antigravity / OpenCode) to join a team.
253
+ ## Configuration
31
254
 
32
- ## What is agmsg?
255
+ ### Environment variables
33
256
 
34
- Cross-agent messaging for CLI AI agents through a shared local SQLite database. No daemon, no network, no Python. Send messages between Claude Code, Codex, Gemini CLI, Copilot CLI, Antigravity, OpenCode, or any other CLI agent on the same machine.
257
+ | Variable | Default | Purpose |
258
+ |---|---|---|
259
+ | `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. |
35
260
 
36
- See [https://github.com/fujibee/agmsg](https://github.com/fujibee/agmsg) for the full README, architecture docs, and contributor info.
261
+ 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.
37
262
 
38
- ## Why a bootstrapper instead of a real npm package?
263
+ ```bash
264
+ # Run against an isolated store
265
+ AGMSG_STORAGE_PATH=/tmp/agmsg-sandbox ./scripts/send.sh myteam alice bob "hi"
266
+ ```
39
267
 
40
- agmsg is a `bash` + `sqlite3` project. Packaging it as a real npm module would either:
268
+ ## Tests
41
269
 
42
- - Bundle a shell tree under `node_modules/` that npm has no idea what to do with, or
43
- - Re-implement the install logic in Node (duplicating the canonical `install.sh` and creating two maintenance burdens).
270
+ ```bash
271
+ bats tests/ # requires bats-core: brew install bats-core
272
+ ```
44
273
 
45
- A thin bootstrapper avoids both. The npm name is reserved (so nobody else can publish an unrelated `agmsg`), Node users have a familiar install path, and there's exactly one source of install truth: the canonical `install.sh`.
274
+ ## Architecture
46
275
 
47
- ## License
276
+ ```
277
+ ~/.agents/skills/<cmd>/ # Folder name = command name
278
+ ├── SKILL.md # Skill definition (read by CC & Codex)
279
+ ├── agents/
280
+ │ └── openai.yaml # Codex metadata
281
+ ├── scripts/ # Bash scripts
282
+ ├── templates/ # Command templates per tool
283
+ ├── db/messages.db # SQLite WAL-mode message store
284
+ └── teams/ # Team configs (self-contained)
285
+ └── <team>/
286
+ └── config.json
287
+ ```
288
+
289
+ - **Storage**: Single SQLite file with WAL mode
290
+ - **Concurrency**: Multiple readers + 1 writer, no conflicts
291
+ - **Dependencies**: `bash`, `sqlite3` (no Python required)
292
+ - **Auto detection**: Stop hook checks inbox after each response (60s cooldown, configurable via `hook.check_interval`)
293
+ - **No daemon**: Direct filesystem access
294
+ - **No network**: Everything local
295
+
296
+ ## Community
48
297
 
49
- MIT. See `LICENSE`.
298
+ - **Product Hunt**: #5 Product of the Day, [2026-06-09 launch](https://www.producthunt.com/products/agmsg) — 219 upvotes, 39 comments
299
+ - **Derivative projects**: `agmsg-shogi`, `agmsg-go`, `agmsg-mcp` (community-built)
300
+ - **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)
50
301
 
51
- ## Issues / contributions
302
+ ## Contributing
52
303
 
53
- Issues and PRs for **the agmsg project itself** go to https://github.com/fujibee/agmsg.
304
+ See [Design & Architecture](docs/design.md) for developer documentation — identity model, data storage, hook system, and script responsibilities.
305
+
306
+ If agmsg saves you copy-paste round-trips, a GitHub star helps other people find it.
307
+
308
+ ## License
54
309
 
55
- Issues and PRs for **the bootstrapper / npm packaging** go to https://github.com/fujibee/agmsg-npm.
310
+ MIT
package/bin/agmsg.js CHANGED
@@ -8,10 +8,17 @@
8
8
  // installer maintained at https://github.com/fujibee/agmsg.
9
9
  //
10
10
  // All real installation, configuration, and runtime logic lives in the
11
- // upstream repo. This bootstrapper just runs:
11
+ // canonical setup.sh. This bootstrapper fetches that script to a tempfile
12
+ // and exec's it directly — equivalent to the README's
12
13
  //
13
14
  // bash <(curl -fsSL https://raw.githubusercontent.com/fujibee/agmsg/main/setup.sh)
14
15
  //
16
+ // form, which is process-substitution and preserves the user's tty as
17
+ // stdin. We deliberately do NOT pipe the curl output into bash: piping
18
+ // makes the installer's stdin the wrapper script stream, and install.sh's
19
+ // interactive command-name prompt would `read -r` the next line of
20
+ // setup.sh as the command name. See agmsg #98.
21
+ //
15
22
  // Subcommands:
16
23
  // install Fetch and run the canonical setup.sh (default if no args).
17
24
  // --help Print this message and exit 0.
@@ -19,6 +26,7 @@
19
26
 
20
27
  const { spawnSync } = require('child_process');
21
28
  const fs = require('fs');
29
+ const os = require('os');
22
30
  const path = require('path');
23
31
 
24
32
  const SETUP_URL = 'https://raw.githubusercontent.com/fujibee/agmsg/main/setup.sh';
@@ -57,24 +65,48 @@ function printHelp() {
57
65
  ].join('\n'));
58
66
  }
59
67
 
60
- function runInstaller() {
61
- // We deliberately invoke `bash -c "curl ... | bash"` rather than piping
62
- // through Node's HTTP stack. The canonical installer is bash; that's the
63
- // path upstream tests and supports. We pass `-fsSL` so curl fails on
64
- // HTTP errors rather than piping an error page into bash.
65
- const cmd = 'curl -fsSL "' + SETUP_URL + '" | bash';
66
- const result = spawnSync('bash', ['-c', cmd], { stdio: 'inherit' });
67
- if (result.error) {
68
- console.error('agmsg: failed to launch bash:', result.error.message);
69
- process.exit(1);
68
+ function runInstaller(passthroughArgs) {
69
+ // Fetch the canonical setup.sh to a private tempdir, then exec it directly
70
+ // with bash. This keeps the installer's stdin wired to the parent process's
71
+ // tty rather than a pipe stream — which matters because install.sh has an
72
+ // interactive `Command name [agmsg]:` prompt that would otherwise read the
73
+ // next line of setup.sh as the command name. See agmsg #98 for the full
74
+ // diagnosis. install.sh now guards itself with `[ -t 0 ]` (PR #99), so this
75
+ // bootstrapper plus a still-vulnerable install.sh would also work; doing it
76
+ // correctly here is defense-in-depth and lets future interactive prompts
77
+ // in setup.sh keep working for real-tty users.
78
+ const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'agmsg-bootstrap-'));
79
+ const setupPath = path.join(tmpDir, 'setup.sh');
80
+
81
+ try {
82
+ const fetch = spawnSync('curl', ['-fsSL', '-o', setupPath, SETUP_URL], { stdio: 'inherit' });
83
+ if (fetch.error) {
84
+ console.error('agmsg: failed to launch curl:', fetch.error.message);
85
+ process.exit(1);
86
+ }
87
+ if (fetch.status !== 0) {
88
+ console.error('agmsg: curl exited ' + fetch.status + ' fetching ' + SETUP_URL);
89
+ process.exit(fetch.status || 1);
90
+ }
91
+
92
+ const result = spawnSync('bash', [setupPath, ...passthroughArgs], { stdio: 'inherit' });
93
+ if (result.error) {
94
+ console.error('agmsg: failed to launch bash:', result.error.message);
95
+ process.exit(1);
96
+ }
97
+ process.exit(result.status === null ? 1 : result.status);
98
+ } finally {
99
+ try { fs.rmSync(tmpDir, { recursive: true, force: true }); } catch (_) { /* best-effort */ }
70
100
  }
71
- process.exit(result.status === null ? 1 : result.status);
72
101
  }
73
102
 
74
103
  const args = process.argv.slice(2);
75
104
 
76
105
  if (args.length === 0 || args[0] === 'install') {
77
- runInstaller();
106
+ // Forward anything after `install` (e.g. `agmsg install --cmd m`) to
107
+ // setup.sh, which passes "$@" through to install.sh.
108
+ const passthrough = args[0] === 'install' ? args.slice(1) : args;
109
+ runInstaller(passthrough);
78
110
  } else if (args[0] === '--help' || args[0] === '-h' || args[0] === 'help') {
79
111
  printHelp();
80
112
  process.exit(0);
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "agmsg",
3
- "version": "0.0.1",
4
- "description": "Cross-agent messaging via SQLite for CLI AI agents (Claude Code, Codex, Gemini CLI, GitHub Copilot CLI, Antigravity, OpenCode). This package is a thin bootstrapper — it fetches and runs the canonical install.sh from https://github.com/fujibee/agmsg.",
3
+ "version": "1.0.3",
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
- "agmsg": "./bin/agmsg.js"
6
+ "agmsg": "bin/agmsg.js"
7
7
  },
8
8
  "scripts": {
9
9
  "test": "node bin/agmsg.js --version"
@@ -11,7 +11,7 @@
11
11
  "homepage": "https://agmsg.cc",
12
12
  "repository": {
13
13
  "type": "git",
14
- "url": "git+https://github.com/fujibee/agmsg-npm.git"
14
+ "url": "git+https://github.com/fujibee/agmsg.git"
15
15
  },
16
16
  "bugs": {
17
17
  "url": "https://github.com/fujibee/agmsg/issues"