Skip to content

AI 浏览器 iPad 版 v2.3.0 / AI Browser for iPad v2.3.0

Choose a tag to compare

@felixshine2009-cmd felixshine2009-cmd released this 14 Nov 00:12
· 0 commits to c4c2bee3645afe96a1344ba2be1728c953cdb7f2 since this release

AI 浏览器 iPad 版 v2.3.0

本版本修复长时间使用后的连接中断、Python 与虚拟机无法启动、词典释义空白等问题,重新设计工具的打开方式,并新增拍题即解、分屏与空间、页面助手、稍后阅读、代码编辑器和自定义系统镜像。

修复

  • 长时间使用后卡住并显示“bridge error”:页面与主程序之间的连接可自动恢复。断线期间的指令按编号补发,应用从后台返回后重新监听端口,缓冲区有上限;WebKit 网页内容进程被系统终止后自动重新加载页面;连接中断时显示“正在重新连接”页面,不再显示原始错误。
  • Python 与 Linux 虚拟机无法启动(window.pyhost.boot、window.vmhost.beginStart 未定义):两个隐藏的宿主页面改在页面环境中运行,并在调用前确认已就绪。
  • MDX 词典(如牛津高阶)释义区空白:词条脚本在无法使用本地存储时改用内存存储,词条加载后若仍无可见文字则显示隐藏内容;导入词典时可同时选择 .mdd 资源文件,或直接选择整个词典文件夹。
  • AI 释义报错 HTTP 400“invalid temperature: only 1 is allowed”:按各服务商的官方限制自动调整采样参数(例如 Kimi K2.5 及以上、OpenAI 推理模型不发送 temperature);若服务器仍因采样参数返回 400,则去掉该参数重试一次,并记住该模型。
  • GeoGebra 工具 ggb_eval 超时:首次使用时等待组件加载的时间延长至 120 秒;组件加载较慢时,稍后的调用仍可使用。
  • 二维码无法扫描:改用系统相机扫描(VisionKit,旧设备使用 AVFoundation);网址直接打开,其他内容填入地址栏。
  • AI 回答中的公式显示为原始 LaTeX:数学公式与化学方程式由内置的 KaTeX(含 mhchem)离线排版。

界面

  • 打开工具时直接显示工具界面,不再新建标题为“tool”的网页标签。每个工具只有一个视图,显示在标签栏左侧,可单独关闭。
  • 词典查询结果在工具页内显示,占满地址栏下方区域;离线百科阅读时检索区收窄,阅读区延伸至屏幕底部。
  • 每个工具主页均可“交给 AI”处理,并可切换模型;所有页面共用同一个模型选择与思考等级。思考等级按所选模型的官方参数提供,不支持调节的模型会注明。
  • 工具右侧的协作侧栏可以收起。
  • AI 解题的回答使用与对话相同的样式:公式排版、工具调用显示与流式输出。
  • 顶部工具栏使用新的线条图标并配有中文名称。
  • 界面文字统一为规范中文(“对话”“搜索”“任务”等)。

新功能

  • 拍照与拍题即解:点击“拍题”即可拍摄题目,系统文字识别后自动提交解题;若所选模型支持图像,由模型转写公式。凡可添加图片之处均可直接拍照。
  • 分屏与空间:两个标签页并排显示,拖动分隔线调整比例,双击交换左右;标签页可按学科(数学、物理等)归入不同空间。
  • 页面助手:一键摘要网页或 PDF,并可继续提问;回答附带编号引用,点击即可滚动到原文段落并高亮。
  • 稍后阅读:保存网页的完整离线副本(网页归档),无网络时亦可阅读;可与离线百科一并检索。
  • 代码编辑器:带文件管理,可管理“我的代码”、Python 工作目录与虚拟机共享目录中的文件;支持语法高亮,一键运行 Python、Shell 与 HTML 文件,也可将当前文件交给 AI 讲解。
  • 自定义系统镜像:在“设置 › Python 与 Linux 虚拟机”中导入 ISO、IMG 或 QCOW2 镜像并启动。镜像在 x86 模拟器(v86)中运行,磁盘按需分段读取;QCOW2 在导入时转换为原始格式。适合 FreeDOS、Alpine、TinyCore 等轻量系统。

说明

  • 自定义镜像目前使用 v86 运行,仅支持 x86 系统;基于 QEMU 的解释执行方式(与 UTM 相同的思路)将在后续版本中评估。

测试

  • 新增测试 41:在模拟宿主上验证工具视图、思考等级、分屏与空间、扫码、拍题即解、稍后阅读、页面助手、代码编辑器,以及在 v86 中实际启动导入的磁盘镜像。
  • 单元测试新增 QCOW2(v2、v3、压缩簇)转换后逐字节一致的检查;采样参数规则与公式渲染均有单元测试。
  • iPad 测试在与 iPad 相同的无 ICU、无 JIT 的 Node.js 18 上运行,Python 与 Linux 虚拟机均实际启动。

