You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1c2c23b
Browse filesBrowse the repository at this point in the historyBrowse files
Refactor Tavily MCP configuration to shared workflow and add mcp-servers import support (#1280)
* Initial plan
* Refactor Tavily MCP configuration to shared workflow and fix import merging
- Created shared/tavily-mcp.md for reusable Tavily MCP configuration
- Updated scout.md to use imports field instead of inline mcp-servers
- Fixed bug in mergeTools where newline-separated JSON objects weren't being parsed correctly
- Import functionality now properly handles multiple JSON objects from different imports
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
* Add integration tests for imports functionality
Added comprehensive tests to verify that imports work correctly with single and multiple imported files. Tests validate that MCP configurations are properly merged from imported files.
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
* Complete: Tavily MCP refactoring with imports and tests
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
* Add support for importing mcp-servers from shared workflows
- Updated shared/tavily-mcp.md to use mcp-servers instead of tools
- Added mcp-servers to included_file_schema.json
- Added MergedMCPServers field to ImportsResult struct
- Implemented extractMCPServersFromContent and mergeMCPServers functions
- Updated ProcessImportsFromFrontmatterWithManifest to extract and merge mcp-servers
- Updated compiler to merge imported mcp-servers with top-level mcp-servers
- Added test for importing mcp-servers (TestCompileWorkflowWithMCPServersImport)
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
* Address PR feedback: improve MCP servers schema and documentation
- Copied full MCP servers schema from main workflow to included file schema with $defs for stdio_mcp_tool and http_mcp_tool
- Refactored mergeMCPServers to ensure clean map creation instead of modifying input
- Updated documentation to mention MCP servers can be imported:
- include-directives.md: Added frontmatter merging section for mcp-servers with example
- packaging-imports.md: Added MCP server import examples and updated existing examples
- All tests passing
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
* Merge main and recompile all workflows
- Merged latest changes from main branch
- Recompiled all workflows to update lock files
- All tests passing including import-related tests
- Tavily MCP server still correctly configured in scout workflow
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
* Refactor discussion and issue creation scripts for improved readability and error handling
- Simplified the parsing and validation of agent output in create_discussion.js and create_issue.js.
- Enhanced error messages for better debugging.
- Improved the handling of discussion categories and issue labels.
- Added checks for empty titles and bodies, ensuring defaults are set appropriately.
- Streamlined the creation process for discussions and issues, including better logging of created items.
- Updated summary writing to include details of created discussions and issues.
* Refactor: Move import/merge code to imports.go and fix linting
- Created pkg/workflow/imports.go with mergeTools and mergeMCPServers functions
- Removed these functions from compiler.go for better code organization
- Fixed linting issue: removed unnecessary nil check in mergeMCPServers (S1031)
- All tests passing including import-related tests
- Scout workflow still compiles correctly with Tavily MCP server
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com>
0 commit comments