@crosery/dsh-viewer 0.0.0-stage → 0.3.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/package.json CHANGED
@@ -1,6 +1,129 @@
1
1
  {
2
2
  "name": "@crosery/dsh-viewer",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.3.1",
4
+ "description": "Renders images, video, audio, PDF and Office documents inline in the DeepSeek Harness web UI and desktop app through a display_file tool, streaming bytes over a signed HTTP route with range support.",
5
+ "keywords": [
6
+ "dsh",
7
+ "dsh-plugin",
8
+ "deepseek-harness",
9
+ "cordis-plugin",
10
+ "viewer",
11
+ "preview",
12
+ "image",
13
+ "video",
14
+ "audio",
15
+ "pdf",
16
+ "office",
17
+ "docx",
18
+ "xlsx",
19
+ "pptx"
20
+ ],
21
+ "homepage": "https://github.com/Crosery/dsh-viewer#readme",
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "git+https://github.com/Crosery/dsh-viewer.git"
25
+ },
26
+ "bugs": {
27
+ "url": "https://github.com/Crosery/dsh-viewer/issues"
28
+ },
29
+ "author": "Crosery",
30
+ "license": "MIT",
31
+ "publishConfig": {
32
+ "access": "public",
33
+ "registry": "https://registry.npmjs.org/"
34
+ },
35
+ "type": "module",
36
+ "main": "lib/index.js",
37
+ "types": "lib/types/index.d.ts",
38
+ "exports": {
39
+ ".": {
40
+ "types": "./lib/types/index.d.ts",
41
+ "default": "./lib/index.js"
42
+ },
43
+ "./client": {
44
+ "types": "./lib/types/client/index.d.ts",
45
+ "default": "./lib/client.js"
46
+ },
47
+ "./package.json": "./package.json"
48
+ },
49
+ "files": [
50
+ "lib/index.js",
51
+ "lib/client.js",
52
+ "lib/types/**/*.d.ts",
53
+ "cordis.patch.yml",
54
+ "screenshots.json",
55
+ "assets/**",
56
+ "README.md",
57
+ "README.zh.md",
58
+ "LICENSE"
59
+ ],
60
+ "engines": {
61
+ "node": "^22.19 || >=24",
62
+ "dsh": ">=0.0.1-rc.0 <0.0.2-0 || >=0.1.0-rc.0 <0.1.1-0 || >=0.1.1-rc.0 <0.1.2-0 || >=0.1.2-alpha.0 <0.1.3-0 || >=0.1.3-alpha.0 <0.1.4-0 || >=0.1.5-alpha.0 <0.1.6-0 || >=0.1.6-alpha.0 <0.1.7-0 || >=0.1.7-alpha.0 <0.1.8-0 || >=0.2.0-rc.1 <0.2.1-0 || >=0.2.1-alpha.0 <0.2.2-0 || >=0.2.2-alpha.0 <0.2.3-0"
63
+ },
64
+ "dsh": {
65
+ "bundle": {
66
+ "patch": "./cordis.patch.yml"
67
+ },
68
+ "client": {
69
+ "platform": "web",
70
+ "inject": [
71
+ "@deepseek-ai/dsh-client-locale",
72
+ "@deepseek-ai/dsh-client-ui-renderer",
73
+ "@deepseek-ai/dsh-client-ui-tool"
74
+ ]
75
+ }
76
+ },
77
+ "scripts": {
78
+ "build": "node scripts/build.mjs",
79
+ "typecheck": "tsc --noEmit -p tsconfig.json && tsc --noEmit -p tsconfig.client.json",
80
+ "test": "node --test tests/*.test.ts",
81
+ "check": "node scripts/check-invariants.mjs",
82
+ "check:dist": "node scripts/check-dist.mjs"
83
+ },
84
+ "dependencies": {
85
+ "@deepseek-ai/schemastery": "^3.0.0"
86
+ },
87
+ "peerDependencies": {
88
+ "@deepseek-ai/cordis": "^4.0.0",
89
+ "@deepseek-ai/dsh-agent": ">=0.0.1-rc.0 <0.0.2-0 || >=0.1.0-rc.0 <0.1.1-0 || >=0.1.1-rc.0 <0.1.2-0 || >=0.1.2-alpha.0 <0.1.3-0 || >=0.1.3-alpha.0 <0.1.4-0 || >=0.1.5-alpha.0 <0.1.6-0 || >=0.1.6-alpha.0 <0.1.7-0 || >=0.1.7-alpha.0 <0.1.8-0 || >=0.2.0-rc.1 <0.2.1-0 || >=0.2.1-alpha.0 <0.2.2-0 || >=0.2.2-alpha.0 <0.2.3-0",
90
+ "@deepseek-ai/dsh-attachment": ">=0.0.1-rc.0 <0.0.2-0 || >=0.1.0-rc.0 <0.1.1-0 || >=0.1.1-rc.0 <0.1.2-0 || >=0.1.2-alpha.0 <0.1.3-0 || >=0.1.3-alpha.0 <0.1.4-0 || >=0.1.5-alpha.0 <0.1.6-0 || >=0.1.6-alpha.0 <0.1.7-0 || >=0.1.7-alpha.0 <0.1.8-0 || >=0.2.0-rc.1 <0.2.1-0 || >=0.2.1-alpha.0 <0.2.2-0 || >=0.2.2-alpha.0 <0.2.3-0",
91
+ "@deepseek-ai/dsh-fs": ">=0.0.1-rc.0 <0.0.2-0 || >=0.1.0-rc.0 <0.1.1-0 || >=0.1.1-rc.0 <0.1.2-0 || >=0.1.2-alpha.0 <0.1.3-0 || >=0.1.3-alpha.0 <0.1.4-0 || >=0.1.5-alpha.0 <0.1.6-0 || >=0.1.6-alpha.0 <0.1.7-0 || >=0.1.7-alpha.0 <0.1.8-0 || >=0.2.0-rc.1 <0.2.1-0 || >=0.2.1-alpha.0 <0.2.2-0 || >=0.2.2-alpha.0 <0.2.3-0",
92
+ "@deepseek-ai/dsh-home-paths": ">=0.0.1-rc.0 <0.0.2-0 || >=0.1.0-rc.0 <0.1.1-0 || >=0.1.1-rc.0 <0.1.2-0 || >=0.1.2-alpha.0 <0.1.3-0 || >=0.1.3-alpha.0 <0.1.4-0 || >=0.1.5-alpha.0 <0.1.6-0 || >=0.1.6-alpha.0 <0.1.7-0 || >=0.1.7-alpha.0 <0.1.8-0 || >=0.2.0-rc.1 <0.2.1-0 || >=0.2.1-alpha.0 <0.2.2-0 || >=0.2.2-alpha.0 <0.2.3-0",
93
+ "@deepseek-ai/dsh-host-webserver": ">=0.0.1-rc.0 <0.0.2-0 || >=0.1.0-rc.0 <0.1.1-0 || >=0.1.1-rc.0 <0.1.2-0 || >=0.1.2-alpha.0 <0.1.3-0 || >=0.1.3-alpha.0 <0.1.4-0 || >=0.1.5-alpha.0 <0.1.6-0 || >=0.1.6-alpha.0 <0.1.7-0 || >=0.1.7-alpha.0 <0.1.8-0 || >=0.2.0-rc.1 <0.2.1-0 || >=0.2.1-alpha.0 <0.2.2-0 || >=0.2.2-alpha.0 <0.2.3-0",
94
+ "@deepseek-ai/dsh-llm": ">=0.0.1-rc.0 <0.0.2-0 || >=0.1.0-rc.0 <0.1.1-0 || >=0.1.1-rc.0 <0.1.2-0 || >=0.1.2-alpha.0 <0.1.3-0 || >=0.1.3-alpha.0 <0.1.4-0 || >=0.1.5-alpha.0 <0.1.6-0 || >=0.1.6-alpha.0 <0.1.7-0 || >=0.1.7-alpha.0 <0.1.8-0 || >=0.2.0-rc.1 <0.2.1-0 || >=0.2.1-alpha.0 <0.2.2-0 || >=0.2.2-alpha.0 <0.2.3-0",
95
+ "@deepseek-ai/dsh-sandbox": ">=0.0.1-rc.0 <0.0.2-0 || >=0.1.0-rc.0 <0.1.1-0 || >=0.1.1-rc.0 <0.1.2-0 || >=0.1.2-alpha.0 <0.1.3-0 || >=0.1.3-alpha.0 <0.1.4-0 || >=0.1.5-alpha.0 <0.1.6-0 || >=0.1.6-alpha.0 <0.1.7-0 || >=0.1.7-alpha.0 <0.1.8-0 || >=0.2.0-rc.1 <0.2.1-0 || >=0.2.1-alpha.0 <0.2.2-0 || >=0.2.2-alpha.0 <0.2.3-0",
96
+ "@deepseek-ai/dsh-settings": ">=0.0.1-rc.0 <0.0.2-0 || >=0.1.0-rc.0 <0.1.1-0 || >=0.1.1-rc.0 <0.1.2-0 || >=0.1.2-alpha.0 <0.1.3-0 || >=0.1.3-alpha.0 <0.1.4-0 || >=0.1.5-alpha.0 <0.1.6-0 || >=0.1.6-alpha.0 <0.1.7-0 || >=0.1.7-alpha.0 <0.1.8-0 || >=0.2.0-rc.1 <0.2.1-0 || >=0.2.1-alpha.0 <0.2.2-0 || >=0.2.2-alpha.0 <0.2.3-0",
97
+ "@deepseek-ai/dsh-system-prompt": ">=0.0.1-rc.0 <0.0.2-0 || >=0.1.0-rc.0 <0.1.1-0 || >=0.1.1-rc.0 <0.1.2-0 || >=0.1.2-alpha.0 <0.1.3-0 || >=0.1.3-alpha.0 <0.1.4-0 || >=0.1.5-alpha.0 <0.1.6-0 || >=0.1.6-alpha.0 <0.1.7-0 || >=0.1.7-alpha.0 <0.1.8-0 || >=0.2.0-rc.1 <0.2.1-0 || >=0.2.1-alpha.0 <0.2.2-0 || >=0.2.2-alpha.0 <0.2.3-0",
98
+ "@deepseek-ai/dsh-tools": ">=0.0.1-rc.0 <0.0.2-0 || >=0.1.0-rc.0 <0.1.1-0 || >=0.1.1-rc.0 <0.1.2-0 || >=0.1.2-alpha.0 <0.1.3-0 || >=0.1.3-alpha.0 <0.1.4-0 || >=0.1.5-alpha.0 <0.1.6-0 || >=0.1.6-alpha.0 <0.1.7-0 || >=0.1.7-alpha.0 <0.1.8-0 || >=0.2.0-rc.1 <0.2.1-0 || >=0.2.1-alpha.0 <0.2.2-0 || >=0.2.2-alpha.0 <0.2.3-0"
99
+ },
100
+ "devDependencies": {
101
+ "@deepseek-ai/cordis": "4.0.4",
102
+ "@deepseek-ai/dsh-agent": "0.1.7-rc.2",
103
+ "@deepseek-ai/dsh-api-remotes": "0.1.7-rc.2",
104
+ "@deepseek-ai/dsh-attachment": "0.1.7-rc.2",
105
+ "@deepseek-ai/dsh-client-locale": "0.1.7-rc.2",
106
+ "@deepseek-ai/dsh-client-ui-renderer": "0.1.7-rc.2",
107
+ "@deepseek-ai/dsh-client-ui-slots": "0.1.7-rc.2",
108
+ "@deepseek-ai/dsh-client-ui-tool": "0.1.7-rc.2",
109
+ "@deepseek-ai/dsh-fs": "0.1.7-rc.2",
110
+ "@deepseek-ai/dsh-home-paths": "0.1.7-rc.2",
111
+ "@deepseek-ai/dsh-host-webserver": "0.1.7-rc.2",
112
+ "@deepseek-ai/dsh-llm": "0.1.7-rc.2",
113
+ "@deepseek-ai/dsh-sandbox": "0.1.7-rc.2",
114
+ "@deepseek-ai/dsh-settings": "0.1.7-rc.2",
115
+ "@deepseek-ai/dsh-system-prompt": "0.1.7-rc.2",
116
+ "@deepseek-ai/dsh-tools": "0.1.7-rc.2",
117
+ "@deepseek-ai/schemastery": "~3.18.4",
118
+ "@types/node": "^24.0.0",
119
+ "@types/react": "~18.3.1",
120
+ "@types/react-dom": "~18.3.1",
121
+ "esbuild": "^0.28.0",
122
+ "playwright-core": "1.63.0",
123
+ "semver": "^7.8.5",
124
+ "typescript": "^5.9.0"
125
+ },
126
+ "allowScripts": {
127
+ "esbuild@0.28.2": true
128
+ }
129
+ }
@@ -0,0 +1,5 @@
1
+ [
2
+ "assets/screenshot-1-media.png",
3
+ "assets/screenshot-2-office.png",
4
+ "assets/screenshot-3-pdf-html.png"
5
+ ]