@accio-ai/ecommerce-cli 0.0.9-rc.3 → 0.1.0

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/CHANGELOG.md CHANGED
@@ -4,13 +4,15 @@
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
- 当前候选版本为 `0.0.9-rc.2`,稳定基版为 `0.0.9`;本轮补充已发布的 `v0.0.9-rc.1` 之后的变化,保留此前候选版的累计说明,仍处于未正式发布状态。
7
+ ## [0.1.0] - 2026-09-23
8
8
 
9
9
  ### Added
10
10
 
11
+ - 阻塞式 `overseas collection run --output-file` 可原子导出本次采集结果、逐单元记录和覆盖状态的 JSON 文件;导出失败时保留已提交 Job 的回执和 `ready` 恢复指引。
11
12
  - 海外 blocking `collection run/batch` 结束后保留终态 Job 快照并回填 `job_id`,可通过 `status/ready` 读取;采集结果补充逐单元覆盖证明,快照保留失败时明确返回错误。
12
13
  - 国内 `collection describe` 新增 `fact_dimension` 和 `collection_dimension`,分别说明事实粒度与采集粒度;整店采集但保存商品事实的来源必须提供 `store_id`,导入预检与正式执行遵循同一规则。
13
- - 新增 `overseas collection batch`,从计划文件执行有界并发采集,支持整批及单项超时、共享请求预算和原子进度文件;重叠覆盖在请求前拒绝,当前不接受 Shopify 项。
14
+ - 新增 `overseas collection batch`,从计划文件执行有界并发采集,支持整批及单项超时、共享请求预算和原子进度文件;重叠覆盖在请求前拒绝。仅含 Shopify 项的批次可通过 `--local-shopify` 使用逐项核验的本地会话,同店铺请求共享限速。
15
+ - 批次计划项支持 `entity_id` 指定请求绑定源的实体身份;单项缺少必需身份时跳过该项并报告原因,其余项继续执行。整批及单项超时上限均为 3600 秒。
14
16
  - 扩展 Amazon、Temu、eBay 和 Shopify 采集来源,支持配置化请求时间窗、周期报表、分页与详情扇出;Shopify 通过调用绑定的本地 CLI 会话执行。来源注册不代表真实账号全部验收通过,eBay finance/payout 仍要求可信执行期签名能力,详见 [采集兼容边界](docs/海外采集兼容边界.md)。
15
17
  - 新增 eBay `overseas store list`、`listing capability/execute` 和 `advertising report`,提供当前授权账号发现、受限的既有 Listing 操作和广告报表分步处理;写入要求明确确认及账号匹配,结果未知时不自动重发。新增 `overseas product apply`,通过当前授权店铺执行已批准的 TikTok 商品变更集。
16
18
  - 新增 1688 公开商品监控、商品概况及单品分析来源与后处理;`domestic collection normalize` 支持 XLS、业务期间及显式商品范围输入。
@@ -52,6 +54,8 @@
52
54
 
53
55
  ### Changed
54
56
 
57
+ - `overseas collection ready` 的周期采集单元和失败明细改用 `period_key` 表示周期,日采集仍用 `biz_date`,快照仍用 `snapshot_key`;按旧 `snapshot_key` 读取周期结果的调用方需调整解析。
58
+ - Amazon Seller Feedback、订单、退货和 SP Campaign 日报扩大单次请求窗口,在本地按业务日拆分覆盖,减少远端报表创建次数;SP Campaign 报表使用最长一小时的持久执行时钟,轮询临时错误的有界重试次数增加。
55
59
  - 国内采集计划支持按 `--source-id` / `--biz-id` 精确选择来源,并返回逐来源覆盖决策;待采集项使用 `source_type`、`biz_id` 和 `param_spec`,调用方需适配旧 `type` / `dsl_id` 字段,按需读取 `execution_groups`、`selection` 和 `source_decisions`。
56
60
  - 海外采集按来源配置合并请求时间窗并还原业务日期,报表分片与覆盖提交支持持久状态和原子写入;合并范围限于当前同步调用,不承诺跨 Batch 项或持久 Job 合并。
57
61
  - 业务核心与命令契约统一归入 `modules/domestic|overseas|system`,由域 JSON 清单与显式装配注入唯一 Catalog;国内共用查询和日期规则归入 `support`,自动命令索引增加真实契约及源码导航。通用 CLI 运行实现收敛到 `clikit`,原 CLI 包保留源码转发入口;纯架构迁移沿用既有公开协议,本版累计业务新增另行列明。
@@ -96,6 +100,8 @@
96
100
 
97
101
  ### Fixed
98
102
 
103
+ - 修复 Windows 凭据缓存文件被短暂占用时的写入和失效失败;可恢复的缓存故障改用有界重试或可信刷新,保留 Amazon Ads 拒绝记录和错误诊断,不重新放行旧凭据。
104
+ - 修复 Windows npm launcher 和安装初始化在长路径下无法定位或执行二进制的问题。
99
105
  - 修正 1688 时序产物的日期证据、交付体积与退役来源兼容处理;业务日期入库与采集覆盖遵循来源声明,批量导入预检无法安全读取时返回 `preflight_incomplete`。
