OptionalappOptionalconfigRaw (un-validated) mj.config.cjs object. Zod-parsed configs usually strip dynamicPackages; pass the raw one.
OptionalconfigAbsolute path of the mj.config.cjs the config came from — the primary resolution anchor.
OptionaldiscoverAlso discover packages from an Open App manifest (mj-app.json) found in
appManifestDir — the "running inside the app's own repo" case, where the app's
packages are workspace members but nothing has installed them into a host config.
Defaults to true.
OptionalincludeAlso load the host's generated packages named under codeGeneration.packages
(entities / actions / graphqlResolvers for the server tier). Defaults to true.
OptionallogOutput channel. Defaults to console.
OptionalmodeProgrammatic mode override (below the env var, above config policy).
Identity of the calling process, lowercase and colon-separated: mjapi, cli:sync:push,
mcp, a2a, integration-tests. Entry Processes / ExcludeProcesses and
dynamicPackages.policy match against it by exact ID or by prefix segment.
OptionaltierWhich tier to load. Defaults to 'server'.
Directory holding
mj-app.json. Defaults to the config file's directory, elseprocess.cwd().