@66rpg/cgmaker 0.1.19 → 0.1.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/README.md +1 -1
- package/dist/index.js +39 -42
- package/dist/validate.js +1 -1
- package/package.json +2 -2
- package/skill/cgmaker/SKILL.md +15 -10
- package/skill/cgmaker-identity/references/branches.md +5 -5
- package/skill/cgmaker-play-sdk/references/api.md +81 -81
- package/skill/cgmaker-template-spec/references/layout.md +1 -1
package/README.md
CHANGED
|
@@ -20,6 +20,6 @@ npx cgmaker skill --platform cursor
|
|
|
20
20
|
|
|
21
21
|
Agent 调用请加 `--agent --json`(缺参退出 11、新版本退出 10、未登录退出 12)。人在终端里不要加 `--agent`;TTY 若检测到新版本会询问是否更新。
|
|
22
22
|
|
|
23
|
-
试玩是独立游戏。模板引用只要字符串 `template_id`。`publish-template` 的 `--version`(缺省 `package.json.version`)须 1–16
|
|
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`。
|
|
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)。
|