aiterm-mcp 0.70.54 → 0.70.55
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 +8 -1
- package/README.ja.md +1 -1
- package/README.md +1 -1
- package/dist/agent-screen-observation.js +7 -4
- package/dist/core.js +12 -1
- package/dist/managed-seat-turn.js +3 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.70.55] - 2026-11-13
|
|
11
|
+
|
|
12
|
+
- Antigravity seats whose turn is over while a background task runs read idle in seat-turns, so the seat's reason is the background task, not the turn (a68, Centi train W). A spinner over `esc to cancel` still reads a running turn.
|
|
13
|
+
|
|
14
|
+
- A launch no longer closes the seat at the first frame of a startup screen Aiterm does not answer: it watches until the ready budget ends and goes on if the screen leaves by itself (Centi train W F2: agy's login screen for 3 s right after a login). Claude's first-run steps still refuse at once.
|
|
15
|
+
|
|
10
16
|
## [0.70.54] - 2026-11-13
|
|
11
17
|
|
|
12
18
|
- Antigravity seats state their own background tasks too (a68): read from the bound conversation's transcript ("running as a background task with task id" until "Task id … finished").
|
|
@@ -3452,7 +3458,8 @@ prototype (preserved under `prototype/python/` as the porting source and referen
|
|
|
3452
3458
|
`ubuntu-latest` for Node 18/20/22, publishing to npm on `v*` tags with
|
|
3453
3459
|
provenance.
|
|
3454
3460
|
|
|
3455
|
-
[Unreleased]: https://github.com/kitepon/aiterm-mcp/compare/v0.70.
|
|
3461
|
+
[Unreleased]: https://github.com/kitepon/aiterm-mcp/compare/v0.70.55...HEAD
|
|
3462
|
+
[0.70.55]: https://github.com/kitepon/aiterm-mcp/compare/v0.70.54...v0.70.55
|
|
3456
3463
|
[0.70.54]: https://github.com/kitepon/aiterm-mcp/compare/v0.70.53...v0.70.54
|
|
3457
3464
|
[0.70.53]: https://github.com/kitepon/aiterm-mcp/compare/v0.70.52...v0.70.53
|
|
3458
3465
|
[0.70.52]: https://github.com/kitepon/aiterm-mcp/compare/v0.70.51...v0.70.52
|
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.55** · 動作対象は 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.55** · 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
|
|
|
@@ -343,9 +343,6 @@ export function parentPaneEvidence(kind, screen) {
|
|
|
343
343
|
start--;
|
|
344
344
|
}
|
|
345
345
|
const current = lines.slice(Math.max(0, start)).join("\n");
|
|
346
|
-
// Antigravity keeps the turn open while a background task runs: it reruns the model when the task ends, then sends Stop.
|
|
347
|
-
if (kind === "antigravity" && /·\s*[1-9]\d*\s+task\(s\)/u.test(lines.slice(marker + 1).join("\n")))
|
|
348
|
-
return "busy";
|
|
349
346
|
if (kind === "grok" && grokPromptAwaitingAccept(current))
|
|
350
347
|
return "unknown";
|
|
351
348
|
if (kind === "cursor" && cursorPromptHooksRunning(screen))
|
|
@@ -378,5 +375,11 @@ export function parentPaneEvidence(kind, screen) {
|
|
|
378
375
|
&& /^\s*esc to cancel\b/imu.test(lines.slice(marker + 1).join("\n")))
|
|
379
376
|
&& !/^\s*esc to interrupt\s*$/imu.test(lines.slice(marker + 1).join("\n")))
|
|
380
377
|
return "unknown";
|
|
381
|
-
|
|
378
|
+
if (observed.state === "busy")
|
|
379
|
+
return "busy";
|
|
380
|
+
// agy holds its Stop while a background task runs (it reruns the model when the task ends): the visible turn is over and
|
|
381
|
+
// only the task works, which the seat's own work counts (a68).
|
|
382
|
+
if (kind === "antigravity" && /·\s*[1-9]\d*\s+task\(s\)/u.test(lines.slice(marker + 1).join("\n")))
|
|
383
|
+
return "ready_background";
|
|
384
|
+
return "ready";
|
|
382
385
|
}
|
package/dist/core.js
CHANGED
|
@@ -4986,7 +4986,8 @@ async function prepareAgentInput(name, meta, options, acceptRunningCodex = false
|
|
|
4986
4986
|
// A resumed Codex can consume its native queue before the composer becomes idle.
|
|
4987
4987
|
const running = (screen) => acceptRunningCodex && meta.kind === "codex" && !!meta.resumed_from
|
|
4988
4988
|
&& codexPaneObservation(screen).state === "busy" && codexRunningTurn(meta) !== null;
|
|
4989
|
-
const
|
|
4989
|
+
const budget = options.ready_timeout ?? AGENT_TUI_READY_TIMEOUT_MS, deadline = performance.now() + budget;
|
|
4990
|
+
const wait = (ms = budget) => waitAgentTuiReady(name, meta, ms, { selectSteer: running });
|
|
4990
4991
|
let ready = await wait();
|
|
4991
4992
|
const handled = new Set();
|
|
4992
4993
|
while (!ready.ready && !ready.steer) {
|
|
@@ -4994,6 +4995,16 @@ async function prepareAgentInput(name, meta, options, acceptRunningCodex = false
|
|
|
4994
4995
|
: meta.kind === "claude" ? claudeStartupAction(ready.lastScreen, options.trust_project === true)
|
|
4995
4996
|
: meta.kind === "grok" ? grokStartupAction(ready.lastScreen, options.trust_project === true)
|
|
4996
4997
|
: meta.kind === "antigravity" ? antigravityStartupAction(ready.lastScreen, options.trust_project === true, meta.cwd) : null;
|
|
4998
|
+
// A screen Aiterm does not answer can leave by itself: agy drew its login screen for 3 s right after a login, then went on
|
|
4999
|
+
// (Centi train W F2). Look until the ready budget ends; only a screen that stays refuses. Claude's first-run steps never
|
|
5000
|
+
// leave without the account owner, so they refuse at once.
|
|
5001
|
+
const unanswered = agentPaneObservation(meta.kind, ready.lastScreen);
|
|
5002
|
+
if (!action && budget > 0 && performance.now() < deadline - AGENT_TUI_READY_POLL_MS
|
|
5003
|
+
&& unanswered.state === "blocked" && unanswered.reason !== "vendor_onboarding_required") {
|
|
5004
|
+
await sleep(AGENT_TUI_READY_POLL_MS);
|
|
5005
|
+
ready = await wait(Math.max(1, deadline - performance.now()));
|
|
5006
|
+
continue;
|
|
5007
|
+
}
|
|
4997
5008
|
if (!action || handled.has(action.kind))
|
|
4998
5009
|
break;
|
|
4999
5010
|
handled.add(action.kind);
|
|
@@ -109,8 +109,9 @@ export function observeManagedSpan(file, binding, evidence, terminal, at, positi
|
|
|
109
109
|
return { state: "running", turn_id, started_at, event_cursor: null, interim_from, wait_process: null };
|
|
110
110
|
}
|
|
111
111
|
// A launch that never showed busy nor any terminal has no turn to hide: its settled ready is idle.
|
|
112
|
-
// An idle compaction has no Stop of its own; its notice settles the span its spinner opened.
|
|
113
|
-
|
|
112
|
+
// An idle compaction has no Stop of its own; its notice settles the span its spinner opened. So does agy's ready composer
|
|
113
|
+
// over a background-task count: its Stop waits for the task, and the rerun that follows opens a new span.
|
|
114
|
+
if (evidence !== "ready_compacted" && evidence !== "ready_background" && (!terminal && (record?.span || record?.terminal) || record?.span && terminal === record.terminal))
|
|
114
115
|
return null;
|
|
115
116
|
if (!record)
|
|
116
117
|
record = { binding, span: null, terminal, ready: null };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aiterm-mcp",
|
|
3
|
-
"version": "0.70.
|
|
3
|
+
"version": "0.70.55",
|
|
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": [
|