Skip to content

Commit 559aee7

Browse files
intel352claude
andcommitted
feat: add v2 schema fields for binary distribution
- Add downloads array (os, arch, url, sha256) to manifest schema - Add assets object (ui, config booleans) to manifest schema - Update admin manifest: downloads for linux/darwin amd64/arm64, assets ui+config - Update bento manifest: downloads for linux/darwin amd64/arm64 - Bump minEngineVersion to 0.1.9 for both external plugins Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 94906c9 commit 559aee7

3 files changed

Lines changed: 100 additions & 4 deletions

File tree

plugins/admin/manifest.json

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"type": "external",
88
"tier": "core",
99
"license": "MIT",
10-
"minEngineVersion": "0.1.7",
10+
"minEngineVersion": "0.1.9",
1111
"homepage": "https://github.com/GoCodeAlone/workflow-plugin-admin",
1212
"repository": "https://github.com/GoCodeAlone/workflow-plugin-admin",
1313
"keywords": ["admin", "dashboard", "ui", "management", "iam", "auth", "settings"],
@@ -17,5 +17,31 @@
1717
"triggerTypes": [],
1818
"workflowHandlers": [],
1919
"wiringHooks": []
20-
}
20+
},
21+
"assets": {
22+
"ui": true,
23+
"config": true
24+
},
25+
"downloads": [
26+
{
27+
"os": "linux",
28+
"arch": "amd64",
29+
"url": "https://github.com/GoCodeAlone/workflow-plugin-admin/releases/download/v1.0.0/workflow-plugin-admin-linux-amd64.tar.gz"
30+
},
31+
{
32+
"os": "linux",
33+
"arch": "arm64",
34+
"url": "https://github.com/GoCodeAlone/workflow-plugin-admin/releases/download/v1.0.0/workflow-plugin-admin-linux-arm64.tar.gz"
35+
},
36+
{
37+
"os": "darwin",
38+
"arch": "amd64",
39+
"url": "https://github.com/GoCodeAlone/workflow-plugin-admin/releases/download/v1.0.0/workflow-plugin-admin-darwin-amd64.tar.gz"
40+
},
41+
{
42+
"os": "darwin",
43+
"arch": "arm64",
44+
"url": "https://github.com/GoCodeAlone/workflow-plugin-admin/releases/download/v1.0.0/workflow-plugin-admin-darwin-arm64.tar.gz"
45+
}
46+
]
2147
}

plugins/bento/manifest.json

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"type": "external",
99
"tier": "core",
1010
"license": "MIT",
11-
"minEngineVersion": "0.1.0",
11+
"minEngineVersion": "0.1.9",
1212
"homepage": "https://github.com/GoCodeAlone/workflow-plugin-bento",
1313
"repository": "https://github.com/GoCodeAlone/workflow-plugin-bento",
1414
"keywords": ["bento", "benthos", "streaming", "kafka", "sqs", "pubsub", "redis", "amqp", "mqtt", "s3", "kinesis", "nats", "etl", "bloblang"],
@@ -17,5 +17,31 @@
1717
"stepTypes": ["step.bento"],
1818
"triggerTypes": ["bento"],
1919
"workflowHandlers": []
20-
}
20+
},
21+
"assets": {
22+
"ui": false,
23+
"config": false
24+
},
25+
"downloads": [
26+
{
27+
"os": "linux",
28+
"arch": "amd64",
29+
"url": "https://github.com/GoCodeAlone/workflow-plugin-bento/releases/download/v1.0.0/workflow-plugin-bento-linux-amd64.tar.gz"
30+
},
31+
{
32+
"os": "linux",
33+
"arch": "arm64",
34+
"url": "https://github.com/GoCodeAlone/workflow-plugin-bento/releases/download/v1.0.0/workflow-plugin-bento-linux-arm64.tar.gz"
35+
},
36+
{
37+
"os": "darwin",
38+
"arch": "amd64",
39+
"url": "https://github.com/GoCodeAlone/workflow-plugin-bento/releases/download/v1.0.0/workflow-plugin-bento-darwin-amd64.tar.gz"
40+
},
41+
{
42+
"os": "darwin",
43+
"arch": "arm64",
44+
"url": "https://github.com/GoCodeAlone/workflow-plugin-bento/releases/download/v1.0.0/workflow-plugin-bento-darwin-arm64.tar.gz"
45+
}
46+
]
2147
}

schema/registry-schema.json

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,50 @@
9898
"repository": {
9999
"type": "string",
100100
"description": "Source code repository URL"
101+
},
102+
"downloads": {
103+
"type": "array",
104+
"description": "Binary download artifacts for this plugin version",
105+
"items": {
106+
"type": "object",
107+
"required": ["os", "arch", "url"],
108+
"properties": {
109+
"os": {
110+
"type": "string",
111+
"enum": ["linux", "darwin", "windows"],
112+
"description": "Target operating system"
113+
},
114+
"arch": {
115+
"type": "string",
116+
"enum": ["amd64", "arm64"],
117+
"description": "Target CPU architecture"
118+
},
119+
"url": {
120+
"type": "string",
121+
"description": "Download URL for the binary archive"
122+
},
123+
"sha256": {
124+
"type": "string",
125+
"description": "SHA-256 checksum of the archive"
126+
}
127+
},
128+
"additionalProperties": false
129+
}
130+
},
131+
"assets": {
132+
"type": "object",
133+
"description": "Asset capabilities provided by this plugin",
134+
"properties": {
135+
"ui": {
136+
"type": "boolean",
137+
"description": "Plugin includes an embedded UI"
138+
},
139+
"config": {
140+
"type": "boolean",
141+
"description": "Plugin provides config fragments via ConfigProvider"
142+
}
143+
},
144+
"additionalProperties": false
101145
}
102146
},
103147
"additionalProperties": false

0 commit comments

Comments
 (0)