Skip to content
This repository was archived by the owner on Oct 28, 2026. It is now read-only.

v0.4.4 - Cross-Instance Tool Scheduler Dynamic Resolution / 跨实例工具调度器动态解析与双包Symbol隔离穿透

Choose a tag to compare

@Jaylor-Wang Jaylor-Wang released this 25 Oct 18:43
· 14 commits to main since this release

English

Highlights in v0.4.4

  • Cross-Instance Tool Scheduler Dynamic Resolution: Implemented a robust multi-tier fallback resolver (resolveToolScheduler) to dynamically match TOOL_RUNTIME_SCHEDULER across Dual-Package Symbol boundaries (Cordis service injection vs isolated package instances).
  • Symbol Isolation Penetration: Supports cross-package Symbol description probing (TOOL_RUNTIME_SCHEDULER, dsh-tools.scheduler) and duck-typing method fallback (prepareScheduledExecution / dispatchScheduledExecution), completely eliminating Cannot read properties of undefined (reading 'prepare') when executing tool calls in DSH Web / Electron runtimes.
  • Dynamic Host Tools Bridge: Extends host services inspection to resolve and export runtime symbols directly from the active DSH installation anchor.

中文

v0.4.4 版本核心特性

  • 跨实例工具调度器动态解析与双包 Symbol 隔离穿透:针对跨包安装环境引发的 Symbol("@deepseek-ai/dsh-tools.scheduler") 双重实例不匹配问题,实现多级动态解析链 resolveToolScheduler,彻底解决工具调用执行时报错 TypeError: Cannot read properties of undefined (reading 'prepare')。
  • 全链路多级回退兼容:
    1. 优先匹配宿主与本地精确 Symbol 引用;
    2. 自动探测并跨包识别 Symbol 描述符(兼容 dsh-tools.scheduler 与 TOOL_RUNTIME_SCHEDULER);
    3. 支持实例级方法鸭子类型回退(prepareScheduledExecution / dispatchScheduledExecution / finalizeScheduledExecution);
    4. 支持标准属性 scheduler 探测。
  • 宿主工具服务动态桥接(src/host.ts):在宿主环境探测中追加对 @deepseek-ai/dsh-tools 调度器标识的动态提取与注入,保障 Cordis 服务总线与 FastLoop 驱动之间的无缝通信。