Skip to content

feat(cli): add one-shot user commands #3209

Closed

Description

@me2seeks

Problem

The Maka TUI has no way for a user to run a local command without opening another terminal or asking the model to call Bash. An interactive /shell would make the TUI another terminal owner, introducing PTY input, resize, recovery, and terminal-restoration lifecycle that is unnecessary for one command.

A user command and a model Bash call are different capabilities. The command and its output must not be represented as a model tool result or become readable through a Runtime resource reference.

Desired outcome

Provide a Codex-style !<command> interaction in the idle TUI that:

  • runs one command in the current Session working directory through Runtime Host;
  • keeps the TUI rendering instead of handing the terminal to an interactive shell;
  • shows the resource result only as a local user-command card and does not create an agent turn;
  • retains a terminal resource update that reaches the client before its card exists;
  • stores the run with visibility: "user" and makes Runtime reject model reads of that resource, while allowing the client projection to display it.

Alternatives or workarounds

Users can open another terminal or ask the model to use Bash. The former breaks flow; the latter intentionally creates a model-visible agent tool result. An interactive /shell is broader than this problem and duplicates terminal ownership in the TUI.

Activity

  1. changed the title [-]feat(cli): add an interactive user shell mode to the TUI[/-] [+]feat(cli): add one-shot user commands[/+] on Aug 18, 2026
  2. added
    enhancement
    help wanted
    on Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementhelp wanted

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions