Skip to content

v0.7.0 — 可配置数据目录与安全迁移、任务内容支持图片(#25)、工具注册稳定化提升缓存命中(#24)

Choose a tag to compare

@cloader cloader released this 11 Sep 15:03
· 35 commits to main since this release

新特性

  • 看板设置新增数据存储路径:dsh-taskboard.json、dsh-taskboard-templates.json 和 dsh-taskboard-assets/ 统一存放在所选目录;可检查目标目录(真实写探针)并在运行中迁移。三类存储共享串行队列,迁移先写入并校验完整 staged 副本,再原子切换保留在 DSH_HOME 的位置引导文件,最后清理旧数据;目标冲突或迁移失败时继续使用原位置。
  • 任务描述与评论支持插入图片(#25,@miiio):文件选择、粘贴或拖放上传 PNG/JPEG/GIF/WebP,编辑器插入 Markdown 并在详情中显示缩略图与灯箱预览。图片本地内容寻址存储:SHA-256 去重、单文件上限 5 MiB、总容量上限 200 MiB、魔数校验并拒绝 SVG、读取路径白名单;未被台账引用的草稿图片 24 小时宽限期后清理。台账与 SSE 只携带短链接,不嵌入图片二进制。
  • DSH 开发依赖升级到 0.1.5-rc.2 系列,@deepseek-ai/cordis 升至 4.0.2、@deepseek-ai/schemastery 升至 3.18.2;在一次性 Profile 上实测 DSH 0.1.5-rc.1 的启动、看板路由及图片上传/读取,并加入兼容矩阵。

修复

  • 修复任务看板工具在会话开始后才出现、破坏模型请求稳定前缀的问题(#24,@shabiwanximint-max):10 个 taskboard_* 工具与协议段在插件挂载时同步注册,首个请求起工具集保持稳定,提升 provider 前缀缓存命中率;依赖未就绪时工具定义保留、调用返回明确的 taskboard_not_ready。工具执行等待共享的台账首次加载;工具清理与运行服务生命周期分离。

验证结果


New Features

  • Board Settings gains a configurable data directory: dsh-taskboard.json, dsh-taskboard-templates.json, and dsh-taskboard-assets/ live together in the directory you choose, with a real write-probe check and runtime migration. All stores share one serial queue; migration writes and verifies a complete staged copy, atomically switches the location pointer kept in DSH_HOME, then cleans the old files — conflicts or failures leave the original location active.
  • Task descriptions and comments now support image insertion (#25, @miiio): upload PNG/JPEG/GIF/WebP via file picker, paste, or drag and drop; the editor inserts Markdown and task details render thumbnails with lightbox previews. Images are stored locally and content-addressed: SHA-256 deduplication, 5 MiB per file, 200 MiB total quota, magic-byte validation with SVG rejected, and a whitelisted read path; unreferenced draft uploads are cleaned after a 24-hour grace period. The ledger and SSE carry short URLs only, never image bytes.
  • DSH dev dependencies upgraded to the 0.1.5-rc.2 line, plus @deepseek-ai/cordis 4.0.2 and @deepseek-ai/schemastery 3.18.2; a disposable profile verified DSH 0.1.5-rc.1 startup, taskboard routes, and image upload/read, and that release was added to the compatibility matrix.

Fixes

  • Fix taskboard tools appearing after a session starts and changing the model request prefix (#24, @shabiwanximint-max): the ten taskboard_* tools and the protocol section register synchronously at plugin mount, keeping the tool set stable from the first request and improving provider prefix-cache hit rates; definitions stay present while dependencies are unavailable and calls return an explicit taskboard_not_ready. Tool execution waits for the shared initial ledger load, and tool cleanup is separated from runtime-service lifecycles.

Validation