From 217d093a397dcfeb72405ee3dd8655441c47104c Mon Sep 17 00:00:00 2001 From: Christopher Tso Date: Mon, 13 Jul 2026 07:58:24 +0200 Subject: [PATCH 1/2] fix(cli): keep plugin update progress unified --- src/cli/tui/actions/plugins.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cli/tui/actions/plugins.ts b/src/cli/tui/actions/plugins.ts index 843814b..2191503 100644 --- a/src/cli/tui/actions/plugins.ts +++ b/src/cli/tui/actions/plugins.ts @@ -171,7 +171,7 @@ async function runUpdatePlugin( } // Sync after update - s.message('Syncing...'); + s.message('Updating...'); if (scope === 'project' && context.workspacePath) { await syncWorkspace(context.workspacePath); } else { @@ -242,7 +242,7 @@ export async function runUpdateAllPlugins( // Sync if any plugins were updated if (needsProjectSync || needsUserSync) { - s.message('Syncing...'); + s.message('Updating...'); if (needsProjectSync && context.workspacePath) { await syncWorkspace(context.workspacePath); } From 9f2f2b88ad97521da398735f08ccf1e4189f1ce0 Mon Sep 17 00:00:00 2001 From: Christopher Tso Date: Mon, 13 Jul 2026 10:01:13 +0200 Subject: [PATCH 2/2] fix(cli): hide plugin sync implementation details --- src/cli/tui/actions/plugins.ts | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/cli/tui/actions/plugins.ts b/src/cli/tui/actions/plugins.ts index 2191503..02872bf 100644 --- a/src/cli/tui/actions/plugins.ts +++ b/src/cli/tui/actions/plugins.ts @@ -123,9 +123,9 @@ export async function installSelectedPlugin( p.note(result.error ?? 'Unknown error', 'Error'); return false; } - s.message('Syncing...'); + s.message('Updating...'); syncResult = await syncWorkspace(workspacePath); - s.stop('Installed and synced'); + s.stop('Installed'); } else { const result = await addUserPlugin(pluginRef); if (!result.success) { @@ -133,9 +133,9 @@ export async function installSelectedPlugin( p.note(result.error ?? 'Unknown error', 'Error'); return false; } - s.message('Syncing...'); + s.message('Updating...'); syncResult = await syncUserWorkspace(); - s.stop('Installed and synced'); + s.stop('Installed'); } cache?.invalidate(); @@ -446,13 +446,13 @@ async function runPluginDetail( } // Sync - s.message('Syncing...'); + s.message('Updating...'); if (scope === 'project' && context.workspacePath) { await syncWorkspace(context.workspacePath); } else { await syncUserWorkspace(); } - s.stop('Mode updated and synced'); + s.stop('Updated'); cache?.invalidate(); const newMode = currentMode === 'allowlist' ? 'ON' : 'OFF'; @@ -484,9 +484,9 @@ async function runPluginDetail( p.note(result.error ?? 'Unknown error', 'Error'); continue; } - s.message('Syncing...'); + s.message('Updating...'); await syncWorkspace(context.workspacePath); - s.stop('Removed and synced'); + s.stop('Removed'); } else { const result = await removeUserPlugin(pluginSource); if (!result.success) { @@ -494,9 +494,9 @@ async function runPluginDetail( p.note(result.error ?? 'Unknown error', 'Error'); continue; } - s.message('Syncing...'); + s.message('Updating...'); await syncUserWorkspace(); - s.stop('Removed and synced'); + s.stop('Removed'); } cache?.invalidate(); @@ -590,13 +590,13 @@ export async function runBrowsePluginSkills( } // Auto-sync - s.message('Syncing...'); + s.message('Updating...'); if (scope === 'project' && context.workspacePath) { await syncWorkspace(context.workspacePath); } else if (scope === 'user') { await syncUserWorkspace(); } - s.stop('Skills updated and synced'); + s.stop('Updated'); cache?.invalidate(); const changes: string[] = [];