{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Aide 离线安装资源清单 (Windows)",
  "description": "包含所有需要下载的资源文件信息",
  "version": "1.0.0",
  "platform": "windows",
  "arch": "x64",
  "resources": [
    {
      "id": "uv",
      "name": "uv (Python 包管理器)",
      "version": "latest",
      "required": true,
      "filename": "uv-x86_64-pc-windows-msvc.zip",
      "url": "https://github.com/astral-sh/uv/releases/latest/download/uv-x86_64-pc-windows-msvc.zip",
      "checksum": {
        "algorithm": "sha256",
        "value": "请从发布页面获取"
      },
      "install_path": "%USERPROFILE%\\.local\\bin",
      "notes": "解压后将 uv.exe 放入安装路径"
    },
    {
      "id": "java_jre",
      "name": "Eclipse Temurin JRE 17",
      "version": "17",
      "required": true,
      "filename": "OpenJDK17U-jre_x64_windows_hotspot_17.0.9_9.zip",
      "url": "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.9%2B9/OpenJDK17U-jre_x64_windows_hotspot_17.0.9_9.zip",
      "checksum": {
        "algorithm": "sha256",
        "value": "请从发布页面获取"
      },
      "install_path": "%LOCALAPPDATA%\\Programs\\Java\\jre-17",
      "notes": "解压后配置 JAVA_HOME 和 PATH"
    }
  ],
  "download_instructions": {
    "zh": [
      "1. 访问上述每个资源的 url 下载文件",
      "2. 将下载的文件保存到此目录（与本文件同目录）",
      "3. 确保文件名与 filename 字段一致",
      "4. 以管理员身份运行 install.ps1"
    ],
    "en": [
      "1. Visit the url for each resource and download the file",
      "2. Save the downloaded files to this directory",
      "3. Ensure filenames match the filename field",
      "4. Run install.ps1 as Administrator"
    ]
  },
  "post_install": {
    "python": {
      "note": "Python 将通过 uv python install 命令安装",
      "offline_option": "如需完全离线安装 Python，请提前运行 'uv python install 3.11' 下载 Python 到本地缓存"
    },
    "aide": {
      "note": "安装完成后需要将 aide-program/bin 添加到 PATH",
      "path_variable": "%PATH%"
    }
  }
}
