aiterm-mcp 0.19.1 → 0.19.2
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/dist/core.js +3 -3
- package/package.json +1 -1
package/dist/core.js
CHANGED
|
@@ -1234,16 +1234,16 @@ export function listSessions() {
|
|
|
1234
1234
|
* session 名・前面コマンド・PTY 出力を診断応答へ持ち出さないため、factory が安全に readiness を
|
|
1235
1235
|
* 見られる。socket 不在は「セッション未設定」であって障害ではない。
|
|
1236
1236
|
*/
|
|
1237
|
-
export function readOnlyPtyListDiagnostic() {
|
|
1237
|
+
export function readOnlyPtyListDiagnostic(runTmux = tmux) {
|
|
1238
1238
|
try {
|
|
1239
|
-
const r =
|
|
1239
|
+
const r = runTmux("list-sessions", "-F", "#{session_name}");
|
|
1240
1240
|
if (r.code === 0) {
|
|
1241
1241
|
return { status: "ready", session_count: r.stdout.split(/\r?\n/).filter(Boolean).length };
|
|
1242
1242
|
}
|
|
1243
1243
|
// tmux は専用 socket に server がいない通常状態を exit 1 で返す。その他の失敗を「空」と
|
|
1244
1244
|
// 偽装しないため、メッセージを公開せず unverified に留める。
|
|
1245
1245
|
if (/no server running|failed to connect/i.test(r.stderr)) {
|
|
1246
|
-
return { status: "not_applicable", session_count:
|
|
1246
|
+
return { status: "not_applicable", session_count: null };
|
|
1247
1247
|
}
|
|
1248
1248
|
}
|
|
1249
1249
|
catch {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aiterm-mcp",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.2",
|
|
4
4
|
"mcpName": "io.github.kitepon-rgb/aiterm-mcp",
|
|
5
5
|
"description": "AI-driven persistent terminal as a local stdio MCP server (tmux-backed). Holds one local PTY; SSH and containers are just commands you send into it. Also launches interactive Claude/Codex/Grok/Composer agent TUIs in a persistent terminal. Token-reducing reads.",
|
|
6
6
|
"keywords": [
|