Summary
Port the {{@Username}} mention syntax and HTML formatting support from the MCP server to the Ruby CLI.
Background
The TypeScript MCP server (mcp-superthread-plus) already implements this feature. SuperThread comments and checklist items support:
- HTML formatting -
<strong>, <em>, <code>, <ul>, <blockquote>, etc.
- @mentions - Using
{{@Username}} syntax that converts to <user-mention> HTML tags
Applies To
Implementation
The MCP server has a formatMentions() utility in src/utils.ts that:
- Looks up workspace members by name
- Converts
{{@Username}} to <user-mention data-type="mention" user-id="..." ...>
- Supports escaping with
\{{@Name}} for literal output
References
- MCP server implementation:
mcp-superthread-plus/src/utils.ts (lines 135-239)
- Item 16 in
notes/manual-integration-testing.md
Summary
Port the
{{@Username}}mention syntax and HTML formatting support from the MCP server to the Ruby CLI.Background
The TypeScript MCP server (
mcp-superthread-plus) already implements this feature. SuperThread comments and checklist items support:<strong>,<em>,<code>,<ul>,<blockquote>, etc.{{@Username}}syntax that converts to<user-mention>HTML tagsApplies To
Implementation
The MCP server has a
formatMentions()utility insrc/utils.tsthat:{{@Username}}to<user-mention data-type="mention" user-id="..." ...>\{{@Name}}for literal outputReferences
mcp-superthread-plus/src/utils.ts(lines 135-239)notes/manual-integration-testing.md