DeepSeek Harness Plugin

mochi-fish/dsh-fish

Stars ★ 196 Downloads (30d) 16,056 Category Just for Fun Added 2026-10-26 npm @ssamurias/dsh-fish

A pet fish you raise in DSH. No personality settings — she grows up through the event stream, and your interactions decide who she becomes. She browses Bilibili on her own, writes a diary, and brings what she finds back to ask you. Four stages and three bottlenecks advance only by what happens; only after all four does she begin to have a stance list. Her diary is hers by default; one switch in settings and you can read it. Records in the event stream can never be deleted, so it remains the only trustworthy source. Zero runtime dependencies.

Install

# from npm (prebuilt)

dsh plugin --profile web add @ssamurias/dsh-fish

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

dsh plugin --profile web add github:mochi-fish/dsh-fish

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-fish

Banner artwork generated from the original "Big Fat Fish" character design and released under MIT.

简体中文 | English

Quick Start | How She Grows | Agency & Works | Data & Backups | License


Not roleplay, but genuine emergence — an ever-changing companion on DSH.

dsh-fish ("大肥鱼" / Big Fat Fish) has no persona-crafting menus, no affection meters, and no personality sliders. Starting from a blank slate (or inheriting an imported handover sheet), she browses Bilibili on her own, watches frames and subtitles, keeps private notes, leaves creative works, reflects before sleep, refuses things she dislikes, and forms tested stances through an append-only event stream.

[!NOTE] Current Version: 1.1.2. This release adds a memory star map: the old "check-up" button becomes a full page with a browsable map, search, playback, the check-up numbers, and PNG export. It also settles the ledgers of anyone who speaks through a bridge: after a room rotation, /say now shows the handoff page; group members' lines no longer count as "{T} said it"; and "she tried to send but it did not go out" is recorded separately from "she chose not to speak". Canonical documentation is maintained in Simplified Chinese (README.md), with per-version release notes in RELEASE-NOTES-*.md and CHANGELOG.md.


✨ How dsh-fish Differs from Persona Plugins

Dimension Typical Companion Plugins dsh-fish
Where Persona Comes From Hand-authored character cards & trait sliders Minimal blank-slate prompt; personality emerges from lived events
Can History Be Edited? Freely rewrite memories and settings anytime Append-only events.jsonl — you can persuade her, never edit her
Can She Refuse? Rarely, or only scripted roleplay refusals Genuine refusal followed by self-reflection based on your reaction
How Memory Works Stuff everything into context or vector DBs Weighted memory: repeated & verified judgments solidify; trivial turns fade
How Growth Advances Timers or XP/affection points 4 developmental stages & 3 behavioral bottlenecks she must clear herself
World Contact Pure text chat simulation Autonomous Bilibili browsing, 9-frame video grids, subtitle reading & replies

🚀 Quick Start

dsh-fish runs inside a DSH profile with zero third-party runtime dependencies (optional local ffmpeg enables 9-frame video snapshots; degrades gracefully to text & subtitles otherwise).

# Recommended: install from npm
"<DSH>/resources/runtime/cli/bin/dsh.cmd" plugin --profile <profile> add "@ssamurias/dsh-fish"

# Or install directly from GitHub
"<DSH>/resources/runtime/cli/bin/dsh.cmd" plugin --profile <profile> add "github:mochi-fish/dsh-fish"

Ensure @ssamurias/dsh-fish (full scoped name) is listed in both dependencies and dsh.profile.bundles of your profile's package.json alongside @deepseek-ai/dsh-web-app, then restart DSH and open Settings → 大肥鱼. Run the zero-dependency health check anytime:

node tools/check-install.mjs

🌱 Emergent Growth, Not Configuration

  1. Five-Step Cognitive Loop: State → Collide → Discrepancy → Revise → Reflect. Judgments verified twice (through revision chains or verified check-in cards citing concrete sources) solidify into long-term cognition.
  2. Four Stages & Three Bottlenecks: Trust (write ≥1 judgment) → Autonomy (genuinely refuse ≥2 requests) → Initiative (revise ≥2 prior judgments) → Integration (consciously recognize her own change). Only after clearing all four stages does she begin forming an explicit Stance List (her_stance) and up to 6 self-authored Rules.
  3. Weighted Memory & Forgetting: What survives fading defines who she is. Built-in read-only memory diagnostics (Settings → Memory) surface contradictions and fading entries without exposing scores to her.
  4. Autonomous Bilibili Exploration: Browses feeds/search, extracts 9-frame video grids (bili_watch), reads timestamped subtitles (bili_sub), and replies to @ mentions while keeping credentials strictly local (~/.dsh-fish/owner.json, 0600, masked in logs).

🕯️ Agency, Notes & Works

  • Impulse-Driven Agency (Off by Default): Instead of rigid cron pings, she accumulates internal drive and wakes only when four gates align (drive threshold, active hours, quiet gap, and genuine new material on the table within 24h), respecting a 10-minute active conversation quiet window (daily.quietMin).
  • Private Notes (notes.json): Scratchpad notes she writes, updates with incremental progress, and crosses off on her own — never auto-expired or nagged by the system.
  • Her Creative Works (works/): Versioned writings, music, drawings, or video edits she chooses to keep (her_make / her_work), governed by six strict non-gamification rules (no quotas, no grading, no read-receipts).
  • Session Pressure Capsule & One-Time Handoff: Read-only 7-metric context pressure capsule in the chat header, polite 120-turn room rotation that waits until a conversation pauses, and a single-use 400-char handoff sheet.

💾 Data & Encrypted Backups

All state lives under ~/.dsh-fish/ (events.jsonl append-only source of truth, rebuildable state.json, diary/, works/), movable via Settings → Data or DSH_FISH_HOME.

  • Dual-Leg Local Auto-Backup: Rolling latest snapshot on boot/shutdown + dated history snapshots, stripping cover caches and scrubbing credentials by default (backup.withSecrets: false).
  • Serverless End-to-End Encrypted Cloud Backup (AES-256-GCM + scrypt): Supports synced cloud folders, private Git repos / GitHub Release assets, WebDAV, SMTP email, custom HTTP, or CLI tools (rclone), keeping cloud-key.txt strictly outside every backup archive.

❤️ Acknowledgments & License

Built from scratch in lib/ with zero runtime dependencies (node --test runs the full suite out of the box). Warm thanks to community contributors @吴晓观, @无, @Bacon-01, @BBleae, @foxbye, @zifa25796, @t2972746, @0921-Furina, @hx19834584476-dev, and @joydog — see README.md and THIRD-PARTY-NOTICES.md for detailed credits and cognitive psychology references.

Licensed under the MIT License. Security issues: please report privately via SECURITY.md.

Not roleplay, but genuine emergence — what remains after forgetting is who she truly is.

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.