refactor(automations): vertical-slice actions and triggers by domain

This commit is contained in:
CREDO23 2026-05-27 17:07:20 +02:00
parent ce45e11009
commit 8c32455818
24 changed files with 86 additions and 108 deletions

View file

@ -1,8 +1,13 @@
"""Schemas for the automation definition and per-type configs."""
"""Schemas for the automation definition envelope.
Per-action and per-trigger params schemas live with the action/trigger
implementations (``app.automations.actions.<name>.params`` /
``app.automations.triggers.<name>.params``); only the cross-cutting envelope
lives here.
"""
from __future__ import annotations
from .actions import AgentTaskActionParams
from .definition import (
AutomationDefinition,
Execution,
@ -11,16 +16,12 @@ from .definition import (
PlanStep,
TriggerSpec,
)
from .triggers import ManualTriggerParams, ScheduleTriggerParams
__all__ = [
"AgentTaskActionParams",
"AutomationDefinition",
"Execution",
"Inputs",
"ManualTriggerParams",
"Metadata",
"PlanStep",
"ScheduleTriggerParams",
"TriggerSpec",
]