@dai_ming/plugin-deliverables 1.0.3 → 1.0.4
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 +3 -4
- package/openclaw-plugin.json +2 -3
- package/package.json +1 -2
- package/openclaw.plugin.json +0 -34
package/README.md
CHANGED
|
@@ -11,7 +11,6 @@ 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` | 插件清单:官方文件名 |
|
|
15
14
|
| `openclaw-plugin.json` | 插件清单:声明 MCP server、skill、AGENTS 规则、openclaw.json 配置段 |
|
|
16
15
|
|
|
17
16
|
---
|
|
@@ -25,11 +24,11 @@ OpenClaw 交付物插件 — 让 AI Agent 将生成的文件(文章、HTML 页
|
|
|
25
24
|
```yaml
|
|
26
25
|
# values.yaml(或 claw-gateway 管理界面的 Helm 参数)
|
|
27
26
|
installPlugins:
|
|
28
|
-
- "@dai_ming/plugin-deliverables@1.0.
|
|
27
|
+
- "@dai_ming/plugin-deliverables@1.0.4"
|
|
29
28
|
```
|
|
30
29
|
|
|
31
30
|
initContainer 执行顺序:
|
|
32
|
-
1. **Phase 3**:`npm pack @dai_ming/plugin-deliverables@1.0.
|
|
31
|
+
1. **Phase 3**:`npm pack @dai_ming/plugin-deliverables@1.0.4` 下载 tarball → 解压到 `/data/extensions-extra/plugin-deliverables/`
|
|
33
32
|
2. **Phase 3b**:在插件目录执行 `npm install --omit=dev`(本插件无运行时依赖,此步骤跳过)
|
|
34
33
|
3. **Phase 3e**:读取 `openclaw-plugin.json` 清单,自动:
|
|
35
34
|
- 复制 `mcp-servers/deliverables.js` → `/data/mcp-servers/deliverables.js`
|
|
@@ -188,7 +187,7 @@ npm publish --registry https://registry.npmjs.org --access public
|
|
|
188
187
|
|
|
189
188
|
| claw-gateway 版本 | plugin 版本 |
|
|
190
189
|
|-------------------|-------------|
|
|
191
|
-
| 当前 | 1.0.
|
|
190
|
+
| 当前 | 1.0.4 |
|
|
192
191
|
|
|
193
192
|
---
|
|
194
193
|
|
package/openclaw-plugin.json
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"id": "plugin-deliverables",
|
|
3
2
|
"name": "plugin-deliverables",
|
|
4
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
5
4
|
"npm_package": "@dai_ming/plugin-deliverables",
|
|
6
5
|
"description": "Deliverables plugin: MCP server + skill + AGENTS rules for AI-generated file uploads",
|
|
7
6
|
"mcp_servers": {
|
|
@@ -27,7 +26,7 @@
|
|
|
27
26
|
"openclaw_config": {
|
|
28
27
|
"plugins": {
|
|
29
28
|
"entries": {
|
|
30
|
-
"plugin-deliverables": {
|
|
29
|
+
"plugin-deliverables": {}
|
|
31
30
|
}
|
|
32
31
|
}
|
|
33
32
|
}
|
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.4",
|
|
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,7 +10,6 @@
|
|
|
10
10
|
],
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"files": [
|
|
13
|
-
"openclaw.plugin.json",
|
|
14
13
|
"openclaw-plugin.json",
|
|
15
14
|
"mcp-servers/",
|
|
16
15
|
"skills/",
|
package/openclaw.plugin.json
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
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
|
-
}
|