aiterm-mcp 0.70.46 → 0.70.47
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 +7 -1
- package/README.ja.md +1 -1
- package/README.md +1 -1
- package/dist/agent-screen-observation.js +3 -0
- package/dist/core.js +6 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.70.47] - 2026-11-13
|
|
11
|
+
|
|
12
|
+
- An Antigravity seat's background command is now counted as own work (seat-turns `own_work.processes`, `pty_observe` `activity.post_startup_process_count`). agy runs each command on its own pty as a session leader (macOS, Linux) or in `pwsh -Command "try { $OutputEncoding = …"` (Windows); its MCP servers and hooks are still not counted (ADR 0141).
|
|
13
|
+
- While an Antigravity background task runs, the seat's turn reads running instead of unknown. agy keeps the turn open until the task ends and the model reports it; the footer's `N task(s)` count is that state.
|
|
14
|
+
|
|
10
15
|
## [0.70.46] - 2026-11-13
|
|
11
16
|
|
|
12
17
|
- A Codex seat's own work (seat-turns `own_work.processes`, `pty_observe` `activity.post_startup_process_count`) now counts a lone command such as `sleep 300`. bash and zsh `-c` replace themselves with a single simple command, so the exec shell's shape was gone and the command was missed on Linux and macOS (a seat with one background command read 0 and could hibernate). Codex starts each exec in a new session, so a Codex child that is a session leader is now counted; MCP servers, hooks and the code-mode host stay in the seat's session and are still not counted (ADR 0141).
|
|
@@ -3409,7 +3414,8 @@ prototype (preserved under `prototype/python/` as the porting source and referen
|
|
|
3409
3414
|
`ubuntu-latest` for Node 18/20/22, publishing to npm on `v*` tags with
|
|
3410
3415
|
provenance.
|
|
3411
3416
|
|
|
3412
|
-
[Unreleased]: https://github.com/kitepon/aiterm-mcp/compare/v0.70.
|
|
3417
|
+
[Unreleased]: https://github.com/kitepon/aiterm-mcp/compare/v0.70.47...HEAD
|
|
3418
|
+
[0.70.47]: https://github.com/kitepon/aiterm-mcp/compare/v0.70.46...v0.70.47
|
|
3413
3419
|
[0.70.46]: https://github.com/kitepon/aiterm-mcp/compare/v0.70.45...v0.70.46
|
|
3414
3420
|
[0.70.45]: https://github.com/kitepon/aiterm-mcp/compare/v0.70.44...v0.70.45
|
|
3415
3421
|
[0.70.44]: https://github.com/kitepon/aiterm-mcp/compare/v0.70.43...v0.70.44
|
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.47** · 動作対象は 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.47** · 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
|
|
|
@@ -340,6 +340,9 @@ export function parentPaneEvidence(kind, screen) {
|
|
|
340
340
|
start--;
|
|
341
341
|
}
|
|
342
342
|
const current = lines.slice(Math.max(0, start)).join("\n");
|
|
343
|
+
// Antigravity keeps the turn open while a background task runs: it reruns the model when the task ends, then sends Stop.
|
|
344
|
+
if (kind === "antigravity" && /·\s*[1-9]\d*\s+task\(s\)/u.test(lines.slice(marker + 1).join("\n")))
|
|
345
|
+
return "busy";
|
|
343
346
|
if (kind === "grok" && grokPromptAwaitingAccept(current))
|
|
344
347
|
return "unknown";
|
|
345
348
|
if (kind === "cursor" && cursorPromptHooksRunning(screen))
|
package/dist/core.js
CHANGED
|
@@ -167,8 +167,9 @@ const AGENT_EXEC_SHELLS = {
|
|
|
167
167
|
// shortcut: a command run with the write-to-stdin tool also gets stdin and is not counted; read the script if that matters.
|
|
168
168
|
cursor: command => /builtin eval "\$1"(?: 3<&- 4>&-)? < \/dev\/null/.test(command)
|
|
169
169
|
|| /-NonInteractive -File \S*ps-script-[0-9a-f-]+\.ps1/i.test(command),
|
|
170
|
-
//
|
|
171
|
-
|
|
170
|
+
// POSIX: no shell marker; agy runs each command in its own pty session (session-leader rule in ownExecProcesses).
|
|
171
|
+
// Windows: pwsh -Command starting with its UTF-8 $OutputEncoding line; hooks are cmd /c "pwsh … -EncodedCommand".
|
|
172
|
+
antigravity: command => command.includes(" -Command \"try { $OutputEncoding = [System.Text.UTF8Encoding]::new($false);"),
|
|
172
173
|
};
|
|
173
174
|
const EXEC_SHELL_NAMES = new Set([...SHELLS, "pwsh", "powershell", "cmd"]);
|
|
174
175
|
// Sandboxes a harness puts between itself and its exec shell.
|
|
@@ -1660,8 +1661,9 @@ export function ownExecProcesses(meta, agent, rows) {
|
|
|
1660
1661
|
else if (SANDBOX_WRAPPERS.has(executable) || AGENT_COMMAND_PATTERNS[kind].test(executable)
|
|
1661
1662
|
|| (!EXEC_SHELL_NAMES.has(executable) && child.command.includes(meta.launch_id)))
|
|
1662
1663
|
walk(child, false);
|
|
1663
|
-
//
|
|
1664
|
-
|
|
1664
|
+
// Codex (setsid) and Antigravity (a pty per command) start each exec in a new session; their servers and hooks stay in
|
|
1665
|
+
// the seat's session. This also catches a lone command its `-c` shell replaced itself with.
|
|
1666
|
+
else if ((kind === "codex" || kind === "antigravity") && child.session_leader)
|
|
1665
1667
|
roots.push(child);
|
|
1666
1668
|
}
|
|
1667
1669
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aiterm-mcp",
|
|
3
|
-
"version": "0.70.
|
|
3
|
+
"version": "0.70.47",
|
|
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": [
|