dsh-scnet 0.6.5 → 0.6.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -44
- package/README_CN.md +9 -38
- package/package.json +1 -1
- package/skills/scnet-hpc/VERSION +1 -1
package/README.md
CHANGED
|
@@ -4,45 +4,21 @@
|
|
|
4
4
|
|
|
5
5
|
DSH-SCNet (`dsh-scnet` on npm) is a community-maintained DSH bundle for operating Supercomputing Network (SCNet). It packages the source [`scnet-hpc`](https://github.com/lql341/scnet-hpc) Skill, profile-aware utilities, and bounded tools for SSH, Slurm, OpenAPI files, regional resources, and Notebook discovery.
|
|
6
6
|
|
|
7
|
-
Current release: **0.6.
|
|
7
|
+
Current release: **0.6.6**
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
<!-- scnet-release:start -->
|
|
10
|
+
## 0.6.6 highlights
|
|
10
11
|
|
|
11
|
-
-
|
|
12
|
-
|
|
12
|
+
- README release highlights now come from one canonical source and replace the previous release
|
|
13
|
+
block instead of accumulating a version-by-version timeline.
|
|
14
|
+
- The canonical Skill and Codex Plugin now create Git tags and GitHub Releases automatically after
|
|
15
|
+
validation.
|
|
16
|
+
- The DSH distribution now publishes npm, its Git tag, and its GitHub Release automatically after
|
|
17
|
+
a synchronized version reaches `main`.
|
|
18
|
+
<!-- scnet-release:end -->
|
|
13
19
|
|
|
14
20
|
> 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.
|
|
15
21
|
|
|
16
|
-
## What's new in 0.6.3
|
|
17
|
-
|
|
18
|
-
- Added read-only account and resource summaries plus bounded `scnet_job_wait`.
|
|
19
|
-
- Submission queue preflight now fails closed and never silently selects a queue.
|
|
20
|
-
- Download paths can default to the remote filename; ordinary and chunked uploads return the same
|
|
21
|
-
directory/filename result shape.
|
|
22
|
-
|
|
23
|
-
## 0.6.2 highlights
|
|
24
|
-
|
|
25
|
-
- Completed jobs now resolve through the fast filtered history-list endpoint rather than timing
|
|
26
|
-
out on the empty history-detail response.
|
|
27
|
-
- Historical field aliases such as `workdir` are normalized for log-path discovery.
|
|
28
|
-
- OpenAPI operations continue without persistent caching when the cache directory is read-only.
|
|
29
|
-
|
|
30
|
-
## 0.6.1 highlights
|
|
31
|
-
|
|
32
|
-
- Job details now fall back to the history endpoint when realtime records expire, with complete
|
|
33
|
-
normalized terminal states.
|
|
34
|
-
- Added compact `scnet_job_list`, `scnet_limits`, and `scnet_file_transfer` tools.
|
|
35
|
-
- File uploads now make the remote-directory contract explicit: the local filename is preserved
|
|
36
|
-
and must not be passed as the remote directory.
|
|
37
|
-
|
|
38
|
-
## 0.6.0 highlights
|
|
39
|
-
|
|
40
|
-
- Added first-class DSH tools for submitting jobs, inspecting job status, reading logs, and
|
|
41
|
-
cancelling jobs through the existing SSH/OpenAPI backends.
|
|
42
|
-
- Added dry-run support and one-missing-decision-at-a-time validation for job lifecycle calls.
|
|
43
|
-
- Job submission reports the authoritative work directory and log paths; OpenAPI log lookup can
|
|
44
|
-
derive `std.out` and `std.err` paths from `job_id` and `work_dir`.
|
|
45
|
-
|
|
46
22
|
## Requirements
|
|
47
23
|
|
|
48
24
|
- Node.js 22.19 or later
|
|
@@ -130,16 +106,7 @@ The `skills/scnet-hpc/` directory is generated from the canonical `scnet-hpc` re
|
|
|
130
106
|
|
|
131
107
|
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.
|
|
132
108
|
|
|
133
|
-
Release order is canonical-to-downstream: update `
|
|
134
|
-
synchronizes the skill and version into `dsh-scnet` and `codex-scnet-hpc`. Publish the matching
|
|
135
|
-
`dsh-scnet` npm package only after that downstream change is reviewed.
|
|
136
|
-
|
|
137
|
-
For a synchronized release, run the package validation on `main`, then trigger the repository's
|
|
138
|
-
`Publish DSH-SCNet` workflow with the exact current version from `package.json`. The
|
|
139
|
-
workflow verifies the package/Skill version match, runs validation, creates the tarball, publishes
|
|
140
|
-
stable releases with the `latest` tag, and creates the matching Git tag. Do not bump only
|
|
141
|
-
`package.json`: `skills/scnet-hpc/VERSION`, the package version, and both README release markers
|
|
142
|
-
must stay aligned.
|
|
109
|
+
Release order is canonical-to-downstream: update the canonical `VERSION` and release highlights once. CI synchronizes both distribution repositories. After each synchronized pull request passes validation, the workflow merges it automatically. The resulting `main` push validates and packs the bundle, publishes the npm package with the appropriate `latest` or `next` tag, and creates the matching Git tag and GitHub Release. Do not bump only `package.json`: the canonical `VERSION` remains the release source of truth.
|
|
143
110
|
|
|
144
111
|
The workflow uses npm Trusted Publishing through GitHub OIDC, so account 2FA/Passkey should remain
|
|
145
112
|
enabled and no long-lived `NPM_TOKEN` is required. Configure `lql341/dsh-scnet` and
|
package/README_CN.md
CHANGED
|
@@ -4,40 +4,19 @@
|
|
|
4
4
|
|
|
5
5
|
<p align="center">在 DeepSeek Harness 里操作超算互联网(SCNet):配置 SSH、管理 Slurm 作业、查询 OpenAPI 区域和文件、检查 Notebook 资源与实例,并保留海光 DCU/DTK 诊断能力。</p>
|
|
6
6
|
|
|
7
|
-
当前版本:**0.6.
|
|
7
|
+
当前版本:**0.6.6**
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
<!-- scnet-release:start -->
|
|
10
|
+
## 0.6.6 更新
|
|
10
11
|
|
|
11
|
-
-
|
|
12
|
-
|
|
12
|
+
- README 的版本亮点改为由 canonical 单一来源生成;每次发布替换当前版本区块,不再逐版
|
|
13
|
+
堆叠成流水账。
|
|
14
|
+
- canonical Skill 和 Codex Plugin 在校验通过后自动创建 Git tag 与 GitHub Release。
|
|
15
|
+
- DSH 分发仓库在同步版本进入 `main` 后,自动完成 npm 发布、Git tag 和 GitHub Release。
|
|
16
|
+
<!-- scnet-release:end -->
|
|
13
17
|
|
|
14
18
|
> 本项目是独立维护的社区项目,与 DeepSeek Harness 兼容,但不是 DeepSeek 官方产品,也不表示 DeepSeek 对本项目提供背书、合作或授权。
|
|
15
19
|
|
|
16
|
-
## 0.6.3 更新
|
|
17
|
-
|
|
18
|
-
- 新增只读账户摘要、资源摘要和有界等待作业工具 `scnet_job_wait`。
|
|
19
|
-
- 提交前队列预检失败会停止提交,不再静默选择队列。
|
|
20
|
-
- 下载时可省略本地路径自动使用远端文件名;普通上传和分片上传返回统一结果结构。
|
|
21
|
-
|
|
22
|
-
## 0.6.2 更新
|
|
23
|
-
|
|
24
|
-
- 已结束作业改用快速的历史列表过滤查询,不再卡在返回空数据的历史详情接口。
|
|
25
|
-
- 兼容历史记录中的 `workdir` 等字段变体,可继续推导日志路径。
|
|
26
|
-
- 缓存目录只读时自动降级为无持久缓存,OpenAPI 主功能不再被缓存故障阻断。
|
|
27
|
-
|
|
28
|
-
## 0.6.1 更新
|
|
29
|
-
|
|
30
|
-
- 作业实时记录过期时自动回退历史接口,并补全终态映射。
|
|
31
|
-
- 新增紧凑的 `scnet_job_list`、`scnet_limits`、`scnet_file_transfer` 工具。
|
|
32
|
-
- 明确 OpenAPI 上传参数是远端目录,文件名沿用本地文件名,不能把文件名当作远端目录传入。
|
|
33
|
-
|
|
34
|
-
## 0.6.0 更新
|
|
35
|
-
|
|
36
|
-
- 新增作业提交、状态查询、日志读取和取消作业的 DSH 工具,复用现有 SSH/OpenAPI backend。
|
|
37
|
-
- 作业生命周期调用支持 `dry_run`,并按 CLI 顺序一次只提示一个缺失决策。
|
|
38
|
-
- 提交结果返回权威的工作目录和日志路径;OpenAPI 日志查询支持由 `job_id` 和 `work_dir`
|
|
39
|
-
推导 `std.out`、`std.err` 路径。
|
|
40
|
-
|
|
41
20
|
## 这是什么
|
|
42
21
|
|
|
43
22
|
一个 DeepSeek Harness bundle 插件,把 `scnet-hpc` 的 Agent Skill 和 bash 脚本包装成 DSH 可安装包。装好后 DSH 模型在涉及超算集群、Slurm 作业、海光 DCU/DTK 时会加载对应 skill,并可调用工具完成确定性操作。
|
|
@@ -141,15 +120,7 @@ git 源、本地目录安装以及验证步骤见[安装说明](./docs/installat
|
|
|
141
120
|
只改 canonical,本仓库跑 sync 更新;不要把 `skills/scnet-hpc/` 当手工维护目录。
|
|
142
121
|
`sync.sh` 会自动排除 `scripts/install.sh` 和 `clusters/.cache/`,避免把安装脚本或本机动态缓存打进发布包。
|
|
143
122
|
|
|
144
|
-
|
|
145
|
-
再把 Skill 内容和版本同步到 `dsh-scnet` 与 `codex-scnet-hpc`。下游变更审核通过后,
|
|
146
|
-
才能发布对应版本的 `dsh-scnet` npm 包。
|
|
147
|
-
|
|
148
|
-
下游同步合并到 `main` 后,先运行本地校验,再手动触发仓库的 `Publish DSH-SCNet` workflow,
|
|
149
|
-
输入 `package.json` 中的当前版本。workflow 会校验 package 与 Skill
|
|
150
|
-
版本一致,执行验证、生成 tarball、以稳定版 `latest` 标签发布,并创建对应 Git tag。
|
|
151
|
-
不要只修改 `package.json`;`skills/scnet-hpc/VERSION`、package 版本和两份 README 的版本
|
|
152
|
-
标记必须保持一致。
|
|
123
|
+
发布只需在 canonical 仓库更新一次 `VERSION` 与版本亮点,CI 会同步两个分发仓库。下游同步 PR 校验通过后自动合并;合并产生的 `main` push 会校验并打包 bundle,以对应的 `latest` 或 `next` 标签发布 npm package,并创建匹配的 Git tag 与 GitHub Release。不要只修改 `package.json`;canonical `VERSION` 仍是唯一版本来源。
|
|
153
124
|
|
|
154
125
|
该 workflow 使用 GitHub OIDC 的 npm Trusted Publishing,因此应保留账号的 2FA/Passkey,
|
|
155
126
|
不需要长期保存 `NPM_TOKEN`。首次使用 OIDC 发布前,请在 npm package 设置中把
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-scnet",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.6",
|
|
4
4
|
"description": "Community DeepSeek Harness bundle for SCNet SSH and OpenAPI jobs, files, Notebook resources, Slurm diagnostics, and Hygon DCU/DTK guidance.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.mjs",
|
package/skills/scnet-hpc/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.6.
|
|
1
|
+
0.6.6
|