Adds a `type` column (TEXT NOT NULL DEFAULT 'user') to the dm_messages table via schema, migration, and type definition. Updates buildDmMessageWithUser and the inline replyTo builder in the GET messages handler to include the field in all DM message responses.