Skip to content

Roo Code cannot see the output of terminal commands #9

@SarBH

Description

@SarBH

Problem

The output of the command in the bash terminal is not captured and sent back to Roo Code.
Note that the command executes in the terminal successfully, but the output is not sent back to Roo Code.

Image

I have tried every step in the repo readme.
The output of the minimal example from this repository readme is also "Shell integration is not available"

current versions:

  • VSCode:
    1.98.0
    6609ac3d66f4eade5cf376d1cb76f13985724bcb
    x64
  • Roo Code vscode extension Version 3.7.12

Additional info: I installed git bash on my windows host machine, but I develop in a remote machine via the VSCode Remote Explorer SSH extension.
When doing Ctrl+Shift+P Terminal: Select Default Profile I dont see "Git Bash" as a terminal profile in VSCode even after restarting VSCode.

Debug Console Logs

[MCP] Fetched tools for grdb-suggestor: (4) [{…}, {…}, {…}, {…}]
[MCP] Fetched tools for mre-bot: (4) [{…}, {…}, {…}, {…}]
Server "designer-bot" stderr: /home/sarita/miniconda3/envs/reprov4/bin/python: can't open file '/home/sarita/intro-workspace/leip-mcp/src/designer-bot/server.py': [Errno 2] No such file or directory
Failed to connect to new MCP server designer-bot: Error: MCP error -1: Connection closed
    at xie._onclose (/home/sarita/.vscode-server/extensions/rooveterinaryinc.roo-cline-3.7.12/dist/extension.js:871:20991)
    at Nie._transport.onclose (/home/sarita/.vscode-server/extensions/rooveterinaryinc.roo-cline-3.7.12/dist/extension.js:871:20600)
    at ChildProcess.<anonymous> (/home/sarita/.vscode-server/extensions/rooveterinaryinc.roo-cline-3.7.12/dist/extension.js:873:1323)
    at ChildProcess.emit (/home/sarita/shell-integration-problems/lib/events.js:518:28)
    at maybeClose (/home/sarita/shell-integration-problems/lib/internal/child_process.js:1104:16)
    at Socket.<anonymous> (/home/sarita/shell-integration-problems/lib/internal/child_process.js:456:11)
    at Socket.emit (/home/sarita/shell-integration-problems/lib/events.js:518:28)
    at Pipe.<anonymous> (/home/sarita/shell-integration-problems/lib/net.js:343:12)
    at Pipe.callbackTrampoline (node:internal/async_hooks:130:17) {code: -1, data: undefined, stack: 'Error: MCP error -1: Connection closed
    at…Trampoline (node:internal/async_hooks:130:17)', message: 'MCP error -1: Connection closed'}
[MCP] Fetched tools for recipe-bot: (5) [{…}, {…}, {…}, {…}, {…}]
Failed to fetch remote embeddings cache from https://embeddings.vscode-cdn.net/text-3-small/v1.98/commands/GitHub.copilot.json
TypeError: fetch failed
    at /home/sarita/shell-integration-problems/lib/internal/deps/undici/undici.js:13502:13
    at processTicksAndRejections (/home/sarita/shell-integration-problems/lib/internal/process/task_queues.js:95:5)
    at yI._fetch (/home/sarita/.vscode-server/extensions/github.copilot-chat-0.25.0/dist/extension.js:704:6089)
    at kd.fetchRemoteExtensionCache (/home/sarita/.vscode-server/extensions/github.copilot-chat-0.25.0/dist/extension.js:417:5704)
    at kd.getCache (/home/sarita/.vscode-server/extensions/github.copilot-chat-0.25.0/dist/extension.js:417:6457)
    at $2._calculateEmbeddings (/home/sarita/.vscode-server/extensions/github.copilot-chat-0.25.0/dist/extension.js:417:7894) {stack: 'TypeError: fetch failed
    at node:internal/…pilot-chat-0.25.0/dist/extension.js:417:7894)', message: 'fetch failed', cause: AggregateError: 
    at internalConnectMultipl…net:1122:18)
    at internalConnectMultiple (…}
OS: Linux linux x64 6.8.0-52-generic
Shell: /bin/bash
Shell Version: GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Node.js Version: v20.18.2
VSCode Version: 1.98.0
Running command: ls
Waiting for shell integration...
Shell integration is not available
Running command: ls -la
Waiting for shell integration...
Shell integration is not available

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions