lql341/dsh-scnet
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 许可证开源,不对软件做任何担保,用户需自行评估使用风险。同时要求包中不能包含私钥、令牌等敏感信息,所有状态变更操作都需要用户明确授权。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-scnet(lql341/dsh-scnet)
仓库:https://github.com/lql341/dsh-scnet
本站详情页:https://www.yhbd.top/plugins/lql341-dsh-scnet/
本站登记:类型 bundle · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 2 · 最近提交 2026-10-01 · 主语言 Python
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- 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
workdirare 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, andscnet_file_transfertools. - 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.outandstd.errpaths fromjob_idandwork_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 →
jingyunstudio/jingyun-dsh
Unclecheng-li/DeepSec
Awesome-AI-Pedia/Awesome-AI-Pedia
imsai-sh/awesome-deepseek-harness-plugins
yjh051108/dsh-super-injector