@base44-preview/cli 0.1.15-pr.630.ca4815b → 0.1.15-pr.630.f8ef122

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/dist/cli/index.js CHANGED
@@ -269452,18 +269452,27 @@ function getAgentsCommand() {
269452
269452
 
269453
269453
  // src/core/model.ts
269454
269454
  var MODELS = [
269455
- { name: "default", id: null, note: "let Base44 choose" },
269455
+ {
269456
+ name: "Automatic",
269457
+ id: null,
269458
+ note: "matched with the best model",
269459
+ aliases: ["default", "auto"]
269460
+ },
269456
269461
  { name: "Opus 5", id: "claude_opus_5" },
269457
269462
  { name: "Sonnet 5", id: "claude-sonnet-5" },
269458
269463
  { name: "Fable 5", id: "claude_fable_5", note: "uses more credits" },
269459
269464
  { name: "GPT-5.6 Sol", id: "gpt_5_6_sol" },
269460
- { name: "Gemini 3.8 Flash", id: "gemini_3_8_flash", note: "fast" },
269465
+ {
269466
+ name: "Gemini 3.8 Flash",
269467
+ id: "gemini_3_8_flash",
269468
+ note: "fast responses for everyday tasks"
269469
+ },
269461
269470
  { name: "Base 1", id: "base1" }
269462
269471
  ];
269463
269472
  var fold = (s) => s.toLowerCase().replace(/[^a-z0-9]/g, "");
269464
269473
  function resolvePick(input) {
269465
269474
  const key = fold(input);
269466
- const byExact = MODELS.find((m) => fold(m.name) === key || m.id && fold(m.id) === key);
269475
+ const byExact = MODELS.find((m) => fold(m.name) === key || m.id && fold(m.id) === key || m.aliases?.some((a) => fold(a) === key));
269467
269476
  if (byExact)
269468
269477
  return byExact;
269469
269478
  const byContains = MODELS.filter((m) => fold(m.name).includes(key) || m.id && fold(m.id).includes(key));
@@ -269491,7 +269500,7 @@ async function saveBuilderModel(userId, modelId) {
269491
269500
  throw await ApiError.fromHttpError(error, "saving your model choice");
269492
269501
  }
269493
269502
  }
269494
- var displayName = (id) => MODELS.find((m) => m.id === id)?.name ?? id ?? "default";
269503
+ var displayName = (id) => MODELS.find((m) => m.id === id)?.name ?? id ?? "Automatic";
269495
269504
 
269496
269505
  // src/cli/commands/app/model.ts
269497
269506
  async function modelAction({ log, jsonMode }, input) {
@@ -288325,4 +288334,4 @@ export {
288325
288334
  runCLI
288326
288335
  };
288327
288336
 
288328
- //# debugId=3E91D87E1D11D84464756E2164756E21
288337
+ //# debugId=72FC25F5FAAAB35A64756E2164756E21