aiterm-mcp 0.70.11 → 0.70.13
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 +11 -1
- package/README.ja.md +1 -1
- package/README.md +1 -1
- package/dist/remote-terminal.js +23 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.70.13] - 2026-11-10
|
|
11
|
+
|
|
12
|
+
- A terminal's seat MCP route (the R12 reverse forward) starts seconds after credential-load instead of at the next 60 s check. Every active Aiterm process now watches the credentials directory, and a newly written `<ref>.json` runs the forward check at once. After an execution restart, seats on keyless terminals were without BellTeam MCP for up to a minute after the key arrived. The 60 s check stays as the fallback.
|
|
13
|
+
|
|
14
|
+
## [0.70.12] - 2026-11-10
|
|
15
|
+
|
|
16
|
+
- Terminal seats' MCP route back (the R12 reverse forward) comes back after an execution restart. When the keeper first ran before the terminal's credential was loaded, its shell probe refused at once with `CREDENTIAL_NOT_LOADED` and left the keeper marked as starting, so that process never held the forward again. Every seat on the terminal then reached a closed port (the binding still named it, so a launch was handed the dead port without a wait). The keeper now releases its lock on that refusal, and the next 60 s check after credential-load starts the forward on the same port.
|
|
17
|
+
|
|
10
18
|
## [0.70.11] - 2026-11-10
|
|
11
19
|
|
|
12
20
|
- macOS: a Codex seat with `mcp_config` no longer stops at `reason=unrecognized_screen` with Codex's "unexpected argument '<cwd>'". The pane's bash 3.2 brace-expanded the typed launch line when it held a `"` (the `-c mcp_servers.<name>={...}` value). The one-line launch now sends every quote and expanding character (single and double quotes, backquote, `$`, `!`, `{`, `}`) as a `printf %b` octal escape. Linux, zsh and dash read the same line.
|
|
@@ -3239,7 +3247,9 @@ prototype (preserved under `prototype/python/` as the porting source and referen
|
|
|
3239
3247
|
`ubuntu-latest` for Node 18/20/22, publishing to npm on `v*` tags with
|
|
3240
3248
|
provenance.
|
|
3241
3249
|
|
|
3242
|
-
[Unreleased]: https://github.com/kitepon/aiterm-mcp/compare/v0.70.
|
|
3250
|
+
[Unreleased]: https://github.com/kitepon/aiterm-mcp/compare/v0.70.13...HEAD
|
|
3251
|
+
[0.70.13]: https://github.com/kitepon/aiterm-mcp/compare/v0.70.12...v0.70.13
|
|
3252
|
+
[0.70.12]: https://github.com/kitepon/aiterm-mcp/compare/v0.70.11...v0.70.12
|
|
3243
3253
|
[0.70.11]: https://github.com/kitepon/aiterm-mcp/compare/v0.70.10...v0.70.11
|
|
3244
3254
|
[0.70.10]: https://github.com/kitepon/aiterm-mcp/compare/v0.70.9...v0.70.10
|
|
3245
3255
|
[0.70.9]: https://github.com/kitepon/aiterm-mcp/compare/v0.70.8...v0.70.9
|
package/README.ja.md
CHANGED
|
@@ -215,7 +215,7 @@ runtime-error store は canonical dotagents config の `collection.enabled: true
|
|
|
215
215
|
場合だけ収集し、既定OFF、network送信は行いません。tag起点CIのnpm provenance(OIDC Trusted
|
|
216
216
|
Publishing)で公開し、GitHub Release が Official MCP Registry を再登録します。
|
|
217
217
|
|
|
218
|
-
**状態:** 開発継続中 · 現行公開版 **v0.70.
|
|
218
|
+
**状態:** 開発継続中 · 現行公開版 **v0.70.13** · 動作対象は Linux · WSL2 · macOS · Windows ネイティブ · MIT · [変更履歴](CHANGELOG.md)。
|
|
219
219
|
|
|
220
220
|
### 更新と巻き戻し
|
|
221
221
|
|
package/README.md
CHANGED
|
@@ -227,7 +227,7 @@ collection is off by default and performs no network I/O. It ships via
|
|
|
227
227
|
tag-triggered CI with npm provenance (OIDC Trusted Publishing); the GitHub
|
|
228
228
|
Release re-registers the Official MCP Registry entry.
|
|
229
229
|
|
|
230
|
-
**Status:** actively maintained · current public release **v0.70.
|
|
230
|
+
**Status:** actively maintained · current public release **v0.70.13** · runs on Linux · WSL2 · macOS · native Windows (tmux on POSIX, the tmux-CLI-compatible [psmux](https://github.com/psmux/psmux) on native Windows — no WSL required) · MIT · see the [CHANGELOG](CHANGELOG.md).
|
|
231
231
|
|
|
232
232
|
### Update and rollback
|
|
233
233
|
|
package/dist/remote-terminal.js
CHANGED
|
@@ -801,6 +801,7 @@ export function extractMcpHeaders(config) {
|
|
|
801
801
|
const FORWARD_RESTART_MS = 15_000, FORWARD_REFUSALS_BEFORE_NEW_PORT = 4, LAUNCH_GRACE_MS = 120_000;
|
|
802
802
|
const keepers = new Map();
|
|
803
803
|
let maintainTimer = null;
|
|
804
|
+
let credentialWatch = null;
|
|
804
805
|
function writeBinding(ref, change) {
|
|
805
806
|
const bindings = readStore().map(item => item.ref === ref ? { ...item, ...change } : item);
|
|
806
807
|
writeJson0600(storePath(), { schema: "aiterm.remote-bindings.v1", bindings });
|
|
@@ -893,8 +894,18 @@ function keep(ref) {
|
|
|
893
894
|
keeper.timer.unref();
|
|
894
895
|
};
|
|
895
896
|
// The remote command depends on the terminal's shell (T4): known from the cache, or probed once by this process.
|
|
897
|
+
// The probe's ssh arguments can refuse synchronously (CREDENTIAL_NOT_LOADED before credential-load): leave like the
|
|
898
|
+
// argument refusal below, never with `starting` set, or no later keep() would ever start the forward (0.70.9).
|
|
899
|
+
let probe;
|
|
900
|
+
try {
|
|
901
|
+
probe = remoteShell(trustedTarget(b));
|
|
902
|
+
}
|
|
903
|
+
catch {
|
|
904
|
+
releaseLock(ref);
|
|
905
|
+
return;
|
|
906
|
+
}
|
|
896
907
|
keeper.starting = true;
|
|
897
|
-
|
|
908
|
+
probe.then(shell => {
|
|
898
909
|
keeper.starting = false;
|
|
899
910
|
let args;
|
|
900
911
|
try {
|
|
@@ -937,6 +948,17 @@ export function maintainSeatForwards() {
|
|
|
937
948
|
maintainTimer = setInterval(maintainSeatForwards, 60_000);
|
|
938
949
|
maintainTimer.unref();
|
|
939
950
|
}
|
|
951
|
+
// credential-load is a one-shot in another process: start the forward when its <ref>.json lands, not at the next 60 s check.
|
|
952
|
+
if (!credentialWatch)
|
|
953
|
+
try {
|
|
954
|
+
credentialWatch = fs.watch(credentialDir(), (_event, name) => { if (!name || String(name).endsWith(".json"))
|
|
955
|
+
maintainSeatForwards(); });
|
|
956
|
+
credentialWatch.on("error", () => { credentialWatch?.close(); credentialWatch = null; });
|
|
957
|
+
credentialWatch.unref();
|
|
958
|
+
}
|
|
959
|
+
catch {
|
|
960
|
+
credentialWatch = null; /* the 60 s check still covers it */
|
|
961
|
+
}
|
|
940
962
|
}
|
|
941
963
|
/** The terminal-local port for seat URLs reaching container port `ingress`; starts the keeper if no process holds it yet. */
|
|
942
964
|
export async function ensureSeatForward(ref, ingress, timeoutMs = 30_000) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aiterm-mcp",
|
|
3
|
-
"version": "0.70.
|
|
3
|
+
"version": "0.70.13",
|
|
4
4
|
"mcpName": "io.github.kitepon/aiterm-mcp",
|
|
5
5
|
"description": "Persistent terminal MCP with one harness-based launcher for Claude Code, Codex CLI, Grok CLI, Cursor Agent CLI, and Antigravity CLI, plus durable PTYs for SSH, containers, and REPLs.",
|
|
6
6
|
"keywords": [
|