You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
改了什么、为什么
为同一用户自己的 cccodroid 设备增加可选的设备互联功能:
@手机 / @电脑远程执行,实时回传正文、思考和工具事件,并支持插话和停止。实现保持项目现有约束:网关只使用 Node 内置模块,界面仍为原生 JavaScript,不修改 Claude Code 程序。
scripts/build.sh只增加新运行文件的打包逻辑,以及 Windows 路径和签名兼容处理。怎么测的
网关设备互联回归测试:7/7 通过,包括真实启动两个
linkd、拉取会话并通知网关刷新。前端分段语法检查:28 段、17,253 行通过。
翻译扫描:9 种非源语言均已达到 2938/2938。
本地构建 targetSdk 28 和 targetSdk 36 两个 APK,均通过 apksigner v2/v3 校验。
在 Xiaomi 23013RK75C(Android 13)上实测 targetSdk 36 安装包:设置入口、127.0.0.1:9377 上的
linkd、局域网开启和 Windows 设备发现均正常。scripts/build.sh、linkd、中转、远程执行和 MCP 模块均通过 Shell 或 JavaScript 语法检查。新增界面文案均使用
t()并补齐译文未引入新依赖或构建步骤
未提交二进制、压缩或混淆代码,也未修改第三方代码
安全初筛说明
gateway/gw/link.mjs、gateway/link/core.mjs和gateway/link/remote-mcp.mjs只在本机回环鉴权请求中读取现有网关令牌;令牌不会写入日志、不会同步、不会经中转发送,也不会返回给对端。devkit/devkit.mjs、scripts/appjs.mjs和scripts/build.sh的改动是 Windows 路径兼容与打包更新,没有加入签名密钥、口令或其他凭据。