@poco-ai/agentero-dsh 0.0.0-stage → 0.1.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 +83 -2
- package/cordis.patch.yml +12 -0
- package/package.json +58 -3
package/README.md
CHANGED
|
@@ -1,3 +1,84 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Agentero × DeepSeek Harness
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Agentero 是本地优先的科研工作台。这个插件把它的文献库、笔记和 PDF 阅读器带进 [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness)(下称 dsh),让 Agent 和你坐在同一个窗口里做科研:你读论文、做判断,Agent 帮你查资料、翻笔记、整理结论。所有资料都留在自己的本地。
|
|
4
|
+
|
|
5
|
+

|
|
6
|
+
|
|
7
|
+
## 一起做科研
|
|
8
|
+
|
|
9
|
+
- 聊天在中间,论文在右边,读到哪句可以直接丢回对话。
|
|
10
|
+
- Agent 能查你已经有的文献和笔记,回答时引用真实的本地论文。
|
|
11
|
+
- 讨论完可以让 Agent 把结论整理成笔记,下次接着用。
|
|
12
|
+
- 新论文让 Agent 按 arXiv、DOI 或链接导入,不用手动整理文件。
|
|
13
|
+
|
|
14
|
+
可以这样说:
|
|
15
|
+
|
|
16
|
+
> 帮我把这个方向近两年的论文找出来,导入文献库,再结合我的笔记整理一份提纲。
|
|
17
|
+
|
|
18
|
+
> 把这轮讨论整理成一篇阅读笔记,开头列出用到的论文。
|
|
19
|
+
|
|
20
|
+

