base44-platform-actors
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese<!-- 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 builder 的提示词源编译而成;
源提交位于仓库根目录的 /SOURCE_COMMIT。此处的修改会在下次同步时被覆盖;
请改为修改源文件。 -->
Base44 actors
Base44 Actor
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 deploy.
每个 room id 对应一个 Actor 实例;Actor 是权威端,客户端发送操作。编写 entry 文件会部署该 Actor。
需要 Builder 套餐或更高套餐。 工作区的权限由 agent-profile 端点报告;如果套餐等级较低,平台会拒绝部署。
Pick the reference for this app
为此应用选择参考文档
Determine the app profile first. Call (over the Base44 MCP
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:
and mean TanStack Start; means a
native mobile (Expo) app; otherwise it is a Vite SPA.
GET /api/apps/{app_id}/agent-profileexecute_apisrc/routes/__root.*src/routeTree.gen.tsapp/_layout.*| 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) |
首先确定应用配置。调用 (通过 Base44 MCP
工具,或使用 Base44 CLI token);它会返回框架、应用类型、运行时、
权限以及需要读取的确切参考文件。如果没有该信息,则根据项目文件进行检测:
和 表明是 TanStack Start; 表明是
原生移动应用(Expo);否则是 Vite SPA。
GET /api/apps/{app_id}/agent-profileexecute_apisrc/routes/__root.*src/routeTree.gen.tsapp/_layout.*| 配置 | 阅读 |
|---|---|
| Web 应用,Vite SPA(默认 Web 模板) | 实时 Actor(Web 应用) |
| Web 应用,TanStack Start | 实时 Actor(Web 应用) |
| 原生移动应用(Expo、React Native) | 实时 Actor(移动应用) |