Brings module.yaml in line with F∆I 0.12.0's capability naming convention. The legacy schema_version 1 (with implicit provider) still loads in 0.12.0 via the grace-period default, but this bump makes the publisher identity explicit and unblocks storage-layout migration via 'fai migrate'. See fai/platform docs/reference/capability-namespaces.yaml + docs/operations/migration-to-0.12.md. Signed-off-by: flemming-it <sf@flemming.it>
30 lines
827 B
YAML
30 lines
827 B
YAML
schema_version: 2
|
|
provider: fai
|
|
name: studio-translate-ollama
|
|
version: 0.1.0
|
|
|
|
provides:
|
|
- capability: studio.translate.ollama
|
|
version: 0.1.0
|
|
|
|
# Studio plugins are called via WIT exports, not the flow-engine
|
|
# `invoke` path. Inputs / outputs stay empty so the hub's
|
|
# manifest validator doesn't trip.
|
|
inputs: {}
|
|
outputs: {}
|
|
|
|
# Reaches out to an Ollama-shaped HTTP endpoint. The default
|
|
# permissions cover loopback (local Ollama via host services
|
|
# or `ollama serve`) plus the two common LLM endpoints
|
|
# operators might tunnel through.
|
|
permissions:
|
|
- "net: localhost"
|
|
- "net: 127.0.0.1"
|
|
- "net: ollama"
|
|
|
|
# Plugin-host declaration: which hooks this component
|
|
# implements. Studio reads this at plugin-discovery time so it
|
|
# knows which RPCs to call against this capability.
|
|
studio_extension:
|
|
hooks:
|
|
- translate
|