feat: add craft-goal session starter and command

Adds /craft-goal autocomplete and chat handling for starting a Goal crafting session.
Introduces new Magic Prompts content and localized labels/descriptions for Goal crafting.
Migrates desktop draft starters to include Craft a Goal once and persists the migration marker.
This commit is contained in:
Bohdan Triapitsyn
2026-07-12 10:58:58 +03:00
parent e8be7ef55b
commit a0bdcae54c
30 changed files with 210 additions and 3 deletions
+2
View File
@@ -205,6 +205,7 @@ describe('updateDesktopSettings', () => {
recentModels: [{ providerID: 'google', modelID: 'gemini-pro' }],
recentAgents: ['build', 'plan'],
recentEfforts: { 'anthropic/claude-haiku-4': ['high', 'default'] },
draftStartersCraftGoalAdded: true,
} satisfies SettingsPayload;
registerSettingsApi(async () => ({}), async () => ({ settings, source: 'web' }));
@@ -243,6 +244,7 @@ describe('updateDesktopSettings', () => {
expect(saveCalls).toHaveLength(1);
expect(saveCalls[0]).toEqual({
draftStartersCraftGoalAdded: true,
favoriteModels: [{ providerID: 'anthropic', modelID: 'claude-haiku-4' }],
hiddenModels: [{ providerID: 'openai', modelID: 'gpt-5' }],
collapsedModelProviders: ['openai'],