@mostra/react
v0.8.0
Published
Mostra client runtime for artifact authors: fields, submit, signals, choices, window.storage, routing and the shell bridge.
Readme
@mostra/react
The client runtime of Mostra, the agent artifact runtime.
Artifacts import it for defineArtifact, the manifest an artifact declares in its entry:
import { defineArtifact } from "@mostra/react";
export const artifact = defineArtifact({ title: "Sidebar options", family: "review" });
export default function Page() {
return <h1>Sidebar options</h1>;
}Artifacts don't install it: every Mostra build resolves it from the warm set. Fields, submissions, actions and live data arrive in later releases. Apache-2.0.
