feat: add workspaceItems contribution point + openProviders to contributions schema

This commit is contained in:
2026-06-19 16:41:25 +08:00
parent 0a0da4c1cb
commit 0cbab61826
7 changed files with 37 additions and 4 deletions
+3 -1
View File
@@ -44,6 +44,8 @@
{ "id": "status.bar.items", "description": "Status bar items", "type": "item", "status": "draft" },
{ "id": "importers", "description": "Data import providers", "type": "provider", "status": "draft" },
{ "id": "exporters", "description": "Data export providers", "type": "provider", "status": "draft" },
{ "id": "protocol.receivers", "description": "Custom protocol message receivers", "type": "provider", "status": "draft" }
{ "id": "protocol.receivers", "description": "Custom protocol message receivers", "type": "provider", "status": "draft" },
{ "id": "openProviders", "description": "Editor/viewer open providers for workbench resource routing", "type": "provider", "status": "draft" },
{ "id": "workspaceItems", "description": "Workspace tool items shown in workspace host area", "type": "view", "status": "draft" }
]
}
+16
View File
@@ -237,6 +237,12 @@
"items": {
"$ref": "#/$defs/ContributionOpenProvider"
}
},
"workspaceItems": {
"type": "array",
"items": {
"$ref": "#/$defs/ContributionWorkspaceItem"
}
}
}
},
@@ -406,6 +412,16 @@
}
},
"required": ["id", "title", "component", "supports"]
},
"ContributionWorkspaceItem": {
"type": "object",
"properties": {
"id": { "type": "string" },
"title": { "type": "string" },
"icon": { "type": "string" },
"component": { "type": "string" }
},
"required": ["id", "title", "component"]
}
}
}