Skip to content

Coding Tools MCP v0.2.2

Choose a tag to compare

@ZGMFX01A ZGMFX01A released this 31 Aug 05:36

新增功能

  • 反向超时停止生成:桌面端新增 /internal/chatgpt-turn-observer/control 控制接口,当单轮生成达到时间硬限时,伴生扩展自动打断网页请求流并闭环上报,避免长时间无响应。
  • 事件队列持久化落盘:浏览器扩展 Outbox 事件队列全面接入本地持久化存储,在页面刷新、异常崩溃或网络重连时自动恢复未确认的关键生命周期事件。

问题修复

  • MCP 路径自动兼容:自动规范化过滤 Remote Base URL 结尾的 /mcp,避免因直接粘贴桌面端公网地址导致的 404 握手失败。
  • 页面刷新候选冲突:采用稳定的标签页标识,彻底解决页面刷新后旧 Turn 未能淘汰导致的多候选绑定歧义问题。
  • 生命周期漏报闭环:补齐跳回首页、网络请求失败、SSE 流中断及 WebSocket 异常断开时的中止与关闭事件,消除后端孤儿活跃 Turn。
  • 事件应用状态回执:优化事件上报响应协议,明确区分应用成功、幂等重复与冲突忽略状态,提升同步状态透明度。
  • 前端配置表单警告:重构外部 MCP 配置模态框的响应式状态同步,消除 Svelte 5 编译与运行警告。

体验优化

  • 文档端口校准:修正 ChatGPT Turn Observer 文档中的残留旧端口,与全局默认端口 28766 保持一致。
  • 扩展协议测试集:新增 URL 规范化与状态响应校验的自动化测试套件,提升发布可靠性。

New Features

  • Reverse Timeout Interruption: Added /internal/chatgpt-turn-observer/control endpoint; the companion extension automatically aborts the web generation stream and reports closure when the turn reaches its hard time limit.
  • Persistent Event Outbox: Browser extension Outbox is now backed by local persistent storage, automatically recovering unacknowledged lifecycle events across page reloads and network reconnects.

Bug Fixes

  • MCP Path Normalization: Automatically strips trailing /mcp from Remote Base URL to prevent 404 handshake failures when copying public MCP endpoints directly.
  • Tab Reload Conflict: Implemented stable tab identifiers to ensure orphaned turn instances are properly retired upon page reload, eliminating ambiguous binding candidates.
  • Lifecycle Closure Coverage: Added comprehensive abort and close events for home navigation, fetch failures, SSE stream errors, and WebSocket disconnects.
  • Application-Level ACK: Enhanced turn event responses with explicit applied, duplicate, and conflict states for clearer synchronization status.
  • Form Reactivity Warning: Refactored external MCP configuration modal state management to resolve Svelte 5 reactivity warnings.

Experience Improvements

  • Documentation Alignment: Corrected outdated default port references in Observer documentation to match default port 28766.
  • Protocol Test Suite: Added dedicated automated unit tests covering URL normalization and status validation protocols.