"""
agent.core.prompts - Agent 系统 Prompt 集中管理

子模块：
- runner.py     系统提示、工具中断、任务命名、经验格式
- knowledge.py  知识反思提取（压缩时 + 任务完成后）
- compression.py  消息压缩总结
- subagent.py   子 Agent 评估、结果格式化、知识管理
"""

from agent.core.prompts.runner import (
    DEFAULT_SYSTEM_PREFIX,
    TRUNCATION_HINT,
    TOOL_INTERRUPTED_MESSAGE,
    AGENT_INTERRUPTED_SUMMARY,
    AGENT_CONTINUE_HINT_TEMPLATE,
    TASK_NAME_GENERATION_SYSTEM_PROMPT,
    TASK_NAME_FALLBACK,
    build_tool_interrupted_message,
    build_agent_continue_hint,
)

from agent.core.prompts.knowledge import (
    REFLECT_PROMPT,
    COMPLETION_REFLECT_PROMPT,
    build_reflect_prompt,
)

from agent.core.prompts.compression import (
    COMPRESSION_PROMPT_TEMPLATE,
    COMPRESSION_EVAL_PROMPT_TEMPLATE,
    SUMMARY_HEADER_TEMPLATE,
    build_compression_eval_prompt,
    build_single_turn_prompt,
    build_summary_header,
)

__all__ = [
    # runner
    "DEFAULT_SYSTEM_PREFIX",
    "TRUNCATION_HINT",
    "TOOL_INTERRUPTED_MESSAGE",
    "AGENT_INTERRUPTED_SUMMARY",
    "AGENT_CONTINUE_HINT_TEMPLATE",
    "TASK_NAME_GENERATION_SYSTEM_PROMPT",
    "TASK_NAME_FALLBACK",
    "build_tool_interrupted_message",
    "build_agent_continue_hint",
    # knowledge
    "REFLECT_PROMPT",
    "COMPLETION_REFLECT_PROMPT",
    "build_reflect_prompt",
    # compression
    "COMPRESSION_PROMPT_TEMPLATE",
    "COMPRESSION_EVAL_PROMPT_TEMPLATE",
    "SUMMARY_HEADER_TEMPLATE",
    "build_compression_eval_prompt",
    "build_summary_header",
]
