mirror of
https://github.com/esengine/DeepSeek-Reasonix.git
synced 2026-11-07 02:36:01 -10:00
A fourth kind of tab opens a real shell (ConPTY on Windows, a pty elsewhere) in the project folder, outside the model's permissions and sandbox and with the host's provider keys left out of its environment. The kernel keeps each shell's output, so a tab left or a window reloaded comes back as it was; a tab is named for the command submitted while the shell is busy and carries a blue dot, and closing a busy one asks first. Also: the composer's note stack no longer clips to a few pixels when it holds two notes, which left the second one overlapping the input.
14 lines
686 B
Go
14 lines
686 B
Go
// Package terminal runs the shells a person opens for themselves in the
|
|
// workbench.
|
|
//
|
|
// A terminal is not the agent's: its commands are the person's own, run as them
|
|
// with no model, permission or sandbox in between, and the model sees none of its
|
|
// output unless the person sends a selection to the conversation. That boundary
|
|
// is why the package knows nothing of sessions or tools.
|
|
//
|
|
// A Session owns one pseudo-terminal. Its output is kept in a bounded ring so a
|
|
// window that reconnects, or opens after the shell began, replays what it
|
|
// missed; a process that exits is kept, with its code, until the person closes
|
|
// it. Every failure carries a Code.
|
|
package terminal
|