cherry-studio/.yarn/patches
SuYao e0a2ed0481
Provider Config & anthropic-web-fetch (#10808)
* fix: update AI SDK dependencies to latest versions

* feat: Update provider configurations and API handling

- Refactor provider configuration to support new API types and enhance API host formatting.
- Introduce new utility functions for handling API versions and formatting Azure OpenAI hosts.
- Update system models to include new capabilities and adjust provider types for CherryIN and VertexAI.
- Enhance provider settings UI to accommodate new API types and improve user experience.
- Implement migration logic for provider type updates and default API host settings.
- Update translations for API host configuration tips across multiple languages.
- Fix various type checks and utility functions to ensure compatibility with new provider types.

* fix: update unsupported API version providers and add longcat to compatible provider IDs

* fix: 移除不再使用的 Azure OpenAI API 版本参数,优化 API 主机格式化逻辑
feat: 在选择器组件中添加样式属性,增强可定制性
feat: 更新提供者设置,支持动态选择 API 主机字段

* refactor: 优化测试用例

* 修复: 更新工具调用处理器以支持新的工具调用类型

* feat: 添加TODO注释以改进基于AI SDK的供应商内置工具展示和类型安全处理

* feat: 添加对Google SDK的支持,更新流式参数构建逻辑以包含Google工具的上下文

* feat: 更新web搜索模型判断逻辑,使用SystemProviderIds常量替代硬编码字符串

* feat: 添加对@renderer/store的mock以支持测试环境

* feat: 添加API主机地址验证功能,更新相关逻辑以支持端点提取

* fix: i18n

* fix(i18n): Auto update translations for PR #10808

* Apply suggestion from @EurFelux

Co-authored-by: Phantom <eurfelux@gmail.com>

* Apply suggestion from @EurFelux

Co-authored-by: Phantom <eurfelux@gmail.com>

* Apply suggestion from @EurFelux

Co-authored-by: Phantom <eurfelux@gmail.com>

* refactor: Simplify provider type migration logic and enhance API version validation

* fix: Correct variable name from configedApiHost to configuredApiHost for consistency

* fix: Update package.json to remove deprecated @ai-sdk/google version and streamline @ai-sdk/openai versioning

* fix: 更新 hasAPIVersion 函数中的正则表达式以更准确地匹配 API 版本路径

* fix(api): 简化 validateApiHost 函数逻辑以始终返回 true
fix(yarn): 更新 @ai-sdk/openai 版本至 2.0.53 并添加依赖项

* fix(api): 修正 validateApiHost 函数在使用哈希后缀时的验证逻辑

---------

Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Phantom <eurfelux@gmail.com>
2025-10-29 14:47:21 +08:00
..
@ai-sdk-google-npm-2.0.23-81682e07b0.patch Provider Config & anthropic-web-fetch (#10808) 2025-10-29 14:47:21 +08:00
@ai-sdk-huggingface-npm-0.0.4-8080836bc1.patch feat: add huggingface provider (#10966) 2025-10-27 13:30:23 +08:00
@ai-sdk-openai-npm-2.0.52-b36d949c76.patch Provider Config & anthropic-web-fetch (#10808) 2025-10-29 14:47:21 +08:00
@anthropic-ai-claude-agent-sdk-npm-0.1.25-08bbabb5d3.patch feat: add plugin management system for Claude Agent (agents, commands, skills) (#10854) 2025-10-29 13:33:11 +08:00
@anthropic-ai-vertex-sdk-npm-0.11.4-c19cb41edb.patch Feat/vertex-claude-support (#7564) 2025-07-24 23:46:32 +08:00
@google-genai-npm-1.0.1-e26f0f9af7.patch style: set eol to lf, code formatting (#7923) 2025-07-08 09:50:33 +08:00
@langchain-core-npm-0.3.44-41d5c3cb0a.patch fix: update TikToken implementation and remove js-tiktoken dependency 2025-05-28 08:55:52 +08:00
@langchain-openai-npm-0.3.16-e525b59526.patch feat: add baidu cloud provider 2025-02-07 16:47:29 +08:00
@napi-rs-system-ocr-npm-1.0.2-59e7a78e8b.patch refactor: Improve linux build for system-ocr (#9775) 2025-09-02 12:59:14 +08:00
@tavily-core-npm-0.3.1-fe69bf2bea.patch chore: Update Tavily core package and remove js-tiktoken dependency 2025-02-23 11:01:30 +08:00
@tiptap-extension-drag-handle-npm-3.2.0-5a9ebff7c9.patch feat: add notes module (#8871) 2025-08-30 23:09:13 +08:00
antd-npm-5.27.0-aa91c36546.patch refactor: bump antd to 5.27.0, update Input.Password suffix (#9263) 2025-08-18 13:39:56 +08:00
app-builder-lib-npm-26.0.15-360e5b0476.patch fix: update app-builder-lib patch and adjust minimumSystemVersion handling (#7197) 2025-06-14 19:39:28 +08:00
atomically-npm-1.7.0-e742e5293b.patch chore(deps): update vite to rolldown-vite (#8460) 2025-07-25 00:55:07 +08:00
epub-npm-1.3.0-8325494ffe.patch patch epub: replace zipfile with zipread 2025-03-13 18:01:39 +08:00
file-stream-rotator-npm-0.6.1-eab45fb13d.patch chore(deps): update vite to rolldown-vite (#8460) 2025-07-25 00:55:07 +08:00
libsql-npm-0.4.7-444e260fb1.patch build: Add support for Windows ARM64 platform (#3431) 2025-04-06 09:35:08 +08:00
pdf-parse-npm-1.1.1-04a6109b2a.patch feat: knowledge base 2024-12-19 09:24:20 +08:00
pkce-challenge-npm-4.1.0-fbc51695a3.patch refactor: mcp service 2025-03-28 04:24:10 +08:00
tesseract.js-npm-6.0.1-2562a7e46d.patch feat: Image OCR (#9409) 2025-08-26 00:13:24 +08:00