# SPDX-FileCopyrightText: 2025 OmniNode.ai Inc.
# SPDX-License-Identifier: MIT
"""NodeTicketCompilerCompute — thin coordination shell.

Stage 4 of the NL Intent-Plan-Ticket Compiler.

Capability: nl.ticket.compile.compute
All compute logic lives in HandlerTicketCompileDefault; this node is a pure
delegation shell.
"""

from __future__ import annotations

from typing import TYPE_CHECKING, Any  # any-ok: contract-driven node shell

from omnibase_core.nodes.node_compute import NodeCompute

if TYPE_CHECKING:
    from omnibase_core.models.container.model_onex_container import ModelONEXContainer


class NodeTicketCompilerCompute(NodeCompute[Any, Any]):
    """Compute node for Plan DAG work unit → Compiled Ticket.

    Capability: nl.ticket.compile.compute

    All behavior defined in handler.  Handler resolved via ServiceRegistry.
    """

    def __init__(self, container: ModelONEXContainer) -> None:
        """Initialise the Ticket Compiler compute node.

        Args:
            container: ONEX container for dependency injection.
        """
        super().__init__(container)


__all__ = ["NodeTicketCompilerCompute"]
