Function importSettingsFromParent

One-time SEED of this app's settings from the parent it declares as forkOf (its package.json immediately.run.forkOf) — so a fork inherits your preferences from the original app (UI_AS_APPS_SPEC §3.4). The host asks the user to confirm (a full consent when the apps have different owners, a light confirm when the same owner publishes both) and copies the parent's settings into this app's own subdir, skipping any file you already have. Non-throwing: resolves { ok:false, code } on decline (cancelled), no declared parent (forbidden), or signed-out (auth-required). After { ok:true }, read openSettings. Capability: baseline settings:fork.

  • Returns Promise<{ copied: number; ok: true } | { code: string; ok: false }>