@deadragdoll/tellymcp 0.0.15 → 0.0.16
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 +5 -1
- package/README-ru.md +2 -1
- package/README.md +2 -1
- package/dist/cli.js +8 -7
- package/docs/STANDALONE-ru.md +2 -1
- package/docs/STANDALONE.md +2 -1
- package/package.json +1 -1
- package/scripts/postinstall.js +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,7 +7,11 @@
|
|
|
7
7
|
- CLI больше не загружает `node-pty` до разбора команды: `tellymcp --help`,
|
|
8
8
|
setup и diagnostics остаются доступны при отсутствующем native addon.
|
|
9
9
|
`doctor`, `run` и postinstall теперь реально проверяют `pty.node` и выводят
|
|
10
|
-
platform-aware инструкции для Linux ARM64, npm lifecycle scripts и
|
|
10
|
+
platform-aware инструкции для Linux ARM64, npm lifecycle scripts и чистой
|
|
11
|
+
переустановки пакета.
|
|
12
|
+
- Исправлен `tellymcp doctor`: WebSocket probe больше не удаляет error-listeners
|
|
13
|
+
перед закрытием соединения и не падает с unhandled `WebSocket was closed before
|
|
14
|
+
the connection was established` на HTTP reject, timeout или раннем close.
|
|
11
15
|
- Redis теперь используется только в режимах gateway и `both`. Client runtime
|
|
12
16
|
больше не подключается к Redis и не требует `REDIS_*`; временное состояние
|
|
13
17
|
хранится локально в процессе, а стабильный `gateway_client_uuid` — в
|
package/README-ru.md
CHANGED
|
@@ -134,7 +134,8 @@ npm install -g @deadragdoll/tellymcp --foreground-scripts
|
|
|
134
134
|
установился без него, восстанови глобальную установку:
|
|
135
135
|
|
|
136
136
|
```bash
|
|
137
|
-
npm
|
|
137
|
+
npm uninstall -g @deadragdoll/tellymcp
|
|
138
|
+
npm install -g @deadragdoll/tellymcp@latest --foreground-scripts
|
|
138
139
|
tellymcp doctor --env <file>
|
|
139
140
|
```
|
|
140
141
|
|
package/README.md
CHANGED
|
@@ -134,7 +134,8 @@ the install lifecycle builds `pty.node` locally. If a previous installation
|
|
|
134
134
|
completed without it, repair the global package with:
|
|
135
135
|
|
|
136
136
|
```bash
|
|
137
|
-
npm
|
|
137
|
+
npm uninstall -g @deadragdoll/tellymcp
|
|
138
|
+
npm install -g @deadragdoll/tellymcp@latest --foreground-scripts
|
|
138
139
|
tellymcp doctor --env <file>
|
|
139
140
|
```
|
|
140
141
|
|
package/dist/cli.js
CHANGED
|
@@ -29,7 +29,8 @@ function nativePtyRecoveryLines() {
|
|
|
29
29
|
]
|
|
30
30
|
: []),
|
|
31
31
|
"Ensure npm lifecycle scripts are enabled: npm config set ignore-scripts false",
|
|
32
|
-
"
|
|
32
|
+
"Remove the broken global package: npm uninstall -g @deadragdoll/tellymcp",
|
|
33
|
+
"Reinstall and compile native dependencies: npm install -g @deadragdoll/tellymcp@latest --foreground-scripts",
|
|
33
34
|
];
|
|
34
35
|
}
|
|
35
36
|
async function checkNativePtyRuntime() {
|
|
@@ -647,14 +648,13 @@ async function checkWebSocketUrl(url, timeoutMs = 3000) {
|
|
|
647
648
|
}
|
|
648
649
|
settled = true;
|
|
649
650
|
clearTimeout(timer);
|
|
650
|
-
|
|
651
|
-
|
|
651
|
+
resolve({ ok, message });
|
|
652
|
+
if (socket.readyState === ws_1.default.OPEN) {
|
|
652
653
|
socket.close();
|
|
653
654
|
}
|
|
654
|
-
|
|
655
|
-
|
|
655
|
+
else if (socket.readyState === ws_1.default.CONNECTING) {
|
|
656
|
+
socket.terminate();
|
|
656
657
|
}
|
|
657
|
-
resolve({ ok, message });
|
|
658
658
|
};
|
|
659
659
|
const socket = new ws_1.default(url);
|
|
660
660
|
const timer = setTimeout(() => {
|
|
@@ -667,13 +667,14 @@ async function checkWebSocketUrl(url, timeoutMs = 3000) {
|
|
|
667
667
|
socket.once("unexpected-response", (_req, response) => {
|
|
668
668
|
finish(false, `${url} returned HTTP ${response.statusCode ?? "unknown"} during WebSocket upgrade`);
|
|
669
669
|
});
|
|
670
|
-
socket.
|
|
670
|
+
socket.on("error", (error) => {
|
|
671
671
|
finish(false, `${url} failed: ${error.message}`);
|
|
672
672
|
});
|
|
673
673
|
socket.once("close", (code) => {
|
|
674
674
|
if (!opened) {
|
|
675
675
|
finish(false, `${url} closed before open (code ${code})`);
|
|
676
676
|
}
|
|
677
|
+
socket.removeAllListeners();
|
|
677
678
|
});
|
|
678
679
|
});
|
|
679
680
|
}
|
package/docs/STANDALONE-ru.md
CHANGED
|
@@ -34,7 +34,8 @@ npm install -g @deadragdoll/tellymcp --foreground-scripts
|
|
|
34
34
|
Если после предыдущей установки `pty.node` отсутствует, выполни:
|
|
35
35
|
|
|
36
36
|
```bash
|
|
37
|
-
npm
|
|
37
|
+
npm uninstall -g @deadragdoll/tellymcp
|
|
38
|
+
npm install -g @deadragdoll/tellymcp@latest --foreground-scripts
|
|
38
39
|
```
|
|
39
40
|
|
|
40
41
|
Опционально:
|
package/docs/STANDALONE.md
CHANGED
|
@@ -34,7 +34,8 @@ Linux ARM64 because the dependency does not ship a matching prebuilt binary.
|
|
|
34
34
|
If `pty.node` is missing after an earlier install, run:
|
|
35
35
|
|
|
36
36
|
```bash
|
|
37
|
-
npm
|
|
37
|
+
npm uninstall -g @deadragdoll/tellymcp
|
|
38
|
+
npm install -g @deadragdoll/tellymcp@latest --foreground-scripts
|
|
38
39
|
```
|
|
39
40
|
|
|
40
41
|
Optional:
|
package/package.json
CHANGED
package/scripts/postinstall.js
CHANGED
|
@@ -50,7 +50,10 @@ if (nativePty.available) {
|
|
|
50
50
|
line(" Debian/Ubuntu prerequisites: sudo apt install -y python3 make g++");
|
|
51
51
|
}
|
|
52
52
|
line(" Ensure scripts are enabled: npm config set ignore-scripts false");
|
|
53
|
-
line("
|
|
53
|
+
line(" Remove broken install: npm uninstall -g @deadragdoll/tellymcp");
|
|
54
|
+
line(
|
|
55
|
+
" Reinstall: npm install -g @deadragdoll/tellymcp@latest --foreground-scripts",
|
|
56
|
+
);
|
|
54
57
|
}
|
|
55
58
|
|
|
56
59
|
line();
|