Skip to content

v0.3.0

Choose a tag to compare

@nzlov nzlov released this 31 Aug 05:03
· 23 commits to master since this release

v0.3.0

中文

本版本新增运行中卡片的工作区快照分叉、Side 临时只读提问和 Codex 上下文长度配置,同时改进问题事件回放、媒体预览、会话加载与非 Git 项目的使用体验,并确保推理强度和卡片分支上下文正确传递给 Codex。

运行中卡片分叉

  • 运行中的聊天卡片现在可以直接分叉。
  • 新卡片会复制分叉时的已修改、已删除和未跟踪工作区文件,保留尚未提交的工作成果。
  • 同步复制来源卡片的临时文件,并正确更新新卡片的文件数量。
  • 工作区和临时文件采用独立快照,分叉后两张卡片可以继续分别修改。
  • 增加仓库归属、文件复制、符号链接、取消操作及初始化失败处理的测试覆盖。

Side 临时提问

  • 在卡片追加提示词区域新增 Side 入口,可基于当前 Codex 上下文发起临时问题。
  • Side 以只读权限运行,不修改工作区,也不保存为 AnyCode 卡片或时间线记录。
  • 支持同时保留多个 Side、实时查看执行事件、继续追问以及停止或关闭单个 Side。
  • Side 历史仅保留在当前页面内,离开页面后自动停止仍在运行的 Side。
  • Side 输入框复用统一提示词编辑体验,但不提供附件和运行参数配置。
  • 修复 Side 对话框、事件列表和输入框在桌面端及移动端的尺寸、滚动和溢出问题。

Codex 配置与执行

  • 全局设置新增 Codex 配置页,可显式设置上下文长度。
  • 上下文长度留空时继续使用模型默认值;自定义值必须为正整数。
  • 修改配置时会安全结束共享 Codex App Server,将活动卡片转入恢复队列并使用新配置继续执行;终端卡片不受影响。
  • 修复普通 Codex 回合未应用所选推理强度的问题。
  • Codex 开发者指令现在会包含卡片的基础分支和当前工作树分支,减少分支判断错误。

问题事件与会话浏览

  • questions 工具事件现在会读取已持久化的问题请求,并以只读回答表单展示,不再显示原始 JSON 输入和输出。
  • 支持还原已选选项、自定义答案和未回答状态。
  • 扩展后的问题事件继续支持关联文件预览。
  • 单次会话事件加载数量由 50 提升至 200,减少长会话中的分页操作。

文件与媒体预览

  • 图片和视频会根据实际预览容器调整尺寸,避免超出对话框或页面边界。
  • 桌面端和移动端的完整预览均支持缩放和平移。
  • 桌面端支持滚轮缩放和鼠标拖动,触屏设备支持双指缩放及拖动。
  • 增加指针捕获并禁用浏览器原生媒体拖拽,避免缩放过程中手势丢失。
  • 问题附件、会话事件、临时文件面板和独立预览页统一启用完整媒体交互。

非 Git 项目体验

  • 会话接口现在明确返回项目是否启用 Git。
  • 非 Git 项目不再显示无意义的分支名称、文件变更数量、Diff 按钮和变更页签。
  • 首页、卡片列表、详情页、审批界面和分叉提示均已适配非 Git 项目。
  • 当列表中没有 Git 项目时,自动隐藏分支和 Diff 列。

English

This release adds workspace-snapshot forks for running cards, ephemeral read-only Side questions, and configurable Codex context windows. It also improves question-event replay, media previews, session loading, and non-Git project behavior, while ensuring reasoning effort and card branch context are correctly passed to Codex.

Running card forks

  • Running chat cards can now be forked directly.
  • New cards copy modified, deleted, and untracked workspace files at fork time, preserving uncommitted work.
  • Session artifacts are copied into the new card and its artifact count is updated.
  • Workspaces and artifacts are captured as independent snapshots so both cards can continue changing separately.
  • Add coverage for repository ownership, file copying, symbolic links, cancellation, and initialization failures.

Ephemeral Side questions

  • Add a Side entry beside the append-prompt actions for asking temporary questions using the current Codex context.
  • Side runs use read-only permissions and are not persisted as AnyCode cards or timeline records.
  • Support multiple concurrent Side threads, live execution events, follow-up questions, and individual stop or close actions.
  • Side history remains in current-page memory only, with active runs stopped when the page is left.
  • Reuse the standard prompt-composer experience without attachments or runtime configuration.
  • Fix Side dialog, event-list, and composer sizing, scrolling, and overflow on desktop and mobile.

Codex configuration and execution

  • Add a Codex section to global settings with an explicit context-window option.
  • Leaving the value empty follows the model default; custom values must be positive integers.
  • Saving a new value safely restarts the shared Codex App Server and queues active cards for recovery with the new configuration, without affecting terminal cards.
  • Fix regular Codex turns not applying the selected reasoning effort.
  • Include the card’s base branch and current worktree branch in Codex developer instructions to reduce branch-context mistakes.

Question events and session browsing

  • Render questions tool events from their persisted question requests as read-only answered forms instead of raw JSON input and output.
  • Restore selected options, custom answers, and unanswered states.
  • Keep related file previews available inside expanded question events.
  • Increase session-event page size from 50 to 200, reducing pagination in long conversations.

File and media previews

  • Fit images and videos to their actual preview containers so they no longer overflow dialogs or pages.
  • Enable zooming and panning in full-size previews on both desktop and mobile.
  • Add mouse-wheel zoom and mouse dragging on desktop, together with pinch zoom and touch dragging.
  • Capture pointers and disable native browser media dragging to prevent gestures from being interrupted.
  • Apply the complete media interaction consistently to question attachments, session events, artifact panels, and standalone preview pages.

Non-Git project experience

  • Expose the project’s authoritative Git capability through session APIs.
  • Hide meaningless branch names, change counts, Diff actions, and change tabs for non-Git projects.
  • Apply the behavior across the overview, session list, detail page, approval interface, and fork guidance.
  • Automatically hide branch and Diff columns when a session list contains no Git projects.

Complete commit list / 完整提交列表

  • 11407c4 — Increase the session-event page size from 50 to 200.
    将会话事件单页加载数量由 50 提升至 200。

  • 9d9000d — Support running-card forks with workspace and artifact snapshots.
    支持运行中卡片分叉,并快照复制工作区变更和临时文件。

  • 26b3960 — Add ephemeral read-only Side questions with live events and follow-ups.
    新增支持实时事件和继续追问的只读临时 Side 提问。

  • 2884ccf — Constrain Side dialogs and composers across desktop and mobile layouts.
    修复 Side 对话框和输入框在桌面端及移动端的尺寸与溢出问题。

  • 3dd7690 — Fit media previews and add mouse, wheel, touch, and drag interactions.
    优化媒体预览尺寸,并增加鼠标、滚轮、触屏和拖动交互。

  • ea77c13 — Add persistent Codex context-window settings and safe runtime recovery.
    新增持久化 Codex 上下文长度配置及安全运行时恢复。

  • 9e5d521 — Render question tool events as persisted read-only answer forms.
    将问题工具事件渲染为基于持久化数据的只读回答表单。

  • 41250c2 — Apply the configured reasoning effort to regular Codex turns.
    将配置的推理强度正确应用到普通 Codex 回合。

  • 4fcea60 — Include card base and worktree branches in developer instructions.
    在开发者指令中加入卡片基础分支和工作树分支。

  • 25ad2bd — Hide Git-only information and actions for non-Git projects.
    为非 Git 项目隐藏仅适用于 Git 的信息和操作。

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