Skip to content

Show more session info: running process, titlebar, working directory #4

@andrewgazelka

Description

@andrewgazelka

Summary

Enhance tap to display more context about the running session, making it easier to understand what's happening in each terminal.

Proposed Features

  • Running process: Show the current foreground process name (e.g., vim, cargo, node)
  • Terminal title: Capture and display the terminal title if the application sets it via OSC escape sequences
  • Working directory: Track and display the current working directory (via OSC 7 or similar)
  • Session duration: Show how long the session has been running
  • Command history: Optionally track commands executed in the session

Implementation Ideas

  • Parse OSC escape sequences for title/cwd updates
  • Use /proc/<pid>/stat or similar to get foreground process info
  • Store metadata in session info JSON
  • Expose via MCP and socket API

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