Skip to content

Metacore SDK

Metacore SDK

The declarative addon framework — manifests, dynamic UI, and a typed runtime for building modular React hosts.

The Metacore SDK is a TypeScript monorepo published as @asteby/metacore-* npm packages. You declare an addon in a manifest.json, and the SDK provides everything needed to render it inside a host app: a federated loader, a metadata-driven <DynamicTable>, an auth kit, an i18n bundle, a UI library, themes, real-time WebSocket plumbing, and a scaffolder that wires it all together.

Packages

The SDK ships 16 packages under the @asteby scope. Most apps consume runtime-react, ui, auth, theme, and starter-config; the rest are opt-in.

PackageWhat it does
@asteby/metacore-sdkFederated addon loader, slot registry, typed manifest and API client.
@asteby/metacore-runtime-reactReact runtime — <DynamicTable>, <DynamicModal>, capability gates, action dispatcher.
@asteby/metacore-uiUI kit — data-table, layout shell, command-menu, hooks and shadcn primitives.
@asteby/metacore-authAuth kit — Zustand store, API client factory, login/signup/forgot pages, route guards.
@asteby/metacore-themeDesign tokens and Tailwind 4 preset (oklch, shadows, fonts, dark mode).
@asteby/metacore-i18ni18next factory, base ES/EN bundles, language switcher, RTL provider.
@asteby/metacore-libUtilities — date/currency/number formatting, error handling, cookies.
@asteby/metacore-app-providersReusable providers (direction, font, layout, search).
@asteby/metacore-starter-coreShared providers, stores, hooks and context consumed by every Vite+React app.
@asteby/metacore-starter-configShared build/lint configs (Vite + React + Tailwind 4 + TanStack Router + ESLint + TS).
@asteby/metacore-websocketWebSocket provider — auto-reconnect, typed messages, channel subscriptions.
@asteby/metacore-notificationsNotifications dropdown, app badge, WebSocket-driven real-time updates.
@asteby/metacore-webhooksWebhooks management UI — list, create, logs, test/replay, signing secrets.
@asteby/metacore-pwaPWA helpers — vite plugin wrapper, install/update prompts, push notifications, offline indicator.
@asteby/metacore-toolsTypeScript client for the kernel Tools runtime — execution, registration, client-side validation.
create-metacore-appScaffolder. npx create-metacore-app my-app.

Repository

Source, issues and releases live at asteby/metacore-sdk. The SDK is Apache-2.0.

Pair with the kernel

The SDK speaks the metadata contract served by the Metacore Kernel. One repo declares the contract, the other enforces it — both ship independently.

Metacore is open-source. Apache-2.0.