Search by

spora-ai / spora-plugin-weather

fabeat

WeatherAPI.com current conditions and forecasts for Spora agents.

Package info

github.com/spora-ai/spora-plugin-weather

Type:spora-plugin

pkg:composer/spora-ai/spora-plugin-weather

Statistics

Installs: 463

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.7.0 2026-10-26 12:33 UTC

README

Spora plugin: weather. The full reference (install, configuration, per-tool parameters, development) has moved to the docs site:

docs.spora-ai.com/develop/plugins/reference/weather

See the docs site for the canonical reference. The README previously in this repo has been migrated there.

Translations

This plugin ships a German catalogue at locales/de.json, declared through translationsPaths() in src/WeatherPlugin.php. The host merges it under core's own catalogue, so a German install reads the plugin's operator copy in German.

The key is the English source string, byte for byte — editing the English in the source changes the key, so the old entry stops matching and the new English has no entry. The gate is this repository's own tests/Unit/LocaleCatalogTest.php: it fails on an empty translation, on a translation identical to its key, and on a key the source no longer produces.

Translated

  • the tool's display name — Weather API
  • the five setting descriptions — api_key, base_url, default_days, units and http_timeout
  • the plugin.json description

Never translated — these strings are read by the model, so the operator sees exactly what the model sees:

  • #[Tool].description
  • #[ToolOperation].description
  • #[ToolParameter].description
  • every #[ToolSetting].label and its option labels

The approval prompt describeAction() returns stays English: it interpolates the location itself, so the rendered sentence matches no catalogue template.

See the plugin author guide → Translations.