// src/platform/runtime-profile.ts
var runtimeState = globalThis.__JU_HONG_E_RUNTIME_PROFILE__ ?? (globalThis.__JU_HONG_E_RUNTIME_PROFILE__ = {
  binaryName: "ju-hong-e",
  profile: "all"
});
var ALL_PROFILE_CONFIGS = {
  all: {},
  be: {
    allowedBuiltinCommands: /* @__PURE__ */ new Set([
      "/review",
      "/commit",
      "/change-service",
      "/security-policy",
      "/show-stream",
      "/sh",
      "/token-optimizer",
      "/minify-md",
      "/help",
      "/exit"
    ])
  },
  fe: {}
};
function getProfileConfig(profile = runtimeState.profile) {
  return ALL_PROFILE_CONFIGS[profile];
}
function configureCliRuntime(options) {
  runtimeState.binaryName = options.binaryName;
  runtimeState.profile = options.profile;
}
function getCliEntryProfile() {
  return runtimeState.profile;
}
function getCliBinaryName() {
  return runtimeState.binaryName;
}
function getAllowedBuiltinCommands(profile = runtimeState.profile) {
  return getProfileConfig(profile).allowedBuiltinCommands;
}

export { configureCliRuntime, getAllowedBuiltinCommands, getCliBinaryName, getCliEntryProfile };
