@dsh-plugin/dsh-synapse 0.1.0-dev.41044228975 → 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.
Files changed (74) hide show
  1. package/LICENSE +661 -661
  2. package/README.md +0 -14
  3. package/package.json +1 -1
  4. package/vendor/gugle-chat-bot/LICENSE +661 -661
  5. package/vendor/gugle-chat-bot/package.json +57 -57
  6. package/vendor/gugle-chat-bot/src/allow-rule.yml +9345 -9345
  7. package/vendor/gugle-chat-bot/src/api.json +4284 -4284
  8. package/vendor/gugle-chat-bot/src/command/index.ts +141 -141
  9. package/vendor/gugle-chat-bot/src/config/features.ts +547 -547
  10. package/vendor/gugle-chat-bot/src/config/index.ts +184 -184
  11. package/vendor/gugle-chat-bot/src/config/manager.ts +356 -356
  12. package/vendor/gugle-chat-bot/src/constants/index.ts +13 -13
  13. package/vendor/gugle-chat-bot/src/custom.ts +548 -548
  14. package/vendor/gugle-chat-bot/src/event/index.ts +118 -118
  15. package/vendor/gugle-chat-bot/src/features/admin/index.ts +414 -414
  16. package/vendor/gugle-chat-bot/src/features/bili/image/impl/video.ts +39 -39
  17. package/vendor/gugle-chat-bot/src/features/bili/image/index.ts +37 -37
  18. package/vendor/gugle-chat-bot/src/features/bili/index.ts +65 -65
  19. package/vendor/gugle-chat-bot/src/features/bili/template/style/video.css +97 -97
  20. package/vendor/gugle-chat-bot/src/features/bili/template/video.html +56 -56
  21. package/vendor/gugle-chat-bot/src/features/discord-bridge/index.ts +1128 -1128
  22. package/vendor/gugle-chat-bot/src/features/discord-bridge/markdown.ts +105 -105
  23. package/vendor/gugle-chat-bot/src/features/discord-bridge/slash.ts +355 -355
  24. package/vendor/gugle-chat-bot/src/features/discord-bridge/source.ts +96 -96
  25. package/vendor/gugle-chat-bot/src/features/discord-bridge/template/message.html +14 -14
  26. package/vendor/gugle-chat-bot/src/features/discord-bridge/template/style/message.css +144 -144
  27. package/vendor/gugle-chat-bot/src/features/github/api.ts +93 -93
  28. package/vendor/gugle-chat-bot/src/features/github/binding.ts +161 -161
  29. package/vendor/gugle-chat-bot/src/features/github/image/impl/issue.ts +132 -132
  30. package/vendor/gugle-chat-bot/src/features/github/image/impl/pr.ts +144 -144
  31. package/vendor/gugle-chat-bot/src/features/github/image/impl/release.ts +160 -160
  32. package/vendor/gugle-chat-bot/src/features/github/image/index.ts +310 -310
  33. package/vendor/gugle-chat-bot/src/features/github/index.ts +302 -302
  34. package/vendor/gugle-chat-bot/src/features/github/template/issue.html +118 -118
  35. package/vendor/gugle-chat-bot/src/features/github/template/pull_request.html +125 -125
  36. package/vendor/gugle-chat-bot/src/features/github/template/release.html +53 -53
  37. package/vendor/gugle-chat-bot/src/features/github/template/style/issue.css +468 -468
  38. package/vendor/gugle-chat-bot/src/features/github/template/style/pull_request.css +468 -468
  39. package/vendor/gugle-chat-bot/src/features/github/template/style/release.css +412 -412
  40. package/vendor/gugle-chat-bot/src/features/hermes/client.ts +184 -184
  41. package/vendor/gugle-chat-bot/src/features/hermes/config.ts +210 -210
  42. package/vendor/gugle-chat-bot/src/features/hermes/context.ts +67 -67
  43. package/vendor/gugle-chat-bot/src/features/hermes/history.ts +86 -86
  44. package/vendor/gugle-chat-bot/src/features/hermes/index.ts +1533 -1533
  45. package/vendor/gugle-chat-bot/src/features/hermes/message.ts +319 -319
  46. package/vendor/gugle-chat-bot/src/features/hermes/reaction.ts +181 -181
  47. package/vendor/gugle-chat-bot/src/features/hermes/render.ts +118 -118
  48. package/vendor/gugle-chat-bot/src/features/hermes/reply-units.ts +331 -331
  49. package/vendor/gugle-chat-bot/src/features/hermes/skills.ts +406 -406
  50. package/vendor/gugle-chat-bot/src/features/hermes/template/approval.html +30 -30
  51. package/vendor/gugle-chat-bot/src/features/hermes/template/progress.html +21 -21
  52. package/vendor/gugle-chat-bot/src/features/hermes/template/style/approval.css +81 -81
  53. package/vendor/gugle-chat-bot/src/features/hermes/template/style/progress.css +120 -120
  54. package/vendor/gugle-chat-bot/src/features/hermes/trigger.ts +86 -86
  55. package/vendor/gugle-chat-bot/src/features/hermes/types.ts +327 -327
  56. package/vendor/gugle-chat-bot/src/features/management/index.ts +156 -156
  57. package/vendor/gugle-chat-bot/src/features/minecraft/index.ts +127 -127
  58. package/vendor/gugle-chat-bot/src/features/modrinth/index.ts +71 -71
  59. package/vendor/gugle-chat-bot/src/features/parentheses/index.ts +117 -117
  60. package/vendor/gugle-chat-bot/src/features/peak-valley-timer/index.ts +451 -451
  61. package/vendor/gugle-chat-bot/src/features/poke/index.ts +24 -24
  62. package/vendor/gugle-chat-bot/src/features/version-tracker/index.ts +77 -77
  63. package/vendor/gugle-chat-bot/src/features/welcome/index.ts +57 -57
  64. package/vendor/gugle-chat-bot/src/github-ip.json +5814 -5814
  65. package/vendor/gugle-chat-bot/src/image/index.ts +278 -278
  66. package/vendor/gugle-chat-bot/src/index.ts +695 -695
  67. package/vendor/gugle-chat-bot/src/logger/index.ts +54 -54
  68. package/vendor/gugle-chat-bot/src/result.json +359 -359
  69. package/vendor/gugle-chat-bot/src/type/bili.d.ts +825 -825
  70. package/vendor/gugle-chat-bot/src/type/event.d.ts +146 -146
  71. package/vendor/gugle-chat-bot/src/type/github.d.ts +446 -446
  72. package/vendor/gugle-chat-bot/src/type/index.d.ts +254 -254
  73. package/vendor/gugle-chat-bot/tsconfig.json +46 -46
  74. package/scripts/dump-npm-latest.mjs +0 -30
