Replace incomplete clearSkillCaches() with clearCommandsCache() so the loadAllCommands memoize layer is also busted when a cloud favorite skill is enabled or disabled via /hub. Add skillChangeDetector.notify() to trigger an immediate REPL command list refresh instead of waiting for the file watcher to detect the change. Signed-off-by: 林凯90331 <90331@sangfor.com> Co-authored-by: CoStrict <zgsm@sangfor.com.cn> |
||
|---|---|---|
| .. | ||
| favorite.ts | ||