@rizzmyrobot/mochi-game-sdk
v0.0.2
Published
The current public package is `@rizzmyrobot/mochi-game-sdk`. It is a small integration helper package for compatible games. It helps studios define contracts, emit signed wake requests, expose declared affordances, validate declared legal intents, and for
Readme
Mochi Game SDK
The current public package is @rizzmyrobot/mochi-game-sdk. It is a small
integration helper package for compatible games. It helps studios define
contracts, emit signed wake requests, expose declared affordances, validate
declared legal intents, and format server receipts.
It is not Mochi's controller. It does not choose actions, call model providers, store Mochi memory, run Telegram, drive dashboards, automate unsupported games, scrape screens, inject inputs, inspect hidden state, or replace game-server validation.
Game servers stay authoritative for canon and legal outcomes. Mochi submits intents only through the game-owned contract and official transports.
Install Shape
The fallback SDK packages are published on npm at 0.0.1 with provenance
attestations. Game developers install the SDK with fallback npm package names
instead of cloning the Mochi repo.
Current studio install command:
npm install @rizzmyrobot/mochi-game-sdk @rizzmyrobot/mochi-contractsMinimal imports:
import {
createGameIntentReceipt,
createGameWake,
defineGameContract,
listGameAffordances,
signGameWakeForMochi,
validateGameIntent,
} from "@rizzmyrobot/mochi-game-sdk";
import { parseMochiGameContract } from "@rizzmyrobot/mochi-contracts";Preferred @mochi/* package names remain unpublished and are not install
instructions today.
