@deepseek-ai/dsh-mind-garden
Installable Mind Garden companion-dialogue bundle for DeepSeek Harness Web profiles
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:hyyhf/mindgarden说明文档
阅读完整 README ↗
Mind Garden
A private place to reflect inside DeepSeek Harness.
Companion dialogue, user-governed memory, and nine contemplative spaces—without giving the model ownership of your story.
English · 简体中文
Mind Garden is an installable companion and private-reflection workspace for the DeepSeek Harness Web profile. Ordinary conversation stays in Harness Sessions while Mind Garden adds a calm dialogue posture, encrypted personal records, governed memory, original Fun Garden migration, and expressive 3D and particle scenes.
It reuses Harness providers, credentials, storage, attachments, Remotes, and plugin lifecycle. It does not fork or copy the DeepSeek Harness application.
Install in three commands
dsh plugin --profile web add git+https://github.com/hyyhf/mindgarden.git
dsh plugin --profile web why @deepseek-ai/dsh-mind-garden
dsh web
Requires DeepSeek Harness 0.1.1-rc.1 or newer, pnpm on PATH, and a configured model provider. See Install for profile requirements, updates, and local development.

This capture comes from the opt-in real-provider path: deepseek-v4-flash answers through the shipped DeepSeek adapter, the reply passes the Mind Garden safety plugin, and the real Harness Web composition renders the result.
A garden that leaves conclusions with you
Mind Garden is for conversations that benefit from patience, continuity, and user authority rather than another task dashboard. Its design follows four rules:
- Companion, not clinician — the agent can listen, reflect, and ask one useful question, but does not diagnose or impersonate professional care.
- The user owns every conclusion — extracted memories, inferred traits, Star Observer cards, principle revisions, and relationship conflicts stay provisional until the user decides.
- Private records stay structurally private — memories, reflections, star data, and story metadata are authenticated ciphertext at rest; model calls receive only the bounded material authorized for that exact action.
- A real Harness plugin — the bundle is a manifest-declared Web-profile add-on. It reuses Harness agents, Sessions, providers, credentials, attachments, Remotes, loader rows, and the official client shell.
Compared with the original Fun Garden implementation, this edition adds evidence-bound memory governance, crash-recoverable key rotation, authenticated non-overwriting restore, deterministic safety gates, accessible WebGL fallbacks, and package-level extension boundaries. It keeps the expressive constellation and photo-particle identity while adopting the restrained spacing, icon language, and interaction grammar of DeepSeek Harness.
Nine spaces, one garden
The persistent garden rail exposes nine spaces:
| Space | What it is for |
|---|---|
| Today | A quiet daily threshold, immutable mood and energy check-ins, encrypted journals, and an orbit of current reflections. |
| Concerns | A private concern basket with optional dates, completion, editing, and explicit conversion into a journal or conversation draft. |
| Calendar | A projection of verified check-ins, journals, concerns, principles, experiments, and open questions; it creates no hidden analysis. |
| Photo Stories | Verified image admission, encrypted story copy, configurable GPU particles, explicit visual observation, and story-owned follow-up dialogue. |
| Memory | Manual and model-assisted proposals, evidence review, sensitivity and recall controls, conflict resolution, revision history, and deletion. |
| Growth | Reality experiments and append-only observations without success scores or silent model judgment. |
| My Constellation | A resumable first-observation ritual, private profile, self-reported stars, evidence-scoped Star Observer cards, calibration, and a live 3D field. |
| Life Review | Week, month, and year material snapshots plus saved reviews whose original sources remain inspectable even after later changes. |
| My Philosophy | Contemplation notes, accepted notes, versioned principles, and open questions that can remain unresolved. |
Open the complete live gallery
Every desktop image below comes from the real DeepSeek Harness Web composition. The deterministic gallery scenario writes fictional, repository-owned records through the installed Host services, admits the generated demo photograph through Harness attachments, opens the working Client space, and captures the rendered result. No personal material or static UI mockup is used.
Entry and disclosure

The entry keeps model disclosure, profile storage, emergency limits, and the user's confirmation authority visible before either companion posture can activate.
Today

Today combines the tactile orrery, current question, saved review, daily check-in, and journal path without turning the opening into a generic dashboard.
Concerns

Concerns keeps each item private and inert until the user edits it, completes it, converts it into a journal, or deliberately places it in the Harness composer.
Calendar

Calendar projects the verified check-in, journal, concern, principle, experiment, and open question into one month and one selected-day ledger; visual density does not create synthetic activity.
Photo Stories

The fictional rain-night still life is a repository-owned ImageGen fixture with committed prompt provenance. Harness attachment admission, verified image reads, bounded WebGL particles, presets, re-composition, original-image viewing, story editing, and observation disclosure remain live product controls.
Memory

The record shows its confirmed state, source count, scope, sensitivity, recall policy, history, edit path, composer handoff, and deletion control instead of presenting model familiarity as an irreversible profile.
Growth

Growth records a hypothesis, one concrete action, and what happened. It preserves the observation without a score, streak, or model-assigned success verdict.
My Constellation

The constellation is not a decorative personality score. Its center is the current self; self-reported traits, questions, and review material remain distinguishable. Star Observer calls are explicit and permission-bounded, while the adjacent node list preserves the same information without relying on canvas pixels.
Life Review

Life Review places the verified period, source count, lifecycle state, and user-authored interpretation on one chronological plane. Later source changes cannot silently rewrite the preserved review.
My Philosophy

