decharge-scout 4.3.0 → 4.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +5 -4
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -267,7 +267,7 @@ async function runQueryCycle(wallet, agentName, location, options) {
267
267
 
268
268
  // Fetch weather data and generate smart pricing simulation
269
269
  const weatherSpinner = ora('Fetching real-time weather forecast...').start();
270
- let weatherData, energyData, countryCode;
270
+ let weatherData, energyData, countryCode, insights;
271
271
 
272
272
  try {
273
273
  // Get real weather forecast from Open-Meteo (FREE!)
@@ -281,7 +281,7 @@ async function runQueryCycle(wallet, agentName, location, options) {
281
281
  pricingSpinner.succeed(chalk.green(`āœ“ Generated ${energyData.length} hours of smart pricing data`));
282
282
 
283
283
  // Show pricing insights
284
- const insights = getPricingInsights(energyData, countryCode);
284
+ insights = getPricingInsights(energyData, countryCode);
285
285
  console.log(chalk.blue(`\nšŸ’” Smart Simulation Insights:`));
286
286
  console.log(chalk.gray(` Region: ${insights.region}`));
287
287
  console.log(chalk.gray(` Price range: $${insights.minPrice}-$${insights.maxPrice}/kWh (${insights.priceRange}% variation)`));
@@ -493,8 +493,9 @@ async function runQueryCycle(wallet, agentName, location, options) {
493
493
  reasons: cheapestHourData?.reasons || []
494
494
  },
495
495
 
496
- // Special notes from user
497
- notes: specialNotes.trim() || null
496
+ // User contributions
497
+ notes: specialNotes.trim() || null,
498
+ alpha_contribution: pendingAlphaContribution || null
498
499
  };
499
500
 
500
501
  // Submit to oracle
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "decharge-scout",
3
- "version": "4.3.0",
3
+ "version": "4.3.2",
4
4
  "description": "Global Energy Scout - Weather-powered intelligent energy price forecasting with Solana integration",
5
5
  "main": "index.js",
6
6
  "type": "module",