karin-plugin-kkk 2.32.1 → 2.32.3
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 +32 -0
- package/lib/apps/push.js +2 -2
- package/lib/apps/qrlogin.js +1 -1
- package/lib/apps/statistics.js +1 -1
- package/lib/apps/testPush.js +2 -0
- package/lib/build-metadata.json +5 -5
- package/lib/core_chunk/amagi.d.mts +1 -1
- package/lib/core_chunk/amagi.js +1 -1
- package/lib/core_chunk/amagiClient.js +1 -1
- package/lib/core_chunk/{index-DNlQJ2Zs.d.mts → index-B2QgJ0_6.d.mts} +21 -2
- package/lib/core_chunk/main.js +1718 -785
- package/lib/core_chunk/richtext.d.mts +2 -2
- package/lib/core_chunk/richtext.js +2 -2
- package/lib/core_chunk/template.d.mts +42 -11
- package/lib/core_chunk/vendor.js +2652 -2539
- package/lib/karin-plugin-kkk.css +1929 -1232
- package/lib/root.js +1 -1
- package/package.json +3 -3
- /package/lib/core_chunk/{index-_BS3nWFN.d.mts → index-_og592jD.d.mts} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,38 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
+
## [2.32.3](https://github.com/ikenxuan/karin-plugin-kkk/compare/v2.32.2...v2.32.3) (2026-05-30)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### 💄 UI 优化
|
|
9
|
+
|
|
10
|
+
* **dy:** 重写部分组件样式 ([#314](https://github.com/ikenxuan/karin-plugin-kkk/issues/314)) ([62bdd2e](https://github.com/ikenxuan/karin-plugin-kkk/commit/62bdd2e05d63bf9163018e34aa337128699470c9))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### 📦 依赖更新
|
|
14
|
+
|
|
15
|
+
* update ([ec65953](https://github.com/ikenxuan/karin-plugin-kkk/commit/ec659530189b6c0eaf8307fd769984daa6f497e6))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### 💯 细节优化
|
|
19
|
+
|
|
20
|
+
* 114514 ([98f1bb9](https://github.com/ikenxuan/karin-plugin-kkk/commit/98f1bb93c73bf6b05691cc6dfbe2c5e4e642901a))
|
|
21
|
+
* **douyin:** 支持富文本描述和提及功能,优化抖音作品展示 ([e643238](https://github.com/ikenxuan/karin-plugin-kkk/commit/e643238d6bb28c62572dc0afbfe2dc032c2fa690))
|
|
22
|
+
|
|
23
|
+
## [2.32.2](https://github.com/ikenxuan/karin-plugin-kkk/compare/v2.32.1...v2.32.2) (2026-05-28)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### 🐛 错误修复
|
|
27
|
+
|
|
28
|
+
* **bilibili:** 修复推送项中的装饰卡片字段名称 ([cfd0ee3](https://github.com/ikenxuan/karin-plugin-kkk/commit/cfd0ee3eabfc26264898fb500d71931f529d7592))
|
|
29
|
+
* 添加一个bug ([35d95c2](https://github.com/ikenxuan/karin-plugin-kkk/commit/35d95c2a011d4f31b6c9b88937242f3cf15538f1))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### 📦 依赖更新
|
|
33
|
+
|
|
34
|
+
* update ([38acf3d](https://github.com/ikenxuan/karin-plugin-kkk/commit/38acf3d86338b6b220ceb89e7cb63500844811fe))
|
|
35
|
+
* update ([#313](https://github.com/ikenxuan/karin-plugin-kkk/issues/313)) ([23c7b7d](https://github.com/ikenxuan/karin-plugin-kkk/commit/23c7b7d53975e5cd6b11ecc41acb0cc21a82d48d))
|
|
36
|
+
|
|
5
37
|
## [2.32.1](https://github.com/ikenxuan/karin-plugin-kkk/compare/v2.32.0...v2.32.1) (2026-05-27)
|
|
6
38
|
|
|
7
39
|
|
package/lib/apps/push.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { S as
|
|
2
|
-
export { bilibiliPush, bilibiliPushList, changeBotID, douyinPush, douyinPushList, forcePush, globalIgnore, setbiliPush, setdyPush
|
|
1
|
+
import { S as setdyPush, _ as douyinPush, b as globalIgnore, g as changeBotID, h as bilibiliPushList, m as bilibiliPush, v as douyinPushList, x as setbiliPush, y as forcePush } from "../core_chunk/main.js";
|
|
2
|
+
export { bilibiliPush, bilibiliPushList, changeBotID, douyinPush, douyinPushList, forcePush, globalIgnore, setbiliPush, setdyPush };
|
package/lib/apps/qrlogin.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { p as qrLogin } from "../core_chunk/main.js";
|
|
2
2
|
export { qrLogin };
|
package/lib/apps/statistics.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { d as
|
|
1
|
+
import { d as globalStatistics, f as groupStatistics } from "../core_chunk/main.js";
|
|
2
2
|
export { globalStatistics, groupStatistics };
|
package/lib/build-metadata.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.32.
|
|
3
|
-
"buildTime": "2026-05-
|
|
4
|
-
"buildTimestamp":
|
|
2
|
+
"version": "2.32.3",
|
|
3
|
+
"buildTime": "2026-05-31T03:24:03.667Z",
|
|
4
|
+
"buildTimestamp": 1780197843668,
|
|
5
5
|
"name": "karin-plugin-kkk",
|
|
6
6
|
"description": "Karin 的「抖音」「B 站」视频解析/动态推送插件",
|
|
7
7
|
"homepage": "https://github.com/ikenxuan/karin-plugin-kkk",
|
|
8
|
-
"commitHash": "
|
|
9
|
-
"shortCommitHash": "
|
|
8
|
+
"commitHash": "e5493b72c956d1595bf0f1fda59a2eb7248cbda3",
|
|
9
|
+
"shortCommitHash": "e5493b72"
|
|
10
10
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as ChalkInstance } from "./index-
|
|
1
|
+
import { t as ChalkInstance } from "./index-_og592jD.mjs";
|
|
2
2
|
import { EventEmitter } from "node:events";
|
|
3
3
|
import { AxiosRequestConfig, AxiosResponse, RawAxiosResponseHeaders } from "axios";
|
|
4
4
|
import express from "express";
|
package/lib/core_chunk/amagi.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $n as
|
|
1
|
+
import { $n as xiaohongshuApiUrls, $r as emitLog, $t as MajorType, An as fetchResponse, Ar as BilibiliBangumiStreamParamsSchema, At as DouyinMethodMapping, Bn as createBoundDouyinFetcher, Br as BilibiliMethodRoutes, Bt as DouyinFetcherMethods, Cn as bv2av, Cr as DouyinWorkParamsSchema, Dn as logMiddleware, Dr as BilibiliArticleParamsSchema, Dt as BilibiliApiRoutes, En as initLogger, Er as BilibiliArticleInfoParamsSchema, Et as amagiClient, Fn as createBoundKuaishouFetcher, Fr as BilibiliDanmakuParamsSchema, Ft as getApiRoute, Gn as createErrorResponse, Gr as BilibiliValidationSchemas, Gt as KuaishouMethodToFetcher, Hn as douyinSign, Hr as BilibiliQrcodeStatusParamsSchema, Ht as DouyinMethodToFetcher, In as kuaishouFetcher, Ir as BilibiliDynamicParamsSchema, It as getEnglishMethodName, Jn as validateDouyinParams, Jr as amagiEvents, Jt as XiaohongshuInternalMethods, Kn as createSuccessResponse, Kr as BilibiliVideoDownloadParamsSchema, Kt as MethodMaps, Ln as kuaishouSign, Lr as BilibiliEmojiParamsSchema, Lt as BilibiliFetcherMethods, Mn as isNetworkErrorResult, Mr as BilibiliColumnInfoParamsSchema, Mt as KuaishouMethodMapping, Nn as createBoundXiaohongshuFetcher, Nr as BilibiliCommentParamsSchema, Nt as XiaohongshuApiRoutes, On as logger, Or as BilibiliAv2BvParamsSchema, Ot as BilibiliMethodMapping, Pn as xiaohongshuFetcher, Pr as BilibiliCommentReplyParamsSchema, Pt as XiaohongshuMethodMapping, Qn as XiaohongshuValidationSchemas, Qr as emitHttpResponse, Qt as AdditionalType, Rn as kuaishouApiUrls, Rr as BilibiliLiveParamsSchema, Rt as BilibiliInternalMethods, Sn as av2bv, Sr as DouyinValidationSchemas, Tn as httpLogger, Tr as BilibiliArticleCardParamsSchema, Tt as amagi, Un as bilibiliFetcher, Ur as BilibiliUserParamsSchema, Ut as KuaishouFetcherMethods, Vn as douyinApiUrls, Vr as BilibiliQrcodeParamsSchema, Vt as DouyinInternalMethods, Wn as createBoundBilibiliFetcher, Wr as BilibiliValidateCaptchaParamsSchema, Wt as KuaishouInternalMethods, Xn as validateXiaohongshuParams, Xr as emitApiSuccess, Xt as toFetcherMethod, Yn as validateKuaishouParams, Yr as emitApiError, Yt as XiaohongshuMethodToFetcher, Zn as XiaohongshuMethodRoutes, Zr as emitHttpRequest, Zt as DynamicType, _n as ValidationError, _r as DouyinMusicParamsSchema, ai as emitNetworkError, an as xiaohongshu, ar as KuaishouUserProfileParamsSchema, bn as wbi_sign, br as DouyinUserListParamsSchema, ci as createBoundBilibiliApi, cn as createBoundKuaishouApi, cr as KuaishouVideoParamsSchema, di as getDouyinData, dn as createDouyinRoutes, dr as DouyinDanmakuParamsSchema, ei as emitLogDebug, en as CommentType, er as xiaohongshuSign, fi as getKuaishouData, fn as createBoundDouyinApi, fr as DouyinEmojiListParamsSchema, gn as ApiError, gr as DouyinMethodRoutes, hn as createBilibiliRoutes, hr as DouyinLiveRoomParamsSchema, ii as emitLogWarn, in as createBoundXiaohongshuApi, ir as KuaishouMethodRoutes, jn as getHeadersAndData, jr as BilibiliBv2AvParamsSchema, jt as KuaishouApiRoutes, kn as fetchData, kr as BilibiliBangumiInfoParamsSchema, kt as DouyinApiRoutes, li as bilibiliApiUrls, ln as kuaishou, lr as DouyinCommentParamsSchema, mn as bilibiliUtils, mr as DouyinHotWordsParamsSchema, ni as emitLogInfo, nn as xiaohongshuUtils, nr as KuaishouEmojiParamsSchema, oi as emitNetworkRetry, on as kuaishouUtils, or as KuaishouUserWorkListParamsSchema, pn as douyin, pr as DouyinEmojiProParamsSchema, qn as validateBilibiliParams, qr as BilibiliVideoParamsSchema, qt as XiaohongshuFetcherMethods, ri as emitLogMark, rn as createXiaohongshuRoutes, rr as KuaishouLiveRoomInfoParamsSchema, si as bilibili, sn as createKuaishouRoutes, sr as KuaishouValidationSchemas, ti as emitLogError, tn as createAmagiClient, tr as KuaishouCommentParamsSchema, ui as getBilibiliData, un as douyinUtils, ur as DouyinCommentReplyParamsSchema, vn as handleError, vr as DouyinQrcodeParamsSchema, wn as qtparam, wr as BilibiliApplyCaptchaParamsSchema, wt as CreateApp, xn as parseDmSegMobileReply, xr as DouyinUserParamsSchema, yn as bilibiliErrorCodeMap, yr as DouyinSearchParamsSchema, zn as douyinFetcher, zr as BilibiliLoginParamsSchema, zt as BilibiliMethodToFetcher } from "./main.js";
|
|
2
2
|
export { AdditionalType, ApiError, BilibiliApiRoutes, BilibiliApplyCaptchaParamsSchema, BilibiliArticleCardParamsSchema, BilibiliArticleInfoParamsSchema, BilibiliArticleParamsSchema, BilibiliAv2BvParamsSchema, BilibiliBangumiInfoParamsSchema, BilibiliBangumiStreamParamsSchema, BilibiliBv2AvParamsSchema, BilibiliColumnInfoParamsSchema, BilibiliCommentParamsSchema, BilibiliCommentReplyParamsSchema, BilibiliDanmakuParamsSchema, BilibiliDynamicParamsSchema, BilibiliEmojiParamsSchema, BilibiliFetcherMethods, BilibiliInternalMethods, BilibiliLiveParamsSchema, BilibiliLoginParamsSchema, BilibiliMethodMapping, BilibiliMethodRoutes, BilibiliMethodToFetcher, BilibiliQrcodeParamsSchema, BilibiliQrcodeStatusParamsSchema, BilibiliUserParamsSchema, BilibiliValidateCaptchaParamsSchema, BilibiliValidationSchemas, BilibiliVideoDownloadParamsSchema, BilibiliVideoParamsSchema, CommentType, CreateApp, DouyinApiRoutes, DouyinCommentParamsSchema, DouyinCommentReplyParamsSchema, DouyinDanmakuParamsSchema, DouyinEmojiListParamsSchema, DouyinEmojiProParamsSchema, DouyinFetcherMethods, DouyinHotWordsParamsSchema, DouyinInternalMethods, DouyinLiveRoomParamsSchema, DouyinMethodMapping, DouyinMethodRoutes, DouyinMethodToFetcher, DouyinMusicParamsSchema, DouyinQrcodeParamsSchema, DouyinSearchParamsSchema, DouyinUserListParamsSchema, DouyinUserParamsSchema, DouyinValidationSchemas, DouyinWorkParamsSchema, DynamicType, KuaishouApiRoutes, KuaishouCommentParamsSchema, KuaishouEmojiParamsSchema, KuaishouFetcherMethods, KuaishouInternalMethods, KuaishouLiveRoomInfoParamsSchema, KuaishouMethodMapping, KuaishouMethodRoutes, KuaishouMethodToFetcher, KuaishouUserProfileParamsSchema, KuaishouUserWorkListParamsSchema, KuaishouValidationSchemas, KuaishouVideoParamsSchema, MajorType, MethodMaps, ValidationError, XiaohongshuApiRoutes, XiaohongshuFetcherMethods, XiaohongshuInternalMethods, XiaohongshuMethodMapping, XiaohongshuMethodRoutes, XiaohongshuMethodToFetcher, XiaohongshuValidationSchemas, amagi, amagiClient, amagiEvents, av2bv, bilibili, bilibiliApiUrls, bilibiliErrorCodeMap, bilibiliFetcher, bilibiliUtils, bv2av, createAmagiClient, createBilibiliRoutes, createBilibiliRoutes as registerBilibiliRoutes, createBoundBilibiliApi, createBoundBilibiliFetcher, createBoundDouyinApi, createBoundDouyinFetcher, createBoundKuaishouApi, createBoundKuaishouFetcher, createBoundXiaohongshuApi, createBoundXiaohongshuFetcher, createDouyinRoutes, createDouyinRoutes as registerDouyinRoutes, createErrorResponse, createKuaishouRoutes, createKuaishouRoutes as registerKuaishouRoutes, createSuccessResponse, createXiaohongshuRoutes, createXiaohongshuRoutes as registerXiaohongshuRoutes, douyin, douyinApiUrls, douyinFetcher, douyinSign, douyinUtils, emitApiError, emitApiSuccess, emitHttpRequest, emitHttpResponse, emitLog, emitLogDebug, emitLogError, emitLogInfo, emitLogMark, emitLogWarn, emitNetworkError, emitNetworkRetry, fetchData, fetchResponse, getApiRoute, getBilibiliData, getDouyinData, getEnglishMethodName, getHeadersAndData, getKuaishouData, handleError, httpLogger, initLogger, isNetworkErrorResult, kuaishou, kuaishouApiUrls, kuaishouFetcher, kuaishouSign, kuaishouUtils, logMiddleware, logger, parseDmSegMobileReply, qtparam, toFetcherMethod, validateBilibiliParams, validateDouyinParams, validateKuaishouParams, validateXiaohongshuParams, wbi_sign, xiaohongshu, xiaohongshuApiUrls, xiaohongshuFetcher, xiaohongshuSign, xiaohongshuUtils };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { St as reloadAmagiConfig } from "./main.js";
|
|
2
2
|
export { reloadAmagiConfig };
|
|
@@ -8,7 +8,7 @@ import { ReactNode } from "react";
|
|
|
8
8
|
*/
|
|
9
9
|
type RichTextNode = RichTextInlineNode | RichTextBlockNode;
|
|
10
10
|
/** 行内节点。 */
|
|
11
|
-
type RichTextInlineNode = RichTextTextNode | RichTextEmojiNode | RichTextMentionNode | RichTextSearchKeywordNode | RichTextLineBreakNode | RichTextTopicNode | RichTextAtNode | RichTextLotteryNode | RichTextWebLinkNode | RichTextVoteNode | RichTextViewPictureNode;
|
|
11
|
+
type RichTextInlineNode = RichTextTextNode | RichTextEmojiNode | RichTextMentionNode | RichTextSearchKeywordNode | RichTextLineBreakNode | RichTextTopicNode | RichTextAtNode | RichTextLotteryNode | RichTextWebLinkNode | RichTextVoteNode | RichTextViewPictureNode | RichTextHashtagNode;
|
|
12
12
|
/** 块级节点。 */
|
|
13
13
|
type RichTextBlockNode = RichTextHeadingNode | RichTextParagraphNode | RichTextImageNode | RichTextBlockquoteNode | RichTextListNode | RichTextListItemNode | RichTextCodeBlockNode | RichTextLinkCardNode | RichTextHorizontalRuleNode;
|
|
14
14
|
/**
|
|
@@ -119,6 +119,17 @@ interface RichTextViewPictureNode {
|
|
|
119
119
|
/** 显示文本 */
|
|
120
120
|
text: string;
|
|
121
121
|
}
|
|
122
|
+
/**
|
|
123
|
+
* Hashtag 话题节点。
|
|
124
|
+
*
|
|
125
|
+
* 纯文本高亮,不带任何图标。用于抖音等平台的 #话题# 标签展示。
|
|
126
|
+
* 与 topic 节点的区别:topic 带有 B站风格的 # 图标,hashtag 只做纯文字高亮。
|
|
127
|
+
*/
|
|
128
|
+
interface RichTextHashtagNode {
|
|
129
|
+
type: 'hashtag';
|
|
130
|
+
/** 话题文本(包含 # 号) */
|
|
131
|
+
text: string;
|
|
132
|
+
}
|
|
122
133
|
/** 标题节点。 */
|
|
123
134
|
interface RichTextHeadingNode {
|
|
124
135
|
type: 'heading';
|
|
@@ -238,6 +249,8 @@ interface RichTextRenderOptions {
|
|
|
238
249
|
codeBlock?: RichTextNodeStyleConfig;
|
|
239
250
|
/** 链接卡片节点 */
|
|
240
251
|
linkCard?: RichTextNodeStyleConfig;
|
|
252
|
+
/** hashtag 话题节点 */
|
|
253
|
+
hashtag?: RichTextNodeStyleConfig;
|
|
241
254
|
/** 图标缩放比例,默认 1。用于在不同字体大小下保持图标比例一致。 */
|
|
242
255
|
iconScale?: number;
|
|
243
256
|
}
|
|
@@ -288,6 +301,12 @@ declare const createLinkCardNode: (title: string, url: string, options?: {
|
|
|
288
301
|
cardType?: string;
|
|
289
302
|
meta?: Record<string, any>;
|
|
290
303
|
}) => RichTextLinkCardNode;
|
|
304
|
+
/**
|
|
305
|
+
* 创建 hashtag 节点。
|
|
306
|
+
*
|
|
307
|
+
* 纯文本高亮,不带任何图标。适用于抖音等平台的 #话题# 展示。
|
|
308
|
+
*/
|
|
309
|
+
declare const createHashtagNode: (text: string) => RichTextHashtagNode;
|
|
291
310
|
/**
|
|
292
311
|
* 合并相邻文本节点并丢弃空文本节点。
|
|
293
312
|
*
|
|
@@ -321,4 +340,4 @@ declare const createRichTextDocument: (nodes: RichTextNode[], options?: {
|
|
|
321
340
|
*/
|
|
322
341
|
declare const renderRichTextToReact: (document: RichTextDocument, options?: RichTextRenderOptions) => ReactNode;
|
|
323
342
|
//#endregion
|
|
324
|
-
export {
|
|
343
|
+
export { RichTextViewPictureNode as $, RichTextDocument as A, RichTextLinkCardNode as B, createWebLinkNode as C, RichTextBlockNode as D, RichTextAtNode as E, RichTextHorizontalRuleNode as F, RichTextNode as G, RichTextListNode as H, RichTextImageNode as I, RichTextRenderOptions as J, RichTextNodeStyleConfig as K, RichTextInlineNode as L, RichTextEmojiNode as M, RichTextHashtagNode as N, RichTextBlockquoteNode as O, RichTextHeadingNode as P, RichTextTopicNode as Q, RichTextInlineStyle as R, createVoteNode as S, normalizeRichTextNodes as T, RichTextLotteryNode as U, RichTextListItemNode as V, RichTextMentionNode as W, RichTextSearchKeywordStyleConfig as X, RichTextSearchKeywordNode as Y, RichTextTextNode as Z, createRichTextDocument as _, createEmojiNode as a, createTopicNode as b, createHorizontalRuleNode as c, createLinkCardNode as d, RichTextVoteNode as et, createListItemNode as f, createParagraphNode as g, createMentionNode as h, createCodeBlockNode as i, RichTextEmojiDefinition as j, RichTextCodeBlockNode as k, createImageNode as l, createLotteryNode as m, createAtNode as n, createHashtagNode as o, createListNode as p, RichTextParagraphNode as q, createBlockquoteNode as r, createHeadingNode as s, renderRichTextToReact as t, RichTextWebLinkNode as tt, createLineBreakNode as u, createSearchKeywordNode as v, extractRichTextPlainText as w, createViewPictureNode as x, createTextNode as y, RichTextLineBreakNode as z };
|