"use strict";
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
  // If the importer is in node compatibility mode or this is not an ESM
  // file that has been converted to a CommonJS file using a Babel-
  // compatible transform (i.e. "__esModule" has not been set), then set
  // "default" to the CommonJS "module.exports" for node compatibility.
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
  mod
));
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var consts_exports = {};
__export(consts_exports, {
  cliRootDir: () => cliRootDir,
  defaultBotpressApiUrl: () => defaultBotpressApiUrl,
  defaultBotpressAppUrl: () => defaultBotpressAppUrl,
  defaultBotpressHome: () => defaultBotpressHome,
  defaultChatApiUrl: () => defaultChatApiUrl,
  defaultInstallPath: () => defaultInstallPath,
  defaultProfileName: () => defaultProfileName,
  defaultTunnelUrl: () => defaultTunnelUrl,
  defaultWorkDir: () => defaultWorkDir,
  distDirName: () => distDirName,
  fromCliRootDir: () => fromCliRootDir,
  fromHomeDir: () => fromHomeDir,
  fromOutDir: () => fromOutDir,
  fromWorkDir: () => fromWorkDir,
  installDirName: () => installDirName,
  outDirName: () => outDirName,
  productionBotpressDomain: () => productionBotpressDomain,
  profileFileName: () => profileFileName,
  stagingBotpressDomain: () => stagingBotpressDomain
});
module.exports = __toCommonJS(consts_exports);
var import_os = __toESM(require("os"));
var import_path = __toESM(require("path"));
var import_root = require("./root");
const productionBotpressDomain = "botpress.cloud";
const stagingBotpressDomain = "botpress.dev";
const defaultBotpressHome = import_path.default.join(import_os.default.homedir(), ".botpress");
const defaultWorkDir = process.cwd();
const defaultInstallPath = process.cwd();
const defaultBotpressApiUrl = `https://api.${productionBotpressDomain}`;
const defaultBotpressAppUrl = `https://app.${productionBotpressDomain}`;
const defaultTunnelUrl = `https://tunnel.${productionBotpressDomain}`;
const defaultChatApiUrl = `https://chat.${productionBotpressDomain}`;
const cliRootDir = import_root.CLI_ROOT_DIR;
const installDirName = "bp_modules";
const outDirName = ".botpress";
const distDirName = "dist";
const profileFileName = "profiles.json";
const defaultProfileName = "default";
const fromCliRootDir = {};
const fromHomeDir = {
  globalCacheFile: "global.cache.json"
};
const fromOutDir = {
  distDir: distDirName,
  outFileCJS: import_path.default.join(distDirName, "index.cjs"),
  outFileESM: import_path.default.join(distDirName, "index.mjs"),
  implementationDir: "implementation",
  pluginsDir: "plugins",
  secretsDir: "secrets",
  projectCacheFile: "project.cache.json"
};
const fromWorkDir = {
  integrationDefinition: "integration.definition.ts",
  interfaceDefinition: "interface.definition.ts",
  botDefinition: "bot.definition.ts",
  pluginDefinition: "plugin.definition.ts",
  entryPoint: import_path.default.join("src", "index.ts"),
  outDir: outDirName,
  distDir: import_path.default.join(outDirName, fromOutDir.distDir),
  outFileCJS: import_path.default.join(outDirName, fromOutDir.outFileCJS),
  outFileESM: import_path.default.join(outDirName, fromOutDir.outFileESM),
  implementationDir: import_path.default.join(outDirName, fromOutDir.implementationDir),
  pluginsDir: import_path.default.join(outDirName, fromOutDir.pluginsDir),
  secretsDir: import_path.default.join(outDirName, fromOutDir.secretsDir),
  projectCacheFile: import_path.default.join(outDirName, fromOutDir.projectCacheFile)
};
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  cliRootDir,
  defaultBotpressApiUrl,
  defaultBotpressAppUrl,
  defaultBotpressHome,
  defaultChatApiUrl,
  defaultInstallPath,
  defaultProfileName,
  defaultTunnelUrl,
  defaultWorkDir,
  distDirName,
  fromCliRootDir,
  fromHomeDir,
  fromOutDir,
  fromWorkDir,
  installDirName,
  outDirName,
  productionBotpressDomain,
  profileFileName,
  stagingBotpressDomain
});
//# sourceMappingURL=consts.js.map
