Skip to content

dsh-token-activity-bundle

Verified

@snownightt/dsh-token-activity-bundle · v0.2.0 · MIT

Token-activity profile bundle: mounts the token-activity Host and Web-client plugins as one installable layer

Install

dsh plugin add @snownightt/dsh-token-activity-bundle

Confirm the layer applied with dsh --profile default --dump-config — see the install guide.

Source

Published to npm without a public repository. Inspect the package contents before installing.

Creators

Readme

@snownightt/dsh-token-activity-bundle

Token 活动插件的组合包(profile bundle):一次安装即可同时挂载 Host 插件与 Web 客户端插件,并自动加入 profile 的 dsh.profile.bundles 层列表。

本包本身不含运行时代码,其全部内容就是 cordis.patch.yml(通过 dsh.bundle.patch 声明),以及对其依赖的两个插件包:

  • @snownightt/dsh-token-activity(Host)
  • @snownightt/dsh-ui-token-activity(Web client)

安装

# 从 npm(发布后)
dsh plugin --profile web add @snownightt/dsh-token-activity-bundle

# 本地 checkout
dsh plugin --profile web add ./packages/token-activity-bundle

dsh plugin add 会把它加入 dsh.profile.bundles,随后 dsh web 启动时该层被组合进去,「使用量」设置页即出现。

前置条件

  • 两个插件包已构建(lib/ 产出)并在 npm 可解析(^0.1.0);本地联调时由 pnpm workspace 链接。
  • 其注入的前置服务(sessionProjectionssessionProjectionCachesessionPersistencesessions)由 @deepseek-ai/dsh-base@deepseek-ai/dsh-web-app 组合包提供,无需用户手工挂载。