aiterm-mcp 0.70.13 → 0.70.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 +6 -1
- package/README.ja.md +1 -1
- package/README.md +1 -1
- package/dist/core.js +12 -8
- package/dist/index.js +1 -1
- package/package.json +1 -1
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.14] - 2026-11-11
|
|
11
|
+
|
|
12
|
+
- An antigravity-cli seat can start without a prompt while `append_system_prompt` is set, as a wake-first caller (BellTeam) launches every seat. Aiterm keeps the text with the seat and puts it, exactly once, in front of the first input sent to the seat before agy binds a conversation, the same rule Cursor uses for a promptless seat. A restart is a new launch and its own first input carries the text again. Before, such a launch was refused (`AGENT_LAUNCH_NOT_STARTED: append_system_prompt needs a prompt for antigravity-cli`), so a remote agy seat could never start.
|
|
13
|
+
|
|
10
14
|
## [0.70.13] - 2026-11-10
|
|
11
15
|
|
|
12
16
|
- A terminal's seat MCP route (the R12 reverse forward) starts seconds after credential-load instead of at the next 60 s check. Every active Aiterm process now watches the credentials directory, and a newly written `<ref>.json` runs the forward check at once. After an execution restart, seats on keyless terminals were without BellTeam MCP for up to a minute after the key arrived. The 60 s check stays as the fallback.
|
|
@@ -3247,7 +3251,8 @@ prototype (preserved under `prototype/python/` as the porting source and referen
|
|
|
3247
3251
|
`ubuntu-latest` for Node 18/20/22, publishing to npm on `v*` tags with
|
|
3248
3252
|
provenance.
|
|
3249
3253
|
|
|
3250
|
-
[Unreleased]: https://github.com/kitepon/aiterm-mcp/compare/v0.70.
|
|
3254
|
+
[Unreleased]: https://github.com/kitepon/aiterm-mcp/compare/v0.70.14...HEAD
|
|
3255
|
+
[0.70.14]: https://github.com/kitepon/aiterm-mcp/compare/v0.70.13...v0.70.14
|
|
3251
3256
|
[0.70.13]: https://github.com/kitepon/aiterm-mcp/compare/v0.70.12...v0.70.13
|
|
3252
3257
|
[0.70.12]: https://github.com/kitepon/aiterm-mcp/compare/v0.70.11...v0.70.12
|
|
3253
3258
|
[0.70.11]: https://github.com/kitepon/aiterm-mcp/compare/v0.70.10...v0.70.11
|
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.14** · 動作対象は 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.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
|
|
package/dist/core.js
CHANGED
|
@@ -6998,6 +6998,17 @@ export async function dispatchAgentTurn(name, text, o = {}) {
|
|
|
6998
6998
|
return withAgentResumeTarget(meta, () => dispatchAgentTurnInLock(name, text, o));
|
|
6999
6999
|
});
|
|
7000
7000
|
}
|
|
7001
|
+
/**
|
|
7002
|
+
* A seat launched without a prompt has no conversation yet at its first dispatch. Cursor gets Aiterm's launch context and the
|
|
7003
|
+
* caller text there, Antigravity the caller text (neither has an instruction channel); later dispatches go to the bound
|
|
7004
|
+
* conversation as plain text. A new launch (restart) starts unbound again, so its own first dispatch carries them.
|
|
7005
|
+
*/
|
|
7006
|
+
export function firstDispatchText(meta, body) {
|
|
7007
|
+
if (meta.vendor_session_id)
|
|
7008
|
+
return body;
|
|
7009
|
+
return meta.kind === "cursor" ? `${cursorLineagePreface(meta)}\n\n${body}`
|
|
7010
|
+
: meta.kind === "antigravity" ? antigravityPromptWithCaller(meta, body) : body;
|
|
7011
|
+
}
|
|
7001
7012
|
async function dispatchAgentTurnInLock(name, text, o, pendingSend) {
|
|
7002
7013
|
const meta = loadAgentMetadata(name);
|
|
7003
7014
|
const operationId = o.operation_id == null ? null : validateOperationId(o.operation_id);
|
|
@@ -7077,13 +7088,9 @@ async function dispatchAgentTurnInLock(name, text, o, pendingSend) {
|
|
|
7077
7088
|
if (grokRestoredPromptCleared)
|
|
7078
7089
|
paneInputRecovery.push("grok_unaccepted_prompt_cleared");
|
|
7079
7090
|
const startOffset = agentCompletionCursor(meta);
|
|
7080
|
-
// promptなしで起動したCursorは、最初のdispatch時点ではtranscriptとの相関markerをまだ持たない。
|
|
7081
|
-
// その1回だけlaunch contextを加え、以後はbind済みconversationへ通常textだけを送る。
|
|
7082
7091
|
// 画面の確かめを飛ばす送信(force)と、加工なしの送信(raw)には、既定の前置きを打たない(打った文は入力欄がそのまま読む)。
|
|
7083
7092
|
const prefaced = splitAgentPreface(meta.kind, o.preface, text, { defaultForWrapped: !o.force && !o.raw });
|
|
7084
|
-
const dispatchText = meta
|
|
7085
|
-
? `${cursorLineagePreface(meta)}\n\n${prefaced.body}`
|
|
7086
|
-
: prefaced.body;
|
|
7093
|
+
const dispatchText = firstDispatchText(meta, prefaced.body);
|
|
7087
7094
|
prepareSendText(dispatchText, { raw: o.raw });
|
|
7088
7095
|
const inputId = meta.kind === "claude" ? randomBytes(16).toString("hex") : undefined;
|
|
7089
7096
|
await o.before_send?.({ session_id: name, launch_id: meta.launch_id, vendor: meta.kind,
|
|
@@ -8060,9 +8067,6 @@ function refuseCallerInput(kind, opts) {
|
|
|
8060
8067
|
return;
|
|
8061
8068
|
try {
|
|
8062
8069
|
const servers = (kind === "grok" ? checkGrokCallerInput : kind === "cursor" ? checkCursorCallerInput : checkAntigravityCallerInput)(opts.append_system_prompt, opts.mcp_config);
|
|
8063
|
-
// Cursor puts the text in the seat's first dispatch whatever it is; agy's only channel is the launch prompt itself.
|
|
8064
|
-
if (kind === "antigravity" && opts.append_system_prompt != null && opts.prompt == null && opts.throughline_source_session == null)
|
|
8065
|
-
throw new AitermError("append_system_prompt needs a prompt for antigravity-cli (agy has no instruction channel; the text prefixes the first prompt)", 2);
|
|
8066
8070
|
const envVars = opts.env_vars ?? [];
|
|
8067
8071
|
assertCallerEnv(kind.toUpperCase(), servers, name => envVars.includes(name) ? launchEnvValue(name) : undefined, true);
|
|
8068
8072
|
}
|
package/dist/index.js
CHANGED
|
@@ -1543,7 +1543,7 @@ export function createAitermServer(options = {}) {
|
|
|
1543
1543
|
launch_operation_id: z.string().regex(/^sha256:[0-9a-f]{64}$/).optional().describe("Claude Codeのpromptなしexact replay相関だけで使用"),
|
|
1544
1544
|
remote: remoteInputField,
|
|
1545
1545
|
terminal: terminalArgumentSchema.optional().describe(terminalArgumentDescription),
|
|
1546
|
-
append_system_prompt: z.string().min(1).optional().describe("Launch instructions added to the system prompt; kept in Aiterm state, not in the project or home. Never put secrets here. Codex: appended to developer_instructions after Aiterm's marker; Grok: appended to --rules; at most 64 KiB for both. Cursor and Antigravity have no system-prompt channel: the text goes in front of the first prompt
|
|
1546
|
+
append_system_prompt: z.string().min(1).optional().describe("Launch instructions added to the system prompt; kept in Aiterm state, not in the project or home. Never put secrets here. Codex: appended to developer_instructions after Aiterm's marker; Grok: appended to --rules; at most 64 KiB for both. Cursor and Antigravity have no system-prompt channel: the text goes in front of the first prompt, or of the first input sent to a promptless seat (at most 64 KiB)"),
|
|
1547
1547
|
mcp_config: z.object({ mcpServers: z.record(z.string(), z.unknown()) }).strict().optional().describe("Extra MCP servers for this seat. Secret header values: write ${NAME} and list NAME in env_vars. Codex, Grok, Cursor and Antigravity take only http servers {type?: \"http\", url, headers}: a literal header, 'Authorization: Bearer ${NAME}' or a header whose whole value is ${NAME}; other shapes, and a ${NAME} with no value at launch, are refused before the seat starts. Cursor runs a server as plugin-aiterm-caller-<name> beside a same-name user server; Codex, Grok and Antigravity replace a same-name user server for this seat (Codex: a user stdio server of that name runs Aiterm's relay to the given url instead)"),
|
|
1548
1548
|
fork_from: z.object({
|
|
1549
1549
|
session_id: z.string().regex(/^[A-Za-z0-9_-]{1,64}$/).describe("The main Aiterm seat on the same machine (the terminal or remote when given)"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aiterm-mcp",
|
|
3
|
-
"version": "0.70.
|
|
3
|
+
"version": "0.70.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, Cursor Agent CLI, and Antigravity CLI, plus durable PTYs for SSH, containers, and REPLs.",
|
|
6
6
|
"keywords": [
|