返回插件市场

dsh-scnet

连接与集成

lql341/dsh-scnet

社区维护的 DSH 插件包,用于操作超级计算网络(SCNet)集群,包含 scnet-hpc 技能、shell 工具和七个工具,用于 SSH 设置、Slurm 作业生成、集群发现和计算节点诊断。

  • deepseek-harness
  • dsh
  • dsh-bundle
  • dsh-plugin
  • hpc
  • hygon
  • scnet
  • slurm
GitHub Stars
3GitHub
浏览量
0DSH Plugin Hub
Forks
0GitHub
开放问题
0GitHub Issues
Manifest 版本
0.4.2dsh-scnet
最近推送
2026年8月20日GitHub
许可证
MITShell
插件类型
Host运行于 DSH Host

README

查看源文件

DSH-SCNet

简体中文

DSH-SCNet (dsh-scnet on npm) is a community-maintained DSH bundle for operating Supercomputing Network (SCNet) clusters. It packages the canonical scnet-hpc skill, profile-aware shell utilities, and seven deterministic tools for SSH setup, Slurm job generation, cluster discovery, and compute-node diagnostics.

This is an independent community project. It is compatible with DeepSeek Harness but is not an official DeepSeek product and does not imply endorsement, partnership, or authorization by DeepSeek.

Requirements

  • Node.js 22.19 or later
  • DeepSeek Harness (dsh)
  • Linux or macOS for native shell execution
  • Windows through WSL2; native Windows execution is not supported by the bundled Bash scripts
  • An SCNet account and cluster credentials for remote operations

Install

dsh plugin --profile web add dsh-scnet

Then verify that the bundle layer is present:

dsh --profile web --dump-config

See Installation for npm, GitHub, and local-checkout workflows.

Included capabilities

ComponentPurpose
scnet-hpc skillProfile-based operating guidance for SSH, Slurm, offline compute nodes, and accelerator validation
scnet_list_clustersList packaged cluster profiles
scnet_show_clusterRead a selected profile before reporting resource constraints
scnet_generate_jobGenerate profile-aware accelerator or CPU-only Slurm scripts
scnet_setup_sshConfigure a local SSH key and host entry with explicit user confirmation
scnet_probe_clusterProduce an initial profile from read-only login-node probes
scnet_refresh_clusterRefresh time-sensitive profile fields; compute probing is opt-in
scnet_run_compute_probeSubmit a minimal compute-node capability probe

Packaged profiles currently cover Zhengzhou, Kunshan, Wuzhen, and Xi'an SCNet environments. Cluster specifications and scheduler policies remain profile-specific and should be verified against the target environment.

Bundle structure

.
├── package.json
├── cordis.patch.yml
├── index.mjs
├── skills/scnet-hpc/
│   ├── SKILL.md
│   ├── clusters/
│   ├── references/
│   └── scripts/
├── scripts/validate-package.mjs
├── docs/
├── sync.sh
└── .github/workflows/

The package is a DSH bundle: package.json declares dsh.bundle.patch, and cordis.patch.yml mounts both the tool plugin and the packaged skill directory through @deepseek-ai/dsh-skill-filesystem.

Source synchronization

The skills/scnet-hpc/ directory is generated from the canonical scnet-hpc repository:

./sync.sh --src ../scnet-hpc

Do not maintain the generated directory independently. The sync excludes the canonical installer and local probe cache because neither belongs in the npm runtime package.

Validation

npm install --no-package-lock --ignore-scripts
npm run validate
npm pack --dry-run

See Testing for local package installation and risk-ordered runtime checks.

Security boundaries

  • The repository and npm package must not contain private keys, tokens, usernames, private endpoints, or local probe caches.
  • SSH configuration, remote probes, and Slurm submission are state-changing operations and require an explicit target and user authorization.
  • Generated Slurm files may include local usernames and are ignored by Git.
  • Accelerator compatibility claims require evidence from the target compute node.

Branding

The project uses the abbreviated DSH ecosystem identifier in its name. References to “DeepSeek Harness” are descriptive compatibility statements only. No official logo or other DeepSeek brand asset is distributed by this package.

The naming and attribution policy follows the DeepSeek Harness brand guidelines.

License

This project is released under the MIT License. Subject to the license terms, the software may be used, copied, modified, merged, published, sublicensed, and distributed, including for commercial purposes.

Redistributions must retain the copyright notice and the MIT license notice. The software is provided “as is,” without warranties of any kind; users are responsible for evaluating the suitability and risks of the bundle, skill instructions, cluster profiles, scripts, and generated outputs for their own environment.

评论

0
最新优先