dsh-github-repo-search 1.0.0 → 1.3.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/locale/en.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "meta": {
3
- "title": "GitHub repository search",
4
- "description": "Adds three agent tools that search GitHub repositories, read one repository in detail (including its README), and report the current API quota. Use github_search_repos with keywords such as \"svg editor\" to find projects, then github_repo to inspect the chosen one. Each call goes to the GitHub REST API over the network without going through your DSH account; results are returned as external data, and the plugin registers no commands or UI of its own. Search matches repository names, descriptions and topics only, so English or exact project names work best. Anonymous requests are limited to 60 per hour per IP; set GITHUB_TOKEN in the environment that starts DSH for 5000 per hour. Disabling the bundle removes all three tools immediately.",
3
+ "title": "GitHub search",
4
+ "description": "Give the agent real GitHub access: repositories, code, issues and recent trends through six tools, with results collected in a right-sidebar panel you can revisit, star and compare side by side. Try \"find SVG editors sorted by stars\", \"how does useProjection work in this repo\", or \"what bugs are still open here\" — the model picks the matching tool. The panel splits into repositories, code and issues tabs; cards expand to language mix, latest release and README, and hold starred repositories across sessions or put two or three candidates side by side. Every call goes straight to the GitHub REST API without going through your DSH account, and results are treated as external data, not instructions. Anonymous access allows 60 requests an hour and code search requires a token; store GITHUB_TOKEN in the DSH credential store for 5000 an hour. The token is only sent to github.com, api.github.com and hosts you list in trustedHosts. The plugin registers no commands, and disabling it removes all six tools immediately.",
5
5
  "detail": "docs/DETAIL.md"
6
6
  }
7
7
  }
package/locale/zh.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "meta": {
3
- "title": "GitHub 仓库检索",
4
- "description": "给智能体加三个工具:github_search_repos 按关键词检索 GitHub 仓库(星标、语言、许可证、最近推送、简介、链接),github_repo 看单个仓库详情并读 README,github_rate 查当前 API 配额。用法举例:直接说「去 GitHub 上搜一下 SVG 编辑器,按 star 排序」,模型会调用 github_search_repos;想细看某个仓库再说一句就能用 github_repo 展开。每次调用都直接访问 GitHub REST API,不经过 DSH 账号,返回内容按外部数据处理;插件自身不带命令和界面。匿名配额 60 次/小时(按 IP,其中搜索接口 10 次/小时),在启动 DSH 的环境里设置 GITHUB_TOKEN 可提到 5000 次/小时。搜索只匹配仓库名、描述和 topics,中文关键词命中率低,用英文或项目原名更容易搜到。停用该插件包后三个工具立即消失。",
3
+ "title": "GitHub 检索",
4
+ "description": "让智能体直接检索 GitHub:仓库、代码、issue 与近期趋势,六个工具,结果在右侧栏成面板可回看、可收藏、可并排对比。用法举例:「搜一下 SVG 编辑器按 star 排序」「这个库里 useProjection 怎么实现的」「这个项目还有哪些没关的 bug」——模型会自己选对应工具。面板按仓库/代码/议题分标签,卡片可展开语言构成、最新 Release 与 README,支持星标收藏(跨会话保留)和 2–3 个候选并排比较。每次调用直连 GitHub REST API,不经过 DSH 账号;返回内容按外部数据处理,不作为指令。匿名配额 60 次/小时且代码搜索必须登录,建议在 DSH 密钥库里存一个 GITHUB_TOKEN(5000 次/小时);token 只发往 github.com/api.github.com 以及你显式列入 trustedHosts 的主机。插件没有自己的命令,停用后六个工具立即消失。",
5
5
  "detail": "docs/DETAIL.zh.md"
6
6
  }
7
7
  }
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "dsh-github-repo-search",
3
- "version": "1.0.0",
3
+ "version": "1.3.0",
4
4
  "type": "module",
5
- "description": "DeepSeek Harness plugin: three agent tools to search GitHub repositories, read one repository in detail with its README, and check the API quota.",
5
+ "description": "DeepSeek Harness plugin: search GitHub repositories, code, issues and trends from chat, then revisit, star and compare the results in a right-sidebar panel.",
6
6
  "license": "MIT",
7
7
  "author": "ZhaoDezhang9998",
8
8
  "keywords": [
@@ -12,6 +12,7 @@
12
12
  "github",
13
13
  "github-search",
14
14
  "repository-search",
15
+ "code-search",
15
16
  "agent-tools"
16
17
  ],
17
18
  "repository": {
@@ -28,11 +29,13 @@
28
29
  },
29
30
  "exports": {
30
31
  ".": "./index.js",
32
+ "./client": "./client.js",
31
33
  "./locale/*.json": "./locale/*.json",
32
34
  "./icon": "./icon.svg"
33
35
  },
34
36
  "files": [
35
37
  "index.js",
38
+ "client.js",
36
39
  "cordis.patch.yml",
37
40
  "locale/*.json",
38
41
  "docs",
@@ -43,6 +46,13 @@
43
46
  "dsh": {
44
47
  "bundle": {
45
48
  "patch": "./cordis.patch.yml"
49
+ },
50
+ "client": {
51
+ "platform": "web",
52
+ "immediately": true,
53
+ "inject": [
54
+ "@deepseek-ai/dsh-client-ui-sidebar-right"
55
+ ]
46
56
  }
47
57
  }
48
58
  }