dsh-im-companion
开发工具 活跃维护

dsh-im-companion

FeatherHunter/dsh-im-companion

作为dsh-im的增强工具,依托助理与家的交互概念,可直观呈现各工作区的助理托管情况与在线状态,支持拖拽快速完成工作区搬家操作,轻便无冗余配置。

4
Stars 标星
1
Forks 分支
4
Watchers 关注
0
Open Issues
TypeScript
主要语言
MIT
开源协议
6.8 MB
仓库大小
2 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:FeatherHunter/dsh-im-companion
git clone https://github.com/FeatherHunter/dsh-im-companion.git
git clone git@github.com:FeatherHunter/dsh-im-companion.git
README.md master

dsh-im-companion

**中文** · [English](https://github.com/FeatherHunter/dsh-im-companion/blob/master/docs/README.en.md) **dsh-im-companion 以助理和家的概念增强dsh-im的使用体验。** 你的 ⭐是我夜空中最亮的星。 *Give every agent a home — IM Companion handles the rest.* [![版本](https://img.shields.io/npm/v/dsh-im-companion?label=版本)](https://www.npmjs.com/package/dsh-im-companion) [![下载量](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fapi.npmjs.org%2Fdownloads%2Fpoint%2Flast-month%2Fdsh-im-companion&query=%24.downloads&label=下载量&suffix=/月&color=brightgreen)](https://www.npmjs.com/package/dsh-im-companion) [![最近更新](https://img.shields.io/github/last-commit/FeatherHunter/dsh-im-companion?label=最近更新&color=FE7D37)](https://github.com/FeatherHunter/dsh-im-companion/commits/master) [![许可证](https://img.shields.io/badge/许可证-MIT-lightgrey.svg)](https://raw.githubusercontent.com/featherhunter/dsh-im-companion/master/LICENSE) [![上游本体](https://img.shields.io/badge/上游-dsh--im-3370ff)](https://github.com/xmanrui/dsh-im) [![期待你参与](https://img.shields.io/badge/期待你参与-brightgreen.svg)](https://github.com/FeatherHunter/dsh-im-companion/issues)
👇 有助理的工作区,一目了然。
左栏工作区:全部、有助理、无助理,在线绿灯
👇 额外增强DSH原生会话状态。
工作区红色竖条,组内有异常会话
**装它,1 分钟(先装 dsh-im,再装辅助)。**

INSTALL
安装

前置要求:[DSH](https://www.npmjs.com/package/@deepseek-ai/dsh)(DeepSeek Harness)+ [dsh-im](https://github.com/xmanrui/dsh-im)(IM 机器人本体)。
# 1 安装 DSH CLI(已装跳过)
npm install -g @deepseek-ai/dsh

# 2 先装本体 dsh-im(已装跳过,同样 --profile 必填)
dsh plugin --profile desktop add dsh-im
#     或者
dsh plugin --profile web add dsh-im

# 3 再装辅助(--profile 必填,装进实际使用的入口)
dsh plugin --profile desktop add dsh-im-companion
#     或者
dsh plugin --profile web add dsh-im-companion

# 锁定版本更稳(当前 0.1.7)
dsh plugin --profile desktop add dsh-im-companion@0.1.7 --registry https://registry.npmjs.org
装完刷新页面即生效。若面板没有出现,请完全退出 DSH 后重新打开。
把安装交给你的 AI 复制下面这段发给你的 AI: ```text 请帮我安装 DeepSeek Harness 插件 dsh-im-companion(IM 辅助)。 先读仓库 README:https://github.com/FeatherHunter/dsh-im-companion 先确认我实际使用的 DSH 入口对应哪个 profile(桌面应用走 desktop,自启 web 服务走 web), 先确认 dsh-im 本体已装进同一个 profile(没装先装),再把辅助装进正确的 profile。 ```
更新不生效时怎么装 下面以 desktop 为例,web 用户请把 --profile desktop 换成 --profile web: ```bash dsh plugin --profile desktop add dsh-im-companion@0.1.7 --registry https://registry.npmjs.org npx --yes @deepseek-ai/dsh plugin --profile desktop add dsh-im-companion dsh plugin --profile desktop add dsh-im-companion@latest --registry https://registry.npmjs.org ```

升级 · 卸载:

dsh plugin --profile desktop update dsh-im-companion
dsh plugin --profile desktop remove dsh-im-companion

COMPAT
兼容性

| dsh-im-companion | dsh-im | 说明 | | --- | --- | --- | | **0.1.7+** | **4.17.1**(已验证) | 双传输:4.17.1+ 走 `/api` 新载体,≤4.17.0 自动回退旧路由——两边都能用 | | 0.1.6 | 4.17.1 | **web profile 装配失败**(host 半走已退役的前缀路由,报 `cannot get property "webServer" without inject`)→ 请升级 0.1.7 | | 0.1.4 | ≤4.17.0 | dsh-im 4.17.1 改道后不可用(接入向导报 HTTP 405),请升级到 0.1.7 | 宿主 `@deepseek-ai/dsh` **0.1.5-rc.2** 已验证(要求宿主提供 `connection.fetch`;更老宿主会在装配期显式报错,不静默降级)。面板右上角并列标出「已验证 dsh-im 版本」与「宿主 dsh 版本」(值来自 `package.json`,构建时注入),升级前看一眼即可。

WHY
为什么要做 IM 辅助

dsh-im 掌管接入,dsh-im-companion 以助理和家的概念增强能力。 **家**:哪个工作区有助理在管、在不在线,尽收眼底;搬家拖一下就行。 👇 点“有助理”,只看已安家的。 一键过滤只看有助理

IN ACTION
真机演示

👇 进设置 → IM机器人增强:助理、渠道、在线状态一屏看尽。 设置页助理聚合视图 👇 切按渠道:同渠道助理排一排。 设置页按渠道视图 👇 点“添加接入”:选家后扫码即绑定。 添加接入二维码弹窗 👇 点开助理卡:模式、状态、各渠道增强开关一目了然。 助理详情抽屉 👇 舰队雷达:Agent × 渠道矩阵,全舰队谁在线一眼看清。 舰队雷达矩阵总览 👇 会话状态一目了然(DSH增强)。
👇 蓝条代表有会话在执行。
工作区蓝色竖条,组内有执行中会话
👇 橙条代表有消息等你确认。点开后自动熄灭。
工作区橙色竖条,有待确认消息
👇 悬停看双通道 + 最后检测时间
悬停卡与在线徽标同框
👇 浅色主题同样可用
浅色左栏同样有徽标和过滤
👇 点工具栏机器人脸图标,进搬家面板 左栏工具栏串门入口图标 👇 串门搬家:把照片拖到另一家,二次确认。绿灯在岗,黄灯打盹,灰灯睡着。 串门搬家面板 👇 卡片拖到另一家上空,目标家高亮 拖拽中目标家高亮 👇 搬家前二次确认 搬家二次确认框

FAQ
常见问题

更新之后还是旧版本? 这是桌面端的应用市场缓存策略导致的:刚发布的版本几小时内更新会静默跳过。等几小时再更新;等不及就显式指定官方源装一次: ```bash dsh plugin --profile desktop add dsh-im-companion@latest --registry https://registry.npmjs.org ```

MORE
作者的其他作品

**[dsh-opencode-palette](https://github.com/FeatherHunter/dsh-opencode-palette)** —— 34 款 opencode 经典配色,一键换装 **[dsh-mattpocock-skills-deck](https://github.com/FeatherHunter/dsh-mattpocock-skills-deck)** —— Matt Pocock 技能面板:25 个工程与效率技能即装即用 **[dsh-chinese-skill-patch](https://github.com/FeatherHunter/dsh-chinese-skill-patch)** —— 中文技能名直达,不必改英文名 **[dsh-prompt](https://github.com/FeatherHunter/dsh-prompt)** —— Prompt 工具箱:24 条深度模板随手点 --- 有问题?[提交 ISSUE](https://github.com/FeatherHunter/dsh-im-companion/issues),认领前先读 docs/agents 标签纪律。 MIT © FeatherHunter

THANKS
致谢

感谢每一位提交 Issue、PR 与参与讨论的朋友。 首个公开版(v0.1.0)尚无外部贡献名单,虚位以待——第一个提 Issue 的朋友,你的名字会写在这里。 也感谢上游 [dsh-im](https://github.com/xmanrui/dsh-im):没有本体,就没有辅助。

CONNECT
加入我们

Bug 与需求请直接提 ISSUE,更高效可追溯。 [提交 ISSUE](https://github.com/FeatherHunter/dsh-im-companion/issues) · [上游 dsh-im](https://github.com/xmanrui/dsh-im) 话题群二维码待补——有群后这里放永久有效二维码。