Skip to content

feat: Eliminar archivos de ejemplo ejecutables y mejorar la gestión de commits en el servicio de workspace - #1176

Open
Wisnton Esparza (intuit44) wants to merge 571 commits into
microsoft:mainfrom
macae-labs:stable/v4-baseline
Open

Wisnton Esparza (intuit44) wants to merge 571 commits into
microsoft:mainfrom
macae-labs:stable/v4-baseline

Conversation

@intuit44

Copy link
Copy Markdown

Purpose

  • ...

Does this introduce a breaking change?

  • Yes
  • No

How to Test

  • Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
  • Test the code

What to Check

Verify that the following are valid

  • ...

Other Information

* feat: implement workspace file management and enhance workspace selector functionality

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: apply ruff formatting to workspace_router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add support for repo URL, token, and local path in workspace creation

* feat: implement lazy loading workspace file explorer with directory structure

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Implement workspace service and integrate file materialization

- Added `workspace_service.py` to manage user workspaces, including creation, validation, and file handling.
- Introduced `_materialize_hosted_file_to_workspace` function in `orchestration_manager.py` to download hosted files into user workspaces.
- Updated `ChatMessageRequest` interface to include `workspace_id` for tracking workspace context in chat messages.
- Enhanced `sendMessageStream` method in `ChatService` to accept `workspaceId` for file handling.
- Modified `agentMiddleware` to retrieve and pass the active workspace ID when sending messages.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Winston <wesparza888@icloud.com.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
* feat: implement workspace file management and enhance workspace selector functionality

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: apply ruff formatting to workspace_router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add support for repo URL, token, and local path in workspace creation

* feat: implement lazy loading workspace file explorer with directory structure

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Implement workspace service and integrate file materialization

- Added `workspace_service.py` to manage user workspaces, including creation, validation, and file handling.
- Introduced `_materialize_hosted_file_to_workspace` function in `orchestration_manager.py` to download hosted files into user workspaces.
- Updated `ChatMessageRequest` interface to include `workspace_id` for tracking workspace context in chat messages.
- Enhanced `sendMessageStream` method in `ChatService` to accept `workspaceId` for file handling.
- Modified `agentMiddleware` to retrieve and pass the active workspace ID when sending messages.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Add workspace file search functionality and enhance workspace awareness in chat client

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Winston <wesparza888@icloud.com.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
* feat: implement workspace file management and enhance workspace selector functionality

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: apply ruff formatting to workspace_router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add support for repo URL, token, and local path in workspace creation

* feat: implement lazy loading workspace file explorer with directory structure

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Implement workspace service and integrate file materialization

- Added `workspace_service.py` to manage user workspaces, including creation, validation, and file handling.
- Introduced `_materialize_hosted_file_to_workspace` function in `orchestration_manager.py` to download hosted files into user workspaces.
- Updated `ChatMessageRequest` interface to include `workspace_id` for tracking workspace context in chat messages.
- Enhanced `sendMessageStream` method in `ChatService` to accept `workspaceId` for file handling.
- Modified `agentMiddleware` to retrieve and pass the active workspace ID when sending messages.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Add workspace file search functionality and enhance workspace awareness in chat client

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Añadir herramientas de acceso de solo lectura para el espacio de trabajo

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix MCP server ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix MCP workspace path resolution

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

---------

Co-authored-by: Winston <wesparza888@icloud.com.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
* feat: implement workspace file management and enhance workspace selector functionality

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: apply ruff formatting to workspace_router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add support for repo URL, token, and local path in workspace creation

* feat: implement lazy loading workspace file explorer with directory structure

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Implement workspace service and integrate file materialization

- Added `workspace_service.py` to manage user workspaces, including creation, validation, and file handling.
- Introduced `_materialize_hosted_file_to_workspace` function in `orchestration_manager.py` to download hosted files into user workspaces.
- Updated `ChatMessageRequest` interface to include `workspace_id` for tracking workspace context in chat messages.
- Enhanced `sendMessageStream` method in `ChatService` to accept `workspaceId` for file handling.
- Modified `agentMiddleware` to retrieve and pass the active workspace ID when sending messages.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Add workspace file search functionality and enhance workspace awareness in chat client

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Añadir herramientas de acceso de solo lectura para el espacio de trabajo

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix MCP server ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix MCP workspace path resolution

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Mejorar la gestión de workspace: se actualiza la lógica para usar el ID de sesión como respaldo y se agrega el campo workspace_id en InputTask.

* Fix MCP workspace_service Ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

---------

Co-authored-by: Winston <wesparza888@icloud.com.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
* feat: implement workspace file management and enhance workspace selector functionality

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: apply ruff formatting to workspace_router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add support for repo URL, token, and local path in workspace creation

* feat: implement lazy loading workspace file explorer with directory structure

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Implement workspace service and integrate file materialization

- Added `workspace_service.py` to manage user workspaces, including creation, validation, and file handling.
- Introduced `_materialize_hosted_file_to_workspace` function in `orchestration_manager.py` to download hosted files into user workspaces.
- Updated `ChatMessageRequest` interface to include `workspace_id` for tracking workspace context in chat messages.
- Enhanced `sendMessageStream` method in `ChatService` to accept `workspaceId` for file handling.
- Modified `agentMiddleware` to retrieve and pass the active workspace ID when sending messages.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Add workspace file search functionality and enhance workspace awareness in chat client

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Añadir herramientas de acceso de solo lectura para el espacio de trabajo

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix MCP server ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix MCP workspace path resolution

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Mejorar la gestión de workspace: se actualiza la lógica para usar el ID de sesión como respaldo y se agrega el campo workspace_id en InputTask.

* Fix MCP workspace_service Ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Add git-read and write tools to workspace service

- Implemented git-read helpers: git_status, git_diff, git_log, git_current_branch, git_list_branches, and search_content in backend workspace_service.
- Added corresponding MCP tools for git-read operations in mcp_server workspace_service.
- Introduced write helpers: write_file, create_file, update_file, and delete_file in backend workspace_service with automatic git commits.
- Enhanced documentation and error handling for new functionalities.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* test: add workspace service coverage

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* test: avoid workspace tool count magic number

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Changes before error encountered

Agent-Logs-Url: https://github.com/macae-labs/Multi-Agent-Custom-Automation-Engine-Solution-Accelerator/sessions/5c6bad5f-17e2-4041-be0d-ede3e8438df9

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

---------

Co-authored-by: Winston <wesparza888@icloud.com.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
* feat: implement workspace file management and enhance workspace selector functionality

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: apply ruff formatting to workspace_router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add support for repo URL, token, and local path in workspace creation

* feat: implement lazy loading workspace file explorer with directory structure

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Implement workspace service and integrate file materialization

- Added `workspace_service.py` to manage user workspaces, including creation, validation, and file handling.
- Introduced `_materialize_hosted_file_to_workspace` function in `orchestration_manager.py` to download hosted files into user workspaces.
- Updated `ChatMessageRequest` interface to include `workspace_id` for tracking workspace context in chat messages.
- Enhanced `sendMessageStream` method in `ChatService` to accept `workspaceId` for file handling.
- Modified `agentMiddleware` to retrieve and pass the active workspace ID when sending messages.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Add workspace file search functionality and enhance workspace awareness in chat client

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Añadir herramientas de acceso de solo lectura para el espacio de trabajo

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix MCP server ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix MCP workspace path resolution

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Mejorar la gestión de workspace: se actualiza la lógica para usar el ID de sesión como respaldo y se agrega el campo workspace_id en InputTask.

* Fix MCP workspace_service Ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Add git-read and write tools to workspace service

- Implemented git-read helpers: git_status, git_diff, git_log, git_current_branch, git_list_branches, and search_content in backend workspace_service.
- Added corresponding MCP tools for git-read operations in mcp_server workspace_service.
- Introduced write helpers: write_file, create_file, update_file, and delete_file in backend workspace_service with automatic git commits.
- Enhanced documentation and error handling for new functionalities.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* test: add workspace service coverage

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* test: avoid workspace tool count magic number

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Changes before error encountered

Agent-Logs-Url: https://github.com/macae-labs/Multi-Agent-Custom-Automation-Engine-Solution-Accelerator/sessions/5c6bad5f-17e2-4041-be0d-ede3e8438df9

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add terminal execution capabilities for workspace agents

* fix: reformat mcp_server/services/workspace_service.py to pass ruff format check

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Winston <wesparza888@icloud.com.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
* feat: implement workspace file management and enhance workspace selector functionality

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: apply ruff formatting to workspace_router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add support for repo URL, token, and local path in workspace creation

* feat: implement lazy loading workspace file explorer with directory structure

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Implement workspace service and integrate file materialization

- Added `workspace_service.py` to manage user workspaces, including creation, validation, and file handling.
- Introduced `_materialize_hosted_file_to_workspace` function in `orchestration_manager.py` to download hosted files into user workspaces.
- Updated `ChatMessageRequest` interface to include `workspace_id` for tracking workspace context in chat messages.
- Enhanced `sendMessageStream` method in `ChatService` to accept `workspaceId` for file handling.
- Modified `agentMiddleware` to retrieve and pass the active workspace ID when sending messages.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Add workspace file search functionality and enhance workspace awareness in chat client

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Añadir herramientas de acceso de solo lectura para el espacio de trabajo

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix MCP server ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix MCP workspace path resolution

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Mejorar la gestión de workspace: se actualiza la lógica para usar el ID de sesión como respaldo y se agrega el campo workspace_id en InputTask.

* Fix MCP workspace_service Ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Add git-read and write tools to workspace service

- Implemented git-read helpers: git_status, git_diff, git_log, git_current_branch, git_list_branches, and search_content in backend workspace_service.
- Added corresponding MCP tools for git-read operations in mcp_server workspace_service.
- Introduced write helpers: write_file, create_file, update_file, and delete_file in backend workspace_service with automatic git commits.
- Enhanced documentation and error handling for new functionalities.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* test: add workspace service coverage

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* test: avoid workspace tool count magic number

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Changes before error encountered

Agent-Logs-Url: https://github.com/macae-labs/Multi-Agent-Custom-Automation-Engine-Solution-Accelerator/sessions/5c6bad5f-17e2-4041-be0d-ede3e8438df9

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add terminal execution capabilities for workspace agents

