Monorepo structure
The Worlds Platform is organized as a monorepo containing the following packages:| Package | Description |
|---|---|
packages/server | Implements the core REST API. |
packages/sdk | Official TypeScript and Deno client. |
packages/cli | Command-line tool for managing instances. |
packages/docs | Documentation site using Mintlify. |
Global tasks
Run common tasks from the root of the repository using Deno:- Start CLI:
deno task start:cli - Start server:
deno task start:server - Format code:
deno task fmt - Lint code:
deno task lint - Run tests:
deno task test - Pre-commit check:
deno task precommit
Troubleshooting
Ports already in use
Ports already in use
The console allocates ports starting from This command terminates all local Deno processes and resets the development lock. Alternatively, adjust the API base URL in the identity configuration and restart the console.
8001. If you encounter conflicting services or lingering processes, run: