Ralph-Town Development
Code Style
- •snake_case - functions and variables
- •PascalCase - classes
- •SCREAMING_SNAKE_CASE - constants
- •Prettier: tabs, single quotes, trailing commas, 70 char width
- •Use Bun, not npm/pnpm
Project Structure
code
packages/ ├── cli/ # Main CLI (ralph-town command) │ └── src/ │ ├── sandbox/ # Sandbox module (create, manage) │ └── commands/ # CLI commands └── mcp-ralph-town/ # MCP server wrapping CLI
Key Files
- •
packages/cli/src/sandbox/- Core sandbox module - •
packages/cli/src/commands/sandbox/- CLI commands - •
docs/RESEARCH.md- Architecture and findings
Commands
bash
bun dev # Development mode bun run build # Compile TypeScript
Don't
- •Don't run lint:fix
- •Don't guess Daytona APIs - check docs first
Notes
- •This is a monorepo with Bun workspaces
- •CLI and MCP server share sandbox module code
- •Check
docs/RESEARCH.mdfor Daytona SDK findings