@base44-preview/cli 0.1.14-pr.626.6952180 → 0.1.15-pr.626.d48e59b

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
@@ -239236,7 +239236,7 @@ import { join as join13 } from "node:path";
239236
239236
  // package.json
239237
239237
  var package_default = {
239238
239238
  name: "base44",
239239
- version: "0.1.14",
239239
+ version: "0.1.15",
239240
239240
  description: "Base44 CLI - Unified interface for managing Base44 applications",
239241
239241
  type: "module",
239242
239242
  bin: {
@@ -247239,21 +247239,17 @@ var DeclareVersionResponseSchema = object({
247239
247239
  }));
247240
247240
  var CreateVersionResponseSchema = object({
247241
247241
  version_id: string2(),
247242
- manifest_hash: string2(),
247243
- deduplicated: boolean2()
247242
+ manifest_hash: string2()
247244
247243
  }).transform((data) => ({
247245
247244
  versionId: data.version_id,
247246
- manifestHash: data.manifest_hash,
247247
- deduplicated: data.deduplicated
247245
+ manifestHash: data.manifest_hash
247248
247246
  }));
247249
247247
  var DeployVersionResponseSchema = object({
247250
247248
  deployment_id: string2(),
247251
- manifest_hash: string2(),
247252
- revision: number2()
247249
+ manifest_hash: string2()
247253
247250
  }).transform((data) => ({
247254
247251
  deploymentId: data.deployment_id,
247255
- manifestHash: data.manifest_hash,
247256
- revision: data.revision
247252
+ manifestHash: data.manifest_hash
247257
247253
  }));
247258
247254
 
247259
247255
  // src/core/version/api.ts
@@ -250707,7 +250703,7 @@ async function logsAction(ctx, options) {
250707
250703
  function getLogsCommand() {
250708
250704
  return new Base44Command("logs").description("Fetch function logs for this app").option("--function <names>", "Filter by function name(s), comma-separated. If omitted, fetches logs for all deployed functions").option("--since <datetime>", "Show logs from this time. ISO datetime or relative shorthand (e.g. 1h, 30m, 2d)", normalizeDatetime).option("--until <datetime>", "Show logs until this time. ISO datetime or relative shorthand (e.g. 1h, 30m, 2d)", normalizeDatetime).addOption(new Option2("--level <level>", "Filter by log level").choices([
250709
250705
  ...LogLevelSchema.options
250710
- ])).option("-n, --limit <n>", "Results per page (1-1000; the server returns at most 500)").option("-f, --follow", "Stream new logs as they arrive").addOption(new Option2("--order <order>", "Sort order").choices(["asc", "desc"])).addOption(new Option2("--env <env>", "Which deployment to read logs from: preview (current draft) or prod (published). Default: preview").choices([...LogEnvSchema.options])).action(logsAction);
250706
+ ])).option("-n, --limit <n>", "Results per page (1-1000; the server returns at most 500)").option("-f, --follow", "Stream new logs as they arrive").addOption(new Option2("--order <order>", "Sort order").choices(["asc", "desc"])).addOption(new Option2("--env <env>", "Which deployment to read logs from: preview (current draft) or prod (published). Omit to read both.").choices([...LogEnvSchema.options])).action(logsAction);
250711
250707
  }
250712
250708
 
250713
250709
  // src/cli/commands/project/scaffold.ts
@@ -250831,10 +250827,10 @@ async function publishAction(ctx, options) {
250831
250827
  });
250832
250828
  }, { successMessage: "Published", errorMessage: "Publish failed" });
250833
250829
  if (!jsonMode) {
250834
- log.message(theme.styles.dim(`version ${result.versionId}${result.deduplicated ? " (existing content)" : ""}`));
250830
+ log.message(theme.styles.dim(`version ${result.versionId}`));
250835
250831
  }
250836
250832
  return {
250837
- outroMessage: `Deployment ${result.deploymentId} at revision ${result.revision}`,
250833
+ outroMessage: `Deployment ${result.deploymentId}`,
250838
250834
  stdout: jsonMode ? `${JSON.stringify(result, null, 2)}
250839
250835
  ` : undefined
250840
250836
  };
@@ -251572,7 +251568,7 @@ async function deployAction3({ runTask, jsonMode }, versionId, options) {
251572
251568
  idempotencyKey: randomUUID5()
251573
251569
  }), { successMessage: "Version deployed", errorMessage: "Deploy failed" });
251574
251570
  return {
251575
- outroMessage: `Deployment ${deployment.deploymentId} at revision ${deployment.revision}`,
251571
+ outroMessage: `Deployment ${deployment.deploymentId}`,
251576
251572
  stdout: jsonMode ? `${JSON.stringify(deployment, null, 2)}
251577
251573
  ` : undefined
251578
251574
  };
@@ -260302,4 +260298,4 @@ export {
260302
260298
  runCLI
260303
260299
  };
260304
260300
 
260305
- //# debugId=552C10C2A6541CE164756E2164756E21
260301
+ //# debugId=2D4CD02B7197620F64756E2164756E21