@lihuu/dsh-about 0.1.0 → 0.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.
Files changed (2) hide show
  1. package/README.md +12 -27
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,40 +1,25 @@
1
- # dsh-about
1
+ # @lihuu/dsh-about
2
2
 
3
- "About" settings section for DeepSeek Harness web GUI. Registers a "关于" page in the settings panel that shows the running version and build date, read live from the host zero main-repo changes.
3
+ A [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) plugin that adds an **About** page to the web GUI settings panel.
4
4
 
5
5
  ## What it does
6
6
 
7
- - **Host half** (`src/index.ts`): registers the `aboutInfo` Typert Remote service. `aboutInfo/get` reads the running version from `apps/cli/package.json` and the build date from the built CLI's mtime (`apps/cli/lib/bin.js`).
8
- - **Browser half** (`lib/client.js`): registers a "关于" page into the `settings.section` list slot and resolves the data through `connection.rpc.call('/api', 'aboutInfo/get')`.
7
+ - Shows the **running version** of DeepSeek Harness
8
+ - Shows the **build date** of the currently running build
9
+ - Values are read live on every page open, so they always reflect the current build
9
10
 
10
- ## Install
11
-
12
- From the `dsh-plugins` repo root:
13
-
14
- ```sh
15
- ./install.sh
16
- ```
11
+ ## Requirements
17
12
 
18
- This symlinks the plugin into `$DSH_HOME/plugins/dsh-about` and adds its row to `$DSH_HOME/cordis.patch.yml`. Then restart dsh-web:
13
+ - [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) 0.1.2+
19
14
 
20
- ```sh
21
- launchctl kickstart -k gui/501/com.lihu.dsh-web
22
- ```
23
-
24
- ## Build
25
-
26
- The host half is TypeScript; rebuild it after editing `src/index.ts`:
15
+ ## Install
27
16
 
28
17
  ```sh
29
- cd plugins/dsh-about && ./node_modules/typescript/bin/tsc -p tsconfig.json
18
+ dsh plugin --profile web add @lihuu/dsh-about
30
19
  ```
31
20
 
32
- The browser half (`lib/client.js`) is hand-written plain JS and needs no build.
21
+ Restart the web service, then open **Settings About** in the GUI.
33
22
 
34
- ## Notes
23
+ ## License
35
24
 
36
- - The harness checkout path is read from `$DSH_REPO` (falling back to the
37
- process working directory), so the plugin carries no machine-specific path.
38
- Export `DSH_REPO` in your launchd env (the dsh-plugins `env.sh` does) or run
39
- dsh from its checkout.
40
- - Version and build date are read live on each page open, so they always reflect the currently running build.
25
+ MIT
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lihuu/dsh-about",
3
- "version": "0.1.0",
4
- "description": "About section for DeepSeek Harness web GUI settings: shows the running version and build date, read live from the host (apps/cli/package.json + built CLI mtime) — zero main-repo changes.",
3
+ "version": "0.1.2",
4
+ "description": "DeepSeek Harness plugin: adds an About page to the web GUI settings showing the running version and build date.",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
7
7
  "exports": {