@wwwfz/dsh-agent-bridge 0.8.3 → 0.9.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 +198 -194
- package/THIRD_PARTY_NOTICES.md +67 -0
- package/cordis.patch.yml +4 -4
- package/package.json +40 -40
- package/src/assets.js +405 -348
- package/src/catalog.js +906 -605
- package/src/client.js +623 -310
- package/src/config.js +88 -88
- package/src/export.js +241 -12
- package/src/index.js +160 -136
- package/src/project-archive.js +145 -145
- package/src/projects.js +1189 -980
- package/src/session-import.js +107 -93
- package/src/session-trace.js +121 -0
- package/src/skill-handoff.js +1327 -0
- package/src/skill-package.js +417 -0
- package/src/skill-provider.js +249 -0
- package/src/watch.js +309 -309
- package/web/Geist-OFL.txt +93 -93
- package/web/agent-icons/NOTICE.md +19 -19
- package/web/agent-icons/antigravity.svg +76 -76
- package/web/agent-icons/claude.svg +3 -3
- package/web/agent-icons/dsh.svg +58 -58
- package/web/agent-icons/licenses/copilot.txt +21 -21
- package/web/agent-icons/licenses/dsh.txt +21 -21
- package/web/agent-icons/licenses/gemini.txt +201 -201
- package/web/agent-icons/licenses/opencode.txt +21 -21
- package/web/agent-icons/licenses/qoder-notice.txt +18 -18
- package/web/agent-icons/licenses/qoder.txt +22 -22
- package/web/agent-icons/licenses/qwen.txt +202 -202
- package/web/agent-icons/qoder.svg +4 -4
- package/web/agent-icons/qwen.svg +5 -5
- package/web/agent-icons/workbuddy.svg +29 -29
- package/web/markdown.js +225 -0
- package/web/panel.css +607 -502
- package/web/panel.html +277 -246
- package/web/panel.js +2334 -1559
- package/web/project-context.js +25 -25
- package/web/vendor/markdown-it-LICENSE.txt +156 -0
- package/web/vendor/markdown-it.mjs +3064 -0
package/README.md
CHANGED
|
@@ -1,194 +1,198 @@
|
|
|
1
|
-
<div align="center">
|
|
2
|
-
|
|
3
|
-
# Agent Bridge
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
[
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
>
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
<
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
"
|
|
164
|
-
|
|
165
|
-
"
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
"
|
|
169
|
-
"
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
"
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
1
|
+
<div align="center">
|
|
2
|
+
|
|
3
|
+
# Agent Bridge
|
|
4
|
+
|
|
5
|
+
**换个 Agent,接着做。**
|
|
6
|
+
|
|
7
|
+
把本机其他 Agent 的旧对话、项目记忆和 Skills 带进 DeepSeek Harness,在原工作目录继续开发。
|
|
8
|
+
|
|
9
|
+
[下载 Desktop 安装包](https://github.com/wfz2006/dsh-agent-bridge/releases/latest/download/dsh-agent-bridge.tgz) · [快速开始](#快速开始) · [看上手演示](#使用) · [图文介绍](https://wfz2006.github.io/dsh-agent-bridge/)
|
|
10
|
+
|
|
11
|
+
<a href="https://raw.githubusercontent.com/wfz2006/dsh-agent-bridge/main/docs/screenshots/v0.9.0/workspace.png">
|
|
12
|
+
<img src="https://raw.githubusercontent.com/wfz2006/dsh-agent-bridge/main/docs/screenshots/v0.9.0/workspace.png" width="900" alt="Agent Bridge 的项目首屏。左侧可筛选项目,右侧可选最近对话或用项目资料开新对话。">
|
|
13
|
+
</a>
|
|
14
|
+
|
|
15
|
+
<sub>示例项目「接口调试台」 · v0.9.0 实际界面 · 点击查看大图</sub>
|
|
16
|
+
|
|
17
|
+
</div>
|
|
18
|
+
|
|
19
|
+
## 快速开始
|
|
20
|
+
|
|
21
|
+
### DSH Desktop
|
|
22
|
+
|
|
23
|
+
1. 下载 [GitHub 安装包 v0.9.0](https://github.com/wfz2006/dsh-agent-bridge/releases/latest/download/dsh-agent-bridge.tgz)。
|
|
24
|
+
2. 在 DSH 的 **插件 → 安装插件** 选择下载的 `.tgz`。
|
|
25
|
+
3. 完全退出再打开 DSH,从侧栏进入 **Agent 工作接续**。
|
|
26
|
+
|
|
27
|
+
### DSH Web
|
|
28
|
+
|
|
29
|
+
在已安装 DSH CLI 的环境里运行。当前 npm 版本为 [v0.9.0](https://www.npmjs.com/package/@wwwfz/dsh-agent-bridge)。
|
|
30
|
+
|
|
31
|
+
~~~sh
|
|
32
|
+
dsh plugin --profile web add @wwwfz/dsh-agent-bridge
|
|
33
|
+
dsh web
|
|
34
|
+
~~~
|
|
35
|
+
|
|
36
|
+
> [!NOTE]
|
|
37
|
+
> 下方演示的原对话统计、项目级原生 Skills 和新版 Markdown 预览来自 v0.9.0。
|
|
38
|
+
|
|
39
|
+
Windows DSH Desktop 0.2.2-rc.3 和 DSH Web 已完成隔离验收。原生会话和 Skills 需要宿主提供对应服务。macOS 和 Linux 的数据路径规则有测试覆盖。 [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness)
|
|
40
|
+
|
|
41
|
+
## 使用
|
|
42
|
+
|
|
43
|
+
从侧栏打开 **Agent 工作接续**,按 Agent、项目名或路径找到原项目。不同 Git worktree 会独立显示。
|
|
44
|
+
|
|
45
|
+
### 继续旧对话
|
|
46
|
+
|
|
47
|
+
1. 在项目首屏点开一条最近对话,或用 **查看全部对话** 搜索。
|
|
48
|
+
2. 核对用户和助手的消息,再点 **迁入并继续**。
|
|
49
|
+
3. DSH 会在原工作目录打开一条带历史的新会话,输入下一句就能接着聊。
|
|
50
|
+
|
|
51
|
+
#### 在哪里看原对话统计
|
|
52
|
+
|
|
53
|
+
点新会话头部的 **来源记录**。顶部显示已读轮次、消息数和已保存的工具调用。原日志有足够的时间戳或累计 Token 时,也会显示相应数据。继续聊天后仍可查阅迁入时保存的统计。
|
|
54
|
+
|
|
55
|
+
<a href="https://raw.githubusercontent.com/wfz2006/dsh-agent-bridge/main/docs/screenshots/v0.9.0/source-record.png">
|
|
56
|
+
<img src="https://raw.githubusercontent.com/wfz2006/dsh-agent-bridge/main/docs/screenshots/v0.9.0/source-record.png" width="700" alt="原对话统计显示轮次、消息、工具调用、时间跨度与 Token。第二轮展开后可见失败和未记录结果的工具条目。">
|
|
57
|
+
</a>
|
|
58
|
+
|
|
59
|
+
*逐轮记录默认折叠。图中展开了第二轮,便于核对哪些工具失败或缺少结果。*
|
|
60
|
+
|
|
61
|
+
<details>
|
|
62
|
+
<summary>可迁入的历史范围</summary>
|
|
63
|
+
|
|
64
|
+
- 文字保留可读取的顺序和角色。较长历史按预算保留近期问答,预览会标记截取。Codex 的压缩会话 `.jsonl.zst` 也可发现和读取。
|
|
65
|
+
- 来源记录可保存 Codex 的可见思考摘要和工具调用,以及 Claude Code 的工具调用与结果。结果按调用 ID 归到原回合。历史工具数据以只读记录保存,后续请求按 DSH 当前权限执行。
|
|
66
|
+
- 宿主没有会话头部入口时,可在 Agent Bridge 的 **导出 DSH 会话** 中查看已保存的来源记录。旧版迁入的会话按当时保存的内容显示。
|
|
67
|
+
|
|
68
|
+
</details>
|
|
69
|
+
|
|
70
|
+
### 用项目资料开新对话
|
|
71
|
+
|
|
72
|
+
展开 **用项目资料开新对话**,从「上次做到哪」「项目约定」「Skills」等分组挑选资料。**全局资料库**默认折叠。打开 **接续清单** 可核对勾选,再用 **预览草稿** 打开一条新对话或导出交接。
|
|
73
|
+
|
|
74
|
+
#### 为本项目启用原生 Skill
|
|
75
|
+
|
|
76
|
+
看到 **可为此项目启用** 时,可点 **启用** 核对目标项目和包内容。在会话预览里也可以通过 **沿用技能(可选)** 勾选本次要带入的技能。在确认界面核对范围、脚本和同名冲突后,才会保存完整包。
|
|
77
|
+
|
|
78
|
+
<a href="https://raw.githubusercontent.com/wfz2006/dsh-agent-bridge/main/docs/screenshots/v0.9.0/skill-review.png">
|
|
79
|
+
<img src="https://raw.githubusercontent.com/wfz2006/dsh-agent-bridge/main/docs/screenshots/v0.9.0/skill-review.png" width="509" alt="verify-endpoint 启用前的核对界面,列出目标项目、来源与四个包内文件。">
|
|
80
|
+
</a>
|
|
81
|
+
|
|
82
|
+
*脚本、参考资料和资源随包保存。打开「已启用的项目 Skills」可管理和停用技能,有上一版时也可恢复。*
|
|
83
|
+
|
|
84
|
+
<details>
|
|
85
|
+
<summary>各类 Skill 状态和生效范围</summary>
|
|
86
|
+
|
|
87
|
+
- **DSH 已发现**表示当前项目能读到原生定义。入口的可用状态以实际生效副本和 DSH 调用策略为准。「待确认」「当前模式不可调用」表示当前检查结果。
|
|
88
|
+
- **可为此项目启用**表示可以为项目保存私有快照。快照位于 DSH 主目录的 `agent-bridge-skills/`,登记写入 `state.sqlite`。项目范围取最近的 `.git` 祖先,找不到时用原工作目录。
|
|
89
|
+
- **同名,待核对**时保留原技能,内容指纹一致才复用。预览后来源或项目位置改变,需要重新核对。
|
|
90
|
+
- **仅可带入说明**时使用 `SKILL.md` 正文摘录。指向包外的链接、包内特殊文件或疑似凭证文件会阻止整包启用。
|
|
91
|
+
- 启用确认的是快照和项目登记。执行脚本、使用专有工具、加载外部依赖仍取决于当前 DSH 环境。来源消失后,已有快照仍可管理。
|
|
92
|
+
|
|
93
|
+
</details>
|
|
94
|
+
|
|
95
|
+
## 导出交接
|
|
96
|
+
|
|
97
|
+
- **导出项目资料**。在 **预览草稿** 中选择 **导出本机版** 或 **导出分享版**。
|
|
98
|
+
- **导出 DSH 会话**。在面板右上角选择会话。需要工具名和结果摘录时,再勾选 **附带来源记录**。
|
|
99
|
+
- **接收一份交接**。把下载的 Markdown 放进接收项目的 `.agent-bridge/handoffs/`,刷新后从「上次做到哪」选用。
|
|
100
|
+
|
|
101
|
+
<a href="https://raw.githubusercontent.com/wfz2006/dsh-agent-bridge/main/docs/screenshots/v0.9.0/markdown-preview.png">
|
|
102
|
+
<img src="https://raw.githubusercontent.com/wfz2006/dsh-agent-bridge/main/docs/screenshots/v0.9.0/markdown-preview.png" width="509" alt="Markdown 预览保留标题、编号列表和检查项表格,可点开文档内的接口检查清单。">
|
|
103
|
+
</a>
|
|
104
|
+
|
|
105
|
+
*预览可打开经过核对的项目内文件,也可以复制路径。*
|
|
106
|
+
|
|
107
|
+
<details>
|
|
108
|
+
<summary>本机版、分享版和路径规则</summary>
|
|
109
|
+
|
|
110
|
+
- 本机版将核实的本机来源写为 `file:` 链接,由阅读器决定能否打开。分享版使用文件名或项目相对路径,也可根据 Markdown 保存位置生成相对链接。
|
|
111
|
+
- 预览从原文档目录解析相对链接,Host 核对项目范围和文件身份后让 DSH 打开。脚本等可执行文件提供定位。失效路径以文字保留。Markdown 的标题、代码块、表格和引用会排版,原始 HTML 按文字展示。
|
|
112
|
+
- 原工作目录离线时,可导出仍能读取的归档资料。
|
|
113
|
+
|
|
114
|
+
</details>
|
|
115
|
+
|
|
116
|
+
## 支持来源
|
|
117
|
+
|
|
118
|
+
打开面板底部的 **本机来源** 查看可读取的数据。扫描会监听文件变化,也可点 **刷新来源** 立即复扫。
|
|
119
|
+
|
|
120
|
+
| 来源 | 常见可读取内容 |
|
|
121
|
+
| --- | --- |
|
|
122
|
+
| Codex、Claude Code、OpenCode、Qoder、WorkBuddy、Gemini CLI、Qwen Code | 本地工作目录和可识别的会话,含有记录的 Skill 使用 |
|
|
123
|
+
| VS Code 系列的 Copilot | 可识别的工作区和工作区会话 |
|
|
124
|
+
| Antigravity、TRAE | 本机工作区与可关联记录,另外可读配置的 AgentsView 归档 |
|
|
125
|
+
| 项目资料、WorkspaceHub、手动来源 | 可读 Markdown、共享记忆、交接和 Skill 目录 |
|
|
126
|
+
|
|
127
|
+
插件通过本机 DSH 所有者身份读取。源文件和 Agent 数据库以只读方式访问,加密或服务端记忆可先导出为 Markdown。
|
|
128
|
+
|
|
129
|
+
<details>
|
|
130
|
+
<summary>搜索、归档和主题</summary>
|
|
131
|
+
|
|
132
|
+
- 按 <kbd>/</kbd> 定位项目搜索,按 <kbd>↓</kbd> 选中首项,按 <kbd>Enter</kbd> 打开。项目的勾选和近期对话选项会分别保存。
|
|
133
|
+
- **置顶**常用项目。在 **最近接续** 可找回刚打开的项目。用 **整理 → 归档所选** 批量整理,在 **已归档** 恢复或撤销操作。
|
|
134
|
+
- 支持蓝、白、黑三套主题,自动记住选择。正在预览时,列表会等预览关闭后再更新。 [Agent 图标来源](web/agent-icons/NOTICE.md)
|
|
135
|
+
|
|
136
|
+
</details>
|
|
137
|
+
|
|
138
|
+
## 在项目里存放共享记忆
|
|
139
|
+
|
|
140
|
+
在已发现的项目目录里放入 Markdown,刷新后即可选择。
|
|
141
|
+
|
|
142
|
+
~~~text
|
|
143
|
+
my-project/
|
|
144
|
+
.agent-bridge/
|
|
145
|
+
memory/
|
|
146
|
+
current-state.md
|
|
147
|
+
handoffs/
|
|
148
|
+
latest-handoff.md
|
|
149
|
+
~~~
|
|
150
|
+
|
|
151
|
+
用 `current-state.md` 记当前目标、分支状态与待办,用 `latest-handoff.md` 记已完成事项、验证结果和下一步。两个目录的第一层 Markdown 会进入项目资料。
|
|
152
|
+
|
|
153
|
+
## 自定义来源
|
|
154
|
+
|
|
155
|
+
<details>
|
|
156
|
+
<summary>配置 agent-bridge.json</summary>
|
|
157
|
+
|
|
158
|
+
在 DSH 主目录创建 `agent-bridge.json`。Windows 默认为 `%USERPROFILE%\.dsh`,macOS 和 Linux 默认为 `~/.dsh`。也可用 `DSH_HOME` 指定主目录,或用 `DSH_AGENT_BRIDGE_CONFIG` 指向配置文件。保存后点 **刷新来源**。
|
|
159
|
+
|
|
160
|
+
~~~json
|
|
161
|
+
{
|
|
162
|
+
"projectRoots": ["~/projects/example"],
|
|
163
|
+
"agentRoots": {
|
|
164
|
+
"opencode": ["~/agent-data/opencode"],
|
|
165
|
+
"claude": ["~/agent-data/claude"]
|
|
166
|
+
},
|
|
167
|
+
"skillRoots": ["~/shared/skills"],
|
|
168
|
+
"opencodeSkillRoots": ["~/agent-config/opencode"],
|
|
169
|
+
"memoryExports": {
|
|
170
|
+
"~/projects/example": ["~/exports/example/current-state.md"]
|
|
171
|
+
},
|
|
172
|
+
"workspaceHubRoots": ["~/workspace-manager-data/workspacehub"],
|
|
173
|
+
"archiveFiles": ["~/workspace-manager-data/sessions.db"]
|
|
174
|
+
}
|
|
175
|
+
~~~
|
|
176
|
+
|
|
177
|
+
只需填写要改的项。相对路径以配置所在目录为准。`agentRoots` 会替换对应 Agent 的自动路径,用空数组跳过该 Agent。OpenCode 可配置数据目录或数据库文件,AgentsView 也接受 `AGENTSVIEW_DATA_DIR`。
|
|
178
|
+
|
|
179
|
+
默认扫描会使用 `CODEX_HOME`、`CLAUDE_CONFIG_DIR`、`XDG_DATA_HOME`、`XDG_CONFIG_HOME`、`OPENCODE_DB` 和 `OPENCODE_CONFIG_DIR`。 [Claude Code 配置](https://code.claude.com/docs/en/settings) · [OpenCode 数据路径](https://opencode.ai/docs/cli/providers/#storage)
|
|
180
|
+
|
|
181
|
+
</details>
|
|
182
|
+
|
|
183
|
+
## 卸载与构建
|
|
184
|
+
|
|
185
|
+
在 Desktop 插件管理页卸载 **dsh-agent-bridge**。Web 版运行 `dsh plugin --profile web remove dsh-agent-bridge`。贡献者可从仓库目录运行 `npm test` 和 `npm pack`。 [第三方声明](THIRD_PARTY_NOTICES.md)
|
|
186
|
+
|
|
187
|
+
<details>
|
|
188
|
+
<summary>草稿失败时如何继续</summary>
|
|
189
|
+
|
|
190
|
+
初始化失败时,尚未使用的空白会话会归档,重试可复用原会话。若已有草稿,打开相同会话,可把接续资料补到已有内容里。
|
|
191
|
+
|
|
192
|
+
</details>
|
|
193
|
+
|
|
194
|
+
<div align="center">
|
|
195
|
+
<a href="https://wfz2006.github.io/dsh-agent-bridge/">项目介绍</a> ·
|
|
196
|
+
<a href="https://github.com/wfz2006/dsh-agent-bridge/releases">历史版本</a> ·
|
|
197
|
+
<a href="https://github.com/wfz2006/dsh-agent-bridge/issues">问题反馈</a>
|
|
198
|
+
</div>
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# Third-party notices
|
|
2
|
+
|
|
3
|
+
Agent Bridge includes small, adapted portions of the following MIT-licensed
|
|
4
|
+
projects. The adapted code is limited to skill package enumeration, stable
|
|
5
|
+
content fingerprints, safe copying, and isolated provider wiring.
|
|
6
|
+
|
|
7
|
+
The independent Markdown preview also bundles the upstream `markdown-it`
|
|
8
|
+
15.0.3 browser ESM distribution. Its license and the bundled dependency
|
|
9
|
+
licenses are in `web/vendor/markdown-it-LICENSE.txt`.
|
|
10
|
+
|
|
11
|
+
## dsh-mode-skills
|
|
12
|
+
|
|
13
|
+
- Source: <https://github.com/xiaohai-78/dsh-mode-skills>
|
|
14
|
+
- Revision: `706595127984c9bc87627f77d2a8e288b8dcbbbb`
|
|
15
|
+
- Used for: package file limits, frontmatter parsing, link containment,
|
|
16
|
+
fingerprints, and copy verification in `src/skill-package.js`.
|
|
17
|
+
|
|
18
|
+
MIT License
|
|
19
|
+
|
|
20
|
+
Copyright (c) 2026 xiaohai-78
|
|
21
|
+
|
|
22
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
23
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
24
|
+
in the Software without restriction, including without limitation the rights
|
|
25
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
26
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
27
|
+
furnished to do so, subject to the following conditions:
|
|
28
|
+
|
|
29
|
+
The above copyright notice and this permission notice shall be included in all
|
|
30
|
+
copies or substantial portions of the Software.
|
|
31
|
+
|
|
32
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
33
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
34
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
35
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
36
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
37
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
38
|
+
SOFTWARE.
|
|
39
|
+
|
|
40
|
+
## dsh-skill-import
|
|
41
|
+
|
|
42
|
+
- Source: <https://github.com/Trank-DTK/dsh-skill-import>
|
|
43
|
+
- Revision: `68b56106e232aa15e206483d184150b144c13180`
|
|
44
|
+
- Used for: the isolated `FileSystemSkillProvider` registration pattern that
|
|
45
|
+
lets a plugin supply skills from its own DSH-private directory.
|
|
46
|
+
|
|
47
|
+
MIT License
|
|
48
|
+
|
|
49
|
+
Copyright (c) 2026 dsh-skill-import contributors
|
|
50
|
+
|
|
51
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
52
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
53
|
+
in the Software without restriction, including without limitation the rights
|
|
54
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
55
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
56
|
+
furnished to do so, subject to the following conditions:
|
|
57
|
+
|
|
58
|
+
The above copyright notice and this permission notice shall be included in all
|
|
59
|
+
copies or substantial portions of the Software.
|
|
60
|
+
|
|
61
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
62
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
63
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
64
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
65
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
66
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
67
|
+
SOFTWARE.
|
package/cordis.patch.yml
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
- insert:
|
|
2
|
-
- id: agent-bridge
|
|
3
|
-
name: '@wwwfz/dsh-agent-bridge'
|
|
4
|
-
config: {}
|
|
1
|
+
- insert:
|
|
2
|
+
- id: agent-bridge
|
|
3
|
+
name: '@wwwfz/dsh-agent-bridge'
|
|
4
|
+
config: {}
|
package/package.json
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@wwwfz/dsh-agent-bridge",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Standalone DeepSeek Harness plugin for live local agent discovery, context import, and Markdown handoff export.",
|
|
5
|
-
"keywords": ["dsh", "dsh-plugin", "deepseek-harness", "agent", "handoff", "skills"],
|
|
6
|
-
"repository": { "type": "git", "url": "git+https://github.com/wfz2006/dsh-agent-bridge.git" },
|
|
7
|
-
"homepage": "https://wfz2006.github.io/dsh-agent-bridge/",
|
|
8
|
-
"bugs": { "url": "https://github.com/wfz2006/dsh-agent-bridge/issues" },
|
|
9
|
-
"publishConfig": { "access": "public" },
|
|
10
|
-
"type": "module",
|
|
11
|
-
"main": "./src/index.js",
|
|
12
|
-
"exports": {
|
|
13
|
-
".": "./src/index.js",
|
|
14
|
-
"./client": "./src/client.js",
|
|
15
|
-
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
16
|
-
"./package.json": "./package.json"
|
|
17
|
-
},
|
|
18
|
-
"files": ["src", "web", "cordis.patch.yml", "README.md"],
|
|
19
|
-
"engines": { "node": ">=22.13" },
|
|
20
|
-
"scripts": {
|
|
21
|
-
"test": "node --disable-warning=ExperimentalWarning --test",
|
|
22
|
-
"pack:local": "npm pack --pack-destination ."
|
|
23
|
-
},
|
|
24
|
-
"dsh": {
|
|
25
|
-
"bundle": { "patch": "./cordis.patch.yml" },
|
|
26
|
-
"client": {
|
|
27
|
-
"platform": "web",
|
|
28
|
-
"inject": [
|
|
29
|
-
"@deepseek-ai/dsh-client-locale",
|
|
30
|
-
"@deepseek-ai/dsh-client-ui-renderer",
|
|
31
|
-
"@deepseek-ai/dsh-client-ui-layout",
|
|
32
|
-
"@deepseek-ai/dsh-client-ui-sidebar",
|
|
33
|
-
"@deepseek-ai/dsh-client-ui-workspace",
|
|
34
|
-
"@deepseek-ai/dsh-client-ui-conversation",
|
|
35
|
-
"@deepseek-ai/dsh-api-session-controller",
|
|
36
|
-
"@deepseek-ai/dsh-api-workspace-controller"
|
|
37
|
-
]
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@wwwfz/dsh-agent-bridge",
|
|
3
|
+
"version": "0.9.0",
|
|
4
|
+
"description": "Standalone DeepSeek Harness plugin for live local agent discovery, context import, and Markdown handoff export.",
|
|
5
|
+
"keywords": ["dsh", "dsh-plugin", "deepseek-harness", "agent", "handoff", "skills"],
|
|
6
|
+
"repository": { "type": "git", "url": "git+https://github.com/wfz2006/dsh-agent-bridge.git" },
|
|
7
|
+
"homepage": "https://wfz2006.github.io/dsh-agent-bridge/",
|
|
8
|
+
"bugs": { "url": "https://github.com/wfz2006/dsh-agent-bridge/issues" },
|
|
9
|
+
"publishConfig": { "access": "public" },
|
|
10
|
+
"type": "module",
|
|
11
|
+
"main": "./src/index.js",
|
|
12
|
+
"exports": {
|
|
13
|
+
".": "./src/index.js",
|
|
14
|
+
"./client": "./src/client.js",
|
|
15
|
+
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
16
|
+
"./package.json": "./package.json"
|
|
17
|
+
},
|
|
18
|
+
"files": ["src", "web", "cordis.patch.yml", "README.md", "THIRD_PARTY_NOTICES.md"],
|
|
19
|
+
"engines": { "node": ">=22.13" },
|
|
20
|
+
"scripts": {
|
|
21
|
+
"test": "node --disable-warning=ExperimentalWarning --test",
|
|
22
|
+
"pack:local": "npm pack --pack-destination ."
|
|
23
|
+
},
|
|
24
|
+
"dsh": {
|
|
25
|
+
"bundle": { "patch": "./cordis.patch.yml" },
|
|
26
|
+
"client": {
|
|
27
|
+
"platform": "web",
|
|
28
|
+
"inject": [
|
|
29
|
+
"@deepseek-ai/dsh-client-locale",
|
|
30
|
+
"@deepseek-ai/dsh-client-ui-renderer",
|
|
31
|
+
"@deepseek-ai/dsh-client-ui-layout",
|
|
32
|
+
"@deepseek-ai/dsh-client-ui-sidebar",
|
|
33
|
+
"@deepseek-ai/dsh-client-ui-workspace",
|
|
34
|
+
"@deepseek-ai/dsh-client-ui-conversation",
|
|
35
|
+
"@deepseek-ai/dsh-api-session-controller",
|
|
36
|
+
"@deepseek-ai/dsh-api-workspace-controller"
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|