feat(electrobun): ProjectWizard — 3-step project creation with 5 source types
Step 1 — Source: local folder (path browser + validation), git clone, GitHub URL, template (4 built-in), remote SSH Step 2 — Configure: name, branch selector, worktree toggle, group, icon, shell Step 3 — Agent: provider, model, permission mode, system prompt, auto-start - ProjectWizard.svelte: 3-step wizard with display toggle (rule 55) - PathBrowser.svelte: inline directory browser with breadcrumbs + shortcuts - git-handlers.ts: git.branches + git.clone RPC handlers - files.statEx RPC: path validation + git detection + writable check - 39 new i18n keys, 172 total TranslationKey entries - App.svelte: wizard overlay replaces simple add-project card
This commit is contained in:
parent
1d2975b07b
commit
45bca3b96f
9 changed files with 1203 additions and 45 deletions
|
|
@ -146,5 +146,44 @@
|
|||
"palette.zoomOut": "Zoom Out",
|
||||
"palette.addProjectDesc": "Open a project directory",
|
||||
"palette.clearAgentDesc": "Reset agent session",
|
||||
"palette.changeThemeDesc": "Switch between 17 themes"
|
||||
"palette.changeThemeDesc": "Switch between 17 themes",
|
||||
|
||||
"wizard.title": "Add Project",
|
||||
"wizard.step1.title": "Choose Source",
|
||||
"wizard.step1.local": "Local Folder",
|
||||
"wizard.step1.gitClone": "Git Clone",
|
||||
"wizard.step1.github": "GitHub Repository",
|
||||
"wizard.step1.template": "From Template",
|
||||
"wizard.step1.remote": "Remote (SSH)",
|
||||
"wizard.step1.pathLabel": "Project Path",
|
||||
"wizard.step1.pathPlaceholder": "/home/user/projects/my-app",
|
||||
"wizard.step1.browse": "Browse",
|
||||
"wizard.step1.validDir": "Valid directory",
|
||||
"wizard.step1.invalidPath": "Path does not exist",
|
||||
"wizard.step1.notDir": "Path is not a directory",
|
||||
"wizard.step1.gitDetected": "Git repository detected",
|
||||
"wizard.step1.repoUrl": "Repository URL",
|
||||
"wizard.step1.targetDir": "Clone to",
|
||||
"wizard.step1.githubRepo": "owner/repo",
|
||||
"wizard.step2.title": "Configure",
|
||||
"wizard.step2.name": "Project Name",
|
||||
"wizard.step2.branch": "Branch",
|
||||
"wizard.step2.worktree": "Use worktrees for agent sessions",
|
||||
"wizard.step2.group": "Group",
|
||||
"wizard.step2.icon": "Icon",
|
||||
"wizard.step2.shell": "Shell",
|
||||
"wizard.step3.title": "Agent Settings",
|
||||
"wizard.step3.provider": "AI Provider",
|
||||
"wizard.step3.model": "Model",
|
||||
"wizard.step3.permission": "Permission Mode",
|
||||
"wizard.step3.systemPrompt": "System Prompt",
|
||||
"wizard.step3.autoStart": "Start agent after creation",
|
||||
"wizard.back": "Back",
|
||||
"wizard.next": "Next",
|
||||
"wizard.skip": "Skip",
|
||||
"wizard.create": "Create Project",
|
||||
"wizard.cloning": "Cloning repository...",
|
||||
"wizard.step1.hostLabel": "Host",
|
||||
"wizard.step1.userLabel": "User",
|
||||
"wizard.step2.newGroup": "New group"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue