Developer Edition Only — This content applies to the Developer Edition license.
Adding a New MCP Tool #
See Section 6 — Creating MCP Tools above.
Adding a New Repository #
- Create your entity class in
com.dmsi.domain.* - Create the repository class with CRUD methods
- Add a migration SQL file
V0XX__description.sql - Call
myRepo.initialize()during app startup if needed
Adding a New UI Page #
- Create
MyPage.fxmlinapp/src/main/resources/fxml/ - Create
MyPageController.javaincom.dmsi.ui.page, implementingInitializable
public class MyPageController implements Initializable {
@Override
public void initialize(URL url, ResourceBundle bundle) {
// load data, bind UI
}
}
- Add navigation in the main window controller and sidebar FXML
Adding a New CLI Command #
- Create a command handler class in
com.dmsi.cli - Register the command in
DmsiCli - Follow the existing pattern: parse arguments, call service methods, print results
Custom Agent Spawner #
Implement the Spawner interface for custom agent execution environments:
public interface Spawner {
void spawn(Phase phase, String toolPath);
void monitorAgent(Agent agent);
void killAgent(Agent agent);
}
This lets you replace the default agent spawning mechanism with your own — for example, spawning agents in Docker containers or on remote machines.
