Repository navigation
同步上游 v0.7.24→v0.7.25,并准备发布 v1.0.11 - #14
Merged
Merged
Conversation
拖入和 @ 选中的文件都带 `@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)
xiufeigo
marked this pull request as ready for review
November 2, 2026 03:28
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
同步上游 lehhair/OpenCodeUI
v0.7.24(3cc22e8)→v0.7.25(c5a729e,3 个提交),版本升到 1.0.11。不要合并,也不要打 tag;等 CI 通过后再标 ready。版本
1.0.10→1.0.110.7.25的 version bump 没有当成我们的版本号package.json、package-lock.json、src-tauri/Cargo.toml、Cargo.lock、tauri.conf.json均为1.0.11同步的上游提交
983bb02— fix(attachment):本机路径引用只写路径,不再整份读进prompt.files[]44800bd— fix(markdown):长公式支持横向滚动c5a729e— chore: bump version to 0.7.25(跳过,fork 保持 1.x)功能提交以 cherry-pick(
-x)接入,避免把 squash 进 main 的历史再合一遍,也避开 0.7.25 版本号冲突。保留的 fork 能力
xiufeigo/OpenCodeUIReleases冲突处理
相关文件在上次同步点
3cc22e8上与上游一致,cherry-pick 无冲突。src/index.css自动合并成功。验证
本地已跑过
npm run validate(类型检查、lint、测试、前端构建)作为scripts/prepare-release.mjs 1.0.11的一部分: