dsh-hoi4-modding 1.1.0 → 1.1.1

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +14 -0
  3. package/package.json +67 -67
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.1.1
4
+
5
+ - 文档同步补丁:README 增加「Publishing」小节(2026 年可用 granular token 直发;**2027-01 起该方式移除**,
6
+ 改用 stage only + `npm stage publish` 或 GitHub Actions Trusted Publishing),CHANGELOG 记录同项。
7
+ 1.1.0 已包含全部功能与脚本,本版仅同步文档,避免 npm 包与仓库不一致。
8
+
3
9
  ## 1.1.0
4
10
 
5
11
  科技树 UI 专题(来自一次 2900 科技/多国科技页大型 Mod 的真实排障,全部结论经游戏内对照实验验证):
@@ -19,6 +25,7 @@
19
25
  - **SKILL.md**:铁律新增 2 条(科技页可用性、大小框三件套);排错表新增 3 行症状;验收清单新增 2 条;
20
26
  工具与配方索引补充新内容。
21
27
  - README:脚本清单、更新记录(中英)。
28
+ - README:补充 npm 发布方式说明(2027-01 起 granular token 直发被移除,改用 stage only / Trusted Publishing)。
22
29
 
23
30
  ## 1.0.0
24
31
 
package/README.md CHANGED
@@ -60,6 +60,14 @@ All commands are visible in the conversation before they run.
60
60
 
61
61
  ## License
62
62
 
63
+ ## Publishing
64
+
65
+ - **Now – December 2026**: a granular access token with **Read and write (publish and stage)** and
66
+ **Bypass 2FA** enabled can publish directly with `npm publish --access public`.
67
+ npm deprecates this path in **January 2027**.
68
+ - **From January 2027**: use a **stage only** token plus `npm stage publish`, or GitHub Actions
69
+ **Trusted Publishing** (the bundled `release.yml` already runs on `v*` tags).
70
+
63
71
  ## Changelog
64
72
 
65
73
  - **1.1.0** — Tech tree UI knowledge from a real large-mod debugging session: `technology_folders.available`
@@ -96,6 +104,12 @@ dsh plugin --profile web add github:a1249070611/dsh-hoi4-modding
96
104
  - 4 个新脚本:`tech_tree_audit.py`(科技页完整性审计)、`tech_folder_available.py`(旗帜判定→国家标签,批量修复整页无连线)、
97
105
  `item_sprite_check.py`(模板尺寸 vs 背景精灵像素,专治"小框显示成大框")、`errorlog_triage.py`(error.log 分诊)
98
106
 
107
+ ### 发布方式(npm)
108
+ - 2026 年内:Granular token 选 **Read and write (publish and stage)** 并勾选 **Bypass 2FA**,可 `npm publish --access public` 直发;
109
+ npm 已在页面上提示该方式将于 **2027 年 1 月**移除。
110
+ - 2027 年起:改用 **stage only** token + `npm stage publish`,或 GitHub Actions **Trusted Publishing**
111
+ (仓库里的 `release.yml` 已在 `v*` 标签触发)。
112
+
99
113
  ### 依赖
100
114
 
101
115
  - DeepSeek Harness(含技能注册表,0.2.x)
