Parse a note's chat thread into structured messages.
Reads the chat block delimited by ## Chat: <title> and parses each
### <role> · <timestamp> sub-heading into a ChatThreadMessage.
Non-chat content (anything outside the chat block) is ignored. Returns
thread_title: null and an empty messages array if the note has no
chat block.
Parameters
vault: Vault
The vault.
args: {note_path:string}
note_path is the vault-relative path to the thread note.
Parse a note's chat thread into structured messages.
Reads the chat block delimited by
## Chat: <title>and parses each### <role> · <timestamp>sub-heading into a ChatThreadMessage. Non-chat content (anything outside the chat block) is ignored. Returnsthread_title: nulland an emptymessagesarray if the note has no chat block.