aiterm-mcp 0.70.56 → 0.70.57
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 +7 -1
- package/README.ja.md +1 -1
- package/README.md +1 -1
- package/dist/configure-request.js +1 -14
- package/dist/core.js +1 -1
- package/docs/configure-reconcile.md +0 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.70.57] - 2026-11-14
|
|
11
|
+
|
|
12
|
+
- Withdrawn at the requester's ask (Kiro 2026-11-14): the `refusal` field of `aiterm.agent-configure-request-result.v1` and the `AGENT_CONFIGURE_NOT_READY` code added in 0.70.56. A not-ready (turn running) configure refusal again carries no `_meta["aiterm/configure_error"]`; only Claude picker refusals do, which is how a caller tells them apart.
|
|
13
|
+
- Diagrams: startup screen states S0-S6 of `prepareAgentInput` (launch-identity-input.md / .dot) and the Claude alias rule (model-configuration.md / .dot).
|
|
14
|
+
|
|
10
15
|
## [0.70.56] - 2026-11-14
|
|
11
16
|
|
|
12
17
|
- Claude `agent_configure` with an alias (`fable`, `opus`) selects the family's newest row on both picker layouts when the seat's catalog names the alias without a version (`Fable`). It refused on versioned rows (`Fable 5.2`) with `CLAUDE_MODEL_NOT_IN_PICKER` (Kiro 2026-11-14). An alias the catalog names with a version still means that version only.
|
|
@@ -3469,7 +3474,8 @@ prototype (preserved under `prototype/python/` as the porting source and referen
|
|
|
3469
3474
|
`ubuntu-latest` for Node 18/20/22, publishing to npm on `v*` tags with
|
|
3470
3475
|
provenance.
|
|
3471
3476
|
|
|
3472
|
-
[Unreleased]: https://github.com/kitepon/aiterm-mcp/compare/v0.70.
|
|
3477
|
+
[Unreleased]: https://github.com/kitepon/aiterm-mcp/compare/v0.70.57...HEAD
|
|
3478
|
+
[0.70.57]: https://github.com/kitepon/aiterm-mcp/compare/v0.70.56...v0.70.57
|
|
3473
3479
|
[0.70.56]: https://github.com/kitepon/aiterm-mcp/compare/v0.70.55...v0.70.56
|
|
3474
3480
|
[0.70.55]: https://github.com/kitepon/aiterm-mcp/compare/v0.70.54...v0.70.55
|
|
3475
3481
|
[0.70.54]: https://github.com/kitepon/aiterm-mcp/compare/v0.70.53...v0.70.54
|
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.
|
|
218
|
+
**状態:** 開発継続中 · 現行公開版 **v0.70.57** · 動作対象は 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.
|
|
230
|
+
**Status:** actively maintained · current public release **v0.70.57** · 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
|
|
|
@@ -22,19 +22,9 @@ const resultSchema = z.object({ schema: z.literal("aiterm.agent-configure-result
|
|
|
22
22
|
provider: z.enum(["claude", "codex", "grok", "cursor", "antigravity"]),
|
|
23
23
|
harness: z.enum(["claude-code", "codex-cli", "grok-cli", "cursor-cli", "antigravity-cli"]),
|
|
24
24
|
model: z.string().nullable(), reasoning_effort: z.string().nullable(), fast: z.boolean().nullable() }).strict();
|
|
25
|
-
// configure-reconcile.md `refusal`: why a not_applied request was refused, so a caller can retry at a boundary or tell the requester.
|
|
26
|
-
const refusalSchema = z.object({ code: z.string().min(1).max(128), kind: z.enum(["turn_running", "not_offered", "other"]) }).strict();
|
|
27
|
-
const TURN_RUNNING = new Set(["AGENT_CONFIGURE_NOT_READY", "AGENT_SEND_BUSY", "GOAL_CONFIGURE_TURN_END_UNCONFIRMED"]);
|
|
28
|
-
const NOT_OFFERED = new Set(["CLAUDE_MODEL_NOT_IN_PICKER", "CLAUDE_MODEL_NOT_SELECTABLE", "CLAUDE_MODEL_SESSION_ONLY_UNAVAILABLE",
|
|
29
|
-
"CLAUDE_EFFORT_NOT_SELECTABLE", "FAST_MODE_NOT_SUPPORTED", "FAST_MODE_UNAVAILABLE"]);
|
|
30
|
-
export function configurationRefusal(error) {
|
|
31
|
-
const code = error.configureRefusal?.code ?? /^([A-Z][A-Z0-9_]{2,})\b/u.exec(error.message)?.[1] ?? "UNCODED";
|
|
32
|
-
return { code, kind: TURN_RUNNING.has(code) ? "turn_running" : NOT_OFFERED.has(code) ? "not_offered" : "other" };
|
|
33
|
-
}
|
|
34
25
|
const recordSchema = z.object({ schema: z.literal("aiterm.configuration-request.v1"), binding: configurationBindingSchema,
|
|
35
26
|
requested: settingsSchema, terminal_at: z.iso.datetime().nullable(), native_effect: z.enum(["not_issued", "possible", "selection_excluded"]),
|
|
36
27
|
outcome: z.enum(["applied", "not_applied", "outcome_unknown"]), result: resultSchema.nullable(),
|
|
37
|
-
refusal: refusalSchema.optional(), // absent in records saved before 0.70.56
|
|
38
28
|
}).strict().refine(value => configurationRequestDigest(value.requested) === value.binding.digest
|
|
39
29
|
&& (value.result === null || value.result.session_id === value.binding.session_id)
|
|
40
30
|
&& (value.terminal_at !== null || value.result === null && value.outcome === "outcome_unknown")
|
|
@@ -42,7 +32,7 @@ const recordSchema = z.object({ schema: z.literal("aiterm.configuration-request.
|
|
|
42
32
|
export const configurationReceiptSchema = z.object({ schema: z.literal("aiterm.agent-configure-request-result.v1"),
|
|
43
33
|
binding: configurationBindingSchema, request_state: z.enum(["not_recorded", "unavailable", "pending_or_unknown", "terminal"]),
|
|
44
34
|
outcome: z.enum(["applied", "not_applied", "outcome_unknown"]), later_effect: z.enum(["excluded", "unconfirmed"]),
|
|
45
|
-
terminal_at: z.iso.datetime().nullable(), result: resultSchema.nullable(),
|
|
35
|
+
terminal_at: z.iso.datetime().nullable(), result: resultSchema.nullable(),
|
|
46
36
|
current: z.object({ availability: z.literal("unsupported") }).strict(), observed_at: z.iso.datetime(),
|
|
47
37
|
}).strict();
|
|
48
38
|
const failureSchema = z.object({ schema: z.literal("aiterm.agent-configure-error.v1"), session_id: z.string(),
|
|
@@ -90,7 +80,6 @@ function receipt(binding, record, missing = "unavailable") {
|
|
|
90
80
|
outcome: record?.outcome ?? "outcome_unknown",
|
|
91
81
|
later_effect: record && record.terminal_at !== null && record.native_effect !== "possible" ? "excluded" : "unconfirmed",
|
|
92
82
|
terminal_at: record?.terminal_at ?? null, result: record?.result ?? null,
|
|
93
|
-
refusal: record?.outcome === "not_applied" ? record.refusal ?? null : null,
|
|
94
83
|
current: { availability: "unsupported" }, observed_at: new Date().toISOString() };
|
|
95
84
|
}
|
|
96
85
|
export function reconcileConfigurationRequest(input) {
|
|
@@ -149,8 +138,6 @@ export async function applyConfigurationRequest(input, settings, apply) {
|
|
|
149
138
|
// UI input was issued, but the adapter read the picker closed before any selecting key (configure-reconcile.md).
|
|
150
139
|
if (record.outcome === "not_applied" && record.native_effect === "possible" && failure.configureRefusal?.selection_excluded)
|
|
151
140
|
record.native_effect = "selection_excluded";
|
|
152
|
-
if (record.outcome === "not_applied")
|
|
153
|
-
record.refusal = configurationRefusal(failure);
|
|
154
141
|
}
|
|
155
142
|
record.terminal_at = new Date().toISOString();
|
|
156
143
|
try {
|
package/dist/core.js
CHANGED
|
@@ -6560,7 +6560,7 @@ export async function pauseAgentGoalForStop(target) {
|
|
|
6560
6560
|
return { status: result.availability === "unsupported" || result.outcome === "unsupported" ? "unsupported" : result.outcome === "outcome_unknown" ? "outcome_unknown" : "unavailable", reason: result.reason };
|
|
6561
6561
|
}
|
|
6562
6562
|
function agentConfigureNotReady(name) {
|
|
6563
|
-
return
|
|
6563
|
+
return new AitermError(`agent session '${name}' は入力待ちではありません。番またはgoalが継続する場合はgoalを停止または完了にしてから agent_configure してください。設定は変えていません。`, 2);
|
|
6564
6564
|
}
|
|
6565
6565
|
export async function configureAgent(name, opts, expectedLaunchId) {
|
|
6566
6566
|
let mayHaveChanged = false;
|
|
@@ -45,7 +45,6 @@ Model, effort and fast are forbidden in reconcile. The reader does not create a
|
|
|
45
45
|
| `terminal_at` | Saved handler/finally completion time, otherwise null |
|
|
46
46
|
| `result` | Original successful configure result, otherwise null; its model/effort retain their existing requested-value semantics |
|
|
47
47
|
| `later_effect` | `excluded` for saved terminal requests with no native mutation issued, or refused by the Claude model picker before its selection key with the picker read closed afterwards; otherwise `unconfirmed` |
|
|
48
|
-
| `refusal` | Only for `outcome: not_applied`: `{code, kind}`. `code` is the refusal's own code (`CLAUDE_MODEL_NOT_IN_PICKER`, `AGENT_SEND_BUSY`, ...; `UNCODED` when it had none). `kind`: `turn_running` (the seat was in a turn or another send: `AGENT_CONFIGURE_NOT_READY`, `AGENT_SEND_BUSY`, `GOAL_CONFIGURE_TURN_END_UNCONFIRMED`; apply again at the next boundary), `not_offered` (the harness does not offer it in this session: `CLAUDE_MODEL_NOT_IN_PICKER`, `CLAUDE_MODEL_NOT_SELECTABLE`, `CLAUDE_MODEL_SESSION_ONLY_UNAVAILABLE`, `CLAUDE_EFFORT_NOT_SELECTABLE`, `FAST_MODE_NOT_SUPPORTED`, `FAST_MODE_UNAVAILABLE`; tell the requester), `other`. Otherwise null; also null on a `not_applied` receipt saved before 0.70.56 (kind unknown) (Kiro, 2026-11-14) |
|
|
49
48
|
| `current` | `{ "availability": "unsupported" }`; no UI preview is performed |
|
|
50
49
|
| `observed_at` | Time this receipt was read |
|
|
51
50
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aiterm-mcp",
|
|
3
|
-
"version": "0.70.
|
|
3
|
+
"version": "0.70.57",
|
|
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": [
|