[general]
name=QGIS Copilot
qgisMinimumVersion=3.34
qgisMaximumVersion=4.99
description=Autonomous AI cartography and spatial analysis copilot driven via Model Context Protocol (MCP) and AI CLIs.
about=Connects QGIS to autonomous AI agents (Google Antigravity agy, Claude Code, Gemini CLI, OpenAI Codex) via the Model Context Protocol (MCP). Features 72 deep QGIS tools (STAC, COG streaming, Overture Maps DuckDB spatial SQL, 440+ Processing algorithms, cartographic styling, sampling grid classification, GCP Helmert georeferencing, vector graphic/QR generation, alpha-numeric reference grids, and themed + A3 folded booklet print layouts) paired with 61 GIS domain skills.
version=1.1.8
author=M. Randy Aswin
email=mrandyaswin@gmail.com
homepage=https://github.com/randyaswin/qgis-copilot
tracker=https://github.com/randyaswin/qgis-copilot/issues
repository=https://github.com/randyaswin/qgis-copilot.git
category=Plugins
tags=ai, agent, mcp, cartography, llm, claude, gemini, agy, layout, styling, processing, overture, stac, duckdb, spatial analysis
experimental=False
deprecated=False
has_processing_provider=False
icon=icon.svg
changelog=1.1.8:
    - Security & QA cleanup: resolved Bandit B112 finding in layout_tools.py (add_map_reference_grid CRS transform logging) cleanly with zero scanner issues across all 21 plugin files.
    - Includes all v1.1.7 features: item rotation (0/90/180/270), generate_layout_graphic (QR codes, curved ribbons, numbered tourist pins/icons, stepped tabs, multi-column directory cards), add_map_reference_grid, and tourist_map_a3 / stepped_booklet_a3 A3 booklet layouts.
1.1.7:
    - Added item rotation support (rotation=0/90/180/270) to add_layout_shape, add_layout_text, add_layout_picture, update_layout_item, and list_layout_items, plus sceneBoundingRect() audit accuracy in snapshot_layout.
    - Added generate_layout_graphic (pure-Python QR code SVG encoder, curved ribbon banner, numbered tourist pins & category icons, stepped colored side-tabs, and multi-column directory cards) and add_map_reference_grid (A-H/1-6 index strips + automatic POI map_grid field stamping).
    - Added tourist_map_a3 and stepped_booklet_a3 (6-panel 2x3 fold with 180-degree inverted top row and staggered vertical side tabs) themes in create_styled_layout, plus Qt6/QGIS4 enum compatibility fixes for plugins.qgis.org.
1.1.6:
    - Added multiple HEIC/HEIF/WebP image attachment support in Attach dialog with automatic JPEG conversion into <project_dir>/scratch/ (preserving EXIF/GPS via pillow_heif/Pillow, QImage, heif-convert, ImageMagick, ffmpeg, or sips).
    - Enforced mandatory load_skill(name) & skill catalog/hint injection across all reasoning effort levels (low, medium, high, xhigh) in AGENT.md, prompts.py, and dock.py.
    - Hardened QGIS-to-MCP bridge connection stability: added server.ensure_endpoint() before CLI launch, port+pid guard in server.stop(), and automatic endpoint.json retry/reconnect in mcp_bridge.py.
1.1.5:
    - Eliminated Overture S3 Parquet hangs/force-closes: single-pass STAC-pruned Parquet streaming (no repeated ORDER BY / OFFSET re-scans), unscoped S3 glob rejection, 1GB memory limit + temp spill, and 180s interrupt timeout.
    - Added bbox size thresholds & automatic spatial tile chunking (_iter_spatial_bbox_chunks) for STAC Parquet plus expanded PMTiles capacity (up to 256 tiles) so only data inside the bbox is fetched.
    - Unified project workspace on new_project(): creates a dedicated folder inside the configured Output directory containing <project>.qgz (also autosave target), scratch/ (all Processing, Overture, DuckDB, and remote vector outputs saved as real files—no memory/temporary layers), and ai/ (AI sessions & CLI workspaces).
