@saltpub/agent-bridge 0.1.3 → 0.1.4
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 +17 -0
- package/README.md +3 -3
- package/dist/cli.js +176 -175
- package/dist/index.js +3 -3
- package/dist/launcher.js +7 -7
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# agent-bridge
|
|
2
2
|
|
|
3
|
+
## 0.1.4
|
|
4
|
+
|
|
5
|
+
### Highlights
|
|
6
|
+
|
|
7
|
+
- 修复尚未创建 Profile 时打开 Web 控制台后升级一直停在「已暂存」的问题。Web 更新提示仅保留版本信息和本地更新命令,移除 npm 链接。
|
|
8
|
+
- 已获准的任务默认不再限制总运行时长,可一直运行到完成或被取消;首次领取授权仍须在 30 秒内完成,显式设置的运行时限继续生效。旧配置中等于历史默认值的运行超时会迁移为不限时。
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- perf(sessions): 任务默认不限时并加快启动校验
|
|
13
|
+
|
|
14
|
+
### Fixed
|
|
15
|
+
|
|
16
|
+
- fix(log): 统一按本地时区输出时间戳
|
|
17
|
+
- fix(update): 修复零 Profile 升级并统一开机启动
|
|
18
|
+
- fix(update): 自动建立首次更新的回滚基线
|
|
19
|
+
|
|
3
20
|
## 0.1.3
|
|
4
21
|
|
|
5
22
|
### Highlights
|
package/README.md
CHANGED
|
@@ -53,7 +53,7 @@ npm install -g @saltpub/agent-bridge
|
|
|
53
53
|
agent-bridge web
|
|
54
54
|
```
|
|
55
55
|
|
|
56
|
-
首次打开空的 `AGENT_BRIDGE_HOME` 时,控制台会加载内置渠道。在「渠道管理」选择「添加渠道」,填写 profile
|
|
56
|
+
首次打开空的 `AGENT_BRIDGE_HOME` 时,控制台会加载内置渠道。在「渠道管理」选择「添加渠道」,填写 profile 名称并完成平台接入。普通安装由本机 launcher 托管控制台,可以关闭启动命令的终端。若终端提示正在前台托管,请保持终端运行。使用 `agent-bridge web --print` 可获取当前控制台地址。
|
|
57
57
|
|
|
58
58
|
- **Xiaojiu**:填写 App ID 与 App Secret,接入后配置消息回调,见[小九接入说明](./docs/xiaojiu.md)。
|
|
59
59
|
- **钉钉**:填写 Client ID、Client Secret 与 Robot Code,见[钉钉接入说明](./docs/channel/dingtalk.md)。
|
|
@@ -86,7 +86,7 @@ agent-bridge stop --profile team
|
|
|
86
86
|
agent-bridge unregister --profile team
|
|
87
87
|
```
|
|
88
88
|
|
|
89
|
-
`
|
|
89
|
+
网页「开机启动」和 `profile autostart <name> on|off` 只设置下次登录时启动哪些 Profile。开启第一个时注册并启用系统服务,关闭最后一个时禁用登录启动,当前在线状态保持不变。裸 `start`、`stop`、`restart` 只操作已勾选的 Profile,空名单直接返回。带 `--profile` 时只操作指定目标。`kill <uid>` 下线指定在线实例。
|
|
90
90
|
|
|
91
91
|
</details>
|
|
92
92
|
|
|
@@ -137,7 +137,7 @@ agent-bridge changelog
|
|
|
137
137
|
|
|
138
138
|
`migrate` 可迁移旧版 `agent-bridge` 与 `xiaojiu-agent-bridge` 配置,详见[配置迁移](./docs/operations/offline-migration.md)。
|
|
139
139
|
|
|
140
|
-
|
|
140
|
+
`update --check` 查询可用版本和更新说明。普通安装直接运行 `agent-bridge update` 即可升级,即使还没有创建 profile。没有宿主运行时,新版本立即供下一条命令使用。控制台由 launcher 托管时,宿主会等任务空闲后自动切换。用 `agent-bridge -v` 查看已采用的版本,重新运行 `agent-bridge web` 可取得新版控制台地址。Windows PowerShell 可用 `agent-bridge.cmd` 执行这些命令。
|
|
141
141
|
|
|
142
142
|
设置 `AGENT_BRIDGE_NO_UPDATE_CHECK=1` 可关闭自动检查。CI、非交互终端和管道输出不会显示更新提示。
|
|
143
143
|
|