Commit Graph

2 Commits

  • Add --mode flag for CLI output control (text/json/rpc)
    - text mode: only outputs final assistant message text (default)
    - json mode: streams all events as JSON (same as session manager writes)
    - rpc mode: JSON output + listens for JSON input on stdin for headless operation
    - Suppress informational messages in json/rpc modes
  • Fix read/write tool output formatting
    - Remove code fences (```) from read output - show raw content
    - Show first 10 lines instead of 5 for read
    - Only show line count for write if > 10 lines
    - Remove indentation from read output
    - Cleaner, more minimal tool output display