Repository navigation
Releases
v0.2.0
Full Changelog: v0.1.6...v0.2.0
v0.1.6
v0.1.5
修复 Agent 委派(@weekit/dsh-delegate-agent)与 请求追踪(@weekit/dsh-trace)在 DeepSeek Harness 上完全不可用的问题。
兼容性
- 面向 DeepSeek Harness
>= 0.1.5-rc.2,本版本已在dsh 0.1.5-rc.2上完成端到端验证。 - DSH 低于
0.1.5-rc.2请继续使用旧版发布物v0.1.3,不要把本版本的 tarball 装进旧 profile。 - 不需要修改 DeepSeek Harness 源码,也不需要 patch 任何 profile 配置。
修复
RPC 通道无法注册(两个插件的主症状)
- 症状:浏览器「请求追踪」报
请求追踪加载失败。transport failure for /dsh-trace/requests.list: HTTP 405,「委派」报transport failure for /dsh-delegate-agent/adapters.list: HTTP 405;trace 库自 9/10 起不再写入任何记录,委派任务无法启动。 - 根因:两个插件的 host 半边使用
ctx.connection.rpc.handle(<channel>, handler)注册专用 RPC 通道。在0.1.5-rc.2的HostConnectionService.register()中,owner.effect(() => owner.webServer.register(route))的owner是 Connection 插件自身的上下文,而webServer由兄弟插件dsh-host-webserver提供,不在该上下文的 fiber 链上,于是抛出cannot get property "webServer" without inject;该异常发生在插件的ctx.effect(async …)内部,被 cordis 静默吞掉,因此终端没有任何日志,只有浏览器侧的 HTTP 405。 - 修复:改用 DSH 文档化的共享通道 —— 每个端点注册一条受 Host/Origin 与浏览器鉴权保护的精确路由
POST /api/<namespace>/<method>(connection.fetch.register),浏览器半边改用connection.rpc.call('/api', '<namespace>/<method>', …)调用。dsh-trace:requests.list/requests.get/requests.cleardsh-delegate-agent:config.get、adapters.list、tasks.list|get|start|cancel|clear、presets.list|create|update|delete- 委派任务的
tasks.start继续透传请求的 abort 信号(浏览器断开即中止)。
启动期静默失败可见化
- 两个插件的路由注册失败现在会写入
logger.error;此前这类失败(包括本次的根因)在 web profile 中完全无声,排障只能靠浏览器文案。
安装
# 全部四个插件(默认 web profile)
curl -fsSL https://github.com/weekitmo/oh-my-dsh-plugins/releases/download/v0.1.5/install.sh | sh
# 只装本次修复的两个插件
curl -fsSL https://github.com/weekitmo/oh-my-dsh-plugins/releases/download/v0.1.5/install.sh | sh -s -- @weekit/dsh-trace @weekit/dsh-delegate-agent安装后需要重启 DSH Web 才会加载新版本(dsh plugin add 不触发热重载)。
English summary: fixes @weekit/dsh-trace and @weekit/dsh-delegate-agent being unusable on DeepSeek Harness 0.1.5-rc.2. Their dedicated connection.rpc.handle() channels could never register — the registration resolves webServer through the Connection plugin's own fiber chain, where a sibling-provided service is unreachable, and the resulting throw was swallowed inside the plugin's asynchronous effect. Both plugins now register one authenticated POST /api/<namespace>/<method> route per endpoint on the shared /api carrier and call it with connection.rpc.call('/api', …). Requires DSH >= 0.1.5-rc.2; no harness source or profile patches needed.
Full Changelog: v0.1.4...v0.1.5
v0.1.4
v0.1.3
v0.1.2
v0.1.1
v0.1.0
Full Changelog: https://github.com/weekitmo/oh-my-dsh-plugins/commits/v0.1.0