Task API#
这些 API 是 Getting Started 中任务声明、workspace guardrail 和 Conductor TaskDef 生成会用到的入口。
|
Declare the single Perago task exported by a Python module. |
|
Validated contract extracted from a single Perago task module. |
|
Import a module target and return its single Perago task definition. |
|
Workspace declaration for a workspace task. |
|
Require one workspace-relative file to exist. |
|
Require one workspace-relative directory to exist. |
|
Require a bounded number of workspace files matching a glob pattern. |
|
Reject workspace files matching a glob pattern. |
|
Evaluate workspace guardrails against a local attempt workspace. |
|
Build the Conductor TaskDef dictionary for one Perago task. |
|
Write a generated Conductor TaskDef to a JSON file. |