30 lines
827 B
YAML
30 lines
827 B
YAML
schema_version: 3
|
|
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
|