{
  "scenario": "hagi-index-generator",
  "locale": "zh-CN",
  "version": "1.0.0",
  "syntax": "handlebars",
  "syntaxVersion": "1.0",
  "author": "PCode Team",
  "description": "Generate or update hagindex.yml file for quick repository reference",
  "image": {
    "stageStyleKey": "index-blueprint-network",
    "artStyle": "建筑蓝晒图风格",
    "displayMode": "blueprint-sheet",
    "aspectRatio": "16:9",
    "alt": "Generate or update hagindex.yml file for quick repository reference",
    "stageStyleLabel": "Blueprint network sheet",
    "promptDirection": "资料编目、导航网络、索引织造"
  },
  "lastModified": "2026-03-03",
  "tags": [
    "CustomExecutor"
  ],
  "parameters": [
    {
      "name": "projectPath",
      "type": "string",
      "required": true,
      "description": "Absolute path to project root directory, AI will analyze repository structure and generate hagindex.yml"
    },
    {
      "name": "repositoryPath",
      "type": "string",
      "required": false,
      "description": "Sub-repository path for MonoSpecs projects (e.g., 'repos/hagicode-core'). When provided, AI will analyze the specific sub-repository instead of the project root."
    },
    {
      "name": "monoSpecsRepositories",
      "type": "array",
      "required": false,
      "description": "MonoSpecs 子仓库列表。当提供此参数时，AI 将为每个子仓库生成独立的 hagindex.yml 文件。数组中每个对象应包含：path（相对路径）、displayName（显示名称）、url（仓库 URL）、icon（图标）、type（仓库类型）。"
    }
  ],
  "dungeon": {
    "enabled": true,
    "scriptKey": "autotask.hagi-index-generator",
    "groupKey": "autotask",
    "sortOrder": 140,
    "displayName": "HagIndex 生成器",
    "description": "用于 HagIndex 生成任务的运行时成员路由配置。"
  }
}
