@maplewf/dsh-web-update 0.0.0-stage → 0.1.0
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/README.en.md +65 -0
- package/README.md +64 -2
- package/client.js +779 -0
- package/cordis.patch.yml +27 -0
- package/icon.svg +15 -0
- package/index.js +766 -0
- package/lib/core.js +259 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +53 -4
package/cordis.patch.yml
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Bundle patch layer: the row loads this package's main entry as the host half.
|
|
2
|
+
# The `dsh.client` declaration in package.json makes the web app load its
|
|
3
|
+
# ./client bundle as the browser half (a Settings page plus its nav icon).
|
|
4
|
+
#
|
|
5
|
+
# config.unit systemd --user unit that runs `dsh web`
|
|
6
|
+
# config.package published package to check and install
|
|
7
|
+
# config.channel npm dist-tag to follow (latest, next, alpha, ...)
|
|
8
|
+
# config.checkOnStart run one check when the service starts
|
|
9
|
+
# config.restartDelaySeconds delay between a finished install and the restart
|
|
10
|
+
# config.restartCommand restart command run inside the transient timer:
|
|
11
|
+
# empty = built-in `systemctl --user restart <unit>`,
|
|
12
|
+
# else run via /bin/sh -c with {unit} substituted.
|
|
13
|
+
# Editable live in Plugins → 配置 for this row.
|
|
14
|
+
# config.commandTimeoutSeconds hard timeout for the npm install
|
|
15
|
+
# config.npmPath npm executable (defaults to /usr/bin/npm)
|
|
16
|
+
# config.tool expose the read-only `check_dsh_update` tool
|
|
17
|
+
- insert:
|
|
18
|
+
- id: version-update
|
|
19
|
+
name: dsh-web-update
|
|
20
|
+
config:
|
|
21
|
+
unit: deepseek-harness-web.service
|
|
22
|
+
package: "@deepseek-ai/dsh"
|
|
23
|
+
channel: latest
|
|
24
|
+
checkOnStart: true
|
|
25
|
+
restartDelaySeconds: 3
|
|
26
|
+
commandTimeoutSeconds: 600
|
|
27
|
+
tool: true
|
package/icon.svg
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64" role="img" aria-label="Version update">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="dsvu-icon-surface" x1="0" y1="0" x2="1" y2="1">
|
|
4
|
+
<stop offset="0" stop-color="#0f9d8a"/>
|
|
5
|
+
<stop offset="1" stop-color="#0b5d63"/>
|
|
6
|
+
</linearGradient>
|
|
7
|
+
</defs>
|
|
8
|
+
<rect x="4" y="4" width="56" height="56" rx="14" fill="url(#dsvu-icon-surface)"/>
|
|
9
|
+
<g fill="none" stroke="#ffffff" stroke-width="4.5" stroke-linecap="round" stroke-linejoin="round">
|
|
10
|
+
<path d="M32 16v20"/>
|
|
11
|
+
<path d="M23 28l9 9 9-9"/>
|
|
12
|
+
<path d="M18 42v4a4 4 0 0 0 4 4h20a4 4 0 0 0 4-4v-4"/>
|
|
13
|
+
</g>
|
|
14
|
+
<circle cx="47" cy="17" r="6" fill="#ff5f57" stroke="#0b5d63" stroke-width="2.5"/>
|
|
15
|
+
</svg>
|