base44-platform-actors

base44-platform-actors

Base44 realtime actors: stateful server rooms over WebSockets (Durable Objects) under base44/actors/<Name>/entry.ts for multiplayer, collaborative boards, presence, live cursors, chat rooms and auctions, with the actor contract, rules and the React client. Use when users interact live in one shared session.

94星標
21分支
更新於 2026/11/22
要求的譯文尚未完成,目前顯示原始英文。
SKILL.md
唯讀
名稱
base44-platform-actors
描述

Base44 realtime actors: stateful server rooms over WebSockets (Durable Objects) under base44/actors/<Name>/entry.ts for multiplayer, collaborative boards, presence, live cursors, chat rooms and auctions, with the actor contract, rules and the React client. Use when users interact live in one shared session.

<!-- GENERATED FILE. DO NOT EDIT. Compiled from the Base44 builder's prompt sources; the
source commit is in /SOURCE_COMMIT at the repository root. Edits here are overwritten by
the next sync; change the source instead. -->

Base44 actors

One actor instance per room id; the actor is authoritative, clients send operations. Writing the entry file deploys the actor.

Requires the Builder plan or above. The workspace's entitlement is reported by the agent-profile endpoint; on a lower plan the platform rejects the operation.

Pick the reference for this app

Determine the app profile first. Call GET /api/apps/{app_id}/agent-profile (over the Base44 MCP execute_api
tool, or with your Base44 CLI token); it returns the framework, app type, runtime,
entitlements and the exact reference files to read. Without it, detect from the project files:
src/routes/__root.* and src/routeTree.gen.ts mean TanStack Start; app/_layout.* means a
native mobile (Expo) app; otherwise it is a Vite SPA.

Profile Read
Web app, Vite SPA (the default web template) Realtime actors (web apps)
Web app, TanStack Start Realtime actors (web apps)
Native mobile app (Expo, React Native) Realtime actors (mobile apps)