aiterm-mcp 0.67.0 → 0.68.1

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,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.68.1] - 2026-11-09
11
+
12
+ - Seat activity (`readSeatTurns`): a fresh Claude seat that has never been busy and has no recorded turn or completion, such as a no-prompt launch after a harness switch, now reads `idle` after the usual 250 ms settle. Before, its ready composer had no completed-progress line ("✻ Cooked for 12s"), so the reading stayed unknown until the first input and after-turn work never started. Once the seat has a recorded turn or completion, the completed-progress line is still required.
13
+
14
+ ## [0.68.0] - 2026-11-09
15
+
16
+ - `state-compat.json` (schema `aiterm.state-compat.v1`, in the npm package) states which saved-state formats this release reads, writes and would reset, per store under the state volume (docs/architecture/runtime-adoption.md "State volume declaration"). A body installer uses it instead of version or closure equality, so an upgrade keeps saved seats. This release reads and writes `v1` for the whole `aiterm-mcp-<uid>` state root, maps 0.63.17-0.67.0 to `v1`, and resets nothing. No state format changes; going back to 0.67.0 needs nothing.
17
+
10
18
  ## [0.67.0] - 2026-11-09
11
19
 
12
20
  - Terminals without a native key (docs/architecture/remote-terminal.md R13). `aiterm-remote-terminal register --host H --user U --port P` creates a keyless binding with Aiterm's own empty known_hosts (`~/.config/aiterm/known_hosts.d/<ref>`; trust via `trust-confirm`). `aiterm-remote-terminal credential-load --ref R --terminal-id ID --handle UUID --revision N --purpose ssh-key` takes the resolved OpenSSH private key only on stdin and holds it in a private per-terminal ssh-agent (memory only); the receipt carries metadata only. The terminal value then carries `credential: {handle, revision}` instead of `credentialRevision`; Aiterm checks the loaded handle and revision (`CREDENTIAL_NOT_LOADED`, `CREDENTIAL_REVISION_STALE`, `CREDENTIAL_REQUIRED`). `sudoCredential` is accepted and kept as a handle only. The agent is removed when no seat of that terminal remains.
@@ -3136,7 +3144,9 @@ prototype (preserved under `prototype/python/` as the porting source and referen
3136
3144
  `ubuntu-latest` for Node 18/20/22, publishing to npm on `v*` tags with
3137
3145
  provenance.
3138
3146
 
3139
- [Unreleased]: https://github.com/kitepon/aiterm-mcp/compare/v0.67.0...HEAD
3147
+ [Unreleased]: https://github.com/kitepon/aiterm-mcp/compare/v0.68.1...HEAD
3148
+ [0.68.1]: https://github.com/kitepon/aiterm-mcp/compare/v0.68.0...v0.68.1
3149
+ [0.68.0]: https://github.com/kitepon/aiterm-mcp/compare/v0.67.0...v0.68.0
3140
3150
  [0.67.0]: https://github.com/kitepon/aiterm-mcp/compare/v0.66.0...v0.67.0
3141
3151
  [0.66.0]: https://github.com/kitepon/aiterm-mcp/compare/v0.65.1...v0.66.0
3142
3152
  [0.65.1]: https://github.com/kitepon/aiterm-mcp/compare/v0.65.0...v0.65.1
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.67.0** · 動作対象は Linux · WSL2 · macOS · Windows ネイティブ · MIT · [変更履歴](CHANGELOG.md)。
218
+ **状態:** 開発継続中 · 現行公開版 **v0.68.1** · 動作対象は 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.67.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.68.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).
231
231
 
232
232
  ### Update and rollback
233
233
 
@@ -351,7 +351,7 @@ export function parentPaneEvidence(kind, screen) {
351
351
  return "unknown";
352
352
  if (kind === "claude" && observed.state === "idle"
353
353
  && !/^[·✢✳✶✻✽*∗] [^…\n]+ for \d[^…\n]*$/mu.test(current))
354
- return "unknown";
354
+ return "ready_no_completion";
355
355
  if (kind === "cursor") {
356
356
  if (/^\s*ctrl\+c to stop\s*$/imu.test(lines.slice(marker + 1).join("\n")))
357
357
  return "busy";
@@ -75,6 +75,9 @@ export function observeManagedSpan(file, binding, evidence, terminal, at) {
75
75
  record = null;
76
76
  if (evidence === "unknown")
77
77
  return null;
78
+ // Claude shows the same plain composer in a quiet wait; only a binding that never saw work may settle it.
79
+ if (evidence === "ready_no_completion" && (terminal || record?.span || record?.terminal))
80
+ return null;
78
81
  if (evidence === "busy") {
79
82
  if (!record?.span) {
80
83
  record = { binding, span: { turn_id: `managed:${randomBytes(16).toString("hex")}`, started_at: at }, terminal, ready: null };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aiterm-mcp",
3
- "version": "0.67.0",
3
+ "version": "0.68.1",
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": [
@@ -56,6 +56,7 @@
56
56
  "dist/*.js",
57
57
  "dist/harnesses/*.js",
58
58
  "runtime-overlap.json",
59
+ "state-compat.json",
59
60
  "README.md",
60
61
  "CHANGELOG.md",
61
62
  "docs/00_overview.md",
@@ -0,0 +1,12 @@
1
+ {
2
+ "schema": "aiterm.state-compat.v1",
3
+ "stores": {
4
+ "state-root": {
5
+ "path": "aiterm-mcp-{uid}",
6
+ "writes": "v1",
7
+ "reads": ["v1"],
8
+ "resets": [],
9
+ "legacy": [ { "from": "0.63.17", "through": "0.67.0", "format": "v1" } ]
10
+ }
11
+ }
12
+ }