Migration guide — v0.14.0¶
Summary¶
v0.14 adds the plugin host MVP: workspace plugin manifests, reference validators/exporters, CLI/LSP hooks, and OntoCode workflow scaffold.
New capabilities¶
| Feature | How to use |
|---|---|
| Plugin manifests | .ontocore/plugins/*.toml |
| List plugins | ontocore plugins list |
| Run plugin | ontocore plugins run <id> --action validate |
| Plugin diagnostics in validate | ontocore validate (automatic) |
| Plugin export | ontocore docs --plugin ontocode.markdown-export |
| owlmake scaffold | ontocore workflow run --plugin owlmake or OntoCode: Run Workflow (owlmake) |
| LSP | ontocore/listPlugins, ontocore/runPlugin |
Breaking changes¶
None for existing v0.13 workflows. Plugin host is additive.
Diagnostic model¶
Plugin diagnostics use DiagnosticCode::PluginViolation with optional plugin_id and plugin_code fields. LSP source is ontocore-plugin:<id>.
Upgrade steps¶
- Update
ontocoreCLI:cargo install ontocore-cli --locked - Update OntoCode extension to 0.14.0
- Optional: copy manifests from examples/plugin-workspace