ornold-mcp 1.2.0 → 1.2.1
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/cli.js +6 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -2118,7 +2118,7 @@ function connectServer() {
|
|
|
2118
2118
|
const msg = JSON.parse(data.toString());
|
|
2119
2119
|
if (msg.type === "connected") {
|
|
2120
2120
|
serverReady = true;
|
|
2121
|
-
console.error(`[ornold] Authenticated. Plan: ${msg.plan},
|
|
2121
|
+
console.error(`[ornold] Authenticated. Plan: ${msg.plan}, Seats: ${msg.usage?.seats}/${msg.limits?.seats}, Captchas: ${msg.limits?.captchas}`);
|
|
2122
2122
|
resolve();
|
|
2123
2123
|
}
|
|
2124
2124
|
if (msg.type === "error") {
|
|
@@ -2148,7 +2148,11 @@ function connectServer() {
|
|
|
2148
2148
|
ws.on("close", (code) => {
|
|
2149
2149
|
serverReady = false;
|
|
2150
2150
|
if (code === 4001) {
|
|
2151
|
-
console.error("[ornold] Invalid token. Get your token at https://
|
|
2151
|
+
console.error("[ornold] Invalid token. Get your token at https://mcp.ornold.com");
|
|
2152
|
+
process.exit(1);
|
|
2153
|
+
}
|
|
2154
|
+
if (code === 4003) {
|
|
2155
|
+
console.error("[ornold] Seat limit reached. Upgrade at https://mcp.ornold.com");
|
|
2152
2156
|
process.exit(1);
|
|
2153
2157
|
}
|
|
2154
2158
|
console.error(`[ornold] Disconnected (${code}). Reconnecting in 3s...`);
|