Skip to content

Claude Agent: terminal tool can't run interactive shell commands, including sudo #60428

Description

@tredondo

Reproduction steps

  1. Start a Claude Agent
  2. Run this prompt:

Run read -p 'type something: ' x; echo \"got: $x\" in the terminal tool and tell me if it waits for my input or returns immediately.

Current vs. Expected behavior

Image

Expected: interactive terminal support feature parity with the Zed Agent running Claude BYOK.

Zed version and system specs

Zed: v1.10.0+preview.315.8d56867088a4d4269bed518cdb1f913a037179de (Zed Preview)
OS: Linux Wayland ubuntu 26.04
Memory: 62.5 GiB
Architecture: x86_64
GPU: Intel(R) Iris(R) Xe Graphics (ADL GT2) || Intel open-source Mesa driver || Mesa 26.0.3-1ubuntu1

Relevant Zed settings

   "agent_servers": {
      "claude-acp": {
         "default_config_options": {
            "effort": "low",
            "model": "sonnet",
            "mode": "plan"
         },
         "type": "registry"
      },
   },

Metadata

Metadata

Assignees

No one assigned

    Labels

    state:needs triagetriage is not complete: no `area:*` label, or no `priority:*`/`frequency:*` for Bugs/Crashes

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions