YoVinchen
0f959112b1
refactor(skill): remove skillsPath configuration ( #310 )
...
Remove the skillsPath field from SkillRepo and Skill structs since
recursive scanning now automatically discovers skills in all directories.
Simplify the UI by removing the path input field.
2025-11-28 16:26:28 +08:00
YoVinchen
7db4b8d976
feat(skill): implement recursive scanning for skill repositories ( #309 )
...
Add recursive directory scanning to discover SKILL.md files in nested
directories. When a SKILL.md is found, treat sibling directories as
functional folders rather than separate skills.
2025-11-28 12:01:20 +08:00
Jason
34dad04fb6
fix(deeplink): remove unused re-exports McpImportError and McpImportResult
2025-11-25 16:19:07 +08:00
Jason
87190b7af3
refactor(deeplink): split monolithic deeplink.rs into modular structure
...
Split the 1691-line deeplink.rs into a well-organized module directory:
- mod.rs (120 lines): DeepLinkImportRequest struct and public exports
- parser.rs (321 lines): URL parsing logic for all resource types
- provider.rs (510 lines): Provider import and config merge logic
- mcp.rs (191 lines): MCP server batch import
- prompt.rs (86 lines): Prompt import
- skill.rs (52 lines): Skill repository import
- utils.rs (99 lines): Shared utilities (URL validation, Base64 decoding)
- tests.rs (384 lines): All unit tests
Benefits:
- Max file size reduced from 1691 to 510 lines
- Each resource type has its own import module
- Shared utilities extracted for reuse
- All 17 deeplink tests + 107 total tests passing
2025-11-25 12:05:33 +08:00