aiterm-mcp 0.62.1 → 0.62.3

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
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.62.3] - 2026-10-31
11
+
12
+ ### Fixed
13
+ - Give Antigravity authentication a 120×60 terminal so the official OAuth code field remains visible without manual pager keys.
14
+
15
+ ## [0.62.2] - 2026-10-30
16
+
17
+ ### Fixed
18
+ - Report Antigravity's native OAuth `invalid_grant` rejection as failed instead of waiting indefinitely, without exposing native error text or retrying the code.
19
+
10
20
  ## [0.62.1] - 2026-10-30
11
21
 
12
22
  ### Fixed
@@ -2937,7 +2947,9 @@ prototype (preserved under `prototype/python/` as the porting source and referen
2937
2947
  `ubuntu-latest` for Node 18/20/22, publishing to npm on `v*` tags with
2938
2948
  provenance.
2939
2949
 
2940
- [Unreleased]: https://github.com/kitepon/aiterm-mcp/compare/v0.62.1...HEAD
2950
+ [Unreleased]: https://github.com/kitepon/aiterm-mcp/compare/v0.62.3...HEAD
2951
+ [0.62.3]: https://github.com/kitepon/aiterm-mcp/compare/v0.62.2...v0.62.3
2952
+ [0.62.2]: https://github.com/kitepon/aiterm-mcp/compare/v0.62.1...v0.62.2
2941
2953
  [0.62.1]: https://github.com/kitepon/aiterm-mcp/compare/v0.62.0...v0.62.1
2942
2954
  [0.62.0]: https://github.com/kitepon/aiterm-mcp/compare/v0.61.24...v0.62.0
2943
2955
  [0.61.24]: https://github.com/kitepon/aiterm-mcp/compare/v0.61.23...v0.61.24
package/README.ja.md CHANGED
@@ -209,7 +209,7 @@ runtime-error store は canonical dotagents config の `collection.enabled: true
209
209
  場合だけ収集し、既定OFF、network送信は行いません。tag起点CIのnpm provenance(OIDC Trusted
210
210
  Publishing)で公開し、GitHub Release が Official MCP Registry を再登録します。
211
211
 
212
- **状態:** 開発継続中 · 現行公開版 **v0.62.1** · 動作対象は Linux · WSL2 · macOS · Windows ネイティブ · MIT · [変更履歴](CHANGELOG.md)。
212
+ **状態:** 開発継続中 · 現行公開版 **v0.62.3** · 動作対象は Linux · WSL2 · macOS · Windows ネイティブ · MIT · [変更履歴](CHANGELOG.md)。
213
213
 
214
214
  ### 更新と巻き戻し
215
215
 
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.62.1** · 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).
230
+ **Status:** actively maintained · current public release **v0.62.3** · 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/core.js CHANGED
@@ -4635,6 +4635,9 @@ export async function authenticateAgent(kind, options) {
4635
4635
  if (kept.code !== 0)
4636
4636
  throw new AitermError("AGENT_AUTH_PANE_CONFIG_FAILED: 認証processの終了観測を設定できません。", 2);
4637
4637
  disableAuthLogging(name);
4638
+ // shortcut: AGY 1.4.12 hides its OAuth code field at 80x24; revisit if its auth layout grows.
4639
+ if (kind === "antigravity" && tmux("resize-window", "-t", name, "-x", "120", "-y", "60").code !== 0)
4640
+ throw new AitermError("AGENT_AUTH_PANE_CONFIG_FAILED: Antigravityの認証画面サイズを設定できません。", 2);
4638
4641
  meta.launch_id = randomBytes(16).toString("hex");
4639
4642
  if (hasExecutionCreationScope()) {
4640
4643
  meta.execution_native = executionCreatedNativeBinding(name);
@@ -4734,6 +4737,8 @@ export async function authenticateAgent(kind, options) {
4734
4737
  }
4735
4738
  if (dead !== "0")
4736
4739
  return result("failed", session, "認証processの生存状態の形式を認識できません。");
4740
+ if (pane.failed)
4741
+ return result("failed", session, null, pane);
4737
4742
  if (pane.onboarding_complete) {
4738
4743
  const checked = await authStatus(kind, meta.bin, meta.cwd, authSessionEnvironment(session, meta.env_vars));
4739
4744
  if (checked.status === "authenticated")
@@ -56,6 +56,9 @@ export function antigravityAuthStatus(bin, cwd, env = process.env) {
56
56
  return { status: "failed", message: "Antigravity CLIの認証状態を確認できません" };
57
57
  }
58
58
  export function antigravityAuthPane(screen) {
59
+ if (/\binvalid_grant\b/i.test(screen))
60
+ return { url: null, user_code: null, input_required: false,
61
+ failed: true, message: "Antigravity CLIが認証を拒否しました(invalid_grant)。同じ認証コードを再送しないでください。" };
59
62
  const lines = screen.split("\n"), start = lines.findIndex(line => line.includes("https://accounts.google.com/"));
60
63
  const urlLines = [];
61
64
  if (start >= 0)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aiterm-mcp",
3
- "version": "0.62.1",
3
+ "version": "0.62.3",
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": [