it2 session artifacts

Manage session artifact directories

Description

Manage and inspect session artifact directories.

Session artifacts are stored in ~/.it2/sessions// and include:

  • it2-monitor.jsonl: Event logs
  • correlated-network.harl: Network activity
  • plugins/: Plugin-specific data

This command helps you find and work with these directories.

Commands

Options inherited from parent commands

--format (default "text")

Output format (text, json, yaml) - affects how command results are displayed

--timeout

Timeout for API operations - how long to wait for iTerm2 to respond

--url

WebSocket URL for iTerm2 API - typically ws://localhost:1912 for local iTerm2

See Also

Examples

  # Get artifacts directory for current session
  $ it2 session artifacts directory

  # Get artifacts directory by session ID
  $ it2 session artifacts directory 5AC0

  # Get artifacts directory by PID
  $ it2 session artifacts directory 12345

  # Open artifacts directory in Finder
  $ open $(it2 session artifacts directory)

  # List all files in artifacts directory
  $ ls -la $(it2 session artifacts directory 5AC0)

  # Tail monitor log for current session
  $ tail -f $(it2 session artifacts directory)/it2-monitor.jsonl