Repository navigation
✨ feat: eXe 设备对齐 Cybion Worker 全套工具、连接检查与终极机器 - #870
Merged
Merged
Conversation
与 eXe v0.8.0 对齐,将 eXe 设备在 Cybion 控制器中的能力拉齐到桌面 Cybion Worker: - 全量原生工具派发(src/cloud/exe.rs、src/cloud.rs、tools.json):支持 bash、browser_control、computer_use、view_image 四个动词,完整处理多模态图片结果(data_url/blob 附件)与非 0 退出码映射。 - 连接检查接入(src/cloud/worker_onboarding.rs、web/src/components/exe-devices.tsx):允许对 eXe 设备触发并回写既有的 worker_checks 连接检查(调用 eXe 原生 diagnostics 动词),低于 v0.8.0 时明确提示升级;不改动任何 SQLite schema。 - 终极机器支持(src/cloud/machines.rs):支持将已接入的自有 eXe 设备用于终极机器周期性巡检,经同一条端到端加密 shell 通道执行并回传结果。 - 界面、文档与测试(web/e2e/exe-devices.spec.ts、src/cloud/exe/tests.rs、docs/exe-devices.md):更新设置页与工具说明,补充后端单元/集成测试与前端 E2E 覆盖。
zccz14
enabled auto-merge (squash)
December 2, 2026 22:36
Merged
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.
改动背景
eXe v0.8.0(https://github.com/zccz14/eXe/pull/67)已在SealedCall端到端加密通道内实现browser_control、computer_use、view_image与diagnostics四个原生动词,使 eXe 桌面设备的能力边界与桌面版cybion-worker对齐。本 PR 在 Cybion 控制器侧完成全面承接。主要改动
src/cloud/exe.rs、src/cloud.rs、tools.json):bash、browser_control、computer_use、view_image四个设备工具,不再限制为仅执行bash。image_data_url/images/ R2 blob 附件)与非 0 退出码映射(携带exit_code的子进程非 0 退出判为completed,与cybion-worker保持一致)。src/cloud/worker_onboarding.rs、src/cloud/worker_sharing.rs、web/src/components/exe-devices.tsx、web/src/components/worker-connections.tsx):worker_checks连接检查(调用 eXe 原生diagnostics动词),不改动任何既有 SQLite schema。0.8.0的 eXe 设备返回 409 并提示运行exe upgrade。src/cloud/machines.rs):shell通道执行周期检查并回写运行状态。docs/exe-devices.md、src/cloud/exe/tests.rs、web/e2e/exe-devices.spec.ts):复杂度与兼容性说明
src/cloud/exe.rs(动词分发、诊断执行、退出码与多模态输出映射)、src/cloud/machines.rs(按kind == "exe"路由到 eXe 通道)与src/cloud/worker_onboarding.rs(eXe 诊断触发与版本门禁)。worker_onboarding::check_start中针对version < 0.8.0eXe 设备的升级提示门禁,已标注COMPATIBILITY注释说明退出条件。本地等效 CI 验证
python3 scripts/check-schema-fixtures.py:通过packages/cybion-componentstypecheck / test(122/122) / build:通过webcheck(251/251) /check-frontend-duplicates.sh/test:e2e(183 tests) / build:通过check-responses-parity.py/test-smoke-worker-onboarding.py/bash -n部署脚本:通过cargo fmt --check/cargo clippy --all-targets --locked -- -D warnings/cargo test --locked(512 passed) /scripts/test-thread-recovery.sh:通过