* fix: reformat mcp_server/services/workspace_service.py to pass ruff format check

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* refactor: replace custom API fetch logic with centralized apiClient usage in WorkspaceEditor

---------

Co-authored-by: Winston <wesparza888@icloud.com.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
* feat: implement workspace file management and enhance workspace selector functionality

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: apply ruff formatting to workspace_router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add support for repo URL, token, and local path in workspace creation

* feat: implement lazy loading workspace file explorer with directory structure

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Implement workspace service and integrate file materialization

- Added `workspace_service.py` to manage user workspaces, including creation, validation, and file handling.
- Introduced `_materialize_hosted_file_to_workspace` function in `orchestration_manager.py` to download hosted files into user workspaces.
- Updated `ChatMessageRequest` interface to include `workspace_id` for tracking workspace context in chat messages.
- Enhanced `sendMessageStream` method in `ChatService` to accept `workspaceId` for file handling.
- Modified `agentMiddleware` to retrieve and pass the active workspace ID when sending messages.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Add workspace file search functionality and enhance workspace awareness in chat client

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Añadir herramientas de acceso de solo lectura para el espacio de trabajo

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix MCP server ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix MCP workspace path resolution

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Mejorar la gestión de workspace: se actualiza la lógica para usar el ID de sesión como respaldo y se agrega el campo workspace_id en InputTask.

* Fix MCP workspace_service Ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Add git-read and write tools to workspace service

- Implemented git-read helpers: git_status, git_diff, git_log, git_current_branch, git_list_branches, and search_content in backend workspace_service.
- Added corresponding MCP tools for git-read operations in mcp_server workspace_service.
- Introduced write helpers: write_file, create_file, update_file, and delete_file in backend workspace_service with automatic git commits.
- Enhanced documentation and error handling for new functionalities.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* test: add workspace service coverage

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* test: avoid workspace tool count magic number

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Changes before error encountered

Agent-Logs-Url: https://github.com/macae-labs/Multi-Agent-Custom-Automation-Engine-Solution-Accelerator/sessions/5c6bad5f-17e2-4041-be0d-ede3e8438df9

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add terminal execution capabilities for workspace agents

* fix: reformat mcp_server/services/workspace_service.py to pass ruff format check

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* refactor: replace custom API fetch logic with centralized apiClient usage in WorkspaceEditor

---------

Co-authored-by: Winston <wesparza888@icloud.com.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
* feat: implement workspace file management and enhance workspace selector functionality

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: apply ruff formatting to workspace_router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add support for repo URL, token, and local path in workspace creation

* feat: implement lazy loading workspace file explorer with directory structure

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Implement workspace service and integrate file materialization

- Added `workspace_service.py` to manage user workspaces, including creation, validation, and file handling.
- Introduced `_materialize_hosted_file_to_workspace` function in `orchestration_manager.py` to download hosted files into user workspaces.
- Updated `ChatMessageRequest` interface to include `workspace_id` for tracking workspace context in chat messages.
- Enhanced `sendMessageStream` method in `ChatService` to accept `workspaceId` for file handling.
- Modified `agentMiddleware` to retrieve and pass the active workspace ID when sending messages.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Add workspace file search functionality and enhance workspace awareness in chat client

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Añadir herramientas de acceso de solo lectura para el espacio de trabajo

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix MCP server ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix MCP workspace path resolution

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Mejorar la gestión de workspace: se actualiza la lógica para usar el ID de sesión como respaldo y se agrega el campo workspace_id en InputTask.

* Fix MCP workspace_service Ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Add git-read and write tools to workspace service

- Implemented git-read helpers: git_status, git_diff, git_log, git_current_branch, git_list_branches, and search_content in backend workspace_service.
- Added corresponding MCP tools for git-read operations in mcp_server workspace_service.
- Introduced write helpers: write_file, create_file, update_file, and delete_file in backend workspace_service with automatic git commits.
- Enhanced documentation and error handling for new functionalities.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* test: add workspace service coverage

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* test: avoid workspace tool count magic number

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Changes before error encountered

Agent-Logs-Url: https://github.com/macae-labs/Multi-Agent-Custom-Automation-Engine-Solution-Accelerator/sessions/5c6bad5f-17e2-4041-be0d-ede3e8438df9

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add terminal execution capabilities for workspace agents

* fix: reformat mcp_server/services/workspace_service.py to pass ruff format check

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* refactor: replace custom API fetch logic with centralized apiClient usage in WorkspaceEditor

* refactor: streamline fetchWithAuth to improve token handling and request options

---------

Co-authored-by: Winston <wesparza888@icloud.com.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
* feat: implement workspace file management and enhance workspace selector functionality

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: apply ruff formatting to workspace_router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add support for repo URL, token, and local path in workspace creation

* feat: implement lazy loading workspace file explorer with directory structure

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Implement workspace service and integrate file materialization

- Added `workspace_service.py` to manage user workspaces, including creation, validation, and file handling.
- Introduced `_materialize_hosted_file_to_workspace` function in `orchestration_manager.py` to download hosted files into user workspaces.
- Updated `ChatMessageRequest` interface to include `workspace_id` for tracking workspace context in chat messages.
- Enhanced `sendMessageStream` method in `ChatService` to accept `workspaceId` for file handling.
- Modified `agentMiddleware` to retrieve and pass the active workspace ID when sending messages.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Add workspace file search functionality and enhance workspace awareness in chat client

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Añadir herramientas de acceso de solo lectura para el espacio de trabajo

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix MCP server ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix MCP workspace path resolution

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Mejorar la gestión de workspace: se actualiza la lógica para usar el ID de sesión como respaldo y se agrega el campo workspace_id en InputTask.

* Fix MCP workspace_service Ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Add git-read and write tools to workspace service

- Implemented git-read helpers: git_status, git_diff, git_log, git_current_branch, git_list_branches, and search_content in backend workspace_service.
- Added corresponding MCP tools for git-read operations in mcp_server workspace_service.
- Introduced write helpers: write_file, create_file, update_file, and delete_file in backend workspace_service with automatic git commits.
- Enhanced documentation and error handling for new functionalities.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* test: add workspace service coverage

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* test: avoid workspace tool count magic number

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Changes before error encountered

Agent-Logs-Url: https://github.com/macae-labs/Multi-Agent-Custom-Automation-Engine-Solution-Accelerator/sessions/5c6bad5f-17e2-4041-be0d-ede3e8438df9

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add terminal execution capabilities for workspace agents

* fix: reformat mcp_server/services/workspace_service.py to pass ruff format check

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* refactor: replace custom API fetch logic with centralized apiClient usage in WorkspaceEditor

* refactor: streamline fetchWithAuth to improve token handling and request options

* refactor: enhance token management and request options in apiClient

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Winston <wesparza888@icloud.com.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
* feat: implement workspace file management and enhance workspace selector functionality

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: apply ruff formatting to workspace_router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add support for repo URL, token, and local path in workspace creation

* feat: implement lazy loading workspace file explorer with directory structure

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Implement workspace service and integrate file materialization

- Added `workspace_service.py` to manage user workspaces, including creation, validation, and file handling.
- Introduced `_materialize_hosted_file_to_workspace` function in `orchestration_manager.py` to download hosted files into user workspaces.
- Updated `ChatMessageRequest` interface to include `workspace_id` for tracking workspace context in chat messages.
- Enhanced `sendMessageStream` method in `ChatService` to accept `workspaceId` for file handling.
- Modified `agentMiddleware` to retrieve and pass the active workspace ID when sending messages.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Add workspace file search functionality and enhance workspace awareness in chat client

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Añadir herramientas de acceso de solo lectura para el espacio de trabajo

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix MCP server ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix MCP workspace path resolution

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Mejorar la gestión de workspace: se actualiza la lógica para usar el ID de sesión como respaldo y se agrega el campo workspace_id en InputTask.

* Fix MCP workspace_service Ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Add git-read and write tools to workspace service

- Implemented git-read helpers: git_status, git_diff, git_log, git_current_branch, git_list_branches, and search_content in backend workspace_service.
- Added corresponding MCP tools for git-read operations in mcp_server workspace_service.
- Introduced write helpers: write_file, create_file, update_file, and delete_file in backend workspace_service with automatic git commits.
- Enhanced documentation and error handling for new functionalities.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* test: add workspace service coverage

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* test: avoid workspace tool count magic number

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Changes before error encountered

Agent-Logs-Url: https://github.com/macae-labs/Multi-Agent-Custom-Automation-Engine-Solution-Accelerator/sessions/5c6bad5f-17e2-4041-be0d-ede3e8438df9

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add terminal execution capabilities for workspace agents

* fix: reformat mcp_server/services/workspace_service.py to pass ruff format check

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* refactor: replace custom API fetch logic with centralized apiClient usage in WorkspaceEditor

* refactor: streamline fetchWithAuth to improve token handling and request options

* refactor: enhance token management and request options in apiClient

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: handle authentication errors in chat message stream endpoint

* fix: ruff format v4/api/router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Winston <wesparza888@icloud.com.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
* feat: implement workspace file management and enhance workspace selector functionality

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: apply ruff formatting to workspace_router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add support for repo URL, token, and local path in workspace creation

* feat: implement lazy loading workspace file explorer with directory structure

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Implement workspace service and integrate file materialization

- Added `workspace_service.py` to manage user workspaces, including creation, validation, and file handling.
- Introduced `_materialize_hosted_file_to_workspace` function in `orchestration_manager.py` to download hosted files into user workspaces.
- Updated `ChatMessageRequest` interface to include `workspace_id` for tracking workspace context in chat messages.
- Enhanced `sendMessageStream` method in `ChatService` to accept `workspaceId` for file handling.
- Modified `agentMiddleware` to retrieve and pass the active workspace ID when sending messages.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Add workspace file search functionality and enhance workspace awareness in chat client

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Añadir herramientas de acceso de solo lectura para el espacio de trabajo

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix MCP server ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix MCP workspace path resolution

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Mejorar la gestión de workspace: se actualiza la lógica para usar el ID de sesión como respaldo y se agrega el campo workspace_id en InputTask.

* Fix MCP workspace_service Ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Add git-read and write tools to workspace service

