@yixiaoermail/cli 3.2.17 → 3.2.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/checksums.txt CHANGED
@@ -1,6 +1,6 @@
1
- b2ec3418f63425aaacebe65841a6cee7e56cb7d7ef833db5f201e1a734ed6b4d yxer-cli-3.2.17-windows-amd64.zip
2
- 508322cfc5a065f680afbfd5970b599e410cd04792b83e5ce2f1e745b01ec6aa yxer-cli-3.2.17-windows-arm64.zip
3
- aad55f82bb2e42cdde7001ffe367313c6b6d6957aea0f084a7347d5cd3ff3609 yxer-cli-3.2.17-darwin-amd64.tar.gz
4
- 275e2efe900cb503f3e892acbda708ec271d84e3b7ed9b5cf256b7d5f2d82dcc yxer-cli-3.2.17-darwin-arm64.tar.gz
5
- 5e39048f239cb237d05b46448961ca2172cae0f9e81c23544cdfc366ca14266b yxer-cli-3.2.17-linux-amd64.tar.gz
6
- 8291a04c6dc21675aa85f7ab8240ae0dfb4277dd4f3017e84ea3e022445b4bd4 yxer-cli-3.2.17-linux-arm64.tar.gz
1
+ d3d1e5b8efaa3139c0c7908a93500e1d56739cf479ef4bf99ca37f99e8723580 yxer-cli-3.2.20-windows-amd64.zip
2
+ dd4b5fb6cb5145038dd889a12f2845c11c90e728f49f4bc9db4fc7d6a2ef1e53 yxer-cli-3.2.20-windows-arm64.zip
3
+ d00f94b6c2d8709c88280c7d0c997286d52cef2dce27e6cab010fb4880e2656a yxer-cli-3.2.20-darwin-amd64.tar.gz
4
+ fd8f9e4778c3a1c1bae637af3ce504db40ce3a75c221d4562526730ae7508143 yxer-cli-3.2.20-darwin-arm64.tar.gz
5
+ 8aff2597102ea425610ef57ad15816b4df5cce583e8d30fe0a2b7d4f472e8337 yxer-cli-3.2.20-linux-amd64.tar.gz
6
+ dac96007f067efdba421d2843c995a9c9b04b459afe5147f53dd5028a24aec5a yxer-cli-3.2.20-linux-arm64.tar.gz
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yixiaoermail/cli",
3
- "version": "3.2.17",
3
+ "version": "3.2.20",
4
4
  "description": "Yixiaoer CLI packaged for npm global installation",
