mirror of
https://github.com/nexu-io/open-design.git
synced 2026-09-20 06:15:06 +08:00
0edbf38171
- Introduced `specVersion` and `version` fields to the plugin and marketplace schemas, ensuring better versioning and compatibility tracking. - Updated various components and functions to handle the new fields, including database migrations, plugin snapshots, and marketplace management. - Enhanced tests to validate the presence and correctness of the new fields in plugin manifests and marketplace entries. - Improved documentation to reflect the changes in schema requirements and provide guidance on the new versioning system. This update strengthens the plugin ecosystem by providing clear versioning, enhancing the reliability and maintainability of plugins and marketplaces.
44 lines
1.3 KiB
JSON
44 lines
1.3 KiB
JSON
{
|
|
"$schema": "https://open-design.ai/schemas/plugin.v1.json",
|
|
"specVersion": "1.0.0",
|
|
"name": "refine-critique-loop",
|
|
"title": "Critique And Refine",
|
|
"version": "0.1.0",
|
|
"description": "Review, patch, and improve an existing Open Design artifact.",
|
|
"license": "MIT",
|
|
"tags": ["refine", "critique", "review", "patch-edit", "tune-collab"],
|
|
"compat": {
|
|
"agentSkills": [{ "path": "./SKILL.md" }]
|
|
},
|
|
"od": {
|
|
"kind": "skill",
|
|
"taskKind": "tune-collab",
|
|
"mode": "refine",
|
|
"scenario": "critique",
|
|
"useCase": {
|
|
"query": "Refine the current artifact with focus on {{focus}}."
|
|
},
|
|
"context": {
|
|
"skills": [{ "path": "./SKILL.md" }],
|
|
"atoms": ["file-read", "critique-theater", "patch-edit", "diff-review"]
|
|
},
|
|
"pipeline": {
|
|
"stages": [
|
|
{ "id": "inspect", "atoms": ["file-read"] },
|
|
{
|
|
"id": "critique",
|
|
"atoms": ["critique-theater"],
|
|
"repeat": true,
|
|
"until": "critique.score>=4 || iterations>=3"
|
|
},
|
|
{ "id": "patch", "atoms": ["patch-edit", "diff-review"] }
|
|
]
|
|
},
|
|
"inputs": [
|
|
{ "name": "focus", "type": "string", "required": false, "label": "Focus", "default": "visual polish, responsive behavior, and text fit" }
|
|
],
|
|
"capabilities": ["prompt:inject", "fs:read", "fs:write"]
|
|
}
|
|
}
|
|
|