Skip to content

feat(plugin/tether): send HTML updates via update --html#356

Merged
jiashuoz merged 1 commit into
mainfrom
feat/tether-html-updates
Jul 1, 2026
Merged

feat(plugin/tether): send HTML updates via update --html#356
jiashuoz merged 1 commit into
mainfrom
feat/tether-html-updates

Conversation

@jiashuoz

@jiashuoz jiashuoz commented Jul 1, 2026

Copy link
Copy Markdown
Member

Follow-up to #354/#355, requested live over the tether thread ("if tether doesn't support sending html, we should implement it").

What

tether.sh update was plain-text only, so a rich update (diagram, table, formatting) required a hand-rolled curl with html_body. Now:

tether.sh update "<text>"                     # plain (unchanged)
tether.sh update --html <file> [--text "<t>"] # HTML update
  • The reply carries html_body (the file's contents).
  • The plain-text body fallback is auto-derived from the HTML (tags stripped, block elements → newlines, entities unescaped) unless --text/a positional string is given.
  • t_api_reply gained an optional html_body argument; t_html_to_text is the fallback deriver.

Testing

  • Offline stub-curl: update --html payload contains html_body: true and a sensible derived body ("Status\n Slice 1 & 2 done .\n tests green").
  • Dogfooded live: the confirmation email announcing this feature was itself sent with tether.sh update --html.
  • validate-plugin.mjs: 3 skills, version 0.4.4, manifests in sync.

Bumps plugin to 0.4.4.

🤖 Generated with Claude Code

Updates were plain-text only, so a rich message (diagram, table) meant dropping
to a raw API call. `tether.sh update` now takes `--html <file>` (optionally
`--text "<fallback>"`); the reply carries `html_body`, and a plain-text `body`
fallback is auto-derived from the HTML when not supplied. `t_api_reply` gained
an optional html_body arg. Bumps plugin to 0.4.4.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@jiashuoz jiashuoz merged commit b332066 into main Jul 1, 2026
14 checks passed
@jiashuoz jiashuoz deleted the feat/tether-html-updates branch July 1, 2026 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant