Skip to content

Agent Panel: Missing ability to add terminal and diagnostic output into assistant panel #31351

@plantindesk

Description

@plantindesk

Summary

In older versions of the Zed editor, the /diagnostic command was incredibly valuable, allowing users to inject errors reported by the project's language server directly into the Large Language Model (LLM) context within the AI Assist Panel. This feature was crucial for quickly getting an overview of current issues, warnings, and errors, enabling more efficient debugging and understanding of project health. Similarly, the /terminal command was also a key asset.

Currently, these powerful commands (/diagnostic and /terminal) are accessible within the "New Text Thread" section of the AI Assist Panel. However, they are notably absent from the "New Thread" functionality, which appears to be designed for more contextual, cursor-aware AI interactions.

The absence of these commands in "New Thread" significantly impacts my workflow, as it limits the ability to leverage the LLM effectively for dynamic project diagnostics and terminal interactions directly within the relevant code context.

I would like to request the availability of the @diagnostic and @terminal commands (or their equivalent features) within the "New Thread" functionality of the AI Assist Panel. This would enable users to feed current language server diagnostics (errors, warnings, hints) and terminal output into the LLM's context directly from the active "New Thread."

Ideally, this feature, when implemented in "New Thread," would:

  • Be easily accessible, perhaps via a command palette entry or a dedicated UI element within the "New Thread" interface.
  • Allow for filtering of diagnostic types (e.g., only errors, or all diagnostics).
  • Provide a clear way to see what diagnostic/terminal information has been sent to the LLM.

Zed Version and System Specs

Zed: v0.189.0 (Zed Dev fc8702a)
OS: Windows 10.0.26100
Memory: 15.7 GiB
Architecture: x86_64
GPU: Intel(R) Iris(R) Xe Graphics || Intel Corporation || 101.6790

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:aiImprovement related to Agent Panel, Edit Prediction, Copilot, or other AI featuresfrequency:commonBugs that happen for at least a third of the users across all platforms and kinds of usagemeta:easy repro stepsSteps to reproduce are easymeta:regressionthis used to work and now doesn'tpriority:P1Security holes w/o exploit, crash, install/update, sign-in, badly broken common featuresstate:needs reproNeeds reproduction steps / someone to reproduce

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions