@dshforge/agent-plugins 0.1.0 → 0.1.1
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 +4 -4
- package/lib/client.js +2 -2
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# dsh-forge Agent Plugins
|
|
2
2
|
|
|
3
|
-
Adds Agent Plugins v1 discovery to DeepSeek Harness Web. The bundle scans only direct package directories under `~/.
|
|
3
|
+
Adds Agent Plugins v1 discovery to DeepSeek Harness Web. The bundle scans only direct package directories under `~/.agents/plugins/`; workspace `.agents/plugins/` directories are not scanned or merged.
|
|
4
4
|
|
|
5
5
|
## Supported components
|
|
6
6
|
|
|
@@ -13,7 +13,7 @@ The Settings → Agent 插件 section provides Git installation and shows the st
|
|
|
13
13
|
|
|
14
14
|
## Git installation
|
|
15
15
|
|
|
16
|
-
Settings → Agent 插件 → 从 Git 安装 accepts repository specs and installs the selected package into `~/.
|
|
16
|
+
Settings → Agent 插件 → 从 Git 安装 accepts repository specs and installs the selected package into `~/.agents/plugins/<manifest.name>`:
|
|
17
17
|
|
|
18
18
|
```text
|
|
19
19
|
https://github.com/org/repo.git
|
|
@@ -50,12 +50,12 @@ For the complete dsh-forge verification, install both bundles and inject an Agen
|
|
|
50
50
|
dagger --debug --progress=plain call dsh web \
|
|
51
51
|
--plugins ./plugins/hello-world \
|
|
52
52
|
--plugins ./plugins/agent-plugins \
|
|
53
|
-
with-directory --path /root/.
|
|
53
|
+
with-directory --path /root/.agents/plugins/demo \
|
|
54
54
|
--source ./plugins/agent-plugins/tests/fixtures/agent-plugin \
|
|
55
55
|
up --ports 3080:3080
|
|
56
56
|
```
|
|
57
57
|
|
|
58
|
-
Keep the authenticated startup URL private. The container sees `/root/.
|
|
58
|
+
Keep the authenticated startup URL private. The container sees `/root/.agents/plugins/`, not the macOS host's `~/.agents/plugins/`.
|
|
59
59
|
|
|
60
60
|
## Known limitations
|
|
61
61
|
|
package/lib/client.js
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
const en = {
|
|
33
33
|
nav: "Agent plugins",
|
|
34
34
|
title: "Agent plugins",
|
|
35
|
-
intro: "Inspect plugins and capabilities in ~/.
|
|
35
|
+
intro: "Inspect plugins and capabilities in ~/.agents/plugins/",
|
|
36
36
|
search: "Search plugins",
|
|
37
37
|
emptySearch: "No matching plugins.",
|
|
38
38
|
loading: "Loading Agent Plugins\u2026",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
const zh = {
|
|
78
78
|
nav: "Agent \u63D2\u4EF6",
|
|
79
79
|
title: "Agent \u63D2\u4EF6",
|
|
80
|
-
intro: "\u67E5\u770B ~/.
|
|
80
|
+
intro: "\u67E5\u770B ~/.agents/plugins/ \u4E2D\u7684\u63D2\u4EF6\u53CA\u5176\u80FD\u529B",
|
|
81
81
|
search: "\u641C\u7D22\u63D2\u4EF6",
|
|
82
82
|
emptySearch: "\u6CA1\u6709\u627E\u5230\u5339\u914D\u7684\u63D2\u4EF6\u3002",
|
|
83
83
|
loading: "\u6B63\u5728\u52A0\u8F7D Agent \u63D2\u4EF6\u2026",
|
package/lib/index.js
CHANGED
|
@@ -11,7 +11,7 @@ export const inject = ['skills', 'connection', 'webServer']
|
|
|
11
11
|
|
|
12
12
|
/** Mount Agent Plugin discovery and the strict Skills provider. */
|
|
13
13
|
export async function apply(ctx) {
|
|
14
|
-
const pluginsDirectory = join(homedir(), '.
|
|
14
|
+
const pluginsDirectory = join(homedir(), '.agents', 'plugins')
|
|
15
15
|
let invalidateSkills = () => {}
|
|
16
16
|
ctx.effect(() => ctx.skills.registerProvider((control) => {
|
|
17
17
|
invalidateSkills = control.invalidate
|