mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
2171c7b855
- Python: extract track_parent_dispatches() context manager, eliminating repeated boilerplate; import AGUIBase directly instead of __bases__[0] - Python: use named constants for "copilotkit_exit" and "Exit" strings with comments explaining why they're literals (source uses them too) - TS runtime: extract withMockedParentMerge() helper using vi.spyOn for automatic cleanup instead of manual try/finally prototype patching - TS runtime: add makeCustomEvent() factory to centralise as-any casts - TS runtime: use CustomEventNames constants for all custom event tests - TS runtime: fix misleading comment on empty string content test - TS runtime: add callPrivate() docstring noting the any trade-off https://claude.ai/code/session_01BPMn7zhadhapfyyD8kYeAH