Introduction¶
In DSH (DeepSeek Harness), building long-context conversation agents often involves separately installing internal packages for persona, memory, mood, and reasoning, then manually assembling Presets and data root directories. With many packages and complex binding relationships, upgrades easily become entangled with the host’s lifecycle. Below is an introduction to the community plugin fish-brain (maintainer 2233heorbrin): it bundles persona, read-only memory, mood, reasoning, collaboration gates, and engineering tool gates into a single package, designed for “workflow” scenarios, distributed via the SkillHub directory and GitHub repository. The current public version is 0.0.3 (MIT).
What is it¶
fish-brain (Chinese name: “Fish’s Brain”) is a full-brain combination in the native plugin form of DSH: it no longer requires manually installing a dozen internal packages; mood, reasoning, and execution adapters are distributed with the release. The brain is independent of fish-body (stomach analysis and installation decisions)—it does not require the other to exist, be enabled, or finish initialization first; exiting the same host affects both parties, and process isolation is not provided. Full operation also depends on host extensions deployed separately by the environment maintainer (see “Runtime Requirements” below). The repository has not created a GitHub Release and has not published to the npm registry; installation sources follow what is stated in the README.
Core Features¶
Composition¶
- Persona (SELF): After initialization, creates a directory structure under the data root; the persona body is
人格/generated/SELF.compat.md, which is empty for the first time and filled in by the user (instructions are in a separate README, no author facts are injected). - Read-only Memory: Blank memory uses the Documents read-only adapter; empty queries return zero results. The path includes structures like
脑区运行状态/记忆/documents-readonly/. - Mood and Reasoning: Runtime cards and capability indexes are empty on first use; roles, relationships, or private experiences are not pre-filled.
- Collaboration Gates and Engineering Tool Gates: Mounted with the fish Preset; scope is determined under the native
fishidentity along with the execution module. - Worker and Scope: Worker is fixed to
spawn,standard,maxDepth=1, andmodelSelectionSettings=falsewithin the native process; synthesized persona and memory do not enter the Worker.standard/ default Agent and other Agents do not receive the aforementioned fish content; the plugin will not automatically modify the current or default Agent.
Dependencies (Declared within Package)¶
Normal installation fixes the declared dependencies and includes, for example, dsh-mnemon-source-documents@0.5.11, dsh-mnemon@0.5.32, @deepseek-ai/schemastery@3.18.5, @deepseek-ai/cordis@4.0.5, as well as @deepseek-ai/dsh-typert-protocol@0.2.1-rc.5, react@18.3.1, and react-dom@18.3.1 required by mnemon. Dependencies are not reinstalled in every conversation round, nor do they modify the host’s React.
Data and Profile¶
Each DSH Profile saves fish-brain-data.json and fish-body-data.json separately. This package only maintains <Profile>/fish-brain-data.json, following this structure:
{"schema":"fish-profile-data/v1","root":"<绝对数据根目录>","components":["brain"],"origin":"conversation-workspace"}
Valid independent bindings take precedence; explicit errors are shown when invalid or the root is invalid, with no fallback to shared files. Migration is only possible during the first upgrade from old fish-data.json or the package’s old configuration; when there is a source conflict, specific sources are listed for the user to choose. When truly freshly installed, only the explicitly addressed conversation workspace is used, without inferring from cwd or the installation directory. The data page provides initialization, directory opening, manual switching, failure details, and retry.
Initialization creates directories such as 人格, 记忆, 心情, 思考, 执行, and 脑区运行状态 under <根>/鱼的大脑/; existing content is preserved without overwriting.
Installation and Enablement¶
Environment¶
- Node
>=22.14 - The README states that it has been verified on Windows, DSH
0.2.1-rc.5, and specified extension environments; official original blocking behavior is verified separately. macOS, Linux, and other host versions are not declared as verified in the README.
Fixed Installation Source¶
Give the following source to DSH native plugin management (do not manually concatenate other github: forms based on the plugin name):
github:2233heorbrin/fish-brain#v0.0.3
Developers can also use npm pack --ignore-scripts to get fish-brain-0.0.3.tgz and install it using file:<absolute tgz path>. Start/stop is controlled by the native plugin selection. Before installation, extension requirements must be confirmed; this is not the out-of-the-box version with full functionality for the official original rc.5. There is no need to set the author path or vendor environment variables, nor to separately install the kernels under packages/.
Host Extensions and Blocking Explanation¶
The official dsh-agent-loop@0.2.1-rc.5 provides a handle with dispose after create/resume, but the session controller does not expose an exact release entry; Agent.cancel / idle and subagents.drainDescendants cannot replace a full release.
fish-brain detects the actual capability of agentLoop.releaseExact(agent): the official rc.5 displays FISH_EXACT_AGENT_RELEASE_UNAVAILABLE; only when the specified extension is present are lifecycle, fish Preset, brain area, and reversible control gates mounted. The plugin will not automatically modify the host.
This repository and installation package do not distribute host patches; full operation is only supported on specified rc.5 environments that have been deployed and verified for capabilities by the environment maintainer. The two-stage installation of fish-body additionally requires manager v2; fixes for placeholder market clients, etc., are maintained separately and are not silently installed with this package. When there are no supporting extension materials, it should stop at the state of missing interfaces, and the README does not provide fictitious download addresses.
The shutdown process requires preserving the native fish entry, releasing the native handle, and the Preset lease; canceling rounds cannot replace a full release.
Typical Usage (Parts Verifiable in README)¶
- Install and enable the plugin using the source above; confirm if the host has
releaseExactto avoid mistakenly thinking the functionality is ready while staying in theFISH_EXACT_AGENT_RELEASE_UNAVAILABLEstate for a long time (host-blockeddoes not indicate full functionality is ready). - Complete the conversation workspace / data root binding in the Profile data settings; when freshly installed without a workspace, an entry to select will be displayed.
- Open
人格/generated/SELF.compat.mdunder the data root and fill in the persona body. - In the session, select the native fish Preset / identity to use brain area tools, collaboration gates, and engineering gates; the default Agent will not receive this injected content.
- Read-only memory grows with the Documents adapter; runtime cards and capability indexes are filled during usage.
Repository test entry (for developers to self-check distribution and binding, without calling real models):
node --test test/distribution.test.mjs test/official-native.test.mjs
node --test test/independent-binding.test.mjs test/root-compatibility.test.mjs
For temporary installation testing, set FISH_TEST_INSTALL_ROOT and FISH_DSH_TEST_ANCHOR (see “Development Verification” in the README).
Applicable Scenarios and Notes¶
Who is it for: Developers or teams who have already set up a fish workflow on DSH, want to converge the combination of “Persona + Read-only Memory + Mood + Reasoning + Dual Gates” into a single plugin, and whose environment maintainer can provide a releaseExact matching rc.5 (and related extensions listed in the README).
Must Note:
- The plugin runs under the current DSH process permissions; before installation, read the source code and THIRD-PARTY-NOTICES.md to confirm the license (root package MIT) and third-party attribution.
- The community directory SkillHub is an independent site with no official subordination to DeepSeek / High-Flyer as described in the README; the DSH ecosystem philosophy is “everything is a plugin,” and this introduction does not describe it in the tone of an official app store.
- Downgrading to an older version will not automatically read the new root of an independent binding; switching the data root will not automatically migrate old data, and mounted instances may prompt for a native reload.
- Stomach analysis and installation decisions are managed by fish-body, which is not part of the fish-brain functionality; disabling the body will not remove the brain area or the fish preset, and disabling the brain will not modify the body selection.
Conclusion¶
fish-brain gathers the scattered multi-brain area capabilities on DSH into a single 0.0.3 bundle and manages independent data roots using Profile-level fish-brain-data.json; the trade-off is a hard dependency on specified host extensions, and official rc.5 alone cannot obtain the complete release and mounting behavior described in the README.
- Directory page: https://www.skillhub.cn/plugins/2233heorbrin/fish-brain
- Source code and documentation: https://github.com/2233heorbrin/fish-brain