Skip to content

[Bug]: read_terminal / run_in_terminal always fail with "not a terminal tab of this chat's window and project" even for a valid tab #197

Backlog

Description

@qingnian1024

GUI version

0.1.65

Operating system

Windows

Reproduction steps

  1. Open a project and a chat in the desktop app; open a terminal tab for the project (shell running).
  2. Ask the agent to run a command in the user's terminal tab.
  3. Agent calls list_terminals → returns the tab correctly: term:qlfqo9mv:D:\dev\Project\sy:main · D:\dev\Project\sy · running
  4. Agent calls read_terminal / run_in_terminal with that same ID.

Expected behavior

run_in_terminal should execute the command in the listed tab, and read_terminal should return its output.

Actual behavior

Both calls fail with:

term:qlfqo9mv is not a terminal tab of this chat's window and project.
Use list_terminals to find the terminal_id.
Retrying does not help. The error message says to use list_terminals to find the ID — but that is exactly the ID being passed.

Screenshots, recordings, or sanitized logs

No response

Safety check

  • I removed credentials and private project information from this report.

Activity

  1. added
    bug
    on Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions