Create sequence diagrams with simple online tool

Swimlanes.io is a free webapp for making sequence diagrams. You simply edit the text on the left and the diagram is updated in real time. You can download your sequence diagrams as images or distribute with a link.

title: Cursorless hat token map snapshots _: **Case 1: First command is cursorless command, eg "chuck air chuck bat"** Human -> Voice engine: Speaks phrase Voice engine --> Command server: Touches signal file Voice engine -> Command server: Sends cursorless command 1 request payload Command server -> Cursorless VSCode: Calls `executeCommand` Command server <- Cursorless VSCode: Checks signal file timestamp Cursorless VSCode -> Cursorless VSCode: Takes snapshot Cursorless VSCode -> Cursorless VSCode: Uses snapshot for command execution Cursorless VSCode -> Cursorless VSCode: Updates token ranges on snapshot based on document changes Command server <- Cursorless VSCode: Returns command 1 result Voice engine <- Command server: Sends cursorless command 1 response payload Voice engine -> Command server: Sends cursorless command 2 request payload Command server -> Cursorless VSCode: Calls `executeCommand` Command server <- Cursorless VSCode: Checks signal file timestamp Cursorless VSCode -> Cursorless VSCode: Uses snapshot for command execution Command server <- Cursorless VSCode: Returns command 2 result Voice engine <- Command server: Sends cursorless command 2 response payload _: **Case 2: First command is non-cursorless command, eg "air bat cap chuck drum"** Human -> Voice engine: Speaks phrase Voice engine --> Command server: Touches signal file Voice engine --> Cursorless VSCode: Issues keystrokes "abc"; Cursorless detects change to file. Command server <- Cursorless VSCode: Checks signal file timestamp Cursorless VSCode -> Cursorless VSCode: Takes snapshot Cursorless VSCode -> Cursorless VSCode: Updates token ranges on snapshot based on document changes Voice engine -> Command server: Sends cursorless command request payload Command server -> Cursorless VSCode: Calls `executeCommand` Command server <- Cursorless VSCode: Checks signal file timestamp Cursorless VSCode -> Cursorless VSCode: Uses snapshot for command execution Command server <- Cursorless VSCode: Returns command result Voice engine <- Command server: Sends cursorless command response payload