diff --git a/src/renderer/src/components/sidebar/SetupScriptPromptCard.tsx b/src/renderer/src/components/sidebar/SetupScriptPromptCard.tsx index 35315050f2d..08088391286 100644 --- a/src/renderer/src/components/sidebar/SetupScriptPromptCard.tsx +++ b/src/renderer/src/components/sidebar/SetupScriptPromptCard.tsx @@ -277,7 +277,7 @@ function SetupScriptPromptCard(): React.JSX.Element | null { ) showSavedInProjectSettingsToast({ onOpenSettings: () => openLocalCommandSettings(importedRepoId), - description: 'Orca will run this command each time a new worktree is created.' + description: 'Runs when Orca creates a new worktree.' }) } return @@ -293,8 +293,8 @@ function SetupScriptPromptCard(): React.JSX.Element | null { onOpenSettings: () => openLocalCommandSettings(importedRepoId), description: skippedCount > 0 - ? `${skippedCount} unsupported field${skippedCount === 1 ? '' : 's'} skipped. Saved locally; move it to orca.yaml later to share it.` - : 'Move it to orca.yaml later to share it.' + ? `${skippedCount} unsupported field${skippedCount === 1 ? '' : 's'} skipped. Saved the setup command.` + : 'Saved the setup command.' }) } } catch (error) { diff --git a/src/renderer/src/components/sidebar/SetupScriptPromptCardViews.tsx b/src/renderer/src/components/sidebar/SetupScriptPromptCardViews.tsx index fa177cc02da..f093efa8fad 100644 --- a/src/renderer/src/components/sidebar/SetupScriptPromptCardViews.tsx +++ b/src/renderer/src/components/sidebar/SetupScriptPromptCardViews.tsx @@ -129,38 +129,32 @@ export function SetupScriptPromptBody({ if (sharedSetupIgnored) { return ( <> - This repo is set to ignore orca.yaml setup scripts. Configure a local setup - command or change the script source in Settings. + This repo ignores shared orca.yaml setup scripts. Add a local command, or + change the source in Settings. ) } if (isPackageManagerSuggestion) { - return ( - <> - Setup scripts run automatically when you create a new worktree, so you don't have to - run the same command every time. - - ) + return <>Save the detected command to run it whenever Orca creates a worktree. } if (candidateSource) { return ( <> - Detected setup config from {candidateSource}. Save it - locally so every workspace starts ready automatically. You can move it to{' '} - orca.yaml later to share it. + Found a setup command in {candidateSource}. Save it to + run for new worktrees. ) } return ( <> - Add a local setup command so each new workspace starts ready automatically. You can move it to{' '} - orca.yaml later to share it for{' '} + Add a setup command for{' '} {repo.displayName} - + {' '} + to run when Orca creates new worktrees. ) }