What is Sonamu UI?
Sonamu UI provides the following features:How to Run
Running in Development Environment
Sonamu UI is built into the API server. No separate command is needed.http://localhost:34900/sonamu-ui
Sonamu UI is served at the
/sonamu-ui path of the API server without a separate port.Typical Development Workflow
Access Protection
Sonamu UI is served only by local dev servers (development and test environments), and it checks requests so that other web pages cannot call its APIs on your machine.
- The server puts an access token, created anew for each process, into the HTML served at
/sonamu-ui, and the UI sends it in theX-Sonamu-UI-Tokenheader when calling APIs. You do not add the token to the URL, but reload the UI after restarting the server. Opening the file path/sonamu-ui/index.htmldirectly serves the page without a token. - Tools that call
/sonamu-ui/api/**directly must also send the token from thesonamu-ui-tokenmeta tag of the current HTML in the same header. A missing or wrong token returns 401; a request from another origin returns 403 even with a valid token. - The editor-launch APIs
tools/openVscode,tools/openEditor,cdd/openSource, andcdd/editContentaccept only same-origin POST requests withContent-Type: application/jsonand anX-Sonamu-UI: 1header; anything else is rejected with 403. - When
tools/openVscodereceivesabsPath, it opens only an existing file under the app root (the parent directory of the API directory). Paths outside the app root, symlinks pointing outside it, directories, and missing files are rejected with 400. - Requests whose
Hostheader is notlocalhost,*.localhost, an IP address, the hostname inserver.listen.hostorserver.baseUrl, or a hostname listed inserver.devAllowedHostsreturn 403. To reach the UI through an alias domain or a tunnel, add that hostname toserver.devAllowedHosts.
Interface Structure

Sonamu UI Full Screen
1. Global Navigation Bar (GNB)
Located at the top of the screen for quick access to main features.2. Sidebar
Located on the left side, displays the item list for the currently selected menu.- Entities tab: Display all Entity list
- Migrations tab: Migration file list
- Bottom button: Add new item button (e.g., New Entity)
3. Main Content Area
The wide area in the center where you view and edit details of selected items.- Edit Entity properties
- Preview migrations
- Code generation options, etc.
Keyboard Shortcuts
Next Steps
Entity Management
Create and edit Entities
Scaffolding
Auto-generate code
Tasks
Monitor workflows