DSH releases a Redis client plugin for connection and key management
Version 1.1.1 of the @oakzhong/dsh-redis-client plugin adds Redis management to DSH (DeepSeek Harness) through its sidebar. According to the plugin documentation, it supports multiple connections, key and value browsing, TTL management, and command execution through the pure JavaScript ioredis client without requiring redis-cli.
The plugin gives DSH users a documented interface for common Redis administration tasks, although its capabilities have not been independently validated.
Redis 客户端(dsh-redis-client)
一款运行在 DSH(DeepSeek Harness)中的 Redis 管理插件。左侧栏提供入口,可管理多个 Redis 连接、浏览键值、执行命令。Redis 交互使用纯 JavaScript 的 ioredis 直连协议——不需要安装 redis-cli,在 Windows、macOS、Linux 上表现一致。
插件信息
- 包名:
@oakzhong/dsh-redis-client - 版本:1.1.1
- 入口:左侧栏面板「Redis 客户端」(slot id
redis-client) - 类型:Host + Client 双半部 Cordis bundle
使用技术
| 层面 | 技术 |
|---|---|
| 插件框架 | DSH Cordis bundle(cordis.patch.yml 插入 Loader 行) |
| 模块格式 | ESM("type": "module") |
| Host 半部 | ESM apply(ctx),通过 ctx.connection.fetch.register 注册 7 条 API 路由 |
| Client 半部 | window.__ModuleLoader__ 注册,React 无 JSX(React.createElement) |
| Redis 交互 | 使用 ioredis(纯 JavaScript RESP 客户端);按 host:port:db:user 复用连接,命令直连发送,不启动任何外部进程 |
| 连接配置 | 保存在浏览器 localStorage(dsh-redis-client.connections.v1 / dsh-redis-client.active.v1),Host 侧不持久化 |
| UI 样式 | 组件内注入 <style>,使用 DSH 主题 token |
| 国际化 | ctx.locale.register / bind,中英双语(zh / en)字典 |
#DSH (DeepSeek Harness)#@oakzhong/dsh-redis-client#Redis#ioredis#Cordis