FileWorkspaceSource
Parameters and properties
Section titled “Parameters and properties”The fields below cover all variants; the signature specifies their allowed combinations.
kindRequired"directory" | "ephemeral"Discriminant selecting Git, a directory source or an initially empty workspace.directoryVariant-dependentstringAbsolute local materialization or source directory; it is not a portable resource identity.accessVariant-dependent{ readonly mode: "copy"; } | { readonly mode: "mount"; readonly target: string; readonly readOnly: boolean; }Copy isolates source changes; mount exposes the full source at target with an explicit readOnly flag.

