karin-plugin-kkk 2.41.0 → 2.42.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 +32 -0
- package/lib/build-metadata.json +5 -5
- package/lib/core_chunk/amagi.d.mts +96 -7
- package/lib/core_chunk/main.js +686 -149
- package/lib/core_chunk/template.d.mts +1 -1
- package/lib/core_chunk/vendor.js +1280 -741
- package/lib/web/assets/{CronEditor-DiywKvi5.js → CronEditor-xoZMMEWs.js} +1 -1
- package/lib/web/assets/{DesktopLayout-Dg2zhXab.js → DesktopLayout-D87sxpYp.js} +1 -1
- package/lib/web/assets/{MobileLayout-Bm9iTFi2.js → MobileLayout-HwaDlCUG.js} +1 -1
- package/lib/web/assets/{ThemeSwitch-C-Ak-yA2.js → ThemeSwitch-CJXARLzz.js} +1 -1
- package/lib/web/assets/{index-sIuuHdZD.js → index-84SfgXJi.js} +13 -13
- package/lib/web/assets/{index-DfwUwUnH.css → index-BjheeBw6.css} +1 -1
- package/lib/web/assets/{separator-eS-a7Ser.js → separator-B4jt1kVO.js} +1 -1
- package/lib/web/index.html +2 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,38 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
+
## [2.42.0](https://github.com/ikenxuan/karin-plugin-kkk/compare/v2.41.2...v2.42.0) (2026-08-02)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### ✨ 新功能
|
|
9
|
+
|
|
10
|
+
* **douyin:** 弹幕烧录支持显示点赞数量与表情 ([1d46900](https://github.com/ikenxuan/karin-plugin-kkk/commit/1d4690068478b201084259757024da4c612f91ef))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### 🐛 错误修复
|
|
14
|
+
|
|
15
|
+
* ci? ([d5dfb4f](https://github.com/ikenxuan/karin-plugin-kkk/commit/d5dfb4f0f663c19292d40af6d3948ba62815a32c))
|
|
16
|
+
* ci? ([2f713f0](https://github.com/ikenxuan/karin-plugin-kkk/commit/2f713f08f17b99f03d3337f87b1829781c18fd57))
|
|
17
|
+
|
|
18
|
+
## [2.41.2](https://github.com/ikenxuan/karin-plugin-kkk/compare/v2.41.1...v2.41.2) (2026-08-02)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### 🐛 错误修复
|
|
22
|
+
|
|
23
|
+
* ci ([b4611b2](https://github.com/ikenxuan/karin-plugin-kkk/commit/b4611b2d8d754271c23da96d51eb8f29592cb848))
|
|
24
|
+
|
|
25
|
+
## [2.41.1](https://github.com/ikenxuan/karin-plugin-kkk/compare/v2.41.0...v2.41.1) (2026-08-01)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### 🐛 错误修复
|
|
29
|
+
|
|
30
|
+
* **douyin:** 修复部分状态下会发送空合并转发消息的情况,兜底插入视频 fix [#343](https://github.com/ikenxuan/karin-plugin-kkk/issues/343) ([0e785c9](https://github.com/ikenxuan/karin-plugin-kkk/commit/0e785c9be1fc8caa84509ac2393d3b0e44263151))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### 🧰 其他更新
|
|
34
|
+
|
|
35
|
+
* use pnpm v11 ([8587b7f](https://github.com/ikenxuan/karin-plugin-kkk/commit/8587b7fe660f7f3f987c2038f86a8432cf51d8c8))
|
|
36
|
+
|
|
5
37
|
## [2.41.0](https://github.com/ikenxuan/karin-plugin-kkk/compare/v2.40.3...v2.41.0) (2026-07-30)
|
|
6
38
|
|
|
7
39
|
|
package/lib/build-metadata.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.
|
|
3
|
-
"buildTime": "2026-
|
|
4
|
-
"buildTimestamp":
|
|
2
|
+
"version": "2.42.0",
|
|
3
|
+
"buildTime": "2026-08-03T00:23:16.502Z",
|
|
4
|
+
"buildTimestamp": 1785716596502,
|
|
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": "f3d273bcaa5c34e490d16e281818459725d79e32",
|
|
9
|
+
"shortCommitHash": "f3d273bc"
|
|
10
10
|
}
|
|
@@ -2,7 +2,7 @@ import { EventEmitter as EventEmitter$1 } from "node:events";
|
|
|
2
2
|
import zod from "zod";
|
|
3
3
|
import { AxiosRequestConfig, AxiosResponse, RawAxiosResponseHeaders } from "axios";
|
|
4
4
|
import express from "express";
|
|
5
|
-
//#region ../../node_modules/.pnpm/chalk@
|
|
5
|
+
//#region ../../node_modules/.pnpm/chalk@6.0.0/node_modules/chalk/source/vendor/supports-color/index.d.ts
|
|
6
6
|
/**
|
|
7
7
|
Levels:
|
|
8
8
|
- `0` - All colors disabled.
|
|
@@ -12,7 +12,7 @@ Levels:
|
|
|
12
12
|
*/
|
|
13
13
|
type ColorSupportLevel = 0 | 1 | 2 | 3;
|
|
14
14
|
//#endregion
|
|
15
|
-
//#region ../../node_modules/.pnpm/chalk@
|
|
15
|
+
//#region ../../node_modules/.pnpm/chalk@6.0.0/node_modules/chalk/source/index.d.ts
|
|
16
16
|
interface ChalkInstance {
|
|
17
17
|
(...text: unknown[]): string;
|
|
18
18
|
/**
|
|
@@ -25,6 +25,8 @@ interface ChalkInstance {
|
|
|
25
25
|
- `1` - Basic 16 colors support.
|
|
26
26
|
- `2` - ANSI 256 colors support.
|
|
27
27
|
- `3` - Truecolor 16 million colors support.
|
|
28
|
+
|
|
29
|
+
@throws If the assigned value is not an integer from 0 to 3.
|
|
28
30
|
*/
|
|
29
31
|
level: ColorSupportLevel;
|
|
30
32
|
/**
|
|
@@ -54,6 +56,8 @@ interface ChalkInstance {
|
|
|
54
56
|
/**
|
|
55
57
|
Use an [8-bit unsigned number](https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit) to set text color.
|
|
56
58
|
|
|
59
|
+
The value is downsampled to the 16-color palette on terminals that only support basic colors (level 1), so `chalk.ansi256(196)` becomes 91 (ANSI escape for bright red).
|
|
60
|
+
|
|
57
61
|
@example
|
|
58
62
|
```
|
|
59
63
|
import chalk from 'chalk';
|
|
@@ -87,7 +91,9 @@ interface ChalkInstance {
|
|
|
87
91
|
*/
|
|
88
92
|
bgHex: (color: string) => this;
|
|
89
93
|
/**
|
|
90
|
-
Use
|
|
94
|
+
Use an [8-bit unsigned number](https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit) to set background color.
|
|
95
|
+
|
|
96
|
+
The value is downsampled to the 16-color palette on terminals that only support basic colors (level 1), so `chalk.bgAnsi256(196)` becomes 101 (ANSI escape for bright red background).
|
|
91
97
|
|
|
92
98
|
@example
|
|
93
99
|
```
|
|
@@ -97,6 +103,49 @@ interface ChalkInstance {
|
|
|
97
103
|
```
|
|
98
104
|
*/
|
|
99
105
|
bgAnsi256: (index: number) => this;
|
|
106
|
+
/**
|
|
107
|
+
Use RGB values to set underline color.
|
|
108
|
+
|
|
109
|
+
The underline color is only visible when an underline style is also applied.
|
|
110
|
+
|
|
111
|
+
@example
|
|
112
|
+
```
|
|
113
|
+
import chalk from 'chalk';
|
|
114
|
+
|
|
115
|
+
chalk.underlineRgb(222, 173, 237).underlineCurly('Hello, world!');
|
|
116
|
+
```
|
|
117
|
+
*/
|
|
118
|
+
underlineRgb: (red: number, green: number, blue: number) => this;
|
|
119
|
+
/**
|
|
120
|
+
Use HEX value to set underline color.
|
|
121
|
+
|
|
122
|
+
The underline color is only visible when an underline style is also applied.
|
|
123
|
+
|
|
124
|
+
@param color - Hexadecimal value representing the desired color.
|
|
125
|
+
|
|
126
|
+
@example
|
|
127
|
+
```
|
|
128
|
+
import chalk from 'chalk';
|
|
129
|
+
|
|
130
|
+
chalk.underlineHex('#DEADED').underlineCurly('Hello, world!');
|
|
131
|
+
```
|
|
132
|
+
*/
|
|
133
|
+
underlineHex: (color: string) => this;
|
|
134
|
+
/**
|
|
135
|
+
Use an [8-bit unsigned number](https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit) to set underline color.
|
|
136
|
+
|
|
137
|
+
The underline color is only visible when an underline style is also applied.
|
|
138
|
+
|
|
139
|
+
The value is downsampled to the first 16 palette entries on terminals that only support basic colors (level 1), so `chalk.underlineAnsi256(196)` becomes 9 (the palette index for bright red).
|
|
140
|
+
|
|
141
|
+
@example
|
|
142
|
+
```
|
|
143
|
+
import chalk from 'chalk';
|
|
144
|
+
|
|
145
|
+
chalk.underlineAnsi256(201).underlineCurly('Hello, world!');
|
|
146
|
+
```
|
|
147
|
+
*/
|
|
148
|
+
underlineAnsi256: (index: number) => this;
|
|
100
149
|
/**
|
|
101
150
|
Modifier: Reset the current style.
|
|
102
151
|
*/
|
|
@@ -117,6 +166,22 @@ interface ChalkInstance {
|
|
|
117
166
|
Modifier: Put a horizontal line below the text. *(Not widely supported)*
|
|
118
167
|
*/
|
|
119
168
|
readonly underline: this;
|
|
169
|
+
/**
|
|
170
|
+
Modifier: Put a double horizontal line below the text. *(Not widely supported)*
|
|
171
|
+
*/
|
|
172
|
+
readonly underlineDouble: this;
|
|
173
|
+
/**
|
|
174
|
+
Modifier: Put a curly horizontal line below the text. *(Not widely supported)*
|
|
175
|
+
*/
|
|
176
|
+
readonly underlineCurly: this;
|
|
177
|
+
/**
|
|
178
|
+
Modifier: Put a dotted horizontal line below the text. *(Not widely supported)*
|
|
179
|
+
*/
|
|
180
|
+
readonly underlineDotted: this;
|
|
181
|
+
/**
|
|
182
|
+
Modifier: Put a dashed horizontal line below the text. *(Not widely supported)*
|
|
183
|
+
*/
|
|
184
|
+
readonly underlineDashed: this;
|
|
120
185
|
/**
|
|
121
186
|
Modifier: Put a horizontal line above the text. *(Not widely supported)*
|
|
122
187
|
*/
|
|
@@ -147,11 +212,11 @@ interface ChalkInstance {
|
|
|
147
212
|
readonly magenta: this;
|
|
148
213
|
readonly cyan: this;
|
|
149
214
|
readonly white: this;
|
|
150
|
-
|
|
215
|
+
/**
|
|
151
216
|
Alias for `blackBright`.
|
|
152
217
|
*/
|
|
153
218
|
readonly gray: this;
|
|
154
|
-
|
|
219
|
+
/**
|
|
155
220
|
Alias for `blackBright`.
|
|
156
221
|
*/
|
|
157
222
|
readonly grey: this;
|
|
@@ -171,11 +236,11 @@ interface ChalkInstance {
|
|
|
171
236
|
readonly bgMagenta: this;
|
|
172
237
|
readonly bgCyan: this;
|
|
173
238
|
readonly bgWhite: this;
|
|
174
|
-
|
|
239
|
+
/**
|
|
175
240
|
Alias for `bgBlackBright`.
|
|
176
241
|
*/
|
|
177
242
|
readonly bgGray: this;
|
|
178
|
-
|
|
243
|
+
/**
|
|
179
244
|
Alias for `bgBlackBright`.
|
|
180
245
|
*/
|
|
181
246
|
readonly bgGrey: this;
|
|
@@ -187,6 +252,30 @@ interface ChalkInstance {
|
|
|
187
252
|
readonly bgMagentaBright: this;
|
|
188
253
|
readonly bgCyanBright: this;
|
|
189
254
|
readonly bgWhiteBright: this;
|
|
255
|
+
readonly underlineBlack: this;
|
|
256
|
+
readonly underlineRed: this;
|
|
257
|
+
readonly underlineGreen: this;
|
|
258
|
+
readonly underlineYellow: this;
|
|
259
|
+
readonly underlineBlue: this;
|
|
260
|
+
readonly underlineMagenta: this;
|
|
261
|
+
readonly underlineCyan: this;
|
|
262
|
+
readonly underlineWhite: this;
|
|
263
|
+
/**
|
|
264
|
+
Alias for `underlineBlackBright`.
|
|
265
|
+
*/
|
|
266
|
+
readonly underlineGray: this;
|
|
267
|
+
/**
|
|
268
|
+
Alias for `underlineBlackBright`.
|
|
269
|
+
*/
|
|
270
|
+
readonly underlineGrey: this;
|
|
271
|
+
readonly underlineBlackBright: this;
|
|
272
|
+
readonly underlineRedBright: this;
|
|
273
|
+
readonly underlineGreenBright: this;
|
|
274
|
+
readonly underlineYellowBright: this;
|
|
275
|
+
readonly underlineBlueBright: this;
|
|
276
|
+
readonly underlineMagentaBright: this;
|
|
277
|
+
readonly underlineCyanBright: this;
|
|
278
|
+
readonly underlineWhiteBright: this;
|
|
190
279
|
}
|
|
191
280
|
//#endregion
|
|
192
281
|
//#region ../amagi/packages/core/dist/default/index.d.ts
|