sereinmono/dsh-desktop-pet5

dsh-desktop-pet

适用于 deepseek-harness 的可选桌面伴侣插件:通过一个小型动画宠物展示环境状态,支持在网页端设置大小、宠物 ID 及闲置隐藏。

AI 分析

核心用途是提供桌面趣味交互与状态指示。适合喜欢桌面宠物、希望通过动画直观感知智能体运行状态(如忙碌或空闲)的用户。

套件
dsh-desktop-pet
版本
0.1.0
最近更新
2026年8月16日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:sereinmono/dsh-desktop-pet

Configuration

All fields are optional and validated with a Schemastery schema (invalid values fail loudly at load). The user-editable fields (enabled, petScale, petId, hideWhenIdle) are exposed on the Web settings card.

FieldDefaultDescription
enabledtrueMaster switch.
alwaysOnToptrueKeep the pet above other windows.
petScale1Pet size, 0.5–4× in 0.25 steps.
petIdtextWhich pet to display (a directory name under assets/pets/).
hideWhenIdlefalseAutomatically hide the pet when it sleeps (no task), and show it again on activity.
animationEnabledtrueRun the frame animation (static frame when false).
idleFrequencySec20Seconds (≥8) between randomized idle variations.
clickThroughfalsePass pointer events through (Windows only).
startSleepingfalseStart in the sleeping state.
animationSpeed1Global speed multiplier (0.25–4).

Example:

- insert:
    - id: desktop-pet
      name: dsh-desktop-pet
      config:
        petScale: 1
        petId: text
        idleFrequencySec: 30

Window position is persisted privately under ~/.dsh/desktop-pet/position.json (best-effort; failures are ignored). It does not depend on any Harness storage service.

Developer mode

When the core ctx.commands service is present, the plugin registers a /pet command to simulate states without any LLM:

/pet thinking
/pet working
/pet waiting_for_user
/pet success
/pet error
/pet reset

Valid states: STARTING IDLE THINKING WORKING CODING RUNNING_COMMAND WAITING_FOR_USER SUCCESS ERROR SLEEPING.