v2.0.4
- Release date: 2026-04-09
- Git tag: not recorded as a stable tag on the current npm line; related prerelease tag:
v2.0.4-b1
Summary
Features
- cli:统一启动策略为「默认本地子进程后端」,
secbot / start:stack / start:tui 均由 TUI 主导后端连接模式。
- tui:新增
--service 服务模式参数(保留 --remote 兼容别名);SECBOT_TUI_BACKEND 统一支持 spawn|service|remote|auto。
- tui:子进程模式未显式设置
PORT 时,自动选择空闲端口(优先 8000)并回写 SECBOT_API_URL,避免端口冲突。
Documentation
- 同步更新
README.md、README_CN.md、README_EN.md 与 terminal-ui/README.md,明确默认子进程与可选服务模式的启动方式。
Timeline Notes
- Representative commits:
951d20c, c5b8e4b, 4ad3185, 684bd56.
- This release hardened the TypeScript local product experience before the beta channel moved to
v2.0.0-b1.