dsh-workbench-danmaku 0.2.6 → 0.2.9
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/cordis.patch.yml +9 -4
- package/lib/client.js +43 -27
- package/package.json +3 -3
package/cordis.patch.yml
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
# 弹幕插件:插入宿主行和本插件自己的插件行。
|
|
2
|
+
#
|
|
3
|
+
# 宿主行必须由子插件插入:宿主是传递依赖,DSH 只把 profile 的直接依赖选进
|
|
4
|
+
# dsh.profile.bundles,所以单独装一个子插件时宿主不会被自动选入,只能靠这行加载。
|
|
5
|
+
# 但宿主行用块式写法时,插件市场会把它算进本插件的 insertedIds,任何第二个
|
|
6
|
+
# dsh-workbench 系插件都会被判「和已安装的插件冲突」并整次回滚;写成流式(flow style)
|
|
7
|
+
# 既能被 js-yaml 和 DSH 正常解析、插入同一行,又不会被市场那套逐行正则数到。
|
|
8
|
+
# 详见 docs/AGENTS规范/03-安装与交付.md。
|
|
1
9
|
- insert:
|
|
2
|
-
- id: workbench
|
|
3
|
-
name: 'dsh-workbench-host'
|
|
4
|
-
config:
|
|
5
|
-
enabled: true
|
|
10
|
+
- { id: workbench, name: 'dsh-workbench-host', config: { enabled: true } }
|
|
6
11
|
- id: workbench-danmaku
|
|
7
12
|
name: 'dsh-workbench-danmaku'
|
package/lib/client.js
CHANGED
|
@@ -831,18 +831,21 @@ var require_client_base_styles = __commonJS({
|
|
|
831
831
|
s + "-table th{font-weight:600;color:var(--wb-muted,#6b7280);white-space:nowrap}",
|
|
832
832
|
s + "-btn{border:1px solid var(--wb-border,#d1d5db);background:var(--wb-surface,#fff);color:inherit;border-radius:7px;padding:5px 10px;font-size:12px;cursor:pointer}",
|
|
833
833
|
s + "-btn:hover:not(:disabled){border-color:var(--wb-accent,#2563eb)}" + s + "-btn:disabled{opacity:.5;cursor:default}",
|
|
834
|
-
s + "-btn.primary{background:var(--wb-accent,#2563eb);border-color:var(--wb-accent,#2563eb);color
|
|
835
|
-
s + "-btn.danger{color
|
|
834
|
+
s + "-btn.primary{background:var(--wb-accent,#2563eb);border-color:var(--wb-accent,#2563eb);color:var(--dsw-alias-label-primary-inverted,#fff)}",
|
|
835
|
+
s + "-btn.danger{color:var(--wb-danger,#b91c1c);border-color:color-mix(in oklab,var(--wb-danger,#b91c1c) 35%,transparent)}",
|
|
836
836
|
s + "-field{display:flex;flex-direction:column;gap:4px;font-size:12px}" + s + "-label{font-weight:600}",
|
|
837
837
|
s + "-field input," + s + "-field select," + s + "-field textarea{border:1px solid var(--wb-border,#d1d5db);border-radius:7px;padding:6px 8px;font:inherit;background:var(--wb-surface,#fff);color:inherit;min-width:0}",
|
|
838
|
-
s + "-hint{color:var(--wb-muted,#6b7280);font-size:11px}" + s + "-notice{padding:8px 10px;border-radius:8px;font-size:12px;background
|
|
839
|
-
s + "-notice.error{background
|
|
838
|
+
s + "-hint{color:var(--wb-muted,#6b7280);font-size:11px}" + s + "-notice{padding:8px 10px;border-radius:8px;font-size:12px;background:color-mix(in oklab,var(--wb-accent,#2563eb) 9%,transparent);color:var(--dsw-alias-label-primary,inherit)}",
|
|
839
|
+
s + "-notice.error{background:color-mix(in oklab,var(--wb-danger,#b91c1c) 10%,transparent);color:var(--wb-danger,#b91c1c)}" + s + "-notice.ok{background:color-mix(in oklab,var(--wb-ok,#047857) 10%,transparent);color:var(--wb-ok,#047857)}",
|
|
840
840
|
s + "-empty{padding:18px;text-align:center;color:var(--wb-muted,#6b7280);font-size:12px;border:1px dashed var(--wb-border,#e5e7eb);border-radius:8px}",
|
|
841
|
-
s + "-pill{display:inline-block;padding:1px 7px;border-radius:999px;font-size:11px;background
|
|
842
|
-
s + "-pill.ok{background
|
|
843
|
-
s + "-json{margin:0;padding:8px;background
|
|
841
|
+
s + "-pill{display:inline-block;padding:1px 7px;border-radius:999px;font-size:11px;background:color-mix(in oklab,currentColor 7%,transparent);color:inherit}",
|
|
842
|
+
s + "-pill.ok{background:color-mix(in oklab,var(--wb-ok,#047857) 12%,transparent);color:var(--wb-ok,#047857)}" + s + "-pill.error{background:color-mix(in oklab,var(--wb-danger,#b91c1c) 12%,transparent);color:var(--wb-danger,#b91c1c)}" + s + "-pill.warn{background:color-mix(in oklab,var(--wb-warn,#b45309) 14%,transparent);color:var(--wb-warn,#b45309)}",
|
|
843
|
+
s + "-json{margin:0;padding:8px;background:color-mix(in oklab,currentColor 4%,transparent);border-radius:8px;font-size:11px;max-height:240px;overflow:auto}",
|
|
844
844
|
s + "-muted{color:var(--wb-muted,#6b7280)}" + s + "-link{color:var(--wb-accent,#2563eb);cursor:pointer;text-decoration:none}",
|
|
845
|
-
s + "-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px}"
|
|
845
|
+
s + "-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px}",
|
|
846
|
+
// 窄屏:页面容器不再自带左右内边距(宿主的 .wb-immersive-main 已经给过),
|
|
847
|
+
// 卡片与栅格收紧,把宽度尽量留给内容——窄屏下两侧留白比桌面更影响可读性。
|
|
848
|
+
"@media(max-width:760px){" + s + "-wrap{padding:0 0 8px;gap:10px}" + s + "-card{padding:12px;border-radius:10px}" + s + "-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}" + s + "-form{grid-template-columns:minmax(0,1fr)}" + s + "-title{font-size:15px}" + s + "-table-wrap{overflow-x:auto;max-width:100%}" + s + "-table{width:max-content;min-width:100%}}@media(max-width:420px){" + s + "-wrap{padding:0 0 6px}" + s + "-card{padding:10px}" + s + "-grid{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}}"
|
|
846
849
|
]);
|
|
847
850
|
};
|
|
848
851
|
module2.exports.secretFieldStyles = SECRET_FIELD;
|
|
@@ -1224,7 +1227,9 @@ var require_styles = __commonJS({
|
|
|
1224
1227
|
".wbdm-preview-stage{position:relative;height:132px;overflow:hidden}",
|
|
1225
1228
|
".wbdm-preview-hint{position:absolute;right:12px;bottom:8px;font-size:10px;letter-spacing:.02em;color:var(--wb-muted,#9ca3af);pointer-events:none}",
|
|
1226
1229
|
/* 深色:卡片底色更贴近主题表面 */
|
|
1227
|
-
"@media (prefers-color-scheme:dark){.wbdm-kpi,.wbdm-card,.wbdm-status-cell{background:var(--wb-surface,#16181d)}}"
|
|
1230
|
+
"@media (prefers-color-scheme:dark){.wbdm-kpi,.wbdm-card,.wbdm-status-cell{background:var(--wb-surface,#16181d)}}",
|
|
1231
|
+
/* 窄屏:配置行从「标签 + 控件」两列改成上下单列,输入框不再固定 280px 宽。 */
|
|
1232
|
+
"@media (max-width:600px){.wbdm-crow{grid-template-columns:minmax(0,1fr);gap:8px;padding:10px 0}.wbdm-ctl{flex-wrap:wrap}.wbdm-input,.wbdm-select{max-width:none;width:100%}.wbdm-crow .wbctl-num .wbctl-num-input{width:100%}.wbdm-preview{margin:10px 12px 0}.wbdm-page-title{font-size:16px}.wbdm-card-h{flex-direction:column;align-items:stretch;gap:6px}.wbdm-card-t,.wbdm-card-s{white-space:nowrap}.wbdm-card-action{width:100%;white-space:nowrap;padding-left:10px;padding-right:10px}.wbdm-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.wbdm-kpi{min-width:0;padding:7px 8px}.wbdm-kpi-n{font-size:17px}.wbdm-status{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.wbdm-status-cell{padding:7px 8px}.wbdm-status-k{font-size:10px}}"
|
|
1228
1233
|
];
|
|
1229
1234
|
}
|
|
1230
1235
|
module2.exports = function styles2() {
|
|
@@ -2000,8 +2005,9 @@ var require_overlay = __commonJS({
|
|
|
2000
2005
|
var autoFocusDialog = opts.autoFocusDialog !== false;
|
|
2001
2006
|
var focusableSelector = opts.focusableSelector || FOCUSABLE;
|
|
2002
2007
|
function Modal(props) {
|
|
2003
|
-
var
|
|
2004
|
-
|
|
2008
|
+
var R = props.React || React;
|
|
2009
|
+
var ref = R.useRef(null);
|
|
2010
|
+
R.useEffect(function() {
|
|
2005
2011
|
var previous = typeof document !== "undefined" ? document.activeElement : null;
|
|
2006
2012
|
var focusIt = props.autoFocus !== void 0 ? props.autoFocus : autoFocusDialog;
|
|
2007
2013
|
if (focusIt && ref.current) ref.current.focus();
|
|
@@ -4404,18 +4410,19 @@ var require_action_schema_style = __commonJS({
|
|
|
4404
4410
|
"use strict";
|
|
4405
4411
|
module2.exports = function(PREFIX, DOMAIN) {
|
|
4406
4412
|
var P = PREFIX + "-as";
|
|
4413
|
+
var hairline = "1px solid color-mix(in oklab,currentColor 8%,transparent)";
|
|
4407
4414
|
var CSS = [
|
|
4408
4415
|
"." + P + "{display:flex;flex-direction:column;gap:12px;width:100%;min-width:0;font-size:13px;color:inherit}",
|
|
4409
4416
|
"." + P + "-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap}",
|
|
4410
4417
|
"." + P + "-title{font-size:15px;font-weight:660;margin:0}",
|
|
4411
|
-
"." + P + "-badge{display:inline-flex;align-items:center;gap:4px;border:1px solid var(--wb-border,#e3e5e9);border-radius:999px;padding:1px 8px;font-size:11px;color:var(--dsw-alias-label-secondary,currentColor);font-variant-numeric:tabular-nums}",
|
|
4418
|
+
"." + P + "-badge{display:inline-flex;align-items:center;gap:4px;max-width:100%;border:1px solid var(--wb-border,#e3e5e9);border-radius:999px;padding:1px 8px;font-size:11px;color:var(--dsw-alias-label-secondary,currentColor);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}",
|
|
4412
4419
|
"." + P + "-mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11.5px}",
|
|
4413
4420
|
"." + P + "-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}",
|
|
4414
4421
|
"." + P + "-search{position:relative;flex:1 1 220px;min-width:0;display:flex;align-items:center}",
|
|
4415
4422
|
"." + P + "-search input{width:100%;border:1px solid var(--wb-border,#e3e5e9);border-radius:8px;background:var(--wb-surface,var(--dsw-alias-bg-layer-1,transparent));color:inherit;font:inherit;padding:6px 10px 6px 30px}",
|
|
4416
4423
|
"." + P + "-search input:focus-visible{outline:2px solid var(--dsw-alias-brand-primary,#4f6ef7);outline-offset:1px}",
|
|
4417
4424
|
"." + P + "-search .wbi-svg{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:var(--dsw-alias-label-tertiary,inherit)}",
|
|
4418
|
-
"." + P + " select{border:1px solid var(--wb-border,#e3e5e9);border-radius:8px;background:var(--wb-surface,var(--dsw-alias-bg-layer-1,transparent));color:inherit;font:inherit;padding:6px 8px}",
|
|
4425
|
+
"." + P + " select{border:1px solid var(--wb-border,#e3e5e9);border-radius:8px;background:var(--wb-surface,var(--dsw-alias-bg-layer-1,transparent));color:inherit;font:inherit;padding:6px 8px;max-width:100%}",
|
|
4419
4426
|
"." + P + " select:focus-visible{outline:2px solid var(--dsw-alias-brand-primary,#4f6ef7);outline-offset:1px}",
|
|
4420
4427
|
"." + P + "-list{display:flex;flex-direction:column;gap:8px}",
|
|
4421
4428
|
"." + P + "-card{border:1px solid var(--wb-border,#e3e5e9);border-radius:10px;padding:10px 12px;background:var(--wb-surface,var(--dsw-alias-bg-layer-1,transparent));display:flex;flex-direction:column;gap:8px;min-width:0}",
|
|
@@ -4423,7 +4430,7 @@ var require_action_schema_style = __commonJS({
|
|
|
4423
4430
|
"." + P + "-cardmeta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0;min-height:24px}",
|
|
4424
4431
|
"." + P + "-cardhead code{font-weight:640;overflow-wrap:anywhere;min-width:0}",
|
|
4425
4432
|
"." + P + "-hintline{margin:0;color:var(--dsw-alias-label-tertiary,inherit);font-size:11.5px;line-height:1.5}",
|
|
4426
|
-
"." + P + "-origins{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}",
|
|
4433
|
+
"." + P + "-origins{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end;min-width:0}",
|
|
4427
4434
|
"." + P + "-origins-label{font-size:11px;color:var(--wb-muted);white-space:nowrap}",
|
|
4428
4435
|
"." + P + "-origin{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;color:var(--wb-muted);cursor:pointer;user-select:none}",
|
|
4429
4436
|
// 该 action 本身不支持的来源:整项置灰、不可点,示意「不是没开,是开不了」。
|
|
@@ -4431,17 +4438,17 @@ var require_action_schema_style = __commonJS({
|
|
|
4431
4438
|
"." + P + "-origin input[type=checkbox]{width:13px;height:13px;margin:0;accent-color:var(--wb-accent);cursor:inherit}",
|
|
4432
4439
|
"." + P + "-origin input[type=checkbox]:focus-visible{outline:2px solid var(--wb-accent);outline-offset:2px}",
|
|
4433
4440
|
"." + P + "-locked{border-color:var(--wb-warn,#b7791f);color:var(--wb-warn,#b7791f)}",
|
|
4434
|
-
"." + P + "-desc{margin:0;color:var(--dsw-alias-label-secondary,inherit);line-height:1.55;font-size:12.5px}",
|
|
4441
|
+
"." + P + "-desc{margin:0;color:var(--dsw-alias-label-secondary,inherit);line-height:1.55;font-size:12.5px;overflow-wrap:anywhere}",
|
|
4435
4442
|
// 搜索命中:用品牌色透明度叠加而不是写死浅色,深浅主题都可读;继承文字颜色、不覆盖 ::selection。
|
|
4436
4443
|
"." + P + " mark." + P + "-hit{background:color-mix(in oklab,var(--dsw-alias-brand-primary,#4f6ef7) 22%,transparent);color:inherit;border-radius:2px;padding:0;font:inherit;box-decoration-break:clone;-webkit-box-decoration-break:clone}",
|
|
4437
4444
|
"." + P + "-table{width:100%;border-collapse:collapse;font-size:12px;table-layout:auto}",
|
|
4438
4445
|
"." + P + "-table th{text-align:left;font-weight:620;font-size:11px;letter-spacing:.4px;text-transform:uppercase;color:var(--dsw-alias-label-tertiary,inherit);padding:4px 8px 4px 0;white-space:nowrap}",
|
|
4439
|
-
"." + P + "-table td{padding:4px 8px 4px 0;vertical-align:top;border-top:
|
|
4446
|
+
"." + P + "-table td{padding:4px 8px 4px 0;vertical-align:top;border-top:" + hairline + ";line-height:1.5;overflow-wrap:anywhere}",
|
|
4440
4447
|
"." + P + "-req{color:var(--dsw-alias-state-error-primary,#d9534f);font-weight:620}",
|
|
4441
4448
|
"." + P + "-opt{color:var(--dsw-alias-label-tertiary,inherit)}",
|
|
4442
4449
|
"." + P + "-none{color:var(--dsw-alias-label-tertiary,inherit);font-size:12px}",
|
|
4443
|
-
"." + P + "-example{position:relative;display:flex;flex-direction:column;gap:4px}",
|
|
4444
|
-
"." + P + "-examplehead{display:flex;align-items:center;justify-content:space-between;gap:8px}",
|
|
4450
|
+
"." + P + "-example{position:relative;display:flex;flex-direction:column;gap:4px;min-width:0}",
|
|
4451
|
+
"." + P + "-examplehead{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}",
|
|
4445
4452
|
"." + P + "-pre{margin:0;padding:8px 10px;border-radius:8px;background:var(--dsw-alias-bg-skeleton,#f2f3f5);color:inherit;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11.5px;line-height:1.5;overflow:auto;max-height:280px;white-space:pre-wrap;word-break:break-word}",
|
|
4446
4453
|
"." + P + "-copy{border:1px solid var(--wb-border,#e3e5e9);border-radius:7px;background:transparent;color:inherit;font:inherit;font-size:11.5px;padding:2px 8px;cursor:pointer}",
|
|
4447
4454
|
"." + P + "-copy:hover{background:var(--dsw-alias-interactive-bg-hover,color-mix(in oklab,currentColor 5%,transparent))}",
|
|
@@ -4449,9 +4456,14 @@ var require_action_schema_style = __commonJS({
|
|
|
4449
4456
|
"." + P + " details>summary{cursor:pointer;font-size:11.5px;color:var(--dsw-alias-label-secondary,inherit);width:max-content}",
|
|
4450
4457
|
"." + P + " details>summary:focus-visible{outline:2px solid var(--dsw-alias-brand-primary,#4f6ef7);outline-offset:2px}",
|
|
4451
4458
|
"." + P + "-empty{padding:24px;text-align:center;border:1px dashed var(--wb-border,#e3e5e9);border-radius:10px;color:var(--dsw-alias-label-tertiary,inherit)}",
|
|
4452
|
-
"." + P + "-error{padding:12px;border:1px solid var(--dsw-alias-state-error-primary,#d9534f);border-radius:10px;color:var(--dsw-alias-state-error-primary,#d9534f);display:flex;gap:10px;align-items:center}",
|
|
4453
|
-
"." + P + "-toast{position:sticky;bottom:8px;align-self:flex-start;border-radius:999px;padding:3px 10px;background:var(--dsw-alias-bg-skeleton,#f2f3f5);font-size:11.5px}",
|
|
4454
|
-
|
|
4459
|
+
"." + P + "-error{padding:12px;border:1px solid var(--dsw-alias-state-error-primary,#d9534f);border-radius:10px;color:var(--dsw-alias-state-error-primary,#d9534f);display:flex;gap:10px;align-items:center;flex-wrap:wrap;overflow-wrap:anywhere}",
|
|
4460
|
+
"." + P + "-toast{position:sticky;bottom:8px;align-self:flex-start;border-radius:999px;padding:3px 10px;background:var(--dsw-alias-bg-skeleton,#f2f3f5);font-size:11.5px;max-width:100%}",
|
|
4461
|
+
// 窄屏:五列参数表压成一列会丢失列名、且 table 布局按最小内容宽度撑破容器,
|
|
4462
|
+
// 这里整体改成块级网格:每行 = 名称 / 类型 / 必填 + 约束行 + 说明行,行间用细线分隔。
|
|
4463
|
+
"@media(max-width:760px){." + P + "-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:end}." + P + "-search{grid-column:1/-1}." + P + "-toolbar>label{display:flex;flex-direction:column;align-items:stretch;gap:4px;min-width:0}." + P + "-toolbar select{width:100%;min-width:0}." + P + "-cardhead{grid-template-columns:minmax(0,1fr);row-gap:6px}." + P + "-origins{justify-content:flex-start}." + P + "-table{display:block}." + P + "-table thead{display:none}." + P + "-table tbody{display:block}." + P + '-table tr{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"name type need" "extra extra extra" "desc desc desc";column-gap:8px;padding:9px 0;border-top:' + hairline + "}." + P + "-table tr:first-child{border-top:0;padding-top:2px}." + P + "-table tr:last-child{padding-bottom:2px}." + P + "-table td{display:block;border:0;padding:0;min-width:0}." + P + "-table td:empty{display:none}." + P + "-pname{grid-area:name;font-weight:640}." + P + "-ptype{grid-area:type;justify-self:start;align-self:center;color:var(--dsw-alias-label-tertiary,inherit)}." + P + "-pneed{grid-area:need;justify-self:end;align-self:center;font-size:11px;line-height:1.6;white-space:nowrap}." + P + "-pextra{grid-area:extra;margin-top:3px;color:var(--dsw-alias-label-secondary,inherit);line-height:1.55}." + P + "-pdesc{grid-area:desc;margin-top:3px;color:var(--dsw-alias-label-secondary,inherit);line-height:1.55}}",
|
|
4464
|
+
// 中等宽度(521–760px)三个筛选项正好排成一行,避免第三项独占一行显得参差。
|
|
4465
|
+
"@media(min-width:521px) and (max-width:760px){." + P + "-toolbar{grid-template-columns:repeat(3,minmax(0,1fr))}}",
|
|
4466
|
+
"@media(max-width:420px){." + P + "-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}." + P + "-card{padding:10px}." + P + "-table tr{padding:8px 0}}"
|
|
4455
4467
|
].join("\n");
|
|
4456
4468
|
return function injectCss() {
|
|
4457
4469
|
if (typeof document === "undefined") return;
|
|
@@ -4863,12 +4875,16 @@ var require_action_schema_view = __commonJS({
|
|
|
4863
4875
|
return h(
|
|
4864
4876
|
"tr",
|
|
4865
4877
|
{ key: row.name },
|
|
4866
|
-
h("td", { className: P + "-mono" }, Highlight.hit(row.name, kw)),
|
|
4867
|
-
h("td", { className: P + "-mono" }, Highlight.hit(row.type, kw)),
|
|
4868
|
-
h(
|
|
4878
|
+
h("td", { className: P + "-mono " + P + "-pname" }, Highlight.hit(row.name, kw)),
|
|
4879
|
+
h("td", { className: P + "-mono " + P + "-ptype" }, Highlight.hit(row.type, kw)),
|
|
4880
|
+
h(
|
|
4881
|
+
"td",
|
|
4882
|
+
{ className: row.required ? P + "-req " + P + "-pneed" : P + "-opt " + P + "-pneed" },
|
|
4883
|
+
row.required ? t.required : t.optional
|
|
4884
|
+
),
|
|
4869
4885
|
// extra(默认 / 枚举 / 约束)不在过滤 haystack 里,因此也不高亮,保持「显示即命中」口径。
|
|
4870
|
-
h("td", { className: P + "-mono" }, extra),
|
|
4871
|
-
h("td",
|
|
4886
|
+
h("td", { className: P + "-mono " + P + "-pextra" }, extra),
|
|
4887
|
+
h("td", { className: P + "-pdesc" }, Highlight.hit(row.description, kw))
|
|
4872
4888
|
);
|
|
4873
4889
|
}
|
|
4874
4890
|
function originsChips(action) {
|
|
@@ -5138,7 +5154,7 @@ function definition(host) {
|
|
|
5138
5154
|
var tab = makeTab(host.react);
|
|
5139
5155
|
return {
|
|
5140
5156
|
id: ADDON_ID,
|
|
5141
|
-
version: "0.2.
|
|
5157
|
+
version: "0.2.9",
|
|
5142
5158
|
icon: tab("megaphone"),
|
|
5143
5159
|
views: [
|
|
5144
5160
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-workbench-danmaku",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.9",
|
|
4
4
|
"description": "个人工作台弹幕插件:把自建弹幕轮播在整个 DSH 界面,并可叠加到整个桌面",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"id": "wb-addon-danmaku",
|
|
18
18
|
"title": "弹幕",
|
|
19
19
|
"description": "在整个 DSH 界面(含工作台业务页与宿主弹窗之外的所有区域)与桌面透明层轮播自建弹幕;含弹幕库、配置、数据与 Action 四个视图",
|
|
20
|
-
"version": "0.2.
|
|
20
|
+
"version": "0.2.9",
|
|
21
21
|
"minShell": "0.8.0",
|
|
22
22
|
"tables": [
|
|
23
23
|
"danmaku"
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"./package.json": "./package.json"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"dsh-workbench-host": "^0.
|
|
56
|
+
"dsh-workbench-host": "^0.10.2"
|
|
57
57
|
},
|
|
58
58
|
"dsh": {
|
|
59
59
|
"bundle": {
|