start Sync Agent
Starts an Agent in the calling thread and blocks until shutdown.
Logs the agent banner and version, parses args into an AgentOptions, constructs an Agent, and immediately calls startSync() from the constructor's initBlock. Control returns to the caller only after the Agent terminates (e.g. process signal, fatal error, or explicit stop).
Use this from main() or any code that wants to run the Agent as the foreground task. For embedded usage inside another running JVM, use startAsyncAgent instead.
Parameters
Raw command-line arguments forwarded to AgentOptions for parsing.
When true, the process exits with a non-zero status if no config file/URL is supplied. When false, the Agent falls back to the built-in reference config (mostly useful in tests where defaults are sufficient).