karin-plugin-kkk 2.45.0-beta.6 → 2.45.0-rc.2

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
@@ -2,6 +2,30 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ## [2.45.0-rc.2](https://github.com/ikenxuan/karin-plugin-kkk/compare/v2.45.0-rc.1...v2.45.0-rc.2) (2026-10-07)
6
+
7
+
8
+ ### ✨ 新功能
9
+
10
+ * 更新日志推送图按渠道裁剪引导,预发布角标区分测试版与预览版 ([16920a8](https://github.com/ikenxuan/karin-plugin-kkk/commit/16920a8dbfd720235bd1fa2de143a996b2808d65))
11
+
12
+
13
+ ### 🐛 错误修复
14
+
15
+ * 发布脚本添加版本倒挂检查,确保版本号单调递增并更新渲染逻辑 ([64198f2](https://github.com/ikenxuan/karin-plugin-kkk/commit/64198f22db9a9c06bba38fbcf6f500e9071b0a71))
16
+
17
+
18
+ ### 💄 UI 优化
19
+
20
+ * 更新面板金丝雀行改为直接展示构建 SHA ([121572a](https://github.com/ikenxuan/karin-plugin-kkk/commit/121572a16f8350242de0cdcd0b80b9ad366f1597))
21
+
22
+ ## [2.45.0-rc.1](https://github.com/ikenxuan/karin-plugin-kkk/compare/v2.45.0-beta.6...v2.45.0-rc.1) (2026-10-06)
23
+
24
+
25
+ ### 🐛 错误修复
26
+
27
+ * 更新面板金丝雀行按构建指纹判定,与当前构建同源提交时置灰 ([dd54ddb](https://github.com/ikenxuan/karin-plugin-kkk/commit/dd54ddb527189bbf8bd290b2009c9e24e0b6c654))
28
+
5
29
  ## [2.45.0-beta.6](https://github.com/ikenxuan/karin-plugin-kkk/compare/v2.45.0-beta.5...v2.45.0-beta.6) (2026-10-06)
6
30
 
7
31
 
@@ -1,10 +1,10 @@
1
1
  {
2
- "version": "2.45.0-beta.6",
3
- "buildTime": "2026-10-06T10:06:05.985Z",
4
- "buildTimestamp": 1791281165985,
2
+ "version": "2.45.0-rc.2",
3
+ "buildTime": "2026-10-06T19:57:57.895Z",
4
+ "buildTimestamp": 1791316677895,
5
5
  "name": "karin-plugin-kkk",
6
6
  "description": "Karin 的「抖音」「B 站」视频解析/动态推送插件",
7
7
  "homepage": "https://github.com/ikenxuan/karin-plugin-kkk",
8
- "commitHash": "bd1cf9b157e3b6404e90ac5de82c266740f97798",
9
- "shortCommitHash": "bd1cf9b1"
8
+ "commitHash": "ac21a641944aa6f597b147d788fcbf4ccb16a8c1",
9
+ "shortCommitHash": "ac21a641"
10
10
  }
@@ -20765,7 +20765,7 @@ var Changelog = import_react.memo((props) => {
20765
20765
  className: "flex flex-col gap-6 text-[2.8em] leading-relaxed text-foreground/80",
20766
20766
  children: [
20767
20767
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
20768
- className: "flex items-center gap-5",
20768
+ className: "flex flex-wrap items-center gap-x-5 gap-y-4",
20769
20769
  children: [
20770
20770
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
20771
20771
  className: "text-muted text-[1.2em]",
@@ -20776,10 +20776,14 @@ var Changelog = import_react.memo((props) => {
20776
20776
  className: "inline-block text-[1.15em] font-bold text-foreground",
20777
20777
  children: "更新"
20778
20778
  }),
20779
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "立刻开始" })
20779
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "立刻开始更新到" }),
20780
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
20781
+ className: "whitespace-nowrap font-bold text-foreground",
20782
+ children: ["v", props.data.remoteVersion]
20783
+ })
20780
20784
  ]
20781
20785
  }),
20782
- /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
20786
+ props.data.channel === "Stable" && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
20783
20787
  className: "flex flex-wrap items-center gap-x-5 gap-y-4",
20784
20788
  children: [
20785
20789
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
@@ -24582,15 +24586,22 @@ var updateHelp_default = defineTemplate({
24582
24586
  text: "获取失败",
24583
24587
  active: false
24584
24588
  };
24585
- if (channel.status === "canary") return channel.hasUpdate ? {
24586
- dot: palette.success,
24587
- text: "有新构建可升级",
24588
- active: true
24589
- } : {
24590
- dot: palette.accentText,
24591
- text: "main 分支构建",
24592
- active: true
24593
- };
24589
+ if (channel.status === "canary") {
24590
+ if (channel.hasUpdate) return {
24591
+ dot: palette.success,
24592
+ text: "有新构建可升级",
24593
+ active: true
24594
+ };
24595
+ return channel.hasUpdate === false ? {
24596
+ dot: palette.faint,
24597
+ text: "与当前构建一致",
24598
+ active: false
24599
+ } : {
24600
+ dot: palette.faint,
24601
+ text: "main 分支构建",
24602
+ active: false
24603
+ };
24604
+ }
24594
24605
  const order = semverCompare(channel.version ?? "0.0.0", data.currentVersion);
24595
24606
  if (channel.hasUpdate !== void 0) return channel.hasUpdate ? {
24596
24607
  dot: palette.success,
@@ -24797,20 +24808,13 @@ var updateHelp_default = defineTemplate({
24797
24808
  },
24798
24809
  children: channel.tag
24799
24810
  })]
24800
- }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
24811
+ }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
24801
24812
  className: "flex items-center gap-6",
24802
- children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
24813
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
24803
24814
  className: "whitespace-nowrap font-mono text-[46px] font-bold leading-none",
24804
24815
  style: { color: status.active ? palette.ink : palette.faint },
24805
- children: channel.version
24806
- }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
24807
- className: "flex items-center gap-3 whitespace-nowrap text-[24px] font-semibold",
24808
- style: { color: status.dot },
24809
- children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
24810
- className: "h-2.5 w-2.5 rounded-full",
24811
- style: { background: status.dot }
24812
- }), status.text]
24813
- })]
24816
+ children: ["SHA: ", channel.version]
24817
+ })
24814
24818
  })]
