English | 中文
English
What's Changed in v0.3.2
- Clean Host Dependency Boundary: Completely removed all
@deepseek-ai/* packages from runtime peerDependencies. DeepSeek Harness provides all @deepseek-ai/* and @deepseek-ai/cordis modules globally at runtime. Retaining them strictly in devDependencies ensures local type-checking and testing pass while preventing profile package managers (pnpm/npm) from hoisting duplicate Cordis or Session module trees into user profiles.
- Unified Cordis Service Resolution: Guarantees that fast-loop instances always register against the host's unified Cordis Context and prototype chain, resolving the startup freeze where core services like
sessions, agents, tools, and sessionProjections failed to register.
- High Concurrency & Lifecycle Resilience: Retains the transactional write lock release, WebSocket disconnect cleanup, and ~8x tool scheduler speedup validated across all 11 test suites.
Installation
# Via DSH Plugin CLI (Recommended)
dsh plugin --profile web add dsh-fast-loop
# Via npm / pnpm
npm install dsh-fast-loop
pnpm add dsh-fast-loop
Jump to Chinese / 跳转至中文
中文
v0.3.2 版本更新日志
- 规范宿主依赖边界:从运行时
peerDependencies 中完全移除 @deepseek-ai/* 相关模块。DeepSeek Harness 宿主会在运行时全局统一提供 @deepseek-ai/* 与 @deepseek-ai/cordis,将其严格限制在 devDependencies(仅供源码构建与本地测试使用),彻底杜绝包管理器向 profile 目录下载重复的 Cordis / Session 副本。
- 保障统一 Cordis 服务注册:确保 fast-loop 实例始终注册在宿主统一的 Cordis Context 与原型链上,杜绝因双实例导致
sessions、agents、tools、sessionProjections 服务丢失。
- 延续高并发与会话容错优势:全套继承 v0.3.0 的写锁安全释放、会话销毁资源自动回收机制,经 11 项全链路自动化测试与高并发基准测试验证。
安装与使用
# 通过 DSH 插件命令安装(推荐)
dsh plugin --profile web add dsh-fast-loop
# 通过 npm / pnpm 安装
npm install dsh-fast-loop
pnpm add dsh-fast-loop
Back to English / 返回英文