Render a declared interface and show typed interaction results in a Nuxt application.
- Validate declarations and exact SSR snapshots.
- Manage temporary form drafts and view subscriptions.
The host supplies routes, application handlers, authorization and durable state. UI declarations do not create authority.
Install @nuxtjp/declarative-ui from npm in your Nuxt application:
pnpm add @nuxtjp/declarative-uiThe transport and interaction contracts use the published npm versions of @crowsi/interaction-transport and @zixcel/interaction.
To develop or verify the source, use pnpm@10.29.3 and the Node.js version declared in engines in package.json. Run from this repository:
pnpm install --frozen-lockfile
pnpm typecheck
pnpm test
pnpm build- Zixcel: resource/value/action/change contracts and typed application outcomes.
- Crowsi: HTTP/JSONL transport, queue limits, cancellation and connection failures.
- NuxtJP: declaration validation, capability registry, rendering, temporary form drafts and view subscription lifecycle.
- Host: authenticated scope, application handler, routes/scenes, business labels, adopted meaning references and durable facts.
Install @nuxt/ui and this Nuxt module. NuxtJpInteractionSurface accepts scope, view and endpoint props. Its read/invoke/subscribe endpoint returns structured outcomes. A successful read includes ViewSnapshot: declaration revision, scope, cursor and unchanged Zixcel resources with exact contract/resource revisions. useAsyncData transfers the initial result into hydration without a second client initial read. Scope is a cache-isolation identity, not authentication.
NuxtJpInteractionView accepts a snapshot, busy state and feedback and emits typed invoke requests for hosts using a separate lifecycle. Drafts are transient inputs, not facts. Live changes preserve edits and original preconditions; required false is a value rather than absence.
Implementation and public interfaces · Verification cases · Contributing · Security reporting · License · Attribution notices
Publication evidence and consumer verification · Public API playground. The owner CI installs the candidate archive in an isolated consumer and checks public types, refusal and component SSR on the Nuxt version declared for development.
OSS responsibility and source completion defines the supported package boundary and required acceptance. It does not declare unexecuted source, distribution or production checks complete.
Dependency updates: repository policy. Registry releases: version tags and GitHub OIDC.