DeepSeek Harness Plugin

Kevinwu901113/dsh-dot

Stars ★ 2 Downloads (30d) 6,489 Category Just for Fun Added 2026-10-27 npm dsh-dot-life

A character who lives on her own phone: the plugin installs and runs her Android phone, and any app notification can wake her; she installs apps herself and browses, likes and comments in apps such as Xiaoheihe or Bilibili; she has her own QQ (NapCat / SnowLuma, multi-part replies, stickers); memory with people cards, a daily diary at 23:30 and automatic recall before each wake (local embeddings by default, SiliconFlow / DashScope optional); a life between conversations (after HDS-Interlude); and an optional microVM computer with approval gates. Sidebar tabs show her phone, her computer and a dot panel; personal settings live in ~/.dsh/dsh-dot.json, and each of the six components can be turned off. Only the QQ number set with /qq owner counts as you; other people's messages are treated as untrusted notifications.

Install

# from npm (prebuilt)

dsh plugin --profile web add dsh-dot-life

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:Kevinwu901113/dsh-dot

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

◎ dsh-dot

A character who lives on her own phone · a companion plugin for DeepSeek Harness

She has her own Android phone, her own QQ, her own days and diary. Between your conversations, she keeps living.

DSH Market

简体中文 · English

Quick start · Features · Settings · Architecture · Commands · Coexistence


✨ Features

  • 📱 A real phone — the plugin downloads, builds and boots an Android emulator (no Java / Android Studio). No app store: she installs her own apps.
  • 💬 Her own QQ — NapCat or SnowLuma (OneBot 11), same account as on her phone. Your message wakes her in 1–2 s; she replies in several short messages and sends stickers.
  • 🌙 A life between conversations — the interlude, ported from HDS-Interlude: she writes down her days, keeps intents, goes to look at what she's curious about, and sometimes has a real reason to message you.
  • 🧠 Memory — the words are the evidence, three short notes hold what stays true: every time she wakes, the past turns that bear on it (vector + BM25 candidates, reranked on your machine) come back to her by date; what she knows about you, about herself and what is not over yet is a small note; one card per person. Handoff at 150k tokens, a diary every night at 23:30.
  • 🎮 She browses and plays — likes, comments and follows in the apps she installed herself. How much is her own habit, not a quota.
  • 🖥️ An optional computer — a bundled microVM (no Docker): shell, browser, desktop, live view, approval gates, audit log.

[!NOTE] She can look, but never act behind your back. Looking is read-only; anything with consequences (installing, passwords, payments, messaging strangers) goes through approval or isn't allowed at all.

🚀 Quick start

Requires dsh ≥ 0.2.1 and hardware virtualization (Apple silicon / Intel Mac, Linux with KVM, Windows with WHPX). Quit the dsh desktop app first:

# macOS
"/Applications/DeepSeek Harness.app/Contents/Resources/runtime/cli/bin/dsh" plugin --profile desktop add \
  dsh-dot-life @xmanrui/dsh-im
# Windows
& "$env:LOCALAPPDATA\Programs\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop add `
  dsh-dot-life @xmanrui/dsh-im

Web: dsh plugin --profile web add dsh-dot-life. From source: use github:Kevinwu901113/dsh-dot.

Then, in dsh:

# or open "dot settings" in the left sidebar: settings, the doctor (one-click fixes) and a diagnostics export
/phone doctor               # check this machine first: virtualization, disk, memory, ports, downloads, the phone network (one-click fixes: /phone doctor fix <id>)
/phone accept               # accept the Android SDK license; the phone installs itself (~2 GB)
/interlude preset 6QA0-1PD6 # import an HDSI persona from typ0.space
/qq install → /qq account <alt account> → /qq start → /qq qr

Use alt accounts. No platform's terms allow automation.

⚙️ Settings

Every personal setting lives in one file: ~/.dsh/dsh-dot.json (Windows: %USERPROFILE%\.dsh\dsh-dot.json), one section per component. Upgrades never overwrite it; restart dsh after editing.

