DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Neuro Previewer — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

@brainpilot/dsh-neuro-previewer

Neuro Previewer

适用于 DeepSeek Harness (DSH) 的只读神经科学数据预览插件

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add @brainpilot/dsh-neuro-previewer@0.1.0
README兼容性版本

兼容性与来源证明

Neuro Previewer 以 @brainpilot/dsh-neuro-previewer 发布,当前版本为 0.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
npm
Registry 更新时间
2026/9/20

版本

0.1.0stable
2026/8/14
查看其余 1 个版本收起版本
0.2.0-alpha.5prerelease
2026/8/20

相关插件

正在加载相关插件…

最新版
0.1.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
96.5 kB
文件数
14
Surface
web
许可证
MIT
发布源
npm
GitHub
★ 0
周下载
28
最近提交
2026/8/15
查看源码 ↗项目主页 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

README

NeuroPreviewer

English | 简体中文

Preview neuroscience data directly inside DeepSeek Harness.

NeuroPreviewer is a neuroscience data preview plugin for DeepSeek Harness (DSH). It is installed as a DSH bundle with a Web client extension—not as a standalone viewer. The model inspects local data through the read-only neuro_preview tool, while the DSH Web client renders the result as a dedicated preview card.

@brainpilot/dsh-neuro-previewer · GitHub · MIT License

Compatibility: Version 0.1.0 targets DeepSeek Harness 0.1.0-rc.6. DSH remains a developer preview and may introduce breaking interface changes.

Why NeuroPreviewer?

NeuroPreviewer gives a DSH agent a safe, compact way to answer basic questions about a neuroscience file without sending the full dataset to the browser. The Host plugin reads and validates the file through DSH's filesystem interface, creates a bounded 2D preview, and returns structured metadata plus a Web-friendly grayscale frame.

Current priorities are reproducibility, explicit resource limits, and graceful text output when the Web client is unavailable.

Current capabilities

CapabilityStatusDetails
Single-file NIfTI-1 .nii✅Validates sizeof_hdr=348 and the n+1 magic
3D MRI✅Axial, coronal, and sagittal slices
4D fMRI✅Selectable zero-based volume
Numeric data✅uint8/int8/int16/uint16/int32/uint32/float32/float64
Intensity processing✅Applies scl_slope/scl_inter and a 2%–98% percentile window
Endianness✅Little-endian and big-endian files
DSH Web preview card✅Canvas image, dimensions, datatype, plane, and intensity range
.nii.gz and NIfTI-2PlannedReal fixtures are available; decompression/parsing is not implemented yet
BIDS metadata and CSV/TSVPlannedReal BIDS sidecars and events files are available
EDF/EDF+, BrainVision, EEGLABPlannedReal EEG/PSG fixtures are available; adapters are pending
NWB and FIFPlannedIntended for an optional Python worker

The current renderer follows voxel storage order and does not yet reorient images using qform/sform. NeuroPreviewer is intended for research-data inspection and development—not clinical interpretation or diagnosis.

Quick start

Requirements

  • Node.js ^22.19.0 or >=24.0.0
  • npm and pnpm
  • DeepSeek Harness 0.1.0-rc.6

Install from npm

dsh plugin --profile web add @brainpilot/dsh-neuro-previewer@0.1.0
dsh --profile web --dump-config
dsh --profile web

Build and install from source

git clone https://github.com/NeuroAIHub/NeuroPreviewer.git
cd NeuroPreviewer
npm install
npm run check

dsh plugin --profile web add "$(pwd)"
dsh --profile web --dump-config
dsh --profile web

The dumped configuration should include:

- id: neuro-previewer
  name: '@brainpilot/dsh-neuro-previewer'
  config:
    maxFileBytes: 268435456
    maxSlicePixels: 4194304

Using neuro_preview

Example tool input:

{
  "path": "/absolute/path/to/image.nii",
  "axis": "axial",
  "index": 48,
  "volume": 0
}
ParameterRequiredDefaultDescription
pathYes—Path to a .nii file accessible through the DSH filesystem
axisNoaxialaxial, coronal, or sagittal
indexNoMiddle sliceZero-based slice index
volumeNo0Zero-based volume index for 4D data

Without the Web extension, the tool still returns a text summary containing dimensions, voxel size, datatype, slice position, intensity range, and warnings.

Testing with real neuroscience data

Real datasets are downloaded to the gitignored test-data/real/ directory and are never included in the repository or npm package. Every downloaded file is checked against scripts/real-data.sha256.

Download the complete corpus—approximately 190 MiB—and run the real-data smoke test:

npm run data:download
npm run test:real

Individual format groups can also be downloaded:

