Refactor: Remove Copilot tools and related utilities

- Deleted RunCommandTool, SearchWorkspaceTool, WriteFileTool, and their associated interfaces and implementations.
- Removed Tool, ToolRegistry, and AgentLogger classes, along with their dependencies.
- Eliminated utility functions for workspace path management and secret sanitization.
- Cleaned up TypeScript configuration and example environment variables related to Copilot.
- Updated Docker Compose files to remove references to Copilot services.
This commit is contained in:
Nawaz Dhandala
2025-12-10 11:42:31 +00:00
parent 210eb82369
commit eea9c2788b
36 changed files with 3 additions and 8586 deletions

View File

@@ -453,24 +453,6 @@ services:
context: .
dockerfile: ./E2E/Dockerfile
copilot:
volumes:
- ./Copilot:/usr/src/app:cached
# Use node modules of the container and not host system.
# https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder
- /usr/src/app/node_modules/
- ./Common:/usr/src/Common:cached
- /usr/src/Common/node_modules/
ports:
- '9985:9229' # Debugging port.
extends:
file: ./docker-compose.base.yml
service: copilot
build:
network: host
context: .
dockerfile: ./Copilot/Dockerfile
volumes:
postgres:
clickhouse: