dsh-bulk-update 0.0.0-stage → 1.1.2
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/README.en.md +91 -0
- package/README.md +89 -2
- package/client.js +1041 -0
- package/cordis.patch.yml +7 -0
- package/docs/DETAIL.md +1 -0
- package/docs/DETAIL.zh.md +1 -0
- package/docs/preview.svg +50 -0
- package/icon.svg +6 -0
- package/index.js +8 -0
- package/locale/en.json +7 -0
- package/locale/zh.json +7 -0
- package/package.json +60 -4
package/cordis.patch.yml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Adds the "批量更新" tab to the Plugins page. The Host half is an empty row,
|
|
2
|
+
# present only so this package holds a Loader entry the Client module system
|
|
3
|
+
# serves the browser half for; the tab itself talks to the shipped
|
|
4
|
+
# `pluginManager` Remote.
|
|
5
|
+
- insert:
|
|
6
|
+
- id: bulk-update
|
|
7
|
+
name: dsh-bulk-update
|
package/docs/DETAIL.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+

|
|
@@ -0,0 +1 @@
|
|
|
1
|
+

|
package/docs/preview.svg
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="640" height="300" viewBox="0 0 640 300">
|
|
2
|
+
<rect x="0" y="0" width="640" height="300" rx="14" fill="#f4f6fb"/>
|
|
3
|
+
|
|
4
|
+
<!-- tab strip -->
|
|
5
|
+
<rect x="32" y="24" width="72" height="10" rx="5" fill="#c2cbe0"/>
|
|
6
|
+
<rect x="118" y="24" width="60" height="10" rx="5" fill="#c2cbe0"/>
|
|
7
|
+
<rect x="192" y="22" width="78" height="14" rx="7" fill="#2f5fc4"/>
|
|
8
|
+
<rect x="32" y="46" width="576" height="1" fill="#dde3ef"/>
|
|
9
|
+
|
|
10
|
+
<!-- action bar -->
|
|
11
|
+
<rect x="32" y="62" width="86" height="24" rx="8" fill="#ffffff" stroke="#c9d2e3"/>
|
|
12
|
+
<rect x="128" y="62" width="86" height="24" rx="8" fill="#ffffff" stroke="#c9d2e3"/>
|
|
13
|
+
<rect x="224" y="62" width="104" height="24" rx="8" fill="#2f5fc4"/>
|
|
14
|
+
<rect x="500" y="70" width="108" height="8" rx="4" fill="#c2cbe0"/>
|
|
15
|
+
|
|
16
|
+
<!-- rows -->
|
|
17
|
+
<rect x="32" y="98" width="576" height="40" rx="10" fill="#ffffff" stroke="#dde3ef"/>
|
|
18
|
+
<rect x="48" y="112" width="13" height="13" rx="3" fill="#2f5fc4"/>
|
|
19
|
+
<path d="M50.6 118.4 l3 3 l5 -6" stroke="#ffffff" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
|
|
20
|
+
<rect x="76" y="110" width="150" height="8" rx="4" fill="#93a2bd"/>
|
|
21
|
+
<rect x="76" y="122" width="96" height="6" rx="3" fill="#c9d2e3"/>
|
|
22
|
+
<rect x="452" y="112" width="42" height="8" rx="4" fill="#b3bed4"/>
|
|
23
|
+
<path d="M500 116 h12" stroke="#93a2bd" stroke-width="2" stroke-linecap="round"/>
|
|
24
|
+
<path d="M509 112 l5 4 l-5 4" stroke="#93a2bd" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
|
|
25
|
+
<rect x="520" y="112" width="42" height="8" rx="4" fill="#3f9a6a"/>
|
|
26
|
+
<rect x="520" y="124" width="60" height="6" rx="3" fill="#a9d6bf"/>
|
|
27
|
+
|
|
28
|
+
<rect x="32" y="146" width="576" height="40" rx="10" fill="#ffffff" stroke="#dde3ef"/>
|
|
29
|
+
<rect x="48" y="160" width="13" height="13" rx="3" fill="#2f5fc4"/>
|
|
30
|
+
<path d="M50.6 166.4 l3 3 l5 -6" stroke="#ffffff" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
|
|
31
|
+
<rect x="76" y="158" width="118" height="8" rx="4" fill="#93a2bd"/>
|
|
32
|
+
<rect x="76" y="170" width="132" height="6" rx="3" fill="#c9d2e3"/>
|
|
33
|
+
<rect x="452" y="160" width="42" height="8" rx="4" fill="#b3bed4"/>
|
|
34
|
+
<path d="M500 164 h12" stroke="#93a2bd" stroke-width="2" stroke-linecap="round"/>
|
|
35
|
+
<path d="M509 160 l5 4 l-5 4" stroke="#93a2bd" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
|
|
36
|
+
<rect x="520" y="160" width="42" height="8" rx="4" fill="#3f9a6a"/>
|
|
37
|
+
|
|
38
|
+
<rect x="32" y="194" width="576" height="40" rx="10" fill="#ffffff" stroke="#dde3ef" opacity="0.72"/>
|
|
39
|
+
<rect x="48" y="208" width="13" height="13" rx="3" fill="#ffffff" stroke="#b3bed4" stroke-width="1.5"/>
|
|
40
|
+
<rect x="76" y="206" width="136" height="8" rx="4" fill="#b3bed4"/>
|
|
41
|
+
<rect x="76" y="218" width="84" height="6" rx="3" fill="#d7dde9"/>
|
|
42
|
+
<rect x="452" y="208" width="42" height="8" rx="4" fill="#c9d2e3"/>
|
|
43
|
+
<rect x="520" y="208" width="52" height="8" rx="4" fill="#c9d2e3"/>
|
|
44
|
+
|
|
45
|
+
<!-- progress panel -->
|
|
46
|
+
<rect x="32" y="248" width="576" height="34" rx="10" fill="#ffffff" stroke="#c9d2e3"/>
|
|
47
|
+
<rect x="48" y="258" width="72" height="8" rx="4" fill="#93a2bd"/>
|
|
48
|
+
<rect x="48" y="270" width="544" height="4" rx="2" fill="#e3e8f2"/>
|
|
49
|
+
<rect x="48" y="270" width="356" height="4" rx="2" fill="#2f5fc4"/>
|
|
50
|
+
</svg>
|
package/icon.svg
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 36 36">
|
|
2
|
+
<rect x="3.5" y="7" width="14" height="5" rx="1.6" fill="#8aa6ea"/>
|
|
3
|
+
<rect x="3.5" y="15.5" width="14" height="5" rx="1.6" fill="#7391e0"/>
|
|
4
|
+
<rect x="3.5" y="24" width="14" height="5" rx="1.6" fill="#5c7bd4"/>
|
|
5
|
+
<path d="M27 10.5 L31.5 17 L28.6 17 L28.6 25.5 A1.6 1.6 0 0 1 25.4 25.5 L25.4 17 L22.5 17 Z" fill="#2f5fc4"/>
|
|
6
|
+
</svg>
|
package/index.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Host half of dsh-bulk-update.
|
|
3
|
+
*
|
|
4
|
+
* The whole feature is a Client tab that calls the shipped `pluginManager`
|
|
5
|
+
* Remote (`listBundles`, `listVersions`, `updateBundle`), so this half only
|
|
6
|
+
* holds the Loader row the browser module system is served for.
|
|
7
|
+
*/
|
|
8
|
+
export function apply() {}
|
package/locale/en.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "Bulk update",
|
|
4
|
+
"description": "Adds a Bulk update tab to the Plugins page: tick the third-party plugins you installed, check which have a newer release, then update the ticked ones in order with one click. It reads and replaces packages through DSH's own plugin manager, so it adds no background checks and no automatic updates: nothing changes until you press Update selected.",
|
|
5
|
+
"detail": "docs/DETAIL.md"
|
|
6
|
+
}
|
|
7
|
+
}
|
package/locale/zh.json
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,62 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-bulk-update",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"description": "
|
|
6
|
-
|
|
3
|
+
"version": "1.1.2",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "Batch update the third-party plugins installed in this profile: tick what to update, check for newer versions, then update them in order with one click",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"dsh-plugin",
|
|
8
|
+
"deepseek-harness",
|
|
9
|
+
"cordis",
|
|
10
|
+
"plugin-update",
|
|
11
|
+
"bulk-update"
|
|
12
|
+
],
|
|
13
|
+
"homepage": "https://github.com/sphere-01/dsh-bulk-update#readme",
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "git+https://github.com/sphere-01/dsh-bulk-update.git"
|
|
17
|
+
},
|
|
18
|
+
"bugs": "https://github.com/sphere-01/dsh-bulk-update/issues",
|
|
19
|
+
"author": "sphere-01",
|
|
20
|
+
"license": "MIT",
|
|
21
|
+
"publishConfig": {
|
|
22
|
+
"access": "public"
|
|
23
|
+
},
|
|
24
|
+
"type": "module",
|
|
25
|
+
"main": "index.js",
|
|
26
|
+
"icon": "./icon.svg",
|
|
27
|
+
"exports": {
|
|
28
|
+
".": "./index.js",
|
|
29
|
+
"./client": "./client.js",
|
|
30
|
+
"./icon": "./icon.svg",
|
|
31
|
+
"./locale/*.json": "./locale/*.json",
|
|
32
|
+
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
33
|
+
"./package.json": "./package.json"
|
|
34
|
+
},
|
|
35
|
+
"files": [
|
|
36
|
+
"index.js",
|
|
37
|
+
"client.js",
|
|
38
|
+
"cordis.patch.yml",
|
|
39
|
+
"locale/*.json",
|
|
40
|
+
"docs",
|
|
41
|
+
"icon.svg",
|
|
42
|
+
"README.md",
|
|
43
|
+
"README.en.md",
|
|
44
|
+
"LICENSE"
|
|
45
|
+
],
|
|
46
|
+
"engines": {
|
|
47
|
+
"dsh": ">=0.2.2-rc.1"
|
|
48
|
+
},
|
|
49
|
+
"dsh": {
|
|
50
|
+
"bundle": {
|
|
51
|
+
"patch": "./cordis.patch.yml"
|
|
52
|
+
},
|
|
53
|
+
"client": {
|
|
54
|
+
"platform": "web",
|
|
55
|
+
"immediately": true,
|
|
56
|
+
"inject": [
|
|
57
|
+
"@deepseek-ai/dsh-api-remotes",
|
|
58
|
+
"@deepseek-ai/dsh-client-ui-plugin-manager"
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|