dsh-plugin-animegarden 0.1.5 → 0.1.6

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.md CHANGED
@@ -1,26 +1,25 @@
1
- # AnimeGarden for DeepSeek Harness
1
+ # 🌸 Anime Garden for DeepSeek Harness
2
2
 
3
- 在 DeepSeek Harness 里搜索 Anime Garden 的动画 BT 资源。
3
+ 在 DeepSeek Harness 里搜索 Anime Garden 的动画 BT 资源.
4
4
 
5
- - **会话搜索**:让模型按番剧、字幕组、类型或时间范围找资源,返回带详情、播放和下载链接的列表。
6
- - **搜索面板**:输入即搜、滚动加载,可按字幕组和类型筛选。
7
- - **周历浏览**:按星期查看当季动画,悬停星期快捷项可预览当日动画,点击即可在面板内筛选。
5
+ - **会话搜索**:让 AI 能搜索 Anime Garden 资源
6
+ - **搜索面板**:输入即搜, 可按字幕组和类型筛选动画资源
7
+ - **新番周历**:查看当季新番动画, 快速筛选动画资源
8
8
 
9
9
  ## 安装
10
10
 
11
- 在 Harness 的 Plugins 页面安装 `dsh-plugin-animegarden`,安装后侧边栏会出现 Anime Garden 入口。
11
+ 把下面这句发给你的 DeepSeek Harness:
12
12
 
13
- ## 使用
13
+ > 从 npm 安装最新版 dsh-plugin-animegarden 到当前运行的 DeepSeek Harness
14
14
 
15
- - **让模型找资源**:直接描述需求,例如「使用 AnimeGarden 查找上伊那牡丹第一话资源」,字幕组、时间范围等条件用自然语言说明即可。
16
- - **搜索面板**:点击侧边栏图标打开,搜索即可;工具栏可切换周历并按字幕组 / 类型筛选。
15
+ 也可以手动安装: **Plugins → Add plugin** 输入包名, 或执行 `dsh plugin add dsh-plugin-animegarden`.
17
16
 
18
- ## 配置
17
+ 安装后, 侧边栏出现 🌸 Anime Garden.
19
18
 
20
- 默认使用公开 API,无需配置;自建服务可在 [cordis.patch.yml](./cordis.patch.yml) 中修改 `baseURL`。
19
+ ## 更新
20
+
21
+ 暂时不支持自动更新, 先在 **插件 → 已安装插件** 中卸载当前版本, 再按上面的方式安装最新版.
21
22
 
22
23
  ## 许可证
23
24
 
24
25
  AGPL-3.0 License © 2023 [XLor](https://github.com/yjl9903)
25
-
26
- 标题字体使用 Quicksand(SIL Open Font License 1.1)
package/dist/index.mjs CHANGED
@@ -69,13 +69,14 @@ function renderMarkdown(args, value) {
69
69
  const lines = ["### AnimeGarden \u8D44\u6E90\u641C\u7D22", ""];
70
70
  if (resources.length === 0) {
71
71
  lines.push(
72
- search.length > 0 ? `\u672A\u627E\u5230\u5339\u914D\u300C${search}\u300D\u7684\u8D44\u6E90\uFF08\u6700\u591A ${limit} \u6761\uFF09\u3002\u53EF\u5C1D\u8BD5\u653E\u5BBD\u7B5B\u9009\uFF1A` : `\u672A\u627E\u5230\u5339\u914D\u8D44\u6E90\uFF08\u6700\u591A ${limit} \u6761\uFF09\u3002\u53EF\u5C1D\u8BD5\u653E\u5BBD\u7B5B\u9009\uFF1A`
72
+ search.length > 0 ? `\u672A\u627E\u5230\u5339\u914D\u300C${search}\u300D\u7684\u8D44\u6E90\uFF08\u6700\u591A ${limit} \u6761\uFF09\u3002` : `\u672A\u627E\u5230\u5339\u914D\u8D44\u6E90\uFF08\u6700\u591A ${limit} \u6761\uFF09\u3002`
73
73
  );
74
74
  lines.push("");
75
75
  lines.push(`\u5206\u9875\u53C2\u6570\uFF1A${formatPagination(value.pagination)}`);
76
76
  lines.push(`\u7B5B\u9009\u53C2\u6570\uFF1A${formatResolvedFilter(value.filter)}`);
77
77
  lines.push(`\u54CD\u5E94\u65F6\u95F4\uFF1A\`${value.timestamp}\``);
78
78
  lines.push("");
79
+ lines.push("\u53EF\u5C1D\u8BD5\u653E\u5BBD\u7B5B\u9009\uFF1A");
79
80
  lines.push(...emptyResultHints(input).map((hint) => `- ${hint}`));
80
81
  return [{ type: "text", text: lines.join("\n").trim() }];
81
82
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-plugin-animegarden",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Anime Garden 是一个动画 BT 资源聚合站, 你可以在这里聚合搜索来自動漫花園、蜜柑计划、萌番组和 ANi 的动画资源.",
5
5
  "keywords": [
6
6
  "anime",
@@ -50,12 +50,14 @@
50
50
  "sonner": "2.0.8"
51
51
  },
52
52
  "engines": {
53
- "node": ">=24.0.0"
53
+ "node": ">=24",
54
+ "dsh": ">=0.2.1-rc.5"
54
55
  },
55
56
  "publishConfig": {
56
57
  "access": "public"
57
58
  },
58
59
  "dsh": {
60
+ "manifestVersion": 1,
59
61
  "bundle": {
60
62
  "patch": "./cordis.patch.yml"
61
63
  },