Skip to content

Expose pane/surface commands in control bridge #10

@mvbmir

Description

@mvbmir

Goal

Wire the pane and surface management commands from limux-core through the control bridge socket.

Current State

Only surface.send_text is exposed. The following 16+ commands exist in limux-core but are unreachable via the socket:

Pane Commands

  • pane.list - List panes in current workspace
  • pane.create - Create new pane
  • pane.focus - Focus a specific pane
  • pane.swap - Swap two panes
  • pane.break - Break pane into its own tab
  • pane.join - Join pane into another
  • pane.resize - Resize a pane
  • pane.surfaces - List surfaces in a pane
  • pane.last - Focus last active pane

Surface Commands

  • surface.create - Create new surface
  • surface.current - Get current surface info
  • surface.list - List all surfaces
  • surface.focus - Focus a surface
  • surface.close - Close a surface
  • surface.split - Split a surface
  • surface.read_text - Read text from surface (useful for agents)
  • surface.send_key - Send keypress to surface
  • surface.clear_history - Clear scrollback
  • surface.action - Trigger surface action
  • surface.health - Check surface health

Impact

Wiring these would enable external tools and agents to fully manage splits and terminal surfaces programmatically, matching what keyboard shortcuts can do today.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions