Métricas do repositório
- Stars
- (1 estrela)
- Métricas de merge de PR
- (Nenhuma PRs mesclada em 30d)
Description
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.