dsh-plugin-forge-cnb: Integrate CNB Merge Requests for the DSH Forge Panel
The DSH bundle maintained by genius-alray registers a ForgeProvider via `ctx.forge`, enabling the Change Request and Working Tree panels to read Merge Requests from CNB (cnb.cool), including status, line additions/deletions, mergability, checks, reviewers, diff, file content, and review release and merge. It features zero runtime dependencies, relying solely on the global `fetch` API and Node.js built-in modules, and requires Node.js >= 22. This article introduces its contract capabilities, mapping limitations imposed by the CRN interface, the diff assembly method, the steps to install the bundle following a `git clone`, profile configuration fields, the mechanism for binding MRs to sessions, and credential reading, while also outlining applicable scenarios and precautions.
Read More