Skip to content

Cline create new terminal for each command #10

@acsezen

Description

@acsezen

Problem

Hello,

Cline create new terminal for each command when it fails to read the output from the terminal.

Thanks

Debug Console Logs

Congratulations, your extension "copilot-arena" is now active!
sql.js path: /home/xxx/.vscode-server-insiders/extensions/copilot-arena.copilot-arena-1.2.7/node_modules/sql.js/dist/sql-wasm.js
OS: Linux linux x64 5.15.167.4-microsoft-standard-WSL2
Shell: /usr/bin/zsh
Shell Version: zsh 5.9 (x86_64-ubuntu-linux-gnu)
Node.js Version: v20.18.2
VSCode Version: 1.99.0-insider
Failed to fetch remote embeddings cache from https://embeddings.vscode-cdn.net/text-3-small/v1.99/commands/redhat.ansible.json
TypeError: fetch failed
    at /home/xxx/workspace/arxus/repos/shell-integration-problems/lib/internal/deps/undici/undici.js:13502:13
    at processTicksAndRejections (/home/xxx/workspace/arxus/repos/shell-integration-problems/lib/internal/process/task_queues.js:95:5)
    at MI._fetch (/home/xxx/.vscode-server-insiders/extensions/github.copilot-chat-0.26.2025030701/dist/extension.js:706:6089)
    at Gd.fetchRemoteExtensionCache (/home/xxx/.vscode-server-insiders/extensions/github.copilot-chat-0.26.2025030701/dist/extension.js:417:5704)
    at Gd.getCache (/home/xxx/.vscode-server-insiders/extensions/github.copilot-chat-0.26.2025030701/dist/extension.js:417:6457)
    at j2._calculateEmbeddings (/home/xxx/.vscode-server-insiders/extensions/github.copilot-chat-0.26.2025030701/dist/extension.js:417:7894) {stack: 'TypeError: fetch failed
    at node:internal/…t-0.26.2025030701/dist/extension.js:417:7894)', message: 'fetch failed', cause: AggregateError: 
    at internalConnectMultipl…net:1122:18)
    at internalConnectMultiple (…}
Running command: oc version
Waiting for shell integration...
Shell integration changed for terminal shell-integration-problems
Shell integration changed for terminal shell-integration-problems
Shell integration changed for terminal shell-integration-problems
Shell integration available
[TerminalManager] Stream failed, not registered for terminal
[TerminalManager] Shell execution started: {hasExecution: true, command: 'oc version', terminalId: undefined}
Shell execution started in terminal shell-integration-problems
Shell integration changed for terminal shell-integration-problems
Read chunk: '\x1B]633;C\x07'
Read chunk: 'Client Version: 4.14.7\r\n' +
  'Kustomize Version: v5.0.1\r\n' +
  'Server Version: 4.14.34\r\n' +
  'Kubernetes Version: v1.27.15+6147456\r\n' +
  '\x1B[1m\x1B[7m%\x1B[27m\x1B[1m\x1B[0m                                                                                                                                                                       \r \r\x1B]0;asezen@ARX41FG7G3: ~\x07'
[TerminalManager] Shell execution ended: {exitCode: 0}
Shell execution ended in terminal shell-integration-problems with exit code 0 for command "oc version"

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