aiterm-mcp 0.70.29 → 0.70.30

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,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.70.30] - 2026-11-12
11
+
12
+ - `agent_goal` on an idle Claude Code seat no longer refuses with `goal_input_not_empty_or_ready` when the composer shows Claude's own dim ghost text. After a second turn Claude Code 2.1.322 shows a prompt suggestion there (for example `run the doctests`), and a new session shows a `Try "…"` example. Any single composer row whose visible cells are all dim or inverse, with at least one dim, now counts as empty, whatever its words; text the user typed is not dim and still blocks. Inspect, create, edit and clear all use this check. Measured on 2.1.322: a bracketed paste of `/goal` over a shown suggestion leaves exactly `/goal`, which the existing check before Enter confirms.
13
+
10
14
  ## [0.70.29] - 2026-11-12
11
15
 
12
16
  - `agent_models` takes `claude_login` (claude-code only, a slot name such as `1st`). Aiterm reads `<parent in AITERM_CLAUDE_CONFIG_ROOTS>/<slot>/oauth-token` and lists models on that login, the one a seat of that slot runs with. When `configuration_root` is omitted and the slot directory is itself a Claude root (it has `.claude.json`), it is also the root, as for that slot's seats. The token never leaves Aiterm. A missing or malformed token file answers `CLAUDE_LOGIN_UNAVAILABLE` without reading a list. Without `claude_login` nothing changes.
@@ -3325,7 +3329,8 @@ prototype (preserved under `prototype/python/` as the porting source and referen
3325
3329
  `ubuntu-latest` for Node 18/20/22, publishing to npm on `v*` tags with
3326
3330
  provenance.
3327
3331
 
3328
- [Unreleased]: https://github.com/kitepon/aiterm-mcp/compare/v0.70.29...HEAD
3332
+ [Unreleased]: https://github.com/kitepon/aiterm-mcp/compare/v0.70.30...HEAD
3333
+ [0.70.30]: https://github.com/kitepon/aiterm-mcp/compare/v0.70.29...v0.70.30
3329
3334
  [0.70.29]: https://github.com/kitepon/aiterm-mcp/compare/v0.70.28...v0.70.29
3330
3335
  [0.70.28]: https://github.com/kitepon/aiterm-mcp/compare/v0.70.27...v0.70.28
3331
3336
  [0.70.27]: https://github.com/kitepon/aiterm-mcp/compare/v0.70.26...v0.70.27
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.29** · 動作対象は Linux · WSL2 · macOS · Windows ネイティブ · MIT · [変更履歴](CHANGELOG.md)。
218
+ **状態:** 開発継続中 · 現行公開版 **v0.70.30** · 動作対象は 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.29** · 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.70.30** · 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
 
@@ -124,7 +124,9 @@ export function claudeGoalComposer(screen) {
124
124
  return null;
125
125
  const prefix = /^\s*❯[ \u00a0]?/u.exec(lines[at])[0];
126
126
  const styled = nativeGoalStyledRows(screen)[at]?.slice([...prefix].length).filter(cell => cell.text.trim()) ?? [];
127
- const placeholder = continuation.length === 0 && first[1].trimEnd() === "Press up to edit queued messages"
127
+ // Native ghost text (queued hint, startup "Try …", post-turn prompt suggestion) is one all-dim row;
128
+ // typed text is never dim, so any text with that styling counts as empty.
129
+ const placeholder = continuation.length === 0
128
130
  && styled.length > 0 && styled.some(cell => cell.dim) && styled.every(cell => cell.dim || cell.inverse);
129
131
  return { text: placeholder ? "" : [first[1].trimEnd(), ...continuation.map(line => line.slice(2).trimEnd())].join("\n"), columns: lines[at - 1].trim().length, rows: lines.length };
130
132
  }
package/docs/DESIGN.md CHANGED
@@ -581,7 +581,7 @@ Claude's authorization-request code=true exception is vendor-owned and requires
581
581
 
582
582
  Claude clear uses the same host provenance and original binding comparison as Codex, with no delegated token or replacement worker. The harness owns one native command submission and composer readiness; the manager owns single-attempt mutation, fresh canonical dialog plus matching clear event, and unknown outcomes. The existing turn interruption path is not called by clear. Global stop continues reporting unsupported native Claude pause separately from the one existing stop-key receipt.
583
583
 
584
- Claude objective changes reuse the native /goal setter after checking the current goal and trusted host origin. They do not emulate Codex pause/resume or numeric accounting. Representation checks bound the objective to a completely visible composer/dialog and reject reserved clear and ambiguous whitespace before submission. The shared native cell decoder preserves dim/inverse styling, letting each harness distinguish its own placeholders; Claude input interpretation and native state remain harness-owned. The same literal queued-input hint as a real draft is never considered empty solely by text.
584
+ Claude objective changes reuse the native /goal setter after checking the current goal and trusted host origin. They do not emulate Codex pause/resume or numeric accounting. Representation checks bound the objective to a completely visible composer/dialog and reject reserved clear and ambiguous whitespace before submission. The shared native cell decoder preserves dim/inverse styling, letting each harness distinguish its own placeholders; Claude input interpretation and native state remain harness-owned. Claude's native ghost text (queued-input hint, startup example, post-turn prompt suggestion) is one composer row whose visible cells are all dim or inverse with at least one dim; that row is empty whatever its text. Typed text of the same words is not dim and stays a draft, so emptiness is never decided by text.
585
585
 
586
586
 
587
587
  Native Claude goal input also verifies the official per-PID current-session registration, including native session ID, process birth ticks and PID namespace before each input boundary. A switched conversation is refused before goal input; ownership loss after input remains unknown. No conversation is switched back automatically. This registration birth format is currently verified on Linux; unverified OS/registry data remains unavailable.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aiterm-mcp",
3
- "version": "0.70.29",
3
+ "version": "0.70.30",
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": [