文章
← 返回 2026-10-04 日报

综合 mcp-ts-core官方一手 发布 置信度:事实

fix(testing): keep the sandbox proxy from relaying ui/notifications/s…

mcp-ts-core 修复沙箱代理问题:MCP Apps 规范保留 sandbox-* 命名空间给宿主和代理,此前视图发送 sandbox-proxy-ready 会导致 HTML 被重复注入第二个 iframe 并二次初始化。

fix(testing): keep the sandbox proxy from relaying ui/notifications/sandbox-*

fix(testing):阻止沙箱代理转发 ui/notifications/sandbox-*

The MCP Apps spec reserves those names for host and proxy; a view that posted sandbox-proxy-ready got its HTML resent into a second iframe and initialized twice.

MCP Apps 规范将这些名称保留给宿主和代理;一个发送了 sandbox-proxy-ready 的视图,其 HTML 会被重新发送进第二个 iframe 并初始化两次。

聚类仅表示主题相同;转述同一消息的媒体不构成独立证据源。

新功能(测试):无头 MCP Apps 宿主与 app-render CLI(#623)

11 条
  1. 新功能(测试):无头 MCP Apps 宿主与 app-render CLI(#623)

    mcp-ts-core官方一手原文 →

    feat(testing): headless MCP Apps host and app-render CLI (#623) Adds the testing/apps subpath with optional client and ext-apps peers. The dependency refresh shares package.json and bun.lock with the new export, so it lands here too.

    译文feat(testing):无头 MCP Apps 宿主与 app-render CLI(#623) 新增 testing/apps 子路径,附带可选的 client 与 ext-apps peer 依赖。依赖刷新与新导出共享 package.json 和 bun.lock,因此也一并落在此处。

  2. 修复 devcheck:git 扫描与 server.json 启动形态(#588 等)

    mcp-ts-core官方一手原文 →

    fix(devcheck): git scans and server.json launch shape (#588, #594, #629, #622) The TODO and Tracked Secrets scans missed real matches and flagged GitHub's secret scanning config; lint-packaging now fails a server.json npm entry that cannot start its transport.

    译文fix(devcheck):git 扫描与 server.json 启动形态(#588、#594、#629、#622) TODO 与 Tracked Secrets 扫描此前漏掉了真实匹配,并误报了 GitHub 的密钥扫描配置;lint-packaging 现在会让无法启动其传输的 server.json npm 条目失败。

  3. 修复脚手架:env 忽略规则、CodeQL 类别、musl 裁剪(#589 等)

    mcp-ts-core官方一手原文 →

    fix(scaffold): env ignore rules, CodeQL categories, musl prune (#589, #470, #608) Every .env file but the three templates stays out of git and the build context, CodeQL uploads under default setup's categories, and the deps stage drops musl-only packages.

    译文fix(scaffold):env 忽略规则、CodeQL 类别、musl 裁剪(#589、#470、#608) 除三个模板之外的所有 .env 文件都排除在 git 和构建上下文之外,CodeQL 按默认设置的类别上传,依赖阶段移除仅适用于 musl 的包。

  4. 修复资源:限制读取日志与 span 携带的 URI 长度(#617)

    mcp-ts-core官方一手原文 →

    fix(resources): cap the URI a read's logs and span carry (#617) A client-supplied URI is cut to 1,024 characters with its uncut length recorded. The public API contract, which this shares, also gains the testing/apps subpath.

    译文fix(resources):限制读取日志与 span 携带的 URI 长度(#617) 客户端提供的 URI 会被截断至 1,024 个字符,并记录其未截断长度。与之共享的公共 API 契约还新增了 testing/apps 子路径。

  5. 修复上下文:为 ctx.log 的 wire 镜像设置下限并脱敏(#621、#630)

    mcp-ts-core官方一手原文 →

    fix(context): floor and mask the ctx.log wire mirror (#621, #630) MCP_LOG_LEVEL now gates notifications/message the way it gates the process log, and sensitive fields are masked before a record leaves the process.

    译文fix(context):为 ctx.log 的 wire 镜像设置下限并脱敏(#621、#630) MCP_LOG_LEVEL 现在以管理进程日志的方式管理 notifications/message,敏感字段在记录离开进程之前会被脱敏。

  6. 修复镜像:等待锁释放并在打开失败时关闭句柄(#607)

    mcp-ts-core官方一手原文 →

    fix(mirror): wait out locks and close the handle on a failed open (#607) An open now waits out another connection's lock for busyTimeoutMs, and any open failure closes the connection and rejects as DatabaseError.

    译文fix(mirror):等待锁释放并在打开失败时关闭句柄(#607) 打开操作现在会等待另一个连接的锁,最长至 busyTimeoutMs;任何打开失败都会关闭连接并以 DatabaseError 拒绝。

  7. 文档(技能):修正测试、schema、错误码与工作流指引

    mcp-ts-core官方一手原文 →

    docs(skills): correct test, schema, error-code, and workflow guidance Cancellation tests, blank preprocessed fields, InvalidParams scope, what the npm tarball carries, and the greenfield CodeQL run, none of them tied to a tracked issue.

    译文docs(skills):修正测试、schema、错误码与工作流指引 取消测试、空白预处理字段、InvalidParams 作用域、npm tarball 所携带的内容,以及全新仓库的 CodeQL 运行——这些均未关联到已跟踪的 issue。

  8. mcp-ts-core 发布 0.13.11:MCP Apps 宿主、日志下限与脱敏等

    mcp-ts-core官方一手原文 →

    chore(release): 0.13.11 — MCP Apps host, wire log floor and masking, scaffold fixes Version bump, changelog entry, and the doc surfaces several of this release's changes share. Dependency moves: @modelcontextprotocol/server ^2.1.0 → ^2.2.0 @hono/node-server ^2.1.1 → ^2.1.3 hono ^4.13.9 → ^4.13.12 peer @duckdb/node-api ^1.5.5-r.1 → ^1.5.5-r.1 || ^1.5.6-r.1 peer (new, optional) @modelcontextprotocol/client ^2.1.0 peer (new, optional) @modelcontextprotocol/ext-apps ^2.0.0 override brace-expansion ^2.1.3 → ^2.1.7 override fast-uri ^3.1.6 → ^3.1.8 override ip-address ^10.3.1 → ^10.7.1 dev (new) @modelcontextprotocol/ext-apps ^2.0.3 dev @biomejs/biome 2.5.14 → 2.5.15 dev @cloudflare/workers-types 5.20260924.1 → 5.20260930.2 dev @duckdb/node-api ^1.5.5-r.5 → ^1.5.6-r.1 dev @hono/otel ^1.1.2 → ^1.2.0 dev @modelcontextprotocol/client ^2.1.0 → ^2.2.0 dev @supabase/supabase-js ^2.117.1 → ^2.117.2 dev @types/node 26.6.2 → 26.6.3 dev @types/sanitize-html ^2.16.1 → ^2.16.2 dev fast-xml-parser ^5.11.1 → ^5.11.2 dev ignore ^7.0.10 → ^7.0.11 dev openai ^7.23.0 → ^7.25.0 dev sanitize-html ^2.17.7 → ^2.18.0 dev tsc-alias ^1.9.5 → ^1.9.7 dev vite 8.3.0 → 8.3.1 scaffold dev @biomejs/biome 2.5.14 → 2.5.15 scaffold dev @types/node 26.6.2 → 26.6.3 scaffold dev ignore ^7.0.9 → ^7.0.11 scaffold dev tsc-alias ^1.9.5 → ^1.9.7

    译文chore(release):0.13.11 —— MCP Apps 宿主、wire 日志下限与脱敏、脚手架修复 版本号提升、更新日志条目,以及本次发布多项变更共用的文档界面。依赖变动: @modelcontextprotocol/server ^2.1.0 → ^2.2.0 @hono/node-server ^2.1.1 → ^2.1.3 hono ^4.13.9 → ^4.13.12 peer @duckdb/node-api ^1.5.5-r.1 → ^1.5.5-r.1 || ^1.5.6-r.1 peer(新增,可选)@modelcontextpro……

  9. 修复测试:以运行的 timeoutMs 约束 evaluate 步骤

    mcp-ts-core官方一手原文 →

    fix(testing): bound an evaluate step by the run's timeoutMs An evaluate step whose promise never settled held renderAppTool open, browser included; the step now fails at timeoutMs. The fake host awaits promise values under awaitPromise as CDP does, so the never-painting frames case waits for real.

    译文fix(testing):以运行的 timeoutMs 约束 evaluate 步骤 一个 promise 永不落定的 evaluate 步骤此前会让 renderAppTool 一直保持打开,浏览器也不例外;该步骤现在会在 timeoutMs 时失败。假宿主在 awaitPromise 下等待 promise 值,与 CDP 的行为一致,因此「永不绘制帧」的情形会真正等待。

  10. 修复测试:阻止沙箱代理转发 ui/notifications/sandbox-* 消息

    mcp-ts-core官方一手原文 →

    fix(testing): keep the sandbox proxy from relaying ui/notifications/sandbox-* The MCP Apps spec reserves those names for host and proxy; a view that posted sandbox-proxy-ready got its HTML resent into a second iframe and initialized twice.

    译文fix(testing):阻止沙箱代理转发 ui/notifications/sandbox-* MCP Apps 规范将这些名称保留给宿主和代理;一个发送了 sandbox-proxy-ready 的视图,其 HTML 会被重新发送进第二个 iframe 并初始化两次。

  11. mcp-ts-core 0.13.11 更新日志:列出技能修正与 CLI 修复

    mcp-ts-core官方一手原文 →

    docs(changelog): list the skill corrections and CLI fix 0.13.11 ships The entry omitted the field-test, api-mirror, and git-wrapup skill edits and the -h exit code the range already carries.

    译文docs(changelog):列出 0.13.11 版本包含的技能修正与 CLI 修复 该条目遗漏了该版本区间已包含的 field-test、api-mirror、git-wrapup 技能修改以及 -h 退出码。