#!/usr/bin/env node
import {
  init_esm_shims
} from "./chunk-DHET7RCE.js";

// src/cli/consts.ts
init_esm_shims();
import os from "os";
import path from "path";
import { fileURLToPath } from "url";
var __filename = fileURLToPath(import.meta.url);
var __dirname = path.dirname(__filename);
var isInDist = __dirname.includes("/dist");
var CLI_ROOT = isInDist ? path.resolve(__dirname, "..") : path.resolve(__dirname, "../..");
var PROJECT_ROOT = CLI_ROOT;
var CLAUDE_DIR = ".claude";
var CLAUDE_SRC_DIR = ".claude-src";
var PLUGINS_SUBDIR = "plugins";
var PLUGIN_MANIFEST_DIR = ".claude-plugin";
var PLUGIN_MANIFEST_FILE = "plugin.json";
var DEFAULT_PLUGIN_NAME = "agents-inc";
var CACHE_DIR = path.join(os.homedir(), ".cache", DEFAULT_PLUGIN_NAME);
var CLI_BIN_NAME = "agentsinc";
var SKILLS_MATRIX_PATH = "config/skills-matrix.yaml";
var STACKS_FILE_PATH = "config/stacks.yaml";
var SKILLS_DIR_PATH = "src/skills";
var LOCAL_SKILLS_PATH = ".claude/skills";
var ARCHIVED_SKILLS_DIR_NAME = "_archived";
var DIRS = {
  agents: "src/agents",
  skills: "src/skills",
  stacks: "src/stacks",
  templates: "src/agents/_templates",
  commands: "src/commands"
};
var STANDARD_FILES = {
  SKILL_MD: "SKILL.md",
  METADATA_YAML: "metadata.yaml",
  METADATA_JSON: "metadata.json",
  CONFIG_YAML: "config.yaml",
  SKILLS_MATRIX_YAML: "skills-matrix.yaml",
  AGENT_YAML: "agent.yaml",
  PLUGIN_JSON: "plugin.json",
  CLAUDE_MD: "CLAUDE.md",
  REFERENCE_MD: "reference.md",
  INTRO_MD: "intro.md",
  WORKFLOW_MD: "workflow.md",
  EXAMPLES_MD: "examples.md",
  OUTPUT_FORMAT_MD: "output-format.md",
  CRITICAL_REQUIREMENTS_MD: "critical-requirements.md",
  CRITICAL_REMINDERS_MD: "critical-reminders.md"
};
var STANDARD_DIRS = {
  EXAMPLES: "examples",
  SCRIPTS: "scripts",
  SKILLS: "skills"
};
var DEFAULT_VERSION = "1.0.0";
var DEFAULT_DISPLAY_VERSION = "0.0.0";
var SCHEMA_PKG_PREFIX = "https://raw.githubusercontent.com/agents-inc/cli/main/src/schemas";
var SCHEMA_PATHS = {
  agent: `${SCHEMA_PKG_PREFIX}/agent.schema.json`,
  metadata: `${SCHEMA_PKG_PREFIX}/metadata.schema.json`,
  marketplace: `${SCHEMA_PKG_PREFIX}/marketplace.schema.json`,
  projectConfig: `${SCHEMA_PKG_PREFIX}/project-config.schema.json`,
  projectSourceConfig: `${SCHEMA_PKG_PREFIX}/project-source-config.schema.json`,
  skillsMatrix: `${SCHEMA_PKG_PREFIX}/skills-matrix.schema.json`,
  stacks: `${SCHEMA_PKG_PREFIX}/stacks.schema.json`
};
function yamlSchemaComment(schemaPath) {
  return `# yaml-language-server: $schema=${schemaPath}`;
}
var YAML_FORMATTING = {
  INDENT: 2,
  LINE_WIDTH: 120,
  /** lineWidth: 0 disables wrapping — used for metadata files */
  LINE_WIDTH_NONE: 0
};
var UI_SYMBOLS = {
  CHECKBOX_CHECKED: "[x]",
  CHECKBOX_UNCHECKED: "[ ]",
  CHEVRON: "\u276F",
  CHEVRON_SPACER: " ",
  SELECTED: "\u2713",
  UNSELECTED: "\u25CB",
  CURRENT: "\u25CF",
  SKIPPED: "\u2013",
  DISCOURAGED: "!",
  DISABLED: "\u2013",
  SCROLL_UP: "\u25B2",
  SCROLL_DOWN: "\u25BC"
};
var UI_LAYOUT = {
  MAX_VISIBLE_RESULTS: 10,
  DESCRIPTION_WIDTH: 30,
  COPIED_MESSAGE_TIMEOUT_MS: 2e3,
  FALLBACK_MESSAGE_TIMEOUT_MS: 3e3
};
var GITHUB_SOURCE = {
  HTTPS_PREFIX: "https://github.com/",
  GITHUB_PREFIX: "github:",
  GH_PREFIX: "gh:"
};
var DEFAULT_SKILLS_SUBDIR = "skills";
var HASH_PREFIX_LENGTH = 7;
var CACHE_HASH_LENGTH = 16;
var CACHE_READABLE_PREFIX_LENGTH = 32;
var ONE_MB = 1024 * 1024;
var MAX_MARKETPLACE_FILE_SIZE = 10 * ONE_MB;
var MAX_PLUGIN_FILE_SIZE = ONE_MB;
var MAX_CONFIG_FILE_SIZE = ONE_MB;
var MAX_JSON_NESTING_DEPTH = 10;
var MAX_MARKETPLACE_PLUGINS = 1e4;
var SCROLL_VIEWPORT = {
  /** Height of the "N more above" scroll indicator */
  SCROLL_INDICATOR_HEIGHT: 1,
  /** Estimated lines per category name row (including top margin) */
  CATEGORY_NAME_LINES: 2,
  /** Margin between category sections (marginTop on CategorySection) */
  CATEGORY_MARGIN_LINES: 1,
  /** Minimum rows to show at least 1 category before enabling scroll */
  MIN_VIEWPORT_ROWS: 5,
  /** Minimum terminal height to show the wizard at all */
  MIN_TERMINAL_HEIGHT: 15
};
var DEFAULT_BRANDING = {
  NAME: "Agents Inc.",
  TAGLINE: "AI-powered development tools"
};
var DEFAULT_PUBLIC_SOURCE_NAME = "Agents Inc";
var CLI_COLORS = {
  PRIMARY: "cyan",
  SUCCESS: "green",
  ERROR: "red",
  WARNING: "yellow",
  INFO: "blue",
  NEUTRAL: "gray",
  FOCUS: "cyan",
  UNFOCUSED: "white",
  WHITE: "white"
};
var DEFAULT_SCRATCH_DOMAINS = ["web", "api", "mobile"];
var ASCII_LOGO = ` \u2588\u2588\u2588\u2588\u2588\u2557  \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2588\u2557   \u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557      \u2588\u2588\u2557\u2588\u2588\u2588\u2557   \u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557
\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D \u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D\u2588\u2588\u2588\u2588\u2557  \u2588\u2588\u2551\u255A\u2550\u2550\u2588\u2588\u2554\u2550\u2550\u255D\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D      \u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2557  \u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D
\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2551\u2588\u2588\u2551  \u2588\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2557  \u2588\u2588\u2554\u2588\u2588\u2557 \u2588\u2588\u2551   \u2588\u2588\u2551   \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557      \u2588\u2588\u2551\u2588\u2588\u2554\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2551
\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2551\u2588\u2588\u2551   \u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2550\u255D  \u2588\u2588\u2551\u255A\u2588\u2588\u2557\u2588\u2588\u2551   \u2588\u2588\u2551   \u255A\u2550\u2550\u2550\u2550\u2588\u2588\u2551      \u2588\u2588\u2551\u2588\u2588\u2551\u255A\u2588\u2588\u2557\u2588\u2588\u2551\u2588\u2588\u2551
\u2588\u2588\u2551  \u2588\u2588\u2551\u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2551 \u255A\u2588\u2588\u2588\u2588\u2551   \u2588\u2588\u2551   \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2551      \u2588\u2588\u2551\u2588\u2588\u2551 \u255A\u2588\u2588\u2588\u2588\u2551\u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2557
\u255A\u2550\u255D  \u255A\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D\u255A\u2550\u255D  \u255A\u2550\u2550\u2550\u255D   \u255A\u2550\u255D   \u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D      \u255A\u2550\u255D\u255A\u2550\u255D  \u255A\u2550\u2550\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u255D`;
var DEFAULT_PRESELECTED_SKILLS = [
  "meta-methodology-anti-over-engineering",
  "meta-methodology-context-management",
  "meta-methodology-improvement-protocol",
  "meta-methodology-investigation-requirements",
  "meta-methodology-success-criteria",
  "meta-methodology-write-verification"
];

