Core Concepts
Forking & Branching Workflows
Branch any production configuration payload into your personal workspace for custom adjustments.
#fork#branch#workspace#monaco
DevYield supports a seamless Git-like branching model for configuration payloads. When browsing any vault script, clicking "Branch Script" triggers a workspace fork.
The platform automatically serializes the parent script title, runtime language, and complete code payload into URL search parameters.
These parameters are read by the Monaco Editor at /vault/new via a Suspense boundary, instantly populating your workspace editor ready for custom modifications and publication.
Reference Implementation (typescript)
// Example Client-Side Query Parameter Decoding
const searchParams = useSearchParams();
const forkId = searchParams.get('fork');
const paramCode = searchParams.get('code');