1.1.4:
    - Added 5 new popular map layout themes in create_styled_layout: figure_ground, blueprint_technical, small_multiples, transit_schematic, and editorial_vertical.
    - Enhanced poster_minimalist / retro_poster with optional soft gradient vignette masking, plus fixed extent/cover-fit framing and small_multiples 4-column legend sizing.
    - Added new layout-data-preparation skill covering full bbox data fetching, network/isochrone/temporal processing, and theme-specific symbology recipes.
1.1.3:
    - Complete iterative tiled & paginated data fetching across all sources (Overture PMTiles & STAC Parquet including places, DuckDB spatial SQL, STAC item search, ArcGIS FeatureServer/MapServer REST, and OGC WFS).
    - Universal edge-to-edge map framing (cover-fit + explicit/active study bbox lock + outlier-extent filtering) across create_styled_layout and create_layout, plus complete antique_historical parchment/legend/cartouche/north-arrow/scalebar and poster_minimalist layouts.
    - Objective layout QA diagnostics in snapshot_layout, universal 5-axis deep layout reasoning & multi-iteration critique loop in AGENT.md, Agent Orchestration model label in agy selector, and update_layer(name=...) / style_categorized(column=...) aliases.
1.1.1:
    - Dynamic CLI model auto-detection across all supported CLIs: live `agy models` discovery (including Gemini 4 Argon/Hydrogen, Claude 5.5, GPT-OSS) with 15s timeout, Claude Code `cache/model-catalog/*.json` & `settings.json` reader, Gemini CLI JS bundle `VALID_GEMINI_MODELS` extractor, Codex CLI native binary preset extractor, and OpenCode `~/.opencode/bin` priority.
    - Non-blocking UI model loading & persistent disk cache (`models_cache.json`) with one-click `↻` model refresh button, editable `QComboBox` custom/default ID resolution fix, and `xhigh` / `--effort` support for `agy` and `Codex CLI`.
1.1.0:
    - Thread & memory safety hardening: eliminated QApplication.processEvents() re-entrancy crashes, secured QThread/QProcess lifecycles, added canvas freeze guards on project reload/revert, C++/SIP & GDAL/OGR handle guards, and bounded chat log & stream buffers.
    - Full cross-platform portability (Linux, Windows, macOS): QGIS-bundled Python resolution (skipping Windows Store aliases), Windows .cmd/.bat & CREATE_NO_WINDOW support, dynamic CLI discovery across nvm/fnm/volta/pnpm/bun/Homebrew, Windows read-only .git cleanup, and DuckDB path normalization.
    - Expanded to 70 MCP tools & 61 GIS domain skills, including create_sampling_grid, label_grid_cells, Helmert 4-DOF georeferencing with per-GCP RMSE diagnostics, topological avoid_overlap/snap_tolerance digitizing, and 5 new custom skills (raster interpretation, RTRW zoning, multi-hazard modeling, hydrology/SLR, and topology QA).
    - Performance & memory optimizations: single-pass Welford vector stats, chunked attribute updates, O(1) JSONL transcript tail reading, compact session manifests, and refined auto skill selection.
1.0.0:
    - Initial official production release.
    - Autonomous AI map-making copilot via Model Context Protocol (MCP).
    - 5 distinct Cartographic Layout Archetypes (planning_official, infographic_disaster, natgeo, statistical_thematic, relief_topographic).
    - Multilingual smart skill selection across English, Japanese, and Indonesian.
    - 51+ deep PyQGIS MCP tools & 56 cartographic/GIS domain skills.
    - Keyless public geodata streaming (Overture Maps via DuckDB spatial, STAC, COGs, and XYZ basemaps).
    - Zero data fabrication mandate and project-bound session auto-saving.