chore: auto release commit (2026-09-15 00:32:44)
All checks were successful
技能自动化发布 / release (push) Successful in 7s
All checks were successful
技能自动化发布 / release (push) Successful in 7s
This commit is contained in:
@@ -129,6 +129,72 @@
|
||||
"command": "render-html",
|
||||
"args": ["--task-id", "{form.task_id}"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "show-config",
|
||||
"label": "查看运行时配置",
|
||||
"description": "展示 .env 中已设置的全部非空配置项;含 TOKEN/SECRET/KEY/PASSWORD 的字段自动脱敏。",
|
||||
"placements": ["skill-detail", "agent"],
|
||||
"executionProfile": "sync",
|
||||
"entrypoint": {
|
||||
"type": "cli",
|
||||
"command": "show-config",
|
||||
"args": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "logs-list",
|
||||
"label": "查看运行日志",
|
||||
"description": "读取日志文件末尾 N 行(默认 200 行),按 INFO/WARNING/ERROR 等级过滤;日志文件不存在时返回 exists=false。",
|
||||
"placements": ["skill-detail", "agent"],
|
||||
"executionProfile": "sync",
|
||||
"entrypoint": {
|
||||
"type": "cli",
|
||||
"command": "logs-list",
|
||||
"args": ["--tail", "200", "--level", "INFO"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "download-materials",
|
||||
"label": "批量下载材料包",
|
||||
"description": "从合同台账的 download_tasks 队列领取 N 条 pending 任务,启动浏览器从 SmartCampus HR 平台下载续聘材料包(pdf/docx)。",
|
||||
"placements": ["toolbar", "batch", "cron", "agent"],
|
||||
"executionProfile": "async",
|
||||
"interaction": "form",
|
||||
"bind": {
|
||||
"tables": ["download_tasks"],
|
||||
"selectionMode": "optional",
|
||||
"labelColumn": "contract_id",
|
||||
"inputMapping": {"itemIds": "$selection.ids"}
|
||||
},
|
||||
"confirmation": {
|
||||
"message": "将启动浏览器下载续聘材料包(仅 pending 会执行),是否继续?"
|
||||
},
|
||||
"entrypoint": {
|
||||
"type": "cli",
|
||||
"command": "download-materials",
|
||||
"args": ["--ids", "{form.itemIds}", "--pick", "{form.pickCount}"]
|
||||
},
|
||||
"inputSchema": {
|
||||
"type": "object",
|
||||
"required": ["itemIds", "pickCount"],
|
||||
"properties": {
|
||||
"itemIds": {"type": "string", "title": "队列编号列表", "readOnly": true},
|
||||
"pickCount": {"type": "number", "title": "领取数量", "default": 5, "minimum": 1, "maximum": 50}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "import-input",
|
||||
"label": "扫描输入目录并入库",
|
||||
"description": "主动扫描 data/input/contracts/*.csv 入库合同,data/input/materials/{contract_id}__*.* 入库材料(自动入库到 materials_content)。",
|
||||
"placements": ["skill-detail", "agent", "cron"],
|
||||
"executionProfile": "async",
|
||||
"entrypoint": {
|
||||
"type": "cli",
|
||||
"command": "import-input",
|
||||
"args": []
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user