Bundle
dsh-im-companion
dsh-im-companion:以助理和家的概念增强 dsh-im——哪个工作区有助理在管、在不在线尽收眼底,搬家拖一下就行。
- Source
- FeatherHunter
- stars
- 4 stars
- License
- MIT
- Updated
- Updated 1 hour ago
Readme
<h1 align="center">dsh-im-companion </h1> <div align="center"> **中文** · [English](docs/README.en.md) **dsh-im-companion 以助理和家的概念增强dsh-im的使用体验。** 你的 ⭐是我夜空中最亮的星。 *Give every agent a home — IM Companion handles the rest.* [](https://www.npmjs.com/package/dsh-im-companion) [](https://www.npmjs.com/package/dsh-im-companion) [](https://github.com/FeatherHunter/dsh-im-companion/commits/master) [](LICENSE) [](https://github.com/xmanrui/dsh-im) [](https://github.com/FeatherHunter/dsh-im-companion/issues) <table> <tr> <td align="center" valign="top" width="50%"> <strong>👇 有助理的工作区,一目了然。</strong> <br><img src="assets/工作区-有助理的工作区一目了然-深色.png" width="300" alt="左栏工作区:全部、有助理、无助理,在线绿灯"> </td> <td align="center" valign="top" width="50%"> <strong>👇 额外增强DSH原生会话状态。</strong> <br><img src="assets/工作区增强-显示工作区红色状态-内部也有执行中的会话.png" width="300" alt="工作区红色竖条,组内有异常会话"> </td> </tr> </table> **装它,1 分钟(先装 dsh-im,再装辅助)。** </div> <h2 align="center"><sub>INSTALL</sub><br>安装</h2> <div align="center"> 前置要求:[DSH](https://www.npmjs.com/package/@deepseek-ai/dsh)(DeepSeek Harness)+ [dsh-im](https://github.com/xmanrui/dsh-im)(IM 机器人本体)。 </div> ```bash # 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.6) dsh plugin --profile desktop add dsh-im-companion@0.1.6 --registry https://registry.npmjs.org ``` <div align="center"> 装完刷新页面即生效。若面板没有出现,请完全退出 DSH 后重新打开。 </div> <details> <summary>把安装交给你的 AI</summary> 复制下面这段发给你的 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。 ``` </details> <details> <summary>更新不生效时怎么装</summary> 下面以 desktop 为例,web 用户请把 --profile desktop 换成 --profile web: ```bash dsh plugin --profile desktop add dsh-im-companion@0.1.6 --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 ``` </details> 升级 · 卸载: ```bash dsh plugin --profile desktop update dsh-im-companion dsh plugin --profile desktop remove dsh-im-companion ``` <a name="compat"></a> <h2 align="center"><sub>COMPAT</sub><br>兼容性</h2> <div align="center"> | dsh-im-companion | dsh-im | 说明 | | --- | --- | --- | | **0.1.6+** | **4.17.1**(已验证) | 双传输:4.17.1+ 走 `/api` 新载体,≤4.17.0 自动回退旧路由——两边都能用 | | 0.1.4 | ≤4.17.0 | dsh-im 4.17.1 改道后不可用(接入向导报 HTTP 405),请升级到 0.1.6+ | 宿主 `@deepseek-ai/dsh` 0.1.2-rc.1 已验证。面板右上角直接标出「已验证 dsh-im 版本」,升级前看一眼即可。 </div> <h2 align="center"><sub>WHY</sub><br>为什么要做 IM 辅助</h2> <div align="center"> dsh-im 掌管接入,dsh-im-companion 以助理和家的概念增强能力。 **家**:哪个工作区有助理在管、在不在线,尽收眼底;搬家拖一下就行。 <strong>👇 点“有助理”,只看已安家的。</strong> <img src="assets/工作区-一键过滤-有助理-深色.png" width="340" alt="一键过滤只看有助理"> </div> <h2 align="center"><sub>IN ACTION</sub><br>真机演示</h2> <div align="center"> <strong>👇 进设置 → IM机器人增强:助理、渠道、在线状态一屏看尽。</strong> <img src="assets/设置-以Agent为核心-聚合视图-深色.png" width="720" alt="设置页助理聚合视图"> <strong>👇 切按渠道:同渠道助理排一排。</strong> <img src="assets/设置-按渠道视图-深色.png" width="640" alt="设置页按渠道视图"> <strong>👇 点“添加接入”:选家后扫码即绑定。</strong> <img src="assets/设置-添加接入-二维码弹窗-深色.png" width="640" alt="添加接入二维码弹窗"> <strong>👇 点开助理卡:模式、状态、各渠道增强开关一目了然。</strong> <img src="assets/助理卡-详情抽屉-深色.png" width="640" alt="助理详情抽屉"> <strong>👇 舰队雷达:Agent × 渠道矩阵,全舰队谁在线一眼看清。</strong> <img src="assets/舰队雷达-矩阵总览-深色.png" width="720" alt="舰队雷达矩阵总览"> <strong>👇 会话状态一目了然(DSH增强)。</strong> <div align="center"> <table> <tr> <td align="center" valign="top" width="50%"> <strong>👇 蓝条代表有会话在执行。</strong> <br><img src="assets/会话状态-工作区-执行中.png" width="330" alt="工作区蓝色竖条,组内有执行中会话"> </td> <td align="center" valign="top" width="50%"> <strong>👇 橙条代表有消息等你确认。点开后自动熄灭。</strong> <br><img src="assets/工作区增强-轻松看到待用户确认的消息.png" width="330" alt="工作区橙色竖条,有待确认消息"> </td> </tr> </table> </div> <div align="center"> <table> <tr> <td align="center" valign="top" width="50%"> <strong>👇 悬停看双通道 + 最后检测时间</strong> <br><img src="assets/工作区-Header浮层-当前助理状态-呼吸感.png" width="330" alt="悬停卡与在线徽标同框"> </td> <td align="center" valign="top" width="50%"> <strong>👇 浅色主题同样可用</strong> <br><img src="assets/工作区-有助理-浅色.png" width="330" alt="浅色左栏同样有徽标和过滤"> </td> </tr> </table> </div> <strong>👇 点工具栏机器人脸图标,进搬家面板</strong> <img src="assets/串门-入口-左栏图标.png" width="380" alt="左栏工具栏串门入口图标"> <strong>👇 串门搬家:把照片拖到另一家,二次确认。绿灯在岗,黄灯打盹,灰灯睡着。</strong> <img src="assets/搬家面板-以家为核心-机器人可以自由搬到其他家庭.png" width="720" alt="串门搬家面板"> <strong>👇 卡片拖到另一家上空,目标家高亮</strong> <img src="assets/串门-拖拽中-目标家高亮.png" width="640" alt="拖拽中目标家高亮"> <strong>👇 搬家前二次确认</strong> <img src="assets/串门-二次确认.png" width="330" alt="搬家二次确认框"> </div> <h2 align="center"><sub>FAQ</sub><br>常见问题</h2> <details open> <summary>更新之后还是旧版本?</summary> 这是桌面端的应用市场缓存策略导致的:刚发布的版本几小时内更新会静默跳过。等几小时再更新;等不及就显式指定官方源装一次: ```bash dsh plugin --profile desktop add dsh-im-companion@latest --registry https://registry.npmjs.org ``` </details> <h2 align="center"><sub>MORE</sub><br>作者的其他作品</h2> <div align="center"> **[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 </div> <h2 align="center"><sub>THANKS</sub><br>致谢</h2> <div align="left"> 感谢每一位提交 Issue、PR 与参与讨论的朋友。 首个公开版(v0.1.0)尚无外部贡献名单,虚位以待——第一个提 Issue 的朋友,你的名字会写在这里。 也感谢上游 [dsh-im](https://github.com/xmanrui/dsh-im):没有本体,就没有辅助。 </div> <h2 align="center"><sub>CONNECT</sub><br>加入我们</h2> <div align="center"> Bug 与需求请直接提 ISSUE,更高效可追溯。 [提交 ISSUE](https://github.com/FeatherHunter/dsh-im-companion/issues) · [上游 dsh-im](https://github.com/xmanrui/dsh-im) <sub>话题群二维码待补——有群后这里放永久有效二维码。</sub> </div>
Install
dsh plugin --profile web add github:FeatherHunter/dsh-im-companion
Profile: web
With the hub plugin installed, ask your agent to install it by name — it resolves the same plan shown here.
dsh plugin --profile web add github:stvlynn/dsh.fish#path:packages/dsh-plugin-hub
install dsh-im-companion from the hub
- This package builds from source on install. pnpm will ask you to allow its build script — that is permission to run the package’s code on your machine, outside the agent sandbox. Only allow sources you trust.
- This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.