Class

SmartRouter

SmartRouter()

SmartRouter class

Constructor

# new SmartRouter()

Classes

SmartRouter

Methods

# _checkAgentTriggers()

Check agent trigger patterns

# _checkClassifyPatterns()

Check classify patterns

# _checkFileOpenTriggers()

Check file open trigger patterns

# _checkFileQueryTriggers()

Check file query trigger patterns (whiteboards, documents, etc.)

# _checkSummarizeWithParticipant()

Check for summarize_meeting patterns with participant filter These need MCPIntentClassifier to properly extract participant parameter

# _checkTranscriptViewTriggers()

Check transcript view trigger patterns (VIEW/SHOW transcript - not list)

# _checkTranscriptWithParticipant()

Check for get_transcript patterns with participant filter These need MCPIntentClassifier to properly extract participant parameter

# _log()

Log helper

# _matchDirectAction()

Check direct action patterns

# _matchSimpleQuery()

Check simple query patterns

# analyze(query) → {Object}

Analyze a query and determine the execution path

Parameters:
Name Type Description
query string

User's natural language query

Routing decision

Object