@tamyla/clodo-framework 3.1.0 → 3.1.1

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/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [3.1.1](https://github.com/tamylaa/clodo-framework/compare/v3.1.0...v3.1.1) (2025-10-25)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * add missing collect method to InputCollector for deploy command ([ef78a92](https://github.com/tamylaa/clodo-framework/commit/ef78a922dac445e6d8a88f4dc73cde7a6b280055))
7
+
8
+ ## [3.1.1](https://github.com/tamylaa/clodo-framework/compare/v3.1.0...v3.1.1) (2025-10-25)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * add missing collect method to InputCollector for deploy command ([ef78a92](https://github.com/tamylaa/clodo-framework/commit/ef78a922dac445e6d8a88f4dc73cde7a6b280055))
14
+
1
15
  # [3.1.0](https://github.com/tamylaa/clodo-framework/compare/v3.0.15...v3.1.0) (2025-10-24)
2
16
 
3
17
 
@@ -647,7 +647,7 @@ program
647
647
 
648
648
  // Interactive mode: run input collector
649
649
  if (isInteractive) {
650
- await inputCollector.collect();
650
+ coreInputs = await inputCollector.collect();
651
651
  } else {
652
652
  // Non-interactive mode: load from config file or stored config
653
653
 
@@ -587,4 +587,18 @@ export class InputCollector {
587
587
  this.rl = null; // Clear reference so ensureReadline() can create new one if needed
588
588
  }
589
589
  }
590
+
591
+ /**
592
+ * Collect inputs and return flat core inputs object
593
+ * Used by CLI for deployment
594
+ */
595
+ async collect() {
596
+ const result = await this.collectInputsWithTransparency();
597
+ // Flatten the core inputs from {id: {value, ...}} to {id: value}
598
+ const flatCoreInputs = {};
599
+ for (const [key, inputObj] of Object.entries(result.coreInputs)) {
600
+ flatCoreInputs[key] = inputObj.value;
601
+ }
602
+ return flatCoreInputs;
603
+ }
590
604
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamyla/clodo-framework",
3
- "version": "3.1.0",
3
+ "version": "3.1.1",
4
4
  "description": "Reusable framework for Clodo-style software architecture on Cloudflare Workers + D1",
5
5
  "type": "module",
6
6
  "sideEffects": [