• Will Chen's avatar
    Auto-set defaults for Dyad Pro 'add to dyad app' flow (#2185) · ae737d48
    Will Chen 提交于
    <!-- CURSOR_SUMMARY -->
    > [!NOTE]
    > - In `pro.ts`, on Dyad Pro enable: saves API key to
    `providerSettings.auto`, sets `enableDyadPro`, and defaults
    `selectedChatMode` to `local-agent` with `selectedModel` `{ name:
    "auto", provider: "auto" }`.
    > - In `DyadProSuccessDialog`, refreshes UI copy and visuals (new
    gradient icon, `Sparkles`, `Zap`, `Bot`), explains default settings, and
    replaces footer action with a full-width `Get Started` button.
    > 
    > <sup>Written by [Cursor
    Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
    dde6aa9e62453fb93223cb35beeb881e4a07c045. This will update automatically
    on new commits. Configure
    [here](https://cursor.com/dashboard?tab=bugbot).</sup>
    <!-- /CURSOR_SUMMARY -->
    
    <!-- This is an auto-generated description by cubic. -->
    ## Summary by cubic
    Automatically set Dyad Pro defaults to local-agent mode and the auto
    model when users connect via “Add to Dyad app,” and refreshed the
    success dialog to explain these settings for a smoother start.
    
    - **New Features**
    - Set selectedChatMode to local-agent and selectedModel to auto by
    default.
    - Updated success dialog copy and design with clearer defaults and a
    “Get Started” action.
    
    <sup>Written for commit dde6aa9e62453fb93223cb35beeb881e4a07c045.
    Summary will update on new commits.</sup>
    
    <!-- End of auto-generated description by cubic. -->
    ae737d48
DyadProSuccessDialog.tsx 2.5 KB