Commit 36d728e
Three issues prevented skills from showing in the SkillsFlow panel:
1. Skills list was loaded only once (cached by flowsLoaded flag). After
installing skills via the marketplace, returning to SkillsFlow would
still show 'No skills installed' since the cached empty result was
never refreshed. Fix: always reload skills when switching to the
SkillsFlow tab.
2. When files_changed was broadcast after skill installation, it only
refreshed the file tree but not the SkillsFlow skills panel. Fix:
also refresh flow skills when files_changed fires while viewing
SkillsFlow.
3. The gmail-email built-in skill was missing YAML frontmatter (name
and description), so discoverSkills() silently skipped it. Fix: add
proper frontmatter.
4. Error handling in loadFlowSkills() silently swallowed errors with an
empty catch. Fix: log errors to console for debugging.
Co-authored-by: Kagura Chen <daniyuu19@sjtu.edu.cn>
1 parent 619b6cf commit 36d728e
2 files changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
1 | 6 | | |
2 | 7 | | |
3 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1378 | 1378 | | |
1379 | 1379 | | |
1380 | 1380 | | |
1381 | | - | |
| 1381 | + | |
1382 | 1382 | | |
1383 | 1383 | | |
1384 | 1384 | | |
| |||
1427 | 1427 | | |
1428 | 1428 | | |
1429 | 1429 | | |
1430 | | - | |
| 1430 | + | |
1431 | 1431 | | |
1432 | 1432 | | |
1433 | 1433 | | |
| |||
1970 | 1970 | | |
1971 | 1971 | | |
1972 | 1972 | | |
1973 | | - | |
| 1973 | + | |
1974 | 1974 | | |
1975 | 1975 | | |
1976 | 1976 | | |
| |||
0 commit comments