@lightworkai.official/sup-plana
v0.4.0
Published
Build ส่วนเสริม for sup-plana — whiteboard widgets, screens and functions that run on sup-plana: create, dev (a playground of several players), build, check, deploy, submit
Maintainers
Readme
@lightworkai.official/sup-plana
Build ส่วนเสริม (extensions) for sup-plana: whiteboard widgets and games, screens, and functions that run on sup-plana. One CLI from the first idea to the organisation's market.
npx -y @lightworkai.official/sup-plana create my-game --template game # widget · widget-react · game · hosted
cd my-game && npm install
npm run dev # a playground of several players side by side, the same sandbox as the board
npx sup-plana login --desk https://<your-desk> --key spd_… # a developer key from ตั้งค่า › ส่วนเสริม › สร้างเอง
npm run deploy # a new version for your organisation; its admin installs itEvery starter carries the Claude Code skill (.claude/skills/sup-plana-extension/SKILL.md), CLAUDE.md and the SDK's
types (sup-plana-widget.d.ts) — open the folder in Claude Code and describe the idea.
What a page is given (window.supPlana, SDK 1.5):
widget— the copy's state, the same for everyone on the board, written on a version (never over someone's move)board— put things beside the widget, read and choose on the board, open another copy, talk copy to copygame— seats with a sheet each, one draw for everyone, server-timed turns,finish()with its results table and the leaderboards, and the room (โหมดเกมส์):show()for its bar and players,log()and the table's chat; players can join from a link on their phone, as themselves or as a guest with a name- the lobby (เล่นเกมส์, SDK 1.5) — say
"lobby": truein the manifest'sgame: a host makes a room, invites people, everyone says ready, and the game begins ongame.on("start", { players, options, bots, round })/game.table() sound—play("roll" | "card" | "coin" | "turn" | "win" | …), silent when the viewer turned sound offcall— your extension's own code on sup-plana (secrets, API scopes, outside calls)
npx sup-plana changes says what is new in the SDK and what is retiring; a manifest's sdk says the major it is built on.
Requires Node 18+.
