# Copyright 2025 Vijaykumar Singh <singhvjd@gmail.com>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

"""Streaming chat submodule for orchestrator.

This module contains the extracted streaming logic from AgentOrchestrator,
providing better testability and separation of concerns.

Components:
- StreamingChatContext: Dataclass holding all state for a streaming session
- StreamingChatHandler: Main handler for streaming chat iterations
- IterationResult: Result of a single iteration in the streaming loop
"""

from victor.agent.streaming.context import StreamingChatContext, create_stream_context
from victor.agent.streaming.handler import StreamingChatHandler
from victor.agent.streaming.iteration import IterationResult, IterationAction

__all__ = [
    "StreamingChatContext",
    "StreamingChatHandler",
    "IterationResult",
    "IterationAction",
    "create_stream_context",
]
