@tamyla/clodo-framework 2.0.10 → 2.0.11

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,10 @@
1
+ ## [2.0.11](https://github.com/tamylaa/clodo-framework/compare/v2.0.10...v2.0.11) (2025-10-12)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * correct domain selection parsing in auto-discovery ([ea80443](https://github.com/tamylaa/clodo-framework/commit/ea80443bf9968d592f066e7d5d13ee47d6fde889))
7
+
1
8
  ## [2.0.10](https://github.com/tamylaa/clodo-framework/compare/v2.0.9...v2.0.10) (2025-10-12)
2
9
 
3
10
 
@@ -387,14 +387,17 @@ export class InputCollector {
387
387
 
388
388
  // Format zones for display
389
389
  const formatted = formatZonesForDisplay(zones);
390
- console.log(formatted);
390
+ formatted.forEach((line, index) => {
391
+ console.log(chalk.white(` ${index + 1}. ${line}`));
392
+ });
391
393
 
392
394
  // Let user select a domain
393
395
  const selection = await this.prompt('\nSelect domain (enter number or name): ');
394
- const selectedZone = parseZoneSelection(selection, zones);
395
- if (!selectedZone) {
396
+ const selectedIndex = parseZoneSelection(selection, zones);
397
+ if (selectedIndex === -1) {
396
398
  throw new Error('Invalid domain selection');
397
399
  }
400
+ const selectedZone = zones[selectedIndex];
398
401
  console.log(chalk.green(`\n✓ Selected: ${selectedZone.name}`));
399
402
 
400
403
  // Get full zone details
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamyla/clodo-framework",
3
- "version": "2.0.10",
3
+ "version": "2.0.11",
4
4
  "description": "Reusable framework for Clodo-style software architecture on Cloudflare Workers + D1",
5
5
  "type": "module",
6
6
  "sideEffects": [