pixivflow 2.20.0 → 2.20.1

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.
@@ -411,6 +411,10 @@ function buildTemplateVariables(request) {
411
411
  // key) converges remotely as idempotent_replay instead of being mistaken for
412
412
  // a historical duplicate or, worse, double-posting.
413
413
  idempotencyKey: c.idempotencyKey ?? '',
414
+ // Remote manual replacement ("重抓") request UUID; empty for scheduled runs.
415
+ // Carried through the delivery payload context (extraContext) so the
416
+ // receiving service can correlate the review with its refetch attempt.
417
+ refetchRequestId: c.refetchRequestId ?? '',
414
418
  };
415
419
  }
416
420
  /**
@@ -48,6 +48,12 @@ export interface DeliveryContext {
48
48
  bookmarkCount?: number;
49
49
  /** Pixiv view count — rendered as {{viewCount}}. */
50
50
  viewCount?: number;
51
+ /**
52
+ * Request UUID of the remote manual replacement ("重抓") that produced this
53
+ * delivery; EMPTY for scheduled/original runs. The receiving service uses it
54
+ * to correlate the review with its durable refetch attempt.
55
+ */
56
+ refetchRequestId?: string;
51
57
  /**
52
58
  * Generic schedule-execution provenance. Attached to scheduled runs only
53
59
  * (absent for ad-hoc/manual runs). Delivery-agnostic: any adapter may surface
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "type": "commonjs",
3
3
  "name": "pixivflow",
4
- "version": "2.20.0",
4
+ "version": "2.20.1",
5
5
  "private": true
6
6
  }
package/dist/version.js CHANGED
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.BUILD = void 0;
4
4
  // GENERATED by scripts/write-version.js — do not edit manually.
5
- exports.BUILD = { version: '2.20.0', commit: '2229fb7b45a6' };
5
+ exports.BUILD = { version: '2.20.1', commit: '834a545f7368' };
6
6
  //# sourceMappingURL=version.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "type": "commonjs",
3
3
  "name": "pixivflow-webui-backend",
4
- "version": "2.20.0",
4
+ "version": "2.20.1",
5
5
  "description": "PixivFlow WebUI Backend - CommonJS module"
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pixivflow",
3
- "version": "2.20.0",
3
+ "version": "2.20.1",
4
4
  "description": "🎨 智能的 Pixiv 自动化下载工具 - 支持批量下载插画和小说、定时任务、Docker部署 | Intelligent Pixiv Automation Downloader with batch download, scheduler, and Docker support",
5
5
  "repository": {
6
6
  "type": "git",