lql341/dsh-scnet

Bundle捆绑包 Native原生 ⭐ 2 MIT Runtime & Injection运行时与注入

dsh 插件,适用于 scnet.cn

Project Overview项目介绍

lql341/dsh-scnet is a community-maintained DSH native bundle for operating Supercomputing Network (SCNet) clusters. It packages the canonical scnet-hpc skill, profile-aware shell utilities, and seven dedicated tools for SSH setup, Slurm job generation, cluster discovery, and compute-node diagnostics. The simplest installation method uses the DSH CLI command dsh plugin --profile web add dsh-scnet, and alternative workflows including npm install, GitHub source install, and local checkout install are also fully documented for custom use cases. After installation, you can verify the bundle layer is active by running dsh --profile web --dump-config to check its presence in your DSH configuration.

This bundle is built for researchers and developers who run computational workloads on SCNet HPC clusters. It currently ships pre-built profiles for SCNet environments in Zhengzhou, Kunshan, Wuzhen, and Xi’an, with all cluster specifications and scheduler policies documented per profile. A typical workflow starts with listing available cluster profiles, reviewing resource constraints for your target cluster, generating a profile-aware Slurm job script, configuring local SSH, then probing the cluster and running a compute node diagnostic to confirm compatibility before you run your first workload. Users must have a valid SCNet account and cluster credentials to use all remote operational features of the bundle.

The bundle requires Node.js 22.19 or later, and works natively only on Linux and macOS. Windows users must run it through WSL2, as native Windows execution is not supported for the bundled Bash scripts. It is released under the open-source MIT license, with no warranties provided for the software. Users are responsible for evaluating the suitability and any risks of using the bundle, its tools, and generated outputs in their specific environment. All state-changing operations like SSH configuration and Slurm job submission require explicit user authorization to prevent unintended changes.

lql341/dsh-scnet 是社区维护的 DSH 原生 bundle 插件,用于操作超算网络(SCNet)集群。它打包了官方标准的 scnet-hpc 技能、感知配置文件的 shell 工具,以及七个专用工具,功能覆盖 SSH 配置、Slurm 任务生成、集群发现和计算节点诊断。常规安装可通过 DSH CLI 命令 dsh plugin --profile web add dsh-scnet 完成,同时也支持 npm、GitHub 源码和本地检出的安装方式。

该插件面向需要在 SCNet 超算集群上开展计算任务的开发人员、科研人员,目前已预设郑州、昆山、乌镇、西安四个地区的 SCNet 集群配置文件。典型工作流中,用户可先列出已有集群配置,查看目标集群的资源限制,然后生成适配配置的 Slurm 脚本,再配置本地 SSH,最后完成集群探测和计算节点可用性诊断。每个环节都有明确的操作指引,降低用户接入超算集群的门槛。

该插件要求运行环境为 Node.js 22.19 及以上版本,仅支持 Linux、macOS 原生运行,Windows 需要通过 WSL2 才能使用,原生 Windows 不支持捆绑的 Bash 脚本。项目采用 MIT 许可证开源,不对软件做任何担保,用户需自行评估使用风险。同时要求包中不能包含私钥、令牌等敏感信息,所有状态变更操作都需要用户明确授权。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add dsh-scnet

把 lql341/dsh-scnet 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

DSH-SCNet

简体中文

DSH-SCNet (dsh-scnet on npm) is a community-maintained DSH bundle for operating Supercomputing Network (SCNet). It packages the source scnet-hpc Skill, profile-aware utilities, and bounded tools for SSH, Slurm, OpenAPI files, regional resources, and Notebook discovery.

Current release: 0.6.3

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.

What's new in 0.6.3

  • Added read-only account and resource summaries plus bounded scnet_job_wait.
  • Submission queue preflight now fails closed and never silently selects a queue.
  • Download paths can default to the remote filename; ordinary and chunked uploads return the same directory/filename result shape.

0.6.2 highlights

  • Completed jobs now resolve through the fast filtered history-list endpoint rather than timing out on the empty history-detail response.
  • Historical field aliases such as workdir are normalized for log-path discovery.
  • OpenAPI operations continue without persistent caching when the cache directory is read-only.

0.6.1 highlights

  • Job details now fall back to the history endpoint when realtime records expire, with complete normalized terminal states.
  • Added compact scnet_job_list, scnet_limits, and scnet_file_transfer tools.
  • File uploads now make the remote-directory contract explicit: the local filename is preserved and must not be passed as the remote directory.

0.6.0 highlights

  • Added first-class DSH tools for submitting jobs, inspecting job status, reading logs, and cancelling jobs through the existing SSH/OpenAPI backends.
  • Added dry-run support and one-missing-decision-at-a-time validation for job lifecycle calls.
  • Job submission reports the authoritative work directory and log paths; OpenAPI log lookup can derive std.out and std.err paths from job_id and work_dir.

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

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-lcx-codex 下一个 Next dsh-plugin-zcode-import →