5
5
  "bin": {
6
6
  "yxer": "bin/yxer.js"
@@ -78,7 +78,7 @@ yxer query locations <account_id> [--query 关键词] [--type 0|1|2|3]
78
78
  yxer query music <account_id> [--query 关键词]
79
79
  yxer query goods <account_id> [--query 关键词]
80
80
  yxer query taobao-guanghe-goods-tabs <account_id> --type video|imageText
81
- yxer query taobao-guanghe-goods <account_id> --type video|imageText [--source SOURCE] [--filter-value VALUE] [--second-filter-value VALUE] [--query 关键词] [--next-page TOKEN]
81
+ yxer query taobao-guanghe-goods <account_id> --type video|imageText --source SOURCE [--filter-value VALUE] [--second-filter-value VALUE] [--query 关键词] [--next-page TOKEN]
82
82
  yxer query goods-detail <account_id> --url <product_url>
83
83
  yxer query entitlements <account_id>
84
84
  yxer query collections <account_id> [--type video|article]
@@ -20,6 +20,7 @@ yxer publish imageText 淘宝光合 payload.json --publish-channel local --clien
20
20
 
21
21
  - 上传 1 至 9 张图片,每张宽和高均不得小于 720 像素;首图作为内部封面。
22
22
  - 标题最多 30 字、正文最多 1000 字,两者不能同时为空;`tags` 最多 4 个。
23
+ - 商品查询必须先读取当前账号 `goods-tabs`,再显式传入其中返回的 `source`;不得省略 `--source` 或依赖默认商品池。根据用户意图选择来源,不全局禁止 `coreitem`。
23
24
  - `shopping_cart` 可为空;非空时只能使用该账号 `--type imageText` 商品查询返回的完整对象,最多 6 件,不得裁剪 `raw`。
24
25
  - 页面式表单选择多件商品时使用 `publish form choose ... shopping_cart --ids <id1>,<id2>`,必须明确列出每个商品 ID。
25
26
  - 商品接口会把 `imageText` 映射为 `pageType=photo`。
@@ -20,6 +20,7 @@ yxer publish video 淘宝光合 payload.json --publish-channel local --client-id
20
20
 
21
21
  - `video`、`cover` 和 `coverKey` 放在账号表单层,`coverKey` 必须等于 `cover.key`。
22
22
  - `short_title` 最多 30 字,`desc` 最多 1000 字。
23
+ - 商品查询必须先读取当前账号 `goods-tabs`,再显式传入其中返回的 `source`;不得省略 `--source` 或依赖默认商品池。根据用户意图选择来源,不全局禁止 `coreitem`。
23
24
  - `shopping_cart` 可为空;非空时只能使用该账号 `--type video` 商品查询返回的完整对象,最多 6 件,不得裁剪 `raw`。
24
25
  - 页面式表单选择多件商品时使用 `publish form choose ... shopping_cart --ids <id1>,<id2>`,必须明确列出每个商品 ID。
25
26
  - 立即发布不传 `scheduledTime`;定时发布使用 13 位毫秒时间戳。
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: yixiaoer
3
- version: 3.2.17
3
+ version: 3.2.20
4
4
  description: "通过 yxer CLI 操作蚁小二多平台内容分发:账号查询、资源上传、发布前准备、payload 校验、云发布/本机发布、草稿保存、素材登记、发布记录排查与技能同步。"
5
5
  metadata:
6
6
  category: "productivity"
@@ -78,7 +78,7 @@ yxer schema get <platform> <type>
78
78
  - `prepare` 返回的 `data.form` 是可恢复的页面式表单契约;新建复杂 payload 时优先使用 `yxer publish form start/inspect/set/choose/verify/review/export`,不要自行发明字段或路径。form 会话不能直接发布,必须先 verify 并 export 成标准 `payload.json`。
79
79
  - 图片、视频、封面等资源必须先上传,且只能复用 `yxer upload` 返回的真实字段。
80
80
  - `category`、`location`、`music`、`collection`、`challenge`、`goods`、`drama` 等动态字段必须先通过 `yxer query ...` 查询,不能手写对象;视频号 `drama` 只保留查询结果中的 `yixiaoerId`、`yixiaoerImageUrl`、`yixiaoerName`,不添加 `raw`。多多视频例外:`shopping_cart.goods_id` 是用户手工提供的业务商品 ID,CLI 固定补充 `source=pdd`,不得从 `yxer query goods` 的 `yixiaoerId` 映射。
81
- - 淘宝光合 `shopping_cart` 必须来自目标账号、相同发布类型的 `yxer query taobao-guanghe-goods` 结果,完整保留商品对象和 `raw`,每个账号最多 6 件;支持云发布和本机发布。
81
+ - 淘宝光合 `shopping_cart` 必须先通过目标账号、相同发布类型的 `taobao-guanghe-goods-tabs` 查询可用来源,再使用显式 `--source` 执行 `yxer query taobao-guanghe-goods`;完整保留商品对象和 `raw`,每个账号最多 6 件;不得依赖省略来源时的服务端默认商品池。
82
82
  - CRITICAL: `validate`、`publish --dry-run`、正式 `publish` 必须使用同一套发布通道参数。
83
83
 
84
84
  ## 页面式表单会话
@@ -78,7 +78,7 @@ yxer query locations <account_id> [--query 关键词] [--type 0|1|2|3]
78
78
  yxer query music <account_id> [--query 关键词]
79
79
  yxer query goods <account_id> [--query 关键词]
80
80
  yxer query taobao-guanghe-goods-tabs <account_id> --type video|imageText
81
- yxer query taobao-guanghe-goods <account_id> --type video|imageText [--source SOURCE] [--filter-value VALUE] [--second-filter-value VALUE] [--query 关键词] [--next-page TOKEN]
81
+ yxer query taobao-guanghe-goods <account_id> --type video|imageText --source SOURCE [--filter-value VALUE] [--second-filter-value VALUE] [--query 关键词] [--next-page TOKEN]
82
82
  yxer query goods-detail <account_id> --url <product_url>
83
83
  yxer query entitlements <account_id>
84
84
  yxer query collections <account_id> [--type video|article]
@@ -20,6 +20,7 @@ yxer publish imageText 淘宝光合 payload.json --publish-channel local --clien
20
20
 
21
21
  - 上传 1 至 9 张图片,每张宽和高均不得小于 720 像素;首图作为内部封面。
22
22
  - 标题最多 30 字、正文最多 1000 字,两者不能同时为空;`tags` 最多 4 个。
23
+ - 商品查询必须先读取当前账号 `goods-tabs`,再显式传入其中返回的 `source`;不得省略 `--source` 或依赖默认商品池。根据用户意图选择来源,不全局禁止 `coreitem`。
23
24
  - `shopping_cart` 可为空;非空时只能使用该账号 `--type imageText` 商品查询返回的完整对象,最多 6 件,不得裁剪 `raw`。
24
25
  - 页面式表单选择多件商品时使用 `publish form choose ... shopping_cart --ids <id1>,<id2>`,必须明确列出每个商品 ID。
25
26
  - 商品接口会把 `imageText` 映射为 `pageType=photo`。
@@ -20,6 +20,7 @@ yxer publish video 淘宝光合 payload.json --publish-channel local --client-id
20
20
 
21
21
  - `video`、`cover` 和 `coverKey` 放在账号表单层,`coverKey` 必须等于 `cover.key`。
22
22
  - `short_title` 最多 30 字,`desc` 最多 1000 字。
23
+ - 商品查询必须先读取当前账号 `goods-tabs`,再显式传入其中返回的 `source`;不得省略 `--source` 或依赖默认商品池。根据用户意图选择来源,不全局禁止 `coreitem`。
23
24
  - `shopping_cart` 可为空;非空时只能使用该账号 `--type video` 商品查询返回的完整对象,最多 6 件,不得裁剪 `raw`。
24
25
  - 页面式表单选择多件商品时使用 `publish form choose ... shopping_cart --ids <id1>,<id2>`,必须明确列出每个商品 ID。
25
26
  - 立即发布不传 `scheduledTime`;定时发布使用 13 位毫秒时间戳。