mirror of
https://github.com/mark3labs/kit.git
synced 2026-06-13 19:20:06 +00:00
d79eb1f0fa
Replace concrete LLMMessage/LLMUsage/LLMResponse/LLMFilePart structs with type aliases to charm.land/fantasy types, exposing them under clean LLM-prefixed names. This gives SDK consumers full access to rich message parts (tool calls, reasoning, tool results) without importing fantasy directly. Key changes: - LLM types are now aliases: LLMMessage=fantasy.Message, etc. - Added aliases for all part types: LLMTextPart, LLMToolCallPart, etc. - Re-exported constructors: NewLLMUserMessage, NewLLMSystemMessage - Removed lossy conversion helpers (llm_convert.go, fantasyMsgsToKit) - Updated all internal packages to use aliases consistently - Added ACP smoke test script and prompt template - Fixed lint issues: unused vars, modernize min() usage