aiterm-mcp 0.62.0 → 0.62.2

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,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.62.2] - 2026-10-30
11
+
12
+ ### Fixed
13
+ - Report Antigravity's native OAuth `invalid_grant` rejection as failed instead of waiting indefinitely, without exposing native error text or retrying the code.
14
+
15
+ ## [0.62.1] - 2026-10-30
16
+
17
+ ### Fixed
18
+ - Find the runnable Throughline npm shim on Windows when PATH discovery lists its extensionless shell wrapper first. Preserve rejection of an invalid explicit `THROUGHLINE_BIN`.
19
+ - Stop Antigravity's wrapped OAuth URL at its native blank-line boundary so pager footer text cannot alter the authorization state.
20
+
10
21
  ## [0.62.0] - 2026-10-30
11
22
 
12
23
  ### Added
@@ -2931,7 +2942,9 @@ prototype (preserved under `prototype/python/` as the porting source and referen
2931
2942
  `ubuntu-latest` for Node 18/20/22, publishing to npm on `v*` tags with
2932
2943
  provenance.
2933
2944
 
2934
- [Unreleased]: https://github.com/kitepon/aiterm-mcp/compare/v0.62.0...HEAD
2945
+ [Unreleased]: https://github.com/kitepon/aiterm-mcp/compare/v0.62.2...HEAD
2946
+ [0.62.2]: https://github.com/kitepon/aiterm-mcp/compare/v0.62.1...v0.62.2
2947
+ [0.62.1]: https://github.com/kitepon/aiterm-mcp/compare/v0.62.0...v0.62.1
2935
2948
  [0.62.0]: https://github.com/kitepon/aiterm-mcp/compare/v0.61.24...v0.62.0
2936
2949
  [0.61.24]: https://github.com/kitepon/aiterm-mcp/compare/v0.61.23...v0.61.24
2937
2950
  [0.61.23]: https://github.com/kitepon/aiterm-mcp/compare/v0.61.22...v0.61.23
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.0** · 動作対象は Linux · WSL2 · macOS · Windows ネイティブ · MIT · [変更履歴](CHANGELOG.md)。
212
+ **状態:** 開発継続中 · 現行公開版 **v0.62.2** · 動作対象は 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.0** · 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.2** · 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
 
@@ -236,8 +236,8 @@ export function resolveThroughlineBin() {
236
236
  return isUsableExecutableFile(fromEnv) ? fromEnv : null;
237
237
  const resolved = spawnSync(isWin ? "where" : "which", ["throughline"], {
238
238
  encoding: "utf8",
239
- }).stdout?.split(/\r?\n/).find(Boolean) ?? null;
240
- return resolved && isUsableExecutableFile(resolved) ? resolved : null;
239
+ }).stdout?.split(/\r?\n/).find(candidate => isUsableExecutableFile(candidate)) ?? null;
240
+ return resolved;
241
241
  }
242
242
  export function runThroughlineHandoffContext(bin, sessionId, supplementFile = null) {
243
243
  const args = ["handoff-context", "--session", sessionId, "--json"];
package/dist/core.js CHANGED
@@ -4734,6 +4734,8 @@ export async function authenticateAgent(kind, options) {
4734
4734
  }
4735
4735
  if (dead !== "0")
4736
4736
  return result("failed", session, "認証processの生存状態の形式を認識できません。");
4737
+ if (pane.failed)
4738
+ return result("failed", session, null, pane);
4737
4739
  if (pane.onboarding_complete) {
4738
4740
  const checked = await authStatus(kind, meta.bin, meta.cwd, authSessionEnvironment(session, meta.env_vars));
4739
4741
  if (checked.status === "authenticated")
@@ -56,11 +56,14 @@ 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)
62
65
  for (const line of lines.slice(start)) {
63
- if (/^\s*─|After authenticating|authorization code/i.test(line))
66
+ if (!line.trim() || /^\s*─|After authenticating|authorization code/i.test(line))
64
67
  break;
65
68
  urlLines.push(line.trim());
66
69
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aiterm-mcp",
3
- "version": "0.62.0",
3
+ "version": "0.62.2",
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": [