Repository navigation
Pi Android v0.2.3
安装包说明 / APK Variants
pi-android-0.2.3-sideload28-arm64.apk(推荐日常侧载安装):兼容 Android 8.0–16,支持完整原生容器执行能力(targetSdk = 28)。pi-android-0.2.3-modern36-arm64.apk:面向 Android 15/16 现代沙箱与权限行为验证(targetSdk = 36)。- 版本号:
versionName = 0.2.3·versionCode = 13
中文更新日志(v0.2.2 → v0.2.3)
1. MCP 管理与 OAuth 授权全链路打通
- 一体化 OAuth 授权面板:重构 MCP OAuth 登录体验,支持实时读取
<agentDir>/mcp-auth.json登录状态(零额外网络请求)、安全取消授权、登出后即时刷新与令牌持久化。 - 重做 MCP 编辑与导入表单:提供三态 HTTP 鉴权切换(OAuth / Bearer Token / 供应商认证)、清晰字段分组与一键 JSON 格式化。
2. 模型与服务商配置体验升级
- 供应商与模型表单重构:修复修改模型 ID 时卡片意外折叠的问题;将单模型 API/URL 覆盖、四项价格与
compat开关收纳进可折叠进阶区;JSON 导入页新增一键「格式化」与触觉反馈。 - 恢复
defaultTools预设基线:确保工具默认集与设置项行为一致。
3. 运行环境引导、存储治理与设备能力精简
- 全新分阶段引导页:覆盖首次安装、增量更新、无损修复与重建场景,提供连续细粒度进度条、4 阶段里程碑清单、结构化失败诊断与完整安全区适配;修复/重建前自动优雅停机并回收旧进程树,防止覆写正在运行的容器。
- 运行环境存储与诊断页焕新:新增运行时各目录占用明细与统一清理入口。
- 手机设备能力页精简与加固:优化 Shizuku 与系统动作链路;彻底清理冗余历史迁移代码与内部路径诊断,仅保留简洁实时的桥接运行状态。
4. 对话流畅度、表格滚动防跳屏与空态修复
- 修复长消息与表格上滑跳屏及滑入卡顿:将定稿 Markdown 帧 0 同步解析阈值提升至 8 KiB(视口上方滑入提升至 64 KiB)并消除每行滑入时的二次重组与重测量开销;移除 HTML 表格
IntrinsicSize.Min双重测量;为视口上方离屏的 Mermaid / MathJax / SVG / 图片增加高度缓存与偏移补偿,滚过复杂长消息与表格不再整屏跳动。 - 修复空对话欢迎态闪退:改为依据实际可见消息行判定空态,避免扩展顶栏或隐藏条目导致欢迎徽标在引擎就绪后消失。
- 工作区文件操作补齐:完善工作区文件新建、重命名、删除、移动等常用操作与交互反馈。
5. 全应用视觉语言统一
- 彻底清零 M3 默认紫色残留:全仓替换为当前主题
accent,统一设置/工具/资源页的单色发丝边图标槽、矢量勾选与自适应方向图标、全宽分段控制器与统一搜索栏。 - 全新双语文档:重写中英文 README 并补充视觉画廊预览。
English Changelog (v0.2.2 → v0.2.3)
1. Complete MCP Management & Unified OAuth Flow
- Unified OAuth sheet & live auth state: Added live
<agentDir>/mcp-auth.jsonstatus inspection with zero network overhead, cancellable OAuth flow, instant post-logout state refresh, and persistent credential storage. - Redesigned MCP editor & JSON importer: Clear 3-mode HTTP auth switcher (OAuth / Bearer Token / Provider), structured fields, and 1-tap JSON formatting.
2. Models & Provider Configuration Polish
- Refined provider & model forms: Fixed card collapse while editing model IDs, grouped per-model API/URL overrides, pricing, and
compatflags into a collapsible advanced section, and added 1-tap JSON formatting in JSON import. - Restored
defaultToolspreset baseline for consistent default tool configuration.
3. Onboarding Boot, Runtime Storage & Clean Device Capabilities
- Contextual multi-stage Boot Screen: Unified First Install, Incremental Update, Repair, and Rebuild flows with smooth progress, 4-stage milestones, structured failure diagnostics, and full system bar insets; gracefully stops and reaps any active engine process tree before repair/rebuild.
- Runtime storage breakdown: Added disk usage breakdown and cleaner diagnostics in Runtime Engine settings.
- Streamlined Device Capabilities: Hardened Shizuku and system actions while removing legacy migration cleanup code and noisy internal path dumps from bridge diagnostics.
4. Chat Scroll Stability, Smoothness & Empty-State Fix
- Eliminated upward scroll jumps & per-row recomposition stutter on long/table messages: Raised frame-0 settled Markdown sync parsing to 8 KiB (64 KiB entering from above) and marked synchronously parsed rows ready on frame 0 to avoid wasted double recomposition; removed
IntrinsicSize.Minfrom HTML tables; added rich block height caching and above-viewport scroll-offset compensation for Mermaid / MathJax / SVG / images so scrolling back over tables stays rock-steady. - Fixed disappearing empty-state emblem: Base empty-state visibility on actual rendered transcript rows so extension headers or hidden entries never blank out the welcome canvas.
- Workspace file operations: Added full file management actions (create, rename, delete, move) with unit test coverage.
5. App-Wide Visual Harmonization
- Zero default M3 purple accents: Migrated all remaining
colorScheme.primaryusages to themeaccent, unified monochrome hairline icon wells, vector checkmarks &AutoMirroreddirectional icons, full-width segmented controls, and shared search bars across Models, Tools, and Resources. - Rewritten bilingual READMEs with updated visual galleries.
Full Changelog: v0.2.2...v0.2.3