aiterm-mcp 0.29.21 → 0.29.23

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,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.29.23] - 2026-09-02
11
+
12
+ ### Changed
13
+
14
+ - Disable Codex startup update checks for centrally managed agents and launch managed Claude agents without interactive permission or workspace-trust prompts.
15
+
16
+ ## [0.29.22] - 2026-09-02
17
+
18
+ ### Fixed
19
+
20
+ - Treat Codex's passive update notice as ordinary startup output, while still stopping for the interactive update menu that requires a selection.
21
+
10
22
  ## [0.29.21] - 2026-09-02
11
23
 
12
24
  ### Fixed
@@ -1475,7 +1487,9 @@ prototype (preserved under `prototype/python/` as the porting source and referen
1475
1487
  `ubuntu-latest` for Node 18/20/22, publishing to npm on `v*` tags with
1476
1488
  provenance.
1477
1489
 
1478
- [Unreleased]: https://github.com/kitepon/aiterm-mcp/compare/v0.29.21...HEAD
1490
+ [Unreleased]: https://github.com/kitepon/aiterm-mcp/compare/v0.29.23...HEAD
1491
+ [0.29.23]: https://github.com/kitepon/aiterm-mcp/compare/v0.29.22...v0.29.23
1492
+ [0.29.22]: https://github.com/kitepon/aiterm-mcp/compare/v0.29.21...v0.29.22
1479
1493
  [0.29.21]: https://github.com/kitepon/aiterm-mcp/compare/v0.29.20...v0.29.21
1480
1494
  [0.29.20]: https://github.com/kitepon/aiterm-mcp/compare/v0.29.19...v0.29.20
1481
1495
  [0.29.19]: https://github.com/kitepon/aiterm-mcp/compare/v0.29.18...v0.29.19
package/README.ja.md CHANGED
@@ -153,7 +153,7 @@ runtime-error store は canonical dotagents config の `collection.enabled: true
153
153
  場合だけ収集し、既定OFF、network送信は行いません。tag起点CIのnpm provenance(OIDC Trusted
154
154
  Publishing)で公開し、GitHub Release が Official MCP Registry を再登録します。
155
155
 
156
- **状態:** 開発継続中 · 現行公開版 **v0.29.21** · 動作対象は Linux · WSL2 · macOS · Windows ネイティブ · MIT · [変更履歴](CHANGELOG.md)。
156
+ **状態:** 開発継続中 · 現行公開版 **v0.29.23** · 動作対象は Linux · WSL2 · macOS · Windows ネイティブ · MIT · [変更履歴](CHANGELOG.md)。
157
157
 
158
158
  ### 更新と巻き戻し
159
159
 
package/README.md CHANGED
@@ -169,7 +169,7 @@ collection is off by default and performs no network I/O. It ships via
169
169
  tag-triggered CI with npm provenance (OIDC Trusted Publishing); the GitHub
170
170
  Release re-registers the Official MCP Registry entry.
171
171
 
172
- **Status:** actively maintained · current public release **v0.29.21** · 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).
172
+ **Status:** actively maintained · current public release **v0.29.23** · 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).
173
173
 
174
174
  ### Update and rollback
175
175
 
package/dist/core.js CHANGED
@@ -2346,8 +2346,7 @@ function isAgentTuiIdleReady(kind, screen) {
2346
2346
  // `initial_prompt=not_sent`を返してsessionを生かしたままcallerへ制御を戻す。
2347
2347
  function isAgentTuiActionRequired(kind, screen) {
2348
2348
  if (kind === "codex") {
2349
- return screen.includes("Update available!")
2350
- || screen.includes("Do you trust the contents of this directory?")
2349
+ return codexLaunchBlockingDialog(screen) !== null
2351
2350
  || screen.includes("Hooks need review")
2352
2351
  || screen.includes("Allow the room MCP server to run tool")
2353
2352
  || screen.includes("Would you like to run the following command?");
@@ -162,7 +162,7 @@ export function assertClaudeAuthenticationReady(bin) {
162
162
  export function buildClaudeAgentCmd(bin, model, effort, prompt, meta) {
163
163
  const parts = [shq(bin)];
164
164
  if (meta?.kind === "claude") {
165
- parts.push("--setting-sources", shq("user,project,local"), "--settings", shq(meta.claude_settings ?? ""), "--session-id", shq(meta.vendor_session_id ?? ""), "--append-system-prompt", shq(subagentInstruction(meta)));
165
+ parts.push("--dangerously-skip-permissions", "--setting-sources", shq("user,project,local"), "--settings", shq(meta.claude_settings ?? ""), "--session-id", shq(meta.vendor_session_id ?? ""), "--append-system-prompt", shq(subagentInstruction(meta)));
166
166
  }
167
167
  if (model)
168
168
  parts.push("--model", shq(model));
@@ -336,6 +336,8 @@ export function buildCodexAgentCmd(bin, model, effort, prompt, meta) {
336
336
  // launcher自身が実効能力壁を作る。パス説明はCodex CLIに同等のallowlist引数がないため宣言のまま残す。
337
337
  if (meta?.kind === "codex" && meta.write_scope === "read-only")
338
338
  parts.push("--sandbox", "read-only");
339
+ if (meta?.kind === "codex")
340
+ parts.push("-c", "check_for_update_on_startup=false");
339
341
  // model/effort は共有configを書き換えず、CLI引数で明示して起動単位に優先する。
340
342
  if (model)
341
343
  parts.push("-m", shq(model));
@@ -387,7 +389,8 @@ export const CODEX_COMPOSER_MARKER_RE = /^\s*[›>]/;
387
389
  // 文字列は実機captureの逐語。既知2種に一致しない「Press enter to continue」も
388
390
  // 同型のmodalとして拾う(種別不明のまま握りつぶさない)。
389
391
  export function codexLaunchBlockingDialog(screen) {
390
- if (screen.includes("Update available!"))
392
+ if (screen.includes("Update available!")
393
+ && (/(^|\n)\s*›?\s*1\.\s+Update now\b/m.test(screen) || screen.includes("Press enter to continue")))
391
394
  return "update確認ダイアログ";
392
395
  if (screen.includes("Do you trust the contents of this directory"))
393
396
  return "directory trust確認ダイアログ";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aiterm-mcp",
3
- "version": "0.29.21",
3
+ "version": "0.29.23",
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, and Cursor Agent CLI, plus durable PTYs for SSH, containers, and REPLs.",
6
6
  "keywords": [