|
|
21
|
+
|
|
22
|
+
## 能做什么
|
|
23
|
+
|
|
24
|
+
- **读文献**:搜索、标签、导入、补下载、删除到回收站。
|
|
25
|
+
- **读 PDF**:翻页、查找、目录、链接;划词后复制、高亮、批注、翻译或加入对话。
|
|
26
|
+
- **全文翻译**:用 dsh 配置的 DeepSeek 模型在原页面上逐段替换,保留公式和版面。
|
|
27
|
+
- **写笔记**:编辑自己的笔记,也可以让 Agent 代写;每篇论文还有自己的专属笔记。
|
|
28
|
+
- **让 Agent 动手**:查文献、导入论文、读和搜笔记、整理提纲。
|
|
29
|
+
|
|
30
|
+
## 安装
|
|
31
|
+
|
|
32
|
+
需要 dsh 0.2.x、Node.js 24.9+、一个已有的 Agentero Vault,以及 Agentero CLI。
|
|
33
|
+
|
|
34
|
+
先安装 CLI:在 Agentero 桌面端打开「设置 → 关于 → 安装 CLI」,或参考 [CONTRIBUTING.md](CONTRIBUTING.md) 本地构建。确认终端里能运行:
|
|
35
|
+
|
|
36
|
+
```sh
|
|
37
|
+
agentero --help
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
然后安装插件:
|
|
41
|
+
|
|
42
|
+
```sh
|
|
43
|
+
dsh plugin --profile web add @poco-ai/agentero-dsh
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
在 `~/.dsh/profiles/web/cordis.patch.yml` 里填 Vault 和 CLI 路径:
|
|
47
|
+
|
|
48
|
+
```yaml
|
|
49
|
+
- id: agentero-host
|
|
50
|
+
config:
|
|
51
|
+
vault: /path/to/vault
|
|
52
|
+
agenteroBin: /path/to/agentero
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
启动:
|
|
56
|
+
|
|
57
|
+
```sh
|
|
58
|
+
dsh web --no-open
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
看到 `[agentero] plugin loaded` 后打开终端打印的链接。点侧边栏「更多」→「设置」→「Agentero」,填知识库目录和 Agentero CLI 的可执行文件位置;CLI 留空则使用 PATH 里的 `agentero`。
|
|
62
|
+
|
|
63
|
+
也可以直接改 `~/.dsh/profiles/web/cordis.patch.yml`,适合脚本化部署:
|
|
64
|
+
|
|
65
|
+
```yaml
|
|
66
|
+
- id: agentero-host
|
|
67
|
+
config:
|
|
68
|
+
vault: /path/to/vault
|
|
69
|
+
agenteroBin: /path/to/agentero
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## 数据
|
|
73
|
+
|
|
74
|
+
论文、PDF、笔记和标注都留在 Vault 里,和 Agentero 桌面端共用。插件只在本机运行,不另建数据库。
|
|
75
|
+
|
|
76
|
+
## 已知限制
|
|
77
|
+
|
|
78
|
+
- 扫描件需要先在桌面端做 OCR 和版面分析。
|
|
79
|
+
- 全文翻译重新打开文档会重新计算;译文上的原文链接和高亮暂不支持。
|
|
80
|
+
- 「推荐」卡片暂未启用。
|
|
81
|
+
|
|
82
|
+
## 开发
|
|
83
|
+
|
|
84
|
+
见 [CONTRIBUTING.md](CONTRIBUTING.md)。
|
package/cordis.patch.yml
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
- insert:
|
|
2
|
+
- id: agentero-host
|
|
3
|
+
name: '@poco-ai/agentero-dsh-host'
|
|
4
|
+
- id: agentero-library
|
|
5
|
+
name: '@poco-ai/agentero-dsh-library'
|
|
6
|
+
- id: agentero-notes
|
|
7
|
+
name: '@poco-ai/agentero-dsh-notes'
|
|
8
|
+
- id: agentero-pdf
|
|
9
|
+
name: '@poco-ai/agentero-dsh-pdf'
|
|
10
|
+
# Temporarily disabled: the recommend dock is not loaded until further notice.
|
|
11
|
+
# - id: agentero-recommend
|
|
12
|
+
# name: '@poco-ai/agentero-dsh-recommend'
|
package/package.json
CHANGED
|
@@ -1,6 +1,61 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@poco-ai/agentero-dsh",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "DeepSeek Harness bundle that connects Agentero to dsh",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"engines": {
|
|
7
|
+
"node": ">=24.9.0",
|
|
8
|
+
"dsh": ">=0.2.1-rc.5 <0.3.0"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"cordis.patch.yml"
|
|
12
|
+
],
|
|
13
|
+
"publishConfig": {
|
|
14
|
+
"access": "public"
|
|
15
|
+
},
|
|
16
|
+
"dsh": {
|
|
17
|
+
"bundle": {
|
|
18
|
+
"patch": "./cordis.patch.yml"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"@poco-ai/agentero-dsh-host": "^0.1.0",
|
|
23
|
+
"@poco-ai/agentero-dsh-library": "^0.1.0",
|
|
24
|
+
"@poco-ai/agentero-dsh-notes": "^0.1.0",
|
|
25
|
+
"@poco-ai/agentero-dsh-pdf": "^0.1.0",
|
|
26
|
+
"@poco-ai/agentero-dsh-recommend": "^0.1.0"
|
|
27
|
+
},
|
|
28
|
+
"devDependencies": {
|
|
29
|
+
"@deepseek-ai/cordis": "4.0.6-alpha.1",
|
|
30
|
+
"@deepseek-ai/dsh-api-session-controller": "0.2.2-alpha.2",
|
|
31
|
+
"@deepseek-ai/dsh-client-locale": "0.2.2-alpha.2",
|
|
32
|
+
"@deepseek-ai/dsh-client-store": "0.2.2-alpha.2",
|
|
33
|
+
"@deepseek-ai/dsh-client-ui-conversation": "0.2.2-alpha.2",
|
|
34
|
+
"@deepseek-ai/dsh-client-ui-layout": "0.2.2-alpha.2",
|
|
35
|
+
"@deepseek-ai/dsh-client-ui-primitives": "0.2.2-alpha.2",
|
|
36
|
+
"@deepseek-ai/dsh-client-ui-renderer": "0.2.2-alpha.2",
|
|
37
|
+
"@deepseek-ai/dsh-client-ui-session": "0.2.2-alpha.2",
|
|
38
|
+
"@deepseek-ai/dsh-client-ui-settings": "0.2.2-alpha.2",
|
|
39
|
+
"@deepseek-ai/dsh-client-ui-sidebar-right": "0.2.2-alpha.2",
|
|
40
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.2.2-alpha.2",
|
|
41
|
+
"@deepseek-ai/dsh-host-webserver": "0.2.2-alpha.2",
|
|
42
|
+
"@deepseek-ai/schemastery": "3.18.6-alpha.1",
|
|
43
|
+
"@tailwindcss/cli": "^4.1.16",
|
|
44
|
+
"@types/node": "^24.10.1",
|
|
45
|
+
"@types/react": "^18.3.18",
|
|
46
|
+
"esbuild": "^0.25.0",
|
|
47
|
+
"scheduler": "0.28.0",
|
|
48
|
+
"tailwindcss": "^4.1.16",
|
|
49
|
+
"typescript": "^6.0.3"
|
|
50
|
+
},
|
|
51
|
+
"repository": {
|
|
52
|
+
"type": "git",
|
|
53
|
+
"url": "git+https://github.com/poco-ai/agentero-dsh-plugin.git"
|
|
54
|
+
},
|
|
55
|
+
"scripts": {
|
|
56
|
+
"build": "node scripts/build-all.mjs",
|
|
57
|
+
"typecheck": "node scripts/build-all.mjs --noEmit",
|
|
58
|
+
"bump": "node scripts/bump-version.mjs",
|
|
59
|
+
"release": "pnpm build && pnpm -r publish --registry=https://registry.npmjs.org"
|
|
60
|
+
}
|
|
6
61
|
}
|