@mearl/cloud-server
Advanced tools
+2
-2
@@ -343,3 +343,3 @@ #!/usr/bin/env node | ||
| success: false, | ||
| error: this.options.allowRemoteAgent && !conn.fromLocal ? "Remote agents must identify themselves with an agent_hello message before issuing commands." : "Agent requests are only accepted on the local interface (127.0.0.1). Run cloud-client on the same machine as cloud-server, or start the server with --allow-remote-agent to override." | ||
| error: this.options.allowRemoteAgent && !conn.fromLocal ? "Remote agents must identify themselves with an agent_hello message before issuing commands." : "Agent requests are only accepted on the local interface (127.0.0.1). Run @mearl/client on the same machine as cloud-server, or start the server with --allow-remote-agent to override." | ||
| }) + "\n" | ||
@@ -624,3 +624,3 @@ ); | ||
| // src/cli.ts | ||
| var CLOUD_SERVER_VERSION = true ? "2.5.1" : "unknown"; | ||
| var CLOUD_SERVER_VERSION = true ? "2.6.0" : "unknown"; | ||
| var argv = process.argv.slice(2); | ||
@@ -627,0 +627,0 @@ if (argv.includes("--version") || argv.includes("-v")) { |
+2
-2
| export interface CloudServerOptions { | ||
| port?: number; | ||
| /** Loopback-only port for the co-located agent (cloud-client). Defaults to port + 1. */ | ||
| /** Loopback-only port for the co-located unified client. Defaults to port + 1. */ | ||
| agentPort?: number; | ||
@@ -20,3 +20,3 @@ path?: string; | ||
| token: string; | ||
| /** URL for a cloud-client running on the same machine (localhost). */ | ||
| /** URL for @mearl/client running on the same machine (localhost). */ | ||
| localUrl: string; | ||
@@ -23,0 +23,0 @@ /** URL for the local connector to dial back into this server. */ |
+1
-1
@@ -337,3 +337,3 @@ // src/index.ts | ||
| success: false, | ||
| error: this.options.allowRemoteAgent && !conn.fromLocal ? "Remote agents must identify themselves with an agent_hello message before issuing commands." : "Agent requests are only accepted on the local interface (127.0.0.1). Run cloud-client on the same machine as cloud-server, or start the server with --allow-remote-agent to override." | ||
| error: this.options.allowRemoteAgent && !conn.fromLocal ? "Remote agents must identify themselves with an agent_hello message before issuing commands." : "Agent requests are only accepted on the local interface (127.0.0.1). Run @mearl/client on the same machine as cloud-server, or start the server with --allow-remote-agent to override." | ||
| }) + "\n" | ||
@@ -340,0 +340,0 @@ ); |
+2
-3
@@ -8,5 +8,4 @@ /** | ||
| /** | ||
| * Connection config written by the running server and read by cloud-client. | ||
| * Keeps the `server` field for backward compatibility; daemon lifecycle | ||
| * commands additionally read `pid` / `port` / `startedAt` from here. | ||
| * Connection config written by the running server and read by @mearl/client. | ||
| * Daemon lifecycle commands additionally read `pid` / `port` / `startedAt`. | ||
| */ | ||
@@ -13,0 +12,0 @@ export declare const CONFIG_FILE: string; |
+4
-4
| { | ||
| "name": "@mearl/cloud-server", | ||
| "version": "2.5.1", | ||
| "version": "2.6.0", | ||
| "description": "Cloud WebSocket server for Mearl — bridges cloud agents to local connectors", | ||
@@ -32,5 +32,5 @@ "type": "module", | ||
| "ws": "^8.18.0", | ||
| "@mearl/client": "2.5.1", | ||
| "@mearl/daemon-core": "2.5.1", | ||
| "@mearl/cloud-types": "2.5.1" | ||
| "@mearl/client": "2.6.0", | ||
| "@mearl/daemon-core": "2.6.0", | ||
| "@mearl/cloud-types": "2.6.0" | ||
| }, | ||
@@ -37,0 +37,0 @@ "devDependencies": { |
+2
-2
@@ -72,3 +72,3 @@ # @mearl/cloud-server | ||
| - `cloud-server.json` - 连接配置(含 server URL、pid、端口等),cloud-client 自动读取 | ||
| - `cloud-server.json` - 连接配置(含 server URL、pid、端口等),统一 `@mearl/client` 自动读取 | ||
| - `cloud-server.log` - 后台进程日志(`logs` 子命令读取,或 `tail -f` 跟踪);超过 5MB 会在下次启动时滚动为 `cloud-server.log.1` | ||
@@ -118,3 +118,3 @@ | ||
| ↓ | ||
| @mearl/cloud-client | ||
| @mearl/client | ||
| ↓ (WebSocket) | ||
@@ -121,0 +121,0 @@ @mearl/cloud-server (本进程) |
55153
-0.12%1389
-0.07%+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
Updated
Updated
Updated