@twinsearth/im2agent 1.6.5 → 2.1.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/README.md +2 -2
- package/bin/im2a.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ IM2A gateway 的跨平台 npm 启动器。安装后可用 `im2a` 命令启动网
|
|
|
4
4
|
首次运行会从 GitHub Release 下载对应平台的 Go 二进制并缓存到 `~/.im2a/bin/<version>`。
|
|
5
5
|
|
|
6
6
|
```bash
|
|
7
|
-
npm install -g im2agent
|
|
7
|
+
npm install -g @twinsearth/im2agent
|
|
8
8
|
im2a -port 8080
|
|
9
9
|
curl http://127.0.0.1:8080/healthz
|
|
10
10
|
```
|
|
@@ -18,4 +18,4 @@ export IM2A_BIN=/path/to/im2a-gateway_linux_amd64
|
|
|
18
18
|
im2a -port 8080
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
平台覆盖:linux / darwin / windows × amd64 / arm64。版本与 Go 后端同步(当前 1.
|
|
21
|
+
平台覆盖:linux / darwin / windows × amd64 / arm64。版本与 Go 后端同步(当前 1.8.8)。
|
package/bin/im2a.js
CHANGED
|
@@ -9,7 +9,7 @@ const https = require('https');
|
|
|
9
9
|
const { spawn } = require('child_process');
|
|
10
10
|
const { execFileSync } = require('child_process');
|
|
11
11
|
|
|
12
|
-
const PKG_VERSION = '1.
|
|
12
|
+
const PKG_VERSION = '1.8.8';
|
|
13
13
|
const REPO = 'TwinsEarth/im2agent';
|
|
14
14
|
|
|
15
15
|
function platformAsset() {
|