codemie-test-harness 0.1.129__py3-none-any.whl → 0.1.131__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of codemie-test-harness might be problematic. Click here for more details.
- codemie_test_harness/.env +5 -0
- codemie_test_harness/cli/runner.py +25 -16
- codemie_test_harness/pytest.ini +6 -0
- {tests → codemie_test_harness/tests}/__init__.py +1 -1
- {tests → codemie_test_harness/tests}/assistant/datasource/test_code_datasource.py +2 -2
- {tests → codemie_test_harness/tests}/assistant/datasource/test_confluence_datasource.py +2 -2
- {tests → codemie_test_harness/tests}/assistant/datasource/test_file_indexing.py +6 -6
- {tests → codemie_test_harness/tests}/assistant/datasource/test_google_datasource.py +2 -2
- {tests → codemie_test_harness/tests}/assistant/datasource/test_jira_datasource.py +5 -2
- {tests → codemie_test_harness/tests}/assistant/default_integrations/test_default_integrations_for_tool.py +9 -6
- {tests → codemie_test_harness/tests}/assistant/default_integrations/test_default_integrations_for_tool_kit.py +8 -6
- {tests → codemie_test_harness/tests}/assistant/default_integrations/test_default_integrations_for_tool_with_datasource.py +6 -6
- {tests → codemie_test_harness/tests}/assistant/test_assistants.py +6 -6
- {tests → codemie_test_harness/tests}/assistant/tools/ado/test_assistant_for_ado_test_plan_tools.py +6 -6
- {tests → codemie_test_harness/tests}/assistant/tools/ado/test_assistant_for_ado_wiki_tools.py +4 -4
- {tests → codemie_test_harness/tests}/assistant/tools/ado/test_assistant_for_ado_work_item_tools.py +6 -6
- {tests → codemie_test_harness/tests}/assistant/tools/cloud/test_cloud_tools.py +2 -2
- {tests → codemie_test_harness/tests}/assistant/tools/codebase/test_codebase_tools.py +2 -2
- {tests → codemie_test_harness/tests}/assistant/tools/datamanagement/test_assistant_with_data_management_tools.py +3 -3
- {tests → codemie_test_harness/tests}/assistant/tools/filemanagement/test_assistant_with_file_management_tools.py +3 -3
- {tests → codemie_test_harness/tests}/assistant/tools/git/test_assistant_with_git_tools.py +2 -2
- {tests → codemie_test_harness/tests}/assistant/tools/mcp/test_cli_mcp_server.py +4 -4
- {tests → codemie_test_harness/tests}/assistant/tools/mcp/test_mcp_servers.py +1 -1
- {tests → codemie_test_harness/tests}/assistant/tools/notification/test_assistant_notification_tools.py +3 -3
- {tests → codemie_test_harness/tests}/assistant/tools/openapi/test_assistant_with_open_api_tools.py +2 -2
- {tests → codemie_test_harness/tests}/assistant/tools/plugin/test_assistant_with_development_plugin.py +4 -4
- {tests → codemie_test_harness/tests}/assistant/tools/plugin/test_assistant_with_plugin_and_mcp_servers.py +3 -3
- {tests → codemie_test_harness/tests}/assistant/tools/project_management/test_assistant_pm_tools.py +8 -6
- {tests → codemie_test_harness/tests}/assistant/tools/research/test_assistant_research_tools.py +3 -3
- {tests → codemie_test_harness/tests}/assistant/tools/servicenow/test_servicenow_tools.py +5 -2
- {tests → codemie_test_harness/tests}/assistant/tools/vcs/test_assistant_with_vcs_tools.py +3 -3
- {tests → codemie_test_harness/tests}/conftest.py +4 -0
- {tests → codemie_test_harness/tests}/e2e/test_e2e.py +2 -2
- {tests → codemie_test_harness/tests}/integrations/project/test_default_integrations.py +16 -9
- {tests → codemie_test_harness/tests}/integrations/project/test_project_integrations.py +6 -3
- {tests → codemie_test_harness/tests}/integrations/user/test_default_integrations.py +16 -9
- {tests → codemie_test_harness/tests}/integrations/user/test_user_integrations.py +3 -3
- {tests → codemie_test_harness/tests}/llm/assistants/test_llm.py +4 -4
- codemie_test_harness/tests/providers/test_providers_endpoints.py +239 -0
- {tests → codemie_test_harness/tests}/search/test_search_assistant.py +3 -3
- {tests → codemie_test_harness/tests}/search/test_search_datasource.py +3 -3
- {tests → codemie_test_harness/tests}/search/test_search_integration.py +2 -2
- {tests → codemie_test_harness/tests}/search/test_search_workflow.py +3 -3
- {tests → codemie_test_harness/tests}/service/test_assistant_service.py +2 -2
- {tests → codemie_test_harness/tests}/service/test_datasource_service.py +2 -2
- {tests → codemie_test_harness/tests}/service/test_integration_service.py +2 -2
- {tests → codemie_test_harness/tests}/service/test_task_service.py +2 -2
- {tests → codemie_test_harness/tests}/service/test_workflow_execution_service.py +2 -2
- {tests → codemie_test_harness/tests}/service/test_workflow_service.py +2 -2
- {tests → codemie_test_harness/tests}/test_data/ado_test_plan_tools_test_data.py +1 -1
- {tests → codemie_test_harness/tests}/test_data/ado_wiki_tools_test_data.py +1 -1
- {tests → codemie_test_harness/tests}/test_data/ado_work_item_tools_test_data.py +1 -1
- {tests → codemie_test_harness/tests}/test_data/cloud_tools_test_data.py +2 -2
- {tests → codemie_test_harness/tests}/test_data/codebase_tools_test_data.py +2 -2
- {tests → codemie_test_harness/tests}/test_data/data_management_tools_test_data.py +1 -1
- {tests → codemie_test_harness/tests}/test_data/direct_tools/ado_test_plan_tools_test_data.py +1 -1
- {tests → codemie_test_harness/tests}/test_data/direct_tools/ado_wiki_tools_test_data.py +1 -1
- {tests → codemie_test_harness/tests}/test_data/direct_tools/ado_work_item_tools_test_data.py +1 -1
- {tests → codemie_test_harness/tests}/test_data/direct_tools/cloud_tools_test_data.py +2 -2
- {tests → codemie_test_harness/tests}/test_data/direct_tools/codebase_tools_test_data.py +1 -1
- {tests → codemie_test_harness/tests}/test_data/direct_tools/data_management_tools_test_data.py +2 -2
- {tests → codemie_test_harness/tests}/test_data/direct_tools/direct_tools_test_data.py +2 -2
- {tests → codemie_test_harness/tests}/test_data/direct_tools/file_management_tools_test_data.py +1 -1
- {tests → codemie_test_harness/tests}/test_data/direct_tools/notification_tools_test_data.py +2 -2
- {tests → codemie_test_harness/tests}/test_data/direct_tools/open_api_tools_test_data.py +1 -1
- {tests → codemie_test_harness/tests}/test_data/direct_tools/project_management_tools_test_data.py +2 -2
- {tests → codemie_test_harness/tests}/test_data/direct_tools/research_tools_test_data.py +1 -1
- {tests → codemie_test_harness/tests}/test_data/direct_tools/vcs_tools_test_data.py +1 -1
- {tests → codemie_test_harness/tests}/test_data/file_management_tools_test_data.py +1 -1
- codemie_test_harness/tests/test_data/files/provider_payload.json +382 -0
- {tests → codemie_test_harness/tests}/test_data/git_tools_test_data.py +1 -1
- {tests → codemie_test_harness/tests}/test_data/integrations_test_data.py +2 -2
- {tests → codemie_test_harness/tests}/test_data/llm_test_data.py +1 -1
- {tests → codemie_test_harness/tests}/test_data/mcp_server_test_data.py +2 -2
- {tests → codemie_test_harness/tests}/test_data/notification_tools_test_data.py +1 -1
- {tests → codemie_test_harness/tests}/test_data/open_api_tools_test_data.py +1 -1
- {tests → codemie_test_harness/tests}/test_data/plugin_tools_test_data.py +2 -2
- {tests → codemie_test_harness/tests}/test_data/project_management_test_data.py +3 -3
- {tests → codemie_test_harness/tests}/test_data/research_tools_test_data.py +1 -1
- {tests → codemie_test_harness/tests}/test_data/vcs_tools_test_data.py +1 -1
- {tests → codemie_test_harness/tests}/ui/conftest.py +1 -1
- {tests → codemie_test_harness/tests}/ui/pageobject/assistants/assistants_page.py +1 -1
- {tests → codemie_test_harness/tests}/ui/pageobject/base_page.py +2 -2
- {tests → codemie_test_harness/tests}/ui/pageobject/login_page.py +4 -2
- {tests → codemie_test_harness/tests}/ui/pageobject/workflows/base_workflow_form_page.py +2 -2
- {tests → codemie_test_harness/tests}/ui/pageobject/workflows/create_workflow_page.py +4 -2
- {tests → codemie_test_harness/tests}/ui/pageobject/workflows/edit_workflow_page.py +3 -1
- {tests → codemie_test_harness/tests}/ui/pageobject/workflows/workflow_details_page.py +5 -3
- {tests → codemie_test_harness/tests}/ui/pageobject/workflows/workflow_executions_page.py +3 -3
- {tests → codemie_test_harness/tests}/ui/pageobject/workflows/workflow_template_details.py +1 -1
- {tests → codemie_test_harness/tests}/ui/pageobject/workflows/workflow_templates_page.py +4 -2
- {tests → codemie_test_harness/tests}/ui/pageobject/workflows/workflows_page.py +8 -3
- {tests → codemie_test_harness/tests}/ui/test_create_workflow.py +7 -3
- {tests → codemie_test_harness/tests}/ui/test_edit_workflow.py +8 -4
- {tests → codemie_test_harness/tests}/ui/test_workflow_details.py +4 -4
- {tests → codemie_test_harness/tests}/ui/test_workflow_executions_page.py +3 -3
- {tests → codemie_test_harness/tests}/ui/test_workflow_templates.py +12 -6
- {tests → codemie_test_harness/tests}/ui/test_workflows.py +3 -1
- {tests → codemie_test_harness/tests}/utils/assistant_utils.py +6 -2
- {tests → codemie_test_harness/tests}/utils/aws_parameters_store.py +6 -4
- {tests → codemie_test_harness/tests}/utils/base_utils.py +2 -2
- {tests → codemie_test_harness/tests}/utils/constants.py +1 -1
- {tests → codemie_test_harness/tests}/utils/datasource_utils.py +6 -2
- codemie_test_harness/tests/utils/http_utils.py +141 -0
- {tests → codemie_test_harness/tests}/utils/integration_utils.py +6 -2
- {tests → codemie_test_harness/tests}/utils/notification_utils.py +1 -1
- codemie_test_harness/tests/utils/provider_utils.py +178 -0
- {tests → codemie_test_harness/tests}/utils/search_utils.py +1 -1
- {tests → codemie_test_harness/tests}/utils/similarity_check.py +5 -1
- {tests → codemie_test_harness/tests}/utils/workflow_utils.py +4 -4
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/ado/test_workflow_with_assistant_with_ado_test_plan_tools.py +5 -5
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/ado/test_workflow_with_assistant_with_ado_wiki_tools.py +3 -3
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/ado/test_workflow_with_assistant_with_ado_work_item_tools.py +5 -5
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/cloud/test_workflow_with_assistant_cloud_tools.py +2 -2
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/codebase/test_worfklow_with_assistant_codebase_tools.py +2 -2
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/data_management/test_workflow_with_assistant_with_data_management_tools.py +3 -3
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/default_integrations/test_default_integrations_for_tool.py +9 -6
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/default_integrations/test_default_integrations_for_tool_kit.py +8 -6
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/default_integrations/test_default_integrations_for_tool_with_datasource.py +6 -6
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/file_management/test_workflow_with_assistant_with_file_management_tools.py +3 -3
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/git/test_workflow_with_assistant_git_tools.py +2 -2
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/mcp/test_workflow_with_assistant_with_mcp_server.py +2 -2
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/notification/test_workflow_with_assistant_notification_tools.py +2 -2
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/open_api/test_workflow_with_assistant_with_open_api_tools.py +4 -2
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/plugin/test_workflow_with_assistant_with_development_plugin.py +4 -4
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/plugin/test_workflow_with_assistant_with_plugin_and_mcp_servers.py +3 -3
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/project_management/test_workflow_with_assistant_pm_tools.py +5 -3
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/research/test_workflow_with_assistant_research_tools.py +3 -3
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/servicenow/test_workflow_with_servicenow_tools.py +5 -2
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/vcs/workflow_with_assistant_vcs_tools.py +3 -3
- {tests → codemie_test_harness/tests}/workflow/config_validation/test_config_validation.py +3 -3
- {tests → codemie_test_harness/tests}/workflow/direct_tools_calling/default_integrations/test_default_integrations_for_tool.py +7 -7
- {tests → codemie_test_harness/tests}/workflow/direct_tools_calling/default_integrations/test_default_integrations_for_tool_kit.py +9 -7
- {tests → codemie_test_harness/tests}/workflow/direct_tools_calling/test_workflow_with_ado_test_plan_tools.py +2 -2
- {tests → codemie_test_harness/tests}/workflow/direct_tools_calling/test_workflow_with_ado_wiki_tools.py +4 -2
- {tests → codemie_test_harness/tests}/workflow/direct_tools_calling/test_workflow_with_ado_work_item_tools.py +2 -2
- {tests → codemie_test_harness/tests}/workflow/direct_tools_calling/test_workflow_with_cloud_tools.py +5 -3
- {tests → codemie_test_harness/tests}/workflow/direct_tools_calling/test_workflow_with_codebase_tools.py +4 -4
- {tests → codemie_test_harness/tests}/workflow/direct_tools_calling/test_workflow_with_data_management_tools.py +3 -3
- {tests → codemie_test_harness/tests}/workflow/direct_tools_calling/test_workflow_with_file_management_tools.py +2 -2
- {tests → codemie_test_harness/tests}/workflow/direct_tools_calling/test_workflow_with_notification_tools.py +4 -4
- {tests → codemie_test_harness/tests}/workflow/direct_tools_calling/test_workflow_with_open_api_tools.py +2 -2
- {tests → codemie_test_harness/tests}/workflow/direct_tools_calling/test_workflow_with_plugin_tools.py +3 -3
- {tests → codemie_test_harness/tests}/workflow/direct_tools_calling/test_workflow_with_project_management_tools.py +3 -3
- {tests → codemie_test_harness/tests}/workflow/direct_tools_calling/test_workflow_with_research_tools.py +2 -2
- {tests → codemie_test_harness/tests}/workflow/direct_tools_calling/test_workflow_with_servicenow_tools.py +3 -3
- {tests → codemie_test_harness/tests}/workflow/direct_tools_calling/test_workflow_with_vcs_tools.py +3 -3
- {tests → codemie_test_harness/tests}/workflow/test_workflows.py +3 -3
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/ado/test_workflow_with_ado_test_plan_tools.py +5 -5
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/ado/test_workflow_with_ado_wiki_tools.py +3 -3
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/ado/test_workflow_with_ado_work_item_tools.py +5 -5
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/cloud/test_workflow_with_cloud_tools.py +3 -3
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/codebase/test_workflow_with_codebase_tools.py +4 -4
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/data_management/test_workflow_with_data_management_tools.py +4 -4
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/default_integrations/test_default_integrations_for_tool.py +10 -7
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/default_integrations/test_default_integrations_for_tool_kit.py +9 -7
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/default_integrations/test_default_integrations_for_tool_with_datasource.py +7 -7
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/file_management/test_workflow_with_file_management_tools.py +3 -3
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/git/test_workflow_with_git_tools.py +2 -2
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/mcp/test_workflow_with_mcp_server.py +3 -3
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/notification/test_workflow_with_notification_tools.py +3 -3
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/open_api/test_workflow_with_open_api_tools.py +4 -2
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/plugin/test_workflow_with_development_plugin.py +4 -4
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/plugin/test_workflow_with_plugin_and_mcp_servers.py +4 -4
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/project_management/test_workflow_with_project_management_tools.py +5 -3
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/research/test_workflow_with_research_tools.py +6 -3
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/servicenow/test_workflow_with_servicenow_tools.py +6 -3
- codemie_test_harness/tests/workflow/virtual_assistant_tools/vcs/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/vcs/test_workflow_with_vcs_tools.py +3 -3
- {codemie_test_harness-0.1.129.dist-info → codemie_test_harness-0.1.131.dist-info}/METADATA +2 -2
- codemie_test_harness-0.1.131.dist-info/RECORD +326 -0
- codemie_test_harness-0.1.129.dist-info/RECORD +0 -320
- tests/utils/http_utils.py +0 -53
- {tests → codemie_test_harness/tests}/assistant/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/assistant/datasource/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/assistant/default_integrations/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/assistant/tools/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/assistant/tools/ado/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/assistant/tools/cloud/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/assistant/tools/codebase/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/assistant/tools/datamanagement/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/assistant/tools/filemanagement/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/assistant/tools/git/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/assistant/tools/mcp/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/assistant/tools/notification/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/assistant/tools/openapi/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/assistant/tools/plugin/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/assistant/tools/project_management/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/assistant/tools/research/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/assistant/tools/servicenow/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/assistant/tools/vcs/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/e2e/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/enums/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/enums/integrations.py +0 -0
- {tests → codemie_test_harness/tests}/enums/model_types.py +0 -0
- {tests → codemie_test_harness/tests}/enums/tools.py +0 -0
- {tests → codemie_test_harness/tests}/integrations/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/integrations/project/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/integrations/user/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/llm/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/llm/assistants/__init__.py +0 -0
- {tests/service → codemie_test_harness/tests/providers}/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/search/__init__.py +0 -0
- {tests/test_data → codemie_test_harness/tests/service}/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/service/test_llm_service.py +0 -0
- {tests → codemie_test_harness/tests}/service/test_user_service.py +0 -0
- {tests/test_data/direct_tools → codemie_test_harness/tests/test_data}/__init__.py +0 -0
- {tests/ui → codemie_test_harness/tests/test_data/direct_tools}/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/test_data/direct_tools/servicenow_tools_test_data.py +0 -0
- {tests → codemie_test_harness/tests}/test_data/file_test_data.py +0 -0
- {tests → codemie_test_harness/tests}/test_data/files/large-files/large_file.txt +0 -0
- {tests → codemie_test_harness/tests}/test_data/files/test.csv +0 -0
- {tests → codemie_test_harness/tests}/test_data/files/test.docx +0 -0
- {tests → codemie_test_harness/tests}/test_data/files/test.gif +0 -0
- {tests → codemie_test_harness/tests}/test_data/files/test.ini +0 -0
- {tests → codemie_test_harness/tests}/test_data/files/test.jpeg +0 -0
- {tests → codemie_test_harness/tests}/test_data/files/test.jpg +0 -0
- {tests → codemie_test_harness/tests}/test_data/files/test.json +0 -0
- {tests → codemie_test_harness/tests}/test_data/files/test.pdf +0 -0
- {tests → codemie_test_harness/tests}/test_data/files/test.png +0 -0
- {tests → codemie_test_harness/tests}/test_data/files/test.pptx +0 -0
- {tests → codemie_test_harness/tests}/test_data/files/test.txt +0 -0
- {tests → codemie_test_harness/tests}/test_data/files/test.vtt +0 -0
- {tests → codemie_test_harness/tests}/test_data/files/test.xlsx +0 -0
- {tests → codemie_test_harness/tests}/test_data/files/test.xml +0 -0
- {tests → codemie_test_harness/tests}/test_data/files/test.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/google_datasource_test_data.py +0 -0
- {tests → codemie_test_harness/tests}/test_data/index_test_data.py +0 -0
- {tests → codemie_test_harness/tests}/test_data/openapi.json +0 -0
- {tests → codemie_test_harness/tests}/test_data/output_schema_test_data.py +0 -0
- {tests → codemie_test_harness/tests}/test_data/pm_tools_test_data.py +0 -0
- {tests → codemie_test_harness/tests}/test_data/servicenow_tools_test_data.py +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/invalid_assistant_id.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/invalid_assistant_in_state.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/invalid_data_source.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/invalid_state.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/invalid_tool.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/invalid_yaml.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/invalid_yaml_format.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_assistant_id.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_assistant_tools_name.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_retry_backoff_factor.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_retry_initial_interval.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_retry_max_attempts.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_retry_max_interval.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_states.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_states_id.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_states_next.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_states_next_condition_expression.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_states_next_condition_otherwise.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_states_next_condition_then.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_states_next_switch_cases.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_states_next_switch_cases_condition.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_states_next_switch_cases_state_id.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_states_next_switch_default.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_states_retry_backoff_factor.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_states_retry_initial_interval.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_states_retry_max_attempts.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_states_retry_max_interval.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_system_prompt.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_tools_id.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_tools_name.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow_validation_messages.py +0 -0
- {tests/ui/pageobject → codemie_test_harness/tests/ui}/__init__.py +0 -0
- {tests/ui/pageobject/assistants → codemie_test_harness/tests/ui/pageobject}/__init__.py +0 -0
- {tests/workflow → codemie_test_harness/tests/ui/pageobject/assistants}/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/ui/pageobject/components/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/ui/pageobject/components/execution_history_row.py +0 -0
- {tests → codemie_test_harness/tests}/ui/pageobject/components/header.py +0 -0
- {tests → codemie_test_harness/tests}/ui/pageobject/components/pop_up.py +0 -0
- {tests → codemie_test_harness/tests}/ui/pageobject/components/workflow_card.py +0 -0
- {tests → codemie_test_harness/tests}/ui/pageobject/components/workflow_execution_history_item.py +0 -0
- {tests → codemie_test_harness/tests}/ui/pageobject/components/workflow_execution_state.py +0 -0
- {tests → codemie_test_harness/tests}/ui/pageobject/components/workflow_sidebar.py +0 -0
- {tests → codemie_test_harness/tests}/ui/pageobject/components/workflow_state_card.py +0 -0
- {tests → codemie_test_harness/tests}/ui/pageobject/workflows/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/utils/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/utils/client_factory.py +0 -0
- {tests → codemie_test_harness/tests}/utils/file_utils.py +0 -0
- {tests → codemie_test_harness/tests}/utils/gitbud_utils.py +0 -0
- {tests → codemie_test_harness/tests}/utils/json_utils.py +0 -0
- {tests → codemie_test_harness/tests}/utils/logger_util.py +0 -0
- {tests → codemie_test_harness/tests}/utils/pytest_utils.py +0 -0
- {tests → codemie_test_harness/tests}/utils/yaml_utils.py +0 -0
- {tests/workflow/assistant_tools → codemie_test_harness/tests/workflow}/__init__.py +0 -0
- {tests/workflow/assistant_tools/ado → codemie_test_harness/tests/workflow/assistant_tools}/__init__.py +0 -0
- {tests/workflow/assistant_tools/cloud → codemie_test_harness/tests/workflow/assistant_tools/ado}/__init__.py +0 -0
- {tests/workflow/assistant_tools/codebase → codemie_test_harness/tests/workflow/assistant_tools/cloud}/__init__.py +0 -0
- {tests/workflow/assistant_tools/data_management → codemie_test_harness/tests/workflow/assistant_tools/codebase}/__init__.py +0 -0
- {tests/workflow/assistant_tools/default_integrations → codemie_test_harness/tests/workflow/assistant_tools/data_management}/__init__.py +0 -0
- {tests/workflow/assistant_tools/git → codemie_test_harness/tests/workflow/assistant_tools/default_integrations}/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/file_management/__init__.py +0 -0
- {tests/workflow/assistant_tools/mcp → codemie_test_harness/tests/workflow/assistant_tools/git}/__init__.py +0 -0
- {tests/workflow/assistant_tools/notification → codemie_test_harness/tests/workflow/assistant_tools/mcp}/__init__.py +0 -0
- {tests/workflow/assistant_tools/plugin → codemie_test_harness/tests/workflow/assistant_tools/notification}/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/open_api/__init__.py +0 -0
- {tests/workflow/assistant_tools/project_management → codemie_test_harness/tests/workflow/assistant_tools/plugin}/__init__.py +0 -0
- {tests/workflow/assistant_tools/research → codemie_test_harness/tests/workflow/assistant_tools/project_management}/__init__.py +0 -0
- {tests/workflow/assistant_tools/servicenow → codemie_test_harness/tests/workflow/assistant_tools/research}/__init__.py +0 -0
- {tests/workflow/assistant_tools/vcs → codemie_test_harness/tests/workflow/assistant_tools/servicenow}/__init__.py +0 -0
- {tests/workflow/config_validation → codemie_test_harness/tests/workflow/assistant_tools/vcs}/__init__.py +0 -0
- {tests/workflow/direct_tools_calling → codemie_test_harness/tests/workflow/config_validation}/__init__.py +0 -0
- {tests/workflow/direct_tools_calling/default_integrations → codemie_test_harness/tests/workflow/direct_tools_calling}/__init__.py +0 -0
- {tests/workflow/virtual_assistant_tools → codemie_test_harness/tests/workflow/direct_tools_calling/default_integrations}/__init__.py +0 -0
- {tests/workflow/virtual_assistant_tools/ado → codemie_test_harness/tests/workflow/virtual_assistant_tools}/__init__.py +0 -0
- {tests/workflow/virtual_assistant_tools/cloud → codemie_test_harness/tests/workflow/virtual_assistant_tools/ado}/__init__.py +0 -0
- {tests/workflow/virtual_assistant_tools/default_integrations → codemie_test_harness/tests/workflow/virtual_assistant_tools/cloud}/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/codebase/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/data_management/__init__.py +0 -0
- {tests/workflow/virtual_assistant_tools/git → codemie_test_harness/tests/workflow/virtual_assistant_tools/default_integrations}/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/file_management/__init__.py +0 -0
- {tests/workflow/virtual_assistant_tools/mcp → codemie_test_harness/tests/workflow/virtual_assistant_tools/git}/__init__.py +0 -0
- {tests/workflow/virtual_assistant_tools/plugin → codemie_test_harness/tests/workflow/virtual_assistant_tools/mcp}/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/notification/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/open_api/__init__.py +0 -0
- {tests/workflow/virtual_assistant_tools/research → codemie_test_harness/tests/workflow/virtual_assistant_tools/plugin}/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/project_management/__init__.py +0 -0
- {tests/workflow/virtual_assistant_tools/servicenow → codemie_test_harness/tests/workflow/virtual_assistant_tools/research}/__init__.py +0 -0
- {tests/workflow/virtual_assistant_tools/vcs → codemie_test_harness/tests/workflow/virtual_assistant_tools/servicenow}/__init__.py +0 -0
- {codemie_test_harness-0.1.129.dist-info → codemie_test_harness-0.1.131.dist-info}/WHEEL +0 -0
- {codemie_test_harness-0.1.129.dist-info → codemie_test_harness-0.1.131.dist-info}/entry_points.txt +0 -0
|
@@ -0,0 +1,382 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id":"3928ea28-e9e2-4382-aae0-09d5a24dc2am",
|
|
3
|
+
"date":"2025-04-02T12:54:19.693921",
|
|
4
|
+
"update_date":"2025-04-02T13:50:36.917335",
|
|
5
|
+
"name":"test",
|
|
6
|
+
"service_location_url":"https://codemie-preview.lab.epam.com/codemie-provider-stub-api/",
|
|
7
|
+
"configuration":{
|
|
8
|
+
"auth_type":"Bearer"
|
|
9
|
+
},
|
|
10
|
+
"provided_toolkits":[
|
|
11
|
+
{
|
|
12
|
+
"toolkit_id":"023953e9-b4b2-4264-aa24-7a20ab7cb201",
|
|
13
|
+
"name":"TestAutomationCodeAnalysesToolkit",
|
|
14
|
+
"description":"This ToolKit provides tools for indexing the source code of provided repository and set of methods to get insights of the code and code snippets.",
|
|
15
|
+
"toolkit_config":{
|
|
16
|
+
"type":"Code Analyses Datasource Configuration",
|
|
17
|
+
"description":"Configuration for connecting to GitHub repositories to access code for indexing and analysis.",
|
|
18
|
+
"parameters":{
|
|
19
|
+
"access_token":{
|
|
20
|
+
"description":"Github/Gitlab project access token with appropriate scopes for repository access",
|
|
21
|
+
"type":"Secret",
|
|
22
|
+
"required":true,
|
|
23
|
+
"enum":null
|
|
24
|
+
},
|
|
25
|
+
"datasource_id":{
|
|
26
|
+
"description":"Unique identifier for the datasource",
|
|
27
|
+
"type":"UUID",
|
|
28
|
+
"required":true,
|
|
29
|
+
"enum":null
|
|
30
|
+
},
|
|
31
|
+
"api_url":{
|
|
32
|
+
"description":"Git API URL (use your Git Enterprise API URL)",
|
|
33
|
+
"type":"URL",
|
|
34
|
+
"required":true,
|
|
35
|
+
"enum":null
|
|
36
|
+
},
|
|
37
|
+
"branch":{
|
|
38
|
+
"description":"Branch to index, defaults to master",
|
|
39
|
+
"type":"String",
|
|
40
|
+
"required":false,
|
|
41
|
+
"enum":null
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"provided_tools":[
|
|
46
|
+
{
|
|
47
|
+
"name":"create_datasource",
|
|
48
|
+
"description":"Creates a new datasource by indexing a Git repository for code analysis. The indexing process extracts code structure, dependencies, and other metadata to enable subsequent queries.",
|
|
49
|
+
"args_schema":{
|
|
50
|
+
"exclude_glob":{
|
|
51
|
+
"type":"String",
|
|
52
|
+
"required":false,
|
|
53
|
+
"description":"Comma separated string of file paths to exclude from indexing",
|
|
54
|
+
"enum":null
|
|
55
|
+
},
|
|
56
|
+
"analyzer":{
|
|
57
|
+
"type":"List",
|
|
58
|
+
"required":false,
|
|
59
|
+
"description":"Type of code analyzer to use for the project. Supported analyzers Java/TS/JS/C#/C++. If not specified best matching analyzer will be chosen automatically.",
|
|
60
|
+
"enum":[
|
|
61
|
+
"Java",
|
|
62
|
+
"TS",
|
|
63
|
+
"JS",
|
|
64
|
+
"C#",
|
|
65
|
+
"C++",
|
|
66
|
+
"Other"
|
|
67
|
+
]
|
|
68
|
+
},
|
|
69
|
+
"datasource_root":{
|
|
70
|
+
"type":"String",
|
|
71
|
+
"required":true,
|
|
72
|
+
"description":"Root directory of the project to be indexed",
|
|
73
|
+
"enum":null
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"tool_metadata":{
|
|
77
|
+
"tool_type":"stateful",
|
|
78
|
+
"tool_purpose":"life_cycle_management",
|
|
79
|
+
"tool_action_type":"create"
|
|
80
|
+
},
|
|
81
|
+
"tool_result_type":"Json",
|
|
82
|
+
"sync_invocation_supported":false,
|
|
83
|
+
"async_invocation_supported":true
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name":"reindex_datasource",
|
|
87
|
+
"description":"Updates an existing datasource by re-indexing the associated Git repository to incorporate the latest changes and maintain synchronization with the current codebase.",
|
|
88
|
+
"args_schema":{
|
|
89
|
+
|
|
90
|
+
},
|
|
91
|
+
"tool_metadata":{
|
|
92
|
+
"tool_type":"stateful",
|
|
93
|
+
"tool_purpose":"life_cycle_management",
|
|
94
|
+
"tool_action_type":"modify"
|
|
95
|
+
},
|
|
96
|
+
"tool_result_type":"Json",
|
|
97
|
+
"sync_invocation_supported":false,
|
|
98
|
+
"async_invocation_supported":true
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"name":"delete_datasource",
|
|
102
|
+
"description":"Removes an existing datasource and all its indexed data from the system, freeing up resources and cleaning up stale references.",
|
|
103
|
+
"args_schema":{
|
|
104
|
+
|
|
105
|
+
},
|
|
106
|
+
"tool_metadata":{
|
|
107
|
+
"tool_type":"stateful",
|
|
108
|
+
"tool_purpose":"life_cycle_management",
|
|
109
|
+
"tool_action_type":"remove"
|
|
110
|
+
},
|
|
111
|
+
"tool_result_type":"Json",
|
|
112
|
+
"sync_invocation_supported":false,
|
|
113
|
+
"async_invocation_supported":true
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name":"get_files_tree",
|
|
117
|
+
"description":"Retrieves a hierarchical representation of the file system structure of the indexed repository, showing directories and files in a tree format for easy navigation.",
|
|
118
|
+
"args_schema":{
|
|
119
|
+
"path":{
|
|
120
|
+
"type":"String",
|
|
121
|
+
"required":true,
|
|
122
|
+
"description":"Relative path within the repository to start the tree structure from",
|
|
123
|
+
"enum":null
|
|
124
|
+
},
|
|
125
|
+
"level":{
|
|
126
|
+
"type":"Number",
|
|
127
|
+
"required":false,
|
|
128
|
+
"description":"Maximum depth of the tree structure, defaults to full depth",
|
|
129
|
+
"enum":null
|
|
130
|
+
},
|
|
131
|
+
"limit":{
|
|
132
|
+
"type":"Number",
|
|
133
|
+
"required":false,
|
|
134
|
+
"description":"Maximum number of files to include in the tree structure, defaults to all files",
|
|
135
|
+
"enum":null
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
"tool_metadata":{
|
|
139
|
+
"tool_type":"stateful",
|
|
140
|
+
"tool_purpose":"data_retrieval",
|
|
141
|
+
"tool_action_type":null
|
|
142
|
+
},
|
|
143
|
+
"tool_result_type":"String",
|
|
144
|
+
"sync_invocation_supported":true,
|
|
145
|
+
"async_invocation_supported":false
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"name":"get_files_list",
|
|
149
|
+
"description":"Retrieves a list of files and directories within the specified path in the indexed repository, showing file names and types for easy reference.",
|
|
150
|
+
"args_schema":{
|
|
151
|
+
"path":{
|
|
152
|
+
"type":"String",
|
|
153
|
+
"required":true,
|
|
154
|
+
"description":"Relative path within the repository to list files from",
|
|
155
|
+
"enum":null
|
|
156
|
+
},
|
|
157
|
+
"limit":{
|
|
158
|
+
"type":"Number",
|
|
159
|
+
"required":false,
|
|
160
|
+
"description":"Maximum number of files to include in the list, defaults to all files",
|
|
161
|
+
"enum":null
|
|
162
|
+
},
|
|
163
|
+
"recursive":{
|
|
164
|
+
"type":"Boolean",
|
|
165
|
+
"required":false,
|
|
166
|
+
"description":"Flag to include files from subdirectories recursively, defaults to false",
|
|
167
|
+
"enum":null
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"tool_metadata":{
|
|
171
|
+
"tool_type":"stateful",
|
|
172
|
+
"tool_purpose":"data_retrieval",
|
|
173
|
+
"tool_action_type":null
|
|
174
|
+
},
|
|
175
|
+
"tool_result_type":"Json",
|
|
176
|
+
"sync_invocation_supported":true,
|
|
177
|
+
"async_invocation_supported":false
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"name":"get_code_members",
|
|
181
|
+
"description":"Extracts and returns structured information about code components such as classes, methods, functions, and variables within specified file in the indexed repository.",
|
|
182
|
+
"args_schema":{
|
|
183
|
+
"file_path":{
|
|
184
|
+
"type":"String",
|
|
185
|
+
"required":true,
|
|
186
|
+
"description":"Path of the file to extract code members from",
|
|
187
|
+
"enum":null
|
|
188
|
+
},
|
|
189
|
+
"start_line":{
|
|
190
|
+
"type":"Number",
|
|
191
|
+
"required":false,
|
|
192
|
+
"description":"Starting line number to extract code members from, defaults to 1",
|
|
193
|
+
"enum":null
|
|
194
|
+
},
|
|
195
|
+
"end_line":{
|
|
196
|
+
"type":"Number",
|
|
197
|
+
"required":false,
|
|
198
|
+
"description":"Ending line number to extract code members till, defaults to end of file",
|
|
199
|
+
"enum":null
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
"tool_metadata":{
|
|
203
|
+
"tool_type":"stateful",
|
|
204
|
+
"tool_purpose":"data_retrieval",
|
|
205
|
+
"tool_action_type":null
|
|
206
|
+
},
|
|
207
|
+
"tool_result_type":"Json",
|
|
208
|
+
"sync_invocation_supported":false,
|
|
209
|
+
"async_invocation_supported":true
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"name":"get_trimmed_code",
|
|
213
|
+
"description":"Retrieves a simplified version of code from specified files with non-essential elements (like comments and some whitespace) removed to focus on the core functionality.",
|
|
214
|
+
"args_schema":{
|
|
215
|
+
"file_path":{
|
|
216
|
+
"type":"String",
|
|
217
|
+
"required":true,
|
|
218
|
+
"description":"Path of the file to extract trimmed code from",
|
|
219
|
+
"enum":null
|
|
220
|
+
},
|
|
221
|
+
"exclude_private":{
|
|
222
|
+
"type":"Boolean",
|
|
223
|
+
"required":false,
|
|
224
|
+
"description":"Flag to exclude private members from the trimmed code, defaults to false",
|
|
225
|
+
"enum":null
|
|
226
|
+
},
|
|
227
|
+
"show_line_numbers":{
|
|
228
|
+
"type":"Boolean",
|
|
229
|
+
"required":false,
|
|
230
|
+
"description":"Flag to include line numbers in the trimmed code, defaults to false",
|
|
231
|
+
"enum":null
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
"tool_metadata":{
|
|
235
|
+
"tool_type":"stateful",
|
|
236
|
+
"tool_purpose":"data_retrieval",
|
|
237
|
+
"tool_action_type":null
|
|
238
|
+
},
|
|
239
|
+
"tool_result_type":"String",
|
|
240
|
+
"sync_invocation_supported":true,
|
|
241
|
+
"async_invocation_supported":false
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"name":"get_code",
|
|
245
|
+
"description":"Fetches the complete, unmodified source code of specified files or code segments from the indexed repository, preserving all original formatting and comments.",
|
|
246
|
+
"args_schema":{
|
|
247
|
+
"file_path":{
|
|
248
|
+
"type":"String",
|
|
249
|
+
"required":true,
|
|
250
|
+
"description":"Path of the file to extract code from",
|
|
251
|
+
"enum":null
|
|
252
|
+
},
|
|
253
|
+
"start_line":{
|
|
254
|
+
"type":"Number",
|
|
255
|
+
"required":false,
|
|
256
|
+
"description":"Starting line number to extract code from, defaults to 1",
|
|
257
|
+
"enum":null
|
|
258
|
+
},
|
|
259
|
+
"show_line_numbers":{
|
|
260
|
+
"type":"Boolean",
|
|
261
|
+
"required":false,
|
|
262
|
+
"description":"Flag to include line numbers in the code, defaults to false",
|
|
263
|
+
"enum":null
|
|
264
|
+
},
|
|
265
|
+
"end_line":{
|
|
266
|
+
"type":"Number",
|
|
267
|
+
"required":false,
|
|
268
|
+
"description":"Ending line number to extract code till, defaults to end of file",
|
|
269
|
+
"enum":null
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
"tool_metadata":{
|
|
273
|
+
"tool_type":"stateful",
|
|
274
|
+
"tool_purpose":"data_retrieval",
|
|
275
|
+
"tool_action_type":null
|
|
276
|
+
},
|
|
277
|
+
"tool_result_type":"String",
|
|
278
|
+
"sync_invocation_supported":true,
|
|
279
|
+
"async_invocation_supported":false
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"name":"get_metadata",
|
|
283
|
+
"description":"Retrieves metadata information about specified files in the indexed repository, including file size, line count, and other relevant details.",
|
|
284
|
+
"args_schema":{
|
|
285
|
+
"file_path":{
|
|
286
|
+
"type":"String",
|
|
287
|
+
"required":true,
|
|
288
|
+
"description":"Path of the file to extract code from",
|
|
289
|
+
"enum":null
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
"tool_metadata":{
|
|
293
|
+
"tool_type":"stateful",
|
|
294
|
+
"tool_purpose":"data_retrieval",
|
|
295
|
+
"tool_action_type":null
|
|
296
|
+
},
|
|
297
|
+
"tool_result_type":"String",
|
|
298
|
+
"sync_invocation_supported":true,
|
|
299
|
+
"async_invocation_supported":false
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"name":"get_outgoing_dependencies",
|
|
303
|
+
"description":"Analyzes and returns information about external dependencies and imports used by specified files or code components, helping to understand code relationships and dependency chains.",
|
|
304
|
+
"args_schema":{
|
|
305
|
+
"file_path":{
|
|
306
|
+
"type":"String",
|
|
307
|
+
"required":true,
|
|
308
|
+
"description":"Path of the file to get outgoing dependencies from",
|
|
309
|
+
"enum":null
|
|
310
|
+
},
|
|
311
|
+
"start_line":{
|
|
312
|
+
"type":"Number",
|
|
313
|
+
"required":false,
|
|
314
|
+
"description":"Starting line number to get outgoing dependencies from, defaults to 1",
|
|
315
|
+
"enum":null
|
|
316
|
+
},
|
|
317
|
+
"end_line":{
|
|
318
|
+
"type":"Number",
|
|
319
|
+
"required":false,
|
|
320
|
+
"description":"Ending line number to get outgoing dependencies till, defaults to end of file",
|
|
321
|
+
"enum":null
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
"tool_metadata":{
|
|
325
|
+
"tool_type":"stateful",
|
|
326
|
+
"tool_purpose":"data_retrieval",
|
|
327
|
+
"tool_action_type":null
|
|
328
|
+
},
|
|
329
|
+
"tool_result_type":"Json",
|
|
330
|
+
"sync_invocation_supported":true,
|
|
331
|
+
"async_invocation_supported":false
|
|
332
|
+
}
|
|
333
|
+
]
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"toolkit_id":"98212b72-8b83-4d70-852f-49f0df28a0d4",
|
|
337
|
+
"name":"TestToolkit",
|
|
338
|
+
"description":"Tst toolkit",
|
|
339
|
+
"toolkit_config":{
|
|
340
|
+
"type":"test toolkit",
|
|
341
|
+
"description":"Configuration for connecting to GitHub repositories to access code for indexing and analysis.",
|
|
342
|
+
"parameters":{
|
|
343
|
+
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
"provided_tools":[
|
|
347
|
+
{
|
|
348
|
+
"name":"test_tool",
|
|
349
|
+
"description":"Some test tools",
|
|
350
|
+
"args_schema":{
|
|
351
|
+
"service_url":{
|
|
352
|
+
"type":"String",
|
|
353
|
+
"required":true,
|
|
354
|
+
"description":"The url of the service",
|
|
355
|
+
"enum":null
|
|
356
|
+
},
|
|
357
|
+
"exclude_glob":{
|
|
358
|
+
"type":"String",
|
|
359
|
+
"required":false,
|
|
360
|
+
"description":"Comma separated string of file paths to exclude from indexing",
|
|
361
|
+
"enum":null
|
|
362
|
+
},
|
|
363
|
+
"service_method":{
|
|
364
|
+
"type":"String",
|
|
365
|
+
"required":true,
|
|
366
|
+
"description":"The token to access the service",
|
|
367
|
+
"enum":null
|
|
368
|
+
}
|
|
369
|
+
},
|
|
370
|
+
"tool_metadata":{
|
|
371
|
+
"tool_type":null,
|
|
372
|
+
"tool_purpose":null,
|
|
373
|
+
"tool_action_type":null
|
|
374
|
+
},
|
|
375
|
+
"tool_result_type":"Json",
|
|
376
|
+
"sync_invocation_supported":false,
|
|
377
|
+
"async_invocation_supported":true
|
|
378
|
+
}
|
|
379
|
+
]
|
|
380
|
+
}
|
|
381
|
+
]
|
|
382
|
+
}
|
|
@@ -3,8 +3,8 @@ import os
|
|
|
3
3
|
import pytest
|
|
4
4
|
|
|
5
5
|
from codemie_sdk.models.integration import CredentialTypes
|
|
6
|
-
from tests.enums.integrations import DataBaseDialect
|
|
7
|
-
from tests.utils.aws_parameters_store import CredentialsUtil
|
|
6
|
+
from codemie_test_harness.tests.enums.integrations import DataBaseDialect
|
|
7
|
+
from codemie_test_harness.tests.utils.aws_parameters_store import CredentialsUtil
|
|
8
8
|
|
|
9
9
|
valid_integrations = [
|
|
10
10
|
(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from codemie_sdk.models.assistant import MCPServerDetails, MCPServerConfig
|
|
2
|
-
from tests.enums.tools import PluginTool
|
|
2
|
+
from codemie_test_harness.tests.enums.tools import PluginTool
|
|
3
3
|
|
|
4
|
-
from tests.utils.constants import TESTS_PATH
|
|
4
|
+
from codemie_test_harness.tests.utils.constants import TESTS_PATH
|
|
5
5
|
|
|
6
6
|
cli_mcp_server_test_data = [
|
|
7
7
|
(
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
from tests.enums.tools import ProjectManagementTool
|
|
2
|
-
from tests.test_data.pm_tools_test_data import (
|
|
1
|
+
from codemie_test_harness.tests.enums.tools import ProjectManagementTool
|
|
2
|
+
from codemie_test_harness.tests.test_data.pm_tools_test_data import (
|
|
3
3
|
JIRA_TOOL_PROMPT,
|
|
4
4
|
RESPONSE_FOR_JIRA_TOOL,
|
|
5
5
|
CONFLUENCE_TOOL_PROMPT,
|
|
@@ -9,7 +9,7 @@ from tests.test_data.pm_tools_test_data import (
|
|
|
9
9
|
CONFLUENCE_CLOUD_TOOL_PROMPT,
|
|
10
10
|
RESPONSE_FOR_CONFLUENCE_CLOUD_TOOL,
|
|
11
11
|
)
|
|
12
|
-
from tests.utils.constants import ProjectManagementIntegrationType
|
|
12
|
+
from codemie_test_harness.tests.utils.constants import ProjectManagementIntegrationType
|
|
13
13
|
|
|
14
14
|
pm_tools_test_data = [
|
|
15
15
|
(
|
|
@@ -3,8 +3,8 @@ import re
|
|
|
3
3
|
from playwright.sync_api import expect
|
|
4
4
|
from reportportal_client import step
|
|
5
5
|
|
|
6
|
-
from tests.ui.pageobject.components.pop_up import PopUp
|
|
7
|
-
from tests.ui.pageobject.components.header import Header
|
|
6
|
+
from codemie_test_harness.tests.ui.pageobject.components.pop_up import PopUp
|
|
7
|
+
from codemie_test_harness.tests.ui.pageobject.components.header import Header
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
class BasePage:
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
from reportportal_client import step
|
|
2
2
|
from playwright.sync_api import expect
|
|
3
3
|
|
|
4
|
-
from tests.ui.pageobject.assistants.assistants_page import
|
|
5
|
-
|
|
4
|
+
from codemie_test_harness.tests.ui.pageobject.assistants.assistants_page import (
|
|
5
|
+
AssistantsPage,
|
|
6
|
+
)
|
|
7
|
+
from codemie_test_harness.tests.ui.pageobject.base_page import BasePage
|
|
6
8
|
|
|
7
9
|
|
|
8
10
|
class LoginPage(BasePage):
|
|
@@ -3,8 +3,8 @@ from playwright.sync_api import Page, Locator, expect
|
|
|
3
3
|
from reportportal_client import step
|
|
4
4
|
from typing import Optional
|
|
5
5
|
|
|
6
|
-
from tests.ui.pageobject.base_page import BasePage
|
|
7
|
-
from tests.ui.pageobject.components import WorkflowSidebar
|
|
6
|
+
from codemie_test_harness.tests.ui.pageobject.base_page import BasePage
|
|
7
|
+
from codemie_test_harness.tests.ui.pageobject.components import WorkflowSidebar
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
class BaseWorkflowFormPage(BasePage):
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
from playwright.sync_api import expect
|
|
2
2
|
from reportportal_client import step
|
|
3
3
|
|
|
4
|
-
from tests.ui.pageobject.workflows.base_workflow_form_page import
|
|
5
|
-
|
|
4
|
+
from codemie_test_harness.tests.ui.pageobject.workflows.base_workflow_form_page import (
|
|
5
|
+
BaseWorkflowFormPage,
|
|
6
|
+
)
|
|
7
|
+
from codemie_test_harness.tests.utils.base_utils import get_random_name
|
|
6
8
|
|
|
7
9
|
|
|
8
10
|
class CreateWorkflowPage(BaseWorkflowFormPage):
|
|
@@ -3,7 +3,9 @@ from reportportal_client import step
|
|
|
3
3
|
from typing import Optional
|
|
4
4
|
import re
|
|
5
5
|
|
|
6
|
-
from tests.ui.pageobject.workflows.base_workflow_form_page import
|
|
6
|
+
from codemie_test_harness.tests.ui.pageobject.workflows.base_workflow_form_page import (
|
|
7
|
+
BaseWorkflowFormPage,
|
|
8
|
+
)
|
|
7
9
|
|
|
8
10
|
|
|
9
11
|
class EditWorkflowPage(BaseWorkflowFormPage):
|
|
@@ -6,9 +6,11 @@ from playwright.sync_api import expect, Locator
|
|
|
6
6
|
from reportportal_client import step
|
|
7
7
|
from typing import List, Optional
|
|
8
8
|
|
|
9
|
-
from tests.ui.pageobject.base_page import BasePage
|
|
10
|
-
from tests.ui.pageobject.components import WorkflowSidebar
|
|
11
|
-
from tests.ui.pageobject.components.execution_history_row import
|
|
9
|
+
from codemie_test_harness.tests.ui.pageobject.base_page import BasePage
|
|
10
|
+
from codemie_test_harness.tests.ui.pageobject.components import WorkflowSidebar
|
|
11
|
+
from codemie_test_harness.tests.ui.pageobject.components.execution_history_row import (
|
|
12
|
+
ExecutionHistoryRow,
|
|
13
|
+
)
|
|
12
14
|
|
|
13
15
|
|
|
14
16
|
class WorkflowDetailsPage(BasePage):
|
|
@@ -2,11 +2,11 @@ from typing import List, Optional
|
|
|
2
2
|
from playwright.sync_api import expect, Locator
|
|
3
3
|
from reportportal_client import step
|
|
4
4
|
|
|
5
|
-
from tests.ui.pageobject.base_page import BasePage
|
|
6
|
-
from tests.ui.pageobject.components.workflow_execution_history_item import (
|
|
5
|
+
from codemie_test_harness.tests.ui.pageobject.base_page import BasePage
|
|
6
|
+
from codemie_test_harness.tests.ui.pageobject.components.workflow_execution_history_item import (
|
|
7
7
|
WorkflowExecutionHistoryItem,
|
|
8
8
|
)
|
|
9
|
-
from tests.ui.pageobject.components.workflow_execution_state import (
|
|
9
|
+
from codemie_test_harness.tests.ui.pageobject.components.workflow_execution_state import (
|
|
10
10
|
WorkflowExecutionState,
|
|
11
11
|
)
|
|
12
12
|
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
from reportportal_client import step
|
|
2
2
|
|
|
3
|
-
from tests.ui.pageobject.base_page import BasePage
|
|
3
|
+
from codemie_test_harness.tests.ui.pageobject.base_page import BasePage
|
|
4
4
|
from playwright.sync_api import Page, expect
|
|
5
5
|
|
|
6
|
-
from tests.ui.pageobject.workflows.workflows_page import
|
|
6
|
+
from codemie_test_harness.tests.ui.pageobject.workflows.workflows_page import (
|
|
7
|
+
WorkflowsPage,
|
|
8
|
+
)
|
|
7
9
|
|
|
8
10
|
|
|
9
11
|
class WorkflowTemplatesPage(BasePage):
|