Skip to content

同步上游 v0.7.24→v0.7.25,并准备发布 v1.0.11 - #14

Merged
xiufeigo merged 3 commits into
mainfrom
cursor/sync-upstream-0.7.25-v1.0.11-b7fa
Nov 3, 2026
Merged

xiufeigo merged 3 commits into
mainfrom
cursor/sync-upstream-0.7.25-v1.0.11-b7fa

Conversation

@xiufeigo

@xiufeigo xiufeigo commented Nov 2, 2026

Copy link
Copy Markdown
Owner

同步上游 lehhair/OpenCodeUI v0.7.24(3cc22e8)→ v0.7.25(c5a729e,3 个提交),版本升到 1.0.11。不要合并,也不要打 tag;等 CI 通过后再标 ready。

版本

  • 本 fork 继续走 1.x:1.0.10 → 1.0.11
  • 上游 0.7.25 的 version bump 没有当成我们的版本号
  • package.json、package-lock.json、src-tauri/Cargo.toml、Cargo.lock、tauri.conf.json 均为 1.0.11

同步的上游提交

  1. 983bb02 — fix(attachment):本机路径引用只写路径,不再整份读进 prompt.files[]
  2. 44800bd — fix(markdown):长公式支持横向滚动
  3. c5a729e — chore: bump version to 0.7.25(跳过,fork 保持 1.x)

功能提交以 cherry-pick(-x)接入,避免把 squash 进 main 的历史再合一遍,也避开 0.7.25 版本号冲突。

保留的 fork 能力

  • 更新源仍是 xiufeigo/OpenCodeUI Releases
  • Android 正式签名配置未改
  • 终端仍按会话隔离;终端字号/字体仍独立于代码字号
  • 本次未改 session 列表 / 文件标签页等 fork 定制路径

冲突处理

相关文件在上次同步点 3cc22e8 上与上游一致,cherry-pick 无冲突。src/index.css 自动合并成功。

验证

本地已跑过 npm run validate(类型检查、lint、测试、前端构建)作为 scripts/prepare-release.mjs 1.0.11 的一部分:

  • typecheck / 前端 build 通过
  • 测试:179 files passed、1566 tests passed(21 skipped)
  • lint 仅有既有 warning,无新增 error
Open in Web Open in Cursor 

lehhair and others added 3 commits November 2, 2026 02:06
拖入和 @ 选中的文件都带 `@path` 文本,同时又进了 prompt.files[],
服务端会按 file:// 把整份文件读进内存——超过 20MB 直接以
`Attachment exceeds the 20971520 byte limit` 失败。

对齐官方 composer 的 path 部件:这类附件只作路径引用,模型需要时
用工具读。同时补一层兜底:用户把 `@path` 从文本里删掉但 chip 还在时,
发送前把路径引用加回去,否则 pathOnly 附件模型完全看不到。

(cherry picked from commit 983bb02)
KaTeX 的 display 公式是 nowrap,手机上超宽部分会被父容器裁掉,
末尾看不见。容器改成 flex + overflow-x: auto,居中用 margin-inline
而不是 justify-content(后者在内容溢出时会把左端推到不可滚动的
负区域,滚不到公式开头)。

滚动条交给全局 overlayScrollbar,不写原生样式。

(cherry picked from commit 44800bd)
Sync lehhair/OpenCodeUI 3cc22e8..c5a729e. Keep independent 1.x;
skip upstream 0.7.25 version bump.

Co-authored-by: xiufeigo <xiufeigo@users.noreply.github.com>
@xiufeigo
xiufeigo marked this pull request as ready for review November 2, 2026 03:28
@xiufeigo
xiufeigo merged commit 3b60a7e into main Nov 3, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants