docs(sdk): feedback visible via windows.open + séparation Codex skills documentées — commands-and-feedback (surface normative + exemple), layouts-react (type↔contributes.layouts, capacité ui), manifest (exemple complet menu+layout+ui), windows (contrat ui, retour structuré), packaging-distribution (idea_plugin_install_from_directory, sémantique plugin_reloaded/ESM), nouveau codex-skills-and-idea-plugins, README (lien) — #280 QA verte

This commit is contained in:
2026-09-08 13:40:52 +02:00
parent 9829ccdf2a
commit 1239104b0f
7 changed files with 202 additions and 9 deletions

View File

@ -32,6 +32,26 @@ ctx.layouts?.register({
});
```
The `type` must exactly match one entry in `contributes.layouts`. The host
rejects registrations for undeclared layout types. A plugin that opens this
layout for human feedback must also declare the `ui` capability so the UI
runtime and window services are part of the public contract.
```json
{
"capabilities": ["ui", "tooling"],
"contributes": {
"layouts": [
{
"type": "hello-plugin.dashboard",
"label": "Dashboard",
"component": "Dashboard"
}
]
}
}
```
## Props
- `projectId`: project hosting the layout.