Governed launch validation and invocation construction for Cursor.
In governed mode the command, cwd, env, clear-env posture, and credential
materialization come from CliSubprocessCore.GovernedAuthority. Caller-owned
launch overrides are rejected instead of merged.
Summary
Functions
@spec authority(CursorCliSdk.Options.t() | keyword() | map() | nil) :: {:ok, CliSubprocessCore.GovernedAuthority.t() | nil} | {:error, term()}
@spec governed?(CursorCliSdk.Options.t() | keyword() | map() | nil) :: boolean()
@spec invocation([String.t()], CursorCliSdk.Options.t() | keyword()) :: {:ok, CliSubprocessCore.Command.t()} | {:error, term()}
@spec run_options( keyword(), CursorCliSdk.Options.t() | keyword() ) :: keyword()
@spec validate_options(CursorCliSdk.Options.t()) :: :ok | {:error, term()}
@spec validate_options!(CursorCliSdk.Options.t()) :: CursorCliSdk.Options.t()