Skip to content

cccodroid v0.8.4

Latest

Choose a tag to compare

@greyoak111 greyoak111 released this 02 Dec 11:45

简体中文 · English

完成国内四厂侧载开发者身份验证(ADV 互认),大幅优化长对话流式渲染性能,并全面加固文档沙箱、网关状态写盘与安卓宿主可靠性。

侧载安装与生态认证

  • 完成国内四厂侧载开发者身份验证(ADV 互认):正式发布包名与签名证书已完成移动智能终端生态联盟(荣耀、小米、OPPO、vivo 四方互认)侧载开发者身份验证。在上述品牌设备上从 GitHub 或官网下载安装、以及通过应用内检查更新覆盖升级时,系统安装器可直接核验官方签名归属,减少「未经验证的开发者」风险拦截提示;认证仅绑定包名与发布公钥指纹,应用本身不引入任何厂商 SDK 或额外联网行为。

流式性能与文档预览

  • 流式输出合批与布局减负:对长对话流式增量输出、工具调用折叠组(ToolGroup)、子代理卡片及脉络图(CCLineageMap)实施帧级渲染合批与 DOM 读写分离,降低高频输出及超长会话切换时的重排抖动与主线程占用。
  • 文档预览 Worker 沙箱化:Word(.docx)解析迁入独立受控 Web Worker(docx-worker.js)并支持大图文内嵌文档预览,收紧表格(SheetJS)与 PDF 预览沙箱边界及严格内容安全策略(CSP),避免异常大文件解析阻塞主界面;补齐 /login 自动滚回底部与失效会话草稿自动回落保护。

网关、沙箱与组件加固

  • 状态落盘与会话队列防竞态:会话状态文件、自定义服务商与用户配置改用原子替换落盘与串行化锁保护;修正移入回收站时排队待发消息的清理时序,加固后台长会话保活与子进程异常退出后的资源回收。
  • 扩展封签与包管理安全:完善用户级与工程内技能目录的软链环路去重及边界校验,组件市场文件系统读写改为互斥串行执行,升级内置 7zz 解压路径防护与 pkg 脚本 OpenPGP 验签校验。

安卓宿主与多语言

  • 宿主生命周期与特权通道加固:加固 WebView 重建与渲染进程异常恢复、安装与工具包更新的 ZIP 头及哈希原子核验、硬件密钥库(KeyStore)授权代次并发保护、后台定时唤醒载荷以及 SAF 文档提供器对敏感凭据目录的隔离(保留工程内 .claude 指令与技能目录正常读写)。
  • 多语言与主题细节:修正繁体中文系统环境下的版本更新说明匹配逻辑,优化触屏输入框焦点样式优先级,九语词典(3,167 键)与主题对比度门禁全量对齐。

说明

  • 网关与前端测试套件(2,025 项断言)、真实 Chromium 流式性能基准(45/45)、Java 宿主安全与回归单测及九语词典校验全部通过;升级不会改动已有会话、设置和档案。

安装

下载 cccodroid.apk 安装(系统提示「与此版本的安卓不兼容」、装不上时,改装 cccodroid-36.apk)。首次打开先勾选要装的工具包模块(默认约 330 MB,全部约 700 MB,断点续传),再下载官方 Claude Code(约 275 MB)。

校验

  • cccodroid.apk sha256:37910a55cf80e967ec114ef8b9feaafd1ac417144fdc47c7f146c5428c7c2bf4
  • cccodroid-36.apk(targetSdk 36)sha256:b96dbda6c25dbba5a3e5e73ad460e5498d5fea1b3212689efd37f8b61fd4c89c
  • 配套开发工具包:devkit-2026.11.21.2
  • 源码提交:16f274f72ae659c00b9fef041160d2df4c931700

English

Completes cross-vendor Android Developer Verification (ADV) for sideloaded installs, improves long-session streaming performance, and hardens document sandboxing, gateway persistence, and Android host reliability.

Sideload Verification

  • Verified under Android Developer Verification (ADV): The official package name and release signing certificate are now registered and verified under the ITGSA cross-vendor sideload verification program (HONOR, Xiaomi, OPPO, and vivo mutual recognition). Sideloading from GitHub or the official website and installing in-app updates on these devices now pass system installer attribution checks without unverified-developer warnings, with zero vendor SDKs or telemetry added to the APK.

Streaming Performance & Document Viewer

  • Frame-batched streaming & reduced layout thrashing: Frame-level render coalescing and DOM read/write separation across streaming chat output, ToolGroup cards, subagent cards, and CCLineageMap significantly reduce layout reflows and main-thread overhead during rapid token streaming and large-session switching.
  • Worker-sandboxed document previews: .docx rendering now runs inside an isolated Web Worker (docx-worker.js) with support for large image-rich documents, alongside tightened SheetJS/PDF sandbox boundaries and strict Content Security Policy (CSP) enforcement so malformed or oversized documents cannot stall the UI; /login now scrolls to the latest output automatically and deleted-session drafts fall back cleanly.

Gateway, Sandbox & Component Hardening

  • Atomic state persistence & queue race fixes: Session state files, custom API provider settings, and user configs now use serialized locks and atomic file replacement; trashing a session cleanly drops queued follow-up items in the right order, and subprocess/keepalive cleanup on abnormal exit is hardened.
  • Extension sealing & package integrity: Added symlink cycle deduplication and project-root boundary checks for skill/extension directories, serialized component marketplace filesystem mutations, and strengthened built-in 7zz path-traversal guards and pkg OpenPGP signature verification.

Android Host & Localization

  • Host lifecycle & privileged channel hardening: Hardened WebView recreation and render-process crash recovery, atomic ZIP/SHA-256 verification during APK and toolchain updates, KeyStore generation-counter concurrency guards in Consent, alarm payload formatting, and SAF sensitive-credential isolation (while preserving normal access to project .claude commands and skills).
  • Localization & UI polish: Fixed Traditional Chinese locale matching for release-note dialogs, refined touch :focus-visible specificity on text inputs, and verified all 9 language dictionaries (3,167 keys) and theme contrast checks.

Notes

  • Gateway/frontend test suites (2,025 assertions), real Chromium streaming benchmarks (45/45), Java host security/regression tests, and all 9 language dictionaries pass verification; upgrading does not modify existing sessions, settings, or archives.

Install

Download and install cccodroid.apk (if Android says it isn’t compatible and won’t install it, use cccodroid-36.apk instead). On first launch you pick toolchain modules (about 330 MB by default, about 700 MB for all, resumable), then the official Claude Code is downloaded (about 275 MB).

Verification

  • cccodroid.apk sha256: 37910a55cf80e967ec114ef8b9feaafd1ac417144fdc47c7f146c5428c7c2bf4
  • cccodroid-36.apk (targetSdk 36) sha256: b96dbda6c25dbba5a3e5e73ad460e5498d5fea1b3212689efd37f8b61fd4c89c
  • Matching toolchain: devkit-2026.11.21.2
  • Source commit: 16f274f