Skip to content

Pi for Android v0.2.2

Choose a tag to compare

@heikeyangle-code heikeyangle-code released this 26 Nov 15:30
· 28 commits to main since this release

Pi for Android v0.2.2

安装包说明 / APK Variants

  • pi-android-0.2.2-sideload28-arm64.apk:面向侧载与常规日常使用(targetSdk = 28,PRoot / TAWCROOT / Proroot 全兼容,推荐绝大多数设备安装)。
  • pi-android-0.2.2-modern36-arm64.apk:面向 Android 15/16 现代沙箱与权限行为验证(targetSdk = 36)。
  • 版本号:versionName = 0.2.2 · versionCode = 12

中文更新日志(v0.2.1 → v0.2.2)

1. 内核升级至 Pi 1.6.1 & 官方主题同步

  • 内置引擎升至 @earendil-works/pi-coding-agent 1.6.1:同步支持 notices.* 分项提示开关(cacheMisses / cacheWarming / compactionCosts / reasoningDrops)、warnings.anthropicExtraUsage、fullOutputError、httpIdleTimeoutMs 禁用语义与模型切换零额外往返快照同步。
  • 宿主主题桥接官方 sdk.Theme:App 当前主题色板实时同步到 Pi SDK 全局主题槽,扩展 TUI 组件、代码高亮与 diff 输出与 App 主题彻底一致。

2. 全新字体排版引擎 & 阅读级视觉体验

  • 旗舰多字重字体套件:引入 Inter、Geist、JetBrains Mono、Geist Mono、思源宋体等完整字体族,实现全应用统一中英文混排;重建「字号 × 密度」双轴排版引擎。
  • 中文排版与富媒体打磨:正文与标题开启严格中文避头尾(CJK Kinsoku),列表改用矢量圆点/方点绘制,竖屏图片自动限定合理展示比例并保留有意义的图注;全新自绘 PiSpinner、树状折叠箭头与语义化中止/截断/错误卡片。

3. 工具卡片升级与全新「专注折叠」模式

  • Pi 原版工具卡对齐官方并针对手机优化:去除冗余圆圈对错号与无意义耗时/行数,edit 与 diff 合并为单张卡片并支持长行横向滚动,手机端采用保尾路径缩写(长按复制仍保留完整路径);恢复思考块「已思考 X 秒」耗时显示并修复结算态。
  • 全新「专注折叠」模式(独立解耦):可将连续思考与多步工具调用折叠为克制的单行执行摘要,突出正文回复;运行中实时显示当前步骤与 Shell 命令预览,失败摘要与返回图片在折叠态依然直显,展开后以细线时间轴复用原版卡片。
  • 对话顶部菜单即刻切换:移除对话右上角菜单中重复的「项目与文件」,替换为 Pi 原版 / 专注折叠 一键实时切换;精简「项目与文件」页右上角冗余菜单为一键刷新。

4. 悬浮双胶囊顶栏、重做输入框与队列托盘

  • 悬浮双胶囊顶栏:对话顶部采用简洁悬浮双胶囊 + 柔和顶部羽化渐隐,不遮挡消息流并支持系统大字号防裁切。
  • 输入框与队列托盘精修:顶部合并「模型 / 思考等级」一体胶囊与无边框上下文圆环仪表;恢复对齐官方 Pi 7 档思考色的柔和混色输入框边框(流式呼吸优先于聚焦、Bash 模式语义绿、不刺眼);同位 36dp 停止钮外环带流式 PiSpinner;全新极简单层待发队列托盘,支持一键查看投递模式与收回编辑。

