節點 = component;邊 = 關聯(含 call / message / runtime 依賴)。只展示,無互動下鑽。
flowchart LR
N0["Multi-Surface Intent Dispatcher & Command Router"]
N1["Core LLM, Search & Copilot Reasoning Engine"]
N0 -->|"instantiates LLM models for intent resolution and multi-turn conversation"| N1
N2["Session Lifecycle & Project Tenancy Manager"]
N0 -->|"calls"| N2
N3["Chainlit Interaction & Applet Dispatcher"]
N3 -->|"Dispatches chat messages, device intents, and copilot reasoning tasks"| N0
N3 -->|"Dispatches chat messages, device intents, and copilot reasoning tasks"| N1
N3 -->|"Synchronizes tenancy session and runtime context during message handling"| N2
N4["SSO Token Verification & Tool Runtime Engine"]
N3 -->|"Inspects tool manifests and delegates tool execution to ToolRuntime"| N4
N2 -->|"Dispatches chat messages, device intents, and copilot reasoning tasks"| N0
N2 -->|"Discovers and registers applet slash commands on session start"| N3
N2 -->|"Rehydrates authenticated SSO sessions and instantiates ToolRuntime"| N4
N5["LINE and Queue Channel Ingress"]
N2 -->|"Bootstraps channel database tables and launches background queue workers"| N5
N6["OpenCode Client and Voice Services"]
N2 -->|"Initializes voice/opencode tables and configures local element storage client"| N6
N4 -->|"calls"| N2
N5 -->|"Dispatches webhook events and conversational queries for intent resolution"| N0
N5 -->|"Routes coding agent commands to OpenCode session handlers"| N6
N7["Frontend Custom UI Extension"]
N8["Chainlit Server and Authentication Runtime"]
N7 -->|"Injects DOM enhancements and transmits UI interactions via WebSocket"| N8