dsh-bridge-gateway 0.1.2 → 0.1.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 +5 -0
- package/client/client.js +21 -0
- package/client/index.js +21 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/client/client.js
CHANGED
|
@@ -3902,6 +3902,27 @@ function injectMobileStyles() {
|
|
|
3902
3902
|
background: var(--dsw-alias-bg-layer-2, #f4f4f7) !important;
|
|
3903
3903
|
}
|
|
3904
3904
|
|
|
3905
|
+
/* \u8F93\u5165\u6846\u6A2A\u5411\u4E0D\u6EA2\u51FA\uFF1A\u5361\u7247\u53CA\u5176\u7F29\u5BB9\u5668\u6700\u5927\u5BBD\u5EA6\u4E0D\u8D85\u8FC7\u89C6\u53E3\uFF0C\u5185\u90E8\u7F16\u8F91\u5668\u53EF\u6536\u7F29\u3001\u957F\u5185\u5BB9\u81EA\u52A8\u6298\u884C */
|
|
3906
|
+
div[class*="uV2eYG_scrollBody"] {
|
|
3907
|
+
max-width: 100vw !important;
|
|
3908
|
+
overflow-x: hidden !important;
|
|
3909
|
+
}
|
|
3910
|
+
div[class*="uV2eYG_card"] {
|
|
3911
|
+
width: 100% !important;
|
|
3912
|
+
max-width: 100% !important;
|
|
3913
|
+
min-width: 0 !important;
|
|
3914
|
+
box-sizing: border-box !important;
|
|
3915
|
+
}
|
|
3916
|
+
div[class*="uV2eYG_card"] div,
|
|
3917
|
+
div[class*="uV2eYG_card"] textarea,
|
|
3918
|
+
div[class*="uV2eYG_card"] [contenteditable="true"] {
|
|
3919
|
+
max-width: 100% !important;
|
|
3920
|
+
min-width: 0 !important;
|
|
3921
|
+
overflow-wrap: anywhere !important;
|
|
3922
|
+
word-break: break-word !important;
|
|
3923
|
+
box-sizing: border-box !important;
|
|
3924
|
+
}
|
|
3925
|
+
|
|
3905
3926
|
/* \u8F93\u5165\u6846\u5E95\u90E8\u5DE5\u5177\u680F\uFF1A\u5F39\u6027\u81EA\u9002\u5E94\uFF0C\u5F7B\u5E95\u675C\u7EDD\u6743\u9650\u9009\u62E9\u5668(Full access)\u4E0E\u6A21\u578B\u9009\u62E9\u5668\u91CD\u53E0\u78B0\u649E */
|
|
3906
3927
|
div[class*="uV2eYG_row"] {
|
|
3907
3928
|
display: flex !important;
|
package/client/index.js
CHANGED
|
@@ -3500,6 +3500,27 @@ function injectMobileStyles() {
|
|
|
3500
3500
|
background: var(--dsw-alias-bg-layer-2, #f4f4f7) !important;
|
|
3501
3501
|
}
|
|
3502
3502
|
|
|
3503
|
+
/* 输入框横向不溢出:卡片及其缩容器最大宽度不超过视口,内部编辑器可收缩、长内容自动折行 */
|
|
3504
|
+
div[class*="uV2eYG_scrollBody"] {
|
|
3505
|
+
max-width: 100vw !important;
|
|
3506
|
+
overflow-x: hidden !important;
|
|
3507
|
+
}
|
|
3508
|
+
div[class*="uV2eYG_card"] {
|
|
3509
|
+
width: 100% !important;
|
|
3510
|
+
max-width: 100% !important;
|
|
3511
|
+
min-width: 0 !important;
|
|
3512
|
+
box-sizing: border-box !important;
|
|
3513
|
+
}
|
|
3514
|
+
div[class*="uV2eYG_card"] div,
|
|
3515
|
+
div[class*="uV2eYG_card"] textarea,
|
|
3516
|
+
div[class*="uV2eYG_card"] [contenteditable="true"] {
|
|
3517
|
+
max-width: 100% !important;
|
|
3518
|
+
min-width: 0 !important;
|
|
3519
|
+
overflow-wrap: anywhere !important;
|
|
3520
|
+
word-break: break-word !important;
|
|
3521
|
+
box-sizing: border-box !important;
|
|
3522
|
+
}
|
|
3523
|
+
|
|
3503
3524
|
/* 输入框底部工具栏:弹性自适应,彻底杜绝权限选择器(Full access)与模型选择器重叠碰撞 */
|
|
3504
3525
|
div[class*="uV2eYG_row"] {
|
|
3505
3526
|
display: flex !important;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-bridge-gateway",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "以 dsh-bridge 为根基、融合 remote-gateway 能力的 DSH 远程访问网关:局域网 / Cloudflare 隧道 / 自建隧道之外,新增「公网直连网关」(0.0.0.0 监听 + 自带 HTTPS 自签证书 + 强制登录门禁),解决移动端外网直连操控电脑。",
|
|
5
5
|
"releaseNotes": "【dsh-bridge-gateway】以 dsh-bridge 为根基、融合 remote-gateway 能力的 DSH 远程访问网关\n• ➕ 公网访问区:隧道 / 直连网关 二选一,网关全部配置项可在界面配置\n• ➕ 直连网关:0.0.0.0:<端口> 自带 HTTPS(自签证书) + 强制 public_only 门禁,复用 AuthManager,链路打通到 DSH loopback\n• 📱 修复移动端选择模型时界面溢出屏幕的问题\n• 默认不启用,安装后原有局域网/隧道/IM 行为完全不变",
|
|
6
6
|
"type": "module",
|