Adds `wsrelated` struct tags to `codersdk.Workspace` and every struct it
contains, recording which `include_related` path populates each field.
These tags will drive generated API docs; nothing in production reads
them yet, so there is no behavior change.
RFC:
https://app.notion.com/p/coderhq/Lite-Workspace-API-Requests-3aad579be5928060b5e7cc65c539717f?source=copy_link#3acd579be592808a84dace3da215b099
Tag conventions:
- `wsrelated:""`: always returned.
- `wsrelated:"a,b"`: requires every listed path. Only
`Workspace.Outdated` (`template,latest_build`) uses this.
- Subtree tags: when every field of a struct would carry the same tag,
only the parent field is tagged, so doc generation can stop descending
there. Deprecated, unset fields count as covered.
- No tag on a field of a tagged struct: not returned as part of a
workspace. This covers `ProvisionerJob.WorkerName`, `AvailableWorkers`,
`Metadata`, and `WorkspaceAgent.Metadata` (only set by the list
endpoint's `include_agent_metadata`).
---
_Generated by Coder Agents on behalf of @spikecurtis._