agmsg 1.1.7 → 1.1.8
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 +34 -1
- package/README.ja.md +2 -2
- package/README.md +2 -2
- package/bin/agmsg.js +42 -18
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,7 +4,38 @@ 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
|
+
## [1.1.8] - 2026-07-15
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
- Sidebar per-section + buttons, replacing the New dropdown (#407)
|
|
11
|
+
- Green status-unknown default, roomier team-status-rail rows (#406)
|
|
12
|
+
- Phase-lock agent-status and monitor pulse dots to wall clock (#403)
|
|
13
|
+
- Detect grok/grok-build agent status (#395)
|
|
14
|
+
- Persist UI settings across restarts (#391)
|
|
15
|
+
- Snap pane dividers to terminal cell units, herdr-style gaps (#390)
|
|
16
|
+
- Show agent and team status (#385)
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
- Filter non-numeric characters out of the font-size draft (#405)
|
|
20
|
+
- Reject unregistered from/to agents (#409)
|
|
21
|
+
- Resolve Codex leftovers and delivery_modes mismatch (#408)
|
|
22
|
+
- Forward args on a flags-only monitored launch (#404)
|
|
23
|
+
- Clean up the Settings font-size input (#401)
|
|
24
|
+
- Display chat timestamps in local time, not raw UTC (#394)
|
|
25
|
+
- Normalise Windows backslash paths before handing to bash/curl (#392)
|
|
26
|
+
|
|
27
|
+
### Performance
|
|
28
|
+
- Batch pty-output writes to one term.write() per animation frame (#402)
|
|
29
|
+
|
|
30
|
+
## [app-v0.1.5] - 2026-07-13
|
|
31
|
+
|
|
32
|
+
### Added
|
|
33
|
+
- 0.1.5 UI polish — sidebar collapse, chat pane min/max, Team Room toggle, About version, lucide icons (#377)
|
|
34
|
+
|
|
35
|
+
### Fixed
|
|
36
|
+
- Authenticode-sign Windows binaries during tauri build (#354)
|
|
37
|
+
|
|
38
|
+
## [1.1.7] - 2026-07-13
|
|
8
39
|
|
|
9
40
|
### Added
|
|
10
41
|
- Role-to-session affinity: named sessions, resume-by-role boot, tmux-resurrect (#339) (#344)
|
|
@@ -245,6 +276,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
245
276
|
- Handle empty TaskList explicitly to stop fresh-session loop (#71)
|
|
246
277
|
- Storage driver pluginization design (epic #51) (#52)
|
|
247
278
|
|
|
279
|
+
[1.1.8]: https://github.com/fujibee/agmsg/compare/app-v0.1.5...v1.1.8
|
|
280
|
+
[app-v0.1.5]: https://github.com/fujibee/agmsg/compare/v1.1.7...app-v0.1.5
|
|
248
281
|
[1.1.7]: https://github.com/fujibee/agmsg/compare/app-v0.1.4...v1.1.7
|
|
249
282
|
[1.1.6]: https://github.com/fujibee/agmsg/compare/app-v0.1.3...v1.1.6
|
|
250
283
|
[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`
|
|
328
|
+
`send.sh` は4つの位置引数 `<team> <from> <to> "<message>"` に加えて、末尾に任意で `--force` を取る。シェルが1つの引数として認識するようメッセージはクォートすること — クォートされていないスペース入りメッセージは誤って分割される。`from`・`to` はどちらも `<team>` に事前登録済みである必要があり、未登録の名前は(登録済み一覧を添えて)エラーになる — 意図的な事前登録前送信をしたい場合のみ `--force` でこのチェックを迂回できる。
|
|
329
329
|
|
|
330
330
|
## FAQ / 設計メモ
|
|
331
331
|
|
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
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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 (
|
|
126
|
-
|
|
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.
|
|
3
|
+
"version": "1.1.8",
|
|
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"
|