メインコンテンツへスキップ
M

dsh-myxyz

miaoyuan666/dsh-myxyz

Global memory plus a persona, experience log and skills for each workspace, with Windows desktop tools and a one-click local vision installer. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.

インストール

dsh plugin --profile web add github:miaoyuan666/dsh-myxyz

README

dsh-myxyz

A companion bundle for DeepSeek Harness that fills in the pieces a fresh install leaves out: a global rule set shared by every workspace, a persona and experience log per workspace, desktop control, local vision, and a few everyday conveniences.

English | 中文

What it adds

Settings → Memory Long-lived rules in two buckets, always do and never do, injected into the system prompt of every session in every workspace. Edit them in the UI; a change applies on the next message, no restart.

Settings → Workspaces DeepSeek Harness already loads <workspace>/AGENTS.md and the skills under <workspace>/.dsh/skills, but gives you no way to create or maintain them. This page lists every registered workspace, shows whether it has a persona, an experience log and skills, and scaffolds or edits them in place:

FileWhat it is for
AGENTS.mdpersona, responsibilities, red lines, local workflow
经验库.mdfacts and traps learned in this workspace only
交接-<project>-<date>.mdone-page handoff notes for a project
.dsh/skills/<name>/SKILL.mdskills that exist in this workspace only

That is the whole idea: each folder gets its own character and its own memory, and nothing leaks between folders.

Settings → Local vision vision_read reads images with a model running on your own machine, so a text-only model can still see photos, screenshots and interfaces. The runtime and checkpoint are ~2.8 GB, so they are not shipped inside the plugin — the page installs them for you:

  • one-click install with a size/time estimate shown before anything downloads
  • mirror failover (GitHub direct ↔ proxy; ModelScope ↔ Hugging Face ↔ hf-mirror)
  • a throughput gate that abandons a crawling mirror after a few seconds instead of hanging on it, and resumes the bytes already fetched from the next one
  • resumable downloads, so an interrupted install continues where it stopped
  • SHA-256 verification of every file against the digest GitHub's own release API reports, so a corrupt mirror cannot slip a bad binary through
  • a live progress bar, speed, ETA and log; cancel at any time
  • the llama.cpp build is resolved from upstream's current nightly tag, so the installer follows releases instead of pinning a build that will be deleted

Prefer to do it yourself, or need a platform with no prebuilt binary? The page also hands you a setup prompt to paste into any session, where an agent installs and verifies it with you watching.

Desktop tools Nine desktop_* tools on Windows — window list, UI Automation tree, screenshot, click, type, key, scroll, drag, wait. They replace a separate desktop MCP server with one bundle and no Python service.

Also

  • web_search_multi — Bing in two markets concurrently, deduplicated, returns citable sources.
  • reasoning_effort — read and switch the current session's reasoning effort.
  • Sound and system-notification reminders when a task finishes, asks a question, needs approval or fails.
  • A Restart entry in the desktop account menu.
  • Two skills: web-research and session-handoff.
  • Removes the blank space the chat leaves below the last message, and fixes the inverted running/done status colours.

Install

From the plugin market, or:

dsh plugin --profile <your profile> add dsh-myxyz

Or point Plugins → Add plugin at this directory.

Requires DeepSeek Harness >=0.2.2-0 <0.3.0-0. No runtime dependencies.

This bundle needs a web profile (the desktop app or dsh web), because its three pages live in Settings. In a bare dsh-base profile it stays pending and adds nothing.

Do not enable it next to another bundle that already registers the same tool names (desktop_*, vision_read, reasoning_effort, web_search_multi) — turn the other one off first.

Browser automation is not bundled: the MCP row needs an absolute path to the @playwright/mcp entry point, which cannot be made portable inside a static patch. Install the official bundle @deepseek-ai/dsh-experimental-browser-use-playwright-mcp if you want it.

Platform support

The bundle ships as two loader rows so that a profile without a browser still gets the tools:

RowRequiresProvides
dsh-myxyzsystemPrompt, tools, llm, skills — all in dsh-basetools, global-memory prompt section, bundled skills
dsh-myxyz/webwebServerthe three Settings pages' back-end
PlatformToolsSettings pagesDesktop controlRestart entryVision install
Windows desktopallyesyesyesyes (Vulkan, arm64 Vulkan)
Windows dsh weballyesyesno (not Electron)yes
macOSall except desktop_*yesnonoyes (arm64 / x64)
Linuxall except desktop_*yesnonoyes (x64 / arm64 CPU)
headless / ACP / SDKall except desktop_*no (no web server)nonovia the CLI or by placing files

Nothing here is fatal on an unsupported platform: the desktop tools simply are not registered, and the restart menu entry is only injected after the host confirms it is running under the desktop shell.

Notes and limits

  • Desktop tools are Windows only and run on the host, outside the file sandbox.
  • Local vision is optional; without it vision_read reports what is missing instead of failing the whole bundle.
  • Browser automation is not included. The MCP row needs an absolute path to the server script, which cannot be made portable; npx does not spawn without a shell on Windows, and the official Playwright bundle does not exist in this DSH build. docs/DETAIL.md has a tested manual recipe. Reading pages is covered by web_fetch.
  • Tile-based reading (tiles=auto) shells out to ffmpeg. Without it, tiling is skipped and the whole image is sent instead.
  • The Workspaces page lists only workspaces the harness has registered.
  • Everything this plugin writes lives under <dshHome>/myxyz/, except global memory, which lives in ~/.agents/global-memory.json so that your rules survive uninstalling the plugin.
  • Sound settings are read from ~/.dsh/.dsh-notify-settings.json, the path used by the upstream dsh-notify-sound-plus, so an existing configuration carries over. Disable that plugin if you still have it, or you will see two sound rows.

Reusing a runtime you already have

The installer defaults to <dshHome>/myxyz/vision/, but it never insists on downloading. If you already have a llama.cpp build and a Qwen3-VL checkpoint somewhere else, point the plugin at them instead of fetching 2.8 GB again:

VariableMeaningDefault
VISION_ROOTbase directory for runtime, models and OCR<dshHome>/myxyz/vision
VISION_LLAMA_DIRdirectory holding llama-server<VISION_ROOT>/llama
VISION_MODEL_DIRdirectory holding the .gguf files<VISION_ROOT>/models
VISION_OCR_PYTHONPython interpreter with rapidocr installed<VISION_ROOT>/ocr-env/...
VISION_PORTport for the local server8092
VISION_IMAGE_MAX_TOKENSvisual-token ceiling2860

Model files are found by scanning VISION_MODEL_DIR, not by an exact filename: the largest .gguf whose name does not contain mmproj is used as the model, and any .gguf with mmproj in its name as the projector. So an existing download with a different quantisation in its name still works.

Numeric shortcuts

InputAction
4Write this conversation's qualifying lessons into the workspace 经验库.md
6Extract the workflow that actually ran cleanly into replayable steps or a skill
7Answer with context: read 经验库.md and the newest 交接-*.md first

Only a message that is just the digit counts; 4., 66, 第 4 点 do not.

4 and 6 answer different questions: 4 is what did I learn, 6 is how do I do this again. A session may earn one, both or neither — when it earns neither, the honest reply is that nothing qualified, not a padded entry.

License

MIT. lib/notify-sound.js is adapted from dsh-notify-sound-plus (MIT); see LICENSE.

関連プラグイン