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/README.md +63 -24
- package/client.js +919 -0
- package/cordis.patch.yml +1 -1
- package/icon.svg +8 -4
- package/index.js +679 -32
- package/locale/en.json +2 -2
- package/locale/zh.json +2 -2
- package/package.json +12 -2
package/locale/en.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"meta": {
|
|
3
|
-
"title": "GitHub
|
|
4
|
-
"description": "
|
|
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": "
|
|
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.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"description": "DeepSeek Harness plugin:
|
|
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
|
}
|