cherry-studio/src/main/mcpServers
Phantom 0187f1780e
Refactor/migrate zod v4 (#10002)
* build: 更新 zod 依赖至 v4.1.5

* refactor: 将zod导入从'zod/v4'更新为'zod'

统一使用zod主包而非v4子路径,简化依赖管理

* refactor: 统一使用命名导入方式导入zod库

* refactor(mcpServers): 更新RequestPayloadSchema的url和headers类型定义

* refactor(mcp): 将默认值从pipe移动到string以简化schema

默认值'stdio'从pipe操作中移动到string操作,使schema定义更清晰

* refactor(Markdown): 简化 CitationSchema 中 url 的验证方式

* refactor: 将类型断言改为使用 satisfies 操作符

* build: 更新 aiCore 的 zod 依赖至 v4.1.5

* refactor: 更新zod导入方式并简化基础provider类型定义

将zod从'zod/v4'更新为'zod'导入
将baseProviderSchema替换为更简洁的接口类型定义

* fix(providers): 优化provider配置的schema定义并添加注释

调整creator函数的类型定义,增加输入输出类型约束
2025-09-07 16:39:22 +08:00
..
brave-search.ts refactor: replace axios and node fetch with electron's net module (#9212) 2025-08-15 22:48:22 +08:00
dify-knowledge.ts Refactor/migrate zod v4 (#10002) 2025-09-07 16:39:22 +08:00
factory.ts fix: mcp-auto-install cannot start (#9015) 2025-08-27 22:46:42 +08:00
fetch.ts Refactor/migrate zod v4 (#10002) 2025-09-07 16:39:22 +08:00
filesystem.ts Refactor/migrate zod v4 (#10002) 2025-09-07 16:39:22 +08:00
memory.ts refactor[Logger]: strict type check for Logger (#8363) 2025-07-23 13:24:03 +08:00
python.ts refactor[Logger]: strict type check for Logger (#8363) 2025-07-23 13:24:03 +08:00
sequentialthinking.ts refactor: Unified Logger / 统一日志管理 (#8207) 2025-07-18 09:40:56 +08:00