@mearl/cloud-server 2.22.5 → 2.23.0
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/README.md +3 -3
- package/dist/chunks/{chunk-33X2BGX5.js → chunk-UGCZ6R3Y.js} +1 -1
- package/dist/cli.js +4 -4
- package/dist/index.js +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
推荐通过 setup 安装完整的云端 Agent 环境(cloud-server、统一 client 与 Agent Skill):
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npx @mearl/setup --cloud
|
|
10
|
+
npx @mearl/setup@2 --cloud
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
Qoder Cloud Agent 使用同一套包和 server 命令,只在 setup 时选择配对模式:
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
npx @mearl/setup --qoder-cloud --yes
|
|
16
|
+
npx @mearl/setup@2 --qoder-cloud --yes
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
在 Docker 或自定义进程托管等只需要 Server 包的场景,可单独安装 `@mearl/cloud-server`。
|
|
@@ -75,7 +75,7 @@ mearl-cloud-server --foreground
|
|
|
75
75
|
[CloudServer] Logs: ~/.mearl/cloud-server.log
|
|
76
76
|
|
|
77
77
|
Connect from your local machine:
|
|
78
|
-
npx @mearl/cloud-connector start "ws://10.0.1.100:8080/ws?token=xxx"
|
|
78
|
+
npx @mearl/cloud-connector@2 start "ws://10.0.1.100:8080/ws?token=xxx"
|
|
79
79
|
```
|
|
80
80
|
|
|
81
81
|
运行时文件位于 `~/.mearl/`:
|
|
@@ -111,7 +111,7 @@ var CloudServer = class {
|
|
|
111
111
|
"[CloudServer] Connector traffic is using unencrypted ws://. Use a TLS-terminating proxy and wss:// when the connection crosses a trusted network."
|
|
112
112
|
);
|
|
113
113
|
}
|
|
114
|
-
const connectorCommand = `npx @mearl/cloud-connector start "${publicWsUrl}"`;
|
|
114
|
+
const connectorCommand = `npx @mearl/cloud-connector@2 start "${publicWsUrl}"`;
|
|
115
115
|
console.log(
|
|
116
116
|
`[CloudServer] Connector listener on 0.0.0.0:${this.options.port} (network); agent listener on 127.0.0.1:${this.options.agentPort} (local only)`
|
|
117
117
|
);
|
package/dist/cli.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
CloudServer,
|
|
5
5
|
LOG_FILE,
|
|
6
6
|
MODE_FILE
|
|
7
|
-
} from "./chunks/chunk-
|
|
7
|
+
} from "./chunks/chunk-UGCZ6R3Y.js";
|
|
8
8
|
|
|
9
9
|
// src/cli.ts
|
|
10
10
|
import { Command, CommanderError, InvalidArgumentError } from "commander";
|
|
@@ -17,7 +17,7 @@ function formatConnectInfo(record) {
|
|
|
17
17
|
const config = record;
|
|
18
18
|
const lines = [];
|
|
19
19
|
if (config.port) lines.push(` port: ${config.port}`);
|
|
20
|
-
const command = config.publicUrl ? `npx @mearl/cloud-connector start "${config.publicUrl}"` : config.connectorCommand;
|
|
20
|
+
const command = config.publicUrl ? `npx @mearl/cloud-connector@2 start "${config.publicUrl}"` : config.connectorCommand;
|
|
21
21
|
if (command) {
|
|
22
22
|
lines.push("");
|
|
23
23
|
lines.push(" Connect from your local machine:");
|
|
@@ -139,7 +139,7 @@ function createQoderPairingInfo(options = {}) {
|
|
|
139
139
|
};
|
|
140
140
|
}
|
|
141
141
|
function formatQoderPairingOutput(info) {
|
|
142
|
-
const connectorCommand = `npx @mearl/cloud-connector start "${info.connectorUrl}"`;
|
|
142
|
+
const connectorCommand = `npx @mearl/cloud-connector@2 start "${info.connectorUrl}"`;
|
|
143
143
|
return `[CloudServer] Qoder pairing mode is ready.
|
|
144
144
|
|
|
145
145
|
Connect from your local machine:
|
|
@@ -176,7 +176,7 @@ async function runQoderCloudServerCommand(command, dependencies) {
|
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
// src/cli.ts
|
|
179
|
-
var CLOUD_SERVER_VERSION = true ? "2.
|
|
179
|
+
var CLOUD_SERVER_VERSION = true ? "2.23.0" : "unknown";
|
|
180
180
|
var COMMANDS = ["start", "stop", "restart", "status", "logs"];
|
|
181
181
|
var START_OPTION_NAMES = /* @__PURE__ */ new Set([
|
|
182
182
|
"foreground",
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mearl/cloud-server",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.23.0",
|
|
4
4
|
"description": "Cloud WebSocket server for Mearl — bridges cloud agents to local connectors",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"commander": "^14.0.3",
|
|
37
37
|
"ws": "^8.18.0",
|
|
38
|
-
"@mearl/
|
|
39
|
-
"@mearl/cloud-types": "2.
|
|
40
|
-
"@mearl/
|
|
38
|
+
"@mearl/daemon-core": "2.23.0",
|
|
39
|
+
"@mearl/cloud-types": "2.23.0",
|
|
40
|
+
"@mearl/client": "2.23.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/node": "^24.9.1",
|