@dai_ming/plugin-deliverables 1.0.1 → 1.0.3
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 -3
- package/mcp-servers/deliverables.js +1 -1
- package/openclaw-plugin.json +4 -3
- package/openclaw.plugin.json +34 -0
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -11,6 +11,7 @@ OpenClaw 交付物插件 — 让 AI Agent 将生成的文件(文章、HTML 页
|
|
|
11
11
|
| `mcp-servers/deliverables.js` | MCP Server 脚本:实现 `upload_deliverable` 工具,通过 HTTP 调用 claw-gateway API 上传文件 |
|
|
12
12
|
| `skills/deliverables/SKILL.md` | OpenClaw Skill:强制文档产出走 `upload_deliverable`,规范写入路径和参数 |
|
|
13
13
|
| `agents-rules/deliverables.md` | AGENTS.md 规则块:URL 回显规则 + 自动上传规则(硬约束,注入到每个 workspace 的 AGENTS.md) |
|
|
14
|
+
| `openclaw.plugin.json` | 插件清单:官方文件名 |
|
|
14
15
|
| `openclaw-plugin.json` | 插件清单:声明 MCP server、skill、AGENTS 规则、openclaw.json 配置段 |
|
|
15
16
|
|
|
16
17
|
---
|
|
@@ -24,11 +25,11 @@ OpenClaw 交付物插件 — 让 AI Agent 将生成的文件(文章、HTML 页
|
|
|
24
25
|
```yaml
|
|
25
26
|
# values.yaml(或 claw-gateway 管理界面的 Helm 参数)
|
|
26
27
|
installPlugins:
|
|
27
|
-
- "@dai_ming/plugin-deliverables@1.0.
|
|
28
|
+
- "@dai_ming/plugin-deliverables@1.0.3"
|
|
28
29
|
```
|
|
29
30
|
|
|
30
31
|
initContainer 执行顺序:
|
|
31
|
-
1. **Phase 3**:`npm pack @dai_ming/plugin-deliverables@1.0.
|
|
32
|
+
1. **Phase 3**:`npm pack @dai_ming/plugin-deliverables@1.0.3` 下载 tarball → 解压到 `/data/extensions-extra/plugin-deliverables/`
|
|
32
33
|
2. **Phase 3b**:在插件目录执行 `npm install --omit=dev`(本插件无运行时依赖,此步骤跳过)
|
|
33
34
|
3. **Phase 3e**:读取 `openclaw-plugin.json` 清单,自动:
|
|
34
35
|
- 复制 `mcp-servers/deliverables.js` → `/data/mcp-servers/deliverables.js`
|
|
@@ -187,7 +188,7 @@ npm publish --registry https://registry.npmjs.org --access public
|
|
|
187
188
|
|
|
188
189
|
| claw-gateway 版本 | plugin 版本 |
|
|
189
190
|
|-------------------|-------------|
|
|
190
|
-
| 当前 | 1.0.
|
|
191
|
+
| 当前 | 1.0.3 |
|
|
191
192
|
|
|
192
193
|
---
|
|
193
194
|
|
|
@@ -252,7 +252,7 @@ function handleMessage(msg) {
|
|
|
252
252
|
send({ jsonrpc: "2.0", id: id, result: {
|
|
253
253
|
protocolVersion: "2024-11-05",
|
|
254
254
|
capabilities: { tools: {} },
|
|
255
|
-
serverInfo: { name: "deliverables", version: "1.0.
|
|
255
|
+
serverInfo: { name: "deliverables", version: "1.0.2" }
|
|
256
256
|
}});
|
|
257
257
|
return Promise.resolve();
|
|
258
258
|
|
package/openclaw-plugin.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
2
|
+
"id": "plugin-deliverables",
|
|
3
|
+
"name": "plugin-deliverables",
|
|
4
|
+
"version": "1.0.3",
|
|
4
5
|
"npm_package": "@dai_ming/plugin-deliverables",
|
|
5
6
|
"description": "Deliverables plugin: MCP server + skill + AGENTS rules for AI-generated file uploads",
|
|
6
7
|
"mcp_servers": {
|
|
@@ -26,7 +27,7 @@
|
|
|
26
27
|
"openclaw_config": {
|
|
27
28
|
"plugins": {
|
|
28
29
|
"entries": {
|
|
29
|
-
"deliverables": { "enabled": true }
|
|
30
|
+
"plugin-deliverables": { "enabled": true }
|
|
30
31
|
}
|
|
31
32
|
}
|
|
32
33
|
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "plugin-deliverables",
|
|
3
|
+
"name": "plugin-deliverables",
|
|
4
|
+
"version": "1.0.3",
|
|
5
|
+
"npm_package": "@dai_ming/plugin-deliverables",
|
|
6
|
+
"description": "Deliverables plugin: MCP server + skill + AGENTS rules for AI-generated file uploads",
|
|
7
|
+
"mcp_servers": {
|
|
8
|
+
"deliverables": {
|
|
9
|
+
"script": "mcp-servers/deliverables.js",
|
|
10
|
+
"command": "node",
|
|
11
|
+
"env": {
|
|
12
|
+
"CLAW_GATEWAY_URL": "${CLAW_GATEWAY_URL}",
|
|
13
|
+
"CLAW_GATEWAY_PUBLIC_URL": "${CLAW_GATEWAY_PUBLIC_URL}",
|
|
14
|
+
"CLAW_GATEWAY_API_KEY": "${CLAW_GATEWAY_API_KEY}",
|
|
15
|
+
"OPENCLAW_GATEWAY_API_KEY": "${OPENCLAW_GATEWAY_API_KEY}"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"skills": {
|
|
20
|
+
"deliverables": "skills/deliverables/SKILL.md"
|
|
21
|
+
},
|
|
22
|
+
"agents_rules": {
|
|
23
|
+
"file": "agents-rules/deliverables.md",
|
|
24
|
+
"start_marker": "DELIVERABLE_LINK_RULES_START",
|
|
25
|
+
"end_marker": "DELIVERABLE_AUTO_UPLOAD_RULES_END"
|
|
26
|
+
},
|
|
27
|
+
"openclaw_config": {
|
|
28
|
+
"plugins": {
|
|
29
|
+
"entries": {
|
|
30
|
+
"plugin-deliverables": { "enabled": true }
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dai_ming/plugin-deliverables",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "OpenClaw deliverables plugin — upload AI-generated files to OSS and return shareable preview/download links",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"openclaw",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
],
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"files": [
|
|
13
|
+
"openclaw.plugin.json",
|
|
13
14
|
"openclaw-plugin.json",
|
|
14
15
|
"mcp-servers/",
|
|
15
16
|
"skills/",
|