dsh-m 0.5.1 → 0.6.1
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/lib/client.js +8 -10
- package/package.json +1 -1
- package/registry.json +9 -6
package/lib/client.js
CHANGED
|
@@ -1038,7 +1038,7 @@ function lookup(key, params) {
|
|
|
1038
1038
|
var CATEGORIES2 = ["market", "tools", "ui", "search", "other"];
|
|
1039
1039
|
var CSS = `
|
|
1040
1040
|
.dshm-overlay{position:fixed;inset:0;z-index:2147483000;background:var(--dsw-alias-bg-mask-3,rgba(15,23,42,.48));display:flex;align-items:center;justify-content:center;padding:24px 16px;box-sizing:border-box}
|
|
1041
|
-
.dshm-panel{width:min(920px,100%);height:min(680px,86vh);display:flex;flex-direction:column;background:var(--dsw-alias-bg-
|
|
1041
|
+
.dshm-panel{width:min(920px,100%);height:min(680px,86vh);display:flex;flex-direction:column;background:var(--dsw-alias-bg-elevated,var(--dsw-alias-bg-base,#fff));background:color-mix(in srgb,var(--dsw-alias-bg-base,#fff) 86%,transparent);backdrop-filter:blur(14px) saturate(1.3);-webkit-backdrop-filter:blur(14px) saturate(1.3);border:1px solid var(--dsw-alias-border-l2,#e5e7eb);border-radius:14px;box-shadow:0 18px 48px rgba(2,6,23,.25);overflow:hidden;font-family:inherit;color:var(--dsw-alias-label-primary,inherit)}
|
|
1042
1042
|
.dshm-head{display:flex;align-items:center;gap:8px;padding:10px 14px;border-bottom:1px solid var(--dsw-alias-border-l2,#e5e7eb)}
|
|
1043
1043
|
.dshm-title{font-weight:700;font-size:15px;margin-right:6px}
|
|
1044
1044
|
.dshm-seg{display:inline-flex;align-items:center;gap:2px;padding:2px;border:1px solid var(--dsw-alias-border-l2,#e2e4e8);border-radius:9px;background:var(--dsw-alias-bg-layer-1,#f5f6f8)}
|
|
@@ -1139,7 +1139,7 @@ var CSS = `
|
|
|
1139
1139
|
.dshm-dshchip{position:relative;display:inline-flex;align-items:center;gap:4px;border:1px solid var(--dsw-alias-border-l2,#e5e7eb);background:var(--dsw-alias-bg-layer-1,#f5f6f8);color:var(--dsw-alias-label-secondary,#4b5563);border-radius:999px;padding:4px 10px;font:11px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;cursor:pointer;white-space:nowrap;flex:none}
|
|
1140
1140
|
.dshm-dshchip:hover{background:var(--dsw-alias-interactive-bg-hover,rgba(38,49,72,.06));color:var(--dsw-alias-label-primary,inherit)}
|
|
1141
1141
|
.dshm-dshchip-v{font-weight:600;color:var(--dsw-alias-label-primary,inherit)}
|
|
1142
|
-
.dshm-dshchip-tip{position:absolute;top:calc(100% + 7px);right:0;visibility:hidden;opacity:0;transition:opacity .12s;z-index:60;background:var(--dsw-alias-bg-
|
|
1142
|
+
.dshm-dshchip-tip{position:absolute;top:calc(100% + 7px);right:0;visibility:hidden;opacity:0;transition:opacity .12s;z-index:60;background:var(--dsw-alias-bg-elevated,var(--dsw-alias-bg-base,#fff));background:color-mix(in srgb,var(--dsw-alias-bg-base,#fff) 86%,transparent);backdrop-filter:blur(14px) saturate(1.3);-webkit-backdrop-filter:blur(14px) saturate(1.3);border:1px solid var(--dsw-alias-border-l2,#e5e7eb);border-radius:9px;box-shadow:var(--dsw-shadow-lv1,0 2px 8px rgb(20 24 32 / 8%));padding:7px 10px;text-align:left;pointer-events:none}
|
|
1143
1143
|
.dshm-dshchip:hover .dshm-dshchip-tip,.dshm-dshchip:focus-visible .dshm-dshchip-tip{visibility:visible;opacity:1}
|
|
1144
1144
|
.dshm-dshchip-tiprow{font:12px/16px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-weight:600;color:var(--dsw-alias-label-primary,inherit)}
|
|
1145
1145
|
.dshm-dshchip-tipsub{display:block;margin-top:2px;font-size:10px;line-height:14px;color:var(--dsw-alias-label-caption,#9ca3af)}
|
|
@@ -1157,7 +1157,7 @@ var CSS = `
|
|
|
1157
1157
|
.dshm-switch-slider{position:absolute;left:2px;top:2px;width:15px;height:15px;border-radius:50%;background:#fff;transition:left .15s;box-shadow:0 1px 2px rgba(0,0,0,.25)}
|
|
1158
1158
|
.dshm-switch.on .dshm-switch-slider{left:17px}
|
|
1159
1159
|
.dshm-compat-overlay{position:fixed;inset:0;background:rgba(0,0,0,.45);display:flex;align-items:center;justify-content:center;z-index:60}
|
|
1160
|
-
.dshm-compat-dialog{max-width:420px;width:calc(100% - 32px);background:var(--dsw-alias-bg-
|
|
1160
|
+
.dshm-compat-dialog{max-width:420px;width:calc(100% - 32px);background:var(--dsw-alias-bg-elevated,var(--dsw-alias-bg-base,#1c2230));background:color-mix(in srgb,var(--dsw-alias-bg-base,#1c2230) 86%,transparent);backdrop-filter:blur(14px) saturate(1.3);-webkit-backdrop-filter:blur(14px) saturate(1.3);border:1px solid var(--dsw-alias-border-l2,#333b4d);border-radius:12px;padding:16px}
|
|
1161
1161
|
.dshm-compat-title{font-weight:600;margin-bottom:8px;color:#f87171}
|
|
1162
1162
|
.dshm-compat-body{font-size:12px;margin-bottom:6px}
|
|
1163
1163
|
.dshm-compat-peers{margin:0 0 8px;padding-left:18px;font-size:12px}
|
|
@@ -2277,13 +2277,11 @@ function mountPanel() {
|
|
|
2277
2277
|
function MarketIcon() {
|
|
2278
2278
|
return h(
|
|
2279
2279
|
"svg",
|
|
2280
|
-
{ viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true" },
|
|
2281
|
-
h("rect", { x: "
|
|
2282
|
-
h("rect", { x: "
|
|
2283
|
-
h("rect", { x: "
|
|
2284
|
-
|
|
2285
|
-
h("circle", { cx: "10.5", cy: "10.5", r: "2.9", stroke: "currentColor", strokeWidth: "1.4" }),
|
|
2286
|
-
h("path", { d: "M12.6 12.6 14.3 14.3", stroke: "currentColor", strokeWidth: "1.4", strokeLinecap: "round" })
|
|
2280
|
+
{ viewBox: "0 0 24 24", width: "16", height: "16", fill: "none", "aria-hidden": "true" },
|
|
2281
|
+
h("rect", { x: "3", y: "3", width: "7", height: "7", rx: "1", stroke: "currentColor", strokeWidth: "2" }),
|
|
2282
|
+
h("rect", { x: "14", y: "3", width: "7", height: "7", rx: "1", stroke: "currentColor", strokeWidth: "2" }),
|
|
2283
|
+
h("rect", { x: "3", y: "14", width: "7", height: "7", rx: "1", stroke: "currentColor", strokeWidth: "2" }),
|
|
2284
|
+
h("rect", { x: "14", y: "14", width: "7", height: "7", rx: "1", stroke: "currentColor", strokeWidth: "2" })
|
|
2287
2285
|
);
|
|
2288
2286
|
}
|
|
2289
2287
|
function MarketEntry(props) {
|
package/package.json
CHANGED
package/registry.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
{
|
|
5
5
|
"id": "dsh-m",
|
|
6
6
|
"name": "DSH Marketplace",
|
|
7
|
-
"description": "自定义清单的 DSH 插件市场,收录/安装/卸载/升级;已适配 0.1.
|
|
7
|
+
"description": "自定义清单的 DSH 插件市场,收录/安装/卸载/升级;已适配 0.1.5-rc.1 至 0.2.0-rc.1 各代,详见仓库。",
|
|
8
8
|
"category": "market",
|
|
9
9
|
"tags": [
|
|
10
10
|
"市场",
|
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
"0.1.5-rc.1",
|
|
16
16
|
"0.1.5-rc.2",
|
|
17
17
|
"0.1.7-rc.1",
|
|
18
|
-
"0.1.7-rc.2"
|
|
18
|
+
"0.1.7-rc.2",
|
|
19
|
+
"0.2.0-rc.1"
|
|
19
20
|
],
|
|
20
21
|
"source": "npm",
|
|
21
22
|
"npm": "dsh-m",
|
|
@@ -25,7 +26,7 @@
|
|
|
25
26
|
{
|
|
26
27
|
"id": "dsh-skins",
|
|
27
28
|
"name": "DSH Skins",
|
|
28
|
-
"description": "DSH Web 皮肤插件:多套品牌皮肤侧栏热切换,一键回到官方界面。已适配 0.1.7-rc.2,详见仓库。",
|
|
29
|
+
"description": "DSH Web 皮肤插件:多套品牌皮肤侧栏热切换,一键回到官方界面。已适配 0.1.7-rc.2 与 0.2.0-rc.1,详见仓库。",
|
|
29
30
|
"category": "ui",
|
|
30
31
|
"tags": [
|
|
31
32
|
"皮肤",
|
|
@@ -34,7 +35,8 @@
|
|
|
34
35
|
],
|
|
35
36
|
"verified": [
|
|
36
37
|
"0.1.2-rc.1",
|
|
37
|
-
"0.1.7-rc.2"
|
|
38
|
+
"0.1.7-rc.2",
|
|
39
|
+
"0.2.0-rc.1"
|
|
38
40
|
],
|
|
39
41
|
"source": "npm",
|
|
40
42
|
"npm": "@iasiv5/dsh-skins",
|
|
@@ -44,7 +46,7 @@
|
|
|
44
46
|
{
|
|
45
47
|
"id": "dsh-copilot-auth",
|
|
46
48
|
"name": "DSH Copilot Auth",
|
|
47
|
-
"description": "为内置 Copilot 提供方补登录/注销设置页与开箱路由;模型目录兜底不覆盖定制。适配 0.1.7-rc.2,旧版用 1.1.x。",
|
|
49
|
+
"description": "为内置 Copilot 提供方补登录/注销设置页与开箱路由;模型目录兜底不覆盖定制。适配 0.1.7-rc.2 与 0.2.0-rc.1,旧版用 1.1.x。",
|
|
48
50
|
"category": "tools",
|
|
49
51
|
"tags": [
|
|
50
52
|
"Copilot",
|
|
@@ -52,7 +54,8 @@
|
|
|
52
54
|
"模型接入"
|
|
53
55
|
],
|
|
54
56
|
"verified": [
|
|
55
|
-
"0.1.7-rc.2"
|
|
57
|
+
"0.1.7-rc.2",
|
|
58
|
+
"0.2.0-rc.1"
|
|
56
59
|
],
|
|
57
60
|
"source": "npm",
|
|
58
61
|
"npm": "@inventec/dsh-copilot-auth",
|