@follenfang/fupload 0.0.19 → 0.0.20

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/fupload/SKILL.md CHANGED
@@ -2,7 +2,7 @@
2
2
  name: fupload
3
3
  description: Explicit author-publishing workflow for World of Warcraft plugins, configuration shares, and WA/strings on NewBeeBox, NetEase DD, CurseForge, Heybox Workshop, and ModUs.Creator, including local Creator login reuse and plugin ZIP publishing. Use only when the user explicitly invokes `$fupload`, explicitly asks to use the Fupload Skill, or loads this Skill by path. Do not trigger from ordinary mentions of publishing, NewBeeBox, DD, CurseForge, Heybox, ModUs, plugins, configurations, or WA.
4
4
  metadata:
5
- version: "0.0.19"
5
+ version: "0.0.20"
6
6
  ---
7
7
 
8
8
  # Fupload
@@ -59,6 +59,14 @@ All three create/edit form models use `scope`, `share_code_life_type`, `need_buy
59
59
 
60
60
  Omission on edit preserves the remote value. Explicit false follows the field-specific official behavior: room and association children are cleared, while anchor VIP levels remain unless private scope or the outer free mode clears them.
61
61
 
62
+ ## Update description (`update_desc`)
63
+
64
+ `update_desc` is rendered as HTML on the DD web and client surface, for plugins, configuration shares, and WA alike. The renderer collapses plain-text line feeds, so a multi-line changelog must use markup: `<p>first line</p><p>second line</p>`, or `<br>` between lines. A JSON string that contains only `\n` is stored intact but renders as a single line.
65
+
66
+ The Python CLI copies the supplied string into the wire form unchanged and performs no HTML escaping, so callers may pass tags directly. The platform normalizes `\r\n` and `\n` to LF; the line-ending style itself has no effect on rendering. The 1000-character limit applies to the whole string, tags included.
67
+
68
+ A published version's `update_desc` cannot be corrected through the CLI: `plugin edit`, `config edit`, and `wa edit` do not accept the field, and plugin version fields are not edit fields. Correct the format by writing the next version's `update_desc` properly.
69
+
62
70
  ## Plugin
63
71
 
64
72
  `plugin create` fields: `game_type`, `scope`, `addon_type`, `name`, `description`, `logo`/`logo_file`, `detail_imgs`/`detail_img_files`, `primary_category_id`, `second_category_ids`, `html_desc`, `game_versions`, `detail_url`/`file`, `release_type`, `version`, `update_desc`, and all shared fields. Name, description, and version are at most 80 characters; update description is at most 1000; detail images are at most 8.
@@ -191,6 +191,10 @@ CLI 全程非交互、支持 `-o json` 结构化输出,适合交给 AI 助手
191
191
 
192
192
  直接给文本,或 `@CHANGELOG.md` 从文件读取;未指定时若 ncc.json 配置了 `changelog_file` 且文件存在则自动读取。
193
193
 
194
+ **该字段按纯文本存储和展示,不渲染 Markdown**——注意这与插件详情不同,详情正文是 Markdown(见 `--description`):`#`、`##`、`**`、`-` 等标记在这里会原样显示成符号。建议一行一条、行首用 `•`,行与行之间不留空行;换行符统一用 `\r\n`,文末保留一个换行。
195
+
196
+ 单个版本的日志只写该版本内容,不要把整份 `CHANGELOG.md` 直接传给 `--changelog`(会把全部历史带进这一条)。历史版本可用 `ncc wow addons changelog <file_id> --set @<文本文件>` 修正,改完回读核对字数与行数。
197
+
194
198
  ## ncc.json 配置说明
195
199
 
196
200
  ```jsonc
@@ -1,3 +1,3 @@
1
1
  """Fupload Python CLI."""
2
2
 
3
- __version__ = "0.0.19"
3
+ __version__ = "0.0.20"
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "schema": "fupload.npm-skill-manifest.v1",
3
3
  "package_name": "@follenfang/fupload",
4
- "package_version": "0.0.19",
5
- "skill_version": "0.0.19",
6
- "tree_sha256": "dd39f508a55b1b4fe50e5bd076d2a2cd85cb03c6864cdedcb4a7de521ea92197",
4
+ "package_version": "0.0.20",
5
+ "skill_version": "0.0.20",
6
+ "tree_sha256": "bea57f52a133edcd0062736fb1f7c0c560293cb51454275bb1d7bf2234c2d67c",
7
7
  "files": [
8
8
  {
9
9
  "path": "agents/openai.yaml",
@@ -87,8 +87,8 @@
87
87
  },
88
88
  {
89
89
  "path": "references/dd.md",
90
- "bytes": 19868,
91
- "sha256": "79498778d5d9f9c6205b2343b382fc71981d3c3e2cacd7470b63ad18e3afb491"
90
+ "bytes": 20837,
91
+ "sha256": "583a3531cfabf6749c31088a88b3bbad2c516e1eae0b100433305f26894c153d"
92
92
  },
93
93
  {
94
94
  "path": "references/modus.md",
@@ -97,8 +97,8 @@
97
97
  },
98
98
  {
99
99
  "path": "references/newbee-official-cli.md",
100
- "bytes": 24919,
101
- "sha256": "f0ddeca7415f2351ca03cdb9a9f4cb7fd9f08d87a28b13003abe800e57c7f7dd"
100
+ "bytes": 25535,
101
+ "sha256": "2499add2a7a571ed85cc0cf1cfc31513dbbc57a6d001a47045087a48a646f080"
102
102
  },
103
103
  {
104
104
  "path": "references/newbee.md",
@@ -113,7 +113,7 @@
113
113
  {
114
114
  "path": "scripts/fupload_cli/__init__.py",
115
115
  "bytes": 50,
116
- "sha256": "f292736d0644ad8cdfc2c5c693957ec320f889bab0ed5845b574d60e7998f225"
116
+ "sha256": "72c39ea05a04d5f631b53d5363ab86a8c974169c19c56245d7ab2c3c16498ba4"
117
117
  },
118
118
  {
119
119
  "path": "scripts/fupload_cli/blackbox_web.py",
@@ -208,7 +208,7 @@
208
208
  {
209
209
  "path": "SKILL.md",
210
210
  "bytes": 28568,
211
- "sha256": "e2f60649f6d239c555fac24e85fef6ab0d3354b2736e2022b2b9221eedbf0841"
211
+ "sha256": "98335037547a916e251f65c39a686eb3c9a58468f113531c1e28a9ec225198e9"
212
212
  }
213
213
  ]
214
214
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@follenfang/fupload",
3
- "version": "0.0.19",
3
+ "version": "0.0.20",
4
4
  "description": "Install and run the Fuploader Agent Skill and Python CLI.",
5
5
  "type": "module",
6
6
  "bin": {