Repository navigation
v0.4.0
v0.4.0
中文
本版本新增 MCP 服务分层配置与动态工具调用,完善会话 Markdown 和 Mermaid 图表展示,优化文件预览加载,并修复卡片重连后的内容刷新问题。
MCP 服务配置与调用
- 支持全局、项目、卡片三级配置与开关控制,项目可覆盖同名全局服务,卡片可独立启用或停用服务。
- 支持本地 stdio 和 Streamable HTTP 连接,提供连接检测、环境变量及 HTTP 请求头配置。
- 通过
mcp_discover和mcp_call动态发现与调用工具,无需修改 Codex 配置文件。 - 支持分页工具发现,以及文本、图片、音频和结构化调用结果。
- 每次发现与调用读取当前配置,停用服务后拒绝后续调用,已开始的调用继续执行。
- 连接按卡片与服务隔离,配置变化时重建,闲置连接自动回收;查询时隐藏凭据,编辑时可保留已有值。
会话 Markdown 与图表
- 新增代码语法高亮,补齐任务列表复选框、有序列表起始编号及表格对齐。
- 优化表格、表头和引用块样式。
- 支持 Mermaid 图表渲染,适配明暗主题,并支持滚动与键盘聚焦。
- 流式输出期间等待内容稳定后渲染图表;语法不完整或渲染失败时保留源码。
- 保留内容净化与图表隔离,避免图表样式和链接影响会话界面。
文件预览
- 附件、临时文件、工作区文件和 Diff 媒体通过鉴权地址直接加载,减少完整文件预先转为 Blob 带来的等待与内存开销。
- 图片、PDF、音视频和模型预览使用直接地址,音视频优先加载元数据。
- 文本预览支持流式展示,超过 1 MiB 时提示下载查看。
- 补齐工作区文件及 Diff 媒体预览凭据接口,保留资源绑定、禁止缓存和地址校验。
卡片重连刷新
- 卡片重连时同步刷新 Diff 和临时文件面板,修复断线期间发生变更后仍显示旧内容的问题。
English
This release adds layered MCP configuration and dynamic tool invocation, improves session Markdown and Mermaid diagrams, optimizes file preview loading, and fixes stale content after card reconnection.
MCP service configuration and invocation
- Support global, project, and card-level configuration and switches. Projects can override global services by name, while cards can independently enable or disable services.
- Support local stdio and Streamable HTTP connections, with connection checks, environment variables, and HTTP headers.
- Discover and invoke tools dynamically through
mcp_discoverandmcp_call, without modifying Codex configuration files. - Support paginated tool discovery and text, image, audio, and structured results.
- Read current configuration for each discovery and invocation. Disabled services reject subsequent calls while existing calls continue.
- Isolate connections by card and service, reconnect after configuration changes, and reclaim idle connections. Mask credentials in queries while allowing stored values to be retained during editing.
Session Markdown and diagrams
- Add syntax highlighting and preserve task-list checkboxes, ordered-list starting numbers, and table alignment.
- Improve table, header, and blockquote styling.
- Render Mermaid diagrams with light and dark theme support, scrolling, and keyboard focus.
- Wait briefly for streaming content to settle before rendering diagrams. Preserve source when syntax is incomplete or rendering fails.
- Retain content sanitization and diagram isolation to prevent diagram styles and links from affecting the session interface.
File previews
- Load attachment, artifact, workspace-file, and Diff media previews directly through authenticated URLs, reducing delays and memory overhead from buffering entire files as Blobs.
- Use direct URLs for images, PDFs, audio, video, and model previews, loading audio and video metadata first.
- Display text previews progressively through streaming, and prompt users to download files exceeding 1 MiB.
- Add preview-token endpoints for workspace files and Diff media, retaining resource binding, no-cache policies, and URL validation.
Card reconnection refresh
- Refresh Diff and artifact panels when cards reconnect, fixing stale content after changes occur during a disconnection.
Complete commit list / 完整提交列表
-
fe49ce9— Refresh Diff and artifact panels when cards reconnect.修复卡片重连后变更和临时文件面板未刷新的问题。
-
436ac6c— Load file previews directly through authenticated URLs and stream text previews.通过鉴权地址直接加载文件预览,并以流式方式展示文本。
-
411b72d— Extend session Markdown with syntax highlighting, task lists, and Mermaid diagrams.补齐会话 Markdown 渲染,支持代码高亮、任务列表和 Mermaid 图表。
-
fe0c924— Add layered MCP configuration and dynamic tool discovery and invocation for cards.新增 MCP 分层配置,以及卡片动态工具发现与调用。