#!/usr/bin/env node
import {
  runCli
} from "../chunk-AI3CY7T6.js";
import {
  logger
} from "../chunk-K44MW7JJ.js";

// src/cli/dev.ts
import { readFileSync } from "fs";
var mode = process.env["OPENFOX_MODE"] ?? "development";
var pkg = JSON.parse(readFileSync("./package.json", "utf-8"));
process.env["VERSION"] = pkg.version + "-dev";
runCli({ mode }).catch((error) => {
  logger.error("CLI fatal error", { error: error instanceof Error ? error.message : String(error) });
  process.exit(1);
});
//# sourceMappingURL=dev.js.map