{
    "version": "2.0.0",
    "tasks": [
        {
            "label": "Poetry: Export requirements.txt (Production)",
            "type": "shell",
            "command": "poetry export -f requirements.txt --output requirements.txt --without-hashes",
            "group": "build",
            "presentation": {
                "reveal": "always",
                "panel": "new"
            },
            "problemMatcher": [],
            "detail": "导出生产环境依赖到 requirements.txt"
        },
        {
            "label": "Bot: Run with Auto-reload",
            "type": "shell",
            "command": "poetry run watchfiles bot.main",
            "group": "build",
            "isBackground": true,
            "presentation": {
                "reveal": "always",
                "panel": "new"
            },
            "problemMatcher": [],
            "detail": "运行 bot 并启用自动重载功能"
        }
    ]
}