5. 全新 OKHSL 主题工坊 & 设置体系重构

  • Theme Studio 主题工坊:采用 Carbon Studio 中性碳黑默认主题,内置 12 套大师级浅/深预设与自由 OKHSL 调色,全自动保障 WCAG AA+ 与正文 >= 10:1 对比度,导出为与桌面端 Pi 100% 互通的标准主题 JSON;修复中文/非 ASCII 主题名与双版保存的文件名覆盖问题及大小写内置名冲突,「同步保存浅/深双版」默认关闭。
  • 设置页全面焕新:独立拆分「对话与消息」「上下文压缩(带实时用量与一键压缩)」「网络与重试」页面,全面换装现代内联分段与预设控件,并补齐 defaultTools 全局搜索索引。

English Changelog (v0.2.1 → v0.2.2)

1. Pi SDK 1.6.1 Upgrade & Official sdk.Theme Sync

  • Upgraded embedded engine to @earendil-works/pi-coding-agent 1.6.1: Added full support for granular notices.* toggles (cacheMisses, cacheWarming, compactionCosts, reasoningDrops), warnings.anthropicExtraUsage, fullOutputError, httpIdleTimeoutMs disable handling, and zero-extra-RTT model/thinking state sync.
  • Native sdk.Theme host bridge: Active Android theme palettes now sync directly into Pi SDK's global sdk.Theme slot so extension TUI panels, code highlighting, and diff output match the app theme seamlessly.

2. Editorial Typography Engine & Refined Reading Experience

  • Flagship multi-weight font suite: Bundled Inter, Geist, JetBrains Mono, Geist Mono, and Source Han Serif with unified CJK + Latin pairing and a rebuilt two-axis (font size × density) typography engine.
  • Typography & media polish: Enabled strict CJK line-breaking (Kinsoku) for prose and headings, vector-drawn list bullets, portrait image framing with smart captions, custom zero-recomposition PiSpinner, crisp tree chevrons, and semantic Aborted / Truncated / Error cards.

3. Official-Parity Tool Cards & Decoupled Compact Trace Mode

  • Pi Original tool cards optimized for mobile: Removed cluttered status circle badges and redundant durations/line counts, merged edit + diff into a single horizontally scrollable card, added tail-preserving phone path shortening (full path preserved on copy), and restored thinking block elapsed duration & settlement accuracy.
  • New decoupled Compact Trace mode (专注折叠): Folds consecutive thinking + tool calls into a single serene summary row so prose stays front and center; displays live active step and shell command previews while running, surfaces error snippets and tool images even while collapsed, and expands along a clean hairline timeline reusing native cards.
  • Instant switcher & menu cleanup: Replaced the duplicate "Project & Files" entry in the Chat command sheet with a live Pi Original / Compact segmented toggle, and streamlined the Project & Files top bar to a single-tap refresh action.

4. Floating Dual-Capsule Header, Refined Composer & Queue Dock

  • Floating dual-capsule header: Replaced the heavy top bar with clean floating capsules and a mirrored top fade feather, supporting large Android font scales without vertical clipping.
  • Composer & queue dock overhaul: Unified the Model + Thinking capsule and borderless context usage meter; restored official Pi 7-level soft-blended thinking-color composer border (streaming prioritized over focus, green for Bash mode, calm and unobtrusive); added a concentric PiSpinner ring on the 36dp Stop button; rebuilt the pending steering/follow-up queue dock with direct delivery-mode access and 1-tap restore.

5. OKHSL Theme Studio & Modernized Settings

  • OKHSL Theme Studio: Introduced Carbon Studio defaults, 12 distinct master light/dark presets, and free OKHSL tuning with automatic WCAG AA+ and >= 10:1 text contrast guarantees, exporting standard Pi-compatible theme JSON files. Fixed silent filename collisions for CJK/non-ASCII theme names and case-insensitive built-in name conflicts, and defaulted dual-pair export to off.
  • Settings architecture overhaul: Dedicated modern screens for Chat & Messages, Compaction (with live context usage and 1-tap compact), and Network & Retry using inline segmented/preset controls, plus defaultTools indexed in global Settings search.

Full Changelog: v0.2.1...v0.2.2