2026-06-04 12:38:30 +02:00
|
|
|
"""Backward-compatible shim.
|
2026-04-28 09:22:19 -07:00
|
|
|
|
2026-06-04 12:38:30 +02:00
|
|
|
The permission evaluator now lives in the shared agent kernel at
|
|
|
|
|
``app.agents.shared.permissions``. This module re-exports it so frozen
|
|
|
|
|
single-agent code (``chat_deepagent`` and ``subagents/*``) keeps working
|
|
|
|
|
until that stack is retired.
|
2026-04-28 09:22:19 -07:00
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
from __future__ import annotations
|
|
|
|
|
|
2026-06-04 12:38:30 +02:00
|
|
|
from app.agents.shared.permissions import (
|
|
|
|
|
Rule,
|
|
|
|
|
RuleAction,
|
|
|
|
|
Ruleset,
|
|
|
|
|
aggregate_action,
|
|
|
|
|
evaluate,
|
|
|
|
|
evaluate_many,
|
|
|
|
|
wildcard_match,
|
|
|
|
|
)
|
2026-04-28 09:22:19 -07:00
|
|
|
|
|
|
|
|
__all__ = [
|
|
|
|
|
"Rule",
|
|
|
|
|
"RuleAction",
|
|
|
|
|
"Ruleset",
|
|
|
|
|
"aggregate_action",
|
|
|
|
|
"evaluate",
|
|
|
|
|
"evaluate_many",
|
|
|
|
|
"wildcard_match",
|
|
|
|
|
]
|