@yixinkj/ops 0.1.4 → 0.1.6

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/README.md +4 -1
  2. package/package.json +1 -1
  3. package/skills.json +10 -1
package/README.md CHANGED
@@ -6,12 +6,15 @@
6
6
  npx -y @yixinkj/ops@latest --help
7
7
  ```
8
8
 
9
- 当前提供榜单监控(`toprank-radar`),支持 macOS Apple Silicon、macOS Intel 和 Windows x64。启动器需要 Node.js 18 或更新版本,首次使用会下载并校验对应平台的原生运行包,无需安装 Rust。
9
+ 当前提供榜单监控(`toprank-radar`)和贸易商品盘点(`trade-product-audit`),支持 macOS Apple Silicon、macOS Intel 和 Windows x64。启动器需要 Node.js 18 或更新版本,首次使用会下载并校验对应平台的原生运行包,无需安装 Rust。
10
10
 
11
11
  ```sh
12
12
  npx -y @yixinkj/ops@latest --toprank-radar --serve
13
+ npx -y @yixinkj/ops@latest --trade-product-audit
13
14
  ```
14
15
 
15
16
  未配置 API Key 时可以进入控制台,按首次授权提示粘贴直通车专用 Key,验证成功后保存。凭证仅使用 `YIXIN_OPS_API_KEY` 或 `~/.yixin-ops/auth/config.json`;环境变量不会自动持久化,不读取旧社群客户端的 Key 或配置。每次受保护操作均重新在线申请授权。
16
17
 
18
+ 贸易商品盘点需要在 Chrome 目标资料中登录国际站商品管理页。程序读取账号可见的全部状态商品,筛出“贸”商品,导出含嵌入主图、文字链接和月度指标的 Excel;默认永久保存到 `~/.yixin-ops/trade-product-audit/`,支持自定义数据路径,不覆盖旧批次。
19
+
17
20
  OSS 使用 `releases/yixin-ops/`,备用发布仓库为 `TimWuc/yixin-ops-releases`,版本缓存位于 `~/.yixin-ops/versions/`。历史采集数据与版本目录分开保存,升级时保留原数据及自定义数据路径。更新后请正常关闭并重新启动控制台;不要删除整个 `~/.yixin-ops` 目录。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yixinkj/ops",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "Yixin operations native CLI launcher.",
5
5
  "type": "module",
6
6
  "bin": {
package/skills.json CHANGED
@@ -18,6 +18,15 @@
18
18
  },
19
19
  "bridge": "browser-bridge",
20
20
  "skills": [
21
- {"name":"toprank-radar","flag":"--toprank-radar","bin":"toprank-radar"}
21
+ {
22
+ "name": "toprank-radar",
23
+ "flag": "--toprank-radar",
24
+ "bin": "toprank-radar"
25
+ },
26
+ {
27
+ "name": "贸易商品盘点",
28
+ "flag": "--trade-product-audit",
29
+ "bin": "trade-product-audit"
30
+ }
22
31
  ]
23
32
  }