100
106
  - 修复海外批次采集阻塞与超时处理,完善 Report 下载错误诊断、TSV 解析、按日请求恢复及授权拒绝条目的处理。
101
107
  - 修复 TikTok 素材工作簿中文字段及选项读取、日本市场币种与区域类目适配,以及 Temu 同名品牌选项的映射歧义。
package/checksums.json CHANGED
@@ -1,35 +1,35 @@
1
1
  {
2
- "version": "0.0.9-rc.3",
2
+ "version": "0.1.0",
3
3
  "binaries": {
4
4
  "darwin-arm64": {
5
5
  "package": "@accio-ai/ecommerce-cli-darwin-arm64",
6
6
  "file": "ecomctl",
7
- "sha256": "369c1fab20f6332c398231189f8a099f7b29f25a1aebd16cdebb69fbea17eb3c"
7
+ "sha256": "1054458e863980f25ef045c097d28841434ff7809abde9859e60a960a7930b4d"
8
8
  },
9
9
  "darwin-x64": {
10
10
  "package": "@accio-ai/ecommerce-cli-darwin-x64",
11
11
  "file": "ecomctl",
12
- "sha256": "9c329b540318986453397f0070348f2a8beb8f2ecf7a2e05a2475caca7efdbfe"
12
+ "sha256": "ef565e5a63b162095952ee1abc2aa9eff2cad5041d58c462a1f44c933860ae99"
13
13
  },
14
14
  "linux-arm64": {
15
15
  "package": "@accio-ai/ecommerce-cli-linux-arm64",
16
16
  "file": "ecomctl",
17
- "sha256": "a69f6c19a6fd61851d60813e3a1e9e80f3f2366379d222afae83060051014b8b"
17
+ "sha256": "e9badfd973acec0fc13c30cfbcfdd1380cba20cb73395bdac255b5b6c1a11ffb"
18
18
  },
19
19
  "linux-x64": {
20
20
  "package": "@accio-ai/ecommerce-cli-linux-x64",
21
21
  "file": "ecomctl",
22
- "sha256": "70797b405da3e621ec7f85efc750571cb2d2b1b63cbd70b55cd12c81bde419c4"
22
+ "sha256": "bbd735552495610190f67b46d12feedecd0506874e4098eff710d4b74661d856"
23
23
  },
24
24
  "win32-arm64": {
25
25
  "package": "@accio-ai/ecommerce-cli-win32-arm64",
26
26
  "file": "ecomctl.exe",
27
- "sha256": "4b967e717caf6522d46952745c44c91f91e5c40a79d67e24818ba621c479bd01"
27
+ "sha256": "abf3e54869cf131263a962a5d6bf9d3b2460081bdbdcc961e9cb4988e85fe65e"
28
28
  },
29
29
  "win32-x64": {
30
30
  "package": "@accio-ai/ecommerce-cli-win32-x64",
31
31
  "file": "ecomctl.exe",
32
- "sha256": "4fbf934cac6f9fed3d634c09179451932d7dbf1335e196e51d4fa026b9a92ca1"
32
+ "sha256": "e6399f17d0846b536a19df0f12a9f6cb127a23dc16981513a2e79d989b6925a3"
33
33
  }
34
34
  }
35
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@accio-ai/ecommerce-cli",
3
- "version": "0.0.9-rc.3",
3
+ "version": "0.1.0",
4
4
  "description": "Local, statically compiled ecommerce automation toolkit",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {
@@ -18,12 +18,12 @@
18
18
  "postinstall": "node postinstall.cjs"
19
19
  },
20
20
  "optionalDependencies": {
21
- "@accio-ai/ecommerce-cli-darwin-arm64": "0.0.9-rc.3",
22
- "@accio-ai/ecommerce-cli-darwin-x64": "0.0.9-rc.3",
23
- "@accio-ai/ecommerce-cli-linux-arm64": "0.0.9-rc.3",
24
- "@accio-ai/ecommerce-cli-linux-x64": "0.0.9-rc.3",
25
- "@accio-ai/ecommerce-cli-win32-arm64": "0.0.9-rc.3",
26
- "@accio-ai/ecommerce-cli-win32-x64": "0.0.9-rc.3"
21
+ "@accio-ai/ecommerce-cli-darwin-arm64": "0.1.0",
22
+ "@accio-ai/ecommerce-cli-darwin-x64": "0.1.0",
23
+ "@accio-ai/ecommerce-cli-linux-arm64": "0.1.0",
24
+ "@accio-ai/ecommerce-cli-linux-x64": "0.1.0",
25
+ "@accio-ai/ecommerce-cli-win32-arm64": "0.1.0",
26
+ "@accio-ai/ecommerce-cli-win32-x64": "0.1.0"
27
27
  },
28
28
  "files": [
29
29
  "bin",