Active deployment type, or undefined if unknown.
OptionalrawAmVersion: stringRaw value from state.getAmVersion(), consulted for
classic and forgeops deployments.
OptionalrawIdmVersion: stringRaw value from state.getIdmVersion(), consulted only
for forgeops deployments (classic has no IDM component; cloud ignores
component versions by design).
A resolved docs context, or an explicit unresolved result — never a guess.
Resolves the docs target for a deployment, given its type and (for self-managed AM/IDM) its raw version string(s).