botmux 3.21.0 → 3.22.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.en.md +2 -0
- package/README.md +6 -0
- package/package.json +14 -14
package/README.en.md
CHANGED
|
@@ -48,6 +48,8 @@ botmux start # start the daemon (botmux autostart enable for aut
|
|
|
48
48
|
>
|
|
49
49
|
> Nothing native is compiled during install (no Python / node-gyp / compiler): the PTY is already inside the binary. Supported: linux / macOS × x64 / arm64, with musl builds selected automatically on Alpine and similar. **On Windows, install inside WSL2** — the daemon needs PTY / tmux / Unix signals and does not run on native Windows; WSL2 reports as linux and is a fully supported first-class environment. An unsupported platform, or a binary that cannot run on this host, **fails with an explicit error and leaves your existing install untouched** rather than leaving you with a command that won't start.
|
|
50
50
|
>
|
|
51
|
+
> Stable macOS CLI releases use a consistent Apple Developer ID signature. Replacing the binary during an upgrade therefore preserves the code identity used by macOS file and App Data permissions instead of appearing as a new program for every version. Canary, beta, and RC builds remain ad-hoc signed.
|
|
52
|
+
>
|
|
51
53
|
> To upgrade: `botmux upgrade` (replaces the binary in place), or just **re-run the curl command** — also an in-place upgrade, and it won't append a second PATH line.
|
|
52
54
|
|
|
53
55
|
<details>
|
package/README.md
CHANGED
|
@@ -48,6 +48,8 @@ botmux start # 启动 daemon(botmux autostart enable 设开机
|
|
|
48
48
|
>
|
|
49
49
|
> 安装过程**不编译任何原生模块**(不需要 Python / node-gyp / 编译器):PTY 已经嵌在二进制里。支持 linux / macOS × x64 / arm64(Alpine 等 musl 环境自动选 musl 版);**Windows 请在 WSL2 里安装**(daemon 依赖 PTY / tmux / Unix 信号,原生 Windows 跑不了;WSL2 报告为 linux,是完整支持的一等环境)。平台不在列表里、或下下来的二进制在本机跑不起来,安装会**明确报错并保留原有版本**,而不是装上一个起不来的命令。
|
|
50
50
|
>
|
|
51
|
+
> 正式版 macOS CLI 使用稳定的 Apple Developer ID 签名。升级替换二进制后,macOS 的文件与 App 数据访问授权仍绑定同一代码身份,不会因为版本哈希变化而把 botmux 当成一个新程序;canary / beta / rc 等预览版仍使用 ad-hoc 签名。
|
|
52
|
+
>
|
|
51
53
|
> 升级:`botmux upgrade`(原地换二进制),或**重跑一遍上面那条 curl 命令**——同样原地升级,不会重复往启动文件里追加 PATH。
|
|
52
54
|
|
|
53
55
|
<details>
|
|
@@ -117,6 +119,10 @@ npm 包内带的是**同一个自包含二进制**(按 os/arch 只装匹配的
|
|
|
117
119
|
|
|
118
120
|
这个选择只切换裸 CLI 适配器,不继承当前 bot 配置中的 `wrapperCli`、`model` 或 `startupCommands`。因此依赖 `ttadk`、`aiden` 等 wrapper / 网关才能启动的 CLI,不适合用会话级选择切换;应直接把 bot 默认配置设为对应的 wrapper 组合。会话启动后 CLI 选择冻结,后续消息和恢复都会继续使用该 CLI。
|
|
119
121
|
|
|
122
|
+
### 会话级 Codex 实例
|
|
123
|
+
|
|
124
|
+
同一 Bot 的 Codex 多登录目录可使用 [会话级 Codex 实例](docs/codex-instances.md):显式 `codexHome` 与默认实例、加权随机新会话分配,以及固定实例的恢复/fork。初始化和登录见该文档;不提供额度不足自动换号。
|
|
125
|
+
|
|
120
126
|
### 最终回答反馈(按 bot、默认关闭)
|
|
121
127
|
|
|
122
128
|
在单个 `bots.json` 条目中设置 `feedback.enabled: true`,可在最终回答卡片中收集固定三态语义 `positive / progress / negative` 的反馈;默认按钮为“结论可用 / 有效推进 / 结论有误”。按钮文案、样式、顺序、可见语义、负向原因、说明框与是否允许改选均可配置。默认关闭,`apiOnly` bot、进度卡、自定义卡、通知和语音不显示反馈控件。当前仅本次提问者可反馈,提交后原卡片原地更新,自由文本不会回显到群卡。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "botmux",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.22.0",
|
|
4
4
|
"description": "Bridge between IM platforms and AI coding CLIs — one topic, one CLI session with live streaming",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -30,13 +30,13 @@
|
|
|
30
30
|
"daemon:bun": "bun src/index-daemon.ts",
|
|
31
31
|
"supervisor:bun": "bun src/index-supervisor.ts",
|
|
32
32
|
"dashboard:bun": "bun src/index-dashboard.ts",
|
|
33
|
-
"daemon:start": "
|
|
34
|
-
"daemon:stop": "
|
|
35
|
-
"daemon:restart": "
|
|
36
|
-
"daemon:logs": "
|
|
37
|
-
"daemon:status": "
|
|
38
|
-
"use:here": "
|
|
39
|
-
"creds:sync": "
|
|
33
|
+
"daemon:start": "bun dist/cli.js start",
|
|
34
|
+
"daemon:stop": "bun dist/cli.js stop",
|
|
35
|
+
"daemon:restart": "bun dist/cli.js restart",
|
|
36
|
+
"daemon:logs": "bun dist/cli.js logs",
|
|
37
|
+
"daemon:status": "bun dist/cli.js status",
|
|
38
|
+
"use:here": "bun scripts/claim-botmux-bin.mjs",
|
|
39
|
+
"creds:sync": "bun dist/cli.js suspend --isolated",
|
|
40
40
|
"switch:here": "bun run build && bun run use:here",
|
|
41
41
|
"test": "vitest run --project unit",
|
|
42
42
|
"test:all": "vitest run",
|
|
@@ -80,12 +80,12 @@
|
|
|
80
80
|
},
|
|
81
81
|
"optionalDependencies": {
|
|
82
82
|
"@napi-rs/canvas": "^0.1.65",
|
|
83
|
-
"botmux-darwin-arm64": "3.
|
|
84
|
-
"botmux-darwin-x64": "3.
|
|
85
|
-
"botmux-linux-arm64": "3.
|
|
86
|
-
"botmux-linux-arm64-musl": "3.
|
|
87
|
-
"botmux-linux-x64": "3.
|
|
88
|
-
"botmux-linux-x64-musl": "3.
|
|
83
|
+
"botmux-darwin-arm64": "3.22.0",
|
|
84
|
+
"botmux-darwin-x64": "3.22.0",
|
|
85
|
+
"botmux-linux-arm64": "3.22.0",
|
|
86
|
+
"botmux-linux-arm64-musl": "3.22.0",
|
|
87
|
+
"botmux-linux-x64": "3.22.0",
|
|
88
|
+
"botmux-linux-x64-musl": "3.22.0"
|
|
89
89
|
},
|
|
90
90
|
"devDependencies": {
|
|
91
91
|
"@midscene/web": "^1.7.6",
|