mirror of
https://github.com/different-ai/openwork
synced 2026-04-25 17:15:34 +02:00
refactor(workspace): drop eager skill/plugin refreshes from connect paths
Remove refreshSkills/refreshPlugins calls from activateWorkspace and connectToServer. The extensions store now reactively handles this when the workspace context key changes (Phase B).
This commit is contained in:
@@ -1667,8 +1667,6 @@ export function createWorkspaceStore(options: {
|
||||
}
|
||||
}
|
||||
|
||||
options.refreshSkills({ force: true }).catch(() => undefined);
|
||||
options.refreshPlugins().catch(() => undefined);
|
||||
updateWorkspaceConnectionState(id, { status: "connected", message: null });
|
||||
wsDebug("activate:local:done", { id, ms: Date.now() - activateStart });
|
||||
return true;
|
||||
@@ -1889,8 +1887,6 @@ export function createWorkspaceStore(options: {
|
||||
|
||||
clearSelectedSessionSurface();
|
||||
|
||||
options.refreshSkills({ force: true }).catch(() => undefined);
|
||||
options.refreshPlugins().catch(() => undefined);
|
||||
if (navigate && !options.selectedSessionId()) {
|
||||
options.setTab("scheduled");
|
||||
options.setView("session");
|
||||
|
||||
Reference in New Issue
Block a user