@enerlence/suntropy-cli 0.11.6 → 0.11.7

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.
@@ -4531,7 +4531,16 @@ Examples:
4531
4531
  name: opts.title,
4532
4532
  description: opts.message,
4533
4533
  ...opts.study ? { externalId: opts.study } : {},
4534
- ...opts.link ? { link: opts.link } : {}
4534
+ ...opts.link ? { link: opts.link } : {},
4535
+ // The notifications backend only persists notificationContent when a
4536
+ // `data` payload is present (the OneToOne isn't cascaded), so without
4537
+ // this the notification renders blank in the bell. Always send a
4538
+ // small data object; harmless once the backend also persists content
4539
+ // without it. Not read by the front for these types.
4540
+ data: {
4541
+ source: opts.asAlexandria ? "alexandria" : "cli",
4542
+ ...opts.study ? { studyId: opts.study } : {}
4543
+ }
4535
4544
  }
4536
4545
  };
4537
4546
  const res = await client.post("/notifications", notification);
@@ -4720,7 +4729,7 @@ function registerCommandProfileCommand(program2) {
4720
4729
  }
4721
4730
 
4722
4731
  // src/index.ts
4723
- var CLI_VERSION = true ? "0.11.6" : "0.0.0-dev";
4732
+ var CLI_VERSION = true ? "0.11.7" : "0.0.0-dev";
4724
4733
  function createProgram() {
4725
4734
  const program2 = new Command4();
4726
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)");