@jidekaixin2dian/dsh-file-actions 0.1.13 → 0.1.15
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 +104 -71
- package/LICENSE +21 -21
- package/README.en.md +129 -124
- package/README.md +132 -127
- package/SECURITY.md +44 -30
- package/assets/preview-link.png +0 -0
- package/cordis.patch.yml +5 -5
- package/icon.svg +7 -7
- package/lib/client.js +2852 -2300
- package/lib/index.js +13 -13
- package/locale/en.json +6 -6
- package/locale/zh.json +6 -6
- package/package.json +74 -73
package/lib/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
// dsh-file-actions — host half.
|
|
2
|
-
//
|
|
3
|
-
// The whole feature lives in the browser half: it reuses the Session Remote
|
|
4
|
-
// (`session.openWorkspacePath` / `session.workspacePathApplications`) and the
|
|
5
|
-
// workspace-files Remote (`stat` / `readBytes`) that the shipped Web bundle
|
|
6
|
-
// already serves. Nothing here touches the filesystem or the desktop, so this
|
|
7
|
-
// module only satisfies the bundle row and declares its identity.
|
|
8
|
-
|
|
9
|
-
export const name = 'dsh-file-actions'
|
|
10
|
-
|
|
11
|
-
export const inject = []
|
|
12
|
-
|
|
13
|
-
export function apply() {}
|
|
1
|
+
// dsh-file-actions — host half.
|
|
2
|
+
//
|
|
3
|
+
// The whole feature lives in the browser half: it reuses the Session Remote
|
|
4
|
+
// (`session.openWorkspacePath` / `session.workspacePathApplications`) and the
|
|
5
|
+
// workspace-files Remote (`stat` / `readBytes`) that the shipped Web bundle
|
|
6
|
+
// already serves. Nothing here touches the filesystem or the desktop, so this
|
|
7
|
+
// module only satisfies the bundle row and declares its identity.
|
|
8
|
+
|
|
9
|
+
export const name = 'dsh-file-actions'
|
|
10
|
+
|
|
11
|
+
export const inject = []
|
|
12
|
+
|
|
13
|
+
export function apply() {}
|
package/locale/en.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
{
|
|
2
|
-
"meta": {
|
|
3
|
-
"title": "File Actions",
|
|
4
|
-
"description": "Right-click files and links to open, reveal, copy or save; choose preferred applications by file type."
|
|
5
|
-
}
|
|
6
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "File Actions",
|
|
4
|
+
"description": "Right-click files and links to open, reveal, copy or save; choose preferred applications by file type."
|
|
5
|
+
}
|
|
6
|
+
}
|
package/locale/zh.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
{
|
|
2
|
-
"meta": {
|
|
3
|
-
"title": "文件与链接操作",
|
|
4
|
-
"description": "右键文件和链接,直接打开、定位、复制或另存;支持按文件类型选择首选应用。"
|
|
5
|
-
}
|
|
6
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "文件与链接操作",
|
|
4
|
+
"description": "右键文件和链接,直接打开、定位、复制或另存;支持按文件类型选择首选应用。"
|
|
5
|
+
}
|
|
6
|
+
}
|
package/package.json
CHANGED
|
@@ -1,73 +1,74 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@jidekaixin2dian/dsh-file-actions",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "File and link actions for DeepSeek Harness: open, choose applications, reveal, copy paths or contents, and save files from the chat.",
|
|
5
|
-
"icon": "icon.svg",
|
|
6
|
-
"type": "module",
|
|
7
|
-
"main": "lib/index.js",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": "./lib/index.js",
|
|
10
|
-
"./client": "./lib/client.js",
|
|
11
|
-
"./package.json": "./package.json",
|
|
12
|
-
"./locale/*.json": "./locale/*.json"
|
|
13
|
-
},
|
|
14
|
-
"files": [
|
|
15
|
-
"lib",
|
|
16
|
-
"locale/*.json",
|
|
17
|
-
"cordis.patch.yml",
|
|
18
|
-
"README.md",
|
|
19
|
-
"README.en.md",
|
|
20
|
-
"CHANGELOG.md",
|
|
21
|
-
"LICENSE",
|
|
22
|
-
"icon.svg",
|
|
23
|
-
"assets",
|
|
24
|
-
"SECURITY.md"
|
|
25
|
-
],
|
|
26
|
-
"scripts": {
|
|
27
|
-
"test": "node --test \"test/*.test.js\"",
|
|
28
|
-
"setup:host": "node scripts/setup-host.mjs",
|
|
29
|
-
"test:host": "node scripts/test-host.mjs",
|
|
30
|
-
"pack:check": "node scripts/pack-check.mjs"
|
|
31
|
-
},
|
|
32
|
-
"repository": {
|
|
33
|
-
"type": "git",
|
|
34
|
-
"url": "git+https://github.com/jidekaixin2dian/dsh-file-actions.git"
|
|
35
|
-
},
|
|
36
|
-
"homepage": "https://github.com/jidekaixin2dian/dsh-file-actions#readme",
|
|
37
|
-
"bugs": {
|
|
38
|
-
"url": "https://github.com/jidekaixin2dian/dsh-file-actions/issues"
|
|
39
|
-
},
|
|
40
|
-
"keywords": [
|
|
41
|
-
"dsh",
|
|
42
|
-
"dsh-plugin",
|
|
43
|
-
"deepseek-harness",
|
|
44
|
-
"context-menu",
|
|
45
|
-
"file-actions"
|
|
46
|
-
],
|
|
47
|
-
"author": "jidekaixin2dian",
|
|
48
|
-
"dsh": {
|
|
49
|
-
"bundle": {
|
|
50
|
-
"patch": "./cordis.patch.yml"
|
|
51
|
-
},
|
|
52
|
-
"client": {
|
|
53
|
-
"platform": "web",
|
|
54
|
-
"immediately": true,
|
|
55
|
-
"inject": [
|
|
56
|
-
"@deepseek-ai/dsh-api-remotes",
|
|
57
|
-
"@deepseek-ai/dsh-api-session-controller",
|
|
58
|
-
"@deepseek-ai/dsh-api-workspace-files"
|
|
59
|
-
]
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
"license": "MIT",
|
|
63
|
-
"publishConfig": {
|
|
64
|
-
"access": "public",
|
|
65
|
-
"registry": "https://registry.npmjs.org/"
|
|
66
|
-
},
|
|
67
|
-
"engines": {
|
|
68
|
-
"node": ">=24.0.0"
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@jidekaixin2dian/dsh-file-actions",
|
|
3
|
+
"version": "0.1.15",
|
|
4
|
+
"description": "File and link actions for DeepSeek Harness: open, choose applications, reveal, copy paths or contents, and save files from the chat.",
|
|
5
|
+
"icon": "icon.svg",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "lib/index.js",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": "./lib/index.js",
|
|
10
|
+
"./client": "./lib/client.js",
|
|
11
|
+
"./package.json": "./package.json",
|
|
12
|
+
"./locale/*.json": "./locale/*.json"
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"lib",
|
|
16
|
+
"locale/*.json",
|
|
17
|
+
"cordis.patch.yml",
|
|
18
|
+
"README.md",
|
|
19
|
+
"README.en.md",
|
|
20
|
+
"CHANGELOG.md",
|
|
21
|
+
"LICENSE",
|
|
22
|
+
"icon.svg",
|
|
23
|
+
"assets",
|
|
24
|
+
"SECURITY.md"
|
|
25
|
+
],
|
|
26
|
+
"scripts": {
|
|
27
|
+
"test": "node --test \"test/*.test.js\"",
|
|
28
|
+
"setup:host": "node scripts/setup-host.mjs",
|
|
29
|
+
"test:host": "node scripts/test-host.mjs",
|
|
30
|
+
"pack:check": "node scripts/pack-check.mjs"
|
|
31
|
+
},
|
|
32
|
+
"repository": {
|
|
33
|
+
"type": "git",
|
|
34
|
+
"url": "git+https://github.com/jidekaixin2dian/dsh-file-actions.git"
|
|
35
|
+
},
|
|
36
|
+
"homepage": "https://github.com/jidekaixin2dian/dsh-file-actions#readme",
|
|
37
|
+
"bugs": {
|
|
38
|
+
"url": "https://github.com/jidekaixin2dian/dsh-file-actions/issues"
|
|
39
|
+
},
|
|
40
|
+
"keywords": [
|
|
41
|
+
"dsh",
|
|
42
|
+
"dsh-plugin",
|
|
43
|
+
"deepseek-harness",
|
|
44
|
+
"context-menu",
|
|
45
|
+
"file-actions"
|
|
46
|
+
],
|
|
47
|
+
"author": "jidekaixin2dian",
|
|
48
|
+
"dsh": {
|
|
49
|
+
"bundle": {
|
|
50
|
+
"patch": "./cordis.patch.yml"
|
|
51
|
+
},
|
|
52
|
+
"client": {
|
|
53
|
+
"platform": "web",
|
|
54
|
+
"immediately": true,
|
|
55
|
+
"inject": [
|
|
56
|
+
"@deepseek-ai/dsh-api-remotes",
|
|
57
|
+
"@deepseek-ai/dsh-api-session-controller",
|
|
58
|
+
"@deepseek-ai/dsh-api-workspace-files"
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"license": "MIT",
|
|
63
|
+
"publishConfig": {
|
|
64
|
+
"access": "public",
|
|
65
|
+
"registry": "https://registry.npmjs.org/"
|
|
66
|
+
},
|
|
67
|
+
"engines": {
|
|
68
|
+
"node": ">=24.0.0",
|
|
69
|
+
"dsh": ">=0.2.1-rc.2"
|
|
70
|
+
},
|
|
71
|
+
"devDependencies": {
|
|
72
|
+
"@playwright/test": "1.64.1"
|
|
73
|
+
}
|
|
74
|
+
}
|