OptionalonOptional: receive notification when a napplet subscribes to config updates. Fire-and-forget — the service tracks the subscription internally regardless.
OptionalonOptional: receive notification when a napplet unsubscribes.
OptionalonRelease host-owned transient UI or state for a destroyed window.
OptionalopenOptional: open the shell-side settings UI for this napplet.
Fire-and-forget — no response envelope per the wire spec.
If omitted, config.openSettings is silently dropped. A conformant host
must supply this hook before advertising the CONFIG domain.
OptionalregisterOptional: validate and store a napplet-provided schema.
The reference implementation always runs its complete bounded Core Subset validator first. This hook may add host policy such as version acceptance or durable schema persistence, but cannot weaken protocol validation.
Return shape mirrors config.registerSchema.result wire envelope
(minus the id — the dispatch layer correlates).
OptionalsavePersist one shell-validated full snapshot after settings UI commit.
Configuration options for
createConfigService(options-as-bridge per v1.6 Decision 18).Example