• Will Chen's avatar
    default to deep context (#1891) · 40aeed14
    Will Chen 提交于
    <!-- CURSOR_SUMMARY -->
    > [!NOTE]
    > Default Smart Files context to deep and align UI and stream handler
    logic so any non-balanced option uses deep when Pro mode is enabled.
    > 
    > - **Smart Context behavior**
    > - UI (`src/components/ProModeSelector.tsx`): default
    `getCurrentValue()` to `"deep"` when Pro Smart Files mode is enabled
    without an explicit option.
    > - Engine (`src/ipc/handlers/chat_stream_handlers.ts`):
    `isDeepContextEnabled` now requires `enableProSmartFilesContextMode` and
    treats any option other than `"balanced"` as deep; `smartContextMode`
    set accordingly and `versioned_files` used when deep.
    > - **Snapshots**
    > - Update e2e snapshots to reflect `smart_context_mode: "deep"` and new
    `dyad_options.versioned_files` structure.
    > 
    > <sup>Written by [Cursor
    Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
    7426890467d60b671a7a9712f7544a35ed922981. 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
    Default smart files context to deep and align the UI and stream handler
    so anything not “balanced” uses deep when Pro Smart Files mode is on.
    This prevents mismatches and makes deep context the default.
    
    - **Bug Fixes**
      - ProModeSelector: default to deep when no option is set.
    - chat_stream_handlers: isDeepContextEnabled requires Pro Smart Files
    mode and treats non-“balanced” as deep; smartContextMode set to deep
    accordingly.
      - Engine payload: use versioned_files; update e2e snapshots.
    
    <sup>Written for commit 7426890467d60b671a7a9712f7544a35ed922981.
    Summary will update automatically on new commits.</sup>
    
    <!-- End of auto-generated description by cubic. -->
    40aeed14
名称
最后提交
最后更新
..
handlers 正在载入提交数据...
processors 正在载入提交数据...
shared 正在载入提交数据...
utils 正在载入提交数据...
deep_link_data.ts 正在载入提交数据...
ipc_client.ts 正在载入提交数据...
ipc_host.ts 正在载入提交数据...
ipc_types.ts 正在载入提交数据...