mirror of
https://github.com/langgenius/dify.git
synced 2026-03-17 04:47:50 +08:00
Refactor the skill editor state management from a standalone Zustand store with Context provider pattern to a slice injection pattern that integrates with the existing workflow store. This aligns with how rag-pipeline already injects its slice. - Remove SkillEditorProvider and SkillEditorContext - Export createSkillEditorSlice for injection into workflow store - Update all components to use useStore/useWorkflowStore from workflow store - Add SkillEditorSliceShape to SliceFromInjection union type - Use type-safe slice creator args without any types