agmsg 1.1.7 → 1.1.9

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,7 +4,68 @@ 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.7] - 2026-07-12
7
+ ## [1.1.9] - 2026-07-19
8
+
9
+ ### Added
10
+ - Isolate Codex monitor bridges by role (#425)
11
+ - Free shell tab, unattached to any agent (#431)
12
+ - Add session-only dismiss to outdated-CLI banner (#430)
13
+ - Extend join/actas prompts with roster-aware name suggestions (#421)
14
+ - Remember the last active tab per team (#417)
15
+
16
+ ### Fixed
17
+ - Tombstone renamed-away names so join/actas can't silently revive them (#427)
18
+ - Don't let co-located app-v* tags pollute the recorded core VERSION (#432)
19
+ - Resolve shim through symlinks, warn when monitor mode isn't actually reached (#429)
20
+ - Skip Monitor directive for .claude/worktrees sub-sessions (#428)
21
+ - Grace fallback for thread/resume failure on Codex 0.142+ (rebase of #276) (#426)
22
+ - Stop Claude Code 2.1.x daemon from hijacking pid resolution (#424)
23
+ - Mark only the displayed messages as read (#361)
24
+ - Replace flaky ls -t rollout lookup with find + portable mtime sort (#423)
25
+ - Bound the stdin read so a never-closed pipe cannot freeze the agent pane (#422)
26
+ - Convert team config paths for readfile() via agmsg_sql_readfile_path (#396)
27
+ - Fix Codex monitor multi-identity delivery (#419)
28
+ - Auto-decline approval requests, arm the turn watchdog on externally-active turns (#420)
29
+ - Add Shell requirement to all type templates (#345)
30
+ - Validate team name before resolving roster config path (#418)
31
+ - Give team-status-rail its own gray for zero-pane teams (#413)
32
+
33
+ ### Documentation
34
+ - Clarify sandbox and storage guidance (#362)
35
+ - Fix leftover OpenCode references in cursor template (#398)
36
+
37
+ ## [1.1.8] - 2026-07-15
38
+
39
+ ### Added
40
+ - Sidebar per-section + buttons, replacing the New dropdown (#407)
41
+ - Green status-unknown default, roomier team-status-rail rows (#406)
42
+ - Phase-lock agent-status and monitor pulse dots to wall clock (#403)
43
+ - Detect grok/grok-build agent status (#395)
44
+ - Persist UI settings across restarts (#391)
45
+ - Snap pane dividers to terminal cell units, herdr-style gaps (#390)
46
+ - Show agent and team status (#385)
47
+
48
+ ### Fixed
49
+ - Filter non-numeric characters out of the font-size draft (#405)
50
+ - Reject unregistered from/to agents (#409)
51
+ - Resolve Codex leftovers and delivery_modes mismatch (#408)
52
+ - Forward args on a flags-only monitored launch (#404)
53
+ - Clean up the Settings font-size input (#401)
54
+ - Display chat timestamps in local time, not raw UTC (#394)
55
+ - Normalise Windows backslash paths before handing to bash/curl (#392)
56
+
57
+ ### Performance
58
+ - Batch pty-output writes to one term.write() per animation frame (#402)
59
+
60
+ ## [app-v0.1.5] - 2026-07-13
61
+
62
+ ### Added
63
+ - 0.1.5 UI polish — sidebar collapse, chat pane min/max, Team Room toggle, About version, lucide icons (#377)
64
+
65
+ ### Fixed
66
+ - Authenticode-sign Windows binaries during tauri build (#354)
67
+
68
+ ## [1.1.7] - 2026-07-13
8
69
 
9
70
  ### Added
10
71
  - Role-to-session affinity: named sessions, resume-by-role boot, tmux-resurrect (#339) (#344)
@@ -245,6 +306,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
245
306
  - Handle empty TaskList explicitly to stop fresh-session loop (#71)
246
307
  - Storage driver pluginization design (epic #51) (#52)
247
308
 
309
+ [1.1.9]: https://github.com/fujibee/agmsg/compare/app-v0.2.0...v1.1.9
310
+ [1.1.8]: https://github.com/fujibee/agmsg/compare/app-v0.1.5...v1.1.8
311
+ [app-v0.1.5]: https://github.com/fujibee/agmsg/compare/v1.1.7...app-v0.1.5
248
312
  [1.1.7]: https://github.com/fujibee/agmsg/compare/app-v0.1.4...v1.1.7
249
313
  [1.1.6]: https://github.com/fujibee/agmsg/compare/app-v0.1.3...v1.1.6
250
314
  [app-v0.1.3]: https://github.com/fujibee/agmsg/compare/app-v0.1.2...app-v0.1.3
package/README.ja.md CHANGED
@@ -315,7 +315,7 @@ $agmsg
315
315
  ### シェル(任意のエージェント)
316
316
 
317
317
  ```bash
318
- ~/.agents/skills/<cmd>/scripts/send.sh <team> <from> <to> "<message>"
318
+ ~/.agents/skills/<cmd>/scripts/send.sh <team> <from> <to> "<message>" [--force]
319
319
  ~/.agents/skills/<cmd>/scripts/inbox.sh <team> <agent_id>
320
320
  ~/.agents/skills/<cmd>/scripts/history.sh <team> [agent_id] [limit]
321
321
  ~/.agents/skills/<cmd>/scripts/team.sh <team>
@@ -325,7 +325,7 @@ $agmsg
325
325
  ~/.agents/skills/<cmd>/scripts/reset.sh <project_path> <type> [agent_id]
326
326
  ```
327
327
 
328
- `send.sh` はちょうど4つの位置引数を取る: `<team> <from> <to> "<message>"`。シェルが1つの引数として認識するようメッセージはクォートすること — クォートされていないスペース入りメッセージは誤って分割される。
328
+ `send.sh` は4つの位置引数 `<team> <from> <to> "<message>"` に加えて、末尾に任意で `--force` を取る。シェルが1つの引数として認識するようメッセージはクォートすること — クォートされていないスペース入りメッセージは誤って分割される。`from`・`to` はどちらも `<team>` に事前登録済みである必要があり、未登録の名前は(登録済み一覧を添えて)エラーになる — 意図的な事前登録前送信をしたい場合のみ `--force` でこのチェックを迂回できる。
329
329
 
330
330
  ## FAQ / 設計メモ
331
331
 
@@ -423,6 +423,8 @@ Claude Codeのサンドボックスはファイルシステムへの書き込み
423
423
  }
424
424
  ```
425
425
 
426
+ allowlistを追加しただけではサンドボックスは有効にならない。Claude Codeで `/sandbox` を使ってサンドボックスモードを選ぶか、設定で有効にする場合は、同じ `"sandbox"` オブジェクトの `"filesystem"` と並べて `"enabled": true` を追加する。サンドボックスが有効になるまで、このallowlistは効果を持たない。
427
+
426
428
  プロジェクトごとのスコープにしたい場合は、プロジェクトレベルの `.claude/settings.local.json` にも同様に書ける。allowlistはすべての設定スコープにまたがってマージされ、再起動なしで即座に反映される。
427
429
 
428
430
  カスタムコマンド名(例えば `m`)でagmsgをインストールした場合は、パスをそれに合わせて調整すること(`~/.agents/skills/m/`)。
package/README.md CHANGED
@@ -329,7 +329,7 @@ See [docs/opencode.md](docs/opencode.md) for full setup instructions.
329
329
  ### Shell (any agent)
330
330
 
331
331
  ```bash
332
- ~/.agents/skills/<cmd>/scripts/send.sh <team> <from> <to> "<message>"
332
+ ~/.agents/skills/<cmd>/scripts/send.sh <team> <from> <to> "<message>" [--force]
333
333
  ~/.agents/skills/<cmd>/scripts/inbox.sh <team> <agent_id>
334
334
  ~/.agents/skills/<cmd>/scripts/history.sh <team> [agent_id] [limit]
335
335
  ~/.agents/skills/<cmd>/scripts/team.sh <team>
@@ -339,7 +339,7 @@ See [docs/opencode.md](docs/opencode.md) for full setup instructions.
339
339
  ~/.agents/skills/<cmd>/scripts/reset.sh <project_path> <type> [agent_id]
340
340
  ```
341
341
 
342
- `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.
342
+ `send.sh` takes four positional arguments — `<team> <from> <to> "<message>"` — plus an optional trailing `--force`. Quote the message so the shell sees it as one argument; an unquoted message with spaces will be misparsed. Both `from` and `to` must already be registered in `<team>`; an unregistered name errors out (listing the currently registered names) instead of silently storing an undeliverable message. Pass `--force` to bypass this check for an intentional pre-registration send.
343
343
 
344
344
  ## FAQ / Design notes
345
345
 
@@ -442,6 +442,8 @@ Claude Code's sandbox restricts filesystem writes to the project directory. In `
442
442
  }
443
443
  ```
444
444
 
445
+ The allowlist does not enable sandboxing by itself. Use `/sandbox` in Claude Code to choose a sandbox mode, or add `"enabled": true` alongside `"filesystem"` under `"sandbox"` to configure it in settings. The allowlist has no effect until sandboxing is enabled.
446
+
445
447
  This can also go in project-level `.claude/settings.local.json` if you prefer per-project scope. The allowlist merges across all settings scopes and takes effect immediately — no restart needed.
446
448
 
447
449
  If you installed agmsg under a custom command name (e.g. `m`), adjust the path accordingly (`~/.agents/skills/m/`).
package/bin/agmsg.js CHANGED
@@ -79,6 +79,19 @@ function printHelp() {
79
79
  ].join('\n'));
80
80
  }
81
81
 
82
+ // Normalise a native path to the forward-slash form that bash.exe and
83
+ // curl.exe accept on Windows. bash is an MSYS2 program: Windows gives it a
84
+ // raw command-line string rather than a real argv[], and MSYS's own argv
85
+ // reconstruction treats backslash as an escape character, so a native
86
+ // `C:\Users\...\setup.sh` argument gets corrupted (e.g. `\U`, `\T` are read
87
+ // as escapes) into a path that doesn't exist — "No such file or directory"
88
+ // for a file that's actually there. Forward slashes have no such ambiguity,
89
+ // and both bash and curl accept them on Windows. No-op on POSIX (no
90
+ // backslashes to replace). See #262.
91
+ function toBashPath(p) {
92
+ return p.replace(/\\/g, '/');
93
+ }
94
+
82
95
  function runInstaller(passthroughArgs) {
83
96
  // Fetch the canonical setup.sh to a private tempdir, then exec it directly
84
97
  // with bash. This keeps the installer's stdin wired to the parent process's
@@ -92,7 +105,10 @@ function runInstaller(passthroughArgs) {
92
105
  const ref = installRef();
93
106
  const setupUrl = RAW_BASE + '/' + ref + '/setup.sh';
94
107
  const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'agmsg-bootstrap-'));
95
- const setupPath = path.join(tmpDir, 'setup.sh');
108
+ // os.tmpdir()/path.join() return backslash-separated paths on Windows.
109
+ // fs.rmSync (below) handles that form fine since it's a native Node call;
110
+ // curl and bash are external processes, so they get the bash-safe form.
111
+ const setupPath = toBashPath(path.join(tmpDir, 'setup.sh'));
96
112
 
97
113
  try {
98
114
  const fetch = spawnSync('curl', ['-fsSL', '-o', setupPath, setupUrl], { stdio: 'inherit' });
@@ -120,22 +136,30 @@ function runInstaller(passthroughArgs) {
120
136
  }
121
137
  }
122
138
 
123
- const args = process.argv.slice(2);
139
+ function main() {
140
+ const args = process.argv.slice(2);
141
+
142
+ if (args.length === 0 || args[0] === 'install') {
143
+ // Forward anything after `install` (e.g. `agmsg install --cmd m`) to
144
+ // setup.sh, which passes "$@" through to install.sh.
145
+ const passthrough = args[0] === 'install' ? args.slice(1) : args;
146
+ runInstaller(passthrough);
147
+ } else if (args[0] === '--help' || args[0] === '-h' || args[0] === 'help') {
148
+ printHelp();
149
+ process.exit(0);
150
+ } else if (args[0] === '--version' || args[0] === '-v') {
151
+ process.stdout.write('agmsg bootstrapper ' + readVersion() + '\n');
152
+ process.stdout.write('canonical project: ' + REPO_URL + '\n');
153
+ process.exit(0);
154
+ } else {
155
+ console.error('agmsg: unknown argument: ' + args[0]);
156
+ console.error('Run `npx agmsg --help` for usage.');
157
+ process.exit(2);
158
+ }
159
+ }
124
160
 
125
- if (args.length === 0 || args[0] === 'install') {
126
- // Forward anything after `install` (e.g. `agmsg install --cmd m`) to
127
- // setup.sh, which passes "$@" through to install.sh.
128
- const passthrough = args[0] === 'install' ? args.slice(1) : args;
129
- runInstaller(passthrough);
130
- } else if (args[0] === '--help' || args[0] === '-h' || args[0] === 'help') {
131
- printHelp();
132
- process.exit(0);
133
- } else if (args[0] === '--version' || args[0] === '-v') {
134
- process.stdout.write('agmsg bootstrapper ' + readVersion() + '\n');
135
- process.stdout.write('canonical project: ' + REPO_URL + '\n');
136
- process.exit(0);
137
- } else {
138
- console.error('agmsg: unknown argument: ' + args[0]);
139
- console.error('Run `npx agmsg --help` for usage.');
140
- process.exit(2);
161
+ if (require.main === module) {
162
+ main();
141
163
  }
164
+
165
+ module.exports = { toBashPath };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agmsg",
3
- "version": "1.1.7",
3
+ "version": "1.1.9",
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"