Skip to content

Shell mode command history should be visible to Agent mode #2351

@strcpy-s

Description

@strcpy-s

What feature would you like to see?

Problem

Shell mode (Ctrl-X) and Agent mode are completely isolated. Commands executed in Shell mode are invisible to Agent mode, forcing users to manually copy-paste outputs.

Use Case

On headless servers, users often run quick diagnostics in Shell mode (e.g., ls, git status, cat logs) then switch to Agent mode for AI assistance. Without shared context, the AI starts blank.

Proposed Solution

Automatically ingest recent Shell mode commands + outputs into Agent mode context when switching back, or provide a /history command to reference them.

Workaround

Currently: manually copy-paste shell output into the chat.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions