@weniatall/dsh-file-viewer 0.3.3 → 0.3.4
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/LICENSE +21 -0
- package/lib/client.js +6 -3
- package/package.json +5 -5
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 veildawn
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/lib/client.js
CHANGED
|
@@ -604,11 +604,14 @@ window.__ModuleLoader__.load({
|
|
|
604
604
|
@keyframes fv-toast-in{from{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%,0)}}
|
|
605
605
|
/* Floating entry button is strictly disabled across both PC and mobile. */
|
|
606
606
|
.fv-float-entry{display:none!important}
|
|
607
|
-
/* Composer toolbar entry (PC): seated in conversation.input.left beside the + command button
|
|
608
|
-
|
|
607
|
+
/* Composer toolbar entry (PC): seated in conversation.input.left beside the + command button.
|
|
608
|
+
几何必须与宿主原生「+」(.uV2eYG_add) 对齐:28×28、radius-sm、specific-selector 底色、
|
|
609
|
+
label-primary 前景。此前用 999px 圆角 + label-secondary,夹在原生按钮中间显得是一枚
|
|
610
|
+
突兀的实心圆扣,尺寸与圆角都对不上。 */
|
|
611
|
+
.fv-composer-entry{box-sizing:border-box;display:inline-grid;place-items:center;width:28px;height:28px;padding:0;border:none;border-radius:var(--dsw-radius-sm);background:var(--dsw-specific-selector);color:var(--dsw-alias-label-primary);cursor:pointer;flex:none;line-height:1;corner-shape:round;transition:background-color .12s,color .12s,transform .1s}
|
|
609
612
|
.fv-composer-entry:hover{background:var(--dsw-alias-interactive-bg-hover-solid,var(--dsw-alias-interactive-bg-hover));color:var(--dsw-alias-label-primary)}
|
|
610
613
|
.fv-composer-entry:active{transform:scale(.95)}
|
|
611
|
-
.fv-composer-entry svg{display:block;flex:none}
|
|
614
|
+
.fv-composer-entry svg{display:block;flex:none;width:16px;height:16px}
|
|
612
615
|
@media(max-width:768px){.fv-composer-entry{display:none!important}}
|
|
613
616
|
@media(max-width:1100px){.fv-shell{width:min(82vw,900px)}}
|
|
614
617
|
.fv-shell[data-mobile="true"]{width:100%!important;border-left:none!important}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@weniatall/dsh-file-viewer",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.4",
|
|
4
4
|
"description": "Workspace file viewer and Git panel for DeepSeek Harness: file tree, syntax-highlighted code, images, PDF, Excel and Word, plus local/remote branches, paged commit history, commit diffs, working-tree changes and changed-file navigation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -17,9 +17,6 @@
|
|
|
17
17
|
"README.md",
|
|
18
18
|
"cordis.patch.yml"
|
|
19
19
|
],
|
|
20
|
-
"scripts": {
|
|
21
|
-
"test": "node --test test/*.test.mjs && node ../../scripts/check-host-settings.mjs plugins/dsh-file-viewer file-viewer"
|
|
22
|
-
},
|
|
23
20
|
"license": "MIT",
|
|
24
21
|
"keywords": [
|
|
25
22
|
"deepseek-harness",
|
|
@@ -72,5 +69,8 @@
|
|
|
72
69
|
},
|
|
73
70
|
"engines": {
|
|
74
71
|
"node": ">=20.3"
|
|
72
|
+
},
|
|
73
|
+
"scripts": {
|
|
74
|
+
"test": "node --test test/*.test.mjs && node ../../scripts/check-host-settings.mjs plugins/dsh-file-viewer file-viewer"
|
|
75
75
|
}
|
|
76
|
-
}
|
|
76
|
+
}
|