export {
  PROJECT_ROOT,
  CLAUDE_DIR,
  CLAUDE_SRC_DIR,
  PLUGINS_SUBDIR,
  PLUGIN_MANIFEST_DIR,
  PLUGIN_MANIFEST_FILE,
  DEFAULT_PLUGIN_NAME,
  CACHE_DIR,
  CLI_BIN_NAME,
  SKILLS_MATRIX_PATH,
  STACKS_FILE_PATH,
  SKILLS_DIR_PATH,
  LOCAL_SKILLS_PATH,
  ARCHIVED_SKILLS_DIR_NAME,
  DIRS,
  STANDARD_FILES,
  STANDARD_DIRS,
  DEFAULT_VERSION,
  DEFAULT_DISPLAY_VERSION,
  SCHEMA_PATHS,
  yamlSchemaComment,
  YAML_FORMATTING,
  UI_SYMBOLS,
  UI_LAYOUT,
  GITHUB_SOURCE,
  DEFAULT_SKILLS_SUBDIR,
  HASH_PREFIX_LENGTH,
  CACHE_HASH_LENGTH,
  CACHE_READABLE_PREFIX_LENGTH,
  MAX_MARKETPLACE_FILE_SIZE,
  MAX_PLUGIN_FILE_SIZE,
  MAX_CONFIG_FILE_SIZE,
  MAX_JSON_NESTING_DEPTH,
  MAX_MARKETPLACE_PLUGINS,
  SCROLL_VIEWPORT,
  DEFAULT_BRANDING,
  DEFAULT_PUBLIC_SOURCE_NAME,
  CLI_COLORS,
  DEFAULT_SCRATCH_DOMAINS,
  ASCII_LOGO,
  DEFAULT_PRESELECTED_SKILLS
};
//# sourceMappingURL=chunk-FVN5PFFY.js.map