mirror of
https://github.com/mark3labs/kit.git
synced 2026-06-14 03:30:26 +00:00
f778379dea
* feat: add SDK package for programmatic MCPHost usage - Export InitConfig and LoadConfigWithEnvSubstitution from cmd package - Create sdk package with MCPHost type for programmatic access - Add Options struct for configuration overrides - Implement Prompt and PromptWithCallbacks methods - Add session management (load, save, clear) - Create type helpers for Message and ToolCall - Add comprehensive SDK documentation in README - Include basic and scripting examples - Add unit tests for SDK functionality The SDK reuses all existing internal packages and maintains identical behavior to the CLI, including config loading, environment variables, and defaults. * docs: add SDK section to main README with link to detailed documentation * fix tests * update CI