Versions in this module Expand all Collapse all v0 v0.1.2 Sep 25, 2025 Changes in this version + func Commands(con *repl.Console) []*cobra.Command + func Register(con *repl.Console) + func ShellCmd(cmd *cobra.Command, con *repl.Console) error + type PTYClient struct + func NewPTYClient(rpc clientrpc.MaliceRPCClient, sess *core.Session) *PTYClient + func (c *PTYClient) ResizeShell(ctx context.Context, sessionID string, cols, rows int) error + func (c *PTYClient) SendInput(ctx context.Context, sessionID, input string) error + func (c *PTYClient) SetDisconnectCallback(callback func(string)) + func (c *PTYClient) SetErrorCallback(callback func(string, string)) + func (c *PTYClient) SetOutputCallback(callback func(string, string)) + func (c *PTYClient) SetPromptCallback(callback func(string, string)) + func (c *PTYClient) StartShell(ctx context.Context, sessionID, shellType string, cols, rows int) error + func (c *PTYClient) StopShell(ctx context.Context, sessionID string) error