Skip to content

chore: bump version to 0.4.2 - #761

Merged
chenyme merged 48 commits into
mainfrom
dev
Sep 18, 2026
Merged

chenyme merged 48 commits into
mainfrom
dev

Conversation

@chenyme

@chenyme chenyme commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

✨ Feature

  • Message deletion: Delete individual user or assistant messages while preserving subsequent messages and reconnecting the conversation; the first message and messages being generated are protected.
  • OpenRouter image support: Added text-to-image generation and reference-image editing, with image model discovery and streaming responses where supported.
  • Tiered pricing import: Import OpenRouter pricing tiers, including input, output, cache-read, and cache-write rates.
  • Signed MCP user context: MCP calls can optionally carry signed user, conversation, and request information, enabling services to verify caller context.
  • MCP header presets: Added quick-fill request headers, JSON validation, and protection against overwriting conflicting values.
  • Embedding compatibility: Added an option to omit the dimensions parameter for embedding providers that do not accept it.

⚡ Optimization

  • Dark theme: Adjusted background, border, and foreground contrast for clearer visual hierarchy.
  • Per-device appearance: Light, dark, and system modes are now saved independently on each device instead of being overwritten by account synchronization.
  • Chat navigation: Improved message-position and response-outline navigation, including heading alignment, active-section tracking, and hover targets.
  • Markdown tables: Refined column widths, long-text wrapping, line spacing, and explicit line-break spacing.
  • Admin scrolling: Pages can now scroll when the pointer is over the sidebar or page margins.
  • Pricing configuration: Added clearer price units, tier ranges, and import warnings; tier limits now use full token counts instead of thousands.
  • Upstream model status: Clearly marks models that have disappeared from upstream catalogs and explains route availability and automatic recovery.
  • File indexing: Added a distinct “No text” state and count, plus an option to include these files when manually rebuilding indexes.

🐛 Fixed

  • Fixed tool-call steps disappearing during long reasoning streams and improved preservation of reasoning content across rounds.
  • Fixed rendering problems caused by nested code fences.
  • Fixed excessive escaping when pasting rich content as Markdown.
  • Fixed model submenus shifting unexpectedly on hover or close.
  • Fixed table content bleeding above sticky headers.
  • Fixed light-theme flashes when loading a page with dark mode selected.
  • Fixed locked accounts being reported as invalid credentials; login errors now show the remaining lock duration.
  • Fixed compatibility with upstreams that only accept a single leading system message, while preserving explicit prompt-cache behavior.
  • Fixed repeated extraction and reindexing of files with no readable text.
  • Fixed imported cache-write pricing calculations and aligned displayed prices with billing.
  • Fixed raw JSON error output during upstream model synchronization.
  • Improved error handling when deleting messages or replying to a message that has already been deleted.

liyp and others added 30 commits August 30, 2026 16:29
会话内任意位置的消息现在可以删除:被删消息的子消息在事务内重接到其父
消息上,后续消息保留并向前衔接;生成中的消息与会话第一条消息不允许删
除(400 机器错误码),操作记录 delete_message 审计事件。

- 后端新增 DELETE /conversations/:id/messages/:message_id,事务内锁
  会话行与目标消息行,软删后递减 MessageCount,并通过反向递归 CTE 主
  动失效覆盖边界落在被删消息子树内的压缩快照(splice 会破坏
  SnapshotBoundaryAncestorIndex 的 parent 链不可变假设)。
- 发送路径建消息对前补齐会话行 + 父消息行锁与软删校验,避免与并发删
  除竞态产生指向已删节点的孤儿消息,冲突时返回 409
  conversation.message_parent_deleted。
- prompt 组装新增相邻同角色(user/assistant)消息合并,消除 splice
  后历史中连续同角色轮次对严格上游协议的兼容风险;合并在图片上下文注
  入之后执行,避免破坏注入的下标对齐。
- 前端用户/助手消息 meta 新增删除按钮(AlertDialog 确认,临时会话与
  生成中消息不展示),删除后全量刷新,分支选择由现有 reconcile 逻辑
  自动收敛;trash-2 动画图标新增 shake 变体。
- 传输类型 MessageDeleteDTO 从 @deeix/api-contract 派生,契约生成文
  件同步再生成;新增 repo/service/prompt 合并三组单测,en-US/zh-CN
  文案补齐。
fix: correct UI scrolling and chat anchor navigation
feat: add signed per-user context header for MCP tool calls
feat: support OpenRouter tiered pricing and improve billing consistency and project docs
feat: support deleting messages with splice semantics
fix(markdown): normalize nested code fences before rendering
fix: stop raw json noise in upstream sync and mark deactivated models
feat: support OpenRouter image generation endpoint
fix: stop over escaping plain text when pasting rich content as markdown
chenyme and others added 18 commits September 15, 2026 23:58
fix: report locked accounts distinctly instead of invalid credentials
fix: keep tool trace steps visible during long reasoning streams
fix: repair markdown table wrapping and line spacing
fix: stabilize model submenu placement on hover and close
fix: merge leading system messages for OpenAI compatible upstreams
feat: calibrate dark theme contrast and keep color mode per device
feat: 支持省略 Embedding 请求中的 dimensions 参数
feat: end no-text file reindex loops with empty state
chore: bump version to 0.4.2
@chenyme chenyme self-assigned this Sep 18, 2026
@chenyme
chenyme merged commit 08e1f8b into main Sep 18, 2026
22 checks 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.

5 participants