studio-translate-ollama/module.yaml
flemming-it 7b7709b6b1 refactor: rename to chain:studio-plugin WIT + provider chain
Tracks the platform's fai->chain rename: provider chain, WIT ABI
chain:studio-plugin / chain:platform (binding paths/accessors), SDK pin.

Signed-off-by: flemming-it <sf@flemming.it>
2026-06-15 22:56:20 +02:00

30 lines
829 B
YAML

schema_version: 3
provider: chain
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