- Implemented git-read helpers: git_status, git_diff, git_log, git_current_branch, git_list_branches, and search_content in backend workspace_service.
- Added corresponding MCP tools for git-read operations in mcp_server workspace_service.
- Introduced write helpers: write_file, create_file, update_file, and delete_file in backend workspace_service with automatic git commits.
- Enhanced documentation and error handling for new functionalities.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* test: add workspace service coverage

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* test: avoid workspace tool count magic number

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Changes before error encountered

Agent-Logs-Url: https://github.com/macae-labs/Multi-Agent-Custom-Automation-Engine-Solution-Accelerator/sessions/5c6bad5f-17e2-4041-be0d-ede3e8438df9

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add terminal execution capabilities for workspace agents

* fix: reformat mcp_server/services/workspace_service.py to pass ruff format check

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* refactor: replace custom API fetch logic with centralized apiClient usage in WorkspaceEditor

* refactor: streamline fetchWithAuth to improve token handling and request options

* refactor: enhance token management and request options in apiClient

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: handle authentication errors in chat message stream endpoint

* fix: ruff format v4/api/router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: add audio streaming capabilities with Voice Live and Dictation modes

- Implemented WebSocket endpoint for audio streaming in `audio_router.py`.
- Added support for full duplex conversation (Voice Live) and speech-to-text (Dictation) modes.
- Created `MicButton` component to handle audio input for both modes in the frontend.
- Integrated `useVoiceLive` and `useDictation` hooks for managing audio capture and WebSocket communication.
- Updated existing components to include microphone buttons for initiating audio streams.
- Enhanced icon imports to include microphone icons for better UI representation.
- Configured Vite to use polling for file changes to improve development experience on WSL2.

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Format Voice Live audio router

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix Voice Live audio relay

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Harden Voice Live task cleanup

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix PlanChat dictation input typing

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Preserve PlanChat dictation input updates

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

---------

Co-authored-by: Winston <wesparza888@icloud.com.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
* feat: implement workspace file management and enhance workspace selector functionality

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: apply ruff formatting to workspace_router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add support for repo URL, token, and local path in workspace creation

* feat: implement lazy loading workspace file explorer with directory structure

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Implement workspace service and integrate file materialization

- Added `workspace_service.py` to manage user workspaces, including creation, validation, and file handling.
- Introduced `_materialize_hosted_file_to_workspace` function in `orchestration_manager.py` to download hosted files into user workspaces.
- Updated `ChatMessageRequest` interface to include `workspace_id` for tracking workspace context in chat messages.
- Enhanced `sendMessageStream` method in `ChatService` to accept `workspaceId` for file handling.
- Modified `agentMiddleware` to retrieve and pass the active workspace ID when sending messages.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Add workspace file search functionality and enhance workspace awareness in chat client

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Añadir herramientas de acceso de solo lectura para el espacio de trabajo

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix MCP server ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix MCP workspace path resolution

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Mejorar la gestión de workspace: se actualiza la lógica para usar el ID de sesión como respaldo y se agrega el campo workspace_id en InputTask.

* Fix MCP workspace_service Ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Add git-read and write tools to workspace service

- Implemented git-read helpers: git_status, git_diff, git_log, git_current_branch, git_list_branches, and search_content in backend workspace_service.
- Added corresponding MCP tools for git-read operations in mcp_server workspace_service.
- Introduced write helpers: write_file, create_file, update_file, and delete_file in backend workspace_service with automatic git commits.
- Enhanced documentation and error handling for new functionalities.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* test: add workspace service coverage

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* test: avoid workspace tool count magic number

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Changes before error encountered

Agent-Logs-Url: https://github.com/macae-labs/Multi-Agent-Custom-Automation-Engine-Solution-Accelerator/sessions/5c6bad5f-17e2-4041-be0d-ede3e8438df9

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add terminal execution capabilities for workspace agents

* fix: reformat mcp_server/services/workspace_service.py to pass ruff format check

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* refactor: replace custom API fetch logic with centralized apiClient usage in WorkspaceEditor

* refactor: streamline fetchWithAuth to improve token handling and request options

* refactor: enhance token management and request options in apiClient

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: handle authentication errors in chat message stream endpoint

* fix: ruff format v4/api/router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: add audio streaming capabilities with Voice Live and Dictation modes

- Implemented WebSocket endpoint for audio streaming in `audio_router.py`.
- Added support for full duplex conversation (Voice Live) and speech-to-text (Dictation) modes.
- Created `MicButton` component to handle audio input for both modes in the frontend.
- Integrated `useVoiceLive` and `useDictation` hooks for managing audio capture and WebSocket communication.
- Updated existing components to include microphone buttons for initiating audio streams.
- Enhanced icon imports to include microphone icons for better UI representation.
- Configured Vite to use polling for file changes to improve development experience on WSL2.

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Format Voice Live audio router

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix Voice Live audio relay

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Harden Voice Live task cleanup

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix PlanChat dictation input typing

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Preserve PlanChat dictation input updates

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix audio stream WebSocket handling for delta audio frames

* Fix ruff format issue in audio_router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

---------

Co-authored-by: Winston <wesparza888@icloud.com.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
* feat: implement workspace file management and enhance workspace selector functionality

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: apply ruff formatting to workspace_router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add support for repo URL, token, and local path in workspace creation

* feat: implement lazy loading workspace file explorer with directory structure

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Implement workspace service and integrate file materialization

- Added `workspace_service.py` to manage user workspaces, including creation, validation, and file handling.
- Introduced `_materialize_hosted_file_to_workspace` function in `orchestration_manager.py` to download hosted files into user workspaces.
- Updated `ChatMessageRequest` interface to include `workspace_id` for tracking workspace context in chat messages.
- Enhanced `sendMessageStream` method in `ChatService` to accept `workspaceId` for file handling.
- Modified `agentMiddleware` to retrieve and pass the active workspace ID when sending messages.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Add workspace file search functionality and enhance workspace awareness in chat client

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Añadir herramientas de acceso de solo lectura para el espacio de trabajo

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix MCP server ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix MCP workspace path resolution

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Mejorar la gestión de workspace: se actualiza la lógica para usar el ID de sesión como respaldo y se agrega el campo workspace_id en InputTask.

* Fix MCP workspace_service Ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Add git-read and write tools to workspace service

- Implemented git-read helpers: git_status, git_diff, git_log, git_current_branch, git_list_branches, and search_content in backend workspace_service.
- Added corresponding MCP tools for git-read operations in mcp_server workspace_service.
- Introduced write helpers: write_file, create_file, update_file, and delete_file in backend workspace_service with automatic git commits.
- Enhanced documentation and error handling for new functionalities.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* test: add workspace service coverage

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* test: avoid workspace tool count magic number

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Changes before error encountered

Agent-Logs-Url: https://github.com/macae-labs/Multi-Agent-Custom-Automation-Engine-Solution-Accelerator/sessions/5c6bad5f-17e2-4041-be0d-ede3e8438df9

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add terminal execution capabilities for workspace agents

* fix: reformat mcp_server/services/workspace_service.py to pass ruff format check

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* refactor: replace custom API fetch logic with centralized apiClient usage in WorkspaceEditor

* refactor: streamline fetchWithAuth to improve token handling and request options

* refactor: enhance token management and request options in apiClient

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: handle authentication errors in chat message stream endpoint

* fix: ruff format v4/api/router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: add audio streaming capabilities with Voice Live and Dictation modes

- Implemented WebSocket endpoint for audio streaming in `audio_router.py`.
- Added support for full duplex conversation (Voice Live) and speech-to-text (Dictation) modes.
- Created `MicButton` component to handle audio input for both modes in the frontend.
- Integrated `useVoiceLive` and `useDictation` hooks for managing audio capture and WebSocket communication.
- Updated existing components to include microphone buttons for initiating audio streams.
- Enhanced icon imports to include microphone icons for better UI representation.
- Configured Vite to use polling for file changes to improve development experience on WSL2.

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Format Voice Live audio router

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix Voice Live audio relay

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Harden Voice Live task cleanup

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix PlanChat dictation input typing

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Preserve PlanChat dictation input updates

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix audio stream WebSocket handling for delta audio frames

* Fix ruff format issue in audio_router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Implementar soporte para Voice Live: agregar verbalización de respuestas finales y transcripciones de usuario en el flujo de chat.

---------

