Skip to content

镜像默认安装锁版本的 dsh-im IM 插件 - #64

Merged
earayu merged 1 commit into
mainfrom
feat/default-dsh-im
Sep 2, 2026
Merged

镜像默认安装锁版本的 dsh-im IM 插件#64
earayu merged 1 commit into
mainfrom
feat/default-dsh-im

Conversation

@earayu

@earayu earayu commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • 托管 dsh 打开后没有 IM 渠道,租户得自己跑 dsh plugin add
  • 镜像构建时用官方安装器把 @xmanrui/dsh-im@4.8.0 钉进 /opt/dsh-seed/.dsh;host-agent 拉起实例时写入租户 web profile,已有插件和用户自己钉的版本不覆盖。运行期不访问 npm。

Closes #63

Test plan

  • cd host-agent && npm test(62 通过,含 seed 合并 / 缺 seed 跳过 / 不覆盖已有包)
  • cd host-agent && npm run typecheck
  • CI image job:Dockerfile 能装上 seed(Actions 构建,不在本地 build)
  • staging 滚新镜像后打开一台 dsh,设置里有「IM机器人」

Made with Cursor

托管实例打开后应直接有「IM机器人」,不必再跑 dsh plugin add。
构建时用官方安装器把 @xmanrui/dsh-im 钉进 seed,启动时只补进租户
web profile,已有插件和用户自己钉的版本不覆盖。运行期不访问 npm。

Closes #63

Co-authored-by: Cursor <cursoragent@cursor.com>
@earayu
earayu merged commit 3d2d502 into main Sep 2, 2026
3 checks passed
@earayu
earayu deleted the feat/default-dsh-im branch September 2, 2026 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

镜像默认安装 dsh-im IM 插件

1 participant