下载

文件 说明
AI-Browser-iPad-unsigned.ipa 未签名的 iPad 安装包(iPadOS 16 及以上),由 CI 构建后附加

AI Browser for iPad v2.3.0

This release fixes the lost connection after long use, Python and the VM failing to start, and blank dictionary entries. It redesigns how tools open, and adds photo solving, split view and spaces, a page assistant, read later, a code editor and custom system images.

Fixes

  • Freezing after long use, then "bridge error": the connection between the pages and the main program now recovers on its own. Commands sent while disconnected are replayed by number, the port is listened on again when the app returns from the background, and buffers are bounded. When iPadOS terminates a WebKit content process, the page reloads. While reconnecting, a reconnect page is shown instead of the raw error.
  • Python and the Linux VM failed to start (window.pyhost.boot and window.vmhost.beginStart undefined): the two hidden host pages now run in the page world, and they are confirmed ready before use.
  • Blank MDX dictionary entries (such as the Oxford Advanced Learner's): entry scripts fall back to in-memory storage when local storage is unavailable, and hidden content is revealed if an entry still shows no text after it loads. When importing, .mdd resource files can be picked together with the .mdx, or the whole dictionary folder can be picked.
  • AI definitions failed with HTTP 400 "invalid temperature: only 1 is allowed": sampling parameters follow each provider's official restrictions (for example, temperature is not sent to Kimi K2.5 and later or to OpenAI reasoning models). If a server still rejects a sampling parameter with a 400, the request is retried once without it and the model is remembered.
  • GeoGebra tool ggb_eval timed out: on first use the tool waits up to 120 seconds for the applet to load, and later calls still work when it loads slowly.
  • QR codes could not be scanned: scanning uses the system camera (VisionKit, with AVFoundation on older devices). Web addresses open directly; other content is placed in the address bar.
  • Formulas in AI answers appeared as raw LaTeX: math and chemical equations are typeset offline with the bundled KaTeX (with mhchem).

Interface

  • Opening a tool shows the tool directly instead of a new web tab titled "tool". Each tool has a single view, shown at the left of the tab bar, and can be closed on its own.
  • Dictionary results are shown inside the tool and fill the area below the address bar. While reading the offline encyclopedia, the search area is compact and the article extends to the bottom of the screen.
  • Every tool home page can hand its input to the AI ("交给 AI") and switch models. All pages share one model choice and one thinking level. Thinking levels follow the selected model's official parameters; models that cannot be adjusted say so.
  • The collaboration sidebar on the right of each tool can be collapsed.
  • Solver answers use the same presentation as chat: formula typesetting, tool calls and streaming.
  • The top toolbar has new line icons with Chinese captions.
  • Interface text is consistently in formal Chinese ("对话", "搜索", "任务" and so on).

New features

  • Camera and photo solving: tap "拍题" to photograph a problem; the recognised text is submitted to the solver automatically, and a vision-capable model transcribes formulas when one is selected. Photos can be taken wherever images are accepted.
  • Split view and spaces: show two tabs side by side, drag the divider to change the ratio and double-click it to swap sides. Tabs can be grouped into spaces by subject (mathematics, physics and so on).
  • Page assistant: one-tap summaries of web pages and PDFs, with follow-up questions. Answers carry numbered citations; tapping one scrolls to and highlights the passage.
  • Read later: save pages with complete offline copies (web archives) to read without a network, searchable together with the offline encyclopedia.
  • Code editor: with a file manager for "我的代码" (my code), the Python working directory and the VM shared folder; syntax highlighting, one-tap running of Python, shell and HTML files, and handing the current file to the AI for an explanation.
  • Custom system images: import and boot ISO, IMG or QCOW2 images from Settings › Python & Linux VM. Images run in the x86 emulator (v86) and the disk is read in pieces as needed; QCOW2 images are converted to raw on import. Suited to light systems such as FreeDOS, Alpine and TinyCore.

Notes

  • Custom images currently run on v86 and support x86 systems only. A QEMU-based interpreter approach (as used by UTM) will be evaluated for a later release.

Tests

  • New test 41 checks on the simulated host: tool views, thinking levels, split view and spaces, QR scanning, photo solving, read later, the page assistant, the code editor, and actually booting an imported disk image in v86.
  • New unit check: QCOW2 images (v2, v3, compressed clusters) convert to raw byte for byte. Sampling rules and formula rendering have unit tests.
  • The iPad tests run on a Node.js 18 without ICU and without a JIT, as on iPad, and Python and the Linux VM are actually started.

Download

File Description
AI-Browser-iPad-unsigned.ipa Unsigned iPad app (iPadOS 16 or later), attached after the CI build

Created by Grok