MCP Server
Types
Types
LogLevel
Log level type
type LogLevel = "debug" | "info" | "warn" | "error" | "critical"
LogCategory
Log category type
type LogCategory = "execution" | "replication" | "authentication" | "validation" | "system"
EntityType
Entity type for logging Must match the enum values in
type EntityType = "system" | "projects" | "milestones" | "tasks" | "agents" | "workspace" | "codebase"
ApprovalComment
Comment on an approval (from db-collections schema) Note: Using the canonical schema from
type ApprovalComment = { [key: string]: any; text?: string; selection?: string; position?: { line: number; column: number; }; }
ApprovalDocument
Complete approval document as stored in RxDB Using canonical type from
type ApprovalDocument = ApprovalModel
SteeringType
Steering document type definitions
type SteeringType = "product" | "tech" | "structure"
SteeringDocument
Steering document as stored in RxDB Using canonical type from
type SteeringDocument = DocumentModel
TemplateType
Template type definitions
type TemplateType = "tasks" | "requirements" | "design" | "product" | "tech" | "structure"
TemplateDocument
Template document as stored in RxDB Using canonical type from
type TemplateDocument = TemplateModel
Environment
Configuration types for multi-server management Adapted from epic-flow-native/types/serverConfig.ts patterns
type Environment = "local" | "production" | "staging" | "development"
WorkspaceDocument
Complete workspace document as stored in RxDB Using canonical type from
type WorkspaceDocument = WorkspaceModel
CodebaseDocument
Complete codebase document as stored in RxDB Using canonical type from
type CodebaseDocument = CodebaseModel
MarkdownStatus
TaskParser - Utility for parsing markdown task lists
Provides static methods for extracting task information from markdown-formatted task lists, including checkbox states, task hierarchies, and metadata.
Supports standard markdown task formats:
- [ ] Task(pending)- [-] Task(in-progress)- [x] Task(completed)
Also handles:
- Asterisk lists:
* [ ] Task - Numbered lists:
1. [ ] Task - Indented tasks with various whitespace
- Edge cases: multiple checkboxes, malformed input, special characters
type MarkdownStatus = "[ ]" | "[-]" | "[x]"