package/package.json CHANGED
@@ -1,67 +1,67 @@
1
- {
2
- "name": "dsh-hoi4-modding",
3
- "version": "1.1.0",
4
- "description": "HOI4 1.19.3 modding skill bundle for DeepSeek Harness: create, edit, validate, install and debug Hearts of Iron IV mods (focus trees, events, decisions, ideas, characters, technologies, MIO, special projects, GUI, localisation, DDS) with bundled verifier/installer scripts; plus tech tree UI diagnostics (page availability, connection lines, big/small item layouts).",
5
- "type": "module",
6
- "main": "lib/index.js",
7
- "exports": {
8
- ".": "./lib/index.js",
9
- "./package.json": "./package.json",
10
- "./cordis.patch.yml": "./cordis.patch.yml"
11
- },
12
- "files": [
13
- "lib/index.js",
14
- "cordis.patch.yml",
15
- "skills/**/*",
16
- "README.md",
17
- "LICENSE",
18
- "icon.svg",
19
- "CHANGELOG.md"
20
- ],
21
- "dsh": {
22
- "bundle": {
23
- "patch": "./cordis.patch.yml"
24
- }
25
- },
26
- "peerDependencies": {
27
- "@deepseek-ai/cordis": "^4.0.1",
28
- "@deepseek-ai/dsh-skill": ">=0.1.0-rc.1 <0.3.0-0"
29
- },
30
- "peerDependenciesMeta": {
31
- "@deepseek-ai/cordis": {
32
- "optional": true
33
- },
34
- "@deepseek-ai/dsh-skill": {
35
- "optional": true
36
- }
37
- },
38
- "engines": {
39
- "node": "^22.19.0 || >=24.0.0",
40
- "dsh": ">=0.2.0 <0.3.0"
41
- },
42
- "scripts": {
43
- "test": "node --test tests/smoke.test.mjs"
44
- },
45
- "keywords": [
46
- "deepseek",
47
- "deepseek-harness",
48
- "dsh",
49
- "dsh-plugin",
50
- "skill",
51
- "hearts-of-iron",
52
- "hoi4",
53
- "hoi4-modding",
54
- "paradox",
55
- "modding"
56
- ],
57
- "icon": "./icon.svg",
58
- "license": "MIT",
59
- "repository": {
60
- "type": "git",
61
- "url": "git+https://github.com/a1249070611/dsh-hoi4-modding.git"
62
- },
63
- "homepage": "https://github.com/a1249070611/dsh-hoi4-modding#readme",
64
- "bugs": {
65
- "url": "https://github.com/a1249070611/dsh-hoi4-modding/issues"
66
- }
67
- }
1
+ {
2
+ "name": "dsh-hoi4-modding",
3
+ "version": "1.1.1",
4
+ "description": "HOI4 1.19.3 modding skill bundle for DeepSeek Harness: create, edit, validate, install and debug Hearts of Iron IV mods (focus trees, events, decisions, ideas, characters, technologies, MIO, special projects, GUI, localisation, DDS) with bundled verifier/installer scripts; plus tech tree UI diagnostics (page availability, connection lines, big/small item layouts).",
5
+ "type": "module",
6
+ "main": "lib/index.js",
7
+ "exports": {
8
+ ".": "./lib/index.js",
9
+ "./package.json": "./package.json",
10
+ "./cordis.patch.yml": "./cordis.patch.yml"
11
+ },
12
+ "files": [
13
+ "lib/index.js",
14
+ "cordis.patch.yml",
15
+ "skills/**/*",
16
+ "README.md",
17
+ "LICENSE",
18
+ "icon.svg",
19
+ "CHANGELOG.md"
20
+ ],
21
+ "dsh": {
22
+ "bundle": {
23
+ "patch": "./cordis.patch.yml"
24
+ }
25
+ },
26
+ "peerDependencies": {
27
+ "@deepseek-ai/cordis": "^4.0.1",
28
+ "@deepseek-ai/dsh-skill": ">=0.1.0-rc.1 <0.3.0-0"
29
+ },
30
+ "peerDependenciesMeta": {
31
+ "@deepseek-ai/cordis": {
32
+ "optional": true
33
+ },
34
+ "@deepseek-ai/dsh-skill": {
35
+ "optional": true
36
+ }
37
+ },
38
+ "engines": {
39
+ "node": "^22.19.0 || >=24.0.0",
40
+ "dsh": ">=0.2.0 <0.3.0"
41
+ },
42
+ "scripts": {
43
+ "test": "node --test tests/smoke.test.mjs"
44
+ },
45
+ "keywords": [
46
+ "deepseek",
47
+ "deepseek-harness",
48
+ "dsh",
49
+ "dsh-plugin",
50
+ "skill",
51
+ "hearts-of-iron",
52
+ "hoi4",
53
+ "hoi4-modding",
54
+ "paradox",
55
+ "modding"
56
+ ],
57
+ "icon": "./icon.svg",
58
+ "license": "MIT",
59
+ "repository": {
60
+ "type": "git",
61
+ "url": "git+https://github.com/a1249070611/dsh-hoi4-modding.git"
62
+ },
63
+ "homepage": "https://github.com/a1249070611/dsh-hoi4-modding#readme",
64
+ "bugs": {
65
+ "url": "https://github.com/a1249070611/dsh-hoi4-modding/issues"
66
+ }
67
+ }