{
  "phone":     { "dataGb": 32 },
  "computer":  { "rootDisk": "32G", "memory": "6G" },
  "interlude": { "activeHours": "09:00-01:00", "speak": true }
}

Every key, which ones only apply to a newly created phone / VM, and rules for agents editing the file: docs/SETTINGS.md (Chinese). Or just ask dsh: "follow docs/SETTINGS.md and set dsh-dot's phone storage to 32 GB".

🧩 Architecture

One plugin, seven components. Each can be turned off on its own; the rest keep running.

flowchart LR
    you(["👤 You<br/>QQ / WeChat / Feishu"])
    subgraph dot["dsh-dot"]
        direction TB
        contact["dot<br/>contact layer"]
        interlude["interlude<br/>life between chats"]
        memory["memory<br/>memory · recall · diary"]
        phone["phone<br/>Android emulator"]
        qq["qq<br/>NapCat / SnowLuma"]
        computer["computer<br/>microVM (optional)"]
    end
    session(["her session<br/>run by dsh"])

    you <-->|messages| qq
    you <-->|dsh-im| contact
    phone -->|notifications wake| session
    qq -->|wake in 1–2 s| session
    interlude -->|look · play · reach out| session
    memory -->|profile + recall| session
    session -->|mcp__dot-phone__*| phone
    session -->|mcp__dot-vm__*| computer
    qq -.runs in.-> computer
Component What it is Off switch
phone Android emulator exposed as mcp__dot-phone__* via mobile-mcp · docs DSH_DOT_PHONE=off
interlude Canon persona, script, continuity, intents, read-only looking, optional proactive contact · docs DSH_DOT_INTERLUDE=off
qq Her QQ inside the computer VM, same account as her phone · docs DSH_DOT_QQ=off
memory Transcript + auto-recall (local multilingual-e5-small + bge-reranker-base; SiliconFlow / DashScope optional), three notes (about you / herself / not over yet), people cards, diary, handoff · docs DSH_DOT_MEMORY=off
dot Scheduled results → IM, approval and device notices, working rules, sidebar status panel DSH_DOT_CONTACT=off
computer Bundled microVM (microsandbox) or Docker · docs DSH_DOT_COMPUTER=off
compat Living next to other plugins: whose session is this, which tools it sees, where its commands run; knows qq-bridge today · docs (zh) DSH_DOT_COMPAT=off

⌨️ Commands

/phone [accept|restart|screenshot]
/interlude [now|advance|seed|preset <code>|canon]
/dot [test|check|doctor]
/dot memory [now|diary|handoff|recall …]
/dot people [approve <id>|drop <id>|forget <name>]
/qq [install|account|start|qr|backend|owner]

The ◎ button at the top of a conversation opens the dot panel: device status, handoff progress, what she's doing now, today's tokens, and her last 30 scenes.

🤝 Coexisting with other plugins

  • With the computer on, dsh-dot replaces the subprocess provider, sets sandbox-policy to danger-full-access (the VM is the boundary) and rewrites permission presets — don't combine with other sandbox / subprocess / permission plugins, or set DSH_DOT_COMPUTER=off.
  • MCP tools are namespaced: mcp__dot-vm__*, mcp__dot-phone__*.
  • Memory coexistence (DSH_DOT_MEMORY_COEXIST=auto) drops to people-only when another memory service is found.
  • One QQ account, one responder. bash also passes the computer gate.
  • qq-bridge is detected and lived with (compat settings, docs/qq-bridge.md): none of dot's tools in its sessions, its folder never shared into her VM, its bot never answered; its closed-agent owner chat gets her phone and computer.

See the Chinese README for injected message source tags (for context-compression plugins) and upgrade notes.

📄 License

AGPL-3.0-only. The interlude uses HDS-Interlude's (AGPL-3.0) prompts verbatim, so the whole package is AGPL. Computer / dot code released under MIT before v0.3 remains MIT in those versions.

If she made you smile, leave a ⭐

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.