Files
beaver_project/skills/officebench-mcp/versions/v0001/version.json
steven_li 33a9845566 ```
feat(engine): 添加技能查看工具并优化异步任务管理

- 添加SkillViewTool到引擎加载器中,增强技能管理功能
- 在AgentLoop中引入_active_direct_task来跟踪活跃任务
- 实现直接任务执行时的同步处理逻辑
- 更新工具实例化方式以支持依赖注入

feat(config): 增加智能体运行时参数配置支持

- 扩展AgentDefaultsConfig添加max_tokens和temperature字段
- 实现配置解析函数_first_config_value处理多个配置源
- 支持通过Web API动态更新智能体运行时参数
- 添加前端页面配置表单和验证逻辑

refactor(provider): 统一最大令牌数参数类型为可选整型

- 将所有LLM提供者的max_tokens参数改为int | None类型
- 为AnthropicProvider实现模型特定的最大令牌数默认值
- 调整参数传递逻辑,优先级:调用参数 > 配置文件 > 模型默认值
- 移除硬编码的默认值,改用条件判断

feat(process): 增强事件投影功能

- 添加工具调用开始/结束事件的映射逻辑
- 实现技能激活事件的识别和展示
- 添加辅助函数处理工具调用名称和参数提取
- 优化运行记录关联逻辑,提升事件匹配准确性

fix(web): 更新网络请求客户端信任环境设置

- 将WebFetchTool和WebSearchTool的trust_env参数设为True
- 确保HTTP客户端能够正确使用系统代理配置
- 修复可能的网络连接问题

test: 添加配置加载和事件投影相关测试

- 新增智能体默认参数配置测试用例
- 实现API配置持久化和重载测试
- 添加技能卡片和工具事件的投影测试
```
2026-05-27 13:37:06 +08:00

81 lines
3.2 KiB
JSON

{
"change_reason": "Initial OfficeBench MCP skill for evaluation runs",
"content_hash": "6afdd5a93ce552f39c1e285fc552059cfada7971e0d5bb91bcd56c6ca608ba17",
"created_at": "2026-05-27T00:00:00.000000+00:00",
"created_by": "codex",
"frontmatter": {
"always": true,
"description": "Guidance for OfficeBench evaluation tasks. Use the registered mcp_officebench_* tools to inspect and edit OfficeBench files, spreadsheets, documents, emails, calendars, PDFs, and answer files.",
"name": "officebench-mcp",
"tools": [
"mcp_officebench_excel_read_file",
"mcp_officebench_excel_set_cell",
"mcp_officebench_excel_delete_cell",
"mcp_officebench_excel_create_new_file",
"mcp_officebench_excel_convert_to_pdf",
"mcp_officebench_word_read_file",
"mcp_officebench_word_write_to_file",
"mcp_officebench_word_create_new_file",
"mcp_officebench_word_convert_to_pdf",
"mcp_officebench_email_list_emails",
"mcp_officebench_email_read_email",
"mcp_officebench_email_send_email",
"mcp_officebench_calendar_create_event",
"mcp_officebench_calendar_list_events",
"mcp_officebench_calendar_delete_event",
"mcp_officebench_pdf_read_file",
"mcp_officebench_pdf_convert_to_word",
"mcp_officebench_pdf_convert_to_image",
"mcp_officebench_ocr_recognize_file",
"mcp_officebench_shell_command",
"mcp_officebench_shell_list_directory",
"mcp_officebench_shell_read_file",
"mcp_officebench_shell_write_file",
"mcp_officebench_shell_copy_file",
"mcp_officebench_system_finish_task",
"mcp_officebench_system_get_status",
"mcp_officebench_image_convert_to_pdf"
]
},
"parent_version": null,
"provenance": {
"source": "officebench_mcp",
"source_kind": "workspace"
},
"review_state": "published",
"skill_name": "officebench-mcp",
"summary": "OfficeBench MCP skill for using registered mcp_officebench_* tools correctly during evaluation runs.",
"summary_hash": "914d6759650fce29884f648b84929e0482475c3ccd6601e9903c9b8b826dd874",
"tool_hints": [
"mcp_officebench_excel_read_file",
"mcp_officebench_excel_set_cell",
"mcp_officebench_excel_delete_cell",
"mcp_officebench_excel_create_new_file",
"mcp_officebench_excel_convert_to_pdf",
"mcp_officebench_word_read_file",
"mcp_officebench_word_write_to_file",
"mcp_officebench_word_create_new_file",
"mcp_officebench_word_convert_to_pdf",
"mcp_officebench_email_list_emails",
"mcp_officebench_email_read_email",
"mcp_officebench_email_send_email",
"mcp_officebench_calendar_create_event",
"mcp_officebench_calendar_list_events",
"mcp_officebench_calendar_delete_event",
"mcp_officebench_pdf_read_file",
"mcp_officebench_pdf_convert_to_word",
"mcp_officebench_pdf_convert_to_image",
"mcp_officebench_ocr_recognize_file",
"mcp_officebench_shell_command",
"mcp_officebench_shell_list_directory",
"mcp_officebench_shell_read_file",
"mcp_officebench_shell_write_file",
"mcp_officebench_shell_copy_file",
"mcp_officebench_system_finish_task",
"mcp_officebench_system_get_status",
"mcp_officebench_image_convert_to_pdf"
],
"version": "v0001"
}