Merge origin/main into deferred OpenCode restart branch.
Resolve skills store conflicts by keeping repository-local directory resolution from main and deferred-restart handling from this branch. Co-authored-by: Serhii Dziupin <makeittech@users.noreply.github.com>
This commit is contained in:
@@ -765,7 +765,9 @@ async function performConfigRefresh(options: {
|
||||
uiRefreshTasks.push(commandsStore.loadCommands().then(() => undefined));
|
||||
}
|
||||
if (refreshSkills) {
|
||||
invalidateSkillsLoadCache(currentDirectory);
|
||||
// Match loadSkills cache key (active-project-first). Passing client/directory-store
|
||||
// path here misses the key when those diverge after getRequestDirectory().
|
||||
invalidateSkillsLoadCache();
|
||||
uiRefreshTasks.push(skillsStore.loadSkills().then(() => undefined));
|
||||
uiRefreshTasks.push(skillsCatalogStore.loadCatalog({ refresh: true }).then(() => undefined));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user