
Security News
Socket Releases Free Certified Patches for Critical vm2 Sandbox Escape
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.
@openpets/weather
Advanced tools
Multi-provider weather plugin with OpenWeatherMap, Visual Crossing, and WeatherAPI.com support for current conditions, forecasts, and location-based weather discovery
Comprehensive weather plugin for OpenCode providing real-time weather data, forecasts, and location-based weather discovery using OpenWeatherMap API.
Create a .env file in weather plugin directory:
# Required: OpenWeatherMap API key
OPENWEATHER_API_KEY=your_api_key_here
# Optional: Temperature units (metric, imperial, kelvin)
# Default: metric
WEATHER_UNITS=metric
# Test connection
opencode run "test weather connection"
# Get current weather
opencode run "get current weather in New York"
# Get tomorrow's forecast
opencode run "get weather forecast for tomorrow in London"
# Find good weather locations
opencode run "find good weather places near Athens, Greece"
Test plugin connection and configuration status.
opencode run "test weather connection"
Get current weather conditions for a location.
Parameters:
location (required): City name, coordinates (lat,lon), or zip codeunits (optional): Temperature units (metric, imperial, kelvin)Examples:
opencode run "get current weather in Tokyo"
opencode run "get current weather for 40.7128,-74.0060"
opencode run "get current weather in Paris with imperial units"
Get weather forecast for a location.
Parameters:
location (required): City name, coordinates, or zip codedays (optional): Number of days to forecast (1-5, default: 5)units (optional): Temperature unitsExamples:
opencode run "get weather forecast for Berlin"
opencode run "get 3 day forecast for Madrid"
opencode run "get weather forecast for Sydney with metric units"
Get tomorrow's weather forecast for a location.
Parameters:
location (required): City name, coordinates, or zip codeunits (optional): Temperature unitsExamples:
opencode run "get weather forecast for tomorrow in Rome"
opencode run "what's the weather like tomorrow in Amsterdam"
Find locations with good weather conditions around a specific area.
Parameters:
location (required): Center location (city name or coordinates)radius (optional): Search radius in km (10-500, default: 100)day (optional): Day to check (today, tomorrow, default: tomorrow)min_temp (optional): Minimum temperature (default: 15°C)max_temp (optional): Maximum temperature (default: 30°C)units (optional): Temperature unitsExamples:
opencode run "find good weather places near Athens, Greece"
opencode run "find good weather locations within 50km of Barcelona"
opencode run "find warm weather places near Miami for tomorrow"
The "good weather" assessment considers:
Each location receives a score (0-4) based on how many criteria it meets.
All tools return structured JSON responses:
{
"success": true,
"location": {
"name": "London",
"country": "GB"
},
"current": {
"temperature": 18,
"feels_like": 17,
"humidity": 65,
"pressure": 1013
},
"weather": {
"main": "Clouds",
"description": "partly cloudy"
},
"units": "metric"
}
The plugin provides clear error messages for:
# Check current weather at destination
opencode run "get current weather in Athens, Greece"
# Check tomorrow's forecast
opencode run "get weather forecast for tomorrow in Athens, Greece"
# Find better weather nearby if needed
opencode run "find good weather places near Athens, Greece"
# Quick current weather
opencode run "get current weather in my location"
# Plan for tomorrow
opencode run "get weather forecast for tomorrow"
# Check weekend forecast
opencode run "get 3 day forecast for wedding location"
# Find backup venues with good weather
opencode run "find good weather places near event venue"
40.7128,-74.0060 is more accurate than "New York"For issues with:
FAQs
Multi-provider weather plugin with OpenWeatherMap, Visual Crossing, and WeatherAPI.com support for current conditions, forecasts, and location-based weather discovery
The npm package @openpets/weather receives a total of 6 weekly downloads. As such, @openpets/weather popularity was classified as not popular.
We found that @openpets/weather demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.

Research
Five malicious NuGet packages impersonate Chinese .NET libraries to deploy a stealer targeting browser credentials, crypto wallets, SSH keys, and local files.

Security News
pnpm 11 turns on a 1-day Minimum Release Age and blocks exotic subdeps by default, adding safeguards against fast-moving supply chain attacks.