24815
24819
  }),
24816
24820
  channel.installCommand && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
@@ -40474,16 +40478,18 @@ var getChangelogImage = async (ctx, props) => {
40474
40478
  const localMeta = getBuildMetadata();
40475
40479
  if (localMeta?.buildTime) buildTime = formatBuildTime(localMeta.buildTime);
40476
40480
  }
40477
- changelog = changelog.replace(/^(## \[\d+\.\d+\.\d+-[^\]]+\][^\r\n]*)/gm, "$1 「测试版」");
40481
+ changelog = changelog.replace(/^(## \[\d+\.\d+\.\d+-(beta|rc)\.[^\]]+\][^\r\n]*)/gm, (_match, head, preid) => `${head} 「${preid === "rc" ? "预览版" : "测试版"}」`);
40482
+ const targetChannel = parseReleaseChannel(props.remoteVersion);
40478
40483
  return await Render(event, "other/changelog", {
40479
40484
  markdown: changelog,
40480
40485
  Tip: props.Tip,
40481
40486
  localVersion: props.localVersion,
40482
40487
  remoteVersion: props.remoteVersion,
40483
- channelLabel: RELEASE_CHANNEL_LABEL[parseReleaseChannel(props.remoteVersion)],
40488
+ channelLabel: RELEASE_CHANNEL_LABEL[targetChannel],
40489
+ channel: targetChannel,
40484
40490
  lagVersionCount,
40485
40491
  buildTime,
40486
- share_url: `https://karin-plugin-kkk-docs.vercel.app/diff?old=${props.localVersion}&new=latest`
40492
+ share_url: targetChannel === "Canary" ? void 0 : `https://karin-plugin-kkk-docs.vercel.app/diff?old=${props.localVersion}&new=latest`
40487
40493
  }) || null;
40488
40494
  };
40489
40495
  //#endregion
@@ -40772,7 +40778,7 @@ var getUpdateHelpImage = async (e) => {
40772
40778
  status: "error"
40773
40779
  };
40774
40780
  const installedSha = (build?.shortCommitHash ?? "").slice(0, 7);
40775
- if (installedIsCanary && canaryChannel.status === "canary" && installedSha) canaryChannel.hasUpdate = installedSha !== canaryChannel.version;
40781
+ if (canaryChannel.status === "canary" && installedSha) canaryChannel.hasUpdate = installedSha !== canaryChannel.version;
40776
40782
  channels.push(canaryChannel);
40777
40783
  return await Render(e, "other/updateHelp", {
40778
40784
  currentVersion: Root.pluginVersion,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "karin-plugin-kkk",
3
- "version": "2.45.0-beta.6",
3
+ "version": "2.45.0-rc.2",
4
4
  "description": "Karin 的「抖音」「B 站」视频解析/动态推送插件",
5
5
  "keywords": [
6
6
  "karin",
@@ -83,7 +83,7 @@
83
83
  "@lobehub/webfont-harmony-sans-sc": "^1.0.0",
84
84
  "emoji-datasource-apple": "16.0.0"
85
85
  },
86
- "timestamp": "2026-10-06T10:04:25.731Z",
86
+ "timestamp": "2026-10-06T19:56:29.308Z",
87
87
  "engines": {
88
88
  "node": ">=18.0.0"
89
89
  }