Skip to content

v0.12.1 — Harness 0.1.3 attachment compatibility

Latest

Choose a tag to compare

@linkingoscar linkingoscar released this 06 Sep 04:22
· 1 commit to main since this release

中文

适配 DeepSeek Harness dsh-v0.1.3-alpha.1,修复转换图片的会话归属,并恢复与原生通用文件上传的共存。

  • 通过 ctx.get('conversation') 读取宿主服务,使用 createDrafts(sessionId, files)、addAttachments 和 releaseDraftAttachments;保留旧版图片接口兼容。
  • 移除全局合成 drop 兜底;接口不可用或拒绝时明确提示并释放新建附件,不再误报成功。
  • ZIP 等无需转换的文件整批放行;混合批次将转换图片与原生文件挂入开始处理时的会话。
  • 文档卡片、转换进度、剪贴板文字按会话隔离,切换会话不会覆盖另一会话的附件。
  • 浏览器产物隔离顶层变量,支持宿主重新加载;兼容性检查加入 dsh-v0.1.3-alpha.1。

English

Restore attachment compatibility with DeepSeek Harness dsh-v0.1.3-alpha.1. Converted images and mixed native files attach to their original session through the new conversation service, while legacy image interfaces remain supported.

  • Use ctx.get('conversation'), createDrafts, addAttachments and releaseDraftAttachments.
  • Remove global synthetic-drop fallback; report rejected attachments and clean up drafts.
  • Let native-only batches pass through, including ZIP files, and route mixed batches to the original session.
  • Preserve document cards, progress and clipboard text independently for each session.
  • Isolate browser bundle globals for host reloads and extend the upstream compatibility matrix.

Validation / 验证

  • Converter, route, client, OCR and P0 smoke suites passed locally; pandoc and LibreOffice checks skipped because those optional programs were not installed.
  • Type checking, lint and focused final client regressions passed.
  • Real Harness 0.1.3-alpha.1 browser acceptance covered SVG-to-PNG conversion, native ZIP upload with verified contents, document merge and session navigation. Model responses were not tested: the isolated fixture had no provider credentials.
  • Update the plugin, restart dsh web and refresh the browser to load the new bundle.

GitHub Actions passed on the release commit: Node.js 22/24 CI and Harness compatibility for 0.1.1-rc.2, 0.1.2-alpha.1 and 0.1.3-alpha.1.