NUB-CONFIG: Per-napplet declarative configuration (JSON Schema-driven)#14
Open
NUB-CONFIG: Per-napplet declarative configuration (JSON Schema-driven)#14
Conversation
…rn exclusion - Enumerate Core Subset types, keywords, and constraints - Document additionalProperties: false override at top level - Specify deterministic default-resolution rule - Standardized extensions table (x-napplet-secret, x-napplet-section, x-napplet-order, deprecationMessage, markdownDescription) - $version as potentiality -- shell decides migration behavior - Exclude pattern from v1 Core Subset citing CVE-2025-69873 (ReDoS) - Forbid all $ref forms, combinatorial schemas, conditional schemas, tuple arrays, expression defaults - Format as hint only; MUST NOT reject on format failure alone - Depth limit of 4; schema-too-deep error code - Forbid x-napplet-secret with default (secret-with-default)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Status: Draft
Namespace: `window.napplet.config`
Discovery: `shell.supports("config")`
Summary
NUB-CONFIG defines a declarative per-napplet configuration surface driven by a JSON Schema shipped alongside the napplet. The shell renders the configuration UI from the schema, persists values per `(dTag, aggregateHash)`, and exposes them to the napplet via `window.napplet.config.get()` / `watch()`. Napplets ship the schema, not the UI.
Scope
Implementations
`(none yet)`
References