@enerlence/suntropy-cli 0.11.7 → 0.11.8
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.
- package/dist/bin/suntropy.js +2 -2
- package/dist/bin/suntropy.js.map +1 -1
- package/package.json +1 -1
package/dist/bin/suntropy.js
CHANGED
|
@@ -3329,7 +3329,7 @@ async function generateFromProfile(global, tariff, market, year, mode, data) {
|
|
|
3329
3329
|
if (!profile || !Array.isArray(profile) || profile.length === 0) {
|
|
3330
3330
|
throw new Error("Failed to fetch REE profiles");
|
|
3331
3331
|
}
|
|
3332
|
-
const { applyProfileToConsumption, ConsumptionIntroductionModes } = await import("energy-types/lib/energy/calculations/applyProfileToConsumption");
|
|
3332
|
+
const { applyProfileToConsumption, ConsumptionIntroductionModes } = await import("energy-types/lib/energy/calculations/applyProfileToConsumption.js");
|
|
3333
3333
|
if (mode === "CONSUMPTION_BY_PERIOD") {
|
|
3334
3334
|
const tariffIdMap = { "2.0TD": 13, "3.0TD": 14, "6.1TD": 15 };
|
|
3335
3335
|
const tariffId = tariffIdMap[tariff] || 14;
|
|
@@ -4729,7 +4729,7 @@ function registerCommandProfileCommand(program2) {
|
|
|
4729
4729
|
}
|
|
4730
4730
|
|
|
4731
4731
|
// src/index.ts
|
|
4732
|
-
var CLI_VERSION = true ? "0.11.
|
|
4732
|
+
var CLI_VERSION = true ? "0.11.8" : "0.0.0-dev";
|
|
4733
4733
|
function createProgram() {
|
|
4734
4734
|
const program2 = new Command4();
|
|
4735
4735
|
program2.name("suntropy").description("Agent-first CLI for Suntropy solar platform. Optimized for programmatic data manipulation and progressive exploration.").version(CLI_VERSION).option("--format <format>", "Output format: json (default), human, csv", "json").option("--fields <fields>", "Comma-separated fields to include in output").option("--server <url>", "Override API server URL").option("--token <jwt>", "Override authentication token").option("--profile <name>", "Use a specific config profile").option("--verbose", "Show HTTP request/response details on stderr").option("--quiet", "Suppress non-data output").option("--save <file>", "Save output to file (also writes to stdout)");
|