@@ -1,468 +1,468 @@
1
- * {
2
- font-family: "Sarasa Fixed SC", sans-serif;
3
- margin: 0;
4
- box-sizing: border-box;
5
- --fontStack-monospace: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
6
- --fontStack-sansSerif: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"
7
- }
8
-
9
- body {
10
- margin: 10px;
11
- font-family: var(--fontStack-sansSerif), serif;
12
- font-size: .875rem;
13
- font-weight: 400;
14
- color: #1f2328;
15
- background-color: #fff;
16
- line-height: 1.5;
17
- padding-top: 0;
18
- padding-bottom: 0;
19
- }
20
-
21
- .message {
22
- display: inline-block;
23
- }
24
-
25
- .user {
26
- display: inline-block;
27
- font-weight: bold;
28
- }
29
-
30
- .repository_header {
31
- display: flex;
32
- align-items: center;
33
- gap: .5rem;
34
- min-height: 52px;
35
- padding: .65rem 1.2rem;
36
- color: #f0f6fc;
37
- background: #161b22;
38
- font-size: 1rem;
39
- line-height: 1.25;
40
- overflow: hidden;
41
- }
42
-
43
- .repository_mark {
44
- width: 30px;
45
- height: 30px;
46
- margin-right: .2rem;
47
- flex: 0 0 auto;
48
- fill: #f0f6fc;
49
- }
50
-
51
- .repository_owner,
52
- .repository_name {
53
- overflow: hidden;
54
- text-overflow: ellipsis;
55
- white-space: nowrap;
56
- }
57
-
58
- .repository_owner {
59
- color: #c9d1d9;
60
- }
61
-
62
- .repository_separator {
63
- color: #8b949e;
64
- }
65
-
66
- .repository_name {
67
- color: #f0f6fc;
68
- }
69
-
70
- .repository_chevron {
71
- display: inline-flex;
72
- align-items: center;
73
- justify-content: center;
74
- width: 16px;
75
- height: 16px;
76
- margin-left: .05rem;
77
- color: #9198a1;
78
- flex: 0 0 auto;
79
-
80
- svg {
81
- width: 16px;
82
- height: 16px;
83
- fill: currentColor;
84
- }
85
- }
86
-
87
- .container {
88
- display: block;
89
- position: relative;
90
- line-height: 1.5;
91
- max-width: 800px;
92
- border: .0625rem solid #d1d9d0b3;
93
- }
94
-
95
- .issue_title_container {
96
- display: flex;
97
- flex-direction: row;
98
- justify-content: space-between;
99
- padding: 0 1.25rem;
100
- font-size: 1.25rem;
101
- font-weight: 600;
102
- line-height: 1.625;
103
- }
104
-
105
- .issue_title {
106
- margin: 0;
107
- font-size: 2rem;
108
- font-weight: 400;
109
- }
110
-
111
- .issue_number {
112
- white-space: nowrap;
113
- color: #59636e;
114
- font-weight: 300;
115
- display: inline;
116
- }
117
-
118
- .state_label_wrapper {
119
- height: 56px;
120
- padding: 0 1.5rem;
121
- width: 100%;
122
- max-width: 1280px;
123
- display: block;
124
- word-wrap: break-word;
125
- }
126
-
127
- .state_label_container {
128
- border-bottom: .0625rem solid;
129
- border-color: #d1d9d0b3;
130
- flex-direction: row;
131
- width: 100%;
132
- height: 100%;
133
- min-height: 56px;
134
- display: flex;
135
- word-wrap: break-word;
136
- }
137
-
138
- .state_labels_aligner {
139
- align-items: center;
140
- gap: .5rem;
141
- padding-top: .75rem;
142
- padding-bottom: .75rem;
143
- flex-flow: wrap;
144
- flex-grow: 1;
145
- display: flex;
146
- overflow: hidden;
147
- }
148
-
149
- .state_label {
150
- box-shadow-position: inset;
151
- box-shadow-spread: .625rem;
152
- color: #fff;
153
- padding: .5rem .75rem;
154
- border-radius: 624.938rem;
155
- font-weight: 600;
156
- text-align: center;
157
- align-items: center;
158
- line-height: 16px;
159
- display: inline-flex;
160
- word-wrap: break-word;
161
- white-space: nowrap;
162
- }
163
-
164
- .label {
165
- margin-right: .25rem;
166
- }
167
-
168
- .sidebar-label {
169
- display: inline-flex;
170
- margin-bottom: 10px;
171
- font-weight: bold;
172
- text-align: center;
173
- border-radius: 9999px;
174
- padding: 0 8px;
175
- height: 20px;
176
- font-size: 12px;
177
- text-wrap-mode: nowrap;
178
- -webkit-box-align: center;
179
- align-items: center;
180
- line-height: 20px;
181
- text-underline-offset: 1px;
182
- }
183
-
184
- .header_body_splitter {
185
- margin-left: auto;
186
- margin-right: auto;
187
- margin-bottom: 1.5rem;
188
- }
189
-
190
- .body {
191
- display: flex;
192
- flex-direction: row;
193
- gap: 8px;
194
- padding: 0 1.5rem 1.25rem;
195
- }
196
-
197
- .content {
198
- display: flex;
199
- flex-direction: row;
200
- gap: 8px;
201
- width: 100%;
202
- }
203
-
204
- .content_container {
205
- border-width: 1px;
206
- border-style: solid;
207
- border-image: initial;
208
- border-color: #d1d9e0;
209
- border-radius: 6px;
210
- -webkit-box-flex: 1;
211
- flex-grow: 1;
212
- min-width: 0;
213
- }
214
-
215
- .content_header {
216
- background-color: #f6f8fa;
217
- border-bottom: .0625rem solid #d1d9e0b3;
218
- border-top-left-radius: .375rem;
219
- border-top-right-radius: .375rem;
220
- color: #59636e;
221
- font-size: .875rem;
222
- padding: .5rem .5rem .5rem 1rem;
223
- flex-flow: wrap;
224
- flex: 1;
225
- gap: .25rem;
226
- justify-items: flex-start;
227
- align-items: center;
228
- display: flex;
229
- overflow: hidden;
230
- width: 100%;
231
- }
232
-
233
- .content_author {
234
- color: #1f2328;
235
- font-weight: 500;
236
- overflow-wrap: anywhere;
237
- }
238
-
239
- .content_body {
240
- padding: 1rem;
241
-
242
- img {
243
- max-width: 100%;
244
- height: auto;
245
- }
246
- }
247
-
248
- /* 列表行内的 issue/PR 引用:状态图标 + 标题 + 链接色编号(GitHub 风格) */
249
- .issue-ref {
250
- display: inline;
251
- }
252
-
253
- .issue-ref-icon {
254
- display: inline-flex;
255
- align-items: center;
256
- vertical-align: -2px;
257
- margin-right: 3px;
258
- }
259
-
260
- .issue-ref-title {
261
- color: #0969da;
262
- font-weight: 500;
263
- text-decoration: none;
264
- }
265
-
266
- .issue-ref-number {
267
- color: #0969da;
268
- text-decoration: none;
269
- margin-left: 3px;
270
- white-space: nowrap;
271
- }
272
-
273
- p {
274
- margin: 0 0 1rem;
275
- }
276
-
277
- code {
278
- tab-size: 4;
279
- font-family: var(--fontStack-monospace), serif;
280
- white-space: break-spaces;
281
- background-color: #818b981f;
282
- border-radius: 6px;
283
- margin: 0;
284
- padding: .2em .4em;
285
- font-size: 85%;
286
- }
287
-
288
- blockquote {
289
- color: #59636e;
290
- border-left: .25em solid #d1d9e0;
291
- padding: 0 1em;
292
- margin: 0;
293
- }
294
-
295
- div {
296
- min-height: 0;
297
- }
298
-
299
- .alert {
300
- padding: .5rem 1rem;
301
- margin-bottom: 1rem;
302
- color: inherit;
303
- border-left: .25em solid #d1d9e0;
304
- }
305
-
306
- .alert-note {
307
- border-left-color: #0969da;
308
-
309
- .alert-title {
310
- color: #0969da;
311
- }
312
- }
313
-
314
- .alert-title {
315
- font-weight: 500;
316
- align-items: center;
317
- line-height: 1;
318
- display: flex;
319
-
320
- svg {
321
- fill: currentColor;
322
- margin-right: .5rem;
323
- }
324
-
325
- margin-bottom: 1rem;
326
- }
327
-
328
- .metadata {
329
- width: 256px;
330
- flex-shrink: 0;
331
- height: 100%;
332
- padding-bottom: 1rem;
333
- flex-direction: column;
334
- position: relative;
335
- justify-content: flex-end;
336
- }
337
-
338
- .metadata_contents {
339
- gap: .5rem;
340
- flex-direction: column;
341
- display: flex;
342
- }
343
-
344
- .metadata_content_container {
345
- margin-bottom: 8px;
346
- flex-direction: column;
347
- align-items: flex-start;
348
- width: 100%;
349
- display: flex;
350
- position: relative;
351
- }
352
-
353
- .metadata_content {
354
- width: 100%;
355
- }
356
-
357
- .metadata_content_title_container {
358
- width: 100%;
359
- height: 1.75rem;
360
- position: relative;
361
- display: flex;
362
- -webkit-box-align: center;
363
- align-items: center;
364
- }
365
-
366
- .metadata_content_title {
367
- position: absolute;
368
- left: .5rem;
369
- font-size: .75rem;
370
- color: #59636e;
371
- pointer-events: none;
372
- margin-top: 0;
373
- margin-bottom: 0;
374
- margin-block-start: 1em;
375
- margin-block-end: 1em;
376
- margin-inline-start: 0;
377
- margin-inline-end: 0;
378
- font-family: var(--fontStack-sansSerif), serif;
379
- }
380
-
381
- .empty_text {
382
- font-size: .75rem;
383
- padding-left: .5rem;
384
- padding-right: .5rem;
385
- margin-bottom: .5rem;
386
- margin-top: .25rem;
387
- color: #59636e;
388
- display: block;
389
- }
390
-
391
- .metadata_content_container::after {
392
- content: "";
393
- position: absolute;
394
- height: 1px;
395
- bottom: -8px;
396
- left: 8px;
397
- right: 8px;
398
- background-color: hsla(210, 18%, 87%, 1);
399
- }
400
-
401
- .metadata_labels_labels {
402
- gap: .25rem;
403
- height: 100%;
404
- padding: .5rem;
405
- font-size: .75rem;
406
- flex-wrap: wrap;
407
- flex-shrink: 1;
408
- justify-content: flex-start;
409
- display: flex;
410
- overflow: hidden;
411
- }
412
-
413
- .metadata_labels_label {
414
- overflow: hidden;
415
- text-overflow: ellipsis;
416
- cursor: pointer;
417
- max-width: 100%;
418
- -webkit-box-align: center;
419
- align-items: center;
420
- border-radius: 999px;
421
- display: inline-flex;
422
- font-weight: 600;
423
- font-family: inherit;
424
- text-decoration: none;
425
- white-space: nowrap;
426
- font-size: 12px;
427
- height: 20px;
428
- line-height: 20px;
429
- padding: 0 8px;
430
- --label-r: 113;
431
- --label-g: 204;
432
- --label-b: 107;
433
- --label-h: 116;
434
- --label-s: 49;
435
- --label-l: 61;
436
- --perceived-lightness: calc(((var(--label-r) * 0.2126) + (var(--label-g) * 0.7152) + (var(--label-b) * 0.0722)) / 255);
437
- --lightness-switch: max(0, min(calc((1 / (var(--lightness-threshold) - var(--perceived-lightness)))), 1));
438
- --border-color: #d1d9e0b3;
439
- position: relative;
440
- min-width: 0;
441
- --lightness-threshold: 0.453;
442
- --border-threshold: 0.96;
443
- --background-alpha: 0.20;
444
- --border-alpha: max(0, min(calc((var(--perceived-lightness) - var(--border-threshold)) * 100), 1));
445
- background: rgb(var(--label-r), var(--label-g), var(--label-b));
446
- color: hsl(0deg, 0%, calc(var(--lightness-switch) * 100%));
447
- border-width: 1px;
448
- border-style: solid;
449
- border-color: hsla(var(--label-h), calc(var(--label-s) * 1%), calc((var(--label-l) - 25) * 1%), var(--border-alpha));
450
- }
451
-
452
- .metadata_labels_label_content {
453
- -webkit-box-flex: 1;
454
- flex-grow: 1;
455
- min-width: 0;
456
- overflow: hidden;
457
- text-overflow: ellipsis;
458
- white-space: nowrap;
459
- background: transparent;
460
- border: 0;
461
- font: inherit;
462
- margin: 0;
463
- padding: 0;
464
- width: auto;
465
- -webkit-font-smoothing: inherit;
466
- color: currentcolor;
467
- text-decoration: none;
468
- }
1
+ * {
2
+ font-family: "Sarasa Fixed SC", sans-serif;
3
+ margin: 0;
4
+ box-sizing: border-box;
5
+ --fontStack-monospace: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
6
+ --fontStack-sansSerif: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"
7
+ }
8
+
9
+ body {
10
+ margin: 10px;
11
+ font-family: var(--fontStack-sansSerif), serif;
12
+ font-size: .875rem;
13
+ font-weight: 400;
14
+ color: #1f2328;
15
+ background-color: #fff;
16
+ line-height: 1.5;
17
+ padding-top: 0;
18
+ padding-bottom: 0;
19
+ }
20
+
21
+ .message {
22
+ display: inline-block;
23
+ }
24
+
25
+ .user {
26
+ display: inline-block;
27
+ font-weight: bold;
28
+ }
29
+
30
+ .repository_header {
31
+ display: flex;
32
+ align-items: center;
33
+ gap: .5rem;
34
+ min-height: 52px;
35
+ padding: .65rem 1.2rem;
36
+ color: #f0f6fc;
37
+ background: #161b22;
38
+ font-size: 1rem;
39
+ line-height: 1.25;
40
+ overflow: hidden;
41
+ }
42
+
43
+ .repository_mark {
44
+ width: 30px;
45
+ height: 30px;
46
+ margin-right: .2rem;
47
+ flex: 0 0 auto;
48
+ fill: #f0f6fc;
49
+ }
50
+
51
+ .repository_owner,
52
+ .repository_name {
53
+ overflow: hidden;
54
+ text-overflow: ellipsis;
55
+ white-space: nowrap;
56
+ }
57
+
58
+ .repository_owner {
59
+ color: #c9d1d9;
60
+ }
61
+
62
+ .repository_separator {
63
+ color: #8b949e;
64
+ }
65
+
66
+ .repository_name {
67
+ color: #f0f6fc;
68
+ }
69
+
70
+ .repository_chevron {
71
+ display: inline-flex;
72
+ align-items: center;
73
+ justify-content: center;
74
+ width: 16px;
75
+ height: 16px;
76
+ margin-left: .05rem;
77
+ color: #9198a1;
78
+ flex: 0 0 auto;
79
+
80
+ svg {
81
+ width: 16px;
82
+ height: 16px;
83
+ fill: currentColor;
84
+ }
85
+ }
86
+
87
+ .container {
88
+ display: block;
89
+ position: relative;
90
+ line-height: 1.5;
91
+ max-width: 800px;
92
+ border: .0625rem solid #d1d9d0b3;
93
+ }
94
+
95
+ .issue_title_container {
96
+ display: flex;
97
+ flex-direction: row;
98
+ justify-content: space-between;
99
+ padding: 0 1.25rem;
100
+ font-size: 1.25rem;
101
+ font-weight: 600;
102
+ line-height: 1.625;
103
+ }
104
+
105
+ .issue_title {
106
+ margin: 0;
107
+ font-size: 2rem;
108
+ font-weight: 400;
109
+ }
110
+
111
+ .issue_number {
112
+ white-space: nowrap;
113
+ color: #59636e;
114
+ font-weight: 300;
115
+ display: inline;
116
+ }
117
+
118
+ .state_label_wrapper {
119
+ height: 56px;
120
+ padding: 0 1.5rem;
121
+ width: 100%;
122
+ max-width: 1280px;
123
+ display: block;
124
+ word-wrap: break-word;
125
+ }
126
+
127
+ .state_label_container {
128
+ border-bottom: .0625rem solid;
129
+ border-color: #d1d9d0b3;
130
+ flex-direction: row;
131
+ width: 100%;
132
+ height: 100%;
133
+ min-height: 56px;
134
+ display: flex;
135
+ word-wrap: break-word;
136
+ }
137
+
138
+ .state_labels_aligner {
139
+ align-items: center;
140
+ gap: .5rem;
141
+ padding-top: .75rem;
142
+ padding-bottom: .75rem;
143
+ flex-flow: wrap;
144
+ flex-grow: 1;
145
+ display: flex;
146
+ overflow: hidden;
147
+ }
148
+
149
+ .state_label {
150
+ box-shadow-position: inset;
151
+ box-shadow-spread: .625rem;
152
+ color: #fff;
153
+ padding: .5rem .75rem;
154
+ border-radius: 624.938rem;
155
+ font-weight: 600;
156
+ text-align: center;
157
+ align-items: center;
158
+ line-height: 16px;
159
+ display: inline-flex;
160
+ word-wrap: break-word;
161
+ white-space: nowrap;
162
+ }
163
+
164
+ .label {
165
+ margin-right: .25rem;
166
+ }
167
+
168
+ .sidebar-label {
169
+ display: inline-flex;
170
+ margin-bottom: 10px;
171
+ font-weight: bold;
172
+ text-align: center;
173
+ border-radius: 9999px;
174
+ padding: 0 8px;
175
+ height: 20px;
176
+ font-size: 12px;
177
+ text-wrap-mode: nowrap;
178
+ -webkit-box-align: center;
179
+ align-items: center;
180
+ line-height: 20px;
181
+ text-underline-offset: 1px;
182
+ }
183
+
184
+ .header_body_splitter {
185
+ margin-left: auto;
186
+ margin-right: auto;
187
+ margin-bottom: 1.5rem;
188
+ }
189
+
190
+ .body {
191
+ display: flex;
192
+ flex-direction: row;
193
+ gap: 8px;
194
+ padding: 0 1.5rem 1.25rem;
195
+ }
196
+
197
+ .content {
198
+ display: flex;
199
+ flex-direction: row;
200
+ gap: 8px;
201
+ width: 100%;
202
+ }
203
+
204
+ .content_container {
205
+ border-width: 1px;
206
+ border-style: solid;
207
+ border-image: initial;
208
+ border-color: #d1d9e0;
209
+ border-radius: 6px;
210
+ -webkit-box-flex: 1;
211
+ flex-grow: 1;
212
+ min-width: 0;
213
+ }
214
+
215
+ .content_header {
216
+ background-color: #f6f8fa;
217
+ border-bottom: .0625rem solid #d1d9e0b3;
218
+ border-top-left-radius: .375rem;
219
+ border-top-right-radius: .375rem;
220
+ color: #59636e;
221
+ font-size: .875rem;
222
+ padding: .5rem .5rem .5rem 1rem;
223
+ flex-flow: wrap;
224
+ flex: 1;
225
+ gap: .25rem;
226
+ justify-items: flex-start;
227
+ align-items: center;
228
+ display: flex;
229
+ overflow: hidden;
230
+ width: 100%;
231
+ }
232
+
233
+ .content_author {
234
+ color: #1f2328;
235
+ font-weight: 500;
236
+ overflow-wrap: anywhere;
237
+ }
238
+
239
+ .content_body {
240
+ padding: 1rem;
241
+
242
+ img {
243
+ max-width: 100%;
244
+ height: auto;
245
+ }
246
+ }
247
+
248
+ /* 列表行内的 issue/PR 引用:状态图标 + 标题 + 链接色编号(GitHub 风格) */
249
+ .issue-ref {
250
+ display: inline;
251
+ }
252
+
253
+ .issue-ref-icon {
254
+ display: inline-flex;
255
+ align-items: center;
256
+ vertical-align: -2px;
257
+ margin-right: 3px;
258
+ }
259
+
260
+ .issue-ref-title {
261
+ color: #0969da;
262
+ font-weight: 500;
263
+ text-decoration: none;
264
+ }
265
+
266
+ .issue-ref-number {
267
+ color: #0969da;
268
+ text-decoration: none;
269
+ margin-left: 3px;
270
+ white-space: nowrap;
271
+ }
272
+
273
+ p {
274
+ margin: 0 0 1rem;
275
+ }
276
+
277
+ code {
278
+ tab-size: 4;
279
+ font-family: var(--fontStack-monospace), serif;
280
+ white-space: break-spaces;
281
+ background-color: #818b981f;
282
+ border-radius: 6px;
283
+ margin: 0;
284
+ padding: .2em .4em;
285
+ font-size: 85%;
286
+ }
287
+
288
+ blockquote {
289
+ color: #59636e;
290
+ border-left: .25em solid #d1d9e0;
291
+ padding: 0 1em;
292
+ margin: 0;
293
+ }
294
+
295
+ div {
296
+ min-height: 0;
297
+ }
298
+
299
+ .alert {
300
+ padding: .5rem 1rem;
301
+ margin-bottom: 1rem;
302
+ color: inherit;
303
+ border-left: .25em solid #d1d9e0;
304
+ }
305
+
306
+ .alert-note {
307
+ border-left-color: #0969da;
308
+
309
+ .alert-title {
310
+ color: #0969da;
311
+ }
312
+ }
313
+
314
+ .alert-title {
315
+ font-weight: 500;
316
+ align-items: center;
317
+ line-height: 1;
318
+ display: flex;
319
+
320
+ svg {
321
+ fill: currentColor;
322
+ margin-right: .5rem;
323
+ }
324
+
325
+ margin-bottom: 1rem;
326
+ }
327
+
328
+ .metadata {
329
+ width: 256px;
330
+ flex-shrink: 0;
331
+ height: 100%;
332
+ padding-bottom: 1rem;
333
+ flex-direction: column;
334
+ position: relative;
335
+ justify-content: flex-end;
336
+ }
337
+
338
+ .metadata_contents {
339
+ gap: .5rem;
340
+ flex-direction: column;
341
+ display: flex;
342
+ }
343
+
344
+ .metadata_content_container {
345
+ margin-bottom: 8px;
346
+ flex-direction: column;
347
+ align-items: flex-start;
348
+ width: 100%;
349
+ display: flex;
350
+ position: relative;
351
+ }
352
+
353
+ .metadata_content {
354
+ width: 100%;
355
+ }
356
+
357
+ .metadata_content_title_container {
358
+ width: 100%;
359
+ height: 1.75rem;
360
+ position: relative;
361
+ display: flex;
362
+ -webkit-box-align: center;
363
+ align-items: center;
364
+ }
365
+
366
+ .metadata_content_title {
367
+ position: absolute;
368
+ left: .5rem;
369
+ font-size: .75rem;
370
+ color: #59636e;
371
+ pointer-events: none;
372
+ margin-top: 0;
373
+ margin-bottom: 0;
374
+ margin-block-start: 1em;
375
+ margin-block-end: 1em;
376
+ margin-inline-start: 0;
377
+ margin-inline-end: 0;
378
+ font-family: var(--fontStack-sansSerif), serif;
379
+ }
380
+
381
+ .empty_text {
382
+ font-size: .75rem;
383
+ padding-left: .5rem;
384
+ padding-right: .5rem;
385
+ margin-bottom: .5rem;
386
+ margin-top: .25rem;
387
+ color: #59636e;
388
+ display: block;
389
+ }
390
+
391
+ .metadata_content_container::after {
392
+ content: "";
393
+ position: absolute;
394
+ height: 1px;
395
+ bottom: -8px;
396
+ left: 8px;
397
+ right: 8px;
398
+ background-color: hsla(210, 18%, 87%, 1);
399
+ }
400
+
401
+ .metadata_labels_labels {
402
+ gap: .25rem;
403
+ height: 100%;
404
+ padding: .5rem;
405
+ font-size: .75rem;
406
+ flex-wrap: wrap;
407
+ flex-shrink: 1;
408
+ justify-content: flex-start;
409
+ display: flex;
410
+ overflow: hidden;
411
+ }
412
+
413
+ .metadata_labels_label {
414
+ overflow: hidden;
415
+ text-overflow: ellipsis;
416
+ cursor: pointer;
417
+ max-width: 100%;
418
+ -webkit-box-align: center;
419
+ align-items: center;
420
+ border-radius: 999px;
421
+ display: inline-flex;
422
+ font-weight: 600;
423
+ font-family: inherit;
424
+ text-decoration: none;
425
+ white-space: nowrap;
426
+ font-size: 12px;
427
+ height: 20px;
428
+ line-height: 20px;
429
+ padding: 0 8px;
430
+ --label-r: 113;
431
+ --label-g: 204;
432
+ --label-b: 107;
433
+ --label-h: 116;
434
+ --label-s: 49;
435
+ --label-l: 61;
436
+ --perceived-lightness: calc(((var(--label-r) * 0.2126) + (var(--label-g) * 0.7152) + (var(--label-b) * 0.0722)) / 255);
437
+ --lightness-switch: max(0, min(calc((1 / (var(--lightness-threshold) - var(--perceived-lightness)))), 1));
438
+ --border-color: #d1d9e0b3;
439
+ position: relative;
440
+ min-width: 0;
441
+ --lightness-threshold: 0.453;
442
+ --border-threshold: 0.96;
443
+ --background-alpha: 0.20;
444
+ --border-alpha: max(0, min(calc((var(--perceived-lightness) - var(--border-threshold)) * 100), 1));
445
+ background: rgb(var(--label-r), var(--label-g), var(--label-b));
446
+ color: hsl(0deg, 0%, calc(var(--lightness-switch) * 100%));
447
+ border-width: 1px;
448
+ border-style: solid;
449
+ border-color: hsla(var(--label-h), calc(var(--label-s) * 1%), calc((var(--label-l) - 25) * 1%), var(--border-alpha));
450
+ }
451
+
452
+ .metadata_labels_label_content {
453
+ -webkit-box-flex: 1;
454
+ flex-grow: 1;
455
+ min-width: 0;
456
+ overflow: hidden;
457
+ text-overflow: ellipsis;
458
+ white-space: nowrap;
459
+ background: transparent;
460
+ border: 0;
461
+ font: inherit;
462
+ margin: 0;
463
+ padding: 0;
464
+ width: auto;
465
+ -webkit-font-smoothing: inherit;
466
+ color: currentcolor;
467
+ text-decoration: none;
468
+ }