dsh-modpack-kit 0.1.5 → 0.1.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 +8 -8
- package/docs/DETAIL.md +1 -1
- package/locale/en.json +1 -1
- package/locale/zh.json +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# dsh-modpack-kit(DSH 整合包)
|
|
2
2
|
|
|
3
|
-
为 DeepSeek Harness 提供类似 HMCL / PCL
|
|
3
|
+
为 DeepSeek Harness 提供类似 HMCL / PCL 这类「我的世界启动器」的整合包打包与安装能力:把多个插件连同各自的配置与数据打成一个 `.dshpack`,一次安装到位。
|
|
4
4
|
|
|
5
5
|
- **懒人包与轻量包**:懒人包(完整包)自带插件本体,目标机器只需安装 DSH 本体,按包内 `README.txt` 或 `install/` 独立安装器即可完成安装;轻量包只记录插件名与版本,安装时按记录从插件市场取包,体积更小。两种包都附独立安装器。
|
|
6
6
|
- **逐插件定制**:每个插件单独选「基础配置」(上游原版代码 + 插件默认配置)或「本地改动」(本机的代码、配置条目、数据快照),同一个整合包里可以混用。
|
|
@@ -242,13 +242,13 @@ node install/install.mjs --profile desktop --replace # 本机已装的也换
|
|
|
242
242
|
|
|
243
243
|
## 更新日志
|
|
244
244
|
|
|
245
|
-
- **0.1.
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
- **0.1.
|
|
249
|
-
- **0.1.
|
|
250
|
-
- **0.1.
|
|
251
|
-
- **0.1.
|
|
245
|
+
- **0.1.6**(当前):介绍与说明口径统一为「我的世界启动器」(中英文描述、文档与市场词条同步);更新日志改为按版本汇总代码与功能改动;插件页与设置页底部展示项目地址与 Star 入口,打包生成的 `README.txt` 同样写入项目地址。
|
|
246
|
+
- **0.1.5**:配置与数据快照的保真与擦除。YAML 子集的空数组、空对象改为同行输出(`key: []`、`key: {}`),修掉回填后 `cordis.patch.yml` 无法解析的问题;flow 映射的带引号键按原名读回。`data/` 快照支持安装写回 `~/.dsh/<目录>`(清单 `plugins[].dataDirs`),默认只补缺、不覆盖已有文件。配置快照与清单新增 `configRedacted`,数据快照新增 `scrubText` 与 `dataRedacted`,明文凭据替换为 `${REDACTED}`。安装优先调用宿主 `pluginManager.installBundle`,失败自动退回命令行。扫描按内容 sha1 去重;zip 对已压缩扩展名跳过 deflate、大文件降到 6 级;清单 `schema` 高于当前支持版本时提示升级。插件页与设置页底部加项目地址。
|
|
247
|
+
- **0.1.4**:与 0.1.3 同一份代码,仅版本号上移。
|
|
248
|
+
- **0.1.3**:安装进入任务队列与进度窗(可与打包并行、可终止且不生成文件);安装时先跳过本机已装插件,装完可选择保留本机版本或替换为包内版本(`/install/replace`);联网时优先按市场版本安装(`preferMarketOnInstall`)。新增独立安装器 `install/install.mjs|.cmd|.sh`(裸 DSH 可用,支持 `--profile/--dry-run/--no-bundles/--replace/--dsh`,先把插件复制到 `~/.dsh/dsh-modpack/vendor/`)。风险命中按来源分组,整体与分组均可折叠;左下角进度窗显示概述、百分比与进度条,位置可拖动、空闲自动隐藏、可唤出。`jobKeepSeconds` 与心跳判定自动收尾(失败与取消十几秒、卡住十分钟判失败);「清空进程」改为乐观更新。取包支持「选择文件…」「浏览文件夹…」与任意目录,「已导入的整合包」可同时保留多份。打包支持市场里未安装的插件(按版本从 registry 取包)。
|
|
249
|
+
- **0.1.2**:市场已收录的插件出现高危时,打包改为停在「等决定」,由「我已知晓其中风险」在同一任务里继续;移除「默认打包本机修改」全局勾选,勾选默认 `mode: base`;插件列表加「全部加入 / 清除选择」;界面提示改为书面语。
|
|
250
|
+
- **0.1.1**:打包页顶部提示按是否安装插件市场分支显示;README 与描述补「与插件市场的联动」和有无市场的差异说明。
|
|
251
|
+
- **0.1.0**:首个版本。`.dshpack` 双形态——懒人包(full,自带插件本体)与轻量包(lite,只记录名字与版本);逐插件选择基础配置或本地改动;打包前强制静态扫描(敏感信息与危险代码,命中只留掩码、原文不落盘);安装前校验完整性、兼容性与许可证;配置按条目回填 `cordis.patch.yml`;分类、搜索与分页走插件市场目录;设置页、侧边栏、插件页三处入口独立开关。
|
|
252
252
|
|
|
253
253
|
## 目录
|
|
254
254
|
|
package/docs/DETAIL.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# 整合包(dsh-modpack-kit)
|
|
2
2
|
|
|
3
|
-
为 DeepSeek Harness 提供类似 HMCL / PCL
|
|
3
|
+
为 DeepSeek Harness 提供类似 HMCL / PCL 这类我的世界启动器的整合包打包与安装:把多个插件连同配置与数据打成一个 `.dshpack` 一次装好,支持懒人包(完整包)与轻量包两种形态,并可按插件逐个定制打包内容、与插件市场目录同步版本。
|
|
4
4
|
|
|
5
5
|
## 能做什么
|
|
6
6
|
|
package/locale/en.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"meta": {
|
|
3
3
|
"title": "Modpack",
|
|
4
|
-
"description": "Provides HMCL/PCL-style modpack packaging and installation for DeepSeek Harness: bundle several plugins with their configuration and data into one .dshpack and install it in a single pass. Two forms: a self-contained full pack that a machine with only DSH installed can install, and a lite pack that records names and versions and fetches them on install. Each plugin can be packed from its upstream release with default configuration or from a local copy (code, config entries, data snapshot); configuration is re-applied by entry, data is restored under ~/.dsh without overwriting existing files, and suspected credentials become ${REDACTED}. Categories, search, paging and entries come from the plugin-market catalog, and market versions are preferred when online. Packing always runs an in-memory scan for secrets and risky code (masked, never written to disk); high-risk hits pause the job until confirmed, then it resumes from the checkpoint without rescanning. Installation re-checks sha256 integrity, compatibility and licences, and can finish without enabling or enable right away. The UI can live in settings, the sidebar or the plugins tab, each switchable. Installing the plugin market (dshmarket) first is recommended, not required.",
|
|
4
|
+
"description": "Provides HMCL/PCL-launcher-style modpack packaging and installation for DeepSeek Harness: bundle several plugins with their configuration and data into one .dshpack and install it in a single pass. Two forms: a self-contained full pack that a machine with only DSH installed can install, and a lite pack that records names and versions and fetches them on install. Each plugin can be packed from its upstream release with default configuration or from a local copy (code, config entries, data snapshot); configuration is re-applied by entry, data is restored under ~/.dsh without overwriting existing files, and suspected credentials become ${REDACTED}. Categories, search, paging and entries come from the plugin-market catalog, and market versions are preferred when online. Packing always runs an in-memory scan for secrets and risky code (masked, never written to disk); high-risk hits pause the job until confirmed, then it resumes from the checkpoint without rescanning. Installation re-checks sha256 integrity, compatibility and licences, and can finish without enabling or enable right away. The UI can live in settings, the sidebar or the plugins tab, each switchable. Installing the plugin market (dshmarket) first is recommended, not required.",
|
|
5
5
|
"detail": "docs/DETAIL.md"
|
|
6
6
|
}
|
|
7
7
|
}
|
package/locale/zh.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"meta": {
|
|
3
3
|
"title": "整合包",
|
|
4
|
-
"description": "为 DeepSeek Harness 提供类似 HMCL / PCL
|
|
4
|
+
"description": "为 DeepSeek Harness 提供类似 HMCL / PCL 这类我的世界启动器的整合包打包与安装:把多个插件连同各自的配置与数据打成一个 .dshpack 一次装好。支持懒人包(完整包,自带插件本体,目标机器只装 DSH 本体即可安装)与轻量包(只记录插件名与版本,安装时按记录取包);支持按插件逐个定制打包内容(基础配置或本地改动),配置按原结构回填、数据写回 ~/.dsh 且默认不覆盖已有文件,疑似凭据替换为 ${REDACTED};分类、搜索、分页与条目与插件市场目录同源,联网时可优先按市场版本安装。打包前强制做敏感信息与风险代码静态检测(命中只留掩码、原文不落盘),高风险停在「等决定」,确认后从检测点续跑、不重复扫描;安装前校验 sha256 完整性、兼容性与许可证,装完可选先不启用或直接启用;设置页、侧边栏、插件页三处入口各自独立开关。建议先安装插件市场(dshmarket),但不是必须。",
|
|
5
5
|
"detail": "docs/DETAIL.md"
|
|
6
6
|
}
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-modpack-kit",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Provides HMCL/PCL-style modpack packaging and installation for DeepSeek Harness: bundle several plugins with their configuration and data into one .dshpack and install it in a single pass. Two forms: a self-contained full pack that a machine with only DSH installed can install, and a lite pack that records names and versions and fetches them on install. Each plugin can be packed from its upstream release with default configuration or from a local copy (code, config entries, data snapshot); configuration is re-applied by entry, data is restored under ~/.dsh without overwriting existing files, and suspected credentials become ${REDACTED}. Categories, search, paging and entries come from the plugin-market catalog, and market versions are preferred when online. Packing always runs an in-memory scan for secrets and risky code (masked, never written to disk); high-risk hits pause the job until confirmed, then it resumes from the checkpoint without rescanning. Installation re-checks sha256 integrity, compatibility and licences, and can finish without enabling or enable right away. The UI can live in settings, the sidebar or the plugins tab, each switchable. Installing the plugin market (dshmarket) first is recommended, not required.",
|
|
3
|
+
"version": "0.1.6",
|
|
4
|
+
"description": "Provides HMCL/PCL-launcher-style modpack packaging and installation for DeepSeek Harness: bundle several plugins with their configuration and data into one .dshpack and install it in a single pass. Two forms: a self-contained full pack that a machine with only DSH installed can install, and a lite pack that records names and versions and fetches them on install. Each plugin can be packed from its upstream release with default configuration or from a local copy (code, config entries, data snapshot); configuration is re-applied by entry, data is restored under ~/.dsh without overwriting existing files, and suspected credentials become ${REDACTED}. Categories, search, paging and entries come from the plugin-market catalog, and market versions are preferred when online. Packing always runs an in-memory scan for secrets and risky code (masked, never written to disk); high-risk hits pause the job until confirmed, then it resumes from the checkpoint without rescanning. Installation re-checks sha256 integrity, compatibility and licences, and can finish without enabling or enable right away. The UI can live in settings, the sidebar or the plugins tab, each switchable. Installing the plugin market (dshmarket) first is recommended, not required.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"exports": {
|