gaoziman
|
d16f72c035
|
feat(工具): 添加有道智云翻译功能
- 新增 translate.ts: 实现有道翻译API调用
- 支持100+种语言互译
- 自动语言检测
- SHA256签名验证
- 完善的错误码处理
- executor.ts: 添加翻译工具执行器
- 支持源语言/目标语言参数
- 格式化翻译结果输出
- route.ts: 添加翻译工具定义
- Claude/OpenAI/Codex三种格式支持
|
2025-12-23 14:33:00 +08:00 |
|
gaoziman
|
1e81e9151b
|
feat(工具): 秘塔搜索支持视频搜索功能
- metasoSearch.ts 添加视频搜索支持:
- 新增 MetasoVideoResult 接口定义视频搜索结果
- scope 参数支持 'video' 类型
- 添加视频搜索结果解析逻辑
- formatMetasoSearchResults 支持视频结果格式化
- formatMetasoSearchResultsShort 添加视频结果简短格式
- executor.ts 工具执行器更新:
- ToolExecutionResult 新增 searchVideos 字段
- mita_search 工具支持视频搜索 scope
- 视频搜索默认返回5条结果
|
2025-12-22 21:56:42 +08:00 |
|
gaoziman
|
97d89f44ac
|
feat(工具): 实现秘塔AI搜索和网页读取工具
秘塔搜索 (mita_search):
- 支持网页搜索和图片搜索两种模式
- 图片搜索包含智能验证和动态回填机制
- 自动过滤无效图片URL,确保返回有效结果
秘塔阅读 (mita_reader):
- 将网页内容转换为结构化Markdown格式
- 支持URL格式验证和错误处理
工具执行器更新:
- 添加 metasoApiKey 选项支持
- 集成秘塔搜索和阅读工具到执行流程
- 返回搜索图片数据供前端展示
|
2025-12-22 12:21:17 +08:00 |
|
gaoziman
|
68ba9b3204
|
feat(工具): 实现混合代码执行架构
codeExecution.ts:
- 实现 Pyodide + Piston 混合执行架构
- Python 图形代码使用 Pyodide 在浏览器端执行
- 其他代码使用 Piston API 在服务端执行
- 响应增加 images、engine、executionTime 字段
executor.ts:
- 集成代码分析工具判断执行方式
- 支持返回 requiresPyodide 标记浏览器端执行需求
- 传递图片数据到执行结果
|
2025-12-19 20:18:58 +08:00 |
|
gaoziman
|
ab9dd5aff8
|
feat(services): 添加 AI 工具服务实现
- codeExecution: 代码执行工具定义
- webFetch: 网页抓取工具定义
- webSearch: 网络搜索工具定义
- executor: 工具执行器统一处理
|
2025-12-18 11:31:10 +08:00 |
|