Skip to main content

How to use dsh-galgame

Transforms the vibe coding interface into a Galgame visual novel style with interactive character interactions, blending work with entertainment.

This article is auto-derived from indexed fields (wiki / faq / compatibility_json), not freshly AI-generated.

This article is derived from the plugin's already-indexed fields (wiki / faq / compatibility_json / readme), not freshly generated by AI. Source field is noted at the end of each section.

Quick start

Transforms the vibe coding interface into a Galgame visual novel style with interactive character interactions, blending work with entertainment.

— source: plugins.ai_summary

Install & verify

dsh plugin --profile web add @lanxing/dsh-galgame

Run the command above in your DSH Web Profile. Then enable the plugin in the plugin list.

— source: plugins.install

Key points

  • 形态:树外 npm 包(@lanxing/dsh-galgame,link 安装到 web profile)
  • 平台:Host(立绘静态资源路由)+ Client(conversation.view 注册 + GalGame UI)
  • 架构(详见 DESIGN.md):
  • 关键契约:conversation.view keyed slot(id/order/label/inject)、s.pending(question/approval 交互)、ctx.webServer prefix 路由、session.prompt(..., 'steer') 插话引导
  • 补差分:把 smile.webp / thinking.webp / angry.webp 等放入 portraits/,并在 src/client/manifest.ts 的 portraits 表里增加条目(组件全链路已按 portrait ID 解析,接口已预留;表情规则引擎规划中,见 DESIGN.md)。

— source: plugin_wiki.readme_en (fallback readme_raw)

Compatibility

  • DSH: 0.1.0-rc.6+
  • Node: ^22.19.0 || >=24.0.0
  • Platforms: 跨平台

— source: plugin_wiki.compatibility_json

Pitfalls

Review the upstream repo before installing. This guide is auto-derived from indexed fields and may lag the latest release. If anything contradicts the official docs, treat the upstream source as authoritative.

— source: general rule