Fix plugin skill content loading before capa install - #165
Conversation
Read SKILL.md from the unpacked plugin tree under ~/.capa/plugins so the UI can show content as soon as a plugin is added, without requiring install to materialize provider skill dirs. Co-authored-by: Cursor <cursoragent@cursor.com>
PR Summary by QodoLoad plugin SKILL.md from unpacked plugin dir before
AI Description
Diagram
High-Level Assessment
Files changed (4)
|
Code Review by Qodo
1.
|
Prefer provider-installed skill copies over the unpacked plugin tree so post-install sanitized content wins, and cache plugin skill directory scans by mtime to avoid repeated walks. Co-authored-by: Cursor <cursoragent@cursor.com>
Summary
capa install, because content resolution only checked provider skill dirs.~/.capa/plugins/<projectId>/..capa-commandslayouts.Test plan
capa installbun test src/server/__tests__/skill-content-plugin.test.tscapa install, content still loads as before