• Will Chen's avatar
    Minor import clean-ups (#2132) · 465743eb
    Will Chen 提交于
    <!-- CURSOR_SUMMARY -->
    > [!NOTE]
    > Updates AI SDK imports to use the top-level `ai` package instead of
    `node_modules/ai/dist`.
    > 
    > - In `prepare_step_utils.ts` and its tests, replace imports of
    `ImagePart`, `ModelMessage`, `TextPart`, and `UserModelMessage` to come
    from `ai`
    > - No functional code changes beyond import paths
    > 
    > <sup>Written by [Cursor
    Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
    117078577aa8f7a86564f8a133c2708601f4acb1. 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
    Replaced deep imports from node_modules/ai/dist with the ai package
    entrypoint to standardize and simplify module imports. This avoids
    brittle paths and improves build compatibility.
    
    <sup>Written for commit 117078577aa8f7a86564f8a133c2708601f4acb1.
    Summary will update on new commits.</sup>
    
    <!-- End of auto-generated description by cubic. -->
    465743eb
名称
最后提交
最后更新
..
__snapshots__ 正在载入提交数据...
README.md 正在载入提交数据...
ai_messages_cleanup.test.ts 正在载入提交数据...
ai_messages_utils.test.ts 正在载入提交数据...
app_env_vars_utils.test.ts 正在载入提交数据...
chat_stream_handlers.test.ts 正在载入提交数据...
cleanFullResponse.test.ts 正在载入提交数据...
formatMessagesForSummary.test.ts 正在载入提交数据...
local_agent_handler.test.ts 正在载入提交数据...
mcp_tool_utils.test.ts 正在载入提交数据...
mention_apps.test.ts 正在载入提交数据...
parseOllamaHost.test.ts 正在载入提交数据...
path_utils.test.ts 正在载入提交数据...
prepare_step_utils.test.ts 正在载入提交数据...
problem_prompt.test.ts 正在载入提交数据...
readSettings.test.ts 正在载入提交数据...
replacePromptReference.test.ts 正在载入提交数据...
style-utils.test.ts 正在载入提交数据...
supabase_utils.test.ts 正在载入提交数据...
versioned_codebase_context.test.ts 正在载入提交数据...