dsh-hackertube 0.1.1 → 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 (3) hide show
  1. package/README.en.md +27 -1
  2. package/README.md +27 -1
  3. package/package.json +1 -1
package/README.en.md CHANGED
@@ -18,16 +18,42 @@ The original site works fine on its own. Moving it into the panel changes two th
18
18
 
19
19
  Requires DeepSeek Harness.
20
20
 
21
+ ### Let your agent install it
22
+
23
+ Paste this into a DeepSeek Harness session. The agent installs the plugin, enables it, and checks the result:
24
+
25
+ ```
26
+ Install and enable the HackerTube plugin: plugin_manager install_bundle target=dsh-hackertube.
27
+ If npm fails, use target=github:chow651/dsh-hackertube instead.
28
+ Then confirm dsh-hackertube is enabled in the plugin list and remind me to refresh the page.
29
+ ```
30
+
31
+ ### Install with the plugin manager
32
+
33
+ The package is published on npm as version 0.1.1:
34
+
21
35
  ```
22
36
  plugin_manager install_bundle target=dsh-hackertube
23
37
  ```
24
38
 
25
- If the package is not on npm yet, install from the Git repository. How the host parses the install argument depends on its version, so fall back to the command above if this one fails.
39
+ It can also be installed straight from the Git repository, though how the host parses the install argument depends on its version:
26
40
 
27
41
  ```
28
42
  plugin_manager install_bundle target=github:chow651/dsh-hackertube
29
43
  ```
30
44
 
45
+ ### Install with npm or pnpm
46
+
47
+ ```
48
+ npm install dsh-hackertube
49
+ ```
50
+
51
+ ```
52
+ pnpm add dsh-hackertube
53
+ ```
54
+
55
+ DSH loads plugins from its profile directory, so installing into an ordinary project has no effect. Install inside that profile directory, add the package name to its `dsh.profile.bundles` array, then restart DSH. The `plugin_manager` command above does all three steps for you. Take the manual route only for scripting or bulk deployment.
56
+
31
57
  After installing, enable `dsh-hackertube` in the plugin list and refresh the page. No configuration, no API key, and no data to fetch beforehand.
32
58
 
33
59
  ## Features
package/README.md CHANGED
@@ -18,16 +18,42 @@
18
18
 
19
19
  需要已安装 DeepSeek Harness 本体。
20
20
 
21
+ ### 一句话让 agent 装
22
+
23
+ 把下面这段发给 DSH 里的 agent,安装、启用、核对都由它完成:
24
+
25
+ ```
26
+ 安装并启用 HackerTube 插件:plugin_manager install_bundle target=dsh-hackertube。
27
+ npm 上取不到就改用 target=github:chow651/dsh-hackertube。
28
+ 装完确认插件列表里 dsh-hackertube 已启用,并提醒我刷新页面。
29
+ ```
30
+
31
+ ### 用插件管理器安装
32
+
33
+ 包已发布到 npm,版本 0.1.1:
34
+
21
35
  ```
22
36
  plugin_manager install_bundle target=dsh-hackertube
23
37
  ```
24
38
 
25
- 未发布到 npm 时,可从 Git 仓库安装。宿主如何解析安装参数取决于版本,失败时改用上一条命令。
39
+ 也可以直接从 Git 仓库安装,宿主如何解析安装参数取决于版本:
26
40
 
27
41
  ```
28
42
  plugin_manager install_bundle target=github:chow651/dsh-hackertube
29
43
  ```
30
44
 
45
+ ### 用 npm 或 pnpm 安装
46
+
47
+ ```
48
+ npm install dsh-hackertube
49
+ ```
50
+
51
+ ```
52
+ pnpm add dsh-hackertube
53
+ ```
54
+
55
+ DSH 从 profile 目录加载插件,在普通项目里安装不会生效。需要在该 profile 目录下安装,把包名加入它的 `dsh.profile.bundles` 数组,然后重启 DSH。上面那条 `plugin_manager` 命令会自动完成这三步,只有在写脚本或做批量部署时才需要手动走一遍。
56
+
31
57
  安装后在插件列表中启用 `dsh-hackertube` 并刷新页面。无需额外配置,无需 API key,也不需要在安装前预取任何数据。
32
58
 
33
59
  ## 功能
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-hackertube",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "DeepSeek Harness 插件:在面板里看 Hacker News 二十年推荐的 6454 个技术视频",
5
5
  "type": "module",
6
6
  "license": "MIT",