genbox 1.0.94 → 1.0.95

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.
@@ -54,10 +54,10 @@ const db_utils_1 = require("../db-utils");
54
54
  const utils_1 = require("../utils");
55
55
  // Credits consumed per hour for each size (matches API billing.config.ts)
56
56
  const CREDITS_PER_HOUR = {
57
- cx22: 1,
58
- cx32: 2,
59
- cx42: 4,
60
- cx52: 8,
57
+ cx23: 1,
58
+ cx33: 2,
59
+ cx43: 4,
60
+ cx53: 8,
61
61
  small: 1,
62
62
  medium: 2,
63
63
  large: 4,
@@ -1339,11 +1339,16 @@ function generateConfig(detected, settings, repos, environments, profiles) {
1339
1339
  const provides = {};
1340
1340
  if (detected.infrastructure) {
1341
1341
  for (const infra of detected.infrastructure) {
1342
- provides[infra.name] = {
1342
+ const providerConfig = {
1343
1343
  type: infra.type,
1344
1344
  image: infra.image,
1345
1345
  port: infra.port,
1346
1346
  };
1347
+ // Include replicaSet for MongoDB if detected
1348
+ if (infra.replicaSet) {
1349
+ providerConfig.replicaSet = infra.replicaSet;
1350
+ }
1351
+ provides[infra.name] = providerConfig;
1347
1352
  }
1348
1353
  }
1349
1354
  // Build defaults
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "genbox",
3
- "version": "1.0.94",
3
+ "version": "1.0.95",
4
4
  "description": "Genbox CLI - AI-Powered Development Environments",
5
5
  "main": "dist/index.js",
6
6
  "bin": {