feat: add background dev mode and hide terminal#77
Open
techdou wants to merge 1 commit into
Open
Conversation
qiuzhi2046
reviewed
Apr 7, 2026
| BOLD='\033[1m' | ||
| NC='\033[0m' # No Color | ||
|
|
||
| QCLAW_DIR="/Users/techdou/Project/Qclaw" |
Owner
There was a problem hiding this comment.
- 这里直接硬编码路径了,所有 qclaw dev/bg/build/test/update 子命令都会失效
Comment on lines
+12
to
+15
| * 允许升级到最新版本的标志 | ||
| * 设为 true 后,高于 MAX_SUPPORTED 的版本不再被阻断 | ||
| */ | ||
| export const ALLOW_LATEST_OPENCLAW_VERSION = true |
Owner
There was a problem hiding this comment.
- 如果Openclaw发布了新版本,并做了破坏性更新,这会导致很多功能失效,导致软件非常不稳定
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更说明
本次 PR 主要包含两部分增强功能:
开发体验优化(后台运行模式):
scripts/qclaw-start.sh,新增qclaw bg命令以支持将开发服务器放到后台静默运行。qclaw status(状态查询)、qclaw stop(停止服务)和qclaw log(实时查看日志)等进程管理命令。.gitignore,防止误提交新的.qclaw-dev.pid文件。OpenClaw 升级与版本策略重构(动态版本支持):
openclaw-version-adapter.ts,为升级流程引入了动态版本适配和校验能力。OpenClawUpgradeDialog.tsx及底层的升级服务 (openclaw-upgrade-service.ts),现在可以更加平滑且安全地进行动态目标版本的升级。变更类型
影响范围
electron/main/)electron/preload/)src/)测试
npm run typechecknpm testnpm run dev验证功能补充说明
qclaw bg,目前实现了基于 PID 文件的轻量级进程管理,并在 macOS 的 Terminal 和 iTerm2 测试过窗口自动隐藏。__tests__)。