Philosophy keeps confirmed contemplation, inert proposal, and adopted principle states structurally separate. Formation context, direct quote, counterexample, scope, status, and complete versions stay user-governed.
Garden settings

Settings calibrate the current Session posture and support intent while keeping encrypted profile backup, authenticated restore, original Fun Garden migration, and crash-recoverable key rotation in one focused sheet. Harness still owns providers, models, Sessions, and attachments.
Mobile composition

The same plugin participates in the compact Harness shell. Navigation collapses, dense controls simplify, canvas work is bounded, and the fixed Harness composer remains available. Reduced-motion and non-WebGL paths keep records usable without the visual scene.
Install
Prerequisites:
- DeepSeek Harness
0.1.1-rc.1or newer with a workingwebprofile; pnpmonPATHfor profile-forwarded plugin commands;- at least one configured Harness model provider;
- a durable credentials and storage composition, which the standard Web profile already supplies.
Install the bundle directly from GitHub, confirm that the profile resolved the package, then start Web:
dsh plugin --profile web add git+https://github.com/hyyhf/mindgarden.git
dsh plugin --profile web why @deepseek-ai/dsh-mind-garden
dsh web
The repository includes the compiled Host modules and browser bundle, so installation does not build or copy the DeepSeek Harness source tree. To update to the latest commit later:
dsh plugin --profile web update @deepseek-ai/dsh-mind-garden
For local development, clone this repository and install the checkout from its root. DeepSeek Harness anchors add . to the invoking directory:
git clone https://github.com/hyyhf/mindgarden.git
cd mindgarden
npm test
dsh plugin --profile web add .
The bundle's cordis.patch.yml inserts every Host and Web row through the normal profile layer mechanism.
First session
- Configure the desired provider and model in the ordinary Harness Models settings. Provider credentials remain owned by Harness; Mind Garden has no API-key field.
- Create a blank Session and select the shipped Mind Garden preset when it is available from the active roster.
- Choose Enter Mind Garden before the first message.
- Read the storage, provider, and confirmation boundaries, then select Serenity for gentle presence or Clarity for more structured reflection.
- Use the conversation normally. The Mind Garden tab opens the nine-space workspace, and garden settings holds backup, restore, and key rotation.
The bundle can be activated with another preset, but that preset's persona and tools still participate. Only the Mind Garden preset supplies the intended tool-free companion persona. External preset discovery is a Harness roster boundary; a separately installed npm bundle does not mutate another installation's roster.
Architecture
One installable package composes ten independently testable plugins:
| Loader row | Package | Responsibility |
|---|---|---|
mind-garden-vault | mind-garden-vault | AES-256-GCM private-record storage and journaled key rotation. |
mind-garden-core | mind-garden-core | Event-sourced activation, dialogue posture, support intent, and disclosure acceptance. |
mind-garden-memory | mind-garden-memory | Governed long-term memory lifecycle, extraction, bounded recall, and encrypted audit. |
mind-garden-media | mind-garden-media | Verified photo stories, particle configuration, explicit visual observation, and story dialogue. |
mind-garden-reflection | mind-garden-reflection | Check-ins, journals, concerns, experiments, principles, questions, reviews, and projections. |
mind-garden-star-map | mind-garden-star-map | Ritual, private profile, traits, evidence-bound Observer cards, and calibration. |
mind-garden-dialogue | mind-garden-dialogue | Stable model-visible companion policy and authorized context injection. |
mind-garden-safety | mind-garden-safety | Deterministic input triage, local support responses, output buffering, and publication checks. |
mind-garden-portability | mind-garden-portability | Encrypted backup, restore, original-profile migration, and user-confirmed key rotation. |
ui-mind-garden | ui-mind-garden | Entry disclosure, conversation contribution, settings, nine spaces, 3D, particles, and responsive UI. |
Host packages own authorization and durable state. The Web client uses generated Typert Remotes and cannot bypass version checks, confirmation gates, attachment admission, or vault policy. Ordinary dialogue remains an ordinary Harness Session, so session history, provider selection, trajectory, and infrastructure are not reimplemented inside the plugin.
Privacy and data ownership
The private vault has four fixed encrypted collections: memories, reflections, media, and stars. Each record uses a fresh nonce and AES-256-GCM authenticated encryption. Storage can observe collection names, opaque ids, counts, envelope timestamps, algorithm metadata, and a non-secret key fingerprint, but not authenticated JSON values. User text must never appear in record ids.
Important boundaries:
- The vault creates no credential merely because the plugin loaded. Its first initialization or private write asks the configured Harness credential provider for a data key.
- The key is re-resolved for every operation. Missing, malformed, or mismatched credentials fail closed instead of silently replacing a key over existing ciphertext.
- Backups use a user-held passphrase, scrypt, gzip, and AES-256-GCM. They omit the live vault credential so the destination keeps its own encryption authority.
- Restore authenticates and strictly decodes the complete archive before showing an add/keep preview. It adds missing ids only and never decrypts, compares, or overwrites an existing same-id record.
- Photo bytes use the configured Harness attachment provider. Encrypted metadata disappears on story deletion, while physical byte reclamation follows that provider's retention policy.
- Durable Sessions remain ordinary Harness history. This bundle does not advertise no-trace mode because it does not mount in-memory Session and attachment providers.
Losing the vault credential or an archive passphrase is unrecoverable. Mind Garden does not escrow either secret.
Migrating the original Fun Garden
Garden settings accepts the original binary MGPKG1 archive as well as the current .mgarden format. Inspect