mirror of
https://github.com/mark3labs/kit.git
synced 2026-06-13 19:20:06 +00:00
d7c4565999
- Remove unused SetOpenAICredentials/validateOpenAIAPIKey (internal/auth) - Remove unused SudoPasswordRequiredMetadata/IsSudoPasswordRequiredResult (internal/core) - Add Extension* type aliases in pkg/kit/extension_api.go so the public ExtensionAPI interface no longer exposes internal/extensions types - Extract bridgeObserve generic helper and llmToContextMessages / contextMessagesToLLM in pkg/kit/extensions_bridge.go (~150 lines saved) - Extract parseHeaders and buildOAuthConfig in connection_pool.go to deduplicate SSE/Streamable client construction (~60 lines saved) - Eliminate redundant second buildInteractiveExtensionContext call in cmd/root.go; swap print closures on the same context instead - Replace 'Fantasy' with 'agent' in internal comment (pkg/kit/kit.go)