Skip to content

v0.2.7

Choose a tag to compare

@nzlov nzlov released this 27 Aug 01:07
· 31 commits to master since this release

v0.2.7

中文

本版本增强了提示词批注的持久化与回放能力,并修复统计图表、会话事件、文件预览和终端的多项界面问题。

提示词批注

  • 将图片框选、文本选区、批注内容及原文件引用作为结构化数据持久化。
  • 支持从追加提示历史和编辑页面重新打开原文件,并以编号标记回放批注位置。
  • 批注内容可在 Codex 输入中正确恢复,排队或会话重建后不会丢失。
  • 新批注不再生成和上传 Markdown 附件;旧版 Markdown 批注继续以只读方式兼容。
  • 增加批注数据校验及应用层、存储层和前端测试覆盖。

会话事件

  • 展开命令、工具调用、思考过程、状态、文件变更及其他事件后,标题会吸附在事件列表顶部,方便长内容浏览和折叠。
  • 文件变更事件支持两级吸附标题,并对过长路径进行单行省略,避免标题相互遮挡。

统计图表

  • 增加完整绘图区指针命中层,修复桌面端鼠标无法稳定检查数据点的问题。
  • 根据可视容器宽度动态调整 SVG 图表宽度。
  • 使用 ResizeObserver 同步布局变化,使指针位置、绘图区和首尾数据点保持准确对齐。

文件预览与终端

  • 文本文件预览改为顶部对齐,确保长文件可以从首行开始完整浏览。
  • 将终端间距移动到 xterm 根元素,使 FitAddon 正确计算可用尺寸,避免底行或右侧内容被裁切。

English

This release improves prompt annotation persistence and replay, together with several usability fixes for statistics charts, session events, file previews, and terminals.

Prompt annotations

  • Persist image selections, text ranges, annotation content, and source-file references as structured data.
  • Allow annotations to reopen their original session file or diff and replay numbered markers at their saved positions.
  • Restore annotation content correctly in Codex input after queuing or session reconstruction.
  • Stop generating Markdown attachments for new annotations while retaining read-only compatibility with legacy Markdown annotations.
  • Add validation and test coverage across the application, storage, and frontend layers.

Session events

  • Keep expanded command, tool, reasoning, status, file-change, and other event headers visible while scrolling through long event content.
  • Add coordinated two-level sticky headers for file-change events and truncate long paths to prevent overlapping headers.

Statistics charts

  • Add a full plot-area hit target for reliable desktop pointer inspection.
  • Dynamically size SVG charts to the visible viewport.
  • Track layout changes with ResizeObserver, keeping pointer coordinates, plot bounds, and edge data points correctly aligned.

File previews and terminals

  • Keep text previews aligned to the top so long files remain accessible from the first line.
  • Move terminal padding to the xterm root element so FitAddon calculates the available dimensions correctly and terminal content is no longer clipped.

Complete commit list / 完整提交列表

  • 2ea592d — Fix desktop pointer tracking across the statistics chart plot area.
    修复统计图表桌面端绘图区的鼠标指针追踪。

  • 052c6d6 — Keep expanded session event headers visible while scrolling.
    展开会话事件后保持标题吸附可见。

  • e147629 — Persist structured prompt annotations and replay them on their original files or diffs.
    结构化持久化提示词批注,并在原文件或 Diff 中回放批注位置。

  • 6749014 — Align chart pointer hit areas with responsive viewport dimensions.
    根据响应式可视区域修正图表指针命中范围。

  • 2407ea2 — Keep text file previews top-aligned.
    保持文本文件预览顶部对齐。

  • d00fe3f — Keep terminal content fully visible by correcting FitAddon padding calculations.
    修正 FitAddon 间距计算,避免终端内容被裁切。

查看完整变更:v0.2.6...v0.2.7