aiterm-mcp 0.61.13 → 0.61.14
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 +8 -1
- package/README.ja.md +1 -1
- package/README.md +1 -1
- package/dist/execution-parent-worker.js +16 -1
- package/docs/DESIGN.md +4 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.61.14] - 2026-10-24
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- Native execution participants retain their verified current-process identity instead of spawning another OS identity probe at every scope check. Foreign process, multiplexer, source/target generation and participant checks remain fresh. This reduces admission overhead; it does not reconcile unknown sends or establish recovery from a production mutex timeout.
|
|
15
|
+
|
|
10
16
|
## [0.61.13] - 2026-10-24
|
|
11
17
|
|
|
12
18
|
### Validation scope
|
|
@@ -2836,7 +2842,8 @@ prototype (preserved under `prototype/python/` as the porting source and referen
|
|
|
2836
2842
|
`ubuntu-latest` for Node 18/20/22, publishing to npm on `v*` tags with
|
|
2837
2843
|
provenance.
|
|
2838
2844
|
|
|
2839
|
-
[Unreleased]: https://github.com/kitepon/aiterm-mcp/compare/v0.61.
|
|
2845
|
+
[Unreleased]: https://github.com/kitepon/aiterm-mcp/compare/v0.61.14...HEAD
|
|
2846
|
+
[0.61.14]: https://github.com/kitepon/aiterm-mcp/compare/v0.61.13...v0.61.14
|
|
2840
2847
|
[0.61.13]: https://github.com/kitepon/aiterm-mcp/compare/v0.61.12...v0.61.13
|
|
2841
2848
|
[0.61.12]: https://github.com/kitepon/aiterm-mcp/compare/v0.61.11...v0.61.12
|
|
2842
2849
|
[0.61.11]: https://github.com/kitepon/aiterm-mcp/compare/v0.61.10...v0.61.11
|
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.61.
|
|
212
|
+
**状態:** 開発継続中 · 現行公開版 **v0.61.14** · 動作対象は 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.61.
|
|
230
|
+
**Status:** actively maintained · current public release **v0.61.14** · 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
|
|
|
@@ -15,9 +15,24 @@ import { createSteerExecutionAdmission } from "./execution-steer.js";
|
|
|
15
15
|
import { ExecutionError } from "./execution-wire.js";
|
|
16
16
|
import { parentHookReference } from "./execution-parent-alias.js";
|
|
17
17
|
import { requireExecutionEffectScope } from "./execution-effect.js";
|
|
18
|
+
let localActor;
|
|
19
|
+
function currentLocalActor() {
|
|
20
|
+
// This code is executing in the observed process. Its PID/start identity
|
|
21
|
+
// cannot change during its lifetime; another process has its own module.
|
|
22
|
+
// Keep only a verified self identity, never a server/parent/target sample.
|
|
23
|
+
// Missing/failed first reads remain failures and may be observed again.
|
|
24
|
+
if (!localActor || localActor.pid !== process.pid) {
|
|
25
|
+
const observed = readProcessIdentities([process.pid])[0];
|
|
26
|
+
if (!observed || observed.pid !== process.pid || !observed.started_identity
|
|
27
|
+
|| !Number.isFinite(Date.parse(observed.started_identity)))
|
|
28
|
+
return null;
|
|
29
|
+
localActor = Object.freeze({ pid: observed.pid, started_identity: observed.started_identity });
|
|
30
|
+
}
|
|
31
|
+
return { ...localActor };
|
|
32
|
+
}
|
|
18
33
|
export const localParentWorkerRuntime = {
|
|
19
34
|
scope: () => ({ state_root: stateRoot(), multiplexer: isWin ? { kind: "namespace", key: WIN_NS } : { kind: "socket", key: SOCK } }),
|
|
20
|
-
actor:
|
|
35
|
+
actor: currentLocalActor,
|
|
21
36
|
observeActors: readProcessIdentities,
|
|
22
37
|
observeParentProcess: observeExecutionParentProcess, observeSessionGeneration: observeExecutionSessionGeneration,
|
|
23
38
|
};
|
package/docs/DESIGN.md
CHANGED
|
@@ -53,6 +53,10 @@ private participant factoryはproducer/service/dispatcher/同process用worker pr
|
|
|
53
53
|
source環境の既存8名は一度だけ読み、必要な値だけを固定してproducerとdispatcherへ渡す。
|
|
54
54
|
呼出側のprovider/profile/runtime methodの差替えは構築済みparticipantへ混入させず、現在のscope/actorの変化は作用前に拒否する。
|
|
55
55
|
親managerの保存先とownerも同じscope/actorへ照合する。別processのhookはactorを流用せず、自分のworker factoryで接続する。
|
|
56
|
+
native runtimeの自己actorは、現在実行中のprocessのPIDと開始identityを一度だけOSで確定して保持する。
|
|
57
|
+
同processの生存中に開始identityは変わらないため、scope確認ごとの自己PID照会を行わない。
|
|
58
|
+
初回の欠測・失敗は確定値として保持せず、返すobjectも複製する。注入runtimeのactor、他process・server・
|
|
59
|
+
source/target世代の観測は保持せず、従来どおり各受付で再照合する。
|
|
56
60
|
注入runtimeへ欠けたparent依存を既定OS処理で補わず、完全なfake依存を要求する。このfactoryも通常mainには未注入。
|
|
57
61
|
同producer serviceの停止closeは、既存のissued close slotを持つ間だけ同期の期待世代primitiveへ渡す。
|
|
58
62
|
実killの直前にもruntimeの同期世代読取を通し、scope/actor/期待launchの交代を拒否する。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aiterm-mcp",
|
|
3
|
-
"version": "0.61.
|
|
3
|
+
"version": "0.61.14",
|
|
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": [
|