@66rpg/cgmaker 0.1.21 → 0.1.23

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 CHANGED
@@ -9,7 +9,7 @@ npx cgmaker validate-template
9
9
  npx cgmaker login
10
10
  npx cgmaker publish --version 1.0.0
11
11
  npx cgmaker publish --demo --version 1.0.0
12
- npx cgmaker publish-template --version 0.1.0
12
+ npx cgmaker publish-template --name "..." --version 0.1.0
13
13
  npx cgmaker publish-template --version 0.1.0 --with-assets
14
14
  npx cgmaker publish-template --version 0.1.0 --with-assets --assets C:\path\to\assets
15
15
  npx cgmaker publish-template-data --data-ver 2
@@ -18,8 +18,8 @@ npx cgmaker publish-project --version 1.0.0
18
18
  npx cgmaker skill --platform cursor
19
19
  ```
20
20
 
21
- Agent 调用请加 `--agent --json`(缺参退出 11、新版本退出 10、未登录退出 12)。人在终端里不要加 `--agent`;TTY 若检测到新版本会询问是否更新。
21
+ Agent 调用请加 `--agent --json`(缺参退出 11、新版本退出 10、未登录退出 12)。人在终端里不要加 `--agent`;TTY 若检测到新版本会询问是否更新。`npx cgmaker publish` 上传前会列出基本信息并确认;脚本加 `--yes`。
22
22
 
23
- 试玩是独立游戏。模板引用只要字符串 `template_id`。`publish-template` `--version`(缺省 `package.json.version`)须 1–16 位,仅小写字母、数字、`.`、`-`;须以字母或数字开头和结尾,不能有连续符号。还没发布过时第一版不能绑数据包。再发一版默认不带数据包;该 `data_ver` 尚无包且本地有 `assets/` 则自动上传。再带包用 `--with-assets`。`--assets` 指定绝对路径(zip 内仍为 `assets/`),在 `publish-template` 上出现即视为要上传。只改资源、不发新代码版本用 `publish-template-data`(须已有 origin;未传 `--data-ver` 则读 `package.json`,不写回)。config 不随包:放到 `~/.cgmaker/config.json`。
23
+ 试玩是独立游戏。查询 / 发布用平台 `template_id`。开工程第一位置用网页给的 `用户名/模板名`(可 `@版本`),或模板 id / 版本 id。开工程下载素材用 `--with-assets <数据包ID>`(已不再支持 `--data-id`)。`publish-template` 首发必须有平台模板名(`--name` 或合法 `package.json.name`,不能含 `/` `@`)。`--version`(缺省 `package.json.version`)须 1–16 位,仅小写字母、数字、`.`、`-`;须以字母或数字开头和结尾,不能有连续符号。还没发布过时第一版不能绑数据包。再发一版默认不带数据包;该 `data_ver` 尚无包且本地有 `assets/` 则自动上传。再带包用 `--with-assets`(开关)。Fork 换绑已有包才用 `--data-id`。`--assets` 指定绝对路径(zip 内仍为 `assets/`),在 `publish-template` 上出现即视为要上传。只改资源、不发新代码版本用 `publish-template-data`(须已有 origin;未传 `--data-ver` 则读 `package.json`,不写回)。config 不随包:放到 `~/.cgmaker/config.json`。
24
24
 
25
25
  流程给人看:仓库 `docs/users.md`、`docs/play-sdk.md`。给 Agent:本包 `skill/cgmaker/SKILL.md`(怎么发)、`skill/cgmaker-identity/SKILL.md`(参数与配置指南)、`skill/cgmaker-play-sdk/SKILL.md`(宿主 SDK)。