diff --git a/suite-user/AGENTS.md b/suite-user/AGENTS.md index a3e513a..f528b75 100644 --- a/suite-user/AGENTS.md +++ b/suite-user/AGENTS.md @@ -6,22 +6,18 @@ ### 安装 gis-actions +**Linux:** ```bash -# 下载最新版 curl -sLO https://packages.mercator.cn/public/gis-actions/latest.deb - -# 安装 sudo dpkg -i latest.deb - -# 确认安装成功 agc --help ``` -### 确认 Docker 可用 - -```bash -docker ps -``` +**Windows:** +1. 下载 [latest-windows.zip](https://packages.mercator.cn/public/gis-actions/latest-windows.zip) +2. 解压到 `%LOCALAPPDATA%\AgentGIS\gis-actions\` +3. 将路径加入 `PATH` +4. 验证:`agc --help` ### 配置 API Key @@ -30,7 +26,7 @@ docker ps 1. 登录 https://auth.mercator.cn,创建 API Key 2. 运行 `agc config set api_key <你的 API Key>` -## 首次执行 `agc run` 时会自动下载 gis-base 运行镜像。 +## Linux 版首次执行 `agc run` 时会自动下载 gis-base 运行镜像。Windows 版不需要镜像。 ## 遇到问题? @@ -41,7 +37,11 @@ docker ps ### 1. 查市场,选套件 ```bash +# 所有套件(Linux + Windows) curl -s https://suites.mercator.cn/api/v1/suites | python3 -m json.tool + +# 仅 Windows 套件 +curl -s 'https://suites.mercator.cn/api/v1/suites?platform=windows' | python3 -m json.tool ``` 记下你要用的套件 ID。