New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@wasser-ui/runtime

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wasser-ui/runtime

Runtime capability boundary for Wasser UI.

alpha
latest
Source
npmnpm
Version
0.1.0-alpha.0
Version published
Maintainers
1
Created
Source

@wasser-ui/runtime

Runtime capability system for Wasser UI applications.

This package provides:

  • state registry
  • query registry
  • action registry
  • mutation registry
  • permission guard
  • telemetry sink
  • runtime event log
  • data binding resolver

The model references capabilities. Application code implements them.

Usage

import { createWasserRuntime } from "@wasser-ui/runtime";

const runtime = createWasserRuntime({
  permissions: {
    canRunAction: ({ risk }) => risk !== "destructive",
  },
});

runtime.state.register({
  key: "filters.status",
  initialValue: "all",
});

runtime.queries.register({
  id: "customers",
  dataRef: "queries.customers.data",
  handler: async () => api.customers.list(),
});

runtime.actions.register({
  id: "exportCustomers",
  risk: "low",
  handler: async () => api.customers.export(),
});

runtime.describe();

runtime.describe() returns the capability lists used by Wasser verification. Unknown actions, queries, mutations, and state keys are blocked before execution.

Keywords

agent-ui

FAQs

Package last updated on 12 May 2026

Related posts