OpenHands/agent-canvas
View on GitHubRefactor dev scripts: rename dev-safe and add modular service launch options
Open
#226 opened on May 9, 2026
enhancementgood first issue
Repository metrics
- Stars
- (43 stars)
- PR merge metrics
- (PR metrics pending)
Description
Problem
The current dev script naming is confusing:
dev:safeisn't intuitive - it's really "agent-server + canvas only"dev:minimalis an alias fordev:safeadding to confusion- No clear naming convention for different service combinations
Current Scripts
| Script | What it runs |
|---|---|
dev |
All services (agent-server + automation + canvas) |
dev:automation |
All services (same as dev) |
dev:safe / dev:minimal |
Agent-server + Canvas |
dev:frontend |
Canvas only (assumes running backend) |
dev:extra-backend |
Extra standalone agent-server |
Proposed Solution
Rename scripts with a clear naming convention based on which services are included:
| New Name | Old Name | Services |
|---|---|---|
dev |
dev:automation |
All (default: agent-server + automation + canvas) |
dev:canvas |
- | Canvas only (assumes running backend) |
dev:server |
dev:safe |
Agent-server + Canvas |
dev:server:only |
- | Agent-server only (no canvas) |
dev:full |
dev:automation |
Explicit all services |
dev:extra-backend |
- | Extra standalone agent-server (keep as is) |
CLI Options (Nice-to-have)
The underlying script could support flags to selectively enable/disable services:
node scripts/dev.mjs --no-canvas # Agent-server + automation only
node scripts/dev.mjs --no-automation # Agent-server + canvas only
node scripts/dev.mjs --server-only # Just agent-server
Implementation Notes
- Rename
dev-safe.mjsto something clearer (e.g.,dev-server.mjs) - Consolidate logic into a unified
dev.mjsscript with service toggles - Keep backward compatibility aliases during transition
- Update DEVELOPMENT.md and AGENTS.md with new naming
This issue was created by an AI agent (OpenHands) on behalf of the user.