schema_version: 1 name: text-translate version: 0.1.0 # Capability provided by this module. provides: - capability: text.translate version: 0.1.0 # Inputs the invoke function accepts. inputs: # Source text to translate. text: text # Target language name in plain English (e.g. "German", # "French", "ja-JP" — anything the configured LLM # understands). target_language: text # Optional source language hint. Empty string lets the model # auto-detect. source_language: text # Ollama-shaped /api/chat endpoint. endpoint: text # Model identifier (e.g. "qwen2.5:14b"). model: text # Optional bearer token for cloud-hosted endpoints. api_key: text # Outputs produced. outputs: # The translated text. translation: text # Echo of the source-language input for downstream audit. source_language: text # Echo of the target-language input. target_language: text # Endpoint the translation was generated against. model_endpoint: text # Model identifier as supplied to the LLM API. model_name: text # SHA-256 digest of the served Ollama model (when reachable). model_digest: text # Permissions required. permissions: - "net: localhost" - "net: 127.0.0.1" - "net: api.openai.com" - "net: api.anthropic.com"