Flowchart · Kandev · doc-wide · balanced

From package to initialized plugin

Kandev validates and extracts a package, then keeps the supervised Go process and the optional browser bundle on separate runtime paths.

From package to initialized plugin Package install leads to manifest and package validation, safe extraction, and two runtime paths. The Go path starts a supervised plugin subprocess and connects it to its Go plugin backend over go-plugin gRPC. The frontend path loads the browser bundle and initializes registerKandevPlugin. PACKAGE PIPELINE PLUGIN RUNTIME NATIVE UI BUNDLE HOST GRPC OVER GO-PLUGIN FRONTEND BUNDLE PATH Package install plugin archive Manifest + package validation manifest + archive checks Safe extraction trusted package contents Runtime subprocess supervised process Go plugin backend Host gRPC service Frontend bundle + styles native UI assets Browser bundle loading SPA runtime registerKandevPlugin initialize SUPERVISED RUNTIME BROWSER BUNDLE VALIDATION GATE