cloudburn 0.17.0 → 0.18.3

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/README.md CHANGED
@@ -158,6 +158,10 @@ access, or incomplete configurations produce diagnostics. The SDK exposes both t
158
158
  `includeEvaluationResources: true`; the CLI prints finding identities and diagnostics.
159
159
  `CLDBRN-AWS-SAGEMAKER-3` uses Cost Explorer coverage data and remains available when Cost Optimization Hub is unavailable.
160
160
  Use `--debug` to print SDK and provider execution tracing to `stderr` without changing the normal `stdout` format.
161
+ On interactive terminals, discovery prints catalog and dataset progress plus provisional rule results to `stderr` as
162
+ rules finish. Each rule line includes its ID, status, and finding count. Provisional results describe work completed so
163
+ far; the final report and exit code are authoritative. Progress is silent when `stderr` is not a terminal or `--debug`
164
+ is enabled. `--format json` writes one final JSON result to `stdout`.
161
165
 
162
166
  ## Shell Completion
163
167
 
package/dist/cli.js CHANGED
@@ -1111,6 +1111,13 @@ var resolveCliDiscoveryProgressLogger = (command) => {
1111
1111
  return void 0;
1112
1112
  }
1113
1113
  return (event) => {
1114
+ if (event.kind === "rule") {
1115
+ process.stderr.write(
1116
+ `discover: rules ${event.completedRules}/${event.totalRules} (${event.ruleId}: ${event.status}, findings: ${event.findingCount}, provisional)
1117
+ `
1118
+ );
1119
+ return;
1120
+ }
1114
1121
  process.stderr.write(
1115
1122
  event.kind === "catalog" ? `discover: catalog ready with ${event.resourceCount} resources from ${event.searchRegion}
1116
1123
  ` : `discover: datasets ${event.completedDatasets}/${event.totalDatasets} loaded (${event.datasetKey})
@@ -1597,7 +1604,7 @@ var isCliEntrypoint = (moduleUrl, argvEntry = process.argv[1]) => {
1597
1604
  };
1598
1605
  var createProgram = () => {
1599
1606
  const program = createCliCommand();
1600
- program.name("cloudburn").usage("[command]").description("Know what you spend. Fix what you waste.").version("0.17.0").option("--debug", "Write execution trace messages to stderr").option("--format <format>", OUTPUT_FORMAT_OPTION_DESCRIPTION, parseOutputFormat);
1607
+ program.name("cloudburn").usage("[command]").description("Know what you spend. Fix what you waste.").version("0.18.3").option("--debug", "Write execution trace messages to stderr").option("--format <format>", OUTPUT_FORMAT_OPTION_DESCRIPTION, parseOutputFormat);
1601
1608
  configureCliHelp(program);
1602
1609
  program.exitOverride();
1603
1610
  registerCompletionCommand(program);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloudburn",
3
- "version": "0.17.0",
3
+ "version": "0.18.3",
4
4
  "description": "Cloudburn CLI for cloud cost optimization",
5
5
  "homepage": "https://cloudburn.io/docs",
6
6
  "bugs": {
@@ -20,7 +20,7 @@
20
20
  ],
21
21
  "dependencies": {
22
22
  "commander": "^13.1.0",
23
- "@cloudburn/sdk": "0.34.0"
23
+ "@cloudburn/sdk": "0.36.0"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@biomejs/biome": "^2.5.3",
@@ -49,7 +49,7 @@
49
49
  },
50
50
  "scripts": {
51
51
  "build": "tsup",
52
- "typecheck": "tsc --noEmit",
52
+ "typecheck": "tsc -p tsconfig.typecheck.json",
53
53
  "test": "vitest run",
54
54
  "test:e2e": "node --test test/e2e/*.test.mjs",
55
55
  "test:package": "node --test test/package/*.test.mjs",