mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-29 19:35:20 +02:00
24 lines
744 B
Python
24 lines
744 B
Python
"""Actions domain: registry surface + built-in action packages.
|
|
|
|
Each action lives in its own subpackage (``agent_task/``, ...) and self-registers
|
|
at import time via its ``definition`` module. Side-effect imports below ensure
|
|
the registry is populated whenever anyone touches the actions package.
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
from .store import all_actions, get_action, register_action
|
|
from .types import ActionContext, ActionDefinition, ActionHandler, ActionHandlerFactory
|
|
|
|
__all__ = [
|
|
"ActionContext",
|
|
"ActionDefinition",
|
|
"ActionHandler",
|
|
"ActionHandlerFactory",
|
|
"all_actions",
|
|
"get_action",
|
|
"register_action",
|
|
]
|
|
|
|
# Built-in actions self-register at import time.
|
|
from . import agent_task # noqa: F401
|