[general]
name=Pro Toolbox
qgisMinimumVersion=3.16
qgisMaximumVersion=3.99
description=Modular productivity toolbox with drag-and-drop tab management, category bookmarks, external .py hot-mounting and a bilingual UI. Ships with 8 production tools: QA/QC review (F4/F5), autosave, batch map export, Word reports, raster cleaning and an AI module studio. 模块化生产提效工具箱：支持拖拽排序与分类书签、外部 .py 脚本拖入热挂载、中英双语界面；内置属性质检、自动存档、批量出图、Word 报表、影像去黑边与 AI 模块工坊等 8 个模块。
version=1.2.0
author=KGSINYA
email=kgsinya@163.com
about=Pro Toolbox is an extensible productivity framework for QGIS.

    Key features:
    - Drag-and-Drop Management: reorder module tabs directly on the main bar; drag a tab onto the left category bookmarks to move it between folders or pin it globally; drop external .py scripts to install and hot-reload them.
    - Category Bookmarks and Global Pin: organize tools into physical subfolders under addons/ with automatic English/Chinese display mapping; custom "Chinese | English" folder aliases are supported; pinned modules stay visible in every category.
    - Context Menu and Explorer Integration: right-click folders, tabs or manager items to assign modules, rename categories, delete a category (its .py files are moved back to addons/, never deleted) or open the folder in the system file manager.
    - Bilingual and Offline: switch the whole interface, including category folder names, at runtime; all dependencies are bundled as wheels, so no pip and no network are required.

    Built-in modules:
    1. Attribute Review / QA-QC (04_qaqc.py): red/green/purple rule rendering, native yellow highlight, F4/F5 marking, auto-cruise and a live progress dashboard.
    2. Autosave (01_auto_save.py): timed GeoPackage snapshots with rotation and one-click restore.
    3. Layer Visibility Cycling (02_layer_switch.py): arrow keys flip through layers inside a group.
    4. Numpad Macro Input (03_numpad_macro.py): bind numpad keys to repetitive attributes.
    5. Coordinate Jump and Batch Map Export (05_excel_map.py): coordinate entry, table-to-point mapping and batch layout export.
    6. Word Report Generator (06_word_report.py): fill .docx templates with attributes and map images row by row.
    7. Raster NoData and Black-Border Cleaner (07_raster_cleaner.py): clean imagery edges and resample on the fly.
    8. AI Module Studio (99_module_studio.py): contract prompt, AST pre-check and hot mount for new single-file tools.

    Privacy and runtime note:
    Fully offline. No telemetry, no network calls, and no API keys required. Platform-matched lxml wheels for Python 3.9 and 3.12 are bundled in libs/.

    ---

    中文简介：
    Pro Toolbox 是一个面向 QGIS 的可扩展生产提效框架。

    核心特性：
    - 拖拽管理：主界面标签可左右拖动排序；拖到左侧分类书签即可改变所属分类或设为全局常驻；外部 .py 文件可直接拖入安装并热重载。
    - 分类书签与全局常驻：模块按 addons/ 下的物理子文件夹归类，内置中英双语目录名映射，也支持“中文名 | English Name”别名；置顶模块在所有分类中都可见。
    - 右键菜单与本地目录联动：右键书签、标签或管理器条目可分配模块、重命名分类、删除分类（内部 .py 移回 addons/ 根目录，不删源码）或在系统文件管理器中打开目录。
    - 双语与离线：整个界面（含分类目录名）可在运行时切换中英文；依赖以 wheel 形式内置，无需 pip、无需联网。

    内置模块：
    1. 属性质检 (04_qaqc.py)：红/绿/紫规则渲染、原生亮黄高亮、F4/F5 标记、自动巡航与实时进度。
    2. 自动存档 (01_auto_save.py)：定时 GPKG 快照、轮转与一键回溯。
    3. 图层可见性轮播 (02_layer_switch.py)：方向键切换组内图层。
    4. 小键盘宏录入 (03_numpad_macro.py)：把重复属性绑定到小键盘。
    5. 坐标跳转与表格批量出图 (05_excel_map.py)：坐标定位、表格转点、批量套版出图。
    6. Word 模板报表 (06_word_report.py)：把属性与导出图片逐行填入 .docx 模板。
    7. 影像去黑边与 NoData 清理 (07_raster_cleaner.py)：清理影像边缘并重采样。
    8. AI 模块工坊 (99_module_studio.py)：契约提示词、AST 预检与热挂载。

    隐私与运行时说明：
    完全离线，无遥测、无网络请求、无需 API Key；libs/ 内置 Python 3.9 与 3.12 对应的 lxml wheel。
tracker=https://github.com/KGSINYA/qgis-pro-toolbox/issues
repository=https://github.com/KGSINYA/qgis-pro-toolbox
homepage=https://github.com/KGSINYA/qgis-pro-toolbox
tags=automation,digitizing,workflow,hot-reload,report,vector,raster,ai,microkernel,container,drag-and-drop
category=Vector
icon=icon.png
experimental=False
deprecated=False
changelog=1.2.0
    1.2.0: drag-and-drop navigation (reorderable main tabs, category bookmarks, manager tree), drop external .py files to install and hot-reload, context menus and system file-manager integration, bilingual category folder mapping with custom "Chinese | English" aliases, and a unified category-plus-pin navigation model that replaces workspace presets while staying backward compatible with existing configuration files. The QA/QC module now exposes three user-configurable status colours (unreviewed / approved / flagged) through a colour dialog and re-applies the rule symbology immediately; the AI Module Studio now builds its contract prompt in the active UI language, with a fully English prompt on English installations. Security: removed subprocess in favour of QDesktopServices, clearing Bandit B404/B603/B607.
    1.1.2: bandit hardening for plugins.qgis.org: every deliberately swallowed exception now records a debug diagnostic through safe_log.log_ignored and is annotated for the mandatory B110 rule; no functional changes.
    1.1.1: positioning refresh: README and plugin metadata rewritten around the micro-kernel workspace philosophy; the QA/QC module gained red/green/purple rule rendering, native yellow highlight, F4/F5 marking, auto-cruise and a live progress dashboard; step-by-step guides added to both READMEs.
    1.1.0: folder-based addon discovery with optional bookmark sidebar; module manager (enable/disable, reorder, pin); raster NoData / black-border cleaner; AI Module Studio with contract prompt, AST pre-check and hot mount; tests/ smoke suite.
    1.0.0: first public release: hot-swappable addon loader, auto-save with version rotation and one-click restore, arrow-key layer cycling, numpad macro input, QA/QC pass-through, table-to-point mapping with batch map export, and template-driven Word reports.