Co-authored-by: Winston <wesparza888@icloud.com.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
Bumps [nltk](https://github.com/nltk/nltk) from 3.10.0 to 3.10.3.
- [Release notes](https://github.com/nltk/nltk/releases)
- [Changelog](https://github.com/nltk/nltk/blob/develop/ChangeLog)
- [Commits](nltk/nltk@v3.10.0...v3.10.3)

---
updated-dependencies:
- dependency-name: nltk
  dependency-version: 3.10.3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.28.1 to 4.28.8.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](browserslist/browserslist@4.28.1...4.28.8)

---
updated-dependencies:
- dependency-name: browserslist
  dependency-version: 4.28.8
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Initial plan

* Add Voice Live gateway tests

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Support WIP pull request titles

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Potential fix for pull request finding 'Explicit returns mixed with implicit (fall through) returns'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Fix test collection error by pre-importing azure.ai.voicelive and audio_router in conftest

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>
Co-authored-by: Wisnton Esparza <yellowstone413g@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
* feat: implement workspace file management and enhance workspace selector functionality

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: apply ruff formatting to workspace_router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add support for repo URL, token, and local path in workspace creation

* feat: implement lazy loading workspace file explorer with directory structure

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Implement workspace service and integrate file materialization

- Added `workspace_service.py` to manage user workspaces, including creation, validation, and file handling.
- Introduced `_materialize_hosted_file_to_workspace` function in `orchestration_manager.py` to download hosted files into user workspaces.
- Updated `ChatMessageRequest` interface to include `workspace_id` for tracking workspace context in chat messages.
- Enhanced `sendMessageStream` method in `ChatService` to accept `workspaceId` for file handling.
- Modified `agentMiddleware` to retrieve and pass the active workspace ID when sending messages.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Add workspace file search functionality and enhance workspace awareness in chat client

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Añadir herramientas de acceso de solo lectura para el espacio de trabajo

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix MCP server ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix MCP workspace path resolution

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Mejorar la gestión de workspace: se actualiza la lógica para usar el ID de sesión como respaldo y se agrega el campo workspace_id en InputTask.

* Fix MCP workspace_service Ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Add git-read and write tools to workspace service

- Implemented git-read helpers: git_status, git_diff, git_log, git_current_branch, git_list_branches, and search_content in backend workspace_service.
- Added corresponding MCP tools for git-read operations in mcp_server workspace_service.
- Introduced write helpers: write_file, create_file, update_file, and delete_file in backend workspace_service with automatic git commits.
- Enhanced documentation and error handling for new functionalities.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* test: add workspace service coverage

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* test: avoid workspace tool count magic number

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Changes before error encountered

Agent-Logs-Url: https://github.com/macae-labs/Multi-Agent-Custom-Automation-Engine-Solution-Accelerator/sessions/5c6bad5f-17e2-4041-be0d-ede3e8438df9

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add terminal execution capabilities for workspace agents

* fix: reformat mcp_server/services/workspace_service.py to pass ruff format check

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* refactor: replace custom API fetch logic with centralized apiClient usage in WorkspaceEditor

* refactor: streamline fetchWithAuth to improve token handling and request options

* refactor: enhance token management and request options in apiClient

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: handle authentication errors in chat message stream endpoint

* fix: ruff format v4/api/router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: add audio streaming capabilities with Voice Live and Dictation modes

- Implemented WebSocket endpoint for audio streaming in `audio_router.py`.
- Added support for full duplex conversation (Voice Live) and speech-to-text (Dictation) modes.
- Created `MicButton` component to handle audio input for both modes in the frontend.
- Integrated `useVoiceLive` and `useDictation` hooks for managing audio capture and WebSocket communication.
- Updated existing components to include microphone buttons for initiating audio streams.
- Enhanced icon imports to include microphone icons for better UI representation.
- Configured Vite to use polling for file changes to improve development experience on WSL2.

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Format Voice Live audio router

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix Voice Live audio relay

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Harden Voice Live task cleanup

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix PlanChat dictation input typing

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Preserve PlanChat dictation input updates

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix audio stream WebSocket handling for delta audio frames

* Fix ruff format issue in audio_router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Implementar soporte para Voice Live: agregar verbalización de respuestas finales y transcripciones de usuario en el flujo de chat.

* Mejorar manejo de turnos de voz: implementar lógica para abrir y cerrar turnos en la función voiceLiveSpeak y ajustar el flujo de STT del usuario.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Winston <wesparza888@icloud.com.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
…154)

* feat: implement workspace file management and enhance workspace selector functionality

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: apply ruff formatting to workspace_router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add support for repo URL, token, and local path in workspace creation

* feat: implement lazy loading workspace file explorer with directory structure

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Implement workspace service and integrate file materialization

- Added `workspace_service.py` to manage user workspaces, including creation, validation, and file handling.
- Introduced `_materialize_hosted_file_to_workspace` function in `orchestration_manager.py` to download hosted files into user workspaces.
- Updated `ChatMessageRequest` interface to include `workspace_id` for tracking workspace context in chat messages.
- Enhanced `sendMessageStream` method in `ChatService` to accept `workspaceId` for file handling.
- Modified `agentMiddleware` to retrieve and pass the active workspace ID when sending messages.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Add workspace file search functionality and enhance workspace awareness in chat client

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Añadir herramientas de acceso de solo lectura para el espacio de trabajo

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix MCP server ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix MCP workspace path resolution

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Mejorar la gestión de workspace: se actualiza la lógica para usar el ID de sesión como respaldo y se agrega el campo workspace_id en InputTask.

* Fix MCP workspace_service Ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Add git-read and write tools to workspace service

- Implemented git-read helpers: git_status, git_diff, git_log, git_current_branch, git_list_branches, and search_content in backend workspace_service.
- Added corresponding MCP tools for git-read operations in mcp_server workspace_service.
- Introduced write helpers: write_file, create_file, update_file, and delete_file in backend workspace_service with automatic git commits.
- Enhanced documentation and error handling for new functionalities.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* test: add workspace service coverage

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* test: avoid workspace tool count magic number

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Changes before error encountered

Agent-Logs-Url: https://github.com/macae-labs/Multi-Agent-Custom-Automation-Engine-Solution-Accelerator/sessions/5c6bad5f-17e2-4041-be0d-ede3e8438df9

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add terminal execution capabilities for workspace agents

* fix: reformat mcp_server/services/workspace_service.py to pass ruff format check

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* refactor: replace custom API fetch logic with centralized apiClient usage in WorkspaceEditor

* refactor: streamline fetchWithAuth to improve token handling and request options

* refactor: enhance token management and request options in apiClient

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: handle authentication errors in chat message stream endpoint

* fix: ruff format v4/api/router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: add audio streaming capabilities with Voice Live and Dictation modes

- Implemented WebSocket endpoint for audio streaming in `audio_router.py`.
- Added support for full duplex conversation (Voice Live) and speech-to-text (Dictation) modes.
- Created `MicButton` component to handle audio input for both modes in the frontend.
- Integrated `useVoiceLive` and `useDictation` hooks for managing audio capture and WebSocket communication.
- Updated existing components to include microphone buttons for initiating audio streams.
- Enhanced icon imports to include microphone icons for better UI representation.
- Configured Vite to use polling for file changes to improve development experience on WSL2.

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Format Voice Live audio router

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix Voice Live audio relay

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Harden Voice Live task cleanup

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix PlanChat dictation input typing

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Preserve PlanChat dictation input updates

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix audio stream WebSocket handling for delta audio frames

* Fix ruff format issue in audio_router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Implementar soporte para Voice Live: agregar verbalización de respuestas finales y transcripciones de usuario en el flujo de chat.

* Mejorar manejo de turnos de voz: implementar lógica para abrir y cerrar turnos en la función voiceLiveSpeak y ajustar el flujo de STT del usuario.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Guard stale VoiceLive socket events

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

---------

Co-authored-by: Winston <wesparza888@icloud.com.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
…ecution (#155)

* feat: implement workspace file management and enhance workspace selector functionality

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: apply ruff formatting to workspace_router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add support for repo URL, token, and local path in workspace creation

* feat: implement lazy loading workspace file explorer with directory structure

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Implement workspace service and integrate file materialization

- Added `workspace_service.py` to manage user workspaces, including creation, validation, and file handling.
- Introduced `_materialize_hosted_file_to_workspace` function in `orchestration_manager.py` to download hosted files into user workspaces.
- Updated `ChatMessageRequest` interface to include `workspace_id` for tracking workspace context in chat messages.
- Enhanced `sendMessageStream` method in `ChatService` to accept `workspaceId` for file handling.
- Modified `agentMiddleware` to retrieve and pass the active workspace ID when sending messages.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Add workspace file search functionality and enhance workspace awareness in chat client

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Añadir herramientas de acceso de solo lectura para el espacio de trabajo

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix MCP server ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix MCP workspace path resolution

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Mejorar la gestión de workspace: se actualiza la lógica para usar el ID de sesión como respaldo y se agrega el campo workspace_id en InputTask.

* Fix MCP workspace_service Ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Add git-read and write tools to workspace service

- Implemented git-read helpers: git_status, git_diff, git_log, git_current_branch, git_list_branches, and search_content in backend workspace_service.
- Added corresponding MCP tools for git-read operations in mcp_server workspace_service.
- Introduced write helpers: write_file, create_file, update_file, and delete_file in backend workspace_service with automatic git commits.
- Enhanced documentation and error handling for new functionalities.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* test: add workspace service coverage

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* test: avoid workspace tool count magic number

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Changes before error encountered

Agent-Logs-Url: https://github.com/macae-labs/Multi-Agent-Custom-Automation-Engine-Solution-Accelerator/sessions/5c6bad5f-17e2-4041-be0d-ede3e8438df9

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add terminal execution capabilities for workspace agents

* fix: reformat mcp_server/services/workspace_service.py to pass ruff format check

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* refactor: replace custom API fetch logic with centralized apiClient usage in WorkspaceEditor

* refactor: streamline fetchWithAuth to improve token handling and request options

* refactor: enhance token management and request options in apiClient

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: handle authentication errors in chat message stream endpoint

* fix: ruff format v4/api/router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: add audio streaming capabilities with Voice Live and Dictation modes

- Implemented WebSocket endpoint for audio streaming in `audio_router.py`.
- Added support for full duplex conversation (Voice Live) and speech-to-text (Dictation) modes.
- Created `MicButton` component to handle audio input for both modes in the frontend.
- Integrated `useVoiceLive` and `useDictation` hooks for managing audio capture and WebSocket communication.
- Updated existing components to include microphone buttons for initiating audio streams.
- Enhanced icon imports to include microphone icons for better UI representation.
- Configured Vite to use polling for file changes to improve development experience on WSL2.

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Format Voice Live audio router

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix Voice Live audio relay

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Harden Voice Live task cleanup

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix PlanChat dictation input typing

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Preserve PlanChat dictation input updates

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix audio stream WebSocket handling for delta audio frames

* Fix ruff format issue in audio_router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Implementar soporte para Voice Live: agregar verbalización de respuestas finales y transcripciones de usuario en el flujo de chat.

* Mejorar manejo de turnos de voz: implementar lógica para abrir y cerrar turnos en la función voiceLiveSpeak y ajustar el flujo de STT del usuario.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Guard stale VoiceLive socket events

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: implement voice interaction improvements with explicit turn management

- Introduced a single in-flight stream for voice interactions, ensuring that any new input or barge-in cancels the previous stream.
- Added voice acknowledgment and narration features to provide immediate feedback during tool activity.
- Enhanced the voice turn management system to track the state of voice interactions, including opening, acknowledging, and canceling turns.
- Updated the HomeInput and PlanPage components to utilize the new voice management features, ensuring a smoother user experience.
- Modified the ChatService to support abort signals for chat message streams, allowing for better control over ongoing interactions.

---------

Co-authored-by: Winston <wesparza888@icloud.com.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
…atures (#156)

* feat: implement workspace file management and enhance workspace selector functionality

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: apply ruff formatting to workspace_router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add support for repo URL, token, and local path in workspace creation

* feat: implement lazy loading workspace file explorer with directory structure

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Implement workspace service and integrate file materialization

- Added `workspace_service.py` to manage user workspaces, including creation, validation, and file handling.
- Introduced `_materialize_hosted_file_to_workspace` function in `orchestration_manager.py` to download hosted files into user workspaces.
- Updated `ChatMessageRequest` interface to include `workspace_id` for tracking workspace context in chat messages.
- Enhanced `sendMessageStream` method in `ChatService` to accept `workspaceId` for file handling.
- Modified `agentMiddleware` to retrieve and pass the active workspace ID when sending messages.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Add workspace file search functionality and enhance workspace awareness in chat client

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Añadir herramientas de acceso de solo lectura para el espacio de trabajo

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix MCP server ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix MCP workspace path resolution

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Mejorar la gestión de workspace: se actualiza la lógica para usar el ID de sesión como respaldo y se agrega el campo workspace_id en InputTask.

* Fix MCP workspace_service Ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Add git-read and write tools to workspace service

- Implemented git-read helpers: git_status, git_diff, git_log, git_current_branch, git_list_branches, and search_content in backend workspace_service.
- Added corresponding MCP tools for git-read operations in mcp_server workspace_service.
- Introduced write helpers: write_file, create_file, update_file, and delete_file in backend workspace_service with automatic git commits.
- Enhanced documentation and error handling for new functionalities.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* test: add workspace service coverage

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* test: avoid workspace tool count magic number

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Changes before error encountered

Agent-Logs-Url: https://github.com/macae-labs/Multi-Agent-Custom-Automation-Engine-Solution-Accelerator/sessions/5c6bad5f-17e2-4041-be0d-ede3e8438df9

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add terminal execution capabilities for workspace agents

* fix: reformat mcp_server/services/workspace_service.py to pass ruff format check

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* refactor: replace custom API fetch logic with centralized apiClient usage in WorkspaceEditor

* refactor: streamline fetchWithAuth to improve token handling and request options

* refactor: enhance token management and request options in apiClient

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: handle authentication errors in chat message stream endpoint

* fix: ruff format v4/api/router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: add audio streaming capabilities with Voice Live and Dictation modes

- Implemented WebSocket endpoint for audio streaming in `audio_router.py`.
- Added support for full duplex conversation (Voice Live) and speech-to-text (Dictation) modes.
- Created `MicButton` component to handle audio input for both modes in the frontend.
- Integrated `useVoiceLive` and `useDictation` hooks for managing audio capture and WebSocket communication.
- Updated existing components to include microphone buttons for initiating audio streams.
- Enhanced icon imports to include microphone icons for better UI representation.
- Configured Vite to use polling for file changes to improve development experience on WSL2.

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Format Voice Live audio router

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix Voice Live audio relay

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Harden Voice Live task cleanup

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix PlanChat dictation input typing

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Preserve PlanChat dictation input updates

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix audio stream WebSocket handling for delta audio frames

* Fix ruff format issue in audio_router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Implementar soporte para Voice Live: agregar verbalización de respuestas finales y transcripciones de usuario en el flujo de chat.

* Mejorar manejo de turnos de voz: implementar lógica para abrir y cerrar turnos en la función voiceLiveSpeak y ajustar el flujo de STT del usuario.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Guard stale VoiceLive socket events

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: implement voice interaction improvements with explicit turn management

- Introduced a single in-flight stream for voice interactions, ensuring that any new input or barge-in cancels the previous stream.
- Added voice acknowledgment and narration features to provide immediate feedback during tool activity.
- Enhanced the voice turn management system to track the state of voice interactions, including opening, acknowledging, and canceling turns.
- Updated the HomeInput and PlanPage components to utilize the new voice management features, ensuring a smoother user experience.
- Modified the ChatService to support abort signals for chat message streams, allowing for better control over ongoing interactions.

* feat: aumentar el límite de caracteres en el registro de turnos y agregar pruebas para la recuperación del contexto de sesión

* Clarify comment on execution persistence format

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix CI: isolate test_context_recovery_probe.py in its own pytest session

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

---------

Co-authored-by: Winston <wesparza888@icloud.com.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
Bumps [fflate](https://github.com/101arrowz/fflate) from 0.8.2 to 0.8.3.
- [Release notes](https://github.com/101arrowz/fflate/releases)
- [Changelog](https://github.com/101arrowz/fflate/blob/master/CHANGELOG.md)
- [Commits](101arrowz/fflate@v0.8.2...v0.8.3)

---
updated-dependencies:
- dependency-name: fflate
  dependency-version: 0.8.3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Initial plan

* fix(ci): grant status permission to PR title check

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>
* feat: implement workspace file management and enhance workspace selector functionality

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: apply ruff formatting to workspace_router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add support for repo URL, token, and local path in workspace creation

* feat: implement lazy loading workspace file explorer with directory structure

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Implement workspace service and integrate file materialization

- Added `workspace_service.py` to manage user workspaces, including creation, validation, and file handling.
- Introduced `_materialize_hosted_file_to_workspace` function in `orchestration_manager.py` to download hosted files into user workspaces.
- Updated `ChatMessageRequest` interface to include `workspace_id` for tracking workspace context in chat messages.
- Enhanced `sendMessageStream` method in `ChatService` to accept `workspaceId` for file handling.
- Modified `agentMiddleware` to retrieve and pass the active workspace ID when sending messages.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Add workspace file search functionality and enhance workspace awareness in chat client

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Añadir herramientas de acceso de solo lectura para el espacio de trabajo

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix MCP server ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix MCP workspace path resolution

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Mejorar la gestión de workspace: se actualiza la lógica para usar el ID de sesión como respaldo y se agrega el campo workspace_id en InputTask.

* Fix MCP workspace_service Ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Add git-read and write tools to workspace service

- Implemented git-read helpers: git_status, git_diff, git_log, git_current_branch, git_list_branches, and search_content in backend workspace_service.
- Added corresponding MCP tools for git-read operations in mcp_server workspace_service.
- Introduced write helpers: write_file, create_file, update_file, and delete_file in backend workspace_service with automatic git commits.
- Enhanced documentation and error handling for new functionalities.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* test: add workspace service coverage

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* test: avoid workspace tool count magic number

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Changes before error encountered

Agent-Logs-Url: https://github.com/macae-labs/Multi-Agent-Custom-Automation-Engine-Solution-Accelerator/sessions/5c6bad5f-17e2-4041-be0d-ede3e8438df9

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add terminal execution capabilities for workspace agents

* fix: reformat mcp_server/services/workspace_service.py to pass ruff format check

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* refactor: replace custom API fetch logic with centralized apiClient usage in WorkspaceEditor

* refactor: streamline fetchWithAuth to improve token handling and request options

* refactor: enhance token management and request options in apiClient

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: handle authentication errors in chat message stream endpoint

* fix: ruff format v4/api/router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: add audio streaming capabilities with Voice Live and Dictation modes

- Implemented WebSocket endpoint for audio streaming in `audio_router.py`.
- Added support for full duplex conversation (Voice Live) and speech-to-text (Dictation) modes.
- Created `MicButton` component to handle audio input for both modes in the frontend.
- Integrated `useVoiceLive` and `useDictation` hooks for managing audio capture and WebSocket communication.
- Updated existing components to include microphone buttons for initiating audio streams.
- Enhanced icon imports to include microphone icons for better UI representation.
- Configured Vite to use polling for file changes to improve development experience on WSL2.

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Format Voice Live audio router

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix Voice Live audio relay

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Harden Voice Live task cleanup

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix PlanChat dictation input typing

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Preserve PlanChat dictation input updates

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix audio stream WebSocket handling for delta audio frames

* Fix ruff format issue in audio_router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Implementar soporte para Voice Live: agregar verbalización de respuestas finales y transcripciones de usuario en el flujo de chat.

* Mejorar manejo de turnos de voz: implementar lógica para abrir y cerrar turnos en la función voiceLiveSpeak y ajustar el flujo de STT del usuario.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Guard stale VoiceLive socket events

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: implement voice interaction improvements with explicit turn management

- Introduced a single in-flight stream for voice interactions, ensuring that any new input or barge-in cancels the previous stream.
- Added voice acknowledgment and narration features to provide immediate feedback during tool activity.
- Enhanced the voice turn management system to track the state of voice interactions, including opening, acknowledging, and canceling turns.
- Updated the HomeInput and PlanPage components to utilize the new voice management features, ensuring a smoother user experience.
- Modified the ChatService to support abort signals for chat message streams, allowing for better control over ongoing interactions.

* feat: aumentar el límite de caracteres en el registro de turnos y agregar pruebas para la recuperación del contexto de sesión

* Clarify comment on execution persistence format

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix CI: isolate test_context_recovery_probe.py in its own pytest session

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

---------

Co-authored-by: Winston <wesparza888@icloud.com.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
)

* feat: implement workspace file management and enhance workspace selector functionality

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: apply ruff formatting to workspace_router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add support for repo URL, token, and local path in workspace creation

* feat: implement lazy loading workspace file explorer with directory structure

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Implement workspace service and integrate file materialization

- Added `workspace_service.py` to manage user workspaces, including creation, validation, and file handling.
- Introduced `_materialize_hosted_file_to_workspace` function in `orchestration_manager.py` to download hosted files into user workspaces.
- Updated `ChatMessageRequest` interface to include `workspace_id` for tracking workspace context in chat messages.
- Enhanced `sendMessageStream` method in `ChatService` to accept `workspaceId` for file handling.
- Modified `agentMiddleware` to retrieve and pass the active workspace ID when sending messages.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Add workspace file search functionality and enhance workspace awareness in chat client

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Añadir herramientas de acceso de solo lectura para el espacio de trabajo

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix MCP server ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix MCP workspace path resolution

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Mejorar la gestión de workspace: se actualiza la lógica para usar el ID de sesión como respaldo y se agrega el campo workspace_id en InputTask.

* Fix MCP workspace_service Ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Add git-read and write tools to workspace service

- Implemented git-read helpers: git_status, git_diff, git_log, git_current_branch, git_list_branches, and search_content in backend workspace_service.
- Added corresponding MCP tools for git-read operations in mcp_server workspace_service.
- Introduced write helpers: write_file, create_file, update_file, and delete_file in backend workspace_service with automatic git commits.
- Enhanced documentation and error handling for new functionalities.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* test: add workspace service coverage

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* test: avoid workspace tool count magic number

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Changes before error encountered

Agent-Logs-Url: https://github.com/macae-labs/Multi-Agent-Custom-Automation-Engine-Solution-Accelerator/sessions/5c6bad5f-17e2-4041-be0d-ede3e8438df9

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add terminal execution capabilities for workspace agents

* fix: reformat mcp_server/services/workspace_service.py to pass ruff format check

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* refactor: replace custom API fetch logic with centralized apiClient usage in WorkspaceEditor

* refactor: streamline fetchWithAuth to improve token handling and request options

* refactor: enhance token management and request options in apiClient

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: handle authentication errors in chat message stream endpoint

* fix: ruff format v4/api/router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: add audio streaming capabilities with Voice Live and Dictation modes

- Implemented WebSocket endpoint for audio streaming in `audio_router.py`.
- Added support for full duplex conversation (Voice Live) and speech-to-text (Dictation) modes.
- Created `MicButton` component to handle audio input for both modes in the frontend.
- Integrated `useVoiceLive` and `useDictation` hooks for managing audio capture and WebSocket communication.
- Updated existing components to include microphone buttons for initiating audio streams.
- Enhanced icon imports to include microphone icons for better UI representation.
- Configured Vite to use polling for file changes to improve development experience on WSL2.

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Format Voice Live audio router

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix Voice Live audio relay

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Harden Voice Live task cleanup

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix PlanChat dictation input typing

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Preserve PlanChat dictation input updates

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix audio stream WebSocket handling for delta audio frames

* Fix ruff format issue in audio_router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Implementar soporte para Voice Live: agregar verbalización de respuestas finales y transcripciones de usuario en el flujo de chat.

* Mejorar manejo de turnos de voz: implementar lógica para abrir y cerrar turnos en la función voiceLiveSpeak y ajustar el flujo de STT del usuario.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Guard stale VoiceLive socket events

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: implement voice interaction improvements with explicit turn management

- Introduced a single in-flight stream for voice interactions, ensuring that any new input or barge-in cancels the previous stream.
- Added voice acknowledgment and narration features to provide immediate feedback during tool activity.
- Enhanced the voice turn management system to track the state of voice interactions, including opening, acknowledging, and canceling turns.
- Updated the HomeInput and PlanPage components to utilize the new voice management features, ensuring a smoother user experience.
- Modified the ChatService to support abort signals for chat message streams, allowing for better control over ongoing interactions.

* feat: aumentar el límite de caracteres en el registro de turnos y agregar pruebas para la recuperación del contexto de sesión

* Clarify comment on execution persistence format

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix CI: isolate test_context_recovery_probe.py in its own pytest session

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: mejorar la gestión de audio en useDictation y useVoiceLive con configuración de sesión y remuestreo

---------

Co-authored-by: Winston <wesparza888@icloud.com.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
#162)

* feat: implement workspace file management and enhance workspace selector functionality

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: apply ruff formatting to workspace_router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add support for repo URL, token, and local path in workspace creation

* feat: implement lazy loading workspace file explorer with directory structure

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Implement workspace service and integrate file materialization

- Added `workspace_service.py` to manage user workspaces, including creation, validation, and file handling.
- Introduced `_materialize_hosted_file_to_workspace` function in `orchestration_manager.py` to download hosted files into user workspaces.
- Updated `ChatMessageRequest` interface to include `workspace_id` for tracking workspace context in chat messages.
- Enhanced `sendMessageStream` method in `ChatService` to accept `workspaceId` for file handling.
- Modified `agentMiddleware` to retrieve and pass the active workspace ID when sending messages.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Add workspace file search functionality and enhance workspace awareness in chat client

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Añadir herramientas de acceso de solo lectura para el espacio de trabajo

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix MCP server ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix MCP workspace path resolution

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Mejorar la gestión de workspace: se actualiza la lógica para usar el ID de sesión como respaldo y se agrega el campo workspace_id en InputTask.

* Fix MCP workspace_service Ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Add git-read and write tools to workspace service

- Implemented git-read helpers: git_status, git_diff, git_log, git_current_branch, git_list_branches, and search_content in backend workspace_service.
- Added corresponding MCP tools for git-read operations in mcp_server workspace_service.
- Introduced write helpers: write_file, create_file, update_file, and delete_file in backend workspace_service with automatic git commits.
- Enhanced documentation and error handling for new functionalities.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* test: add workspace service coverage

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* test: avoid workspace tool count magic number

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Changes before error encountered

Agent-Logs-Url: https://github.com/macae-labs/Multi-Agent-Custom-Automation-Engine-Solution-Accelerator/sessions/5c6bad5f-17e2-4041-be0d-ede3e8438df9

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add terminal execution capabilities for workspace agents

* fix: reformat mcp_server/services/workspace_service.py to pass ruff format check

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* refactor: replace custom API fetch logic with centralized apiClient usage in WorkspaceEditor

* refactor: streamline fetchWithAuth to improve token handling and request options

* refactor: enhance token management and request options in apiClient

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: handle authentication errors in chat message stream endpoint

* fix: ruff format v4/api/router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: add audio streaming capabilities with Voice Live and Dictation modes

- Implemented WebSocket endpoint for audio streaming in `audio_router.py`.
- Added support for full duplex conversation (Voice Live) and speech-to-text (Dictation) modes.
- Created `MicButton` component to handle audio input for both modes in the frontend.
- Integrated `useVoiceLive` and `useDictation` hooks for managing audio capture and WebSocket communication.
- Updated existing components to include microphone buttons for initiating audio streams.
- Enhanced icon imports to include microphone icons for better UI representation.
- Configured Vite to use polling for file changes to improve development experience on WSL2.

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Format Voice Live audio router

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix Voice Live audio relay

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Harden Voice Live task cleanup

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix PlanChat dictation input typing

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Preserve PlanChat dictation input updates

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix audio stream WebSocket handling for delta audio frames

* Fix ruff format issue in audio_router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Implementar soporte para Voice Live: agregar verbalización de respuestas finales y transcripciones de usuario en el flujo de chat.

* Mejorar manejo de turnos de voz: implementar lógica para abrir y cerrar turnos en la función voiceLiveSpeak y ajustar el flujo de STT del usuario.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Guard stale VoiceLive socket events

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: implement voice interaction improvements with explicit turn management

- Introduced a single in-flight stream for voice interactions, ensuring that any new input or barge-in cancels the previous stream.
- Added voice acknowledgment and narration features to provide immediate feedback during tool activity.
- Enhanced the voice turn management system to track the state of voice interactions, including opening, acknowledging, and canceling turns.
- Updated the HomeInput and PlanPage components to utilize the new voice management features, ensuring a smoother user experience.
- Modified the ChatService to support abort signals for chat message streams, allowing for better control over ongoing interactions.

* feat: aumentar el límite de caracteres en el registro de turnos y agregar pruebas para la recuperación del contexto de sesión

* Clarify comment on execution persistence format

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix CI: isolate test_context_recovery_probe.py in its own pytest session

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: mejorar la gestión de audio en useDictation y useVoiceLive con configuración de sesión y remuestreo

* feat: mejorar la gestión de audio en useDictation con control de estado y manejo de AudioContext

* Optimize PCM output handling in useVoiceLive hook

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Winston <wesparza888@icloud.com.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
…iceLive y audio_router (#163)

* feat: implement workspace file management and enhance workspace selector functionality

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: apply ruff formatting to workspace_router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add support for repo URL, token, and local path in workspace creation

* feat: implement lazy loading workspace file explorer with directory structure

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Implement workspace service and integrate file materialization

- Added `workspace_service.py` to manage user workspaces, including creation, validation, and file handling.
- Introduced `_materialize_hosted_file_to_workspace` function in `orchestration_manager.py` to download hosted files into user workspaces.
- Updated `ChatMessageRequest` interface to include `workspace_id` for tracking workspace context in chat messages.
- Enhanced `sendMessageStream` method in `ChatService` to accept `workspaceId` for file handling.
- Modified `agentMiddleware` to retrieve and pass the active workspace ID when sending messages.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Add workspace file search functionality and enhance workspace awareness in chat client

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Añadir herramientas de acceso de solo lectura para el espacio de trabajo

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix MCP server ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix MCP workspace path resolution

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Mejorar la gestión de workspace: se actualiza la lógica para usar el ID de sesión como respaldo y se agrega el campo workspace_id en InputTask.

* Fix MCP workspace_service Ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Add git-read and write tools to workspace service

- Implemented git-read helpers: git_status, git_diff, git_log, git_current_branch, git_list_branches, and search_content in backend workspace_service.
- Added corresponding MCP tools for git-read operations in mcp_server workspace_service.
- Introduced write helpers: write_file, create_file, update_file, and delete_file in backend workspace_service with automatic git commits.
- Enhanced documentation and error handling for new functionalities.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* test: add workspace service coverage

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* test: avoid workspace tool count magic number

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Changes before error encountered

Agent-Logs-Url: https://github.com/macae-labs/Multi-Agent-Custom-Automation-Engine-Solution-Accelerator/sessions/5c6bad5f-17e2-4041-be0d-ede3e8438df9

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add terminal execution capabilities for workspace agents

* fix: reformat mcp_server/services/workspace_service.py to pass ruff format check

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* refactor: replace custom API fetch logic with centralized apiClient usage in WorkspaceEditor

* refactor: streamline fetchWithAuth to improve token handling and request options

* refactor: enhance token management and request options in apiClient

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: handle authentication errors in chat message stream endpoint

* fix: ruff format v4/api/router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: add audio streaming capabilities with Voice Live and Dictation modes

- Implemented WebSocket endpoint for audio streaming in `audio_router.py`.
- Added support for full duplex conversation (Voice Live) and speech-to-text (Dictation) modes.
- Created `MicButton` component to handle audio input for both modes in the frontend.
- Integrated `useVoiceLive` and `useDictation` hooks for managing audio capture and WebSocket communication.
- Updated existing components to include microphone buttons for initiating audio streams.
- Enhanced icon imports to include microphone icons for better UI representation.
- Configured Vite to use polling for file changes to improve development experience on WSL2.

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Format Voice Live audio router

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix Voice Live audio relay

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Harden Voice Live task cleanup

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix PlanChat dictation input typing

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Preserve PlanChat dictation input updates

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix audio stream WebSocket handling for delta audio frames

* Fix ruff format issue in audio_router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Implementar soporte para Voice Live: agregar verbalización de respuestas finales y transcripciones de usuario en el flujo de chat.

* Mejorar manejo de turnos de voz: implementar lógica para abrir y cerrar turnos en la función voiceLiveSpeak y ajustar el flujo de STT del usuario.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Guard stale VoiceLive socket events

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: implement voice interaction improvements with explicit turn management

- Introduced a single in-flight stream for voice interactions, ensuring that any new input or barge-in cancels the previous stream.
- Added voice acknowledgment and narration features to provide immediate feedback during tool activity.
- Enhanced the voice turn management system to track the state of voice interactions, including opening, acknowledging, and canceling turns.
- Updated the HomeInput and PlanPage components to utilize the new voice management features, ensuring a smoother user experience.
- Modified the ChatService to support abort signals for chat message streams, allowing for better control over ongoing interactions.

* feat: aumentar el límite de caracteres en el registro de turnos y agregar pruebas para la recuperación del contexto de sesión

* Clarify comment on execution persistence format

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix CI: isolate test_context_recovery_probe.py in its own pytest session

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: mejorar la gestión de audio en useDictation y useVoiceLive con configuración de sesión y remuestreo

* feat: mejorar la gestión de audio en useDictation con control de estado y manejo de AudioContext

* Optimize PCM output handling in useVoiceLive hook

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: agregar diagnóstico de audio y manejo de desconexiones en useVoiceLive y audio_router

---------

Co-authored-by: Winston <wesparza888@icloud.com.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
…useVoiceLive (#164)

* feat: implement workspace file management and enhance workspace selector functionality

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: apply ruff formatting to workspace_router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add support for repo URL, token, and local path in workspace creation

* feat: implement lazy loading workspace file explorer with directory structure

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Implement workspace service and integrate file materialization

- Added `workspace_service.py` to manage user workspaces, including creation, validation, and file handling.
- Introduced `_materialize_hosted_file_to_workspace` function in `orchestration_manager.py` to download hosted files into user workspaces.
- Updated `ChatMessageRequest` interface to include `workspace_id` for tracking workspace context in chat messages.
- Enhanced `sendMessageStream` method in `ChatService` to accept `workspaceId` for file handling.
- Modified `agentMiddleware` to retrieve and pass the active workspace ID when sending messages.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Add workspace file search functionality and enhance workspace awareness in chat client

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Añadir herramientas de acceso de solo lectura para el espacio de trabajo

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix MCP server ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix MCP workspace path resolution

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Mejorar la gestión de workspace: se actualiza la lógica para usar el ID de sesión como respaldo y se agrega el campo workspace_id en InputTask.

* Fix MCP workspace_service Ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Add git-read and write tools to workspace service

- Implemented git-read helpers: git_status, git_diff, git_log, git_current_branch, git_list_branches, and search_content in backend workspace_service.
- Added corresponding MCP tools for git-read operations in mcp_server workspace_service.
- Introduced write helpers: write_file, create_file, update_file, and delete_file in backend workspace_service with automatic git commits.
- Enhanced documentation and error handling for new functionalities.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* test: add workspace service coverage

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* test: avoid workspace tool count magic number

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Changes before error encountered

Agent-Logs-Url: https://github.com/macae-labs/Multi-Agent-Custom-Automation-Engine-Solution-Accelerator/sessions/5c6bad5f-17e2-4041-be0d-ede3e8438df9

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add terminal execution capabilities for workspace agents

* fix: reformat mcp_server/services/workspace_service.py to pass ruff format check

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* refactor: replace custom API fetch logic with centralized apiClient usage in WorkspaceEditor

* refactor: streamline fetchWithAuth to improve token handling and request options

* refactor: enhance token management and request options in apiClient

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: handle authentication errors in chat message stream endpoint

* fix: ruff format v4/api/router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: add audio streaming capabilities with Voice Live and Dictation modes

- Implemented WebSocket endpoint for audio streaming in `audio_router.py`.
- Added support for full duplex conversation (Voice Live) and speech-to-text (Dictation) modes.
- Created `MicButton` component to handle audio input for both modes in the frontend.
- Integrated `useVoiceLive` and `useDictation` hooks for managing audio capture and WebSocket communication.
- Updated existing components to include microphone buttons for initiating audio streams.
- Enhanced icon imports to include microphone icons for better UI representation.
- Configured Vite to use polling for file changes to improve development experience on WSL2.

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Format Voice Live audio router

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix Voice Live audio relay

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Harden Voice Live task cleanup

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix PlanChat dictation input typing

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Preserve PlanChat dictation input updates

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix audio stream WebSocket handling for delta audio frames

* Fix ruff format issue in audio_router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Implementar soporte para Voice Live: agregar verbalización de respuestas finales y transcripciones de usuario en el flujo de chat.

* Mejorar manejo de turnos de voz: implementar lógica para abrir y cerrar turnos en la función voiceLiveSpeak y ajustar el flujo de STT del usuario.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Guard stale VoiceLive socket events

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: implement voice interaction improvements with explicit turn management

- Introduced a single in-flight stream for voice interactions, ensuring that any new input or barge-in cancels the previous stream.
- Added voice acknowledgment and narration features to provide immediate feedback during tool activity.
- Enhanced the voice turn management system to track the state of voice interactions, including opening, acknowledging, and canceling turns.
- Updated the HomeInput and PlanPage components to utilize the new voice management features, ensuring a smoother user experience.
- Modified the ChatService to support abort signals for chat message streams, allowing for better control over ongoing interactions.

* feat: aumentar el límite de caracteres en el registro de turnos y agregar pruebas para la recuperación del contexto de sesión

* Clarify comment on execution persistence format

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix CI: isolate test_context_recovery_probe.py in its own pytest session

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: mejorar la gestión de audio en useDictation y useVoiceLive con configuración de sesión y remuestreo

* feat: mejorar la gestión de audio en useDictation con control de estado y manejo de AudioContext

* Optimize PCM output handling in useVoiceLive hook

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: agregar diagnóstico de audio y manejo de desconexiones en useVoiceLive y audio_router

* feat: agregar soporte para audio en formato base64 en audio_stream y useVoiceLive

---------

Co-authored-by: Winston <wesparza888@icloud.com.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
…router (#165)

* feat: implement workspace file management and enhance workspace selector functionality

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: apply ruff formatting to workspace_router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add support for repo URL, token, and local path in workspace creation

* feat: implement lazy loading workspace file explorer with directory structure

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Implement workspace service and integrate file materialization

- Added `workspace_service.py` to manage user workspaces, including creation, validation, and file handling.
- Introduced `_materialize_hosted_file_to_workspace` function in `orchestration_manager.py` to download hosted files into user workspaces.
- Updated `ChatMessageRequest` interface to include `workspace_id` for tracking workspace context in chat messages.
- Enhanced `sendMessageStream` method in `ChatService` to accept `workspaceId` for file handling.
- Modified `agentMiddleware` to retrieve and pass the active workspace ID when sending messages.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Add workspace file search functionality and enhance workspace awareness in chat client

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Añadir herramientas de acceso de solo lectura para el espacio de trabajo

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix MCP server ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix MCP workspace path resolution

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Mejorar la gestión de workspace: se actualiza la lógica para usar el ID de sesión como respaldo y se agrega el campo workspace_id en InputTask.

* Fix MCP workspace_service Ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Add git-read and write tools to workspace service

- Implemented git-read helpers: git_status, git_diff, git_log, git_current_branch, git_list_branches, and search_content in backend workspace_service.
- Added corresponding MCP tools for git-read operations in mcp_server workspace_service.
- Introduced write helpers: write_file, create_file, update_file, and delete_file in backend workspace_service with automatic git commits.
- Enhanced documentation and error handling for new functionalities.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* test: add workspace service coverage

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* test: avoid workspace tool count magic number

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Changes before error encountered

Agent-Logs-Url: https://github.com/macae-labs/Multi-Agent-Custom-Automation-Engine-Solution-Accelerator/sessions/5c6bad5f-17e2-4041-be0d-ede3e8438df9

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add terminal execution capabilities for workspace agents

* fix: reformat mcp_server/services/workspace_service.py to pass ruff format check

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* refactor: replace custom API fetch logic with centralized apiClient usage in WorkspaceEditor

* refactor: streamline fetchWithAuth to improve token handling and request options

* refactor: enhance token management and request options in apiClient

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: handle authentication errors in chat message stream endpoint

* fix: ruff format v4/api/router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: add audio streaming capabilities with Voice Live and Dictation modes

- Implemented WebSocket endpoint for audio streaming in `audio_router.py`.
- Added support for full duplex conversation (Voice Live) and speech-to-text (Dictation) modes.
- Created `MicButton` component to handle audio input for both modes in the frontend.
- Integrated `useVoiceLive` and `useDictation` hooks for managing audio capture and WebSocket communication.
- Updated existing components to include microphone buttons for initiating audio streams.
- Enhanced icon imports to include microphone icons for better UI representation.
- Configured Vite to use polling for file changes to improve development experience on WSL2.

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Format Voice Live audio router

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix Voice Live audio relay

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Harden Voice Live task cleanup

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix PlanChat dictation input typing

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Preserve PlanChat dictation input updates

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix audio stream WebSocket handling for delta audio frames

* Fix ruff format issue in audio_router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Implementar soporte para Voice Live: agregar verbalización de respuestas finales y transcripciones de usuario en el flujo de chat.

* Mejorar manejo de turnos de voz: implementar lógica para abrir y cerrar turnos en la función voiceLiveSpeak y ajustar el flujo de STT del usuario.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Guard stale VoiceLive socket events

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: implement voice interaction improvements with explicit turn management

- Introduced a single in-flight stream for voice interactions, ensuring that any new input or barge-in cancels the previous stream.
- Added voice acknowledgment and narration features to provide immediate feedback during tool activity.
- Enhanced the voice turn management system to track the state of voice interactions, including opening, acknowledging, and canceling turns.
- Updated the HomeInput and PlanPage components to utilize the new voice management features, ensuring a smoother user experience.
- Modified the ChatService to support abort signals for chat message streams, allowing for better control over ongoing interactions.

* feat: aumentar el límite de caracteres en el registro de turnos y agregar pruebas para la recuperación del contexto de sesión

* Clarify comment on execution persistence format

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix CI: isolate test_context_recovery_probe.py in its own pytest session

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: mejorar la gestión de audio en useDictation y useVoiceLive con configuración de sesión y remuestreo

* feat: mejorar la gestión de audio en useDictation con control de estado y manejo de AudioContext

* Optimize PCM output handling in useVoiceLive hook

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: agregar diagnóstico de audio y manejo de desconexiones en useVoiceLive y audio_router

* feat: agregar soporte para audio en formato base64 en audio_stream y useVoiceLive

* feat: mejorar manejo de acuses y narraciones en useVoiceLive y audio_router

* Change default audio format to base64 in URL

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Winston <wesparza888@icloud.com.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
…MCP server (#166)

* feat: implement workspace file management and enhance workspace selector functionality

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: apply ruff formatting to workspace_router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add support for repo URL, token, and local path in workspace creation

* feat: implement lazy loading workspace file explorer with directory structure

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Implement workspace service and integrate file materialization

- Added `workspace_service.py` to manage user workspaces, including creation, validation, and file handling.
- Introduced `_materialize_hosted_file_to_workspace` function in `orchestration_manager.py` to download hosted files into user workspaces.
- Updated `ChatMessageRequest` interface to include `workspace_id` for tracking workspace context in chat messages.
- Enhanced `sendMessageStream` method in `ChatService` to accept `workspaceId` for file handling.
- Modified `agentMiddleware` to retrieve and pass the active workspace ID when sending messages.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: Add workspace file search functionality and enhance workspace awareness in chat client

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Añadir herramientas de acceso de solo lectura para el espacio de trabajo

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix MCP server ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix MCP workspace path resolution

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Mejorar la gestión de workspace: se actualiza la lógica para usar el ID de sesión como respaldo y se agrega el campo workspace_id en InputTask.

* Fix MCP workspace_service Ruff formatting

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Add git-read and write tools to workspace service

- Implemented git-read helpers: git_status, git_diff, git_log, git_current_branch, git_list_branches, and search_content in backend workspace_service.
- Added corresponding MCP tools for git-read operations in mcp_server workspace_service.
- Introduced write helpers: write_file, create_file, update_file, and delete_file in backend workspace_service with automatic git commits.
- Enhanced documentation and error handling for new functionalities.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* test: add workspace service coverage

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* test: avoid workspace tool count magic number

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Changes before error encountered

Agent-Logs-Url: https://github.com/macae-labs/Multi-Agent-Custom-Automation-Engine-Solution-Accelerator/sessions/5c6bad5f-17e2-4041-be0d-ede3e8438df9

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: add terminal execution capabilities for workspace agents

* fix: reformat mcp_server/services/workspace_service.py to pass ruff format check

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* refactor: replace custom API fetch logic with centralized apiClient usage in WorkspaceEditor

* refactor: streamline fetchWithAuth to improve token handling and request options

* refactor: enhance token management and request options in apiClient

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: handle authentication errors in chat message stream endpoint

* fix: ruff format v4/api/router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: add audio streaming capabilities with Voice Live and Dictation modes

- Implemented WebSocket endpoint for audio streaming in `audio_router.py`.
- Added support for full duplex conversation (Voice Live) and speech-to-text (Dictation) modes.
- Created `MicButton` component to handle audio input for both modes in the frontend.
- Integrated `useVoiceLive` and `useDictation` hooks for managing audio capture and WebSocket communication.
- Updated existing components to include microphone buttons for initiating audio streams.
- Enhanced icon imports to include microphone icons for better UI representation.
- Configured Vite to use polling for file changes to improve development experience on WSL2.

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Format Voice Live audio router

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix Voice Live audio relay

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Harden Voice Live task cleanup

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix PlanChat dictation input typing

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Preserve PlanChat dictation input updates

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Fix audio stream WebSocket handling for delta audio frames

* Fix ruff format issue in audio_router.py

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* Implementar soporte para Voice Live: agregar verbalización de respuestas finales y transcripciones de usuario en el flujo de chat.

* Mejorar manejo de turnos de voz: implementar lógica para abrir y cerrar turnos en la función voiceLiveSpeak y ajustar el flujo de STT del usuario.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Guard stale VoiceLive socket events

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: implement voice interaction improvements with explicit turn management

- Introduced a single in-flight stream for voice interactions, ensuring that any new input or barge-in cancels the previous stream.
- Added voice acknowledgment and narration features to provide immediate feedback during tool activity.
- Enhanced the voice turn management system to track the state of voice interactions, including opening, acknowledging, and canceling turns.
- Updated the HomeInput and PlanPage components to utilize the new voice management features, ensuring a smoother user experience.
- Modified the ChatService to support abort signals for chat message streams, allowing for better control over ongoing interactions.

* feat: aumentar el límite de caracteres en el registro de turnos y agregar pruebas para la recuperación del contexto de sesión

* Clarify comment on execution persistence format

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix CI: isolate test_context_recovery_probe.py in its own pytest session

Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>

* feat: mejorar la gestión de audio en useDictation y useVoiceLive con configuración de sesión y remuestreo

* feat: mejorar la gestión de audio en useDictation con control de estado y manejo de AudioContext

* Optimize PCM output handling in useVoiceLive hook

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: agregar diagnóstico de audio y manejo de desconexiones en useVoiceLive y audio_router

* feat: agregar soporte para audio en formato base64 en audio_stream y useVoiceLive

* feat: mejorar manejo de acuses y narraciones en useVoiceLive y audio_router

* Change default audio format to base64 in URL

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: agregar script de entrypoint para autenticación de Azure en el MCP server

---------

Co-authored-by: Winston <wesparza888@icloud.com.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
…fastmcp-3.4.10

build(deps): bump fastmcp from 3.4.7 to 3.4.10 in /src/mcp_server
…fastmcp-slim-3.4.10

build(deps): bump fastmcp-slim from 3.4.7 to 3.4.10 in /src/mcp_server
…certifi-2026.10.18

build(deps): bump certifi from 2025.11.12 to 2026.10.18 in /src/mcp_server
Bumps [opentelemetry-api](https://github.com/open-telemetry/opentelemetry-python) from 1.39.0 to 1.45.1.
- [Release notes](https://github.com/open-telemetry/opentelemetry-python/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-python/blob/main/CHANGELOG.md)
- [Commits](open-telemetry/opentelemetry-python@v1.39.0...v1.45.1)

---
updated-dependencies:
- dependency-name: opentelemetry-api
  dependency-version: 1.45.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
…ntelemetry-api-1.45.1

build(deps): bump opentelemetry-api from 1.39.0 to 1.45.1 in /src/backend

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment on lines +4 to +6
project_client = AIProjectClient.from_connection_string(
credential=DefaultAzureCredential(),
conn_str="<%= connectionString %>")
Comment on lines +9 to +11
agent = project.agents.get_agent("<%= agentId %>")

thread = project.agents.threads.create()
Comment thread src/frontend/frontend_server.py Resolved
Comment thread src/mcp_server/.env.example Resolved
Comment thread src/mcp_server/docker-compose.yml Resolved
…e autenticación y entorno en el servidor MCP

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Unresolved defects break devcontainer builds, generated Azure samples, and MCP tool calls, while binding the unauthenticated MCP endpoint to all host interfaces can expose workspace Bash execution to reachable machines.

39 open issues

And 19 more that still need to be addressed.

7 resolved since last review

Review effort: Balanced

Comment on lines +4 to +6
project_client = AIProjectClient.from_connection_string(
credential=DefaultAzureCredential(),
conn_str="<%= connectionString %>")
Comment on lines +9 to +11
agent = project.agents.get_agent("<%= agentId %>")

thread = project.agents.threads.create()
mcp-server:
build: .
ports:
- "9000:9000"
Comment thread src/mcp_server/.env.example Resolved
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: intuit44 <205879066+intuit44@users.noreply.github.com>
feat: eliminar archivo de imagen obsoleto y ajustar configuraciones d…

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The MCP Compose configuration exposes unauthenticated file-mutation and arbitrary command-execution tools on every host interface, creating a critical security risk.

35 open issues

And 15 more that still need to be addressed.

4 resolved since last review

Review effort: Balanced

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix: corregir configuración de autenticación y actualizar versión de …
Bumps [pylint](https://github.com/pylint-dev/pylint) from 3.3.9 to 4.0.9.
- [Release notes](https://github.com/pylint-dev/pylint/releases)
- [Commits](pylint-dev/pylint@v3.3.9...v4.0.9)

---
updated-dependencies:
- dependency-name: pylint
  dependency-version: 4.0.9
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [nltk](https://github.com/nltk/nltk) from 3.10.3 to 3.10.4.
- [Release notes](https://github.com/nltk/nltk/releases)
- [Changelog](https://github.com/nltk/nltk/blob/develop/ChangeLog)
- [Commits](nltk/nltk@v3.10.3...v3.10.4)

---
updated-dependencies:
- dependency-name: nltk
  dependency-version: 3.10.4
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [authlib](https://github.com/authlib/authlib) from 1.8.0 to 1.9.1.
- [Release notes](https://github.com/authlib/authlib/releases)
- [Commits](authlib/authlib@v1.8.0...v1.9.1)

---
updated-dependencies:
- dependency-name: authlib
  dependency-version: 1.9.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [dnspython](https://github.com/rthalley/dnspython) from 2.8.0 to 2.9.0.
- [Release notes](https://github.com/rthalley/dnspython/releases)
- [Changelog](https://github.com/rthalley/dnspython/blob/main/doc/whatsnew.rst)
- [Commits](rthalley/dnspython@v2.8.0...v2.9.0)

---
updated-dependencies:
- dependency-name: dnspython
  dependency-version: 2.9.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
…int-4.0.9

build(deps): bump pylint from 3.3.9 to 4.0.9 in /src/backend
…k-3.10.4

build(deps): bump nltk from 3.10.3 to 3.10.4 in /src/backend
…authlib-1.9.1

build(deps): bump authlib from 1.8.0 to 1.9.1 in /src/mcp_server
…dnspython-2.9.0

build(deps): bump dnspython from 2.8.0 to 2.9.0 in /src/mcp_server

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants