How antelopejs/dms-assistant works
DMS Assistant is a development-time dashboard assistant: owners onboard a project, use chat or mockup workflows to shape it, and review or undo agent edits. The principal chat path runs from the dashboard through the module’s sidecar bridge to a local coding agent and back to reviewable change sets. The README also documents database-based onboarding, mockup iteration/building, terminal use, and Settings, Changes, and Activity pages. Some subsystem links below rely on README descriptions or source-index references; unsampled implementation details are not inferred.
Main entry points: index.ts Sidecar runtime · http-routes.ts Sidecar HTTP API · database.ts Database routes · ChatView.vue Chat panel
Components 23
Dashboard experience
- Chat panel
frontend-vue/app/chat/components/ChatView.vue - Assistant runtime
frontend-vue/app/plugins/ai.client.ts - Onboarding flow
frontend-vue/app/onboarding/controller.ts - Database connect
frontend-vue/builder/app/runtime/database-connect.ts - Change review
frontend-vue/app/views/ChangeSetPanel.vue - Owner pages
frontend-vue/app/components/ChangesView.vue
Assistant module
- Module routes
src/index.ts - Chat event bridge
src/channels/channel-service.ts - Database routes
src/builder/routes/database.ts - Sidecar lifecycle
src/lifecycle/spawn-sidecar.ts
Agent sidecar
- Sidecar runtime
sidecar/src/index.ts - Sidecar HTTP API
sidecar/src/server/http-routes.ts - Agent session
sidecar/src/agent/session.ts - Claude / Codex
sidecar/src/providers/registry.ts - Skills catalog
sidecar/src/skills/build-catalog.ts - Change sets
sidecar/src/checkpoints/checkpoints.ts - Conversation state
sidecar/src/state/conversations.ts - Activity audit
sidecar/src/audit/activity.ts
Project workflows
- Mockup workflow
frontend-vue/app/runtime/mockup-runs.ts - Page builder
sidecar/src/builder/capability.ts - DMS MCP tools
sidecar/src/mcp/dms-server.ts
Other components
- Project owner
- Claude / Codex CLI
Connections 23
- Project owner → Onboarding flow: starts setup
README.md - Onboarding flow → Database routes: requests analysis
README.md - Database routes → Project owner: returns schema analysis
README.md - Project owner → Chat panel: opens chat
README.md - Chat panel → Assistant runtime: sends prompts
frontend-vue/app/plugins/ai.client.ts - Assistant runtime → Chat event bridge: streams messages
src/channels/channel-service.ts - Chat event bridge → Sidecar runtime: bridges socket
src/channels/channel-service.ts - Module routes → Sidecar lifecycle: starts sidecar
src/index.ts - Sidecar lifecycle → Sidecar runtime: spawns process
- Sidecar runtime → Sidecar HTTP API: serves routes
sidecar/src/index.ts - Sidecar HTTP API → Change sets: reads and acts
sidecar/src/server/http-routes.ts - Sidecar HTTP API → Activity audit: queries activity
sidecar/src/server/http-routes.ts - Sidecar runtime → Conversation state: loads state
sidecar/src/index.ts - Agent session → Claude / Codex: runs provider
- Sidecar runtime → Skills catalog: builds catalog
sidecar/src/index.ts - Project owner → Change review: reviews edits
README.md - Change review → Sidecar HTTP API: requests change actions
README.md - Project owner → Owner pages: opens reports
README.md - Project owner → Mockup workflow: iterates mockup
README.md - Mockup workflow → Page builder: builds real pages
README.md - Claude / Codex CLI → DMS MCP tools: uses skills
README.md - DMS MCP tools → Page builder: invokes builder tools
README.md - Database connect → Database routes: calls database routes