Embedded

Register a devframe into an already-running context at runtime: dynamic, post-startup registration (unlike vite's plugin-scan). Inherits the hosted /__<id>/ default.

Register a devframe into an already-running context at runtime: dynamic, post-startup registration (unlike vite's plugin-scan). Inherits the hosted /__<id>/ default.

import { createEmbedded } from 'devframe/adapters/embedded'
import myDevframe from './my-tool'

await createEmbedded(myDevframe, { ctx: existingCtx })
OptionRequiredDescription
ctxTarget DevframeNodeContext to register into.