bash scripts/download-real-data.sh nifti
bash scripts/download-real-data.sh edf
bash scripts/download-real-data.sh brainvision
bash scripts/download-real-data.sh eeglab
bash scripts/download-real-data.sh nwb
SourceDomain and formatLocal fixturesPreview support
OpenNeuro ds000005Human structural MRI and task fMRI; BIDS/NIfTI3D T1, 240-volume BOLD, JSON/TSV, compressed and uncompressed NIfTI✅ Two .nii files
PhysioNet Sleep-EDF ExpandedHuman sleep EEG/PSG; EDF+PSG and HypnogramAdapter pending
PhysioNet EEGMMIDBHuman motor-imagery EEG; EDF+64-channel baseline recordingAdapter pending
OpenNeuro ds007629Human natural-reading EEG; BrainVision.vhdr/.vmrk/.eeg tripletAdapter pending
EEGLAB sample dataHuman EEG; .set/.fdt and BrainVisionEEGLAB pair and a compact BrainVision regression sampleAdapter pending
DANDI 000006Mouse ALM extracellular electrophysiology; NWBTwo compact .nwb sessionsPython worker pending

The current smoke test parses a real 160 × 192 × 192 3D T1 image and a real 64 × 64 × 34 × 240 4D fMRI image. Unsupported formats remain in the corpus as explicit negative fixtures so future adapters are tested against real files rather than synthetic substitutes.

See docs/real-datasets.md for pinned download URLs, licenses, citations, privacy notes, and per-file hashes. Public or de-identified human data must never be used for re-identification attempts.

Development and verification

npm run typecheck  # Strict TypeScript checking
npm test           # Synthetic unit and contract tests
npm run test:real  # Smoke tests against locally downloaded real NIfTI data
npm run build      # Host ESM and DSH Web client bundles
npm run check      # typecheck + unit tests + build

The synthetic suite covers header validation, truncated inputs, little/big endian data, all three slice planes, 4D volumes, slope/intercept scaling, invalid indices, pixel limits, cancellation, DSH tool registration, filesystem adaptation, text output, and client presentation metadata.

Architecture

DSH neuro_preview Tool
        │
        ▼
NeuroPreview Interface
        │
        ├── NIfTI Adapter (current)
        ├── EDF / BrainVision Adapters (planned)
        └── Python Worker Adapter (planned: NWB/FIF/EEGLAB)
        │
        ▼
Unified PreviewDocument
        │
        ▼
DSH Web NeuroPreviewRow + Canvas

The format-neutral core is kept separate from the DSH integration:

  • src/core/preview.ts defines the NeuroPreview interface.
  • src/core/nifti.ts detects and parses NIfTI-1 files and extracts slices.
  • src/dsh/source.ts adapts DSH ctx.fs into a bounded BinarySource.
  • src/index.ts registers the Host tool and model-facing output.
  • src/client.tsx implements the DSH Web tool card.

Safety and resource limits

  • File access is read-only and goes exclusively through DSH ctx.fs.
  • The default maximum file size is 256 MiB.
  • The default maximum slice size is 4,194,304 pixels.
  • Header-derived dimensions, offsets, and multiplications are checked as safe integers.
  • Parsing supports AbortSignal cancellation.
  • The browser receives one normalized grayscale slice, never the complete volume.
  • Because the current DSH filesystem interface has no byte-range read, the Host reads the full file within the configured size limit.

Roadmap

  1. .nii.gz, NIfTI-2, qform/sform reorientation, and interactive slice sessions.
  2. BIDS dataset relationships, JSON/TSV tables, and event timelines.
  3. EDF/EDF+ and BrainVision multichannel waveforms and markers.
  4. EEGLAB .set/.fdt support.
  5. Optional Python worker for NWB, MNE FIF, CIFTI, and GIFTI.

License

NeuroPreviewer is released under the MIT License. Real test datasets are not redistributed with the source code and remain subject to their original licenses, citation requirements, and privacy terms.

相关插件

继续浏览 ui-customization 分类下经过校验的插件。

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Experimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profile用于 Agent Teams Remote 和 UI 插件的实验性 Web 配置层Remote Web Ui@linxin666/dsh-remote-web-ui通过扫码配对访问 dsh Web GUI,共享一个官方界面:设置按钮旁的二维码可将手机和 PC 配对到同一个 Web GUI(手机采用竖屏触控适配层,PC 使用完整桌面界面),通过一次性令牌和 rClient Ui Task Board@linxin666/dsh-client-ui-task-board面向 DSH Web GUI 的主机权威任务面板,支持实际会话执行、主机 cron 调度以及可选的跨平台空闲睡眠保护;以挂载方式提供,无需修改 DSH 源代码。