Socialist-Sister/dsh-survival-mode--packages-hud1

@dsh-survival/hud

Survival-mode HUD bridge: a Minecraft-style browser status bar (hearts + drumsticks) reading the survival engine through a host-plane Typert Remote, gated to survival sessions only

AI Analysis

核心用途是可视化生存模式下的角色状态。适合已启用生存模式引擎、需要直观监控生命值和饥饿度的用户。

Package
@dsh-survival/hud
Version
0.1.3
License
NOASSERTION
Last updated
Aug 16, 2026

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗

@dsh-survival/hud

生存模式状态栏桥(HOST 行):浏览器端 Minecraft 风格状态栏(❤️ 心 + 🍗 鸡腿 + 昼夜 + 经验),通过 kind: 'direct' 的 Typert Remote 暴露,宿主半面用 agentPresets.serviceFor(agent, 'survivalEngine') 读取预设引擎快照(api-proxy 读取 goals/skills 的同一官方通路)。

capability 方法以 composedPreset(agent.ctx) === 'survival' 门禁——只在生存模式会话显示,其他模式完全不可见。client 半面由 dsh.client 声明自动挂载(conversation.input.dock 座位)。

显示语义对齐原版 Minecraft:满心 ❤️ = 2 血,半心 💔 = 1 血;满鸡腿 🍗 = 2 饥饿,半 🍖 = 1。

# cordis.patch.yml(宿主 composition)
- insert:
    - id: survival-hud
      name: '@dsh-survival/hud'