Files
hyperframes/packages
Miguel Ángel f3ae3e2dc8 fix(cli): respect --json flag on lint error paths
When lint encountered an error (e.g., invalid directory), it output
plain text even with --json, breaking JSON parsing pipelines for
agents. Now wraps the entire lint command in try-catch that emits
JSON errors when --json is set.

Reproducer:
  npx hyperframes lint --json /nonexistent/path
  # Was: plain text "Not a directory: /nonexistent/path"
  # Now: {"ok": false, "error": "Not a directory: /nonexistent/path", ...}
2026-03-30 18:29:47 +02:00
..
2026-03-29 10:10:03 +00:00
2026-03-29 10:10:03 +00:00
2026-03-29 10:10:03 +00:00
2026-03-29 10:10:03 +00:00