@runmu.sh/ext-kit
v1.0.1
Published
The world-module runtime shared by the first-party μClient extensions (Tickets, Assist, Puppets): per-world enabled/source settings, staff role, Core.Supports, configurable actions, read marks, a payload validator, DOM helpers and the module panel styles.
Readme
@runmu.sh/ext-kit
The world-module runtime shared by the first-party μClient extensions Tickets, Assist and Puppets. Each of them bundles it; it is not an extension itself.
| Import | What |
|---|---|
| @runmu.sh/ext-kit/module | enabled (off/auto/on) and source (gmcp/api/both) per world, staff role, the Views entry and auto-panels, the Core.Supports handshake, configurable actions (command/gmcp/ext/none) with extension overrides, data requests, read marks, fillTemplate |
| @runmu.sh/ext-kit/schema | A small JSON Schema subset validator for module payloads |
| @runmu.sh/ext-kit/dom | h(tag, props, ...children) and sanitize(html) (the channel HTML allow-list) |
| @runmu.sh/ext-kit/css | The module panel styles, laid out over the host's mu.ui.css primitives, tokens only |
npm i -D @runmu.sh/ext-kit @muclient/sdk@npm:@runmu.sh/sdk@^1.6.0The module model is described in the μClient docs: https://runmu.sh/docs/extensions/.
