LangSmith Pytest hooks.
Set a boolean flag for LangSmith output.
Skip if --langsmith-output is already defined.
Call immediately after command line options are parsed (pytest v7).
Handle args in pytest v8+.
Apply LangSmith tracking to tests marked with @pytest.mark.langsmith.
Remove the short test-status character outputs ("./F").
Register the 'langsmith' marker.